/* ==========================================================================
   Tasa Pharma — shared design system (all pages)
   1 Tokens  2 Base  3 Type  4 Buttons & links  5 Header & search  6 Hero
   7 Sections & reveals  8 Home  9 About  10 Products  11 Careers & forms
   12 Contact & complaint  13 Footer  14 Cookie banner  15 Page transitions
   16 Reduced motion
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --brand: #82152d; --brand-deep: #5c0e1f; --brand-ink: #2b0710; --brand-tint: #f7eef0;
  --ink: #1d1b1c; --ink-soft: #545052; --ink-mute: #6b6769; --line: #e7e2e3;
  --white: #fff; --surface: #fff; --surface-alt: #f7f5f5;
  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Wide monitors: the head script zooms the 1440px design up, so viewport units are divided back by --z */
  --z: 1;
  --vh: calc(1vh / var(--z)); --svh: calc(1svh / var(--z));
  --vw: min(calc(1vw / var(--z)), 14.4px);

  --gutter: clamp(20px, calc(4 * var(--vw)), 56px);
  --wrap: 1240px;
  --hh: 60px;                                   /* header height */
  --sec: clamp(72px, calc(9 * var(--vw)), 136px); /* section rhythm */
  --r: 18px; --r-sm: 12px;

  /* Motion: calm and precise. One easing family, three durations. */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t1: 200ms; --t2: 450ms; --t3: 800ms;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65; color: var(--ink-soft); background: var(--surface); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 300; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; transition: top var(--t1) var(--ease); }
.skip-link:focus { top: 12px; }
.nowrap { white-space: nowrap; }

/* ---------- 3. Type scale ---------- */
.t-display { font-size: clamp(2.5rem, calc(5.6 * var(--vw)), 5.25rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; color: var(--ink); text-wrap: balance; }
.t-h1 { font-size: clamp(2.25rem, calc(4.7 * var(--vw)), 4.25rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.t-h2 { font-size: clamp(1.875rem, calc(3.4 * var(--vw)), 3rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.028em; color: var(--ink); text-wrap: balance; }
.t-h3 { font-size: clamp(1.25rem, calc(1.7 * var(--vw)), 1.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); }
.t-lead { font-size: clamp(1.125rem, calc(1.5 * var(--vw)), 1.3125rem); line-height: 1.5; letter-spacing: -0.008em; color: var(--ink-soft); }
.t-body { font-size: 1rem; line-height: 1.65; color: var(--ink-soft); }
.eyebrow { font-size: .75rem; font-weight: 700; line-height: 1.3; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); }
.stack > * + * { margin-top: var(--gap, 16px); }
.measure { max-width: 62ch; }

/* ---------- 4. Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 1px solid var(--brand); border-radius: 999px; background: var(--brand); color: #fff; font-size: .9375rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color var(--t1) ease, border-color var(--t1) ease, color var(--t1) ease, transform var(--t1) var(--ease); }
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 12px; flex: none; transition: transform var(--t2) var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--light { background: #fff; border-color: #fff; color: var(--brand); }
.btn--light:hover { background: var(--brand-tint); border-color: var(--brand-tint); }
.btn--glass { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .875rem; }
.btn .ico-li { width: 15px; height: 15px; }
.btn:hover .ico-li { transform: none; }
.btn[disabled] { opacity: .6; cursor: default; }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--brand); text-decoration: none; }
.link svg { width: 20px; height: 13px; transition: transform var(--t2) var(--ease); }
.link:hover svg { transform: translateX(5px); }
.link span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--t2) var(--ease); }
.link:hover span { background-size: 100% 1px; }

/* ---------- 5. Header, menu & search ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hh); background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: background-color var(--t2) ease, border-color var(--t2) ease; }
.hdr.is-scrolled { background: rgba(255,255,255,.86); border-bottom-color: rgba(29,27,28,.08); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; width: min(100% - 2 * var(--gutter), 100%); }
.hdr__brand { display: block; flex: none; }
.hdr__brand img { width: auto; height: 20px; }
.nav ul { display: flex; align-items: center; gap: clamp(18px, calc(2.4 * var(--vw)), 34px); }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; transition: color var(--t1) ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1.5px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform var(--t2) var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav__li a::after { display: none; }
.nav__li a { gap: 10px; }
.nav__li svg { width: 15px; height: 15px; }
.nav__li-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hdr__toggle { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; }
.hdr__toggle span, .hdr__toggle span::before, .hdr__toggle span::after { display: block; width: 22px; height: 1.5px; margin: 0 auto; background: var(--ink); transition: transform var(--t2) var(--ease), background-color var(--t1) ease; }
.hdr__toggle span { position: relative; }
.hdr__toggle span::before, .hdr__toggle span::after { content: ""; position: absolute; left: 0; }
.hdr__toggle span::before { top: -7px; } .hdr__toggle span::after { top: 7px; }
.nav-open .hdr__toggle span { background: transparent; }
.nav-open .hdr__toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .hdr__toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.search { position: relative; }
.search__btn { display: inline-flex; align-items: center; gap: 8px; width: 220px; min-height: 34px; padding: 0 12px; border: 1px solid rgba(29,27,28,.12); border-radius: 999px; background: rgba(255,255,255,.6); color: var(--ink-mute); font-size: .8125rem; cursor: pointer; transition: border-color var(--t1) ease, background-color var(--t1) ease; }
.search__btn:hover { border-color: rgba(29,27,28,.3); background: #fff; }
.search__btn svg, .search__bar svg { width: 14px; height: 14px; flex: none; }
.search__box { position: absolute; inset: 0 0 auto 0; z-index: 5; }
.search__box[hidden] { display: none; }
.search__bar { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 4px 0 12px; border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line)); border-radius: 999px; background: #fff; box-shadow: 0 0 0 3px rgba(130,21,45,.08); color: var(--brand); }
.search__input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font-size: .8125rem; color: var(--ink); }
.search__input:focus { outline: none; }
.search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search__close { display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--surface-alt); color: var(--ink-soft); cursor: pointer; }
.search__close svg { width: 10px; height: 10px; }
.search__panel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); max-height: min(420px, calc(70 * var(--vh))); overflow-y: auto; padding: 6px; border: 1px solid rgba(255,255,255,.7); border-radius: 14px; background: rgba(255,255,255,.9); box-shadow: 0 1px 2px rgba(24,20,22,.05), 0 18px 44px -18px rgba(24,20,22,.32); backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%); scrollbar-width: thin; animation: pop-in var(--t2) var(--ease) both; transform-origin: top right; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.search__group { padding: 9px 9px 4px; font-size: .625rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.search__item a { display: grid; gap: 0; min-height: 0; padding: 7px 9px; border-radius: 9px; text-decoration: none; }
.search__item a::after { display: none; }
.search__item.is-active a, .search__item a:hover { background: rgba(29,27,28,.05); }
.search__title { font-size: .8125rem; font-weight: 600; line-height: 1.35; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search__sub { font-size: .71875rem; font-weight: 400; line-height: 1.35; color: var(--ink-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search__empty { padding: 18px 12px 20px; text-align: center; font-size: .8125rem; color: var(--ink-mute); }

@media (max-width: 1100px) { .search__btn { width: 180px; } }
@media (max-width: 900px) {
  .hdr__toggle { display: block; position: relative; z-index: 2; }
  .hdr__brand { position: relative; z-index: 2; }
  .nav { position: fixed; inset: 0; z-index: 1; padding: calc(var(--hh) + 20px) var(--gutter) 40px; background: #fff; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity var(--t2) var(--ease), visibility 0s linear var(--t2); }
  .nav-open .nav { opacity: 1; visibility: visible; transition: opacity var(--t2) var(--ease); }
  .nav-open .hdr { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-open { overflow: hidden; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line); }
  .nav li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(-8px); transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease); }
  .nav-open .nav li { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 40ms + 60ms); }
  .nav a { width: 100%; min-height: 58px; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
  .nav a[aria-current="page"] { color: var(--brand); }
  .nav a::after { display: none; }
  .nav__li-label { position: static; width: auto; height: auto; clip: auto; }
  .nav__li svg { width: 18px; height: 18px; }
  .search { padding: 12px 0; }
  .search__btn { width: 100%; min-height: 46px; font-size: 1rem; }
  .search__box { position: static; }
  .search__box:not([hidden]) + * , .search.is-open .search__btn { display: none; }
  .search__bar { height: 46px; }
  .search__input { font-size: 1rem; }
  .search__panel { position: static; margin-top: 8px; max-height: 46vh; background: var(--surface-alt); border-color: transparent; box-shadow: none; backdrop-filter: none; }
  .search__item a { min-height: 0; font-size: inherit; }
}

/* ---------- 6. Hero (every page): the photo stays the anchor ---------- */
.hero { position: relative; display: flex; overflow: hidden; background: var(--surface-alt); color: var(--ink); isolation: isolate; }
.hero--full { min-height: calc(100 * var(--svh)); }
.hero--mid { height: 430px; }
.hero--short { height: 300px; }
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); transform-origin: var(--origin, 50% 50%); transform: translate3d(0, var(--py, 0px), 0) scale(calc(var(--scale, 1) * var(--zoom, 1))); will-change: transform; }
/* Entrance: the photo eases in from a touch closer; text follows. */
.js .hero__media img { animation: hero-zoom 2400ms var(--ease) both, hero-fade 700ms ease both; }
@keyframes hero-zoom { from { --zoom: 1.07; } to { --zoom: 1; } }
@keyframes hero-fade { from { opacity: 0; } }
@property --zoom { syntax: "<number>"; inherits: true; initial-value: 1; }
.hero__in { position: relative; display: flex; flex-direction: column; align-items: flex-start; width: min(100% - 2 * var(--gutter), 100%); padding-top: calc(var(--hh) + 32px); padding-bottom: 32px; }
.hero__title { max-width: 16ch; font-size: clamp(2rem, calc(4.1 * var(--vw)), 3.75rem); }
.hero--full .hero__title { max-width: 15ch; }
.hero--short .hero__title, .hero--wide .hero__title { max-width: none; }
.hero__sub { margin-top: 16px; max-width: 34ch; font-size: clamp(1.125rem, calc(1.7 * var(--vw)), 1.5rem); font-weight: 500; line-height: 1.35; letter-spacing: -0.012em; color: var(--ink); }
.hero--full .hero__sub { font-size: clamp(1.25rem, calc(1.95 * var(--vw)), 1.75rem); }
.hero .btn { margin-top: 20px; }
.hero[data-tone="dark"] { background: #1c1d20; color: #fff; }
.hero[data-tone="dark"] .hero__title { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero[data-tone="dark"] .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,15,18,.78) 0%, rgba(14,15,18,.62) 30%, rgba(14,15,18,.3) 52%, rgba(14,15,18,0) 72%); }
.js .hero__in > * { animation: rise var(--t3) var(--ease) both; animation-delay: calc(200ms + var(--i, 0) * 110ms); }
.hero__in > :nth-child(2) { --i: 1; } .hero__in > :nth-child(3) { --i: 2; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@media (max-width: 760px) {
  .hero--mid { height: auto; min-height: 430px; } .hero--short { height: auto; min-height: 300px; }
  .hero__media img { object-position: var(--focus-m, var(--focus, 50% 50%)); }
  .hero--mid .hero__in, .hero--short .hero__in { justify-content: flex-end; }
  .hero[data-tone="dark"] .hero__media::after { background: linear-gradient(180deg, rgba(14,15,18,.1) 20%, rgba(14,15,18,.5) 58%, rgba(14,15,18,.82) 100%); }
}

/* ---------- 7. Sections & scroll reveals ---------- */
.sec { padding-block: var(--sec); }
.sec--alt { background: var(--surface-alt); }
.sec--tight { padding-block: clamp(40px, calc(5 * var(--vw)), 72px); }
.sec__head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, calc(4.4 * var(--vw)), 64px); }

/* [data-reveal] rises into place once, as it enters the viewport. Variants: left | right | scale. Delay: --d. */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity var(--t3) var(--ease), transform var(--t3) var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="left"] { transform: translate3d(-20px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(20px, 0, 0); }
.js [data-reveal="scale"] { transform: scale(.985); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Images inside a revealed frame settle from a slight zoom */
.frame { overflow: hidden; border-radius: var(--r); background: var(--surface-alt); }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); transition: transform 1600ms var(--ease); }
.js [data-reveal] .frame img, .js .frame[data-reveal] img { transform: scale(1.035); }
.js [data-reveal].is-in .frame img, .js .frame[data-reveal].is-in img { transform: none; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, calc(6 * var(--vw)), 96px); align-items: center; }
.split--flip > :first-child { order: 2; }
.split .frame { aspect-ratio: 4 / 3; }
.split__body { display: grid; gap: 20px; justify-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split--flip > :first-child { order: 0; } }

.cta { position: relative; overflow: hidden; background: var(--brand); color: rgba(255,255,255,.86); }
.cta::before { content: ""; position: absolute; right: -8%; top: 50%; width: min(520px, 60%); aspect-ratio: 1; border-radius: 50%; translate: 0 -50%; background: radial-gradient(closest-side, rgba(255,255,255,.09), transparent); }
.cta__in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta__in > div { display: grid; gap: 12px; max-width: 640px; }
.cta .t-h2 { color: #fff; font-size: clamp(1.625rem, calc(2.8 * var(--vw)), 2.5rem); }

/* ---------- 8. Home ---------- */
/* Hero: pinned for one extra screen of scroll while the photo zooms into the ampoule (main.js, section 5) */
.hero--pin { display: block; height: calc(190 * var(--vh)); min-height: 0; overflow: visible; background: #eef1f3; }
.hero__stage { position: sticky; top: 0; display: flex; height: calc(100 * var(--vh)); overflow: hidden; isolation: isolate; }
.hero--pin .hero__in { will-change: opacity, transform; }
.ink-word { color: #9b9597; transition: color 450ms ease; }
.ink-word.is-lit { color: inherit; }
@media (max-width: 700px) {
  .hero--pin { height: auto; }
  .hero__stage { position: relative; height: auto; min-height: calc(78 * var(--svh)); }
}

.africa-band { position: relative; overflow: hidden; background: #fff; }
.africa-band__globe { position: absolute; top: 0; right: 0; width: 62%; height: 100%; -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 70%, transparent), linear-gradient(90deg, transparent, #000 16%); -webkit-mask-composite: source-in; mask-image: linear-gradient(transparent, #000 10%, #000 70%, transparent), linear-gradient(90deg, transparent, #000 16%); mask-composite: intersect; }
.africa-band .wrap { position: relative; display: grid; align-content: center; min-height: clamp(420px, calc(36 * var(--vw)), 540px); padding-block: clamp(56px, calc(6 * var(--vw)), 96px); }
.africa { display: grid; gap: 28px; max-width: 32rem; }
.africa__tag { font-size: clamp(1.0625rem, calc(1.4 * var(--vw)), 1.25rem); font-weight: 600; letter-spacing: -0.01em; color: var(--brand); }
.africa__body { display: grid; gap: 16px; justify-items: start; }
.africa__body p:first-child { color: var(--ink); font-weight: 500; }
@media (max-width: 860px) {
  .africa-band { display: flex; flex-direction: column; }
  .africa-band .wrap { min-height: 0; padding-bottom: 0; }
  .africa-band__globe { position: relative; order: 2; width: 100%; height: 340px; }
}

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, calc(4 * var(--vw)), 56px) clamp(20px, calc(3 * var(--vw)), 48px); }
.stat { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--ink); }
.stat__num { font-size: clamp(2.75rem, calc(5.6 * var(--vw)), 4.75rem); font-weight: 700; line-height: .95; letter-spacing: -0.045em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__label { font-size: .9375rem; line-height: 1.4; color: var(--ink-soft); max-width: 18ch; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.portfolio__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, calc(3 * var(--vw)), 40px); }
.formats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, calc(1.8 * var(--vw)), 24px); }
.format { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); background: var(--surface-alt); color: #fff; text-decoration: none; isolation: isolate; }
.format img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); transition: transform 1400ms var(--ease); }
.format::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,16,18,0) 45%, rgba(20,16,18,.55) 100%); transition: opacity var(--t2) ease; }
.format:hover img { transform: scale(1.045); }
.format__label { position: absolute; left: clamp(18px, calc(2.4 * var(--vw)), 32px); bottom: clamp(16px, calc(2.2 * var(--vw)), 28px); font-size: clamp(1.25rem, calc(2 * var(--vw)), 1.75rem); font-weight: 700; letter-spacing: -0.02em; }
.format__go { position: absolute; right: clamp(18px, calc(2.4 * var(--vw)), 32px); bottom: clamp(16px, calc(2.2 * var(--vw)), 28px); display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .875rem; font-weight: 600; transition: background-color var(--t1) ease, color var(--t1) ease; }
.format__go svg { width: 18px; height: 12px; transition: transform var(--t2) var(--ease); }
.format:hover .format__go { background: #fff; color: var(--ink); }
.format:hover .format__go svg { transform: translateX(4px); }
@media (max-width: 700px) { .formats { grid-template-columns: minmax(0, 1fr); } .format { aspect-ratio: 4 / 3; } }

.partners { padding-block: clamp(48px, calc(6 * var(--vw)), 88px); border-top: 1px solid var(--line); overflow: hidden; }
.partners__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(24px, calc(3 * var(--vw)), 40px); }
.pause { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--ink-soft); cursor: pointer; transition: border-color var(--t1) ease, color var(--t1) ease; }
.pause:hover { border-color: var(--ink-mute); color: var(--ink); }
.pause svg { width: 12px; height: 12px; }
.pause .ico-play, .pause[aria-pressed="true"] .ico-pause { display: none; }
.pause[aria-pressed="true"] .ico-play { display: block; }
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(48px, calc(6 * var(--vw)), 96px); padding-right: clamp(48px, calc(6 * var(--vw)), 96px); }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo { flex: none; display: flex; align-items: center; justify-content: center; }
.logo img { width: calc(var(--w) * var(--k, 1)); height: auto; max-width: 100%; object-fit: contain; }
.logo--gates { --w: 252px; } .logo--unitaid { --w: 142px; } .logo--usp { --w: 112px; } .logo--h4d { --w: 145px; }
.logo--axmed { --w: 139px; } .logo--amex { --w: 138px; } .logo--rhsc { --w: 186px; }
@media (max-width: 760px) { .logo { --k: .8; } }

/* ---------- 9. About ---------- */
.statement { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(0, 4fr); gap: 24px clamp(24px, calc(4 * var(--vw)), 64px); }
.statement__body { display: grid; gap: 28px; max-width: 54rem; }
.statement__lead { font-size: clamp(1.625rem, calc(2.8 * var(--vw)), 2.5rem); font-weight: 500; line-height: 1.22; letter-spacing: -0.022em; color: var(--ink); text-wrap: pretty; }
.statement__lead em { font-style: normal; color: var(--brand); }
.statement__more { display: grid; gap: 16px; max-width: 46rem; }
.statement__close { color: var(--brand); font-weight: 600; }
@media (max-width: 760px) { .statement { grid-template-columns: minmax(0, 1fr); } }

.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, calc(6 * var(--vw)), 96px); }
.mv__item { display: grid; gap: 18px; align-content: start; padding-top: 24px; border-top: 1px solid var(--ink); }
.mv__text { font-size: clamp(1.375rem, calc(2.3 * var(--vw)), 2rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); text-wrap: pretty; }
@media (max-width: 760px) { .mv { grid-template-columns: minmax(0, 1fr); } }

.values { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 3fr); gap: 32px clamp(24px, calc(4 * var(--vw)), 64px); }
.values__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.values__list li { display: grid; gap: 10px; align-content: start; padding: 24px 24px 0 0; }
.values__list li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.num { font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: var(--brand); font-variant-numeric: tabular-nums; }
.values__list h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.012em; color: var(--ink); }
@media (max-width: 1000px) { .values { grid-template-columns: minmax(0, 1fr); } .values__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } .values__list li:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .values__list { grid-template-columns: minmax(0, 1fr); } .values__list li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

.facility__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px clamp(32px, calc(6 * var(--vw)), 96px); align-items: end; margin-bottom: clamp(36px, calc(4.4 * var(--vw)), 64px); }
.facility__title { display: grid; gap: 8px; color: var(--ink); }
.facility__figure { display: flex; align-items: baseline; gap: 14px; font-size: clamp(3.5rem, calc(9.5 * var(--vw)), 8.5rem); font-weight: 700; line-height: .9; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.facility__unit { font-size: .3em; font-weight: 600; letter-spacing: -0.02em; color: var(--brand); }
.facility__line { font-size: clamp(1.375rem, calc(2.3 * var(--vw)), 2rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; max-width: 20ch; }
.facility__text strong { color: var(--ink); font-weight: 700; }
.facility .frame { aspect-ratio: 21 / 9; }
.gmp { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(0, 3fr); gap: 20px clamp(24px, calc(4 * var(--vw)), 64px); align-items: center; margin-top: clamp(32px, calc(4 * var(--vw)), 56px); }
.certs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.certs li { display: grid; place-items: center; height: 124px; padding: 16px 24px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; transition: border-color var(--t2) ease, transform var(--t2) var(--ease); }
.certs li:hover { border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); transform: translateY(-2px); }
.certs img { width: auto; max-height: 76px; object-fit: contain; }
.certs li:nth-child(2) img { max-height: 92px; }
@media (max-width: 860px) { .facility__head, .gmp { grid-template-columns: minmax(0, 1fr); } .facility .frame { aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .certs { grid-template-columns: minmax(0, 1fr); } .certs li { height: 104px; } }

.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.partner-grid .logo { flex: 0 0 calc((100% - 48px) / 4); height: 132px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; transition: border-color var(--t2) ease, transform var(--t2) var(--ease); }
.partner-grid .logo:hover { border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); transform: translateY(-2px); }
@media (max-width: 860px) { .partner-grid .logo { flex-basis: calc((100% - 16px) / 2); } }

/* ---------- 10. Products ---------- */
.range { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--hh) + 16px); }
.range__switch { position: relative; display: flex; gap: clamp(20px, calc(2.4 * var(--vw)), 32px); }
.range__tab { display: inline-flex; align-items: flex-start; gap: 6px; padding: 0 0 12px; border: 0; background: none; font-size: clamp(1.0625rem, calc(1.4 * var(--vw)), 1.25rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; color: #9b9597; cursor: pointer; transition: color var(--t2) ease; }
.range__tab:hover { color: var(--ink-soft); }
.range__tab[aria-selected="true"] { color: var(--ink); }
.range__n { margin-top: .1em; font-size: .6875rem; font-weight: 600; letter-spacing: 0; opacity: .7; font-variant-numeric: tabular-nums; }
.range__line { position: absolute; left: 0; bottom: -1px; height: 2px; width: var(--w, 0); background: var(--brand); transform: translateX(var(--x, 0)); transition: transform var(--t2) var(--ease), width var(--t2) var(--ease); }
.range__hint { margin: 0 auto 0 clamp(16px, calc(1.6 * var(--vw)), 24px); padding-bottom: 13px; font-size: .875rem; font-weight: 500; white-space: nowrap; color: var(--ink-mute); }
.range__hint.is-swapping { animation: swap var(--t2) var(--ease) both; }
@keyframes swap { from { opacity: 0; transform: translateY(3px); } }
.range__meta { padding-bottom: 13px; font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
.range__meta strong { color: var(--ink); }
@media (max-width: 560px) { .range { flex-direction: column; align-items: stretch; border-bottom: 0; } .range__switch { border-bottom: 1px solid var(--line); gap: 24px; } .range__hint { margin: 8px 0 0; padding: 0; white-space: normal; } .range__meta { padding: 0; } }

.catalogue { display: grid; grid-template-columns: minmax(190px, 220px) minmax(0, 1fr); gap: 24px clamp(24px, calc(3.4 * var(--vw)), 56px); align-items: start; margin-top: clamp(24px, calc(3.4 * var(--vw)), 48px); }
.side { position: sticky; top: calc(var(--hh) + 20px); display: grid; gap: 16px; }
.field-line { position: relative; border-bottom: 1px solid var(--line); transition: border-color var(--t1) ease; }
.field-line:focus-within { border-bottom-color: var(--brand); }
.field-line input, .field-line select { width: 100%; min-height: 44px; padding: 0 28px 0 0; border: 0; background: none; font-size: .875rem; color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer; }
.field-line input { cursor: text; }
.field-line input:focus, .field-line select:focus { outline: none; }
.field-line input::-webkit-search-cancel-button { -webkit-appearance: none; }
.field-line svg { position: absolute; right: 2px; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; color: var(--ink-mute); pointer-events: none; }
.clear { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0; border: 0; background: none; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); cursor: pointer; }
.clear svg { width: 10px; height: 10px; }
.clear:disabled { opacity: .35; cursor: default; }
.area-nav { padding-top: 12px; border-top: 1px solid var(--line); }
.area-nav a { position: relative; display: flex; align-items: center; min-height: 30px; padding-left: 14px; font-size: .8125rem; line-height: 1.3; color: var(--ink-mute); text-decoration: none; transition: color var(--t1) ease; }
.area-nav a::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--brand); transform: scale(0); transition: transform var(--t2) var(--ease); }
.area-nav a:hover { color: var(--ink); }
.area-nav a.is-active { color: var(--ink); font-weight: 600; }
.area-nav a.is-active::before { transform: scale(1); }
.jump { display: none; }
@media (max-width: 960px) {
  .catalogue { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .side .field-line:first-child { grid-column: 1 / -1; }
  .area-nav { display: none; }
  .jump { display: flex; align-items: center; gap: 12px; position: sticky; top: var(--hh); z-index: 5; margin-inline: calc(-1 * var(--gutter)); padding: 8px var(--gutter); background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
  .jump label { flex: none; font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
  .jump select { flex: 1; min-width: 0; min-height: 40px; border: 0; background: none; font-size: .875rem; font-weight: 600; color: var(--brand); }
}
@media (max-width: 560px) { .side { grid-template-columns: minmax(0, 1fr); } }

.group + .group { margin-top: clamp(48px, calc(6 * var(--vw)), 88px); }
.group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; margin-bottom: clamp(20px, calc(2.4 * var(--vw)), 32px); border-bottom: 1px solid var(--line); }
.group__head h2 { font-size: .8125rem; font-weight: 700; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.group__head h2:focus { outline: none; }
.group__count { flex: none; font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }

/* Cards: space is reserved before the image arrives; cards enter in order (main.js sets .is-in one by one) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: clamp(20px, calc(2.6 * var(--vw)), 36px) clamp(14px, calc(1.8 * var(--vw)), 24px); }
@media (min-width: 1200px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { display: grid; gap: 12px; align-content: start; }
.card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r-sm); background: var(--surface-alt); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 500ms ease, transform var(--t3) var(--ease); }
.card__media img.is-loaded { opacity: 1; }
.card:hover .card__media img { transform: scale(1.04); }
.card__name { font-size: .9375rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.008em; color: var(--ink); }
.card__name span { font-weight: 500; color: var(--ink-mute); }
.card__meta { margin-top: 2px; font-size: .8125rem; line-height: 1.4; color: var(--ink-mute); }
.card__packs { margin-top: 2px; font-size: .75rem; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.js .card, .js .bag { opacity: 0; transform: translate3d(0, 14px, 0); }
.js .card.is-in, .js .bag.is-in { opacity: 1; transform: none; transition: opacity 450ms var(--ease), transform 450ms var(--ease); }

.bag { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 32px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.bag__generic { font-size: 1.1875rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); overflow-wrap: anywhere; }
.bag__name { margin-top: 4px; font-size: .875rem; font-weight: 600; color: var(--ink-soft); }
.bag__name span { font-weight: 400; color: var(--ink-mute); }
.bag__sizes { display: flex; align-items: center; row-gap: 4px; }
.bag__sizes li { padding: 0 10px; border-left: 1px solid var(--line); font-size: .75rem; font-weight: 500; line-height: 1.2; white-space: nowrap; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.bag__sizes li:first-child { border-left: 0; } .bag__sizes li:last-child { padding-right: 0; }
@media (max-width: 1100px) { .bag__sizes { flex-wrap: wrap; justify-content: flex-end; max-width: 300px; } }
@media (max-width: 640px) { .bag { grid-template-columns: minmax(0, 1fr); } .bag__sizes { justify-content: flex-start; max-width: none; } .bag__sizes li:first-child { padding-left: 0; } .bag__generic { font-size: 1.0625rem; } }
.empty { display: grid; gap: 12px; justify-items: center; padding: 64px 16px; text-align: center; }
.empty svg { width: 36px; height: 36px; color: var(--ink-mute); }
.empty h2 { font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.gallery:focus { outline: none; }

/* ---------- 11. Careers & forms ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.value-grid li { display: grid; gap: 10px; align-content: start; padding: 24px 28px 0 0; }
.value-grid li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.value-grid h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
@media (max-width: 760px) { .value-grid { grid-template-columns: minmax(0, 1fr); } .value-grid li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; } }

.notice__lead { font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.notice { display: grid; gap: 16px; justify-items: start; width: 100%; padding: clamp(24px, calc(3 * var(--vw)), 36px); border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }

/* Forms (CV, complaint, contact) share one field style */
.apply { max-width: 760px; margin: clamp(48px, calc(6 * var(--vw)), 88px) auto 0; padding: clamp(24px, calc(4 * var(--vw)), 56px); border-radius: var(--r); background: #fff; box-shadow: 0 1px 2px rgba(24,20,22,.04), 0 24px 60px -36px rgba(24,20,22,.25); display: grid; gap: 28px; }
.apply--steps { max-width: 920px; margin-top: 0; gap: 0; padding: clamp(8px, calc(2 * var(--vw)), 24px) clamp(24px, calc(4 * var(--vw)), 56px); }
.apply__title { font-size: clamp(1.375rem, calc(2 * var(--vw)), 1.625rem); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.apply__group { display: grid; gap: 12px; }
.apply__legend, .apply__label-lg, .apply__field > label, .apply__group > legend, .field > label { font-size: 1rem; font-weight: 600; color: var(--ink); }
.apply__row .apply__field > label { font-size: .9375rem; font-weight: 500; }
.apply__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.apply__row--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.apply__row--phone { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.apply__field, .field { display: grid; gap: 8px; align-content: start; }
.apply__req { margin-left: 4px; font-size: .875rem; font-weight: 400; color: var(--ink-mute); }
.apply__hint, .hint { font-size: .875rem; color: var(--ink-mute); }
.apply input:not([type=checkbox]):not([type=file]), .apply select, .apply textarea, .form input, .form select, .form textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-alt); font-size: 1rem; color: var(--ink); transition: border-color var(--t1) ease, background-color var(--t1) ease, box-shadow var(--t1) ease; }
.apply textarea, .form textarea { min-height: 150px; resize: vertical; }
.apply select, .form select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6769' stroke-width='1.6'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.apply input:hover, .apply select:hover, .apply textarea:hover, .form input:hover, .form select:hover, .form textarea:hover { border-color: #cfc9cb; }
.apply input:focus, .apply select:focus, .apply textarea:focus, .form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(130,21,45,.1); }
.apply ::placeholder { color: #9b9597; }
.apply__select { position: relative; }
.apply__select svg { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--ink-mute); pointer-events: none; }
.apply__error, .error { min-height: 0; font-size: .8125rem; color: #b3261e; }
.apply__error:empty, .error:empty { display: none; }
.has-error input, .has-error select, .has-error textarea, .is-invalid input, .is-invalid select, .is-invalid textarea, [aria-invalid="true"] { border-color: #b3261e !important; }
.apply__drop { display: grid; justify-items: center; gap: 6px; padding: 36px 16px; border: 1.5px dashed #cfc9cb; border-radius: var(--r-sm); background: var(--surface-alt); text-align: center; cursor: pointer; transition: border-color var(--t1) ease, background-color var(--t1) ease; }
.apply__drop:hover, .apply__drop.is-over { border-color: var(--brand); background: var(--brand-tint); }
.apply__drop.has-file { border-style: solid; border-color: var(--brand); }
.apply__plus { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--brand); }
.apply__plus svg { width: 20px; height: 20px; }
.apply__drop-text { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.apply__drop-hint { font-size: .8125rem; color: var(--ink-mute); }
.apply__status, .form-status { font-size: .9375rem; color: var(--ink); }
.apply__status:empty, .form-status:empty { display: none; }
.apply__status:focus, .form-status:focus { outline: none; }
.apply__status.is-ok, .form-status.is-success { padding: 14px 16px; border-radius: var(--r-sm); background: #eef6f0; color: #1f5133; }
.form-status.is-error { color: #b3261e; }
.apply__status a, .form-status a { color: var(--brand); }
.apply__actions { display: flex; justify-content: center; }
.mstep { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px 16px; padding-block: clamp(28px, calc(3.6 * var(--vw)), 44px); border-bottom: 1px solid var(--line); }
.mstep__num { padding-top: 4px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: var(--brand); font-variant-numeric: tabular-nums; }
.mstep__body { display: grid; gap: 22px; }
.mstep__title { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.mstep__opt { margin-left: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .9375rem; font-weight: 500; color: var(--ink-soft); transition: background-color var(--t1) ease, border-color var(--t1) ease, color var(--t1) ease; }
.chip:hover span { border-color: var(--ink-mute); }
.chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 3px; }
.mform__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: clamp(20px, calc(2.6 * var(--vw)), 32px); }
.apply--steps .mform__foot { padding-bottom: clamp(16px, calc(2 * var(--vw)), 24px); }
.mform__note { font-size: .875rem; color: var(--ink-mute); }
.text-brand, .req { color: var(--brand); }
@media (max-width: 640px) { .apply__row, .apply__row--three, .apply__row--phone, .form-row { grid-template-columns: minmax(0, 1fr); } .mstep { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 12. Contact & complaint ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: clamp(32px, calc(5 * var(--vw)), 80px); align-items: start; }
.form { display: grid; gap: 20px; margin-top: 28px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact__side { display: grid; gap: 16px; position: sticky; top: calc(var(--hh) + 24px); }
.panel { display: grid; gap: 16px; justify-items: start; padding: clamp(24px, calc(3 * var(--vw)), 36px); border-radius: var(--r); background: var(--surface-alt); }
.panel--dark { background: var(--brand-ink); color: rgba(255,255,255,.82); }
.panel--dark h2 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; color: #fff; }
.dl { display: grid; gap: 20px; }
.dl dt { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.dl dd { margin-top: 4px; color: var(--ink); }
.dl a { color: var(--brand); text-decoration: none; }
.dl a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dl a.map { display: inline-grid; gap: 6px; color: var(--ink); }
.dl a.map:hover { text-decoration: none; }
.map__hint { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--brand); }
.map__hint svg { width: 16px; height: 10px; transition: transform var(--t2) var(--ease); }
.map:hover .map__hint svg { transform: translateX(3px); }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } .contact__side { position: static; } }

.subhead { padding: calc(var(--hh) + clamp(40px, calc(6 * var(--vw)), 88px)) 0 clamp(36px, calc(4.4 * var(--vw)), 64px); }
.subhead .wrap { display: grid; gap: 18px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.crumbs a { color: var(--brand); text-decoration: none; }
.js .subhead .wrap > * { animation: rise var(--t3) var(--ease) both; animation-delay: calc(80ms + var(--i, 0) * 110ms); }
.subhead .wrap > :nth-child(2) { --i: 1; } .subhead .wrap > :nth-child(3) { --i: 2; }

/* ---------- 13. Footer ---------- */
.ftr { background: var(--brand-ink); color: rgba(255,255,255,.72); padding: clamp(56px, calc(7 * var(--vw)), 96px) 0 28px; font-size: .9375rem; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, calc(4 * var(--vw)), 64px); }
.ftr__brand img { width: auto; height: 24px; }
.ftr h2 { margin-bottom: 14px; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.ftr ul { display: grid; gap: 8px; }
.ftr a { color: inherit; text-decoration: none; transition: color var(--t1) ease; }
.ftr a:hover { color: #fff; }
.ftr address { font-style: normal; margin-bottom: 10px; }
.ftr__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin-top: clamp(40px, calc(5 * var(--vw)), 72px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: .8125rem; }
.ftr__bottom .to-top { display: inline-flex; align-items: center; gap: 8px; }
.to-top svg { width: 12px; height: 12px; transition: transform var(--t2) var(--ease); }
.to-top:hover svg { transform: translateY(-3px); }
.cookie-link { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cookie-link:hover { color: #fff; }
@media (max-width: 860px) { .ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr__brand { grid-column: 1 / -1; } }

/* Full-width brand band (About: "What we stand for") */
.sec--brand { background: var(--brand); color: rgba(255,255,255,.82); }
.sec--brand .t-h2, .sec--brand h3 { color: #fff; }
.sec--brand .num { color: rgba(255,255,255,.7); }
.sec--brand .values__list { border-top-color: rgba(255,255,255,.6); }
.sec--brand .values__list li + li { border-left-color: rgba(255,255,255,.2); }
@media (max-width: 520px) { .sec--brand .values__list li + li { border-top-color: rgba(255,255,255,.2); } }

/* ---------- 14. Cookie banner ---------- */
.consent { position: fixed; left: max(16px, var(--gutter)); bottom: 16px; z-index: 90; width: min(420px, calc(100% - 32px)); display: grid; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 1px 2px rgba(24,20,22,.06), 0 18px 44px -18px rgba(24,20,22,.35); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); opacity: 0; transform: translateY(12px); transition: opacity var(--t1) ease, transform var(--t2) var(--ease); }
.consent.is-in { opacity: 1; transform: none; }
.consent[hidden] { display: none; }
.consent__text { font-size: .875rem; line-height: 1.55; color: var(--ink-soft); }
.consent__text strong { color: var(--ink); font-weight: 600; }
.consent__actions { display: flex; justify-content: flex-end; gap: 8px; }
.consent .btn { min-height: 40px; padding: 0 18px; font-size: .875rem; }
.consent .btn--quiet { background: transparent; border-color: var(--line); color: var(--ink-soft); }
.consent .btn--quiet:hover { background: var(--surface-alt); color: var(--ink); }
@media (max-width: 560px) { .consent { left: 16px; right: 16px; width: auto; bottom: 12px; } .consent .btn { flex: 1; } }

/* ---------- 15. Page transitions: a fast cross-fade where the browser supports it ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 160ms ease both; }
::view-transition-new(root) { animation: vt-in 260ms ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ---------- 16. Reduced motion: everything appears in place, instantly ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .card, .js .bag { opacity: 1 !important; transform: none !important; }
  .js [data-reveal] .frame img, .js .frame[data-reveal] img { transform: none !important; }
  .hero__media img { transform: scale(var(--scale, 1)); }
  .hero--pin { height: auto; } .hero__stage { position: relative; }
  .card__media img { opacity: 1; }
  .marquee__track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 32px; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}

/* Phones: light heroes keep the title on the photo, over a soft white scrim at the foot (as on the current site) */
@media (max-width: 760px) {
  .hero:not([data-tone="dark"]) .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 38%, rgba(255,255,255,.72) 72%, rgba(255,255,255,.92) 100%); }
  .hero--full { min-height: calc(78 * var(--svh)); }
  .hero--full .hero__in { justify-content: flex-end; }
  .hero .t-h1 { font-size: clamp(1.75rem, 7.6vw, 2.25rem); }
}
/* Home: "Made locally" section, more compact */
.sec--compact { padding-block: clamp(48px, calc(5.5 * var(--vw)), 80px); }
.split--compact { gap: clamp(28px, calc(5 * var(--vw)), 72px); }
.split--compact .frame { aspect-ratio: 16 / 9; }