/* =========================================================
   Company — editorial grid redesign
   Aesthetic: warm-paper canvas, hairline grid, bold Montserrat
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&display=swap');

/* ---- Tokens ---- */
:root {
  --paper:     #F4F1E8;
  --paper-2:   #ECE8DC;
  --paper-3:   #E4E0D2;
  --ink:       #141414;
  --ink-2:     #3E3E3B;
  --ink-3:     #74736C;
  --line:      rgba(20,20,20,0.16);
  --line-soft: rgba(20,20,20,0.09);
  --dark:      #171716;
  --badge:     #F0D43C;

  --radius:    14px;
  --radius-lg: 30px;

  --maxw:      1440px;
  --gutter:    clamp(16px, 3.2vw, 40px);

  --font: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.03; letter-spacing: -0.02em; }
.display {
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.4rem, 7vw, 6rem); line-height: 0.95; letter-spacing: -0.02em;
}
.h2 { font-weight: 700; font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.06; letter-spacing: -0.02em; }
.h3 { font-weight: 600; font-size: clamp(1.35rem, 2.4vw, 2rem); letter-spacing: -0.015em; line-height: 1.1; }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.3rem); color: var(--ink-2); max-width: 62ch; font-weight: 400; line-height: 1.5; }
.text-dim { color: var(--ink-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink-3);
}
.badge {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px;
  background: var(--badge); color: #1a1508; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase;
}

/* ---- Layout: frame + grid ---- */
.frame {
  max-width: var(--maxw); margin-inline: auto;
  border-inline: 1px solid var(--line);
}
.pad { padding-inline: var(--gutter); }
.section { border-bottom: 1px solid var(--line); }
.section-pad { padding-block: clamp(48px, 6vw, 96px); }

.cols { display: grid; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: 1fr 1fr; }
.col { padding: clamp(28px, 3vw, 56px) var(--gutter); }
.col + .col { border-left: 1px solid var(--line); }

.section-head { padding: clamp(32px, 4vw, 60px) var(--gutter); display: flex; flex-direction: column; gap: 16px; }
.section-head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
  letter-spacing: -0.01em; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { transform: translateY(-2px); background: #000; }
.btn--light { background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(20,20,20,0.06); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20,20,20,0.1); }
.btn--outline { border: 1px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--sm { padding: 9px 16px; font-size: 0.84rem; }
.btn--on-dark.btn--light { background: rgba(255,255,255,0.06); color: var(--paper); border-color: rgba(255,255,255,0.18); box-shadow: none; }
.btn--on-dark.btn--light:hover { background: rgba(255,255,255,0.12); }
.btn--on-dark.btn--dark { background: var(--paper); color: var(--ink); }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 30px rgba(20,20,20,0.06); }
.nav { max-width: var(--maxw); margin-inline: auto; display: flex; align-items: center; gap: 24px; height: 66px; padding-inline: var(--gutter); }
.brand { font-weight: 800; font-size: 1.2rem; letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 8px; }
.brand sup { font-size: 0.5em; font-weight: 600; }
.nav__links { display: flex; align-items: center; gap: 6px; margin-inline: auto; }
.nav__links a { padding: 8px 12px; border-radius: 8px; font-size: 0.92rem; font-weight: 500; color: var(--ink-2); transition: color .2s, background .2s; display: inline-flex; align-items: center; gap: 8px; }
.nav__links a:hover { color: var(--ink); }
.nav__links a.active { color: var(--ink); font-weight: 600; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); align-items: center; justify-content: center; }
.nav__toggle span { position: relative; width: 17px; height: 2px; background: var(--ink); transition: .3s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 17px; height: 2px; background: var(--ink); transition: .3s; }
.nav__toggle span::before { top: -6px; } .nav__toggle span::after { top: 6px; }
.nav.open .nav__toggle span { background: transparent; }
.nav.open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
.nav.open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---- Hero ---- */
.hero { position: relative; min-height: min(82vh, 720px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg svg { width: 100%; height: 100%; }
.hero__top { position: relative; z-index: 1; padding: clamp(30px, 5vw, 72px) var(--gutter) 0; }
.hero__title { font-weight: 800; text-transform: uppercase; font-size: clamp(2.4rem, 7.4vw, 6.2rem); line-height: 0.94; letter-spacing: -0.025em; max-width: 15ch; color: var(--ink); }
.hero__bottom { position: relative; z-index: 1; padding: 0 var(--gutter) clamp(30px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---- Feature 3-col (circular) ---- */
.feature-col { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding-block: clamp(40px, 5vw, 80px); }
.disc { width: clamp(150px, 20vw, 240px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--paper-2); }
.disc svg { width: 100%; height: 100%; }
.feature-col h3 { max-width: 12ch; }
.feature-col p { color: var(--ink-2); max-width: 30ch; font-size: 0.98rem; }

/* ---- Dark section ---- */
.dark-band { padding: clamp(16px, 3vw, 40px) var(--gutter); }
.dark-panel { background: var(--dark); color: var(--paper); border-radius: var(--radius-lg); padding: clamp(30px, 4vw, 68px); }
.dark-panel .h2, .dark-panel h3 { color: var(--paper); }
.dark-panel .eyebrow { color: rgba(244,241,232,0.6); }
.dark-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: clamp(28px, 3vw, 48px); }

/* ---- Carousel ---- */
.carousel { position: relative; }
.carousel__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 6px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__card { flex: 0 0 clamp(230px, 26vw, 320px); scroll-snap-align: start; }
.carousel__media { aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; background: #201f1d; margin-bottom: 16px; }
.carousel__media svg { width: 100%; height: 100%; }
.carousel__card b { display: block; font-weight: 600; font-size: 1.05rem; }
.carousel__card span { color: rgba(244,241,232,0.6); font-size: 0.9rem; }
.carousel__foot { display: flex; align-items: center; justify-content: space-between; margin-top: clamp(24px, 3vw, 40px); gap: 20px; }
.carousel__count { font-weight: 600; font-size: 0.9rem; color: rgba(244,241,232,0.7); font-variant-numeric: tabular-nums; }
.carousel__nav { display: flex; gap: 10px; }
.carousel__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); display: grid; place-items: center; color: var(--paper); transition: background .2s, border-color .2s, opacity .2s; }
.carousel__btn:hover { background: rgba(255,255,255,0.1); }
.carousel__btn svg { width: 18px; height: 18px; }
.carousel__btn[disabled] { opacity: 0.3; cursor: default; }

/* ---- Editorial statement ---- */
.statement { font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; }
.editorial p { color: var(--ink-2); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.5; }

/* ---- Stats ---- */
.stat { padding: clamp(28px, 3vw, 52px) var(--gutter); }
.stat b { display: block; font-weight: 700; font-size: clamp(2.4rem, 4.5vw, 4rem); letter-spacing: -0.04em; line-height: 1; }
.stat span { display: block; margin-top: 12px; color: var(--ink-2); font-size: 0.92rem; }

/* ---- Big band (abstract full-bleed) ---- */
.band { position: relative; overflow: hidden; }
.band svg { width: 100%; display: block; }

/* ---- Pills / tags ---- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.85rem; font-weight: 500; color: var(--ink-2); background: var(--paper); }

/* ---- Steps ---- */
.step { display: grid; grid-template-columns: 76px 1fr; gap: 24px; padding: clamp(24px, 3vw, 36px) var(--gutter); border-top: 1px solid var(--line); align-items: start; transition: background .25s; }
.step:hover { background: var(--paper-2); }
.step__num { font-weight: 700; font-size: 1.3rem; color: var(--ink-3); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); max-width: 62ch; }

/* ---- Jobs ---- */
.job { display: grid; grid-template-columns: 1.5fr 1fr 0.9fr auto; gap: 20px; align-items: center; padding: clamp(20px, 2.4vw, 30px) var(--gutter); border-top: 1px solid var(--line); transition: background .25s; }
.job:hover { background: var(--paper-2); }
.job h3 { font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; }
.job__meta { color: var(--ink-2); font-size: 0.9rem; font-weight: 500; }
.job .btn { justify-self: end; }

/* ---- Quote ---- */
.quote { padding: clamp(48px, 7vw, 120px) var(--gutter); text-align: center; }
.quote blockquote { font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 2.7rem); line-height: 1.18; letter-spacing: -0.02em; max-width: 22ch; margin: 0 auto; }
.quote__by { margin-top: 28px; display: inline-flex; align-items: center; gap: 12px; color: var(--ink-2); }
.avatar { width: 42px; height: 42px; border-radius: 50%; }

/* ---- CTA ---- */
.cta { padding: clamp(56px, 8vw, 130px) var(--gutter); text-align: center; }
.cta .display { max-width: 16ch; margin: 0 auto 32px; }

/* ---- Forms ---- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0.02em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: 10px; background: var(--paper);
  border: 1px solid var(--line); color: var(--ink); font-family: inherit; font-size: 0.98rem; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,20,20,0.06); }
.field textarea { resize: vertical; min-height: 130px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { color: var(--ink-3); font-size: 0.82rem; }
.form__status { color: #2a7d5a; font-size: 0.9rem; font-weight: 600; min-height: 1.2em; }

/* ---- Contact cards ---- */
.contact-item { display: flex; gap: 14px; align-items: center; }
.contact-item .ic { flex: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; background: var(--paper); }
.contact-item b { display: block; font-weight: 600; }
.contact-item span { color: var(--ink-2); font-size: 0.88rem; }

/* ---- Footer ---- */
.footer { background: var(--dark); color: var(--paper); }
.footer__inner { max-width: var(--maxw); margin-inline: auto; padding: clamp(48px, 6vw, 88px) var(--gutter) 36px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px 24px; }
.footer .brand { color: var(--paper); }
.footer__brand p { color: rgba(244,241,232,0.6); margin-top: 16px; max-width: 34ch; font-size: 0.94rem; }
.footer__col h4 { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244,241,232,0.45); margin-bottom: 16px; font-weight: 600; }
.footer__col a { display: block; color: rgba(244,241,232,0.75); padding: 6px 0; font-size: 0.95rem; transition: color .2s; }
.footer__col a:hover { color: var(--paper); }
.footer__wordmark { font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; font-size: clamp(3rem, 13vw, 11rem); line-height: 0.82; color: transparent; -webkit-text-stroke: 1px rgba(244,241,232,0.18); margin-top: 56px; user-select: none; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: clamp(36px, 5vw, 64px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.12); color: rgba(244,241,232,0.5); font-size: 0.85rem; }

/* ---- Reveal (guarded by .js) ---- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal-stagger].in > * { opacity: 1; transform: none; }
.js [data-reveal-stagger].in > *:nth-child(1){ transition-delay:.02s }
.js [data-reveal-stagger].in > *:nth-child(2){ transition-delay:.10s }
.js [data-reveal-stagger].in > *:nth-child(3){ transition-delay:.18s }
.js [data-reveal-stagger].in > *:nth-child(4){ transition-delay:.26s }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .cols-3 { grid-template-columns: 1fr; }
  .cols-2 { grid-template-columns: 1fr; }
  .col + .col { border-left: none; border-top: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .job { grid-template-columns: 1fr; gap: 8px; }
  .job .btn { justify-self: start; margin-top: 8px; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__actions .btn--light { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.open { flex-wrap: wrap; height: auto; padding-bottom: 16px; }
  .nav.open .nav__links { display: flex; flex-direction: column; align-items: stretch; width: 100%; order: 3; gap: 2px; margin: 8px 0 0; }
  .nav.open .nav__links a { padding: 14px 8px; font-size: 1.05rem; border-top: 1px solid var(--line-soft); }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .step { grid-template-columns: 50px 1fr; gap: 14px; }
}
@media (max-width: 480px) {
  .hero__title { font-size: clamp(2rem, 11vw, 3rem); }
}
