/* ==========================================================================
   Gama Chemical — v2
   Deep brand navy + ochre. Geist (thin display, plain body) + Geist Mono
   for data: formulas, counts, coordinates, catalogue columns.
   ========================================================================== */

:root {
  --abyss: #061626;
  --abyss-2: #0b2136;
  --navy: #1e3a57;
  --ochre: #c9a35e;
  --ochre-hi: #e3c68d;
  --ochre-text: #8a6526;
  --fog: #eceef0;
  --paper: #f6f7f8;
  --ink: #0d1b29;
  --mute: #5a6876;
  --mute-d: #8d9eb0;
  --line-l: rgba(13, 27, 41, .14);
  --line-d: rgba(255, 255, 255, .13);

  --p-yellow: #f2c400;
  --p-orange: #ee7a1c;
  --p-lakered: #c4232f;
  --p-rubine: #a01a5c;
  --p-alfa: #2a64b8;
  --p-beta: #1a3c8c;
  --p-green: #0b7a5b;

  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(16px, 3.2vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--abyss);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--ochre); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 4px; border-radius: 3px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ochre); color: var(--ink); padding: .7rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.pad { padding-left: var(--gutter); padding-right: var(--gutter); }
.max { max-width: 1680px; margin-left: auto; margin-right: auto; }

/* Themes */
.t-dark { background: var(--abyss); color: #fff; }
.t-navy { background: var(--navy); color: #fff; }
.t-fog { background: var(--fog); color: var(--ink); }
.t-paper { background: var(--paper); color: var(--ink); }

/* Type */
.mono {
  font-family: var(--mono); font-size: .75rem; line-height: 1.4;
  letter-spacing: .06em; text-transform: uppercase; font-weight: 400;
}
.slash::before { content: "/ "; opacity: .55; }
.t-dark .mono, .t-navy .mono { color: var(--mute-d); }
.t-navy .mono { color: #a9b9c9; }
.t-fog .mono, .t-paper .mono { color: var(--mute); }

.mega {
  font-weight: 300; letter-spacing: -.045em; line-height: .92;
  font-size: clamp(3.1rem, 8.6vw, 10rem);
}
.huge {
  font-weight: 300; letter-spacing: -.04em; line-height: .98;
  font-size: clamp(2.5rem, 6vw, 6.4rem);
}
.big {
  font-weight: 300; letter-spacing: -.03em; line-height: 1.08;
  font-size: clamp(1.9rem, 3.6vw, 3.6rem);
}
.mid { font-weight: 400; letter-spacing: -.02em; line-height: 1.15; font-size: clamp(1.35rem, 2vw, 1.85rem); }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.5; max-width: 44ch; }
.t-dark .lede, .t-navy .lede { color: #b9c6d3; }
.t-fog .lede, .t-paper .lede { color: var(--mute); }
.count { font-family: var(--mono); font-size: .32em; letter-spacing: 0; vertical-align: super; color: var(--ochre); margin-left: .15em; font-weight: 400; }
sub { font-size: .7em; line-height: 0; }

/* Split-line reveal (set up by JS) */
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: block; will-change: transform; }

/* Buttons */
.pill {
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 48px; padding: 0 1.35rem; border-radius: 999px;
  font-size: .95rem; font-weight: 500; text-decoration: none; cursor: pointer;
  border: 1px solid currentColor; background: transparent;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.pill-ochre { background: var(--ochre); border-color: var(--ochre); color: var(--ink); }
.pill-ochre:hover { background: var(--ochre-hi); border-color: var(--ochre-hi); }
.pill-line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.t-fog .pill-line:hover, .t-paper .pill-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-ochre .dot { background: var(--ink); }

.ulink { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .45s var(--ease); }
.ulink:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 18px var(--gutter);
  color: #fff; transition: color .35s, transform .5s var(--ease);
  pointer-events: none;
}
.hdr > * { pointer-events: auto; }
.hdr.is-light { color: var(--ink); }
.hdr.is-hidden { transform: translateY(-120%); }
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
/* Logo always in its original colours, on a white badge so it reads on dark and light sections */
.logo { background: #fff; border-radius: 12px; padding: 7px 14px; box-shadow: 0 1px 0 rgba(13,27,41,.06); }
.logo img { height: 34px; width: auto; display: block; }
.hdr.is-light .logo { box-shadow: 0 0 0 1px rgba(13,27,41,.08); }
.navgroup {
  display: flex; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(255,255,255,.08); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid var(--line-d); list-style: none; margin: 0;
  transition: background .35s, border-color .35s;
}
.hdr.is-light .navgroup { background: rgba(255,255,255,.7); border-color: var(--line-l); }
.navgroup a {
  display: block; padding: .55rem 1.05rem; border-radius: 999px; text-decoration: none;
  font-size: .92rem; font-weight: 500; transition: background .3s;
}
.navgroup a:hover { background: rgba(255,255,255,.12); }
.hdr.is-light .navgroup a:hover { background: rgba(13,27,41,.06); }
.navgroup a[aria-current="page"] { background: #fff; color: var(--ink); }
.hdr.is-light .navgroup a[aria-current="page"] { background: var(--ink); color: #fff; }
.hdr .pill { min-height: 44px; }
.menu-btn { display: none; }

@media (max-width: 960px) {
  .navgroup, .hdr .hdr-cta { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 1.1rem;
    border-radius: 999px; border: 1px solid var(--line-d); background: rgba(255,255,255,.08);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); cursor: pointer; font-size: .92rem; font-weight: 500;
  }
  .hdr.is-light .menu-btn { border-color: var(--line-l); background: rgba(255,255,255,.7); }
  .menu-btn i { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; }
  .menu-btn i::after { content: ""; position: absolute; left: 0; top: 5px; width: 10px; height: 1.5px; background: currentColor; }
  .logo img { height: 28px; }
  .logo { padding: 6px 11px; border-radius: 10px; }
}

/* Mobile menu */
.sheet {
  position: fixed; inset: 0; z-index: 95; background: var(--abyss); color: #fff;
  display: flex; flex-direction: column; padding: 18px var(--gutter) 28px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility 0s .7s;
}
.sheet.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-io), visibility 0s; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; }
.sheet nav { margin-top: auto; }
.sheet ul { list-style: none; margin: 0; padding: 0; }
.sheet li { border-top: 1px solid var(--line-d); }
.sheet nav a { display: flex; justify-content: space-between; align-items: baseline; padding: .6rem 0; text-decoration: none; font-weight: 300; font-size: clamp(2.4rem, 11vw, 4rem); letter-spacing: -.04em; }
.sheet nav a .mono { color: var(--mute-d); }
.sheet-foot { margin-top: 2rem; display: grid; gap: .35rem; }
.sheet-foot a { text-decoration: none; font-size: 1.1rem; }

/* Page curtain (CSS animates it away even without JS) */
.curtain { position: fixed; inset: 0; z-index: 150; background: var(--navy); pointer-events: none; transform: translateY(-100%); }
.js .curtain { animation: curtain-out .9s var(--ease-io) .05s both; }
.curtain.is-in { animation: none; transform: translateY(0); transition: transform .55s var(--ease-io); }
.curtain.is-in.from-bottom { transform: translateY(0); }
@keyframes curtain-out { from { transform: translateY(0); } to { transform: translateY(-100%); } }
@media (prefers-reduced-motion: reduce) { .js .curtain { animation: none; transform: translateY(-100%); } }

/* ==========================================================================
   Home — hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: 1fr auto;
  background:
    radial-gradient(60% 70% at 72% 42%, rgba(42, 86, 128, .55), transparent 70%),
    radial-gradient(40% 50% at 85% 85%, rgba(201, 163, 94, .12), transparent 70%),
    var(--abyss);
}
.hero-canvas { position: absolute; inset: 0 0 0 38%; cursor: grab; touch-action: pan-y; }
.hero-canvas:active { cursor: grabbing; }
.hero-canvas canvas { display: block; width: 100% !important; height: 100% !important; }
.hero-grid { width: 100%; position: relative; z-index: 2; pointer-events: none; display: grid; grid-template-columns: 1fr 1fr; align-items: end; padding-top: 140px; padding-bottom: clamp(2rem, 5vh, 3.5rem); }
.hero-grid a, .hero-grid button { pointer-events: auto; }
.hero h1 { grid-column: 1 / -1; margin: 1.6rem 0 2.2rem; }
.hero-foot { grid-column: 1 / 2; display: grid; gap: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.fig {
  grid-column: 2 / 3; justify-self: end; align-self: end; text-align: right;
  display: grid; gap: .3rem; pointer-events: none;
}
.fig b { font-family: var(--mono); font-weight: 400; font-size: 1.05rem; color: #fff; letter-spacing: .02em; }
.fig .mono { color: var(--mute-d); }

.ticker { position: relative; z-index: 2; border-top: 1px solid var(--line-d); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 0; padding: .9rem 0; animation: tick 60s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: .7rem; padding-right: 2.4rem; color: var(--mute-d); }
.ticker span b { color: #fff; font-weight: 400; border: 1px solid var(--line-d); border-radius: 4px; padding: .15rem .45rem; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

@media (max-width: 960px) {
  .hero-canvas { inset: 64px 0 auto 0; height: 50svh; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 56svh; }
  .hero h1 { margin: 1rem 0 1.5rem; }
  .fig { display: none; }
  .hero-foot { grid-column: 1; }
}

/* ==========================================================================
   Statement — words fill on scroll
   ========================================================================== */
.statement { padding-top: clamp(6rem, 16vw, 14rem); padding-bottom: clamp(5rem, 12vw, 11rem); }
.statement-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 2rem; }
.fill { font-weight: 300; letter-spacing: -.03em; line-height: 1.12; font-size: clamp(1.8rem, 3.7vw, 3.9rem); max-width: 26ch; text-wrap: pretty; }
.fill .w { opacity: .16; transition: opacity .2s linear; }
.no-motion .fill .w, .no-js .fill .w { opacity: 1; }
.statement-meta { margin-top: 3.5rem; display: flex; gap: 2.5rem; flex-wrap: wrap; }
@media (max-width: 860px) { .statement-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Expanding media
   ========================================================================== */
.expand { position: relative; height: 210vh; }
.expand-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.expand-media { position: absolute; inset: 0; clip-path: inset(18% 22% 18% 22% round 18px); will-change: clip-path; }
.expand-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); will-change: transform; }
.expand-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,22,38,.1) 30%, rgba(6,22,38,.82)); }
.expand-copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(2rem, 6vh, 4rem); color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: end; opacity: 0; }
.no-motion .expand { height: auto; }
.no-motion .expand-sticky { position: relative; height: 92svh; }
.no-motion .expand-media { clip-path: none; }
.no-motion .expand-media img { transform: none; }
.no-motion .expand-copy, .no-js .expand-copy { opacity: 1; }
.expand-copy p { color: #c9d4de; max-width: 40ch; justify-self: end; }
@media (max-width: 860px) { .expand-copy { grid-template-columns: 1fr; } .expand-copy p { justify-self: start; } }

/* ==========================================================================
   Families index (stripe-register style)
   ========================================================================== */
.families { padding-top: clamp(6rem, 12vw, 10rem); padding-bottom: clamp(6rem, 12vw, 10rem); }
.families-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(3rem, 6vw, 5rem); }
.reg-head, .fam-row { display: grid; grid-template-columns: 4.5rem 1.6fr 1fr 6rem 3rem; gap: 1.5rem; align-items: center; }
.reg-head { padding: 0 0 .9rem; border-bottom: 1px solid var(--line-d); }
.fam { border-bottom: 1px solid var(--line-d); }
.fam-row {
  width: 100%; text-align: left; background: none; border: 0; padding: 1.5rem 0; cursor: pointer; color: inherit;
}
.fam-row .idx { font-family: var(--mono); font-size: .8rem; color: var(--mute-d); }
.fam-row .name { font-weight: 300; letter-spacing: -.03em; font-size: clamp(1.6rem, 3vw, 3rem); line-height: 1.05; transition: transform .5s var(--ease), color .3s; }
.fam-row .use { color: var(--mute-d); font-size: .95rem; }
.fam-row .n { font-family: var(--mono); font-size: .85rem; color: var(--mute-d); }
.fam-row .plus { justify-self: end; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid var(--line-d); position: relative; transition: background .3s, transform .5s var(--ease); }
.fam-row .plus::before, .fam-row .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.fam-row .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.fam-row:hover .name { transform: translateX(.6rem); color: var(--ochre-hi); }
.fam-row[aria-expanded="true"] .plus { background: var(--ochre); border-color: var(--ochre); color: var(--ink); }
.fam-row[aria-expanded="true"] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.fam-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.fam-body > div { overflow: hidden; }
.fam.is-open .fam-body { grid-template-rows: 1fr; }
.fam-inner { display: grid; grid-template-columns: 4.5rem 1.6fr 1fr; gap: 1.5rem; padding: 0 0 2.2rem; }
.fam-inner p { grid-column: 2; color: #b9c6d3; max-width: 48ch; }
.fam-inner .chips { grid-column: 2 / 4; display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.chip-s { font-size: .88rem; padding: .4rem .8rem; border: 1px solid var(--line-d); border-radius: 999px; color: #dfe6ec; text-decoration: none; transition: border-color .3s, background .3s; }
.chip-s:hover { border-color: var(--ochre); background: rgba(201,163,94,.1); }
.fam-inner .more { grid-column: 2; margin-top: 1.4rem; justify-self: start; }
.preview {
  position: fixed; left: 0; top: 0; z-index: 60; width: 300px; aspect-ratio: 4 / 3; pointer-events: none;
  border-radius: 10px; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.85);
  transition: opacity .3s, transform .4s var(--ease);
}
.preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.preview img.is-on { opacity: 1; }
@media (max-width: 860px) {
  .reg-head { display: none; }
  .fam-row { grid-template-columns: 2.2rem 1fr 2.4rem; gap: .9rem; }
  .fam-row .use, .fam-row .n { display: none; }
  .fam-inner { grid-template-columns: 1fr; padding-left: 3.1rem; }
  .fam-inner p, .fam-inner .chips, .fam-inner .more { grid-column: 1; }
}
@media (hover: none) { .preview { display: none; } }

/* ==========================================================================
   Pigment shade stack (CSS sticky stacking)
   ========================================================================== */
.shades-intro { padding-top: clamp(6rem, 12vw, 10rem); padding-bottom: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; }
@media (max-width: 860px) { .shades-intro { grid-template-columns: 1fr; } }
.shade {
  position: sticky; top: 0; height: 100svh; background: var(--c); color: #fff; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto; padding: 96px var(--gutter) clamp(1.5rem, 4vh, 2.5rem);
}
.shade.is-light { color: var(--ink); }
.shade .mono { color: inherit !important; opacity: 1; }
.shade-top { display: flex; justify-content: space-between; gap: 1rem; }
.shade h3 { align-self: center; font-weight: 300; letter-spacing: -.055em; line-height: .85; font-size: clamp(4rem, 17vw, 19rem); }
.shade-foot { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 1rem; align-items: end; border-top: 1px solid currentColor; padding-top: 1rem; }
.shade-foot a { text-decoration: none; font-weight: 500; }
.shade-strip { display: flex; gap: 3px; }
.shade-strip i { width: 22px; height: 30px; border-radius: 2px; background: var(--s); outline: 1px solid rgba(255,255,255,.35); }
.shade-strip i.on { height: 42px; outline: 2px solid currentColor; }
@media (max-width: 700px) {
  .shade-foot { grid-template-columns: 1fr auto; }
  .shade-foot .hide-s { display: none; }
  .shade-strip i { width: 14px; height: 22px; }
  .shade-strip i.on { height: 30px; }
}

/* ==========================================================================
   Process
   ========================================================================== */
.process { padding-top: clamp(6rem, 12vw, 10rem); padding-bottom: clamp(6rem, 12vw, 10rem); }
.process-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(3rem, 7vw, 6rem); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.steps li { border-top: 1px solid var(--line-l); padding: 1.4rem 1.6rem 0 0; position: relative; }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--ink); transition: width 1.2s var(--ease); }
.steps.is-in li::before { width: 100%; }
.steps.is-in li:nth-child(2)::before { transition-delay: .15s; }
.steps.is-in li:nth-child(3)::before { transition-delay: .3s; }
.steps.is-in li:nth-child(4)::before { transition-delay: .45s; }
.steps .num { font-weight: 300; font-size: clamp(3rem, 5vw, 5.4rem); letter-spacing: -.05em; line-height: 1; display: block; margin-bottom: 2.5rem; color: var(--ink); }
.steps h3 { font-weight: 500; font-size: 1.15rem; margin-bottom: .5rem; letter-spacing: -.01em; }
.steps p { color: var(--mute); font-size: .98rem; max-width: 30ch; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 3rem; } .process-head { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } .steps .num { margin-bottom: 1rem; } }

/* ==========================================================================
   Location
   ========================================================================== */
.where { padding-top: clamp(6rem, 12vw, 10rem); padding-bottom: clamp(6rem, 12vw, 10rem); }
.where-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(3rem, 7vw, 7rem); }
.coords { font-family: var(--mono); font-weight: 300; letter-spacing: -.04em; font-size: clamp(2.4rem, 6.4vw, 6.6rem); line-height: .95; color: #fff; margin: 1.5rem 0 2rem; }
.coords span { color: var(--ochre); }
.clock { display: flex; gap: 1rem; align-items: center; }
.clock b { font-family: var(--mono); font-weight: 400; font-size: 1.05rem; color: #fff; }
.clock i { width: 8px; height: 8px; border-radius: 50%; background: #3ccf8e; box-shadow: 0 0 0 4px rgba(60,207,142,.18); }
.clock i.off { background: var(--mute-d); box-shadow: none; }
.addr { border-top: 1px solid var(--line-d); padding: 1.6rem 0; }
.addr:last-child { border-bottom: 1px solid var(--line-d); }
.addr h3 { font-weight: 400; font-size: 1.3rem; letter-spacing: -.01em; margin: .6rem 0 .6rem; }
.addr address { font-style: normal; color: #b9c6d3; line-height: 1.6; }
.addr a { display: inline-block; margin-top: .9rem; font-size: .92rem; }
@media (max-width: 860px) { .where-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA + footer
   ========================================================================== */
.cta { padding-top: clamp(6rem, 14vw, 12rem); padding-bottom: clamp(4rem, 8vw, 7rem); text-align: left; }
.cta-link { display: inline-block; text-decoration: none; margin-top: 1.5rem; }
.cta-link .mega { display: inline-block; transition: color .4s; }
.cta-link:hover .mega { color: var(--ochre-text); }
.cta-link .arrow { display: inline-block; transition: transform .6s var(--ease); }
.cta-link:hover .arrow { transform: translate(.15em, -.15em); }
.cta-lines { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line-l); padding-top: 1.6rem; }
.cta-lines a { text-decoration: none; font-size: clamp(1.1rem, 1.6vw, 1.45rem); }

.ftr { padding-top: clamp(4rem, 8vw, 6rem); padding-bottom: 0; overflow: hidden; }
.ftr-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.ftr h2 { margin-bottom: 1rem; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.ftr a { text-decoration: none; color: #dfe6ec; }
.ftr a:hover { color: var(--ochre-hi); }
.ftr address { font-style: normal; color: #b9c6d3; line-height: 1.6; font-size: .95rem; }
.ftr-blurb { color: #b9c6d3; max-width: 30ch; }
.ftr-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 4rem; padding: 1.2rem 0; border-top: 1px solid var(--line-d); }
.ftr-base a, .ftr-base span { color: var(--mute-d); }
.wordmark {
  font-weight: 300; letter-spacing: -.07em; line-height: .74; color: #fff;
  font-size: 34vw; margin: 3rem 0 -0.04em -0.04em; white-space: nowrap; user-select: none;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.06)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@media (max-width: 960px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .ftr-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.phead { padding-top: clamp(150px, 22vw, 260px); padding-bottom: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.phead-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: end; margin-top: 1.6rem; }
.phead .lede { justify-self: end; }
@media (max-width: 860px) { .phead-grid { grid-template-columns: 1fr; } .phead .lede { justify-self: start; } }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* Catalogue */
.cat { padding-top: 0; padding-bottom: clamp(5rem, 10vw, 8rem); }
.cat-bar {
  position: sticky; top: 0; z-index: 20; background: rgba(246,247,248,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-l); padding-top: 88px; padding-bottom: 1rem;
}
.cat-tools { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: 1rem 1.5rem; align-items: center; }
.search { position: relative; }
.search input {
  width: 100%; min-height: 46px; border-radius: 999px; border: 1px solid var(--line-l); background: #fff;
  padding: 0 1.1rem 0 2.6rem; font: inherit; font-size: .95rem; color: var(--ink);
}
.search input:focus { outline: 2px solid var(--ochre); outline-offset: 0; border-color: var(--ink); }
.search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--mute); }
.filters { display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.filters::-webkit-scrollbar { display: none; }
.filters button {
  flex: none; min-height: 40px; padding: 0 .95rem; border-radius: 999px; border: 1px solid var(--line-l); background: transparent; cursor: pointer;
  font-size: .9rem; white-space: nowrap; transition: background .25s, color .25s, border-color .25s;
}
.filters button span { font-family: var(--mono); font-size: .75rem; color: var(--mute); margin-left: .35rem; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters button[aria-pressed="true"] span { color: var(--ochre-hi); }
.cat-status { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: .9rem; }
.cat-desc { margin: 2.4rem 0 1rem; max-width: 60ch; color: var(--mute); min-height: 1.6em; }

.reg { width: 100%; border-collapse: collapse; }
.reg thead th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); padding: 1rem 0 .7rem; border-bottom: 1px solid var(--ink); }
.reg thead th::before { content: "/ "; opacity: .55; }
.reg thead th.no-slash::before { content: none; }
.reg td { padding: 1.05rem 1rem 1.05rem 0; border-bottom: 1px solid var(--line-l); vertical-align: baseline; }
.reg .c-no { font-family: var(--mono); font-size: .8rem; color: var(--mute); width: 4.5rem; }
.reg .c-name { font-size: clamp(1.05rem, 1.5vw, 1.35rem); letter-spacing: -.015em; font-weight: 400; }
.reg .c-fam { color: var(--mute); font-size: .92rem; }
.reg .c-f { font-family: var(--mono); font-size: .9rem; color: var(--navy); white-space: nowrap; }
.reg .c-act { text-align: right; padding-right: 0; width: 8rem; }
.reg .c-act a { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 500; text-decoration: none; padding: .45rem .85rem; border-radius: 999px; border: 1px solid transparent; transition: border-color .25s, background .25s; }
.reg tr:hover .c-act a { border-color: var(--ink); }
.reg .c-act a:hover { background: var(--ink); color: #fff; }
.reg tbody tr { transition: background .2s; }
.reg tbody tr:hover { background: rgba(255,255,255,.9); }
.reg .sw { display: inline-block; width: .8em; height: .8em; border-radius: 2px; background: var(--c); margin-right: .55rem; vertical-align: -.05em; }
.empty { padding: 4rem 0; text-align: center; color: var(--mute); }
.empty button { margin-top: 1rem; }
@media (max-width: 760px) {
  .cat-tools { grid-template-columns: 1fr; }
  .reg thead { display: none; }
  .reg tr { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-l); }
  .reg td { border: 0; padding: 0; }
  .reg .c-no { display: none; }
  .reg .c-name { grid-column: 1; }
  .reg .c-act { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: auto; }
  .reg .c-fam, .reg .c-f { grid-column: 1; font-size: .85rem; }
  .reg .c-f:empty { display: none; }
}

/* Generic content blocks */
.block { padding-top: clamp(5rem, 10vw, 9rem); padding-bottom: clamp(5rem, 10vw, 9rem); }
.split { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem clamp(2rem, 6vw, 6rem); }
.split > .mono { padding-top: .6rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.prose p { font-size: clamp(1.05rem, 1.3vw, 1.2rem); max-width: 58ch; }
.prose p + p { margin-top: 1.1em; }
.t-fog .prose p, .t-paper .prose p { color: #2c3a48; }
.t-dark .prose p { color: #c3cfda; }

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-l); }
.rows li { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: baseline; padding: 1.3rem 0; border-bottom: 1px solid var(--line-l); }
.rows li .big { font-size: clamp(1.5rem, 2.8vw, 2.7rem); }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.tile { position: relative; }
.tile .img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; margin-bottom: 1rem; background: var(--navy); }
.tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); mix-blend-mode: luminosity; opacity: .85; transition: filter .6s var(--ease), opacity .6s, transform 1s var(--ease); }
.tile:hover img { filter: none; mix-blend-mode: normal; opacity: 1; transform: scale(1.04); }
.tile h3 { font-weight: 400; font-size: 1.35rem; letter-spacing: -.02em; margin-bottom: .4rem; }
.tile p { color: var(--mute); font-size: .95rem; }
@media (max-width: 960px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } .tile .img { aspect-ratio: 4 / 3; } }

/* Contact */
.contact { padding-top: 0; padding-bottom: clamp(5rem, 10vw, 8rem); }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(3rem, 8vw, 8rem); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.form .full { grid-column: 1 / -1; }
.fld { position: relative; padding-top: 1.6rem; border-bottom: 1px solid var(--line-d); transition: border-color .3s; }
.fld:focus-within { border-color: var(--ochre); }
.fld label { position: absolute; top: 2.55rem; left: 0; font-size: clamp(1.15rem, 1.8vw, 1.6rem); font-weight: 300; color: var(--mute-d); pointer-events: none; transition: top .35s var(--ease), font-size .35s var(--ease), color .3s; letter-spacing: -.01em; }
.fld input, .fld textarea {
  width: 100%; background: transparent; border: 0; outline: 0; color: #fff; padding: .9rem 0 .9rem;
  font: inherit; font-weight: 300; font-size: clamp(1.15rem, 1.8vw, 1.6rem); letter-spacing: -.01em;
}
.fld textarea { min-height: 10rem; resize: vertical; line-height: 1.35; }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label,
.fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label { top: .4rem; font-size: .75rem; color: var(--ochre-hi); font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.fld input::placeholder, .fld textarea::placeholder { color: transparent; }
.fld .opt { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; margin-top: 2.5rem; }
.form-foot p { color: var(--mute-d); font-size: .9rem; max-width: 34ch; }
.direct a { display: block; text-decoration: none; font-weight: 300; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -.02em; padding: .15rem 0; }
.direct a:hover { color: var(--ochre-hi); }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Hide the browser scrollbar; the page still scrolls by wheel, touch and keys */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* Keep the label on the formulation photo readable over the image */
.expand-copy .mono { color: #e3c68d; text-shadow: 0 1px 12px rgba(6,22,38,.6); }
@media (max-width: 860px) {
  .expand-media::after { background: linear-gradient(180deg, rgba(6,22,38,.1) 15%, rgba(6,22,38,.9) 70%); }
}

/* Hero molecule chooser */
.mol-tabs { display: none; gap: .35rem; justify-content: flex-end; flex-wrap: wrap; margin: .5rem 0 .6rem; }
.fig.is-ready .mol-tabs { display: flex; }
.mol-tabs button {
  position: relative; overflow: hidden; cursor: pointer; pointer-events: auto; white-space: nowrap; flex-shrink: 0;
  font: 400 .74rem/1 var(--mono); letter-spacing: .02em; color: var(--mute-d);
  background: rgba(6, 22, 38, .35); border: 1px solid var(--line-d); border-radius: 999px; padding: .6rem .85rem;
  transition: color .25s, border-color .25s, background-color .25s;
}
.mol-tabs button:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.mol-tabs button[aria-pressed="true"] { color: #fff; border-color: rgba(227, 198, 141, .55); background: rgba(201, 163, 94, .1); }
.mol-tabs button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--ochre); }
.fig-link { color: var(--mute-d); pointer-events: auto; text-decoration: none; transition: color .25s; }
.fig-link:hover { color: var(--ochre-hi); }
@media (max-width: 960px) {
  .hero-grid { padding-top: calc(56svh + 2.6rem); }
  .fig.is-ready { display: block; position: absolute; top: calc(56svh - 1.8rem); left: var(--gutter); right: var(--gutter); }
  .fig.is-ready > :not(.mol-tabs) { display: none; }
  .fig.is-ready .mol-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0; }
  .mol-tabs::-webkit-scrollbar { display: none; }
}

/* ==========================================================================
   Common questions (home)
   ========================================================================== */
.faq { padding-top: clamp(5rem, 11vw, 10rem); padding-bottom: clamp(5rem, 11vw, 10rem); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-list { border-top: 1px solid rgba(13, 27, 41, .14); }
.faq-item { border-bottom: 1px solid rgba(13, 27, 41, .14); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.5rem 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-size: clamp(1.1rem, 1.6vw, 1.45rem); font-weight: 400; letter-spacing: -.015em; line-height: 1.3; }
.faq-icon { position: relative; flex: none; width: 2.2rem; height: 2.2rem; border: 1px solid rgba(13, 27, 41, .2); border-radius: 50%; transition: background-color .25s, border-color .25s, transform .35s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: .8rem; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s; }
.faq-item[open] .faq-icon { background: var(--ochre); border-color: var(--ochre); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item summary:hover .faq-icon { border-color: var(--ink); }
.faq-a { padding: 0 3.5rem 1.8rem 0; }
.faq-a p { max-width: 60ch; color: #3d4d5c; line-height: 1.6; }
.faq-a a { color: var(--ochre-text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-a { padding-right: 0; } }

/* 404 */
.nf { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(5rem, 10vw, 8rem); }
.nf-links { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ==========================================================================
   Featured product: Lasamide
   ========================================================================== */
.spot { padding-top: clamp(5rem, 10vw, 9rem); padding-bottom: clamp(5rem, 10vw, 9rem); }
.spot-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: end; }
.spot-tag { color: var(--ochre-text) !important; }
.spot h2 { margin: 1.2rem 0 1.6rem; }
.spot .lede { max-width: 46ch; }
.spot-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.spec { border-top: 1px solid var(--ink); }
.spec > div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid rgba(13, 27, 41, .12); }
.spec dd { color: var(--ink); font-size: 1.05rem; }
@media (max-width: 860px) {
  .spot-grid { grid-template-columns: 1fr; }
  .spec > div { grid-template-columns: 1fr; gap: .25rem; }
}

/* Featured row in the catalogue */
tr.is-featured td { background: rgba(201, 163, 94, .13); }
tr.is-featured .c-name { font-weight: 500; }
.feat { display: inline-block; margin-left: .6rem; vertical-align: middle; font: 500 .62rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--ochre); border-radius: 999px; padding: .32rem .55rem; }

/* Industry panels reuse the sticky .shade stack */
.ind .ind-mid { align-self: center; display: grid; gap: clamp(1rem, 2.4vh, 1.8rem); }
.ind h3 { font-size: clamp(3.2rem, 12.5vw, 15rem); }
.ind .ind-mid p { max-width: 44ch; font-size: clamp(1rem, 1.5vw, 1.35rem); line-height: 1.45; letter-spacing: -.01em; }
.ind .shade-foot { grid-template-columns: repeat(3, auto); }
@media (max-width: 700px) { .ind .shade-foot { grid-template-columns: 1fr auto; } }
.tiles { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } }

/* Mobile call button in the header */
.hdr-call { display: none; pointer-events: auto; }
@media (max-width: 960px) {
  .hdr-call {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; margin-left: auto;
    border-radius: 999px; background: var(--ochre); color: var(--ink); font-size: .92rem; font-weight: 500; text-decoration: none;
  }
  .hdr-call + .menu-btn { margin-left: -.5rem; }
}

/* About: product family tiles link to the catalogue */
.tile a.img { display: block; }
.tile h3 a { color: inherit; text-decoration: none; }
.tile h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tile h3 .mono { font-size: .7rem; vertical-align: middle; margin-left: .3rem; }

/* Pharmacopoeia grades under solvent names in the catalogue */
.reg .grades { display: block; margin-top: .3rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--mute); }

/* About tiles: the product images are a matched 4:3 set, so show them whole and in colour */
.tile .img { aspect-ratio: 4 / 3; background: #dfe4e9; }
.tile img { filter: none; mix-blend-mode: normal; opacity: 1; }
.tile:hover img { filter: none; }
@media (max-width: 520px) { .tile .img { aspect-ratio: 4 / 3; } }

/* Formulation image: <picture> fills the frame (portrait version on phones) */
.expand-media picture { display: block; width: 100%; height: 100%; }

@media (max-width: 700px) { .expand-media { clip-path: inset(5% 9% 36% 9% round 16px); } .expand-media img { transform: scale(1.08); } }

/* Second featured product (Furosemide) under Lasamide */
.spot-next { margin-top: clamp(4rem, 8vw, 7rem); padding-top: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid rgba(13, 27, 41, .14); }

/* Product pages (Lasamide, Furosemide) */
.pp-about .lede + .lede { margin-top: 1rem; }
.pp-about { margin-top: 1.2rem; max-width: 52ch; }
.aka { list-style: none; margin-top: 1.2rem; display: grid; gap: .55rem; }
.aka li { font-size: clamp(1.05rem, 1.6vw, 1.35rem); letter-spacing: -.01em; color: var(--ink); padding-bottom: .55rem; border-bottom: 1px solid rgba(13, 27, 41, .1); }
.pp-img { border-radius: 12px; overflow: hidden; background: #dfe4e9; }
.pp-img img { width: 100%; height: auto; display: block; }
.pp-rel { margin-top: .5rem; color: var(--mute); font-size: .95rem; }
.reg .pp-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(13, 27, 41, .25); text-underline-offset: 4px; }
.reg .pp-link:hover { text-decoration-color: var(--ochre); }
.aka { padding: 0; }
