/* ============================================================
   Spolymers — styles
   ============================================================ */
:root {
  --ink: #0b1c22;
  --ink-2: #10262e;
  --ink-3: #16323b;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --fg: #eef1f4;
  --fg-dim: #9fb4b8;
  --paper: #f5f2ea;
  --paper-2: #ebe6da;
  --paper-fg: #10262e;
  --paper-dim: #55686d;
  /* sampled from the Spolymers logo */
  --navy: #1d4a5c;
  --teal-deep: #2c7369;
  --sand: #e6d6a4;
  --accent: #6cc0b0;
  --accent-2: #9ad7cb;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: italic; color: var(--sand); }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.muted { opacity: .7; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 0 0 1.2rem;
}
.kicker {
  font-family: var(--mono);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  margin: 0 0 1.1rem;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-dim);
  border: 1px solid var(--line-2); border-radius: 999px; padding: .45rem .9rem;
  margin: 0 0 2rem;
  backdrop-filter: blur(6px);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(108, 192, 176, .2); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  background: var(--bg); color: #06201b;
  font: 500 .95rem/1 var(--sans);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); background: var(--accent-2); box-shadow: 0 10px 30px -10px rgba(108, 192, 176, .7); }
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn--ghost:hover { background: rgba(255, 255, 255, .06); box-shadow: none; }
.btn--small { padding: .65rem 1.1rem; font-size: .85rem; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
/* Light header so the full-colour logo reads as designed */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(250, 248, 242, .94); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 38, 46, .08);
  transition: box-shadow .4s;
}
.nav.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .45); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand__logo { height: 46px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a:not(.btn) { text-decoration: none; font-size: .92rem; color: var(--paper-dim); transition: color .2s; position: relative; }
.nav__links a:not(.btn):hover, .nav__links a.is-active { color: var(--paper-fg); }
.nav__links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--teal-deep); }
.nav__links .btn { background: var(--navy); color: #fff; }
.nav__links .btn:hover { background: var(--teal-deep); box-shadow: none; }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--paper-fg); transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 26px; }
.nav.is-open .nav__toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 76px; }
.hero__photo {
  position: absolute; top: 0; right: 0; width: min(62%, 900px); height: 100%; object-fit: cover;
  opacity: .55; filter: grayscale(1) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 60% at 85% 30%, rgba(108, 192, 176, .18), transparent 60%),
    linear-gradient(90deg, var(--ink) 20%, rgba(11, 28, 34, .5) 60%, rgba(11, 28, 34, .15)),
    linear-gradient(0deg, var(--ink), transparent 35%);
}
.hero__content { position: relative; padding-top: 6vh; padding-bottom: 4vh; }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.1rem, 9.5vw, 8.4rem);
  line-height: .93; letter-spacing: -.02em;
  margin: 0 0 2rem;
}
.hero__lede { max-width: 34rem; color: var(--fg-dim); font-size: clamp(1rem, 1.4vw, 1.12rem); margin: 0 0 2.4rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__ticker { position: relative; padding-bottom: 2.5rem; }
.ticker { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.ticker__item { padding: 1.2rem 0; color: var(--fg-dim); font-size: .92rem; border-right: 1px solid var(--line); padding-left: 1.2rem; }
.ticker__item:first-child { padding-left: 0; }
.ticker__item:last-child { border-right: 0; }
.ticker__item .mono { color: var(--accent); margin-right: .5rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(5rem, 12vw, 9rem) 0; position: relative; }
.section__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section__lede { color: var(--fg-dim); font-size: 1.05rem; max-width: 38rem; margin: 0; }

/* Intro */
.intro__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.photo figcaption {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  padding: .8rem 1rem; border-radius: 12px; font-size: .88rem;
  background: rgba(11, 28, 34, .72); backdrop-filter: blur(8px); color: var(--fg);
}
.photo figcaption .mono { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .2rem; }
.photo--tall { aspect-ratio: 4 / 5; position: sticky; top: 100px; }
.photo--tall figcaption { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; right: auto; }
.journey { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.journey__step { padding: 0 0 2.2rem 2rem; position: relative; border-left: 1px solid var(--line); }
.journey__step:last-child { padding-bottom: 0; }
.journey__step::before { content: ""; position: absolute; top: .45rem; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.journey__n { color: var(--accent); font-size: .85rem; }
.journey h3 { font: 400 1.9rem/1.1 var(--serif); margin: .3rem 0 .6rem; }
.journey p { color: var(--fg-dim); margin: 0; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: clamp(3.5rem, 8vw, 6rem); }
.mv__card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 3rem); background: var(--ink-2); }
.mv__card--accent { background: linear-gradient(140deg, rgba(108, 192, 176, .16), rgba(108, 192, 176, .02) 60%), var(--ink-2); border-color: rgba(108, 192, 176, .3); }
.mv__text { font: 400 clamp(1.4rem, 2.4vw, 1.9rem)/1.25 var(--serif); margin: 0; }

/* ---------- Products (light) ---------- */
.products { background: var(--paper); color: var(--paper-fg); }
.products .section__lede { color: var(--paper-dim); }
.products em { color: #2c7369; }
.products .kicker { color: #2c7369; }

.pt { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.2rem; }
.pt__tile {
  position: relative; text-align: left; cursor: pointer;
  background: #fff; color: var(--paper-fg);
  border: 1px solid rgba(20, 24, 29, .1); border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.3rem; aspect-ratio: 1 / .92;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--sans);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s, background .35s;
}
.pt__tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(20, 24, 29, .35); }
.pt__tile[aria-selected="true"] { background: var(--ink); color: var(--fg); border-color: var(--ink); }
.pt__top { display: flex; justify-content: space-between; font: 400 .78rem/1 var(--mono); opacity: .6; }
.pt__sym { font: 400 clamp(2.6rem, 6vw, 4.6rem)/1 var(--serif); letter-spacing: -.02em; }
.pt__tile[aria-selected="true"] .pt__sym { color: var(--accent); }
.pt__name { font-size: .9rem; opacity: .75; }

.pdetail {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 0;
  background: #fff; border: 1px solid rgba(20, 24, 29, .1); border-radius: calc(var(--radius) + 6px); overflow: hidden;
}
.pdetail__visual {
  background:
    linear-gradient(rgba(20, 24, 29, .05) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(20, 24, 29, .05) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--paper-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2.5rem 1.5rem; min-height: 340px; gap: 1rem;
}
.pdetail__formula { width: 100%; max-width: 360px; }
.pdetail__formula svg { width: 100%; height: auto; overflow: visible; }
.pdetail__formula .bond { stroke: var(--paper-fg); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); animation: draw 1.1s var(--ease) forwards; }
.pdetail__formula .sub { stroke: #2c7369; }
.pdetail__formula .atom { font: 500 15px var(--mono); fill: #2c7369; opacity: 0; animation: fade .5s .7s forwards; }
.pdetail__formula .brk { font: 300 64px var(--sans); fill: var(--paper-fg); opacity: 0; animation: fade .5s .5s forwards; }
.pdetail__formula .n { font: 500 15px var(--mono); fill: var(--paper-fg); opacity: 0; animation: fade .5s .8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.pdetail__monomer { font-size: .8rem; color: var(--paper-dim); text-align: center; margin: 0; }
.pdetail__body { padding: clamp(1.8rem, 4vw, 3rem); }
.pdetail__code { color: #2c7369; font-size: .8rem; margin: 0 0 .3rem; letter-spacing: .12em; }
.pdetail__name { font: 400 clamp(2rem, 4vw, 3rem)/1.05 var(--serif); margin: 0 0 1rem; }
.pdetail__desc { color: var(--paper-dim); margin: 0 0 1.6rem; }
.pdetail__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0 0 1.8rem; border-top: 1px solid rgba(20, 24, 29, .1); }
.pdetail__facts div { padding: .9rem 0; border-bottom: 1px solid rgba(20, 24, 29, .1); }
.pdetail__facts div:nth-child(odd) { padding-right: 1rem; }
.pdetail__facts dt { font: 400 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--paper-dim); margin-bottom: .45rem; }
.pdetail__facts dd { margin: 0; font-weight: 500; }
.pdetail__methods ul { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.pdetail__methods li { padding: .55rem 0 .55rem 1.4rem; position: relative; color: var(--paper-dim); font-size: .95rem; }
.pdetail__methods li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 8px; height: 8px; border: 1.5px solid #2c7369; transform: rotate(45deg); }
.pdetail__methods strong { color: var(--paper-fg); font-weight: 500; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { font-size: .82rem; padding: .4rem .8rem; border-radius: 999px; background: var(--paper); border: 1px solid rgba(20, 24, 29, .1); }
.pdetail.is-swapping .pdetail__body > * { animation: fade-up .5s var(--ease) both; }
.pdetail.is-swapping .pdetail__body > *:nth-child(2) { animation-delay: .04s; }
.pdetail.is-swapping .pdetail__body > *:nth-child(3) { animation-delay: .08s; }
.pdetail.is-swapping .pdetail__body > *:nth-child(4) { animation-delay: .12s; }
.pdetail.is-swapping .pdetail__body > *:nth-child(n+5) { animation-delay: .16s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Processing ---------- */
.processing { background: var(--ink-2); border-top: 1px solid var(--line); }
.thermo { margin: 0 0 3rem; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink); }
.thermo__axis { position: relative; height: 1.4rem; margin-left: var(--label-w, 140px); font-size: .72rem; color: var(--fg-dim); }
.thermo__axis span { position: absolute; left: calc(var(--x) * 100%); transform: translateX(-50%); }
.thermo__axis span:first-child { transform: none; }
.thermo__axis span:last-child { transform: translateX(-100%); }
.thermo__rows { position: relative; }
.thermo__row { display: grid; grid-template-columns: var(--label-w, 140px) 1fr; align-items: center; min-height: 64px; border-top: 1px solid var(--line); }
.thermo__label { font-size: .9rem; }
.thermo__label b { font: 500 .8rem var(--mono); color: var(--accent); margin-right: .5rem; }
.thermo__track {
  position: relative; height: 64px;
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 25%);
}
.thermo__bar { position: absolute; height: 10px; border-radius: 999px; transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease); }
.thermo.is-in .thermo__bar { transform: scaleX(1); }
.thermo__bar--melt { top: 18px; background: var(--accent); }
.thermo__bar--proc { top: 36px; background: transparent; border: 1.5px solid rgba(108, 192, 176, .6); background-image: repeating-linear-gradient(45deg, rgba(108, 192, 176, .25) 0 3px, transparent 3px 7px); }
.thermo__val { position: absolute; top: 2px; font: 400 .68rem var(--mono); color: var(--fg-dim); white-space: nowrap; }
.thermo__cap { display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; margin-top: 1.4rem; font-size: .82rem; color: var(--fg-dim); }
.sw { display: inline-block; width: 22px; height: 8px; border-radius: 999px; vertical-align: middle; margin-right: .4rem; }
.sw--melt { background: var(--accent); }
.sw--proc { border: 1.5px solid rgba(108, 192, 176, .6); background-image: repeating-linear-gradient(45deg, rgba(108, 192, 176, .3) 0 3px, transparent 3px 7px); }

.matrix { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.matrix table { width: 100%; border-collapse: collapse; min-width: 480px; }
.matrix th, .matrix td { padding: 1rem 1.2rem; text-align: center; border-bottom: 1px solid var(--line); font-size: .95rem; }
.matrix tr:last-child th, .matrix tr:last-child td { border-bottom: 0; }
.matrix thead th { font: 500 .78rem var(--mono); letter-spacing: .1em; color: var(--accent); background: var(--ink); }
.matrix tbody th { text-align: left; font-weight: 400; }
.matrix th:first-child { text-align: left; }
.matrix td { color: var(--accent); }
.matrix tbody tr { transition: background .2s; }
.matrix tbody tr:hover { background: rgba(255, 255, 255, .03); }

/* ---------- Logistics ---------- */
.logistics__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.flow { list-style: none; padding: 0; margin: 2.5rem 0 0; counter-reset: s; }
.flow__step { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.flow__step .mono { color: var(--accent); font-size: .8rem; padding-top: .35rem; }
.flow__step h3 { margin: 0 0 .2rem; font: 500 1.05rem var(--sans); }
.flow__step p { margin: 0; color: var(--fg-dim); font-size: .95rem; }
.routes { margin: 0; }
.routes__svg { width: 100%; height: auto; }
.routes__rings circle { stroke: var(--line); stroke-dasharray: 2 6; }
.routes__paths path { stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: 4 8; opacity: .8; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -48; } }
.routes__nodes circle { fill: var(--ink); stroke: var(--accent); stroke-width: 2; }
.routes__labels text { fill: var(--fg-dim); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.routes__hub circle:first-child { fill: var(--accent); }
.routes__hub .pulse { fill: none; stroke: var(--accent); stroke-width: 1.5; transform-origin: 260px 260px; animation: pulse 2.4s var(--ease) infinite; }
.routes__hub text { fill: var(--fg); font-size: 12px; letter-spacing: .14em; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

/* ---------- Band ---------- */
.band { padding: clamp(4rem, 10vw, 7rem) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(60% 120% at 50% 100%, rgba(108, 192, 176, .12), transparent 70%); }
.band__quote { font: 400 clamp(2rem, 5.4vw, 4.4rem)/1.08 var(--serif); text-align: center; max-width: 18ch; margin: 0 auto; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact__list { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; margin: 2.5rem 0 0; }
.contact__list dd { margin: 0; color: var(--fg); }
.contact__list a { text-decoration: none; border-bottom: 1px solid var(--line-2); transition: border-color .2s; }
.contact__list a:hover { border-color: var(--accent); }
.contact__addr { grid-column: 1 / -1; }
.contact__addr dd { color: var(--fg-dim); }

.form { background: var(--ink-2); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(1.5rem, 4vw, 2.5rem); }
.form__row { margin: 0 0 1.1rem; border: 0; padding: 0; min-width: 0; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label, .form legend { display: block; font-size: .8rem; color: var(--fg-dim); padding: 0; }
.form label span { color: var(--accent); }
.form input:not([type="checkbox"]), .form textarea {
  display: block; width: 100%; margin-top: .45rem;
  background: var(--ink); color: var(--fg);
  border: 1px solid var(--line-2); border-radius: 12px;
  padding: .85rem 1rem; font: 400 1rem var(--sans);
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(108, 192, 176, .18); }
.form input.is-invalid { border-color: #ff6b5a; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .55rem; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; }
.pill span { display: inline-block; padding: .5rem .95rem; border: 1px solid var(--line-2); border-radius: 999px; font: 500 .82rem var(--mono); color: var(--fg-dim); transition: all .2s; }
.pill input:checked + span { background: var(--accent); border-color: var(--accent); color: #06201b; }
.pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__note { margin: 1rem 0 0; font-size: .88rem; color: var(--fg-dim); min-height: 1.4em; }

/* ---------- Footer ---------- */
.footer { background: var(--paper); color: var(--paper-fg); padding: 3.5rem 0 2.5rem; }
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 3rem; align-items: center; }
.footer__brand img { width: 240px; height: auto; }
.footer__brand p { margin: .8rem 0 0; color: var(--paper-dim); font: 400 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem 1.6rem; }
.footer__nav a { text-decoration: none; color: var(--paper-dim); font-size: .9rem; }
.footer__nav a:hover { color: var(--paper-fg); }
.footer__line { grid-column: 1 / -1; margin: 1rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(16, 38, 46, .12); font-size: .85rem; color: var(--paper-fg); }
.footer__line i { font-style: normal; color: var(--teal-deep); margin: 0 .5rem; }
.footer__line a { text-decoration: none; }
.footer__line a:hover { color: var(--teal-deep); }
.footer__legal { grid-column: 1 / -1; margin: 0; font-size: .8rem; color: var(--paper-dim); }

/* ---------- Pellet → product strip ---------- */
.journey-strip { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: center; margin-top: clamp(3rem, 7vw, 5rem); }
.journey-strip .photo { aspect-ratio: 5 / 4; }
.journey-strip__arrow { width: 64px; color: var(--teal-deep); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(250, 248, 242, .98); backdrop-filter: blur(14px);
    padding: 1rem var(--gutter) 2rem; border-bottom: 1px solid rgba(16, 38, 46, .1);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .3s var(--ease);
  }
  .nav.is-open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a:not(.btn) { padding: .9rem 0; font-size: 1.1rem; width: 100%; border-bottom: 1px solid rgba(16, 38, 46, .1); }
  .nav__links a.is-active::after { display: none; }
  .nav__links .btn { margin-top: 1.2rem; }
  .brand__logo { height: 38px; }

  .intro__grid, .logistics__grid, .contact__grid, .mv { grid-template-columns: 1fr; }
  .photo--tall { position: relative; top: 0; aspect-ratio: 4 / 3; }
  .hero__photo { width: 100%; opacity: .35; }
  .journey-strip { grid-template-columns: 1fr; }
  .journey-strip__arrow { transform: rotate(90deg); margin: 0 auto; width: 48px; }
  .pt { grid-template-columns: repeat(2, 1fr); }
  .pdetail { grid-template-columns: 1fr; }
  .pdetail__visual { min-height: 240px; }
  .routes { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .ticker { grid-template-columns: 1fr 1fr; }
  .ticker__item:nth-child(2) { border-right: 0; }
  .ticker__item:nth-child(3) { padding-left: 0; }
  .ticker__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pt__tile { aspect-ratio: auto; min-height: 140px; gap: 1rem; }
  .pdetail__facts { grid-template-columns: 1fr; }
  .pdetail__facts div:nth-child(odd) { padding-right: 0; }
  .form__row--2, .contact__list { grid-template-columns: 1fr; }
  .thermo { --label-w: 64px; }
  .matrix table { min-width: 0; }
  .matrix th, .matrix td { padding: .85rem .5rem; font-size: .85rem; }
  .matrix th:first-child { padding-left: 1rem; }
  .thermo__label span { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
