/* ============================================================================
   Planet A Foods — sub-page design system (every page except index, careers and
   mission, which use home.css). Built up in layers over time; the RELAUNCH 2026
   CI layer at the end is authoritative: the homepage's Rethink Sans, purple,
   gold, light green, grey and white, plus the homepage footer. The nav lives in
   site-nav.css. No build step.
   ========================================================================== */

:root {
  /* Warm, premium palette (Givaudan-esque: cream + espresso + restrained accent) */
  --cream:      #F7F2EA;
  --cream-2:    #F1E9DC;
  --sand:       #E7DBC8;
  --paper:      #FBF8F2;
  --ink:        #1C1611;   /* espresso near-black text */
  --ink-2:      #4B4038;
  --muted:      #857868;
  --line:       #E2D6C4;
  --line-2:     #D6C7B0;

  --cocoa:      #5A3620;
  --cocoa-deep: #2E1A0F;
  --espresso:   #241811;
  --purple:     #3B1E9A;   /* Planet A accent — used sparingly */
  --purple-2:   #5B3FD6;
  --purple-mid: #9C8DD9;
  --gold:       #B98A3E;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --r: 16px;
  --r-lg: 26px;
  --r-pill: 999px;

  --serif: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", ui-serif, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow: 0 30px 80px -40px rgba(14,11,26, .45);
  --shadow-sm: 0 12px 30px -18px rgba(14,11,26, .4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(2.9rem, 7vw, 6rem); line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 4.9vw, 4rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
p  { margin: 0 0 1em; color: var(--ink-2); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--sans); font-weight: 600; font-size: .74rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--purple);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 60ch; }

/* breadcrumb — used on Solution (application/ingredient) detail pages */
.breadcrumb { display:block; font-size:.78rem; font-weight:500; opacity:.68; margin-bottom:16px; letter-spacing:.01em; }
.breadcrumb a { color:inherit; text-decoration:none; }
.breadcrumb a:hover { text-decoration:underline; }
.breadcrumb .sep { margin:0 7px; opacity:.65; }
.status-badge { display:inline-block; vertical-align:middle; margin-left:14px; font-size:.62rem; }

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  padding: 15px 26px; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer; transition: all .25s ease;
  min-height: 48px;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--purple); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.24); }
.arrow::after { content: "→"; font-size: 1.05em; transition: transform .25s ease; }
.arrow:hover::after { transform: translateX(4px); }

/* ============================ NAV ============================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 242, 234, .82);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(210,198,176,.5);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; }
.brand-mark { width: 30px; height: 30px; flex: 0 0 auto; }
.brand-name { font-family: var(--sans); font-weight: 700; letter-spacing: .04em; font-size: .92rem; text-transform: uppercase; }
.brand-name b { color: var(--purple); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: .92rem; font-weight: 500; color: var(--ink-2); position: relative; padding: 4px 0; }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after { content:""; position:absolute; left:0; right:100%; bottom:-2px; height:1.5px; background: var(--purple); transition: right .25s ease; }
.nav-links a:hover::after { right: 0; }
.nav-cta { margin-left: 6px; white-space: nowrap; flex-shrink: 0; }
/* EN/DE toggle — same colour + type as the other menu items in every nav state */
.lang-switch { display:flex; align-items:center; gap:6px; color: var(--ink-2); font-size:.76rem; font-weight:500; letter-spacing:.15em; white-space:nowrap; margin-left:4px; }
.lang-switch .lang-current { color: inherit; }
.lang-switch .lang-sep { color: inherit; opacity:.45; }
.lang-switch .lang-option { color: inherit; opacity:.6; cursor:default; }
@media (max-width: 980px){ .lang-switch { display:none; } }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: 12px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content:""; display:block; width:18px; height:1.6px; background: var(--ink); transition: .25s; }
.nav-toggle span::before { transform: translateY(-6px); } .nav-toggle span::after { transform: translateY(4.4px); }

/* ============================ HERO ============================ */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(120% 120% at 12% 8%, rgba(91,63,214,.42) 0%, transparent 46%),
    radial-gradient(120% 120% at 88% 96%, rgba(185,138,62,.30) 0%, transparent 50%),
    linear-gradient(160deg, #2E1A0F 0%, #241811 40%, #180F0A 100%);
}
.hero::after { /* subtle grain */
  content:""; position:absolute; inset:0; opacity:.06; pointer-events:none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-in { position: relative; z-index: 1; padding: clamp(72px, 12vw, 150px) 0 clamp(64px,10vw,120px); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { color: rgba(255,255,255,.82); margin-top: 26px; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-meta { display:flex; flex-wrap:wrap; gap: 34px; margin-top: 64px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-meta div { color: rgba(255,255,255,.82); }
.hero-meta b { display:block; font-family: var(--serif); font-size: 1.9rem; color:#fff; letter-spacing:-.02em; }
.hero-meta span { font-size: .82rem; letter-spacing: .04em; }

/* ============================ SECTIONS ============================ */
section { padding: clamp(72px, 10vw, 152px) 0; }
.sec-head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { margin: 16px 0 18px; }
.dark { background: var(--espresso); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark p { color: rgba(255,255,255,.72); }
.dark .eyebrow { color: var(--gold); }
.tint { background: var(--cream-2); }

/* challenge strip */
.challenge { background: var(--paper); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.challenge .wrap { display:grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px,6vw,80px); align-items:center; }
.challenge h2 { font-size: clamp(1.7rem,3.4vw,2.7rem); }
.crops { display:grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.crop { border:1px solid var(--line); border-radius: var(--r); padding: 18px 20px; background: #fff; }
.crop b { font-family: var(--serif); font-size: 1.15rem; }
.crop span { display:block; font-size:.85rem; color: var(--muted); margin-top: 4px; }

/* ============================ PORTFOLIO ============================ */
.grid-cards { display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; border-radius: var(--r-lg); padding: 30px; overflow:hidden;
  background: #fff; border:1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  display:flex; flex-direction:column; min-height: 280px;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card .swatch { width: 46px; height: 46px; border-radius: 14px; margin-bottom: 22px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .96rem; margin-bottom: 18px; }
.tag { font-size:.68rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; padding:5px 11px; border-radius: var(--r-pill); display:inline-block; }
.tag-alt { background: rgba(59,30,154,.1); color: var(--purple); }
.tag-boost { background: rgba(185,138,62,.16); color: #8A6222; }
.tag-solution { background: rgba(50,15,153,.14); color: var(--purple-mid); }
.chips { display:flex; flex-wrap:wrap; gap:7px; margin-top:auto; }
.chip { font-size:.74rem; color: var(--ink-2); border:1px solid var(--line); border-radius: var(--r-pill); padding: 5px 11px; }
.card-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }

/* swatches per product */
.sw-choviva   { background: linear-gradient(135deg,#5A3620,#2E1A0F); }
.sw-butter    { background: linear-gradient(135deg,#E7CF9C,#C79E5A); }
.sw-cocoa     { background: linear-gradient(135deg,#7A4A2C,#4A2E1E); }
.sw-compound  { background: linear-gradient(135deg,#4A2E1E,#8A6222); }
.sw-hazelnut  { background: linear-gradient(135deg,#9C6B3F,#5E3A20); }
.sw-vanilla   { background: linear-gradient(135deg,#EFE6CE,#D8C08A); }
.sw-coffee    { background: linear-gradient(135deg,#3A2415,#1F130B); }
.sw-coffeeb   { background: linear-gradient(135deg,#6B4226,#3A2415); }

/* ============================ TWO PLATFORMS ============================ */
.platforms { display:grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.platform { border:1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); padding: clamp(28px,4vw,44px); background: rgba(255,255,255,.03); }
.platform .no { font-family: var(--serif); font-size: 1rem; color:var(--gold); letter-spacing:.1em; }
.platform h3 { margin: 12px 0 14px; }
.platform ul { list-style:none; padding:0; margin: 20px 0 0; }
.platform li { padding: 11px 0; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.78); font-size:.95rem; }

/* ============================ SOLUTIONS / APPLICATIONS ============================ */
.apps { display:grid; grid-template-columns: repeat(6,1fr); gap: 14px; margin-top: 44px; }
.app { border:1px solid var(--line); border-radius: var(--r); background:#fff; padding: 26px 22px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s; display:flex; flex-direction:column; min-height: 158px; }
.app:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.app-no { font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--gold); margin-bottom: 10px; }
.app b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; letter-spacing: -.01em; }
.app-d { font-size: .82rem; color: var(--muted); margin-top: auto; padding-top: 10px; }

/* quiet "engine" technology strip on the homepage */
.engine { border-top:1px solid var(--line); border-bottom:1px solid var(--line); background: var(--paper); padding: clamp(30px,4vw,48px) 0; }
.engine-in { display:flex; align-items:center; justify-content:space-between; gap: 28px; flex-wrap:wrap; }
.engine-in p { margin:0; font-family: var(--serif); font-size: clamp(1.15rem, 2.1vw, 1.55rem); color: var(--ink); max-width: 48ch; line-height: 1.34; }
.engine-in em { font-style: italic; color: var(--cocoa); }
.engine-link { font-family: var(--sans); font-weight:600; font-size:.95rem; color: var(--purple); white-space:nowrap; }

/* two-up feature (innovation / academy) */
.two-up { display:grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.feature { border:1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px,4vw,44px); background: #fff; }
.feature.on-dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
.feature h3 { margin-bottom: 14px; }
.feature .k { display:flex; gap: 22px; margin-top: 24px; flex-wrap:wrap; }
.feature .k div b { font-family:var(--serif); font-size:1.5rem; display:block; }
.feature .k div span { font-size:.8rem; color: var(--muted); }

/* ============================ IMPACT ============================ */
.stats { display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat { border-top: 2px solid var(--purple); padding-top: 18px; }
.stat b { font-family: var(--serif); font-size: clamp(2rem,4vw,3rem); display:block; letter-spacing:-.02em; }
.stat span { color: var(--muted); font-size:.9rem; }

/* credibility teaser band → capabilities */
.cred { background: linear-gradient(120deg,#2E1A0F,#241811); color:#fff; border-radius: var(--r-lg); padding: clamp(32px,5vw,56px); display:grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items:center; }
.cred h2 { color:#fff; font-size: clamp(1.6rem,3vw,2.4rem); }
.cred p { color: rgba(255,255,255,.75); }
.cred-badges { display:flex; flex-wrap:wrap; gap:10px; }
.badge { border:1px solid rgba(255,255,255,.24); border-radius: var(--r-pill); padding: 8px 15px; font-size:.82rem; font-weight:600; letter-spacing:.03em; }

/* CTA band */
.cta-band { background: var(--ink); color:#fff; text-align:center; }
.cta-band h2 { color:#fff; margin-bottom: 12px; }
.cta-band .lead { color: rgba(255,255,255,.75); margin: 0 auto 30px; }
.cta-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* --- contact form --- */
.contact-grid { display:grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px,6vw,72px); align-items:start; }
.contact-info h3 { margin-bottom: 14px; }
.contact-info .ci-block { padding: 20px 0; border-top: 1px solid var(--line); }
.contact-info .ci-block b { font-family: var(--serif); font-size: 1.1rem; }
.contact-info .ci-block span { display:block; color: var(--muted); font-size:.92rem; margin-top:4px; }
.form { border:1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px,4vw,40px); background:#fff; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display:block; font-size:.82rem; font-weight:600; letter-spacing:.04em; color: var(--ink-2); margin-bottom: 7px; text-transform:uppercase; }
.field input, .field select, .field textarea {
  width:100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border:1px solid var(--line-2); border-radius: 12px;
  padding: 13px 15px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(59,30,154,.12); }
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size:.82rem; color: var(--muted); margin-top: 14px; }
.form-ok { display:none; margin-top:16px; padding:14px 16px; border-radius:12px; background: rgba(50,15,153,.1); color: var(--purple-mid); font-weight:600; }
@media (max-width:720px){ .contact-grid, .field-row { grid-template-columns: 1fr; } }

/* generic two-col intro for subpages */
.page-hero { background: var(--espresso); color:#fff; padding: clamp(80px,12vw,150px) 0 clamp(48px,7vw,90px); }
.page-hero h1 { color:#fff; max-width: 18ch; }
.page-hero .lead { color: rgba(255,255,255,.8); margin-top: 22px; }
.prose { max-width: 68ch; }
.prose p { font-size: 1.08rem; }

/* ============================ REVEAL ANIMATION ============================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; transition:none; } html { scroll-behavior:auto; } }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1000px) {
  .grid-cards { grid-template-columns: repeat(2,1fr); }
  .apps { grid-template-columns: repeat(3,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }

  .cred { grid-template-columns: 1fr; }
  .challenge .wrap { grid-template-columns: 1fr; }
}
/* nav switches to the hamburger drawer on phones AND tablets (<=980px) */
@media (max-width: 980px) {
  .nav-links { display:none; position:absolute; top:72px; left:0; right:0; flex-direction:column; gap:0;
    background: var(--paper); border-bottom:1px solid var(--line); padding: 8px var(--gutter) 18px; }
  .nav.open .nav-links { display:flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .nav-cta { display:none; }
  .nav.open .nav-cta { display:inline-flex; margin: 12px 0 0; }
  .nav-toggle { display:inline-flex; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .platforms, .two-up, .grid-cards, .stats, .apps { grid-template-columns: 1fr; }
  .apps { grid-template-columns: repeat(2,1fr); }
  .hero-meta { gap: 24px; }

}

/* ============================================================================
   ENHANCEMENTS — more move · more premium · more heavy · more Givaudan · more natural
   ========================================================================== */

/* Heavier, high-contrast editorial display type (Fraunces at large optical size) */
h1, h2 { font-weight: 480; font-variation-settings: "opsz" 144; letter-spacing: -0.03em; }
h3 { font-weight: 470; font-variation-settings: "opsz" 90; }
.lead { font-weight: 300; }
.hero h1 { font-weight: 520; font-size: clamp(3rem, 8.2vw, 7.2rem); letter-spacing: -0.038em; line-height: .98; }
.hero h1 em { font-weight: 460; }
.page-hero h1 { font-weight: 520; font-size: clamp(2.9rem, 7vw, 6.4rem); letter-spacing: -0.035em; }

/* Warmer, more natural ground */
body {
  background:
    radial-gradient(1200px 620px at 100% -6%, rgba(185,138,62,.07), transparent 60%),
    radial-gradient(1000px 520px at -6% 42%, rgba(50,15,153,.055), transparent 55%),
    var(--cream);
}

/* HERO — living gradient, floating organic blobs, scroll cue */
.hero { min-height: 94vh; display: flex; align-items: center;
  background-size: 220% 220%, 220% 220%, 100% 100%;
  animation: heroDrift 24s ease-in-out infinite alternate; }
.hero-in { width: 100%; }
@keyframes heroDrift {
  0%   { background-position: 0% 0%, 100% 100%, 0 0; }
  100% { background-position: 34% 22%, 66% 78%, 0 0; }
}
.blob { position: absolute; border-radius: 50%; filter: blur(46px); pointer-events: none; z-index: 0; will-change: transform; }
.blob-1 { width: min(560px,60vw); aspect-ratio:1; left: -8%; top: 4%;  background: radial-gradient(circle at 32% 30%, rgba(91,63,214,.55), transparent 68%); animation: floatA 19s ease-in-out infinite alternate; }
.blob-2 { width: min(500px,54vw); aspect-ratio:1; right:-7%; bottom:-10%; background: radial-gradient(circle at 60% 42%, rgba(185,138,62,.5), transparent 68%);  animation: floatB 23s ease-in-out infinite alternate; }
.blob-3 { width: min(320px,34vw); aspect-ratio:1; right:20%; top: 10%; background: radial-gradient(circle at 50% 50%, rgba(50,15,153,.5), transparent 70%);      animation: floatA 27s ease-in-out infinite alternate; }
@keyframes floatA { to { transform: translate(42px,-32px) scale(1.09); } }
@keyframes floatB { to { transform: translate(-38px,28px) scale(1.07); } }
.scroll-cue { position:absolute; left:50%; bottom:24px; transform:translateX(-50%); z-index:3;
  color:rgba(255,255,255,.62); font-size:.68rem; letter-spacing:.24em; text-transform:uppercase;
  display:flex; flex-direction:column; align-items:center; gap:12px; }
.scroll-cue::after { content:""; width:1px; height:36px; background:linear-gradient(rgba(255,255,255,.55),transparent); animation: cueDrop 2.4s ease-in-out infinite; }
@keyframes cueDrop { 0%,100%{opacity:.4; transform:scaleY(.7);} 50%{opacity:1; transform:scaleY(1);} }

/* CINEMATIC — full-bleed heavy natural imagery, slow Ken Burns drift.
   Drop a real photo per band via inline style: --img:url('assets/img/xxx.jpg').
   Offline / no photo, a rich natural gradient stands in. */
.cinematic { position: relative; overflow: hidden; padding: 0;
  height: clamp(440px, 78vh, 780px); display: flex; align-items: flex-end; color: #fff; }
.cinematic .bg { position: absolute; inset: -6%; z-index: 0; background-color: #0E0B1A;
  background-size: cover; background-position: center;
  background-image:
    radial-gradient(80% 120% at 18% 8%,  rgba(185,138,62,.34), transparent 55%),
    radial-gradient(90% 120% at 92% 92%, rgba(50,15,153,.42),  transparent 55%),
    linear-gradient(158deg, #3A2416 0%, #241811 55%, #150C07 100%);
  animation: kenburns 30s ease-in-out infinite alternate; will-change: transform; }
.cinematic::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(16,9,5,.82), rgba(16,9,5,.18) 55%, transparent); }
.cinematic .cin-in { position: relative; z-index: 2; padding-bottom: clamp(44px, 6vw, 84px); }
.cin-title { color: #fff; max-width: 20ch; margin-top: 16px; font-weight: 480;
  font-size: clamp(1.9rem, 4.4vw, 3.6rem); font-variation-settings: "opsz" 144; }
@keyframes kenburns { from { transform: scale(1.05) translate(0, 0); } to { transform: scale(1.16) translate(-2.5%, -2%); } }

/* HERO can carry a slow-moving photo too (set --hero-img at go-live) */
.hero-photo { position: absolute; inset: 0; z-index: 0; opacity: .55;
  background: var(--hero-img, none) center / cover no-repeat;
  animation: kenburns 34s ease-in-out infinite alternate; will-change: transform; }
.hero .blob, .hero::after { z-index: 1; }

@media (prefers-reduced-motion: reduce) { .cinematic .bg, .hero-photo { animation: none; } }

/* RICHER motion + hover */
.reveal { transform: translateY(32px); transition: opacity .95s cubic-bezier(.16,.84,.3,1), transform .95s cubic-bezier(.16,.84,.3,1); }
.card { will-change: transform; }
.card:hover { transform: translateY(-9px) scale(1.014); border-color: var(--line-2); box-shadow: 0 44px 96px -52px rgba(14,11,26,.62); }
.card .swatch { transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.card:hover .swatch { transform: scale(1.12) rotate(-4deg); }
.app { will-change: transform; }
.stat { transition: transform .3s ease; } .stat:hover { transform: translateY(-4px); }
.btn { will-change: transform; }

/* NAV — condense + shadow on scroll */
.nav { transition: box-shadow .3s ease; }
.nav .nav-in { transition: height .3s ease; }
.nav.scrolled { box-shadow: 0 12px 44px -26px rgba(14,11,26,.55); background: rgba(247,242,234,.9); }
.nav.scrolled .nav-in { height: 60px; }

/* platform cards get a warm hover on the tech page */
.platform { transition: transform .35s ease, box-shadow .35s ease; }
.platform:hover { transform: translateY(-6px); }

/* ============================================================================
   GIVAUDAN PASS — cleaner, more corporate, less "brand". Transparent overlay nav,
   restrained accents, cinematic imagery does the talking.
   ========================================================================== */

/* ---- NAV: transparent overlay over the (dark) hero → solid on scroll ---- */
.nav { position: fixed; top: 0; left: 0; right: 0;
  background: transparent; backdrop-filter: none;
  border-bottom: 1px solid rgba(255,255,255,.14);
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease; }
.nav-in { height: 84px; gap: 40px; }
.nav .brand-name { color: #fff; font-weight: 600; letter-spacing: .16em; font-size: .78rem; }
.nav .brand-name b { color: var(--gold); }
.nav-links { gap: 32px; align-items: center; }
.nav-links a { color: rgba(255,255,255,.85); font-size: .76rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase; }
.nav-links a:hover { color: #fff; }
.nav-links a::after { background: var(--gold); height: 1px; bottom: -4px; }
.nav .nav-cta.btn { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45);
  padding: 11px 22px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.nav .nav-cta.btn:hover { background: #fff; color: var(--ink); border-color: #fff; transform: none; box-shadow: none; }
.nav-toggle { border-color: rgba(255,255,255,.4); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { background: #fff; }

.nav.scrolled { background: rgba(249,246,241,.9); backdrop-filter: blur(20px) saturate(1.2);
  border-bottom-color: rgba(210,198,176,.5); box-shadow: 0 14px 46px -28px rgba(14,11,26,.4); }
.nav.scrolled .nav-in { height: 66px; }
.nav.scrolled .brand-name { color: var(--ink); }
.nav.scrolled .nav-links a { color: var(--ink-2); }
.nav.scrolled .nav-links a:hover { color: var(--ink); }
.nav.scrolled .nav-links a::after { background: var(--cocoa); }
.nav.scrolled .nav-cta.btn { border-color: var(--ink); color: var(--ink); }
.nav.scrolled .nav-cta.btn:hover { background: var(--ink); color: #fff; }
.nav.scrolled .nav-toggle { border-color: var(--line-2); }
.nav.scrolled .nav-toggle span, .nav.scrolled .nav-toggle span::before, .nav.scrolled .nav-toggle span::after { background: var(--ink); }

/* ---- Restraint: pull the Planet-A purple/chocolate accents back ---- */
.eyebrow { color: #9C7A3C; font-weight: 600; letter-spacing: .26em; }
.stat { border-top-color: var(--cocoa); }
.tag-alt { background: rgba(90,54,32,.09); color: var(--cocoa); }
.engine-link { color: var(--cocoa); }
.btn-primary:hover { background: var(--cocoa); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cocoa); box-shadow: 0 0 0 3px rgba(90,54,32,.12); }
.brand-name b { color: var(--cocoa); }

/* Cleaner, lighter ground (whiter, less warm-heavy) */
body { background:
  radial-gradient(1100px 560px at 100% -8%, rgba(185,138,62,.05), transparent 60%),
  #FAF7F1; }
.tint { background: #F2ECE2; }
.challenge, .engine { background: #FBF9F5; }

/* ---- Mobile: drawer needs solid bg + dark text (nav is white-on-hero otherwise) ---- */
@media (max-width: 980px) {
  .nav-in { height: 64px; }
  .nav-links { top: 64px; background: var(--paper); }
  .nav.open { background: rgba(249,246,241,.98); backdrop-filter: blur(20px); }
  .nav.open .brand-name { color: var(--ink); }
  .nav.open .nav-toggle span, .nav.open .nav-toggle span::before, .nav.open .nav-toggle span::after { background: var(--ink); }
  .nav-links a { color: var(--ink-2); }
  .nav.open .nav-cta.btn { color: var(--ink); border-color: var(--ink); }
}

/* ============================================================================
   IMAGERY — real photography with a premium dark scrim for legibility
   ========================================================================== */
.hero-photo { opacity: 1; }
.hero-photo::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(112deg, rgba(18,11,6,.94) 0%, rgba(18,11,6,.74) 44%, rgba(18,11,6,.34) 100%),
    linear-gradient(to top, rgba(18,11,6,.7), transparent 46%); }
.hero .blob { opacity: .4; }   /* keep glows subtle over photography */

/* Trusted-by logo strip (real customer logos, quiet + grayscale) */
.trusted { background: #FBF9F5; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(40px, 6vw, 72px) 0; text-align: center; }
.trusted .eyebrow { justify-content: center; color: var(--muted); margin-bottom: 30px; }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(32px, 6vw, 72px); }
.logos img { height: clamp(26px, 3.4vw, 40px); width: auto; opacity: .5;
  filter: grayscale(1); transition: opacity .35s ease, filter .35s ease; }
.logos img:hover { opacity: .9; filter: grayscale(0); }

/* ============================================================================
   PALETTE — natural premium / Fortune-500. Oat + limestone neutrals, deep warm
   charcoal, muted brass + olive accents. Purple retired (was too "startup").
   ========================================================================== */
:root {
  --cream:   #F4F0E8;   /* oat / limestone ground */
  --cream-2: #ECE6DA;
  --sand:    #E0D8C8;
  --paper:   #FBF9F4;
  --ink:     #201C16;   /* warm near-black */
  --ink-2:   #4C463B;
  --muted:   #877F71;
  --line:    #E4DDCF;
  --line-2:  #D4CAB8;
  --cocoa:      #6B4A2E;
  --cocoa-deep: #241A10;
  --espresso:   #17130E;  /* deep warm charcoal for dark sections + footer */
  --purple:     #5E6A4E;  /* retired → repurposed to muted olive (natural safety net) */
  --purple-2:   #5E6A4E;
  --gold:       #B08D4F;  /* muted brass */
}

/* clean stone ground */
body { background:
  radial-gradient(1100px 560px at 100% -8%, rgba(176,141,79,.05), transparent 60%),
  #F4F0E8; }
.tint { background: #ECE6DA; }
.challenge, .engine, .trusted { background: #FAF7F1; }

/* de-purple the hero: warm brass + olive glow instead of violet */
.hero { background:
  radial-gradient(120% 120% at 12% 8%,  rgba(176,141,79,.26) 0%, transparent 46%),
  radial-gradient(120% 120% at 88% 96%, rgba(85,96,74,.30)  0%, transparent 50%),
  linear-gradient(160deg, #241A10 0%, #17130E 44%, #100C07 100%); }
.blob-1 { background: radial-gradient(circle at 32% 30%, rgba(176,141,79,.5), transparent 68%); }
.blob-2 { background: radial-gradient(circle at 60% 42%, rgba(85,96,74,.52), transparent 68%); }
.blob-3 { background: radial-gradient(circle at 50% 50%, rgba(107,74,46,.5),  transparent 70%); }

/* natural accents in the details */
.eyebrow { color: #96712F; }
.stat { border-top-color: var(--gold); }
.tag-alt { background: rgba(85,96,74,.12); color: #4C563F; }
.nav-links a::after, .nav.scrolled .nav-links a::after { background: var(--gold); }
.cred { background: linear-gradient(120deg, #241A10, #17130E); }

/* ============================================================================
   TYPE — Fortune-500, not artisanal. Spectral (calm corporate serif) display,
   Inter body. Heavier, quieter, institutional.
   ========================================================================== */
:root { --serif: "Spectral", Georgia, "Times New Roman", ui-serif, serif; }
h1, h2, h3, h4 { font-variation-settings: normal; }
h1, h2 { font-weight: 600; letter-spacing: -0.02em; }
h3 { font-weight: 600; letter-spacing: -0.01em; }
.hero h1 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.02; }
.page-hero h1 { font-weight: 700; letter-spacing: -0.02em; }
.cin-title { font-weight: 600; font-variation-settings: normal; }
.hero h1 em, .page-hero h1 em { font-weight: 600; }
.lead { font-weight: 300; }

/* Retire the CSS-art blobs — real photography does the work now (kills the "CSS vibe") */
.blob { display: none; }

/* ============================================================================
   GROUND → WHITE (Givaudan). Oat retired. Whites + a whisper-warm tint for
   alternating sections; charcoal darks + brass/olive accents unchanged.
   ========================================================================== */
:root {
  --cream:   #FFFFFF;
  --cream-2: #F5F3EF;   /* subtle warm tint for alternating sections */
  --paper:   #FFFFFF;
  --line:    #ECE8E0;
  --line-2:  #DCD5C8;
}
body { background: #FFFFFF; }
.tint { background: #F5F3EF; }
.challenge, .engine, .trusted { background: #FAFAF8; }

/* ============================================================================
   GIVAUDAN PALETTE — white ground, near-black, signature red accent.
   Brass/olive retired. Red carries links, eyebrows, underlines, primary action.
   ========================================================================== */
:root {
  --ink:      #1A1714;   /* near-black text */
  --ink-2:    #45413B;
  --espresso: #16120E;   /* dark sections / footer / CTA */
}
.eyebrow { color: var(--purple); }
.stat { border-top-color: var(--purple); }
.engine-link { color: var(--purple); }
.brand-name b { color: var(--purple); }
.nav-links a::after, .nav.scrolled .nav-links a::after { background: var(--purple); }
.btn-primary { background: #16120E; }
.btn-primary:hover { background: var(--purple); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(50,15,153,.14); }

/* Tags: one red accent + neutrals (Givaudan restraint) */
.tag-alt { background: rgba(50,15,153,.10); color: var(--purple); }
.tag-boost { background: #F1EFEA; color: #6E6A62; }
.tag-solution { background: #1A1714; color: #fff; }

.cred { background: linear-gradient(120deg, #1A1714, #16120E); }

/* ============================================================================
   TYPE v2 — Givaudan is SANS. Retire the serif (that was the "oat"). Archivo
   (corporate neo-grotesque) for display, Inter for body. Cool-white tints.
   ========================================================================== */
:root { --serif: "Archivo", "Helvetica Neue", Arial, sans-serif; }
h1, h2 { font-weight: 700; letter-spacing: -0.022em; }
h3 { font-weight: 600; letter-spacing: -0.01em; }
.hero h1 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.03; }
.page-hero h1 { font-weight: 700; letter-spacing: -0.028em; }
.cin-title { font-weight: 700; letter-spacing: -0.02em; }
.hero h1 em, .page-hero h1 em { font-style: italic; font-weight: 600; color: var(--purple); }

/* cool-white tints (no more oat warmth) */
:root { --cream-2: var(--grey); }
.tint { background: var(--grey); }
.challenge, .engine, .trusted { background: var(--grey); }

/* ============================================================================
   BRIGHT GIVAUDAN — lots of clean white, olive-green accent, NO red, light
   landing. Dark sections turned light or a confident olive (never near-black UI).
   ========================================================================== */
:root {
  --ink:      #1F2318;   /* near-black, faint green undertone */
  --ink-2:    #4C503F;
  --muted:    #83887A;
  --espresso: #202417;   /* deep olive-charcoal (footer only) */
}
.eyebrow { color: var(--purple); }
.hero h1 em, .page-hero h1 em { color: var(--purple); }
.stat { border-top-color: var(--purple); }
.engine-link { color: var(--purple); }
.brand-name b { color: var(--purple); }
.tag-alt { background: rgba(50,15,153,.12); color: var(--purple); }
.btn-primary { background: var(--purple); }
.btn-primary:hover { background: var(--purple); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(50,15,153,.16); }

/* NAV — solid white, dark text (landing is bright now) */
.nav { background: rgba(255,255,255,.9); backdrop-filter: blur(20px) saturate(1.1); border-bottom: 1px solid var(--line); }
.nav .brand-name { color: var(--ink); }
.nav-links a { color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after, .nav.scrolled .nav-links a::after { background: var(--purple); }
.nav .nav-cta.btn { background: transparent; color: var(--ink); border-color: var(--line-2); }
.nav .nav-cta.btn:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.nav-toggle { border-color: var(--line-2); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { background: var(--ink); }
.nav.scrolled { background: rgba(255,255,255,.93); box-shadow: 0 12px 40px -30px rgba(0,0,0,.35); }
@media (max-width: 980px){ .nav-links { background: #fff; } }

/* HERO — bright split: white, dark text, image beside */
.hero { position: relative; color: var(--ink); background: #fff; min-height: auto; overflow: hidden;
  padding: clamp(120px,15vw,178px) 0 clamp(60px,8vw,110px); animation: none; display: block; }
.hero::after { display: none; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px,5vw,68px); align-items: center; }
.hero-copy { max-width: 620px; }
.hero h1 { color: var(--ink); max-width: 16ch; }
.hero .lead { color: var(--ink-2); margin-top: 22px; }
.hero-meta { border-top-color: var(--line); }
.hero-meta div { color: var(--ink-2); }
.hero-meta b { color: var(--ink); }
.hero-figure { align-self: stretch; min-height: clamp(320px,42vw,540px); border-radius: 20px;
  background-position: center; background-size: cover; background-repeat: no-repeat; background-color: var(--lilac);
  box-shadow: 0 44px 96px -54px rgba(0,0,0,.42); }
@media (max-width: 860px){ .hero-grid { grid-template-columns: 1fr; } .hero-figure { min-height: 300px; } }

/* PAGE HEROES — light */
.page-hero { background: #fff; color: var(--ink); padding: clamp(130px,15vw,180px) 0 clamp(50px,7vw,88px); }
.page-hero h1 { color: var(--ink); }
.page-hero .lead { color: var(--ink-2); }

/* INNOVATION (was dark) -> light */
.dark { background: var(--grey); color: var(--ink); }
.dark h2, .dark h3 { color: var(--ink); }
.dark p { color: var(--ink-2); }
.dark .eyebrow { color: var(--purple); }
.feature.on-dark { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }

/* TECH platform cards -> light-correct */
.platform { background: #fff; border-color: var(--line); }
.platform .no { color: var(--purple); }
.platform li { color: var(--ink-2); border-top-color: var(--line); }

/* CTA + CRED -> confident olive-green moments */
.cta-band { background: var(--purple); }
.cta-band .eyebrow, .cred .eyebrow, .cinematic .eyebrow { color: var(--gold); }
.cred { background: linear-gradient(120deg, var(--purple), var(--purple-dk)); }

/* CINEMATIC — lighter scrim so it reads as bright imagery, not a dark block */
.cinematic { height: clamp(400px, 60vh, 640px); }
.cinematic::after { background: linear-gradient(to top, rgba(14,11,26,.6), rgba(14,11,26,.05) 55%, transparent); }

/* ============================================================================
   NAV DROPDOWNS (Givaudan-style) + LAPTOP-FIT HERO
   ========================================================================== */
.nav-links { height: 100%; }
.nav-item { position: relative; display: flex; align-items: center; height: 100%; }
.nav-top { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.nav-item .nav-top::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor; transform: rotate(45deg); margin-top: -3px; opacity: .5;
  position: static; background: none; left: auto; right: auto; bottom: auto; transition: transform .25s ease, opacity .25s ease; }
.nav-item:hover .nav-top::after { transform: rotate(-135deg); margin-top: 2px; opacity: .8; }

.dd { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 34px 74px -34px rgba(0,0,0,.3); padding: 10px; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transition: opacity .22s ease, transform .22s ease; z-index: 200; }
.nav-item:hover .dd, .nav-item.open .dd { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dd a { display: block; padding: 10px 14px; border-radius: 9px; font-size: .85rem; font-weight: 500;
  letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.dd a:hover { background: var(--grey); color: var(--ink); }
.dd a::after { display: none; }

/* HERO fits one laptop screen: full viewport height, centred, everything readable */
.hero { display: flex; align-items: center; min-height: 100vh;
  padding: clamp(92px,11vh,116px) 0 clamp(36px,5vh,60px); }
.hero h1 { font-size: clamp(2.1rem, 3.9vw, 3.4rem); line-height: 1.06; max-width: 15ch; }
.hero .lead { font-size: clamp(1rem, 1.25vw, 1.14rem); margin-top: 18px; }
.hero-actions { margin-top: 26px; }
.hero-meta { margin-top: 30px; padding-top: 22px; gap: 28px; }
.hero-meta b { font-size: 1.5rem; }
.hero-figure { min-height: clamp(300px, 38vw, 480px); }
@media (max-height: 760px) { .hero:not(.hero-video) { min-height: auto; } }

/* dropdowns on mobile → tap-to-expand accordion */
@media (max-width: 980px) {
  .nav-item { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); }
  .nav-links .nav-top { display: flex; justify-content: space-between; width: 100%; padding: 15px 0;
    font-size: 1.05rem; border-bottom: none; }
  .nav-item .nav-top::after { margin-top: 0; }
  .nav-item.open .nav-top::after { transform: rotate(-135deg); }
  .dd { position: static; transform: none; opacity: 1; visibility: visible; display: none;
    box-shadow: none; border: none; min-width: 0; padding: 0 0 12px; background: transparent; }
  .nav-item.open .dd { display: grid; }
  .nav-links .dd a { padding: 9px 8px; font-size: .98rem; border-bottom: none; }
}

/* ============================================================================
   DEPTH BUILD — video hero, nature bands, splits, process, pull-quote,
   scale band, insights. Bright/white/olive, Fortune-500.
   ========================================================================== */
.media-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--lilac); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.eyebrow-light { color: var(--gold); }

/* VIDEO HERO */
.hero-video { position: relative; overflow: hidden; color: #fff; background: #0E0B1A; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(14,11,26,.82) 0%, rgba(14,11,26,.5) 42%, rgba(14,11,26,.22) 100%),
    linear-gradient(to top, rgba(14,11,26,.55), transparent 42%); }
.hero-in-v { position: relative; z-index: 1; max-width: 760px; }
.hero-video h1 { color: #fff; max-width: 16ch; }
.hero-video .lead { color: rgba(255,255,255,.9); max-width: 52ch; }
.hero-video .hero-meta { border-top-color: rgba(255,255,255,.24); }
.hero-video .hero-meta b { color: #fff; }
.hero-video .hero-meta div { color: rgba(255,255,255,.85); }

/* home nav: transparent white over the video, solid on scroll */
body.home .nav:not(.scrolled) { background: transparent; backdrop-filter: none; border-bottom-color: rgba(255,255,255,.18); }
body.home .nav:not(.scrolled) .brand-name { color: #fff; }
body.home .nav:not(.scrolled) .nav-top { color: #fff; }
body.home .nav:not(.scrolled) .nav-item .nav-top::after { border-color: #fff; }
body.home .nav:not(.scrolled) .nav-cta.btn { color: #fff; border-color: rgba(255,255,255,.5); }
body.home .nav:not(.scrolled) .nav-cta.btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
body.home .nav:not(.scrolled) .nav-toggle { border-color: rgba(255,255,255,.5); }
body.home .nav:not(.scrolled) .nav-toggle span,
body.home .nav:not(.scrolled) .nav-toggle span::before,
body.home .nav:not(.scrolled) .nav-toggle span::after { background: #fff; }

/* MANIFESTO statement */
.statement { padding: clamp(66px,9vw,124px) 0; }
.statement-lead { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.7vw, 2.35rem);
  line-height: 1.34; letter-spacing: -.02em; color: var(--ink); max-width: 46ch; margin: 16px 0 0; }

/* FEATURE SPLIT (image + copy) */
.feature-split { padding: 0; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  min-height: clamp(400px, 48vw, 600px); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); margin: clamp(56px,8vw,120px) 0; }
.split-media { background-position: center; background-size: cover; background-repeat: no-repeat; min-height: 320px; }
.split-copy { align-self: center; padding: clamp(34px,5vw,72px); }
.split-copy h2 { margin: 14px 0 16px; }
.split-copy .btn { margin-top: 24px; }
.split-grid.reverse .split-media { order: 2; }
.feature-split.tint .split-copy { background: #fff; }
@media (max-width: 820px) {
  .split-grid, .split-grid.reverse { grid-template-columns: 1fr; }
  .split-grid.reverse .split-media { order: 0; }
}

/* PROCESS steps */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; margin-top: 44px; }
.step { border-top: 2px solid var(--purple); padding-top: 20px; }
.step-no { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--purple); letter-spacing: .06em; }
.step h3 { margin: 12px 0 8px; font-size: 1.24rem; }
.step p { font-size: .92rem; color: var(--ink-2); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* PULL-QUOTE (video bg) */
.pullquote { position: relative; overflow: hidden; color: #fff; background: var(--purple-dk);
  padding: clamp(84px,12vw,150px) 0; text-align: center; }
.pullquote .bg { position: absolute; inset: 0; z-index: 0; }
.pullquote::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(31,8,102,.72); }
.pullquote .wrap { position: relative; z-index: 2; }
.pullquote blockquote { margin: 0 auto; max-width: 24ch; font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.24; letter-spacing: -.02em; }
.pullquote cite { display: block; margin-top: 26px; font-style: normal; font-size: .74rem;
  letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.72); }

/* SCALE band (image bg) */
.scale-band { position: relative; overflow: hidden; color: #fff; background: var(--purple-dk); }
.scale-band .bg { position: absolute; inset: 0; z-index: 0; background-position: center; background-size: cover; background-repeat: no-repeat; }
.scale-band::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(31,8,102,.92), rgba(31,8,102,.6)); }
.scale-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center; }
.scale-band h2 { color: #fff; font-size: clamp(1.6rem,3vw,2.4rem); margin: 12px 0 14px; }
.scale-band p { color: rgba(255,255,255,.82); max-width: 52ch; }
.scale-cta { text-align: right; }
@media (max-width: 820px) { .scale-in { grid-template-columns: 1fr; } .scale-cta { text-align: left; } }

/* INSIGHTS */
.insight-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 44px; }
.insight { display: block; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: #fff; transition: transform .3s ease, box-shadow .3s ease; }
.insight:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.insight-media { aspect-ratio: 16 / 10; background-position: center; background-size: cover; background-repeat: no-repeat; }
.insight-body { padding: 22px 24px 26px; }
.insight-tag { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); }
.insight-body h3 { margin: 10px 0 8px; font-size: 1.2rem; }
.insight-body p { font-size: .9rem; color: var(--ink-2); margin: 0; }
@media (max-width: 820px) { .insight-grid { grid-template-columns: 1fr; } }

/* cinematic band that holds a video: drop the Ken Burns (video already moves) */
.cinematic .bg:has(.media-vid) { animation: none; inset: 0; }

/* home nav: when the mobile drawer is open, force a solid readable panel */
body.home .nav.open { background: rgba(255,255,255,.98); backdrop-filter: blur(20px); border-bottom-color: var(--line); }
body.home .nav.open .brand-name, body.home .nav.open .nav-top { color: var(--ink); }
body.home .nav.open .nav-cta.btn { color: var(--ink); border-color: var(--line-2); }
body.home .nav.open .nav-item .nav-top::after { border-color: currentColor; }
body.home .nav.open .nav-toggle span,
body.home .nav.open .nav-toggle span::before,
body.home .nav.open .nav-toggle span::after { background: var(--ink); }

/* MINIMAL HERO — just the video + one quiet centred line (Givaudan title-card) */
.hero-minimal .hero-in-v { max-width: none; width: 100%; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-min-title { color: #fff; font-family: var(--serif); font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -.02em; text-shadow: 0 2px 34px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.4); }
.hero-minimal .hero-media::after {
  background:
    radial-gradient(115% 78% at 50% 52%, rgba(8,12,18,.55) 0%, rgba(8,12,18,.24) 52%, transparent 100%),
    linear-gradient(to top, rgba(8,12,18,.5), rgba(8,12,18,.12) 40%, rgba(8,12,18,.34)); }
.hero-minimal .scroll-cue { color: rgba(255,255,255,.72); }

/* PRODUCT SHOTS on portfolio cards */
.card.has-media { min-height: auto; }
.card-media { position: relative; margin: -30px -30px 22px; aspect-ratio: 4 / 3;
  background-position: center; background-size: cover; background-repeat: no-repeat; background-color: var(--lilac);
  border-bottom: 1px solid var(--line); }
.card-media .tag { position: absolute; top: 14px; right: 14px; box-shadow: 0 6px 16px rgba(0,0,0,.16); }
.card-media .tag-alt { background: rgba(255,255,255,.95); color: var(--purple); }
.card-media .tag-boost { background: rgba(255,255,255,.95); color: #6E6A62; }
.card-media .tag-solution { background: rgba(26,23,20,.92); color: #fff; }

/* REAL PAF LOGO (black badge; inverted to white over dark backgrounds) */
.brand-logo { height: 44px; width: auto; display: block; }
.nav.scrolled .brand-logo { height: 40px; }
@media (max-width: 720px) { .brand-logo { height: 38px; } }
body.home .nav:not(.scrolled) .brand-logo { filter: invert(1); }   /* white over the video */
body.home .nav.open .brand-logo { filter: none; }                  /* mobile drawer = white bg */

/* product card images as real <img> (robust) */
.card-media img.pm { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* REFINED BRAND — sophisticated monoline mark + airy wordmark (Givaudan-calm) */
.brand { gap: 11px; }
.brand-mark { width: 32px; height: 32px; }
.nav.scrolled .brand-mark { width: 28px; height: 28px; }
.brand-name { font-weight: 600; letter-spacing: .17em; font-size: .8rem; }
.brand-name b { font-weight: 600; color: var(--purple); margin: 0 .05em; }
/* mark adapts to dark backgrounds (hero nav over video, footer) */
body.home .nav:not(.scrolled) .brand-mark { filter: invert(1) brightness(1.7); }
/* Landing hero: shrink the logo overlay ~33% (32px→21px, scrolled 28px→19px) */
body.home .nav .brand-mark { width: 21px; height: 21px; }
body.home .nav.scrolled .brand-mark { width: 19px; height: 19px; }
body.home .nav.open .brand-mark { filter: none; }

/* SUBPAGE IMAGE HEROES — nature, premium, calm (dark image + scrim + white text) */
.page-hero { position: relative; overflow: hidden; }
.page-hero .bg { position: absolute; inset: 0; z-index: 0; background-position: center; background-size: cover; background-repeat: no-repeat; }
.page-hero.media { background: #0E0B1A; color: #fff; }
.page-hero.media::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(14,11,26,.84), rgba(14,11,26,.5) 55%, rgba(14,11,26,.32)); }
.page-hero.media .wrap { position: relative; z-index: 2; }
.page-hero.media h1 { color: #fff; }
.page-hero.media .lead { color: rgba(255,255,255,.9); }
.page-hero.media .eyebrow { color: var(--gold); }

/* HERO VIDEO CROSSFADE — two stacked clips blended to hide the loop seam */
.hero-media .xfade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: none; }
.hero-media .xfade:nth-child(2) { opacity: 0; }

/* VIDEO-BG SECTION (Innovation) + footer legal + imprint prose */
.videobg { position: relative; overflow: hidden; background: var(--purple-dk); }
.videobg .vbg { position: absolute; inset: 0; z-index: 0; }
.videobg .vbg .xfade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: none; }
.videobg .vbg .xfade:nth-child(2) { opacity: 0; }
.videobg::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(31,8,102,.86), rgba(14,11,26,.9)); }
.videobg > .wrap { position: relative; z-index: 2; }
.videobg h2, .videobg h3 { color: #fff; }
.videobg p { color: rgba(255,255,255,.82); }
.videobg .eyebrow { color: var(--gold); }
.videobg .feature.on-dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); backdrop-filter: blur(6px); box-shadow: none; }
.videobg .feature .k b { color: #fff; }
.videobg .feature .k span { color: rgba(255,255,255,.6); }

.prose h3 { margin: 0 0 6px; }
.prose h4 { margin: 28px 0 6px; font-family: var(--serif); font-size: 1.05rem; font-weight: 700; }
.prose p { margin: 0 0 6px; }
.prose a { color: var(--purple); }

/* Full-bleed video hero must always fill the viewport (never collapse to header) */
.hero.hero-video { min-height: 100vh; }

/* HERO INTRO — PAF spiral as a frosted lens of the blurred bg video, then it
   fades out and "Made to endure" appears (one-time, CSS overlay, not in the clip). */
.hero-lens {
  position: absolute; z-index: 1; left: 50%; top: 46%;
  width: min(58vh, 72vw); aspect-ratio: 1; overflow: hidden;
  -webkit-mask-image: url("paf-mask.png"); mask-image: url("paf-mask.png");
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  opacity: 0; pointer-events: none;
  animation: heroLensFloat 15s ease-in-out infinite alternate, heroLensIntro 6s ease forwards;
}
.hero-lens .lens-vid {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.15);
  filter: blur(9px) brightness(1.14) saturate(1.15);
}
@keyframes heroLensFloat {
  from { transform: translate(-50%,-50%) translate(-10px,-12px) rotate(-2deg) scale(1); }
  to   { transform: translate(-50%,-50%) translate(12px,12px) rotate(2deg) scale(1.05); }
}
@keyframes heroLensIntro { 0% { opacity: 0; } 14% { opacity: 1; } 60% { opacity: 1; } 100% { opacity: 0; } }

/* title waits for the lens to vanish, then fades up */
.hero-minimal .hero-min-title { opacity: 0; animation: heroTitleIn 1.5s ease forwards; animation-delay: 5.4s; }
@keyframes heroTitleIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .hero-lens { display: none; }
  .hero-minimal .hero-min-title { opacity: 1; animation: none; }
}

/* NAV INTRO — brand + menu items gently fly in from the left, staggered (Givaudan) */
.brand { animation: navFlyIn .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: .05s; }
.nav-links > * { animation: navFlyIn .7s cubic-bezier(.2,.7,.2,1) both; }
.nav-links > *:nth-child(1) { animation-delay: .18s; }
.nav-links > *:nth-child(2) { animation-delay: .28s; }
.nav-links > *:nth-child(3) { animation-delay: .38s; }
.nav-links > *:nth-child(4) { animation-delay: .48s; }
@keyframes navFlyIn { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: translateX(0); } }
@media (max-width: 980px) { .nav-links > * { animation: none; } }         /* drawer: no fly-in */
@media (prefers-reduced-motion: reduce) { .brand, .nav-links > * { animation: none; } }

/* Subpages with a dark image hero get the landing's transparent-over-hero nav */
body.dark-hero .nav:not(.scrolled) { background: transparent; backdrop-filter: none; border-bottom-color: rgba(255,255,255,.18); }
body.dark-hero .nav:not(.scrolled) .brand-name { color: #fff; }
body.dark-hero .nav:not(.scrolled) .nav-top { color: #fff; }
body.dark-hero .nav:not(.scrolled) .nav-item .nav-top::after { border-color: #fff; }
body.dark-hero .nav:not(.scrolled) .nav-cta.btn { color: #fff; border-color: rgba(255,255,255,.5); }
body.home .nav:not(.scrolled) .lang-switch,
body.dark-hero .nav:not(.scrolled) .lang-switch { color: #fff; }
body.dark-hero .nav:not(.scrolled) .nav-cta.btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
body.dark-hero .nav:not(.scrolled) .nav-toggle { border-color: rgba(255,255,255,.5); }
body.dark-hero .nav:not(.scrolled) .nav-toggle span,
body.dark-hero .nav:not(.scrolled) .nav-toggle span::before,
body.dark-hero .nav:not(.scrolled) .nav-toggle span::after { background: #fff; }
body.dark-hero .nav:not(.scrolled) .brand-mark { filter: invert(1) brightness(1.7); }
body.dark-hero .nav.open { background: rgba(255,255,255,.98); backdrop-filter: blur(20px); border-bottom-color: var(--line); }
body.dark-hero .nav.open .brand-name, body.dark-hero .nav.open .nav-top { color: var(--ink); }
body.dark-hero .nav.open .nav-cta.btn { color: var(--ink); border-color: var(--line-2); }
body.dark-hero .nav.open .brand-mark { filter: none; }
body.dark-hero .nav.open .nav-toggle span,
body.dark-hero .nav.open .nav-toggle span::before,
body.dark-hero .nav.open .nav-toggle span::after { background: var(--ink); }

/* ============================================================================
   PREMIUM PASS (v20) — rhythm · nav scrim · scroll motion · unified grade ·
   micro-interactions. Final authoritative layer; the design already resolves to
   white + a single olive accent (var(--purple)) + Archivo, so this is polish, not a redo.
   ========================================================================== */

/* 1 — More air. Premium reads as space: widen the vertical rhythm + tighten measure. */
section { padding: clamp(88px, 11vw, 184px) 0; }
.sec-head { margin-bottom: clamp(44px, 5.5vw, 76px); }
.sec-head h2 { margin: 18px 0 20px; }
.statement { padding: clamp(92px, 12vw, 168px) 0; }
.statement-lead { max-width: 40ch; }
.lead { max-width: 56ch; }

/* 2 — Nav legibility over the hero: a whisper of shade behind the transparent
   nav so white text stays crisp over busy footage (invisible-feeling). */
.nav-in { position: relative; z-index: 1; }
body.home .nav:not(.scrolled)::before,
body.dark-hero .nav:not(.scrolled)::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(14,11,26,.45), rgba(14,11,26,.12) 62%, transparent);
}
body.home .nav:not(.scrolled), body.dark-hero .nav:not(.scrolled) { border-bottom-color: transparent; }

/* 4 — Focus-visible: accessible + refined (keyboard users get an accent ring). */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 4px;
}

/* 5 — One consistent, subtle photographic grade across all imagery. */
.split-media, .scale-band .bg, .insight-media, .page-hero .bg,
.card-media img.pm, .hero-figure, .cinematic .bg {
  filter: saturate(1.03) contrast(1.02);
}

/* 6 — Parallax hooks: JS drives the translate; the scale gives it room to move. */
.split-media, .scale-band .bg, .insight-media, .page-hero .bg {
  will-change: transform; transform: translate3d(0,0,0) scale(1.12);
}

/* 7 — Micro-interactions: slower, more deliberate (Givaudan pacing). */
.btn { transition: transform .3s cubic-bezier(.2,.8,.2,1), background .3s ease, box-shadow .3s ease, color .3s ease, border-color .3s ease; }
.insight { transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease; }
.insight:hover { transform: translateY(-8px); }

.reveal { transition: opacity 1.05s cubic-bezier(.16,.84,.3,1), transform 1.05s cubic-bezier(.16,.84,.3,1); }

@media (prefers-reduced-motion: reduce) {
  .split-media, .scale-band .bg, .insight-media, .page-hero .bg { transform: none; }
  .reveal { transform: none; transition: none; }   /* repeats line 280: the .reveal rules above override it */

}

/* ============================================================================
   ABOUT / COMPANY + PARTNERS (v21) — Mission, Journey timeline, People, Partners.
   Built on the existing system: white ground, olive var(--purple) accent, Archivo.
   ========================================================================== */

/* dropdown group labels (About / Company grouping in the Company menu) */
.dd-label { display:block; padding:9px 14px 3px; font-size:.62rem; font-weight:700;
  letter-spacing:.18em; text-transform:uppercase; color:var(--muted); pointer-events:none; }
.dd .dd-label ~ .dd-label { margin-top:6px; border-top:1px solid var(--line); padding-top:12px; }
@media (max-width: 980px){ .dd-label { padding-left:8px; } }

/* Solutions mega-menu — two columns side by side, Ofi-style column headers */
.dd-mega { min-width: 520px; display:grid; grid-template-columns:repeat(2,1fr); gap:8px 48px; padding:6px 8px; }
.dd-col-head { display:block; margin:6px 4px 16px; pointer-events:none; }
.dd-col-head::before { content:""; display:block; width:26px; height:2px; background:var(--purple); margin-bottom:14px; }
.dd-col-head b { display:block; font-family:var(--serif); font-weight:600; font-size:1.1rem; color:var(--ink); letter-spacing:-0.01em; }
.dd-col a { display:block; padding:9px 4px; font-size:.98rem; font-weight:400; color:var(--ink-2); border-radius:8px; }
.dd-col a:hover { background:var(--grey); color:var(--ink); }
@media (max-width:900px){ .dd-mega { min-width:0; } }
@media (max-width: 980px){
  .dd-mega { grid-template-columns:1fr; gap:0; padding:0; }
  .dd-col-head { margin:14px 8px 6px; }
  .dd-col a { padding-left:8px; }
}

/* narrower editorial measure for about intros */
.measure { max-width:64ch; }
.measure p { font-size:1.08rem; }

/* stat row reused on mission/journey */
.statrow { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:clamp(30px,4vw,50px); }
.statrow .stat { border-top:2px solid var(--purple); padding-top:16px; }
.statrow .stat b { font-family:var(--serif); font-weight:700; font-size:clamp(2rem,4vw,3rem); display:block; letter-spacing:-.02em; line-height:1; color:var(--ink); }
.statrow .stat span { color:var(--muted); font-size:.92rem; display:block; margin-top:8px; }
@media (max-width:720px){ .statrow { grid-template-columns:1fr; } }

/* founder / positioning quote */
.founder-quote { max-width:60ch; margin:clamp(34px,5vw,58px) 0; padding-left:26px; border-left:3px solid var(--purple); }
.founder-quote p { font-family:var(--serif); font-weight:600; font-size:clamp(1.3rem,2.4vw,1.9rem); line-height:1.32; letter-spacing:-.01em; color:var(--ink); margin:0; }
.founder-quote cite { display:block; margin-top:16px; font-style:normal; font-size:.8rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }

/* TIMELINE (Our Journey) */
.timeline { position:relative; margin-top:clamp(34px,5vw,58px); }
.timeline::before { content:""; position:absolute; left:7px; top:8px; bottom:8px; width:2px; background:var(--line); }
.tl-item { position:relative; padding:0 0 clamp(24px,3vw,36px) 42px; }
.tl-item::before { content:""; position:absolute; left:0; top:3px; width:16px; height:16px; border-radius:50%; background:#fff; border:3px solid var(--purple); box-sizing:border-box; }
.tl-date { font-family:var(--serif); font-weight:700; font-size:.9rem; letter-spacing:.05em; color:var(--purple); }
.tl-item p { margin:3px 0 0; color:var(--ink-2); font-size:1.02rem; line-height:1.5; }
.tl-note { font-size:.82rem; color:var(--muted); margin-top:20px; max-width:70ch; }

/* TEAM grid (People) */
.team-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(20px,2.5vw,32px); margin-top:clamp(26px,3vw,44px); }
.team-label { grid-column:1/-1; margin:clamp(18px,2.5vw,30px) 0 2px; }
.team-label .eyebrow { color:var(--purple); }
.person .photo { position:relative; aspect-ratio:4/5; border-radius:var(--r-lg); overflow:hidden;
  background:var(--lilac); box-shadow:0 34px 74px -46px rgba(14,11,26,.6); margin:0; }
.person .photo::after { content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(14,11,26,.06); border-radius:inherit; }
.person .photo img { width:100%; height:100%; object-fit:cover; object-position:center 24%;
  filter:grayscale(1) contrast(1.05); transform:scale(1.02);
  transition:filter .55s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.person:hover .photo img { filter:grayscale(0) contrast(1); transform:scale(1.07); }
.person .photo figcaption { position:absolute; inset:auto 0 0 0; z-index:2; padding:22px 20px 16px;
  background:linear-gradient(to top, rgba(14,11,26,.88), rgba(14,11,26,.34) 56%, transparent); }
.person .photo figcaption h3 { color:#fff; font-size:1.16rem; margin:0 0 2px; line-height:1.16; }
.person .photo figcaption .role { color:var(--gold); font-weight:600; font-size:.8rem; letter-spacing:.04em; }
.person p { margin:15px 2px 0; font-size:.9rem; color:var(--ink-2); line-height:1.55; }
@media (prefers-reduced-motion: reduce) { .person .photo img { transition:none; } }
@media (max-width:820px){ .team-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .team-grid { grid-template-columns:1fr; } }

/* PARTNERS logo grid */
.partner-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(14px,1.6vw,22px); margin-top:clamp(30px,4vw,50px); }
.partner-cell { display:flex; align-items:center; justify-content:center; padding:clamp(24px,3vw,40px);
  border:1px solid var(--line); border-radius:var(--r-lg); background:#fff; min-height:140px; transition:box-shadow .35s ease, transform .35s ease; }
.partner-cell:hover { box-shadow:var(--shadow-sm); transform:translateY(-4px); }
.partner-cell img { max-height:56px; max-width:76%; width:auto; object-fit:contain; filter:grayscale(1); opacity:.7; transition:filter .35s ease, opacity .35s ease; }
.partner-cell:hover img { filter:grayscale(0); opacity:1; }
@media (max-width:900px){ .partner-grid { grid-template-columns:repeat(3,1fr); } }
@media (max-width:600px){ .partner-grid { grid-template-columns:repeat(2,1fr); } }

/* ============================================================================
   PRODUCT PAGES (v22) — video-hero product detail: overview, variants,
   applications, benefits. Existing system (white, olive var(--purple), Archivo).
   ========================================================================== */
.prod-hero { min-height: 78vh; display: flex; align-items: flex-end; padding-bottom: clamp(48px,7vw,96px); }
.prod-hero .bg { overflow: hidden; }
.prod-hero .bg .media-vid { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.prod-hero .hero-actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:30px; }
.prod-eyebrow { color:var(--gold); }

/* overview split (image + copy) */
.prod-split { display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,5vw,64px); align-items:center; }
.prod-split .prod-figure { aspect-ratio:4/3; border-radius:var(--r-lg); overflow:hidden; background:var(--lilac); box-shadow:var(--shadow-sm); }
.prod-split .prod-figure img { width:100%; height:100%; object-fit:cover; }
@media (max-width:820px){ .prod-split { grid-template-columns:1fr; } }

/* variant cards */
.variant-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; margin-top:clamp(28px,3.5vw,44px); }
.variant { border:1px solid var(--line); border-radius:var(--r-lg); padding:26px 26px 22px; background:#fff;
  transition:transform .35s ease, box-shadow .35s ease; }
.variant:hover { transform:translateY(-4px); box-shadow:var(--shadow-sm); }
.variant h3 { font-size:1.18rem; margin:0 0 4px; }
.variant .v-tag { font-size:.66rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--purple); }
.variant .v-desc { color:var(--ink-2); font-size:.94rem; margin:8px 0 16px; }
.variant .v-facts { display:flex; gap:26px; border-top:1px solid var(--line); padding-top:14px; }
.variant .v-facts b { display:block; font-family:var(--serif); font-weight:700; font-size:1.15rem; letter-spacing:-.01em; }
.variant .v-facts span { font-size:.7rem; color:var(--muted); text-transform:uppercase; letter-spacing:.08em; }
@media (max-width:560px){ .variant-grid { grid-template-columns:1fr; } }

/* benefit checklist */
.benefits { list-style:none; padding:0; margin:clamp(24px,3vw,40px) 0 0; display:grid; grid-template-columns:repeat(2,1fr); gap:14px 34px; }
.benefits li { position:relative; padding-left:32px; color:var(--ink-2); font-size:1rem; line-height:1.4; }
.benefits li::before { content:""; position:absolute; left:0; top:1px; width:20px; height:20px; border-radius:50%; background:rgba(50,15,153,.14); }
.benefits li::after { content:""; position:absolute; left:7px; top:5px; width:5px; height:9px; border-right:2px solid var(--purple); border-bottom:2px solid var(--purple); transform:rotate(45deg); }
@media (max-width:620px){ .benefits { grid-template-columns:1fr; } }

/* application tag cloud */
.app-cloud { display:flex; flex-wrap:wrap; gap:10px; margin-top:clamp(22px,3vw,36px); }
.app-cloud span { border:1px solid var(--line); border-radius:var(--r-pill); padding:9px 17px; font-size:.92rem; color:var(--ink-2); background:#fff; }

/* small note under drafted content */
.draft-note { font-size:.8rem; color:var(--muted); margin-top:14px; }
.prod-link { display:inline-flex; align-items:center; gap:8px; margin-top:16px; color:var(--purple); font-weight:600; font-size:.92rem; }
.card .prod-link { margin-top:14px; }
/* related-products grid (Solutions pages) */
.rel-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:clamp(24px,3vw,40px); }
.rel-card { display:block; border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; background:#fff; transition:transform .3s ease, box-shadow .3s ease; }
.rel-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-sm); }
.rel-card .rc-media { aspect-ratio:16/10; background-size:cover; background-position:center; filter:saturate(1.03) contrast(1.02); }
.rel-card .rc-body { padding:16px 18px 18px; }
.rel-card h3 { font-size:1.05rem; margin:0 0 3px; }
.rel-card p { font-size:.85rem; color:var(--ink-2); margin:0; }
@media (max-width:820px){ .rel-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .rel-grid { grid-template-columns:1fr; } }

/* ============================================================================
   MOBILE NAV DRAWER — guaranteed legibility. On transparent-over-hero pages the
   white nav-text rules could leak into the open drawer, hiding the menu items.
   This forces a solid panel + dark text for the open drawer on every page.
   ========================================================================== */
@media (max-width: 980px) {
  .nav.open { background: #ffffff !important; backdrop-filter: blur(20px) saturate(1.1); border-bottom-color: var(--line) !important; }
  .nav.open .nav-links { background: #ffffff !important; height: auto !important; max-height: calc(100dvh - 56px); overflow-y: auto; padding-bottom: 18px; }
  .nav.open .nav-links a,
  .nav.open .nav-top,
  .nav.open .dd a,
  .nav.open .brand-name { color: var(--ink) !important; }
  .nav.open .dd-label { color: var(--muted) !important; }
  .nav.open .nav-item .nav-top::after { border-color: var(--ink) !important; }
  .nav.open .nav-toggle span,
  .nav.open .nav-toggle span::before,
  .nav.open .nav-toggle span::after { background: var(--ink) !important; }
  .nav.open .brand-mark { filter: none !important; }
  .nav.open .nav-cta.btn { color: var(--ink) !important; border-color: var(--line-2) !important; background: transparent !important; }
  .nav.open .dd { background: transparent !important; }
  .nav.open .dd a { padding-left: 14px; }
}

/* Cocoa Booster palette / application gallery */
.gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:clamp(24px,3vw,40px); }
.gallery figure { margin:0; border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; background:#fff; }
.gallery img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; filter:saturate(1.03) contrast(1.02); }
.gallery figcaption { padding:12px 16px; font-size:.85rem; color:var(--ink-2); }
.gallery .g-wide { grid-column:1/-1; }
.gallery .g-wide img { aspect-ratio:16/6; }
@media(max-width:720px){ .gallery{ grid-template-columns:1fr 1fr; } }
@media(max-width:480px){ .gallery{ grid-template-columns:1fr; } }

/* ============================================================================
   MOBILE POLISH (v24) — right-sized heroes & type, tighter rhythm, full-width
   stacked CTAs and better tap targets on phones. (<=720px)
   ========================================================================== */
@media (max-width: 720px) {
  .page-hero h1 { font-size: clamp(2rem, 8.2vw, 2.6rem); line-height: 1.1; letter-spacing: -0.02em; }
  .hero-video h1, .hero-min-title { font-size: clamp(2rem, 8.6vw, 2.7rem); }
  h2 { font-size: clamp(1.5rem, 6.2vw, 2.1rem); }
  .prod-hero { min-height: 64vh; padding-bottom: clamp(30px, 7vw, 52px); }
  .page-hero { padding-top: clamp(92px, 24vw, 124px); padding-bottom: clamp(30px, 7vw, 52px); }
  section { padding: clamp(54px, 12vw, 90px) 0; }
  .lead, .measure p, .prose p { font-size: 1rem; }
  .hero-actions { gap: 10px; width: 100%; }
  .hero-actions .btn { flex: 1 1 44%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .statrow { gap: 14px; margin-top: 26px; }
  .founder-quote { padding-left: 18px; }
  .founder-quote p { font-size: 1.15rem; }
  .app-cloud span { font-size: .86rem; padding: 7px 14px; }
  .gallery figcaption { font-size: .8rem; padding: 10px 12px; }
  .timeline { margin-top: 26px; }
  .prod-split { gap: 24px; }
  .sec-head { margin-bottom: 28px; }
}

/* ============================================================================
   MOBILE DROPDOWN FIX (v25) — the desktop rule `.nav-item.open .dd { transform:
   translateX(-50%) }` (specificity 0,2,0) outranked the mobile `.dd{transform:none}`
   (0,1,0), so an OPEN dropdown kept its desktop centering transform and slid
   off-screen to the LEFT on phones. Force the accordion fully in-flow + full width.
   ========================================================================== */
@media (max-width: 980px) {
  .nav .dd,
  .nav-item.open .dd,
  .nav-item:hover .dd {
    position: static !important;
    transform: none !important;
    left: auto !important; right: auto !important; top: auto !important;
    min-width: 0 !important; width: 100% !important;
    box-shadow: none !important; border: none !important;
    background: transparent !important;
    padding: 0 0 8px !important;
    opacity: 1 !important; visibility: visible !important;
  }
  .nav-item.open .dd { display: grid !important; }
  .nav-item:not(.open) .dd { display: none !important; }
  .nav .dd a { padding-left: 12px !important; }
}

/* ============================================================================
   NAV HARMONIZATION (v26) — the dropdown arrows sat at 50% opacity, so they
   nearly vanished over the landing's bright video while staying crisp on the
   darker subpage heroes. Make the arrows crisp + identical on every page, and
   firm up the landing/hero scrim so brand, links and arrows read the same.
   ========================================================================== */
.nav-item .nav-top::after { opacity: .85 !important; }
.nav-item:hover .nav-top::after { opacity: 1 !important; }
body.home .nav:not(.scrolled)::before,
body.dark-hero .nav:not(.scrolled)::before {
  background: linear-gradient(to bottom, rgba(14,11,26,.55), rgba(14,11,26,.18) 62%, transparent) !important;
}

/* ============================================================================
   PREMIUM POLISH (v30) — the craft layer. The design already resolves to
   white ground + a single olive accent (var(--purple)) + Archivo/Inter. This is the
   final authoritative pass: a warm elevation system, a deliberate type scale,
   one shared easing curve, tactile image framing, and finishing details. It
   only elevates the existing vocabulary — no renamed classes, no new layout.
   ========================================================================== */

:root {
  /* One deliberate easing curve for everything that moves (calm, confident). */
  --ease: cubic-bezier(.22, .61, .28, 1);

  /* WARM elevation system — shadows tinted toward espresso (not neutral gray),
     layered (ambient + key) so cards feel lit rather than outlined. Low alpha,
     large soft blur = expensive, not "CSS-y". */
  --e-1:
    0 1px 1px rgba(14,11,26, .04),
    0 6px 14px -8px rgba(14,11,26, .10);
  --e-2:
    0 1px 2px rgba(14,11,26, .05),
    0 10px 26px -14px rgba(14,11,26, .16),
    0 30px 60px -40px rgba(14,11,26, .14);
  --e-3:
    0 2px 4px rgba(14,11,26, .06),
    0 18px 42px -22px rgba(14,11,26, .22),
    0 46px 92px -52px rgba(14,11,26, .24);
  /* re-point the legacy tokens so every prior use inherits the warmer grade */
  --shadow: var(--e-3);
  --shadow-sm: var(--e-2);
}

/* --- 1 · TYPOGRAPHY — a deliberate scale, balanced wrapping, honed measure --- */
h1, h2, h3, h4 { text-wrap: balance; }
.hero h1, .hero-min-title, .page-hero h1, .cin-title, .prod-hero h1 { text-wrap: balance; }
/* leads and editorial paragraphs wrap for even rag, not orphans */
.lead, .statement-lead, .prose p, .measure p, .founder-quote p, blockquote { text-wrap: pretty; }
/* Lead: a touch more line-height + a hair more weight so it reads as considered
   sub-head copy, not thin body text. */
.lead { line-height: 1.5; font-weight: 340; letter-spacing: .002em; }
/* Body measure discipline — long prose never runs past a comfortable line. */
.prose, .measure { max-width: 66ch; }
p { max-width: 74ch; }
.hero p, .page-hero p, .cta-band p, .videobg p, .dark p, .pullquote p, .card p, .variant .v-desc, .step p, .insight-body p, .rel-card p, .crop span, .app-d, .stat span, .form p { max-width: none; }
/* Eyebrow: slightly finer tracking rhythm, optical baseline lift */
.eyebrow { font-size: .72rem; letter-spacing: .24em; }
/* Section heads: honor the accent-line eyebrow, then a confident gap to the H2.
   (Pages set this inline inconsistently — normalize the default.) */
.sec-head .eyebrow + h2 { margin-top: 18px; }

/* --- 2 · ELEVATION applied — tactile cards that lift on the shared curve --- */
.card, .app, .variant, .partner-cell, .insight, .rel-card, .feature.on-dark,
.gallery figure {
  box-shadow: var(--e-1);
  transition: transform .42s var(--ease), box-shadow .42s var(--ease), border-color .42s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--e-3); border-color: var(--line-2); }
.app:hover { transform: translateY(-5px); box-shadow: var(--e-2); border-color: var(--line-2); }
.variant:hover, .partner-cell:hover, .gallery figure:hover { transform: translateY(-5px); box-shadow: var(--e-2); }
.insight:hover, .rel-card:hover { box-shadow: var(--e-3); }
.form { box-shadow: var(--e-2); }
/* the person photo already lifts on grayscale→colour; deepen its grounding */
.person .photo { box-shadow: var(--e-3); }

/* --- 3 · IMAGERY — zoom-within-frame. The photo scales, the frame clips it,
   so hover feels like the image breathing, never the card jumping. --- */
.card-media, .rel-card .rc-media, .insight-media, .prod-split .prod-figure,
.gallery figure { overflow: hidden; }
.card-media img.pm, .insight-media, .rc-media, .prod-split .prod-figure img,
.gallery img {
  transition: transform .7s var(--ease), filter .7s var(--ease);
  will-change: transform;
}
.card:hover .card-media img.pm,
.insight:hover .insight-media,
.rel-card:hover .rc-media,
.prod-split .prod-figure:hover img,
.gallery figure:hover img { transform: scale(1.045); }
/* split media zoom lives inside its clipped grid cell (parallax sets its own
   transform inline, so only nudge the scale via a wrapper-safe filter shift) */
.split-media { transition: filter .7s var(--ease); }
.split-grid:hover .split-media { filter: saturate(1.06) contrast(1.03) brightness(1.02); }

/* --- 4 · BUTTONS — confident weight, refined hover, crisper arrow --- */
.btn { letter-spacing: .01em; transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.btn-primary:hover { box-shadow: var(--e-2); }
.btn-ghost:hover { box-shadow: var(--e-1); }
.arrow::after { transition: transform .3s var(--ease); }
.arrow:hover::after { transform: translateX(5px); }

/* --- 5 · LINKS & NAV — the underline reveal glides on the shared curve --- */
.nav-links a::after { transition: right .3s var(--ease); }
.engine-link, .prod-link { position: relative; }
.engine-link::after, .prod-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px;
  height: 1.5px; background: currentColor; transition: right .3s var(--ease);
}
.engine-link:hover::after, .prod-link:hover::after { right: 0; }

/* --- 6 · FINISHING — selection, marker, rules, tap feedback --- */
::selection { background: rgba(50,15,153, .18); color: var(--ink); }
hr { border: 0; height: 1px; background: var(--line); margin: clamp(32px, 5vw, 64px) 0; }
.prose ul, .prose ol { padding-left: 1.15em; }
.prose li { margin-bottom: .4em; }
.prose ul li::marker { color: var(--purple); }
/* buttons/cards settle on tap (mobile) instead of sticking in hover state */
.btn:active { transform: translateY(0) scale(.985); }
.card:active, .app:active, .variant:active { transform: translateY(-2px); }
/* keep imagery from ever looking stretched if a source ratio is odd */
.hero-figure, .split-media, .scale-band .bg, .page-hero .bg, .cinematic .bg,
.card-media, .rc-media, .insight-media { background-repeat: no-repeat; }

@media (prefers-reduced-motion: reduce) {
  .card:hover, .app:hover, .variant:hover, .partner-cell:hover,
  .gallery figure:hover { transform: none; }
  .card:hover .card-media img.pm, .insight:hover .insight-media,
  .rel-card:hover .rc-media, .prod-split .prod-figure:hover img,
  .gallery figure:hover img { transform: none; }
}

/* Nav on small laptops (981–1240px): tighten spacing so the menu, EN/DE and
   "Partner with us" stay on one line. Below 981px the hamburger drawer takes over. */
@media (min-width: 981px) and (max-width: 1240px) {
  .nav-in { gap: 24px; }
  .nav-links { gap: 20px; }
  .nav .nav-cta.btn { padding: 10px 16px; letter-spacing: .12em; }
}
@media (min-width: 981px) and (max-width: 1100px) {
  .nav-links { gap: 14px; }
  .nav-links a, .lang-switch { letter-spacing: .1em; }
}

/* ============================================================================
   TYPE — Rethink Sans only (brand guideline), self-hosted via assets/fonts.css.
   Replaces the earlier Archivo / Inter / Fraunces / Spectral stacks above.
   ========================================================================== */
:root {
  --serif: "Rethink Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --sans: "Rethink Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ============================================================================
   RELAUNCH 2026 CI — the sub-pages wear the homepage's identity (home.css):
   Rethink Sans · brand purple #320F99 · purple tints · Ronchi gold #EEB650 ·
   light grey #F7F7F9 · white. Olive and espresso are retired. Final authoritative
   layer: tokens, type, the components that carried olive, then the footer, which
   mirrors home.css (keep the two in sync). The nav is site-nav.css.
   ========================================================================== */
:root {
  --purple:    #320F99;
  --purple-2:  #4A2BB0;
  --purple-dk: #1F0866;
  --purple-mid: #9C8DD9;   /* soft purple: the former light-green accent slots (tech pictogram shade) */
  --gold:      #EEB650;
  --gold-lt:   #FBF0DA;
  --lilac:     #EFECF9;
  --lilac-2:   #DCD6F3;
  --grey:      #F7F7F9;
  --white:     #FFFFFF;
  --ink:       #0E0B1A;
  --ink-2:     #3D3A4A;
  --muted:     #6E6A7C;
  --line:      #E8E6EF;
  --line-2:    #D6D2E3;
  /* legacy names, re-pointed so every earlier layer resolves to the brand */
  --cream: #FFFFFF; --cream-2: var(--grey); --paper: #FFFFFF; --sand: var(--lilac);
  --cocoa: var(--purple); --espresso: var(--purple-dk);
  --r: 8px; --r-lg: 8px;
  --gutter: clamp(20px, 4vw, 70px);
  --sans: "Rethink Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: var(--sans);
  --ease: cubic-bezier(.16, .84, .3, 1);
}

/* ---- type: one family, medium-weight display, as on the homepage ---- */
body { background: #fff; color: var(--ink); letter-spacing: 0; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 500; letter-spacing: -.025em; line-height: 1.06; }
.hero h1, .page-hero h1, .prod-hero h1, .cin-title, .hero-min-title { font-weight: 500; letter-spacing: -.03em; }
.lead { font-weight: 400; }
.statrow .stat b, .stat b, .variant .v-facts b, .hero-meta b, .feature .k div b, .founder-quote p,
.pullquote blockquote, .statement-lead, .crop b, .contact-info .ci-block b { font-weight: 500; }
.tl-date, .step-no, .prose h4 { font-weight: 600; }
.app-no { font-style: normal; color: var(--purple); }
@media (min-width: 721px) {
  h2 { font-size: clamp(2rem, 3.2vw, 3.4rem); }
  .page-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4.8rem); }
}

/* eyebrow = the homepage kicker: small caps label in purple, gold over dark */
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; color: var(--purple); }
.eyebrow::before { display: none; }
.dark .eyebrow { color: var(--purple); }
.trusted .eyebrow { color: var(--muted); }

/* ---- buttons: the homepage's 6px purple button ---- */
.btn { border-radius: 6px; font-weight: 500; letter-spacing: 0; padding: 13px 20px; min-height: 46px; }
.btn-primary { background: var(--purple); color: #fff; border-color: transparent; }
.btn-primary:hover { background: var(--purple-2); box-shadow: none; }
.btn-ghost { background: transparent; color: var(--purple); border-color: transparent; box-shadow: inset 0 0 0 1.5px var(--purple); }
.btn-ghost:hover { background: var(--lilac); border-color: transparent; box-shadow: inset 0 0 0 1.5px var(--purple); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--lilac); color: var(--purple); box-shadow: none; }
.btn-light { background: rgba(255,255,255,.08); color: #fff; border-color: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.btn-light:hover { background: rgba(255,255,255,.18); }
/* text links over dark photos / purple bands: gold, like the homepage's accents on dark */
.page-hero.media .lead a, .cta-band .lead a, .videobg p a, .cinematic p a, .scale-band p a { color: var(--gold); }

/* ---- tags: pills in the brand colours ---- */
.tag { letter-spacing: .1em; }
.tag-alt, .card-media .tag-alt { background: var(--lilac); color: var(--purple); }
.tag-boost, .card-media .tag-boost { background: var(--gold); color: var(--ink); }
.tag-solution, .card-media .tag-solution { background: var(--purple); color: #fff; }

/* ---- stats: the homepage's colour-coded bars (green · gold · purple) ---- */
.stat, .statrow .stat { border-top: 0; position: relative; padding-top: 20px; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; width: 34px; height: 6px; border-radius: 999px;
  background: var(--purple-mid); transition: width .6s var(--ease); }
.stat:nth-child(3n+2)::before { background: var(--gold); }
.stat:nth-child(3n)::before { background: var(--purple); }
.stat:hover::before { width: 64px; }
.stat b { color: var(--ink); letter-spacing: -.03em; }
.stat span { color: var(--purple); }

/* ---- grounds: white + the homepage's light grey; purple carries the brand moments ---- */
.tint, .dark, .challenge, .engine, .trusted { background: var(--grey); }
.cta-band { background: var(--purple); }
.cta-band .lead { color: rgba(255,255,255,.84); }
.form-ok { background: var(--lilac); color: var(--ink); }
.benefits li::before { background: var(--lilac); }

/* ---- footer (mirrors home.css): light grey, link columns, logo + claim, the big "A" ---- */
.footer { position: relative; overflow: hidden; background: var(--grey); color: var(--ink); padding: clamp(64px, 10vh, 120px) 0 36px; }
.footer .wrap { max-width: 1600px; position: relative; z-index: 1; }
.footer p { margin: 0; max-width: none; }
.footer-a { position: absolute; right: -4vw; bottom: -14%; width: min(62vw, 980px); height: auto; pointer-events: none; opacity: .9; }
.footer-in { position: relative; display: grid; gap: 64px; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 760px; }
.footer h2 { margin: 0 0 14px; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); line-height: 1.4; }
.footer-links a { display: block; padding: 4px 0; color: var(--ink-2); transition: color .25s ease; }
.footer-links a:hover { color: var(--purple); }
.footer-base { display: grid; gap: 22px; color: var(--purple); }
.footer-base .logo { width: 56px; height: auto; aspect-ratio: 57 / 95; }
.footer-claim { font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); }
.footer-legal { font-size: .82rem; color: var(--muted); }
.footer-legal a:hover { color: var(--purple); }
@media (min-width: 700px) { .footer-links { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) {
  .footer-in { grid-template-columns: 1fr 1.2fr; align-items: end; min-height: min(70vh, 640px); }
  .footer-base { grid-row: 1; align-self: end; }
  .footer-links { grid-column: 2; align-self: start; }
}

/* reading-progress bar, as on the homepage */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--purple), var(--purple-mid) 70%, var(--gold)); z-index: 200; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .scroll-progress { display: none; } }

/* skip link: first tab stop on every page, visible only when focused */
.skip-link { position: fixed; left: 16px; top: -64px; z-index: 300; padding: 10px 16px; border-radius: 6px; background: var(--purple); color: #fff; font-weight: 500; transition: top .2s ease; }
.skip-link:focus { top: 16px; }

/* pause / play for the background clips (added by main.js; WCAG 2.2.2) */
.vid-toggle { position: absolute; right: var(--gutter); bottom: 20px; z-index: 3; width: 38px; height: 38px; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: rgba(14,11,26,.45); color: #fff; backdrop-filter: blur(6px); cursor: pointer; opacity: .75;
  transition: opacity .25s ease, background .25s ease; }
.vid-toggle:hover, .vid-toggle:focus-visible { opacity: 1; background: rgba(14,11,26,.7); }
.vid-toggle::before { content: ""; box-sizing: border-box; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.vid-toggle.paused::before { width: 0; height: 0; border: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* links inside running text are underlined, not colour-only (WCAG 1.4.1) */
.prose a, .measure a, main p:not(.breadcrumb) a:not([class]) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* press releases: subheads under the h1, the media-contacts block */
.prose h2.press-sub { font-size: clamp(1.2rem, 1.6vw, 1.45rem); letter-spacing: -.015em; line-height: 1.2; margin: 34px 0 10px; }
.press-contacts { display: grid; gap: 18px; margin-top: 8px; }
.press-contacts p { margin: 0; line-height: 1.55; }
/* a brand name keeps its own capitals inside an uppercase label ("WHY ChoViva") */
.nocaps { text-transform: none; letter-spacing: .02em; }
.eyebrow:has(> .nocaps) { display: block; }   /* one line of text, not two flex items with a gap */

/* ============================================================================
   LEGAL PAGES — privacy policy (text from docs/legal/privacy-policy-en.md)
   ========================================================================== */
.legal { max-width: 78ch; }
.legal .legal-sub { font-weight: 600; margin-bottom: 28px; }
.legal h2 { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 600; line-height: 1.25; margin: 56px 0 14px; scroll-margin-top: 110px; }
.legal h3 { font-size: 1.12rem; font-weight: 600; margin: 32px 0 10px; scroll-margin-top: 110px; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; }
.legal a { color: #320F99; text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.legal-toc { margin: 8px 0 40px; padding: 24px 28px; border-radius: 10px; background: #F3F3F3; }
.legal-toc h2 { margin: 0 0 12px; font-size: 1.1rem; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; }
.legal-toc ol ol { margin: 4px 0 6px 2.2em; }
.legal-toc li { margin: 0 0 4px; }
.legal-toc a { text-decoration: none; color: inherit; }
.legal-toc a:hover { color: #320F99; text-decoration: underline; }
.legal-toc .toc-no { display: inline-block; min-width: 2.2em; font-variant-numeric: tabular-nums; color: #320F99; font-weight: 600; }
.legal-table-wrap { overflow-x: auto; margin: 6px 0 20px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(14,11,26,.12); }
.legal-table th { background: #F3F3F3; font-weight: 600; }
.legal-table td:first-child { font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) {
  .legal-toc { padding: 18px; }
  .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table tr { border: 1px solid rgba(14,11,26,.12); border-radius: 6px; margin-bottom: 10px; padding: 4px 0; }
  .legal-table td { border: 0; padding: 5px 12px; white-space: normal; }
  .legal-table td::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #320F99; }
}
