/* HABEX — type */
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* HABEX — tokens, taken from the logo */
:root {
  --bg: #f3f6f9;
  --surface: #e4ecf2;
  --field-cyan: #d7f2f4;
  --ink: #0b1533;
  --muted: #46506b;
  --accent: #0047d6;
  --accent-ink: #ffffff;
  --navy: #0a1f5c;
  --on-navy: #ffffff;
  --on-navy-muted: #b9c4e4;
  --cyan: #00c2d1;
  --sky: #1eb4f5;

  --font: "Switzer", system-ui, sans-serif;
  /* five steps: small, body, lead, head, display */
  --step-small: 0.9375rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
  --step-display: clamp(2.75rem, 0.9rem + 5.8vw, 6.75rem);

  --m: clamp(20px, 3.9vw, 56px);
  --gap: clamp(120px, 14vw, 200px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--cyan); color: var(--ink); }

/* The helix stage sits behind the page; positioned content paints after it */
#helix {
  position: fixed; inset: 0;
  width: 100vw; height: 100svh;
  z-index: 0; pointer-events: none;
}
main, .foot { position: relative; }

/* Buttons and links: one shape, round */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 0;
  font: 500 var(--step-body)/1 var(--font);
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--navy); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--accent); }
.btn-paper { background: #fff; color: var(--ink); }
.btn-paper:hover { background: var(--ink); color: #fff; }
.btn-small { min-height: 44px; padding: 0 20px; font-size: var(--step-small); }
.btn-block { width: 100%; }

.link {
  font-weight: 500; text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 5px;
  text-decoration-color: var(--cyan);
  transition: text-decoration-color .25s, color .25s;
}
.link:hover { color: var(--accent); text-decoration-color: var(--accent); }

.h-section { font-size: var(--step-head); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; }
.h-big { font-size: var(--step-display); font-weight: 500; line-height: .98; letter-spacing: -0.045em; }

/* Bar */
.bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;   /* above the hero, which would otherwise take its clicks */
  display: flex; align-items: center; gap: 32px;
  padding: 24px var(--m);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 34px; height: 37px; mix-blend-mode: multiply; }
.brand-word { width: 120px; height: 26px; mix-blend-mode: multiply; }
.bar-links { display: flex; gap: 28px; background: var(--bg); padding: 12px 22px; border-radius: 999px; }
.bar-links a { text-decoration: none; font-weight: 500; font-size: var(--step-small); position: relative; }
.bar-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.bar-links a:hover::after { transform: scaleX(1); }

/* Hero */
.hero {
  min-height: 100svh;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  align-content: end;
  padding: 120px var(--m) 40px;
}
.hero-copy { grid-column: 1 / span 9; padding-bottom: clamp(32px, 6vh, 72px); }
.hero-title { font-size: var(--step-display); font-weight: 500; line-height: .96; letter-spacing: -0.05em; }
.hero-title .w { display: inline-block; }
.hero-lead { margin-top: 36px; max-width: 32ch; font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.02em; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.hero-foot { grid-column: 1 / -1; font-size: var(--step-small); color: var(--muted); }
.hero-fallback { display: none; }
.no-webgl .hero-fallback {
  display: block; position: absolute; right: 4vw; top: 12vh;
  width: min(42vw, 520px); height: auto; mix-blend-mode: multiply;
}

/* Intro: text across the left two-thirds; the helix holds the right */
.intro {
  position: relative;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px;
  padding: var(--gap) var(--m) calc(var(--gap) * .8);
}
.intro-title { grid-column: 1 / span 7; }
.intro-first { grid-column: 1 / span 6; font-size: var(--step-lead); font-weight: 500; line-height: 1.35; letter-spacing: -0.02em; }
.intro-cols { grid-column: 1 / span 8; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 24px; }
.intro-h { font-size: var(--step-body); font-weight: 700; margin-bottom: 10px; }
.intro-col p { color: var(--muted); }
.float { position: absolute; mix-blend-mode: multiply; pointer-events: none; will-change: transform; }
.float-tablet { width: clamp(140px, 14vw, 220px); right: 40%; bottom: 4%; }

/* Showcase: two fields */
.showcase { display: grid; grid-template-columns: 1fr 1fr; }
.panel {
  position: relative; overflow: hidden;
  min-height: 92svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 40px var(--m);
}
.panel-a { background: var(--surface); }
.panel-b { background: var(--field-cyan); }
.panel-title { position: absolute; top: 48px; left: var(--m); max-width: 9ch; z-index: 1; }
.panel-obj {
  position: absolute; left: 50%; top: 12%;
  width: 120%; max-width: none; height: auto;
  transform: translateX(-50%);
  mix-blend-mode: multiply;
  will-change: transform;
}
.panel-b .panel-obj { top: 8%; width: 124%; }
.panel-row { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.panel-name { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; }
.panel-fact { color: var(--muted); }
.panel-acts { display: flex; gap: 10px; }

/* Finder */
.finder { position: relative; background: var(--bg); padding: var(--gap) var(--m) var(--gap); }
.finder-head { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.finder-head .h-big { grid-column: 1 / span 7; }
.float-softgel { position: relative; grid-column: 8 / span 2; width: 100%; align-self: center; }
.finder-lead { grid-column: 10 / span 3; font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.02em; padding-bottom: 8px; }
.finder-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 64px 0 48px; }
.finder-tabs[hidden] { display: none; }
.finder-tabs button {
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--surface); color: var(--ink);
  font: 500 var(--step-small)/1 var(--font); cursor: pointer;
  transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.finder-tabs button:hover { transform: translateY(-2px); background: var(--field-cyan); }
.finder-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.finder-body { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-top: 56px; align-items: start; }
.js .finder-body { margin-top: 0; }
.finder-fig { grid-column: 1 / span 5; position: sticky; top: 24px; }
.fig-stack { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.fig-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js .fig-stack img { opacity: 0; transition: opacity 1.6s ease, transform 6s ease; transform: scale(1.06); }
.js .fig-stack img.on { opacity: 1; transform: scale(1); }
.fig-cap { margin-top: 14px; font-size: var(--step-small); color: var(--muted); }
.js .fig-cap span { display: none; }
.js .fig-cap span.on { display: inline; }
.fig-cap span + span::before { content: " · "; }
.js .fig-cap span + span::before { content: none; }
.finder-lists { grid-column: 7 / span 6; }
.cat + .cat { margin-top: 96px; }
.js .cat + .cat { margin-top: 0; }
.js .cat { display: none; }
.js .cat.on { display: block; }
.cat-name {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  font-size: var(--step-head); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05;
  margin-bottom: 32px;
}
.cat-count { font-size: var(--step-body); font-weight: 400; letter-spacing: -0.01em; color: var(--muted); white-space: nowrap; }

.item + .item { margin-top: 10px; }
.item summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 168px 1fr 24px; align-items: center; gap: 24px;
  padding: 16px 20px 16px 8px; border-radius: 4px;
  transition: background-color .25s;
}
.item summary::-webkit-details-marker { display: none; }
.item summary:hover, .item[open] summary { background: var(--surface); }
.item summary img { width: 168px; height: 112px; object-fit: cover; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.item summary:hover img { transform: scale(1.05) rotate(-1.5deg); }
.item-text { display: grid; gap: 4px; }
.item-name { font-weight: 700; font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.15; }
.item-use { color: var(--muted); }
.item-more { padding: 20px 20px 28px 200px; display: grid; gap: 14px; max-width: 72ch; }
.item-more .tag { color: var(--accent); font-weight: 500; }
.item-more .link { justify-self: start; }

.chev { position: relative; width: 14px; height: 14px; justify-self: end; }
.chev::before, .chev::after {
  content: ""; position: absolute; top: 6px; width: 9px; height: 2px; background: currentColor;
  transition: transform .35s var(--ease);
}
.chev::before { left: 0; transform: rotate(45deg); }
.chev::after { right: 0; transform: rotate(-45deg); }
details[open] > summary .chev::before { transform: rotate(-45deg); }
details[open] > summary .chev::after { transform: rotate(45deg); }

/* How it is made */
.made { background: var(--navy); color: var(--on-navy); padding: 20vh var(--m) 18vh; }
.made-row {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  align-items: first baseline; padding: .3em 0;
  font-size: var(--step-display);
  transition: color .3s;
}
.made-name { grid-column: 1 / span 8; font-size: inherit; font-weight: 500; line-height: 1; letter-spacing: -0.045em; }
.made-head .made-name { color: var(--on-navy-muted); grid-column: 1 / -1; }
.made-row p { grid-column: 9 / span 4; font-size: var(--step-body); line-height: 1.45; color: var(--on-navy); letter-spacing: -0.01em; }
.made-list:hover .made-row:not(.made-head) { color: var(--on-navy-muted); }
.made-list:hover .made-row:not(.made-head):hover { color: var(--cyan); }
.made-list:hover .made-row p { color: var(--on-navy); }
.made-film { margin-top: 16vh; }
.film-frame { overflow: hidden; }
.film-frame video { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; background: #13285f; }
.made-film figcaption { margin-top: 14px; font-size: var(--step-small); color: var(--on-navy-muted); }

/* Ingredients band */
.band { background: var(--bg); padding-bottom: 24px; }
.band-strip { background: var(--cyan); overflow: hidden; height: 34vh; min-height: 220px; display: flex; align-items: center; }
.band-track {
  display: flex; align-items: center; gap: .45em; white-space: nowrap;
  font-size: var(--step-display); font-weight: 500; letter-spacing: -0.045em; line-height: 1; color: var(--ink);
  animation: drift 60s linear infinite; will-change: transform;
}
.band-track i { width: .3em; height: .3em; border-radius: 50%; background: var(--navy); flex: none; }
@keyframes drift { to { transform: translateX(-50%); } }
.band-note { padding: 64px var(--m) 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: baseline; }
.band-note .h-section { grid-column: 1 / span 6; }
.band-note p { grid-column: 7 / span 6; font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.02em; }

/* Questions */
.faq {
  background: var(--bg);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  padding: var(--gap) var(--m) 80px;
}
.faq-col { grid-column: 1 / span 5; align-self: center; }
.faq-facts { margin: 32px 0 48px; display: grid; gap: 6px; }
.faq-facts a { text-decoration: none; }
.faq-facts a:hover { color: var(--accent); }
.faq-list { display: grid; gap: 28px; }
.q summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 44px; font-size: var(--step-body); font-weight: 500; letter-spacing: -0.015em;
  transition: color .25s;
}
.q summary::-webkit-details-marker { display: none; }
.q summary:hover { color: var(--accent); }
.q p { margin-top: 10px; color: var(--muted); max-width: 46ch; }
.faq-acts { margin-top: 48px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.faq-pics { grid-column: 7 / span 6; position: relative; }
.faq-tall { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.faq-small {
  position: absolute; left: -40px; bottom: -40px;
  width: 34%; aspect-ratio: 1; object-fit: cover;
  border: 8px solid var(--bg);
}

/* Visit */
.visit { position: relative; min-height: 100svh; overflow: hidden; margin-top: 120px; }
.visit-photo {
  position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover;
  filter: saturate(1.15) contrast(1.06) brightness(1.04); will-change: transform;
}
.visit-card {
  position: absolute; top: 60px; right: var(--m);
  width: 400px; padding: 32px; border-radius: 6px;
  background: #fff; display: grid; gap: 10px;
}
.visit-title { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 8px; }
.visit-card address { font-style: normal; }
.visit-line a { text-decoration: none; }
.visit-line a:hover { color: var(--accent); }
.visit-map { justify-self: start; margin: 6px 0 18px; }

/* Footer: the helix lies down and the name returns at full width */
.foot { padding: 120px var(--m) 32px; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.foot-msg { font-size: var(--step-head); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; font-weight: 500; }
.foot-links a:hover { color: var(--accent); }
.foot-stage { height: clamp(240px, 36vh, 380px); margin-top: 24px; }
.foot-word { width: 100%; height: auto; margin: 0 0 40px; mix-blend-mode: multiply; }
.foot-small { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: var(--step-small); color: var(--muted); }

/* Tablet */
@media (max-width: 1024px) {
  .intro-cols { grid-column: 1 / span 9; grid-template-columns: 1fr 1fr; }
  .finder-head .h-big { grid-column: 1 / span 8; }
  .float-softgel { grid-column: 9 / span 4; width: 60%; justify-self: end; }
  .finder-lead { grid-column: 1 / span 8; margin-top: 20px; }
  .finder-fig { grid-column: 1 / span 4; }
  .finder-lists { grid-column: 5 / span 8; }
  .item summary { grid-template-columns: 120px 1fr 20px; gap: 18px; }
  .item summary img { width: 120px; height: 80px; }
  .item-more { padding-left: 20px; }
  .faq-col { grid-column: 1 / span 6; }
  .faq-pics { grid-column: 8 / span 5; }
  .visit-card { width: 360px; }
}

/* Phone: its own composition */
@media (max-width: 720px) {
  .bar { padding: 18px var(--m); gap: 16px; }
  .bar-links { display: none; }
  .menu-btn:not([hidden]) { display: inline-flex; align-items: center; }
  .bar-cta { display: none; }
  .brand-word { width: 96px; height: 21px; }
  .hero { padding-top: 96px; padding-bottom: 28px; }
  .hero-copy { grid-column: 1 / -1; padding-bottom: 24px; }
  .hero-title { font-size: clamp(2.5rem, 11vw, 3.5rem); }
  .hero-lead { margin-top: 20px; }
  .hero-actions { margin-top: 24px; gap: 20px; }

  .intro { display: block; padding: 96px var(--m) 72px; }
  .intro-first { margin-top: 24px; width: 86%; }
  .intro-cols { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; width: 86%; }
  .float-tablet { width: 120px; right: var(--m); bottom: 24px; }

  .showcase { grid-template-columns: 1fr; }
  .panel { min-height: 78svh; padding: 24px var(--m); }
  .panel-title { top: 28px; }
  .panel-obj, .panel-b .panel-obj { width: 150%; top: 22%; }
  .panel-acts { width: 100%; }
  .panel-acts .btn { flex: 1; }

  .finder { padding: 96px var(--m); }
  .finder-head { display: block; }
  .float-softgel { position: absolute; width: 88px; right: 12px; top: -56px; }
  .finder-lead { margin-top: 16px; }
  .finder-tabs { margin: 32px 0 32px; gap: 8px; }
  .finder-tabs button { min-height: 44px; padding: 0 16px; }
  .finder-body { display: flex; flex-direction: column-reverse; gap: 40px; }
  .finder-fig { position: relative; top: 0; }
  .fig-stack { aspect-ratio: 16 / 10; }
  .item summary { grid-template-columns: 72px 1fr 18px; gap: 14px; padding: 12px 10px 12px 0; }
  .item summary img { width: 72px; height: 48px; }
  .item-name { font-size: var(--step-body); }
  .item-use { font-size: var(--step-small); }
  .item-more { padding: 12px 8px 20px 0; }

  .made { padding: 96px var(--m); }
  .made-row { display: block; font-size: 11vw; padding: 0 0 28px; }
  .made-row p { margin-top: 8px; padding-left: var(--m); }
  .film-frame video { aspect-ratio: 4 / 5; }

  .band-strip { height: 22vh; min-height: 150px; }
  .band-track { font-size: 15vw; animation-duration: 45s; }
  .band-note { display: block; padding-top: 32px; }
  .band-note p { margin-top: 14px; }

  .faq { display: flex; flex-direction: column-reverse; padding-top: 96px; }
  .faq-pics { margin: 0 0 72px; }
  .faq-tall { aspect-ratio: 4 / 5; }
  .faq-small { left: auto; right: 0; bottom: -40px; width: 38%; }
  .faq-acts .btn { width: 100%; }

  .visit { min-height: auto; margin-top: 72px; padding-bottom: 32px; }
  .visit-photo { position: relative; inset: auto; height: 70svh; width: 100%; }
  .visit-card { position: relative; top: auto; right: auto; width: auto; margin: -80px var(--m) 0; }
  .visit-card .btn { min-height: 56px; }

  .foot { padding-top: 80px; }
  .foot-stage { height: 160px; }
}

.intro-more { display: inline-block; margin-top: 18px; }
.finder-all { margin-top: 40px; }

/* ================= Inner pages ================= */
.bar-links a[aria-current="page"]::after { transform: scaleX(1); }
.hero-page { min-height: 88svh; }

/* About: story */
.story {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 32px;
  padding: var(--gap) var(--m) calc(var(--gap) * .6); background: var(--bg);
}
.story-title { grid-column: 1 / span 5; }
.story-text { grid-column: 7 / span 6; display: grid; gap: 22px; }
.story-text p { color: var(--muted); }
.story-text .story-first { color: var(--ink); font-size: var(--step-lead); font-weight: 500; line-height: 1.35; letter-spacing: -0.02em; }

/* About: wellness at the core, photographs at uneven sizes */
.core {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  padding: calc(var(--gap) * .6) var(--m) var(--gap); background: var(--bg);
}
.core-text { grid-column: 1 / span 4; display: grid; gap: 20px; align-content: start; padding-top: 6vh; }
.core-text p { color: var(--muted); }
.core-text .core-lead { color: var(--ink); font-size: var(--step-lead); font-weight: 500; line-height: 1.35; letter-spacing: -0.02em; }
.core-pics { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(7, 1fr); grid-template-rows: auto auto; gap: 24px; align-items: start; }
.core-pics img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.core-a { grid-column: 1 / span 4; grid-row: 1 / span 2; }
.core-b { grid-column: 5 / span 3; margin-top: 18vh; }
.core-c { grid-column: 5 / span 2; }
.core-pics figcaption { grid-column: 1 / -1; font-size: var(--step-small); color: var(--muted); }

/* About: mission and vision, two fields */
.mv { display: grid; grid-template-columns: 1fr 1fr; }
.mv-half { background: var(--navy); color: var(--on-navy); padding: 18vh var(--m) 16vh; display: grid; gap: 28px; align-content: start; min-height: 70svh; }
.mv-half p { font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.02em; max-width: 28ch; }
.mv-b { background: var(--accent); }

/* About: quality */
.quality { padding: var(--gap) var(--m); background: var(--bg); }
.quality-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.quality-head .h-big { grid-column: 1 / span 7; }
.quality-lead { grid-column: 9 / span 4; font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.02em; }
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 96px; }
.certs li { background: var(--surface); padding: 32px; display: grid; gap: 14px; align-content: start; min-height: 260px; }
.cert-name { font-size: var(--step-display); font-weight: 500; letter-spacing: -0.05em; line-height: 1; color: var(--navy); }
.quality-film { margin-top: 24px; }
.quality-film figcaption { color: var(--muted); }

/* Products */
.area-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; max-width: 760px; }
.area-jump a, .area-bar a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--surface); text-decoration: none; font-weight: 500; font-size: var(--step-small);
  transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.area-jump a:hover, .area-bar a:hover { background: var(--field-cyan); transform: translateY(-2px); }
.area-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.area-bar a { flex: none; }
.area-bar a.on { background: var(--field-cyan); color: var(--navy); }

.area { padding: 120px var(--m) 40px; background: var(--bg); scroll-margin-top: 140px; }
.area-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; margin-bottom: 64px; }
.area-text { grid-column: 1 / span 6; display: grid; gap: 18px; align-content: center; }
.area-intro { font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.02em; max-width: 30ch; }
.area-count { color: var(--muted); }
.area-fig { grid-column: 8 / span 5; }
.area-fig img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.area-fig figcaption { margin-top: 12px; font-size: var(--step-small); color: var(--muted); }
.area-flip .area-text { grid-column: 7 / span 6; grid-row: 1; }
.area-flip .area-fig { grid-column: 1 / span 5; grid-row: 1; }

.area-list { display: grid; gap: 24px; }
.prod {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start;
  scroll-margin-top: 80px;
}
.prod-pic { grid-column: 1 / span 5; background: var(--surface); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; position: sticky; top: 80px; }
.prod-pic img { width: 112%; max-width: none; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.prod:hover .prod-pic img { transform: scale(1.04) rotate(-1deg); }
.prod-info { grid-column: 7 / span 6; display: grid; gap: 12px; padding: 24px 0 72px; }
.prod-name { font-size: var(--step-head); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
.prod-use { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.02em; }
.prod-form { color: var(--muted); }
.prod-comp { margin: 16px 0 8px; display: grid; gap: 2px; background: var(--surface); padding: 18px 22px; }
.prod-comp div { display: flex; justify-content: space-between; gap: 20px; padding: 6px 0; }
.prod-comp dt { min-width: 0; }
.prod-comp dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prod-desc { max-width: 60ch; }
.prod-tag { color: var(--accent); font-weight: 500; }
.prod-acts { margin-top: 8px; }

.next { padding: var(--gap) var(--m); background: var(--field-cyan); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 28px; align-items: end; }
.next .h-big { grid-column: 1 / span 7; }
.next-lead { grid-column: 9 / span 4; font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.02em; }
.next-acts { grid-column: 1 / -1; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }

/* Contact */
.hero-contact { margin-top: 36px; display: grid; gap: 4px; }
.hero-line { font-size: var(--step-head); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; user-select: all; }
.reach { padding: var(--gap) var(--m) calc(var(--gap) * .6); background: var(--bg); }
.reach-title { margin-bottom: 48px; }
.reach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reach-item { background: var(--surface); padding: 32px; display: grid; gap: 14px; align-content: start; min-height: 240px; }
.reach-pic { width: calc(100% + 64px); max-width: none; margin: -32px -32px 8px; aspect-ratio: 16 / 9; object-fit: cover; }
.reach-item h3 { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; }
.reach-item address { font-style: normal; }
.reach-value { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; user-select: all; overflow-wrap: anywhere; }
.reach-acts { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.copy {
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--bg); color: var(--ink); font: 500 var(--step-small)/1 var(--font);
  transition: background-color .25s, color .25s;
}
.copy:hover { background: var(--ink); color: #fff; }

.enquiry {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  padding: calc(var(--gap) * .6) var(--m) var(--gap); background: var(--bg); scroll-margin-top: 20px;
}
.enquiry-side { grid-column: 1 / span 5; display: grid; gap: 24px; align-content: start; }
.enquiry-lead { font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.02em; }
.enquiry-pic { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 16px; }
.form { grid-column: 7 / span 6; display: grid; gap: 22px; align-content: start; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 2px solid transparent; border-radius: 6px;
  background: var(--surface); color: var(--ink); font: 400 var(--step-body)/1.4 var(--font);
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field-note { color: var(--muted); font-size: var(--step-small); margin-top: -10px; }
.form-error { color: #b42318; font-weight: 500; }
.form .btn[type="submit"] { justify-self: start; }
.form-done { background: var(--field-cyan); padding: 28px; display: grid; gap: 14px; }
.form-done h3 { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; }
.form-preview { margin: 0; white-space: pre-wrap; font: 400 var(--step-small)/1.5 var(--font); background: #fff; padding: 16px; user-select: all; overflow-wrap: anywhere; }

/* Products: the tools that sit over the range */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tools {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5;
  display: grid; gap: 12px; padding: 14px var(--m); background: var(--bg);
}
.tools-row { display: flex; gap: 12px; align-items: center; }
.search { flex: 1 1 auto; min-width: 0; }
.search input, .pick select {
  width: 100%; min-height: 52px; padding: 0 22px; border: 2px solid transparent; border-radius: 999px;
  background: var(--surface); color: var(--ink); font: 400 var(--step-body)/1 var(--font);
  transition: border-color .2s, background-color .2s;
}
.search input::placeholder { color: var(--muted); }
.search input:focus, .pick select:focus { outline: none; border-color: var(--accent); background: #fff; }
.pick { flex: none; width: 190px; }
.pick select { appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b1533' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 20px center; }
.tools-count { flex: none; min-width: 9.5em; text-align: right; color: var(--muted); font-size: var(--step-small); font-variant-numeric: tabular-nums; }
.area-bar a[aria-pressed="true"] { background: var(--accent); color: #fff; }
.no-match { padding: calc(var(--gap) * .6) var(--m); display: grid; gap: 20px; justify-items: start; max-width: 760px; }
.no-match p { font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.02em; color: var(--muted); }

/* An ingredient is a way into every product that has it */
.ing {
  all: unset; cursor: pointer; display: inline; text-decoration: underline; text-decoration-color: transparent;
  text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color .2s, color .2s;
}
.ing:hover { color: var(--accent); text-decoration-color: var(--cyan); }
.ing:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.ing-n { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--field-cyan); font-size: .8em; color: var(--navy); }
.prod-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.btn[aria-pressed="true"] { background: var(--cyan); color: var(--ink); }
.prod-pic img { will-change: transform; }

/* Compare */
.tray {
  position: fixed; left: 50%; bottom: 20px; z-index: 15; transform: translateX(-50%);
  width: min(760px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 24px;
  background: var(--ink); color: #fff; border-radius: 999px;
}
.tray-names { flex: 1; min-width: 0; font-size: var(--step-small); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tray-acts { display: flex; align-items: center; gap: 6px; flex: none; }
.tray .btn:disabled { background: #2a3556; color: var(--on-navy-muted); cursor: default; transform: none; }
.tray-clear { all: unset; cursor: pointer; padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; font-weight: 500; font-size: var(--step-small); color: var(--on-navy-muted); }
.tray-clear:hover { color: #fff; }
.compare {
  width: min(1180px, calc(100vw - 32px)); max-height: calc(100svh - 48px); padding: 0; border: 0; border-radius: 20px;
  background: var(--bg); color: var(--ink); overflow: hidden;
}
.compare[open] { display: flex; flex-direction: column; animation: compare-in .55s var(--ease); }
@keyframes compare-in { from { opacity: 0; transform: translateY(40px); } }
.compare::backdrop { background: rgba(11, 21, 51, .62); }
.compare-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 32px 8px; }
.compare-note { padding: 0 32px 20px; color: var(--muted); font-size: var(--step-small); }
.compare-scroll { overflow: auto; padding: 0 32px 32px; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0 4px; font-size: var(--step-small); }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: 12px 16px; }
.compare-table tbody th { width: 22%; min-width: 150px; font-weight: 500; background: var(--surface); border-radius: 10px 0 0 10px; }
.compare-table tbody td { background: #fff; min-width: 170px; }
.compare-table tbody td:last-child { border-radius: 0 10px 10px 0; }
.compare-table thead th { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; padding-bottom: 16px; }
.compare-table thead img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface); mix-blend-mode: multiply; border-radius: 12px; margin-bottom: 12px; }
.compare-table td.none { color: var(--muted); }
.compare-table tr.shared th, .compare-table tr.shared td { background: var(--field-cyan); color: var(--navy); font-weight: 500; }
.compare-table tr.acts th, .compare-table tr.acts td { background: transparent; }

/* Menu on small screens */
.menu-btn {
  all: unset; display: none; cursor: pointer; min-height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--surface); font-weight: 500; font-size: var(--step-small);
}
.menu-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.menu {
  position: fixed; inset: 0; z-index: 20; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 96px var(--m) 40px;
}
.menu a:not(.btn) { font-size: var(--step-display); font-weight: 500; letter-spacing: -0.045em; line-height: 1.05; text-decoration: none; }
.menu a[aria-current="page"] { color: var(--accent); }
.menu .btn { margin-top: 32px; align-self: flex-start; }
.menu-open { overflow: hidden; }
.menu-open .bar { position: fixed; z-index: 30; }

/* Products: each area names its products, so the head is never an empty block */
.area-prods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.area-prods a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--surface); text-decoration: none; font-weight: 500; font-size: var(--step-small);
  transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.area-prods a:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.prod { scroll-margin-top: 150px; }

/* Home: talk to the team */
.talk {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 48px; align-items: end;
  margin-top: 120px; padding: var(--gap) var(--m); background: var(--navy); color: var(--on-navy);
}
.talk-text { grid-column: 1 / span 7; display: grid; gap: 28px; }
.talk-lead { font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.02em; max-width: 30ch; color: var(--on-navy); }
.talk-acts { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.talk .link:hover { color: var(--cyan); text-decoration-color: var(--cyan); }
.talk-lines { grid-column: 9 / span 4; display: grid; gap: 28px; }
.talk-lines li { display: grid; gap: 6px; }
.talk-lines span, .hero-reach span, .desk-list dt { font-size: var(--step-small); color: var(--muted); }
.talk-lines span { color: var(--on-navy-muted); }
.talk-lines a { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; text-decoration: none; overflow-wrap: anywhere; }
.talk-lines a:hover { color: var(--cyan); }

/* Contact */
.hero-reach { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px 48px; }
.hero-reach li { display: grid; gap: 4px; }
.hero-reach a { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; text-decoration: none; }
.hero-reach a:hover { color: var(--accent); }
.desk {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start;
  padding: 120px var(--m); background: var(--bg); scroll-margin-top: 0;
}
.desk-info {
  grid-column: 1 / span 5;
  display: grid; gap: 36px; padding: 48px 40px; background: var(--navy); color: var(--on-navy); border-radius: 20px;
}
.desk-list { margin: 0; display: grid; gap: 28px; }
.desk-list > div { display: grid; gap: 8px; }
.desk-list dt { color: var(--on-navy-muted); }
.desk-list dd { margin: 0; display: grid; gap: 12px; }
.desk-value, .desk-list address { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; font-style: normal; line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
.desk-value:hover { color: var(--cyan); }
.desk-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.desk-acts a, .desk-acts .copy {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font-weight: 500; font-size: var(--step-small);
  transition: background-color .25s, color .25s;
}
.desk-acts a:hover, .desk-acts .copy:hover { background: #fff; color: var(--ink); }
.desk-note { color: var(--on-navy-muted); max-width: 40ch; }
.desk-form { grid-column: 7 / span 6; background: #fff; padding: 48px; border-radius: 20px; }
.form-lead { color: var(--muted); margin-top: -8px; }
.req { font-weight: 400; color: var(--muted); font-size: var(--step-small); margin-left: 6px; }
.consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.who { padding: var(--gap) var(--m) calc(var(--gap) * .5); background: var(--field-cyan); }
.who-title { margin-bottom: 72px; }
.who-list { display: grid; gap: 24px; }
.who-row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; background: var(--bg); border-radius: 20px; overflow: hidden; }
.who-row img { grid-column: 1 / span 4; width: 100%; height: 100%; min-height: 260px; max-height: 340px; object-fit: cover; mix-blend-mode: multiply; background: var(--surface); }
.who-text { grid-column: 6 / span 6; display: grid; gap: 14px; justify-items: start; padding: 40px 0; }
.who-text h3 { font-size: var(--step-head); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
.who-text p { max-width: 46ch; }
.contact-faq .faq-tall { aspect-ratio: 4 / 5; }
.contact-faq .faq-list { margin-top: 40px; }
.hero-contact-page .hero-actions { margin-top: 36px; }

@media (max-width: 1024px) {
  .story-title, .story-text { grid-column: 1 / -1; }
  .reach-grid { gap: 32px; }
  .core-text { grid-column: 1 / span 5; }
  .core-pics { grid-column: 7 / span 6; }
  .certs { grid-template-columns: 1fr; }
  .certs li { min-height: 0; }
  .quality-head .h-big, .quality-lead { grid-column: 1 / -1; }
  .quality-lead { margin-top: 20px; }
  .prod-pic { grid-column: 1 / span 5; }
  .prod-info { grid-column: 6 / span 7; }
  .reach-grid { grid-template-columns: 1fr; }
  .tools { position: static; }
  .prod-pic { top: 24px; }
  .desk-info, .desk-form { grid-column: 1 / -1; }
  .desk-info { margin-bottom: 24px; }
  .talk-text, .talk-lines { grid-column: 1 / -1; }
  .talk-lines { grid-template-columns: 1fr 1fr; }
  .area-text, .area-flip .area-text { grid-column: 1 / span 7; grid-row: auto; }
  .area-fig, .area-flip .area-fig { grid-column: 8 / span 5; grid-row: auto; }
  .who-row img { grid-column: 1 / span 5; }
  .who-text { grid-column: 6 / span 7; padding-right: 32px; }
  .reach-item { min-height: 0; }
  .enquiry-side, .form { grid-column: 1 / -1; }
  .enquiry-pic { display: none; }
  .form { margin-top: 40px; }
  .next .h-big, .next-lead { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .hero-page { min-height: 92svh; }
  .story, .core, .quality, .reach, .enquiry, .next { display: block; padding: 96px var(--m); }
  .story-text { margin-top: 28px; }
  .core-text { padding-top: 0; }
  .core-pics { margin-top: 40px; grid-template-columns: repeat(7, 1fr); gap: 12px; }
  .core-b { margin-top: 10vh; }
  .mv { grid-template-columns: 1fr; }
  .mv-half { min-height: 0; padding: 88px var(--m); }
  .certs { margin-top: 48px; }
  .area { padding: 80px var(--m) 24px; }
  .area-head { display: block; margin-bottom: 40px; }
  .area-fig { margin-top: 28px; }
  .area-fig img { aspect-ratio: 16 / 10; }
  .prod { display: block; }
  .prod-pic { position: relative; top: 0; }
  .prod-info { padding: 20px 0 56px; }
  .prod-comp { padding: 14px 16px; }
  .field-row { grid-template-columns: 1fr; }
  .form .btn[type="submit"] { width: 100%; }
  .next-acts { margin-top: 28px; }
  .next-lead { margin-top: 16px; }
  .hero-line { font-size: 1.625rem; }
  .tools-row { flex-wrap: wrap; }
  .search { flex-basis: 100%; }
  .pick { flex: 1; width: auto; }
  .area-bar { gap: 6px; }
  .area-bar a { min-height: 40px; padding: 0 14px; }
  .tools-count { min-width: 0; }
  .area-prods a { min-height: 40px; }
  .desk { display: block; padding: 72px var(--m); }
  .desk-info { padding: 32px 24px; border-radius: 16px; }
  .desk-form { padding: 28px 20px; border-radius: 16px; }
  .hero-reach { display: none; }   /* the panel right below lists them; here they pushed the title under the helix */
  .talk { display: block; padding: 96px var(--m); margin-top: 72px; }
  .talk-lines { display: grid; grid-template-columns: 1fr; margin-top: 48px; }
  .who { padding: 96px var(--m) 72px; }
  .who-title { margin-bottom: 40px; }
  .who-row { display: block; border-radius: 16px; }
  .who-row img { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .who-text { padding: 24px 20px 28px; }
  .contact-faq .faq-pics { display: none; }
  .tray { border-radius: 24px; flex-wrap: wrap; padding: 14px 14px 14px 20px; }
  .tray-names { flex-basis: 100%; white-space: normal; }
  .compare-head, .compare-note, .compare-scroll { padding-left: 18px; padding-right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js .fig-stack img { transform: none; }
}
