@import url('../assets/fonts/fonts.css');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #111111;
  --ink-muted:  #555555;
  --ink-light:  #888888;
  --bg:         #ffffff;
  --bg-warm:    #f8f4ef;
  --bg-soil:    #f3ece1;
  --bg-dark:    #142318;
  --border:     #e0dbd4;

  --soil:       #a0723a;
  --biology:    #2d6a4f;
  --wellness:   #1b4332;
  --lifestyle:  #52b788;
  --amber:      #c47a1e;

  --serif: 'DM Serif Display', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
.display { font-family: var(--serif); line-height: 1.05; letter-spacing: -.02em; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.1; }
p { line-height: 1.7; color: var(--ink-muted); }

/* ── Navbar ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: #1b4332;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.nav-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.nav-logo img { height: 40px; }
.nav-logo-text { line-height: 1.2; }
.nav-logo-text .name { font-family: var(--serif); font-size: 1.1rem; color: #fff; }
.nav-logo-text .sub  { font-size: .65rem; color: rgba(255,255,255,.5); letter-spacing: .05em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links a {
  font-size: .85rem; font-weight: 500; letter-spacing: .02em;
  color: rgba(255,255,255,.75); text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active { border-bottom: 1.5px solid var(--lifestyle); padding-bottom: 1px; }

.lang-btn {
  font-size: .75rem; font-weight: 600; letter-spacing: .08em;
  color: #fff; background: none;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 999px; padding: .3rem .9rem;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.lang-btn:hover { background: #fff; color: #1b4332; border-color: #fff; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: rgba(255,255,255,.9); margin: 5px 0; transition: .3s; }

/* ── Mobile nav ── */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: #1b4332; padding: 6rem 2rem 2rem;
  flex-direction: column; gap: 1.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--serif); font-size: 2rem; color: #fff; text-decoration: none; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
}

/* ── Hero ── */
.hero {
  background-color: var(--bg-dark);
  background-size: cover;
  background-position: center;
  min-height: 95vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 5rem 2rem 5rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(10,30,15,.52) 0%, rgba(27,67,50,.28) 55%, rgba(10,30,15,.58) 100%);
}
/* ── Hero image background (Ken Burns drone pan) ── */
.hero-bg {
  position: absolute; inset: -12%;
  width: 124%; height: 124%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  animation: kenBurnsHero 16s ease-in-out infinite alternate;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  filter: contrast(1.08) saturate(1.1) brightness(1.03);
}
@keyframes kenBurnsHero {
  0%   { transform: scale(1.03) translate(2%, 1.2%); }
  100% { transform: scale(1.20) translate(-4%, -2.6%); }
}
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; inset: 0; width: 100%; height: 100%; } }

/* ── Hero text entrance ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: heroFadeUp .9s ease both; animation-delay: .3s; opacity: 0; }
.hero-title   { animation: heroFadeUp 1s ease both;  animation-delay: .55s; opacity: 0; }
.hero-sub     { animation: heroFadeUp 1s ease both;  animation-delay: .8s;  opacity: 0; }
.hero-cta     { animation: heroFadeUp 1s ease both;  animation-delay: 1.05s; opacity: 0; }
.hero-eyebrow {
  font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 1.5rem;
  position: relative; z-index: 2;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 7rem);
  color: #fff;
  line-height: 1.0;
  max-width: 14ch;
  margin-bottom: 2rem;
  position: relative; z-index: 2;
}
.hero-title em { color: var(--lifestyle); font-style: italic; }
.hero-sub {
  color: rgba(255,255,255,.7);
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  max-width: 40ch;
  line-height: 1.7;
  margin-bottom: 3rem;
  position: relative; z-index: 2;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: .75rem;
  color: #fff; font-size: .9rem; font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: .25rem;
  transition: border-color .2s, gap .2s;
  position: relative; z-index: 2;
}
.hero-cta:hover { border-color: #fff; gap: 1.25rem; }
.hero-scroll-hint {
  position: absolute; bottom: 2rem; right: 2rem; z-index: 2;
  writing-mode: vertical-rl; font-size: .7rem; letter-spacing: .12em;
  color: rgba(255,255,255,.3); text-transform: uppercase;
}

/* ── Split hero ── */
.hero-split {
  display: flex;
  height: 95vh;
  position: relative;
  overflow: hidden;
}
.split-panel {
  flex: 1;
  background-size: cover;
  background-position: center;
  transition: flex .75s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.hero-split:hover .split-panel:not(:hover) { flex: 0.35; }
.split-panel:hover { flex: 3; }
.split-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,.1) 100%);
  transition: background .4s;
}
.split-panel:hover .split-overlay {
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.08) 50%, transparent 100%);
}
.split-content {
  position: absolute; bottom: 2.5rem; left: 2rem; right: 1rem;
  color: #fff; z-index: 2;
}
.split-num {
  font-size: .62rem; letter-spacing: .15em;
  color: rgba(255,255,255,.45); text-transform: uppercase;
  display: block; margin-bottom: .4rem;
}
.split-label {
  font-size: .78rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: rgba(255,255,255,.9);
  display: block; margin-bottom: .5rem;
}
.split-title {
  font-family: var(--serif); font-size: clamp(.95rem, 1.4vw, 1.4rem);
  line-height: 1.25; color: #fff;
  opacity: 0; transform: translateY(10px);
  transition: opacity .45s .05s, transform .45s .05s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.split-panel:hover .split-title { opacity: 1; transform: none; }
.hero-split-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  padding: 3.5rem 3rem 2rem;
  background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, transparent 100%);
  pointer-events: none;
}
.hero-split-eyebrow {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: .9rem;
}
.hero-split-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 3.4rem);
  color: #fff; line-height: 1.05; max-width: 20ch;
}
.hero-split-title em { color: var(--lifestyle); font-style: italic; }
.hero-split-cta {
  display: inline-flex; align-items: center; gap: .65rem;
  color: #fff; font-size: .85rem; font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: .2rem; margin-top: 1.5rem;
  pointer-events: all;
  transition: border-color .2s, gap .2s;
}
.hero-split-cta:hover { border-color: #fff; gap: 1.1rem; }
.hero-split-scroll {
  position: absolute; bottom: 2rem; right: 2rem; z-index: 10;
  writing-mode: vertical-rl; font-size: .68rem; letter-spacing: .12em;
  color: rgba(255,255,255,.3); text-transform: uppercase; pointer-events: none;
}
@media (max-width: 768px) {
  .hero-split { flex-direction: column; height: auto; }
  .split-panel { flex: none !important; height: 55vw; min-height: 180px; }
  .split-title { opacity: 1; transform: none; }
  .hero-split-header { padding: 2rem 1.5rem 1.5rem; }
  .hero-split-title { font-size: clamp(1.4rem, 5vw, 2rem); }
}

/* ── Ken Burns slow-motion background animation ── */
.split-bg {
  position: absolute; inset: -7%;
  width: 114%; height: 114%;
  background-size: cover;
  background-position: center;
  animation: kenBurns 20s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenBurns {
  0%   { transform: scale(1.0)  translate(0%,    0%);   }
  100% { transform: scale(1.08) translate(-2%, -1.2%); }
}
@media (prefers-reduced-motion: reduce) {
  .split-bg { animation: none; }
}

/* ── Story thread (thin vertical connector) ── */
.story-thread {
  max-width: 1280px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; align-items: center; gap: 1.5rem;
  height: 80px;
  border-bottom: 1px solid var(--border);
}
.thread-labels { display: flex; gap: 2rem; align-items: center; }
.thread-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.thread-label {
  font-size: .7rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-light);
  text-decoration: none;
  transition: color .2s;
}
.thread-label:hover { color: var(--ink); }
.thread-sep { color: var(--border); font-size: .8rem; }

/* ── Chapter sections ── */
.chapter {
  max-width: 1280px; margin: 0 auto;
  padding: 7rem 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
}
.chapter.reverse { direction: rtl; }
.chapter.reverse > * { direction: ltr; }

.chapter-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.chapter-num {
  font-size: .7rem; font-weight: 600; letter-spacing: .12em;
  color: var(--ink-light);
}
.chapter-tag {
  font-size: .65rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; padding: .25rem .75rem;
  border-radius: 999px;
}
.chapter-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.chapter-body {
  font-size: 1.05rem; line-height: 1.8;
  color: var(--ink-muted); margin-bottom: 2rem; max-width: 48ch;
}
.chapter-link {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .9rem; font-weight: 500; color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
  transition: gap .2s;
}
.chapter-link:hover { gap: 1rem; }

/* Chapter visual blocks */
.chapter-visual {
  aspect-ratio: 4/3;
  border-radius: 4px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.chapter-visual-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.chapter-visual-word {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 10rem);
  font-style: italic;
  opacity: .12;
  color: currentColor;
  user-select: none;
  line-height: 1;
}

/* soil */
.visual-soil { background: linear-gradient(135deg, #e8d5b7 0%, #c9a96e 40%, #8b6914 100%); }
.visual-soil .chapter-visual-word { color: #3d2b0a; opacity: .15; }

/* biology */
.visual-biology { background: linear-gradient(135deg, #d4eadb 0%, #74c69d 40%, #2d6a4f 100%); }
.visual-biology .chapter-visual-word { color: #0a2e1a; opacity: .2; }

/* wellness */
.visual-wellness { background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 50%, #40916c 100%); }
.visual-wellness .chapter-visual-word { color: #fff; opacity: .15; }

/* lifestyle */
.visual-lifestyle { background: linear-gradient(135deg, #b7e4c7 0%, #74c69d 40%, #40916c 100%); }
.visual-lifestyle .chapter-visual-word { color: #0a2e1a; opacity: .18; }

/* ── Full-width dark chapter ── */
.chapter-full-dark {
  background: var(--bg-dark); color: #fff;
  padding: 7rem 2rem;
}
.chapter-full-dark-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
}
.chapter-full-dark .chapter-title { color: #fff; }
.chapter-full-dark .chapter-body { color: rgba(255,255,255,.65); }
.chapter-full-dark .chapter-link { color: var(--lifestyle); border-bottom-color: var(--lifestyle); }
.chapter-full-dark .chapter-num { color: rgba(255,255,255,.35); }
.chapter-full-dark .chapter-tag { border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.6); }

/* ── Warm band ── */
.bg-warm-band { background: var(--bg-warm); }
.bg-soil-band  { background: var(--bg-soil); }

/* ── Section divider ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── Company strip ── */
.company-strip {
  max-width: 1280px; margin: 0 auto;
  padding: 5rem 2rem;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: start;
}
.company-strip-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.15; margin-bottom: 1.5rem;
}
.company-strip-body { font-size: 1rem; line-height: 1.8; margin-bottom: 2rem; }
.stat-row { display: flex; gap: 3rem; }
.stat-num { font-family: var(--serif); font-size: 2.5rem; color: var(--ink); }
.stat-label { font-size: .75rem; color: var(--ink-light); text-transform: uppercase; letter-spacing: .08em; margin-top: .25rem; }

/* ── CTA band ── */
.cta-band {
  background: var(--bg-soil);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 2rem;
  text-align: center;
}
.cta-band-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1rem; color: var(--ink);
}
.cta-band-sub { color: var(--ink-muted); margin-bottom: 2.5rem; font-size: 1.05rem; }
.btn-dark {
  display: inline-flex; align-items: center; gap: .75rem;
  background: var(--ink); color: #fff;
  font-size: .9rem; font-weight: 500;
  padding: .85rem 2rem; border-radius: 2px;
  text-decoration: none; transition: background .2s;
}
.btn-dark:hover { background: #333; }
.btn-outline-dark {
  display: inline-flex; align-items: center; gap: .75rem;
  border: 1.5px solid var(--ink); color: var(--ink);
  font-size: .9rem; font-weight: 500;
  padding: .85rem 2rem; border-radius: 2px;
  text-decoration: none; transition: background .2s, color .2s;
  margin-left: 1rem;
}
.btn-outline-dark:hover { background: var(--ink); color: #fff; }

.cta-btn-row { display: inline-flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ── Page hero (sub-pages) ── */
.page-hero {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem 4rem;
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; }
.page-hero-eyebrow {
  font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-light); margin-bottom: 1rem;
}
.page-hero-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05; max-width: 16ch; color: var(--ink);
}
.page-hero-sub {
  color: var(--ink-muted); font-size: 1.05rem; line-height: 1.7;
  max-width: 55ch; margin-top: 1.25rem;
}

/* ── Content sections (sub-pages) ── */
.content-section { max-width: 1280px; margin: 0 auto; padding: 5rem 2rem; }
.content-section-sm { max-width: 1280px; margin: 0 auto; padding: 3rem 2rem; }
.section-label {
  font-size: .7rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ink-light); margin-bottom: 1rem;
}
.section-heading {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15; margin-bottom: 1.25rem;
}
.section-body { font-size: 1rem; line-height: 1.8; color: var(--ink-muted); max-width: 65ch; }

/* ── Two-col grid ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.four-col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* ── Cards (minimal) ── */
.card-minimal {
  border-top: 2px solid var(--border);
  padding-top: 1.5rem;
  transition: border-color .2s;
}
.card-minimal:hover { border-color: var(--ink); }
.card-minimal-num {
  font-size: .7rem; font-weight: 600; letter-spacing: .1em;
  color: var(--ink-light); margin-bottom: .75rem;
}
.card-minimal-title {
  font-family: var(--serif); font-size: 1.25rem;
  color: var(--ink); margin-bottom: .75rem; line-height: 1.3;
}
.card-minimal-body { font-size: .9rem; line-height: 1.7; color: var(--ink-muted); }

/* ── Team card ── */
.team-card {
  border-top: 1px solid var(--border); padding-top: 1.5rem;
}
.team-initials {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-warm); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.1rem; color: var(--ink);
  margin-bottom: 1rem;
}
.team-name { font-family: var(--serif); font-size: 1.15rem; margin-bottom: .25rem; }
.team-role { font-size: .8rem; color: var(--ink-light); letter-spacing: .04em; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.contact-label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-light); margin-bottom: .5rem; }
.contact-value { font-size: 1rem; color: var(--ink); line-height: 1.6; }
.contact-value a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--border); transition: border-color .2s; }
.contact-value a:hover { border-color: var(--ink); }

/* ── Form ── */
.form-field { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: .8rem; font-weight: 500; color: var(--ink); margin-bottom: .5rem; letter-spacing: .03em; }
.form-input {
  width: 100%; border: none; border-bottom: 1.5px solid var(--border);
  padding: .75rem 0; font-size: .95rem; font-family: var(--sans);
  background: transparent; color: var(--ink);
  transition: border-color .2s; outline: none;
}
.form-input:focus { border-bottom-color: var(--ink); }
textarea.form-input { resize: none; }

/* ── Product tabs ── */
.tab-nav { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 3rem; flex-wrap: wrap; }
.tab-item {
  font-size: .8rem; font-weight: 500; letter-spacing: .05em;
  padding: 1rem 1.5rem; color: var(--ink-light);
  cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: color .2s, border-color .2s;
  background: none; border-left: none; border-right: none; border-top: none;
  font-family: var(--sans);
}
.tab-item:hover { color: var(--ink); }
.tab-item.active { color: var(--ink); border-bottom-color: var(--ink); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Timeline ── */
.timeline-v2 { position: relative; padding-left: 1.5rem; }
.timeline-v2::before { content: ''; position: absolute; left: 0; top: .5rem; bottom: 0; width: 1px; background: var(--border); }
.tl-item { position: relative; padding-bottom: 2.5rem; }
.tl-item::before { content: ''; position: absolute; left: -1.575rem; top: .45rem; width: 7px; height: 7px; border-radius: 50%; background: var(--soil); border: 2px solid var(--bg); box-shadow: 0 0 0 1px var(--soil); }
.tl-year { font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: var(--soil); margin-bottom: .4rem; }
.tl-title { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin-bottom: .35rem; }
.tl-body { font-size: .9rem; color: var(--ink-muted); line-height: 1.7; }

/* ── Footer ── */
.footer { background: var(--ink); color: rgba(255,255,255,.6); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 4rem 2rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; }
.footer-logo { margin-bottom: 1rem; }
.footer-logo img { height: 42px; opacity: 1; }
.footer-tagline { font-size: .85rem; line-height: 1.7; max-width: 28ch; }
.footer-col-title { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .65rem; }
.footer-col a { font-size: .85rem; color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); max-width: 1280px; margin: 0 auto; padding: 1.5rem 2rem; display: flex; justify-content: space-between; font-size: .75rem; color: rgba(255,255,255,.3); }

/* ── Utility ── */
.hidden { display: none !important; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .chapter, .chapter-full-dark-inner, .company-strip, .two-col, .contact-grid {
    grid-template-columns: 1fr; gap: 3rem;
  }
  .chapter.reverse { direction: ltr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-inner { height: 64px; padding: 0 1.25rem; }
  .nav-logo img { height: 40px; }
  .nav-logo-text .name { font-size: 1rem; }

  /* Hero */
  .hero { min-height: 90vh; padding: 2rem 1.25rem 3.5rem; justify-content: flex-end; }
  .hero-title { font-size: clamp(2.4rem, 10vw, 4rem); max-width: 100%; margin-bottom: 1.5rem; }
  .hero-sub { font-size: .95rem; max-width: 100%; margin-bottom: 2rem; }
  .hero-scroll-hint { display: none; }

  /* Story thread */
  .story-thread { display: none; }

  /* Chapters */
  .chapter { padding: 4rem 1.25rem; gap: 2.5rem; }
  .chapter-full-dark { padding: 4rem 1.25rem; }
  .chapter-title { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .chapter-body { font-size: .95rem; max-width: 100%; }
  .chapter-visual { aspect-ratio: 16/9; }
  .chapter-visual-word { font-size: clamp(3.5rem, 16vw, 7rem); }

  /* Company strip */
  .company-strip { padding: 3.5rem 1.25rem; gap: 2.5rem; }
  .company-strip-title { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .stat-row { gap: 2rem; flex-wrap: wrap; }
  .stat-num { font-size: 2rem; }

  /* Page hero */
  .page-hero { padding: 3.5rem 1.25rem 3rem; }
  .page-hero-title { font-size: clamp(2rem, 8vw, 3.5rem); max-width: 100%; }
  .page-hero-sub { font-size: .95rem; }

  /* Content sections */
  .content-section { padding: 3.5rem 1.25rem; }
  .content-section-sm { padding: 2rem 1.25rem; }
  .section-heading { font-size: clamp(1.5rem, 6vw, 2.2rem); }

  /* Grids */
  .two-col { gap: 2.5rem; }
  .three-col { grid-template-columns: 1fr; gap: 2rem; }
  .four-col { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  /* Product tabs */
  .tab-nav { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 0; scrollbar-width: none; }
  .tab-nav::-webkit-scrollbar { display: none; }
  .tab-item { white-space: nowrap; flex-shrink: 0; padding: .85rem 1.25rem; font-size: .75rem; }

  /* CTA band */
  .cta-band { padding: 4rem 1.25rem; }
  .cta-band-title { font-size: clamp(1.8rem, 7vw, 3rem); }
  .btn-dark, .btn-outline-dark { padding: .8rem 1.75rem; font-size: .85rem; }
  .cta-btn-row { width: 100%; justify-content: center; flex-direction: column; align-items: center; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 3rem 1.25rem; }
  .footer-bottom { flex-direction: column; gap: .4rem; padding: 1.25rem; }

  /* Contact */
  .contact-grid { gap: 2.5rem; }

  /* Hero split (products page) */
  .hero-split { flex-direction: column; height: auto; }
  .split-panel { flex: none !important; height: 52vw; min-height: 160px; }
  .hero-split-header { padding: 1.5rem 1.25rem; }
  .hero-split-title { font-size: clamp(1.4rem, 6vw, 2rem); }
  .hero-split-cta { display: none; }
  .hero-split-scroll { display: none; }
}

@media (max-width: 640px) {
  /* Nav */
  .nav-logo-text { display: none; }

  /* Hero */
  .hero { min-height: 85vh; padding: 1.5rem 1.25rem 3rem; }
  .hero-eyebrow { margin-bottom: 1rem; }
  .hero-title { font-size: clamp(2.2rem, 11vw, 3.2rem); line-height: 1.05; margin-bottom: 1.25rem; }
  .hero-sub { font-size: .9rem; margin-bottom: 1.75rem; }

  /* Chapters */
  .chapter { padding: 3rem 1.25rem; gap: 2rem; }
  .chapter-full-dark { padding: 3rem 1.25rem; }
  .chapter-visual { aspect-ratio: 3/2; }

  /* Stats */
  .stat-row { gap: 1.5rem; }
  .stat-num { font-size: 1.75rem; }
  .stat-label { font-size: .7rem; }

  /* Four-col to single on very small */
  .four-col { grid-template-columns: 1fr 1fr; gap: 1.25rem; }

  /* Team */
  .team-card { padding-top: 1.25rem; }
  .team-initials { width: 48px; height: 48px; font-size: 1rem; }
  .team-name { font-size: 1rem; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

  /* CTA */
  .cta-band { padding: 3.5rem 1.25rem; }

  /* Page hero */
  .page-hero { padding: 3rem 1.25rem 2.5rem; }
  .page-hero-title { font-size: clamp(1.8rem, 9vw, 2.8rem); }

  /* Content sections */
  .content-section { padding: 3rem 1.25rem; }
  .section-heading { font-size: clamp(1.4rem, 7vw, 2rem); }

  /* Timeline */
  .tl-title { font-size: 1.05rem; }
  .tl-body { font-size: .85rem; }

  /* Company strip */
  .company-strip { padding: 3rem 1.25rem; }
}

@media (max-width: 400px) {
  .hero-title { font-size: clamp(2rem, 12vw, 2.8rem); }
  .four-col { grid-template-columns: 1fr; }
  .tab-item { padding: .75rem 1rem; font-size: .7rem; }
}
