@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: "Archivo";
  src: url("fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}

:root {
  --bg: #0e1113;
  --surface: #171b1e;
  --ink: #edeeec;
  --muted: #8a9197;
  --line: #262c31;
  --accent: #f0531c;

  --xs: 8px;
  --sm: 16px;
  --md: 32px;
  --lg: 64px;
  --xl: 128px;

  --r: 2px;
  --wrap: 1240px;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

/* Author-origin reset. :where() keeps specificity at zero so every component rule
   below still wins, which is the failure mode when a parent theme is in play. */
:where(*, *::before, *::after) {
  box-sizing: border-box;
}
:where(body, h1, h2, h3, p, dl, dd, ol, ul, figure) {
  margin: 0;
  padding: 0;
}
:where(ol, ul) {
  list-style: none;
}
:where(a) {
  color: inherit;
  text-decoration: none;
}
:where(svg) {
  display: block;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Film grain. A flat dark ground on a large screen reads as an empty void and shows
   banding across gradients; a few percent of noise gives it a surface without adding
   anything the eye can name. Fixed, so it stays still while the page scrolls. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--md);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
}
.skip:focus {
  left: 0;
}

/* ---------- header ---------- */

.bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(14, 17, 19, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.bar.is-stuck {
  border-bottom-color: var(--line);
}
/* The admin bar is fixed above everything for logged in users, so the site header
   has to start below it rather than underneath it. */
body.admin-bar .bar {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .bar {
    top: 46px;
  }
}
.bar__in {
  display: flex;
  align-items: center;
  gap: var(--md);
  height: 76px;
}

.mark {
  display: flex;
  align-items: center;
  color: var(--ink);
  flex: none;
}
.mark svg {
  width: 46px;
  height: auto;
}

.bar__nav {
  display: flex;
  gap: var(--md);
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}
.bar__nav a {
  transition: color 0.18s ease;
}
.bar__nav a:hover,
.bar__nav a:focus-visible {
  color: var(--ink);
}

.bar__cta {
  flex: none;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding-inline: 24px;
  border-radius: var(--r);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease, transform 0.08s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn--a {
  background: var(--accent);
  color: #12100f;
}
.btn--a:hover,
.btn--a:focus-visible {
  background: #ff6a35;
}
.btn--b {
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn--b:hover,
.btn--b:focus-visible {
  border-color: var(--muted);
}
.btn--big {
  height: 56px;
  padding-inline: 34px;
  margin-top: var(--md);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- hero ---------- */

.hero {
  padding-top: 152px;
  padding-bottom: var(--lg);
}
.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: var(--lg);
  align-items: center;
  min-height: calc(100vh - 152px - var(--lg));
}

/* Sized so the second line holds on one line inside the copy column. A headline
   that wraps to three lines is a size error, not a copy problem. */
.hero h1 {
  font-size: clamp(34px, 3.9vw, 54px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.lede {
  margin-top: 26px;
  max-width: 46ch;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--muted);
}
.hero__act {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}
.hero__loc {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.hero__art {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  /* Pointer position, written by the script as a number from -1 to 1. Every moving
     part in the hero reads from these two, so there is one source of truth and one
     transform per element. */
  --mx: 0;
  --my: 0;
  --spread: 0;
  --bloom: 0;
}
/* The orbit field. It runs well past the column and off the right edge of the
   viewport, so the structure reads as the centre of something larger rather than a
   picture sitting inside a circle. */
.rings {
  position: absolute;
  z-index: -1;
  width: 230%;
  max-width: none;
  height: auto;
  opacity: 0.95;
  pointer-events: none;
  /* The field drifts against the pointer, which is what sells the stack as sitting
     in front of it rather than on it. */
  transform: translate3d(calc(var(--mx) * -14px), calc(var(--my) * -14px), 0);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero__film {
  position: relative;
  width: 100%;
}

/* An accent bloom behind the stack, which is the only light source on the page. It
   sits at a low opacity at rest and lifts when the pointer is over the hero. */
.hero__film::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78%;
  aspect-ratio: 1.6;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(
    ellipse at center,
    rgba(240, 83, 28, 0.3) 0%,
    rgba(240, 83, 28, 0.11) 38%,
    transparent 70%
  );
  opacity: calc(0.36 + var(--bloom) * 0.64);
  filter: blur(26px);
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: -1;
}

/* ---------- film diagram ---------- */

.film {
  width: 100%;
  height: auto;
  overflow: visible;
}
.film__top,
.film__edge {
  transform-box: fill-box;
}

/* ---------- sections ---------- */

.band {
  padding-block: clamp(72px, 9vw, 128px);
}
.band--line {
  border-top: 1px solid var(--line);
}

h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.head {
  max-width: 62ch;
  margin-bottom: var(--lg);
}
.head__p {
  margin-top: 20px;
  color: var(--muted);
  max-width: 58ch;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(var(--md), 6vw, 104px);
  align-items: start;
}
.split__side {
  position: sticky;
  top: 116px;
}
.split__note {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 34ch;
}

.run {
  padding-block: var(--md);
  border-top: 1px solid var(--line);
}
.run:first-child {
  padding-top: 0;
  border-top: 0;
}
.run h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.run p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- structures grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.cell {
  position: relative;
  background: var(--bg);
  padding: clamp(28px, 3.4vw, 48px);
  transition: background-color 0.4s ease;
}
/* A hairline engineering grid, only behind the diagram, fading out before it reaches
   the text. It gives the drawings a drafting surface to sit on. */
.cell__art {
  position: relative;
  margin-bottom: 20px;
}
.cell__art::before {
  content: "";
  position: absolute;
  inset: -18px -10px -6px;
  z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 30%, transparent 76%);
  mask-image: radial-gradient(ellipse at 50% 45%, #000 30%, transparent 76%);
}
.cell__art .film {
  position: relative;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.cell:hover {
  background: var(--surface);
}
.cell:hover .film {
  transform: translateY(-5px);
}
.cell__h {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.cell__p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 48ch;
}

.key {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}
.key__row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--sm);
  padding-block: 11px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.key dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  /* Polymer names are set solid so TIE and ADH sit with PA, PET and EVOH rather
     than looking like ordinary words next to them. */
  text-transform: uppercase;
}
.key dd {
  color: var(--muted);
}
.key__chip {
  width: 12px;
  height: 12px;
  border-radius: var(--r);
  flex: none;
}

.cell__use {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- fact lists ---------- */

.facts__row {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1.58fr);
  gap: var(--sm);
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.facts__row:first-child {
  border-top: 1px solid var(--line);
}
.facts dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 4px;
}
.facts dd {
  color: var(--muted);
  max-width: 58ch;
}
.facts--c dd {
  color: var(--ink);
  font-size: 19px;
}
.facts--c a {
  border-bottom: 1px solid var(--line);
  transition: border-color 0.18s ease;
}
.facts--c a:hover,
.facts--c a:focus-visible {
  border-bottom-color: var(--accent);
}

/* ---------- quote checklist ---------- */

.need li {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1.58fr);
  gap: var(--sm);
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.need li:first-child {
  border-top: 1px solid var(--line);
}
.need span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 4px;
}
.need__p {
  margin-top: var(--md);
  color: var(--muted);
  max-width: 58ch;
}

/* ---------- client wall ---------- */

.clients {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.clients li {
  display: grid;
  place-items: center;
  /* The marks are drawn for a light ground, so they get one. A single tile shared by
     all three is what keeps three very different logos looking like a set. */
  background: #f4f4f1;
  padding: clamp(20px, 2.6vw, 34px);
  min-height: 210px;
}
/* Height stays auto. Capping the height would re-normalise the marks by height and
   undo the equal-area sizing, shrinking the round badge against the wordmarks. */
.clients img {
  height: auto;
  max-width: 100%;
}

/* ---------- footer ---------- */

.foot {
  border-top: 1px solid var(--line);
  padding-block: var(--md);
}
.foot__in {
  display: flex;
  justify-content: space-between;
  gap: var(--sm);
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}

/* ---------- motion ----------
   Reveals are gated behind the js class so a page without scripts, a crawler, or a
   print renders everything visible rather than a column of blank bands. */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- hero laminate ----------
   Three separable jobs, one per element, so nothing fights over a transform:
   the outer ply group takes pointer parallax and the hover spread, the inner group
   takes the entrance and the idle drift, and the bloom takes opacity. */

/* Hover is CSS, not script, so it works whether or not the parallax script runs.
   2D translate rather than translate3d: these are SVG groups, where the plain
   function is the better supported of the two. */
.hero__art:hover,
.hero__art:focus-within {
  --spread: 1;
  --bloom: 1;
}

.hero__film .ply {
  transform: translate(
    calc(var(--mx) * var(--d) * 13px),
    calc(var(--my) * var(--d) * 13px + var(--spread) * var(--i) * 8px)
  );
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* The stack lays down outside in on load, then breathes. Each ply drifts on a
   slightly longer cycle than the one above it, so the stack never resynchronises
   into an obvious pulse. */
.js .hero__film .ply__a {
  opacity: 0;
  animation: lay 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    drift calc(7s + var(--i) * 0.9s) ease-in-out infinite;
  animation-delay: calc(0.15s + var(--i) * 0.11s),
    calc(1.1s + var(--i) * 0.45s);
}

@keyframes lay {
  from {
    opacity: 0;
    transform: translate3d(0, -30px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  0%,
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  50% {
    opacity: 1;
    transform: translate3d(0, -5px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal,
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  /* Loops and parallax stop. The hover spread stays, because it is feedback rather
     than decoration, but it happens instantly instead of easing. */
  .js .hero__film .ply__a {
    opacity: 1;
    animation: none;
  }
  .hero__film .ply {
    transform: translate(0, calc(var(--spread) * var(--i) * 8px));
    transition: none;
  }
  .rings {
    transform: none;
    transition: none;
  }
  .hero__film::before {
    transition: none;
  }
  .btn,
  .cell,
  .cell__art .film {
    transition: none;
  }
  .cell:hover .film {
    transform: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero__in {
    grid-template-columns: 1fr;
    gap: var(--md);
    min-height: 0;
    align-items: start;
  }
  .hero {
    padding-top: 124px;
  }
  .hero__art {
    order: -1;
    margin-bottom: var(--xs);
  }
  .rings {
    width: min(100%, 460px);
  }
  .hero__film {
    max-width: 460px;
  }
  .split {
    grid-template-columns: 1fr;
    gap: var(--md);
  }
  .split__side {
    position: static;
  }
  .split__note {
    max-width: 58ch;
  }
}

@media (max-width: 860px) {
  .bar__nav {
    display: none;
  }
  .bar__cta {
    margin-left: auto;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  /* Three logos in one line stop being legible below this, so they stack. */
  .clients {
    grid-template-columns: 1fr;
  }
  .clients li {
    min-height: 112px;
  }
}

@media (max-width: 620px) {
  .wrap {
    padding-inline: 20px;
  }
  body {
    font-size: 16px;
  }
  .hero h1 {
    font-size: clamp(30px, 8vw, 40px);
  }
  /* On a phone the diagram is tall enough to push the headline and the CTA off
     the first screen, so the copy leads and the diagram follows it. */
  .hero__art {
    order: 0;
    margin-top: var(--md);
    margin-bottom: 0;
  }
  .hero__film {
    max-width: 340px;
    margin-inline: auto;
  }
  .rings {
    width: min(100%, 360px);
  }
  .hero__act .btn {
    flex: 1 1 auto;
  }
  .facts__row,
  .need li,
  .key__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .facts dt,
  .need span {
    padding-top: 0;
  }
  .mark svg {
    width: 40px;
  }
}
