/* Purple Packaging — site styles (the object, large).
   One ground, one ink, one accent. Two typefaces: DM Serif Display for display, General Sans for text.
   Plain CSS, mobile first. Rules and tokens are documented in DESIGN.md. */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/dm-serif-display-latin-400.woff2?v=20261104a') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/dm-serif-display-latin-ext-400.woff2?v=20261104a') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'General Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/general-sans-400.woff2?v=20261104a') format('woff2'); }
@font-face { font-family: 'General Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/general-sans-500.woff2?v=20261104a') format('woff2'); }
@font-face { font-family: 'General Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/general-sans-600.woff2?v=20261104a') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  --ground: #EEECE9;        /* bone */
  --ground-2: #E2DFDA;      /* one step down */
  --ink: #19131E;
  --muted: #5E5666;
  --purple: #4A1A6E;        /* brand, the accent */
  --stage: #371252;         /* brand, the dark field */
  --stage-2: #462060;       /* one step up on the dark field */
  --lilac: #E8DDF2;
  --on-stage: #F3ECF8;
  --on-stage-muted: #CDBFD9;
  --white: #FFFFFF;

  --display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --text: 'General Sans', 'Helvetica Neue', Arial, sans-serif;

  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);   /* 14–15 */
  --step-body: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);      /* 17–19 */
  --step-lead: clamp(1.25rem, 1.1rem + 0.8vw, 1.75rem);        /* 20–28 */
  --step-head: clamp(2.25rem, 1.3rem + 2.8vw, 3.75rem);        /* 36–60 */
  --step-figure: clamp(2rem, 1rem + 2.4vw, 3.25rem);           /* 32–52 */
  --step-display: clamp(3.75rem, 10vw, 11rem);                 /* 60–176 */

  --gutter: clamp(1rem, 2.2vw, 2rem);
  --sec: clamp(4rem, 7vw, 7rem);
  --r: 1.25rem;
  --bar-h: 4.5rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--step-body)/1.55 var(--text); -webkit-font-smoothing: antialiased; font-feature-settings: 'ss01' 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--lilac); color: var(--ink); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 0.25rem; }
.on-dark :focus-visible, .dark :focus-visible { outline-color: var(--lilac); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: 0.5rem; left: 0.5rem; z-index: 100; padding: 0.75rem 1rem; background: var(--purple); color: var(--white); border-radius: 999px; font-weight: 500; transform: translateY(-200%); }
.skip-link:focus { transform: none; outline-color: var(--ink); }

/* ---------- Type ---------- */
.display, h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; line-height: 1; text-wrap: balance; }
h2 { font-size: var(--step-head); letter-spacing: -0.025em; }
h3 { font-size: var(--step-lead); line-height: 1.1; letter-spacing: -0.01em; }
.lead { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.01em; }
.small { font-size: var(--step-small); }
.muted { color: var(--muted); }
.dark .muted { color: var(--on-stage-muted); }
p + p { margin-top: 0.75em; }
p, dd, li { text-wrap: pretty; }
.measure { max-width: 56ch; }
.link { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--purple); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.2em; }
.link:hover { text-decoration-thickness: 2.5px; }
.dark .link { color: var(--lilac); }
strong { font-weight: 600; }

/* ---------- Frame ---------- */
.wrap { padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); }
.dark { background: var(--stage); color: var(--on-stage); }
.tone { background: var(--ground-2); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3rem; padding: 0.6rem 1.5rem; border: 0; border-radius: 999px; background: var(--purple); color: var(--white); font-size: var(--step-body); font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform 160ms var(--ease), background-color 160ms var(--ease); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { background: #3C1259; }
.btn:active { transform: scale(0.97); }
.btn--light { background: var(--lilac); color: var(--ink); }
.btn--light:hover { background: #DCCDEA; }
.btn--quiet { background: var(--ground-2); color: var(--ink); }
.btn--quiet:hover { background: #DBD5CB; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
[data-slot="nav"] { position: sticky; top: 0; z-index: 40; min-height: var(--bar-h); }
.bar { background: var(--ground); }
.bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--bar-h); padding-inline: var(--gutter); }
.bar__logo { display: inline-flex; align-items: center; min-height: 2.75rem; }
.bar__logo img { width: auto; height: 2.25rem; }
.bar__nav { display: none; }
.bar__cta { display: none; }
.bar__toggle { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0.4rem 0.4rem 0.4rem 1rem; border: 0; border-radius: 999px; background: var(--ground-2); font-weight: 500; cursor: pointer; }
.bar__bars { position: relative; width: 1.6rem; height: 1.6rem; }
.bar__bars::before, .bar__bars::after { content: ''; position: absolute; left: 0.2rem; right: 0.2rem; height: 2px; background: currentColor; top: 0.75rem; transform: translateY(-0.25rem); transition: transform 200ms var(--ease); }
.bar__bars::after { transform: translateY(0.25rem); }
.bar[data-open="true"] .bar__bars::before { transform: rotate(45deg); }
.bar[data-open="true"] .bar__bars::after { transform: rotate(-45deg); }
.bar__menu { display: none; padding: 0.5rem var(--gutter) 1.5rem; max-height: calc(100svh - var(--bar-h)); overflow-y: auto; overscroll-behavior: contain; }
.bar[data-open="true"] .bar__menu { display: block; }
.bar__menu ul { display: grid; gap: 0.25rem; }
.bar__menu a:not(.btn) { display: block; padding: 0.75rem 0; font-size: var(--step-lead); font-weight: 500; text-decoration: none; }
.bar__menu a[aria-current="page"] { color: var(--purple); }
.bar__menu .btn { margin-top: 0.75rem; }
.bar__note { margin-top: 1rem; color: var(--muted); font-size: var(--step-small); }
@media (min-width: 64rem) {
  .bar__toggle, .bar__menu { display: none !important; }
  .bar__nav { display: block; }
  .bar__nav ul { display: flex; gap: clamp(1rem, 2vw, 2rem); white-space: nowrap; }
  .bar__nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 500; text-decoration: none; }
  .bar__nav a:hover { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 2px; }
  .bar__nav a[aria-current="page"] { color: var(--purple); text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 2px; }
  .bar__cta { display: inline-flex; }
}

/* ---------- Hero: headline, then the object, cropped by the foot of the screen ---------- */
.hero { position: relative; overflow: hidden; background: var(--ground); }
.hero__text { padding-top: clamp(1rem, 2.5vw, 2rem); }
.hero__title { font-size: 13vw; line-height: 0.92; letter-spacing: -0.035em; max-width: 100%; }
.hero__row { display: grid; gap: 1.5rem; margin-top: clamp(1rem, 2.5vw, 2rem); }
.hero__lead { max-width: 46ch; font-size: max(1.125rem, var(--step-body)); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }
.hero__actions .btn { flex: 1 1 100%; }
.hero__four { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 0.75rem; margin-top: clamp(1.25rem, 3vw, 2.25rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero__four a { display: block; color: inherit; text-decoration: none; }
.hero__frame { display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--ground-2); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; transition: scale 700ms var(--ease); }
.hero__four a:hover .hero__frame img { scale: 1.04; }
.hero__name { display: block; margin-top: 0.7rem; font-family: var(--display); font-size: var(--step-lead); line-height: 1.1; letter-spacing: -0.01em; }
.hero__four a:hover .hero__name { text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 2px; }
.hero__sub { display: block; margin-top: 0.15rem; color: var(--muted); font-size: var(--step-small); }
@media (min-width: 40rem) {
  .hero__title { font-size: var(--step-display); }
  .hero__actions .btn { flex: 0 0 auto; }
}
@media (min-width: 64rem) {
  .hero__row { grid-template-columns: minmax(0, 46ch) auto; justify-content: space-between; align-items: start; }
  .hero__four { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

/* ---------- Explorer: four materials, one object, its facts pinned to it ---------- */
.explore__head { display: grid; gap: 1.5rem; }
.explore__head p { max-width: 58ch; }
.explore__head h2 { font-size: var(--step-head); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 2.5rem; }
.tab { display: flex; flex-direction: column; justify-content: flex-end; gap: 0.2rem; min-height: 5.75rem; padding: 0.9rem 1rem; border: 0; border-radius: var(--r); background: var(--stage-2); color: var(--on-stage); text-align: left; cursor: pointer; transition: background-color 180ms var(--ease), color 180ms var(--ease), transform 160ms var(--ease); }
.tab:hover { background: #52286E; }
.tab:active { transform: scale(0.98); }
.tab__name { font-family: var(--display); font-size: var(--step-lead); line-height: 1; letter-spacing: -0.01em; }
.tab__sub { font-size: var(--step-small); color: var(--on-stage-muted); }
.tab[aria-selected="true"] { background: var(--lilac); color: var(--ink); }
.tab[aria-selected="true"] .tab__sub { color: var(--muted); }
.panel { display: grid; gap: 2rem; margin-top: 1.5rem; }
.panel[hidden] { display: none; }
.panel__photo { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--stage-2); }
.panel__photo img { width: 100%; height: 100%; object-fit: cover; }
/* Pins sit on the 4:3 photograph on phones (--xs/--ys when the shape moves them) and the 4:5 one from 64rem. */
.pin { position: absolute; left: var(--xs, var(--x)); top: var(--ys, var(--y)); width: 1.5rem; height: 1.5rem; margin: -0.75rem 0 0 -0.75rem; border-radius: 50%; background: rgb(243 236 248 / 0.9); transition: transform 180ms var(--ease), background-color 180ms var(--ease); }
.pin::after { content: ''; position: absolute; inset: 0.45rem; border-radius: 50%; background: var(--purple); }
.pin.is-hot, .pin:hover { transform: scale(1.35); background: var(--lilac); }
.panel__facts > h3 { font-size: var(--step-head); letter-spacing: -0.025em; }
.panel__facts > p { margin-top: 1rem; max-width: 52ch; }
.figures { display: grid; grid-template-columns: 1fr; gap: 1.25rem 1.5rem; margin-top: 2rem; align-items: end; }
.figures > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 0; }
.figures dd { font-family: var(--display); font-size: var(--step-figure); line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.figures dt { margin-top: 0.4rem; font-size: var(--step-small); color: var(--on-stage-muted); }
@media (min-width: 40rem) { .figures { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); } }
.details { margin-top: 1.5rem; }
.details > div { display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr; gap: 0.5rem 1rem; padding: 0.85rem 0.25rem; border-radius: 0.75rem; transition: background-color 160ms var(--ease); }
.details > div.is-hot { background: var(--stage-2); }
.details dt { color: var(--on-stage-muted); }
.details dd { color: var(--on-stage); }
.panel__links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; margin-top: 1.5rem; }
.panel__links a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 500; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1.5px; }
.panel__cta { margin-top: 1.75rem; }
@media (min-width: 40rem) {
  .tabs { grid-template-columns: repeat(4, 1fr); }
  .tab { min-height: 7rem; padding: 1.1rem 1.25rem; }
  .tab__name { font-size: var(--step-lead); }
}
@media (min-width: 64rem) {
  .explore__head { grid-template-columns: 1fr 1fr; align-items: end; gap: 3rem; }
  .panel { grid-template-columns: 5fr 7fr; gap: 3rem; margin-top: 2rem; align-items: start; }
  .panel__photo { aspect-ratio: 4 / 5; position: sticky; top: calc(var(--bar-h) + 1.5rem); }
  .pin { left: var(--x); top: var(--y); }
  .details > div { padding-inline: 0.75rem; margin-inline: -0.75rem; }
}

/* ---------- Three ways to buy: tiles that grow ---------- */
.ways__grid { display: grid; gap: 1.75rem; margin-top: 2rem; }
.way__tile { border-radius: var(--r); overflow: hidden; background: var(--ground-2); }
.way__tile picture { height: 100%; }
.way__tile img { width: 100%; height: 100%; object-fit: cover; }
.way:nth-child(1) .way__tile { height: 34vw; }
.way:nth-child(2) .way__tile { height: 46vw; }
.way:nth-child(3) .way__tile { height: 62vw; }
.way__text { margin-top: 1rem; }
.way h3 { font-family: var(--text); font-weight: 600; font-size: var(--step-body); line-height: 1.35; }
.way p { margin-top: 0.35rem; max-width: 36ch; }
@media (min-width: 64rem) {
  .ways { display: grid; grid-template-columns: 3fr 4fr 5fr; grid-template-rows: auto auto auto; column-gap: 0.75rem; }
  .ways > h2 { grid-column: 1 / 3; grid-row: 1; align-self: start; padding: 0 2rem 2.5rem 0; }
  .ways__grid, .way { display: contents; }
  .way__tile { grid-row: 2; align-self: end; }
  .way:nth-child(1) .way__tile { grid-column: 1; height: clamp(14rem, 30vh, 20rem); }
  .way:nth-child(2) .way__tile { grid-column: 2; height: clamp(20rem, 44vh, 28rem); }
  .way:nth-child(3) .way__tile { grid-column: 3; grid-row: 1 / 3; height: clamp(27rem, 60vh, 38rem); }
  .way__text { grid-row: 3; margin-top: 1.25rem; padding-right: 2rem; }
  .way:nth-child(1) .way__text { grid-column: 1; } .way:nth-child(2) .way__text { grid-column: 2; } .way:nth-child(3) .way__text { grid-column: 3; }
}

/* ---------- Why buyers work with us: a pinned title, a plain list ---------- */
.why { display: grid; gap: 2rem; }
.why__list { display: grid; gap: 1.75rem 2rem; }
.why__list h3 { font-family: var(--text); font-weight: 600; font-size: var(--step-body); line-height: 1.35; }
.why__list p { margin-top: 0.25rem; }
@media (min-width: 40rem) { .why__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) {
  .why { grid-template-columns: 5fr 7fr; gap: 3rem; align-items: start; }
  .why > h2 { position: sticky; top: calc(var(--bar-h) + 2rem); }
  .why__list { gap: 2.25rem 3rem; }
}

/* ---------- How it works: a real ordered list ---------- */
.steps { display: grid; gap: 1.5rem; margin-top: 2rem; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 2.25rem 1fr; gap: 0.75rem; }
.steps li::before { counter-increment: step; content: counter(step) '.'; font-family: var(--display); font-size: var(--step-lead); line-height: 1.2; color: var(--purple); }
.steps h3 { font-family: var(--text); font-weight: 600; font-size: var(--step-body); line-height: 1.35; }
.steps p { margin-top: 0.25rem; max-width: 30ch; }
@media (min-width: 40rem) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

/* ---------- Our own plastics plant: figures beside the photograph ---------- */
.plant { display: grid; gap: 2.5rem; }
.plant__text p { margin-top: 1.25rem; max-width: 52ch; }
.plant__figures { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; margin-top: 2.25rem; }
.plant__figures > div, .numbers > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.plant__figures dd { font-family: var(--display); font-size: var(--step-figure); line-height: 0.95; letter-spacing: -0.03em; }
.plant__figures dt { margin-top: 0.4rem; color: var(--on-stage-muted); }
.plant__photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; max-height: 80svh; }
.plant__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 64rem) {
  .plant { grid-template-columns: 7fr 5fr; gap: 3rem; align-items: center; }
  .plant__photo { position: sticky; top: calc(var(--bar-h) + 1.5rem); }
}

/* ---------- Stock and service in Atlanta ---------- */
.stock { display: grid; gap: 2rem; }
.stock__text p { margin-top: 1.25rem; max-width: 46ch; }
.stock__list { display: grid; gap: 0.75rem; }
.stock__list li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; align-items: start; font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.01em; }
.stock__list li::before { content: ''; width: 0.75rem; height: 0.75rem; margin-top: 0.55em; border-radius: 50%; background: var(--purple); }
.stock__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
@media (min-width: 64rem) {
  .stock { grid-template-columns: 5fr 7fr; gap: 3rem; align-items: start; }
}

/* ---------- Who we supply ---------- */
.supply { display: grid; gap: 1.5rem; }
.supply p { max-width: 68ch; font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.01em; }
@media (min-width: 64rem) { .supply { grid-template-columns: 5fr 7fr; gap: 3rem; align-items: start; } }

/* ---------- Closing: the object returns ---------- */
.close { position: relative; overflow: hidden; display: grid; gap: 2rem; background: var(--ground); }

.close__text p { margin-top: 1rem; max-width: 40ch; }
.close__text .btn { margin-top: 1.5rem; }
.close__object { position: relative; height: 56vw; max-height: 26rem; overflow: hidden; mix-blend-mode: multiply; }
.close__object img { position: absolute; left: -12%; bottom: -14%; width: 118%; max-width: none; }
.close__text p { max-width: 56ch; }
@media (min-width: 64rem) {
  .close { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; min-height: 70svh; }
  .close__object { order: -1; height: 100%; min-height: 30rem; max-height: none; }
  .close__object img { left: -10%; bottom: -16%; width: 100%; }
  .close__text p { max-width: 40ch; }
}

/* ---------- Page hero (inner pages): the title, then the lead row ---------- */
.page-hero { padding-top: clamp(1rem, 2.5vw, 2rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.page-hero__title { font-size: clamp(2.5rem, 1rem + 4.2vw, 5.75rem); line-height: 0.96; letter-spacing: -0.03em; }
.page-hero__row { display: grid; gap: 1.5rem; margin-top: clamp(1rem, 2.5vw, 2rem); }
.page-hero__lead { max-width: 56ch; font-size: max(1.125rem, var(--step-body)); }
.page-hero__lead--big { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.01em; max-width: 40ch; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }
.page-hero__actions .btn { flex: 1 1 100%; }
@media (min-width: 40rem) { .page-hero__actions .btn { flex: 0 0 auto; } }
@media (min-width: 64rem) { .page-hero__row { grid-template-columns: minmax(0, 56ch) auto; justify-content: space-between; align-items: start; } }

/* ---------- Frames: a row of framed photographs with names (the hero's four, the catalog's six) ---------- */
.frames { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 0.75rem; }
.frames a { display: block; color: inherit; text-decoration: none; }
.frames__frame, .hero__frame { display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--ground-2); }
.frames__frame img { width: 100%; height: 100%; object-fit: cover; transition: scale 700ms var(--ease); }
.frames a:hover .frames__frame img { scale: 1.04; }
.frames__name { display: block; margin-top: 0.7rem; font-family: var(--display); font-size: var(--step-lead); line-height: 1.1; letter-spacing: -0.01em; }
.frames a:hover .frames__name { text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 2px; }
.frames__sub { display: block; margin-top: 0.15rem; color: var(--muted); font-size: var(--step-small); }
@media (min-width: 40rem) { .frames { grid-template-columns: repeat(3, 1fr); gap: 1.25rem 1rem; } }
@media (min-width: 64rem) { .frames { grid-template-columns: repeat(var(--cols, 6), 1fr); gap: 1rem; } }

/* ---------- Proof points: four short facts in a row ---------- */
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; margin-top: clamp(2rem, 4vw, 3rem); }
.proof li { display: grid; grid-template-columns: 0.75rem 1fr; gap: 0.75rem; align-items: start; font-weight: 500; }
.proof li::before { content: ''; width: 0.75rem; height: 0.75rem; margin-top: 0.45em; border-radius: 50%; background: var(--purple); }
@media (min-width: 64rem) { .proof { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Dots: a short list with round markers ---------- */
.dots { display: grid; gap: 0.6rem; }
.dots li { display: grid; grid-template-columns: 0.75rem 1fr; gap: 0.75rem; align-items: start; }
.dots li::before { content: ''; width: 0.75rem; height: 0.75rem; margin-top: 0.5em; border-radius: 50%; background: var(--purple); }
.dark .dots li::before { background: var(--lilac); }

/* ---------- Pairs: a heading with its paragraph, two or three across ---------- */
.pairs { display: grid; gap: 1.75rem 2rem; }
.pairs h3 { font-family: var(--text); font-weight: 600; font-size: var(--step-body); line-height: 1.35; }
.pairs p { margin-top: 0.3rem; max-width: 58ch; }
.pairs--lead h3 { font-family: var(--display); font-weight: 400; font-size: var(--step-lead); }
@media (min-width: 40rem) { .pairs { grid-template-columns: 1fr 1fr; } .pairs--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Two-column section: title left, content right ---------- */
.two { display: grid; gap: 2rem; }
.two__head h2 { font-size: clamp(1.75rem, 1rem + 2vw, 2.875rem); }
.two__head p { margin-top: 1rem; max-width: 46ch; }
.two__head .btn { margin-top: 1.5rem; }
@media (min-width: 64rem) { .two { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; } .two__head { position: sticky; top: calc(var(--bar-h) + 2rem); } }

/* ---------- Flow: three stages, carried by position ---------- */
.flow { display: grid; gap: 1rem; margin-top: 2rem; }
.flow li { padding: 1.5rem 1.5rem 1.75rem; border-radius: var(--r); background: var(--ground-2); }
.flow__pic { display: block; aspect-ratio: 4 / 3; border-radius: calc(var(--r) - 0.5rem); overflow: hidden; margin-bottom: 1.25rem; }
.flow__pic img { width: 100%; height: 100%; object-fit: cover; }
.flow li:last-child { background: var(--purple); color: var(--white); }
.flow h3 { font-size: var(--step-lead); }
.flow p { margin-top: 0.5rem; }
.flow li:last-child p { color: var(--lilac); }
@media (min-width: 40rem) { .flow { grid-template-columns: repeat(3, 1fr); } .flow li { display: flex; flex-direction: column; justify-content: flex-end; } }

/* ---------- Figures in a row (the plant's numbers) ---------- */
.numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; margin-top: 2rem; }
.numbers dd { font-family: var(--display); font-size: var(--step-figure); line-height: 0.95; letter-spacing: -0.03em; }
.numbers dt { margin-top: 0.4rem; color: var(--on-stage-muted); }
@media (min-width: 64rem) { .numbers { grid-template-columns: repeat(var(--cols, 4), 1fr); } }

/* ---------- Timeline: the year large, the event beside it ---------- */
.timeline { display: grid; gap: 2rem; margin-top: 2.5rem; }
.timeline li { display: grid; gap: 0.5rem; }
.timeline__year { font-family: var(--display); font-size: var(--step-figure); line-height: 1; letter-spacing: -0.02em; color: var(--purple); }
.timeline h3 { font-family: var(--text); font-weight: 600; font-size: var(--step-body); line-height: 1.35; }
.timeline p { margin-top: 0.3rem; max-width: 56ch; }
@media (min-width: 40rem) { .timeline li { grid-template-columns: 8rem 1fr; gap: 2rem; align-items: start; } }
@media (min-width: 64rem) { .timeline { gap: 2.5rem; } .timeline li { grid-template-columns: 5fr 7fr; gap: 3rem; } }

/* ---------- Channels (contact): four ways in ---------- */
.channels { display: grid; gap: 1rem; }
.channel { padding: 1.5rem 1.5rem 1.6rem; border-radius: var(--r); background: var(--ground-2); }
.channel h3 { font-family: var(--text); font-weight: 600; font-size: var(--step-small); color: var(--muted); }
.channel__value { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: 0.35rem; font-family: var(--display); font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
a.channel__value:hover { text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 2px; }
.channel p { margin-top: 0.4rem; color: var(--muted); }
@media (min-width: 40rem) { .channels { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .channels { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Questions: a wide heading, the questions indented ---------- */
.faq { display: grid; gap: 2rem; }
.faq__list { display: grid; gap: 0.5rem; }
.faq__list details { border-radius: var(--r); background: transparent; transition: background-color 200ms var(--ease); }
.faq__list details[open] { background: var(--ground-2); }
.faq__list summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1rem 1.25rem; min-height: 3.5rem; cursor: pointer; list-style: none; font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.01em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ''; flex: none; width: 0.9rem; height: 0.9rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-0.15rem, -0.15rem); transition: transform 200ms var(--ease); }
.faq__list details[open] summary::after { transform: rotate(225deg) translate(-0.1rem, -0.1rem); }
.faq__list summary:hover { color: var(--purple); }
.faq__list details > p { padding: 0 1.25rem 1.25rem; max-width: 60ch; }
@media (min-width: 64rem) { .faq { grid-template-columns: 5fr 7fr; gap: 3rem; align-items: start; } .faq > h2 { position: sticky; top: calc(var(--bar-h) + 2rem); } }

/* ---------- Standards (compliance): five groups ---------- */
.scope { display: inline-block; margin-top: 1rem; font-weight: 600; color: var(--purple); }
.dark .scope { color: var(--lilac); }
.standards { display: grid; gap: 1rem; margin-top: 2rem; }
.standard { padding: 1.5rem 1.5rem 1.75rem; border-radius: var(--r); background: var(--stage-2); }
.standard h3 { font-size: var(--step-lead); }
.standard > p { margin-top: 0.6rem; max-width: 58ch; color: var(--on-stage-muted); }
.standard ul { margin-top: 1rem; }
@media (min-width: 40rem) { .standards { grid-template-columns: 1fr 1fr; } .standard--wide { grid-column: 1 / -1; } .standard--wide ul { columns: 2; column-gap: 2rem; } .standard--wide li { break-inside: avoid; } }

/* ---------- Documentation table ---------- */
.doc-table-wrap { margin-top: 2rem; overflow-x: auto; }
.doc-table { width: 100%; border-collapse: collapse; font-size: var(--step-body); line-height: 1.45; }
.doc-table caption { text-align: left; }
.doc-table th { padding: 0.75rem 1.25rem 0.75rem 0; border-bottom: 2px solid var(--ink); font-weight: 600; text-align: left; vertical-align: bottom; }
.doc-table td { padding: 0.9rem 1.25rem 0.9rem 0; border-bottom: 1px solid #C9C2B8; vertical-align: top; }
.doc-table td:first-child { font-weight: 600; }
.doc-table .cite { font-variant-numeric: tabular-nums; }
@media (max-width: 47.99rem) {
  .doc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .doc-table thead tr, .doc-table thead th { display: block; width: 1px; height: 1px; padding: 0; overflow: hidden; border: 0; }
  .doc-table, .doc-table tbody, .doc-table tr, .doc-table td { display: block; width: 100%; }
  .doc-table tr { padding: 1rem 0; border-bottom: 1px solid #C9C2B8; }
  .doc-table td { padding: 0.15rem 0; border: 0; }
  .doc-table td::before { content: attr(data-label) ": "; font-weight: 400; color: var(--muted); }
  .doc-table td:first-child::before { content: none; }
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 2.25rem; }
.form fieldset { display: grid; gap: 1.25rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 1rem; font-family: var(--display); font-size: var(--step-lead); line-height: 1.2; }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.4rem; align-content: start; min-width: 0; }
.field__label { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 3rem; padding: 0.65rem 0.9rem; background: var(--white); color: var(--ink); border: 1px solid #B8B0A6; border-radius: 0.75rem; font: inherit; font-size: 1rem; line-height: 1.4; }
.field textarea { min-height: 8rem; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319131E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 1rem; text-overflow: ellipsis; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple); outline-offset: 2px; }
.field [aria-invalid="true"] { border: 2px solid #A4161A; }
.field__error { display: flex; gap: 0.4rem; align-items: flex-start; color: #A4161A; font-size: var(--step-small); font-weight: 600; }
.field__error svg { width: 1rem; height: 1rem; flex: none; margin-top: 0.15em; }
.error-summary { padding: 1.25rem; border-radius: var(--r); background: #F6DEDC; color: var(--ink); }
.error-summary h2, .error-summary__title { font-family: var(--text); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; color: #A4161A; }
.error-summary ul { margin-top: 0.5rem; display: grid; gap: 0.15rem; }
.error-summary a { color: #A4161A; font-weight: 600; text-decoration: underline; display: inline-flex; min-height: 44px; align-items: center; }
.form-status { padding: 1rem 1.25rem; border-radius: var(--r); background: #F6DEDC; color: var(--ink); }
.form-status strong { color: #A4161A; }
.form__foot { display: grid; gap: 1rem; justify-items: start; }
.form__note { font-size: var(--step-small); color: var(--muted); max-width: 52ch; }
.form-success { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--r); background: var(--lilac); }
.form-success__title { font-size: var(--step-lead); }
.form-success p { margin-top: 0.75rem; max-width: 56ch; }
.form-success:focus { outline: none; }
.form-success:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
.checks { display: grid; gap: 0.6rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.form .checks > legend { margin-bottom: 0.6rem; font-family: var(--text); font-size: 1rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.checks__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: 0.5rem; }
.checks__grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); }
.check { position: relative; display: flex; align-items: center; min-height: 3rem; padding: 0.55rem 0.9rem; background: var(--white); border: 1px solid #B8B0A6; border-radius: 0.75rem; font-size: 1rem; line-height: 1.3; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.check input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.check span { display: flex; align-items: center; gap: 0.75rem; }
.check span::before { content: ""; flex: none; width: 1.25rem; height: 1.25rem; border-radius: 0.3rem; background: var(--white) no-repeat center / 0.8rem; border: 2px solid var(--muted); }
.check input[type="radio"] + span::before { border-radius: 50%; }
.check:hover { border-color: var(--purple); }
.check:has(input:checked) { border-color: var(--purple); background: var(--lilac); }
.check input:checked + span::before { border-color: var(--purple); }
.check input[type="checkbox"]:checked + span::before { background-color: var(--purple); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23FFFFFF' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='m3 8.5 3.2 3L13 4.5'/%3E%3C/svg%3E"); }
.check input[type="radio"]:checked + span::before { background-color: var(--purple); box-shadow: inset 0 0 0 3px var(--white); }
.check:has(input:focus-visible) { outline: 3px solid var(--purple); outline-offset: 2px; }
.field input[type="file"] { padding: 0.45rem; cursor: pointer; }
.field input[type="file"]::file-selector-button { margin-right: 1rem; min-height: 2.25rem; padding: 0.45rem 1rem; background: var(--purple); color: var(--white); border: 0; border-radius: 999px; font: inherit; font-weight: 500; cursor: pointer; }
.field input[type="file"]::file-selector-button:hover { background: #3C1259; }

/* ---------- Form page: the form beside what happens next ---------- */
.formpage { display: grid; gap: 3rem; }
.aside { display: grid; gap: 2rem; align-content: start; }
.aside h2 { font-size: var(--step-lead); }
.aside .steps { grid-template-columns: 1fr; margin-top: 1rem; }
.aside__talk { padding: 1.5rem; border-radius: var(--r); background: var(--ground-2); }
.aside__talk a { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: 0.25rem; font-family: var(--display); font-size: var(--step-lead); text-decoration: none; }
.aside__talk a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.aside__talk p { margin-top: 0.25rem; color: var(--muted); }
@media (min-width: 40rem) and (max-width: 63.99rem) { .aside { grid-template-columns: 1fr 1fr; align-items: start; } .aside > :only-child { grid-column: 1 / -1; } }
@media (min-width: 64rem) { .formpage { grid-template-columns: 7fr 5fr; gap: 4rem; align-items: start; } .aside { position: sticky; top: calc(var(--bar-h) + 2rem); } }

/* ---------- Catalog lines: the photograph holds while the specs read; sizes swap the photograph ---------- */
.line { display: grid; gap: 2rem; padding-block: var(--sec); }
.line + .line { border-top: 0; }
.line__frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--ground-2); }
.line__frame picture { display: none; position: absolute; inset: 0; opacity: 0; transition: opacity 320ms var(--ease); }
.line__frame picture.is-ready, .line__frame picture.is-current { display: block; }
.line__frame picture.is-current { opacity: 1; z-index: 1; }
.line__frame img { width: 100%; height: 100%; object-fit: cover; transition: scale 600ms var(--ease), transform-origin 600ms var(--ease); transform-origin: var(--fx, 50%) var(--fy, 50%); scale: var(--fs, 1); }
.line__caption { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.line__body > h2 { font-size: var(--step-head); }
.line.is-selected .line__body > h2 { color: var(--purple); }
.line__body > .lead { margin-top: 1rem; max-width: 46ch; }
.line__body > p:not(.lead) { margin-top: 0.75rem; max-width: 56ch; }
.line .figures { margin-top: 2rem; }
.line .figures dt { color: var(--muted); }
.specs { margin-top: 1.75rem; }
.specs > div { display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr; gap: 0.5rem 1rem; padding: 0.9rem 0.75rem; margin-inline: -0.75rem; border-radius: 0.75rem; transition: background-color 160ms var(--ease); }
.specs > div.is-hot, .specs > div:hover { background: var(--ground-2); }
.specs dt { color: var(--muted); }
.specs dd p + p { margin-top: 0.35rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 0.6rem; }
.chips button, .chips span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 1rem; border: 0; border-radius: 999px; background: var(--ground-2); color: var(--ink); font-size: var(--step-small); font-weight: 500; cursor: default; }
.chips button { cursor: pointer; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.chips button:hover, .chips button:focus-visible, .chips button[aria-pressed="true"] { background: var(--purple); color: var(--white); }
.line__cta { margin-top: 2rem; }
.catalog-rail { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 64rem) {
  .line { grid-template-columns: 5fr 7fr; gap: 3rem; align-items: start; }
  .line__frame { aspect-ratio: 4 / 5; position: sticky; top: calc(var(--bar-h) + 1.5rem); }
  .specs > div { padding-inline: 1rem; margin-inline: -1rem; }
}

/* ---------- Jump links (catalog): the six lines on one row ---------- */
.jumps { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; margin-top: 1.5rem; }
.jumps a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 1rem; border-radius: 999px; background: var(--ground-2); color: var(--ink); font-weight: 500; text-decoration: none; }
.jumps a:hover { background: var(--lilac); }

/* ---------- Single statement band ---------- */
.statement { max-width: 60ch; font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.01em; }

/* ---------- Footer: the name across the field ---------- */
.foot { background: var(--stage); color: var(--on-stage); padding-top: var(--sec); overflow: hidden; }
.foot__top { display: grid; gap: 2rem; }
.foot__about img { width: auto; height: 2.5rem; filter: brightness(0) invert(1); }
.foot__about p { margin-top: 1rem; max-width: 34ch; color: var(--on-stage-muted); }
.foot__heading { font-family: var(--text); font-weight: 600; font-size: var(--step-small); color: var(--on-stage-muted); margin-bottom: 0.75rem; }
.foot ul { display: grid; gap: 0.1rem; }
.foot li a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.25rem 0; text-decoration: none; }
.foot li a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.foot__contact li { padding: 0.5rem 0; }
.foot__contact li:has(a) { padding: 0; }
.foot__name { width: 100%; height: auto; margin-top: clamp(3rem, 8vw, 7rem); font-family: var(--display); fill: var(--on-stage); letter-spacing: -0.02em; }
.foot__legal { padding: 1rem 0 1.5rem; color: var(--on-stage-muted); font-size: var(--step-small); }
@media (min-width: 40rem) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__about { grid-column: 1 / -1; } }
@media (min-width: 64rem) { .foot__top { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr; } .foot__about { grid-column: auto; } }

/* ---------- Motion: parts arrive once as they reach the screen; the hero stays still ---------- */
html.motion .enter { opacity: 0; transform: translateY(1.25rem); transition: opacity 560ms var(--ease), transform 640ms var(--ease); }
html.motion .enter.is-in { opacity: 1; transform: none; }
html.motion .panel { animation: panel-in 320ms var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(0.5rem); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html.motion .enter { opacity: 1; transform: none; transition: none; }
  html.motion .panel { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .bar, .foot__name, .skip-link, .tabs { display: none !important; }
  .dark, .foot { background: none !important; color: #000 !important; }
  .dark .muted, .dark dt, .foot a { color: #000 !important; }
  .panel[hidden] { display: grid !important; }
  .btn { background: none !important; color: #000 !important; border: 1px solid #000; }
  .close__object { mix-blend-mode: normal; }
}
