@font-face { font-family: "Fira Sans"; src: url(fonts/fira-sans-heavy.woff2) format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/inter-regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/inter-semibold.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --yellow: #ffcc00;
  --black: #111111;
  --gutter: clamp(22px, 6.4vw, 88px);
  --radius: 8px;
  --heavy: 900 1em/1.08 "Fira Sans", Impact, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--yellow); color: var(--black); font: 400 1.0625rem/1.6 Inter, system-ui, sans-serif; }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 3; padding: .5em 1em; background: var(--black); color: var(--yellow); }

.plant { position: relative; overflow-x: clip; }
.pipes { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pipes .pipe { fill: none; stroke: var(--black); stroke-linejoin: round; }
.pipes .flange { fill: var(--black); }
.pipes .flow { fill: none; stroke: var(--yellow); stroke-linecap: round; }

.frame { position: relative; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }

.nav nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px clamp(14px, 2.4vw, 32px); padding-block: 22px 26px; }
.nav a { font-weight: 600; text-decoration: none; }

section { padding-block: clamp(52px, 7vw, 96px); scroll-margin-top: 8px; }
.hero { padding-block: 0 clamp(52px, 7vw, 96px); }

.logo { display: block; width: 100%; height: auto; }
.hero-text { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: end; margin-top: clamp(40px, 6vw, 72px); }
.hero-text p { margin-top: 0; max-width: 46ch; font-size: 1.1875rem; line-height: 1.5; }
.hero-text .actions { margin-bottom: 0; }

h1, h2, h3 { font: var(--heavy); letter-spacing: .012em; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(2.75rem, 7.2vw, 5.75rem); line-height: 1.02; }
h2 { margin: 0 0 .4em; max-width: 20ch; font-size: clamp(2.125rem, 4.8vw, 3.75rem); line-height: 1.05; }
.lead { margin: 0 0 clamp(32px, 4vw, 56px); max-width: 62ch; font-size: 1.1875rem; line-height: 1.5; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: .8em 1.35em; border-radius: var(--radius); font-weight: 600; line-height: 1.2; text-decoration: none; }
.btn-solid { background: var(--black); color: var(--yellow); }
.btn-line { box-shadow: inset 0 0 0 3px var(--black); }
.btn-yellow { background: var(--yellow); color: var(--black); }
/* Only real pointers: on touch screens :hover stays stuck after a tap and looks like a selected state. */
@media (hover: hover) {
  .nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
  .btn-solid:hover, .btn-yellow:hover { text-decoration: underline; text-underline-offset: 3px; }
  .btn-line:hover { background: var(--black); color: var(--yellow); }
}

.reasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.reasons h3 { margin: 0 0 .45em; font-size: 1.5rem; line-height: 1.12; }
.reasons p { margin: 0; }

.rack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); align-items: start; }
.rack > :nth-child(even) { margin-top: clamp(40px, 6vw, 84px); }

.window { display: block; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--radius); background: var(--black); color: var(--yellow); text-decoration: none; }
.window h3 { margin: 0 0 .55em; font-size: clamp(1.625rem, 2.5vw, 2rem); }
.window p { margin: 0 0 .8em; }
.window p:last-child { margin-bottom: 0; }
.window ul, .window ol { margin: 0; padding: 0; list-style: none; }
.window ul li { position: relative; padding-left: 1.25em; }
.window ul li + li { margin-top: .25em; }
.window ul li::before { content: ""; position: absolute; left: 0; top: .58em; width: .5em; height: .5em; border-radius: 50%; background: currentColor; }

.ref { padding: 0; overflow: hidden; }
.window.ref h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; padding: 14px 20px; font-size: clamp(1.25rem, 2vw, 1.5rem); overflow-wrap: anywhere; }
.ref-shot { display: block; margin-inline: 8px; aspect-ratio: 8 / 5; border-radius: 4px; overflow: hidden; background: var(--yellow); }
.ref-shot img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12); mix-blend-mode: multiply; }
.is-dark img { filter: grayscale(1) invert(1) contrast(1.12); }
a.ref:hover .ref-shot img, a.ref:focus-visible .ref-shot img { filter: none; mix-blend-mode: normal; }
.window.ref p { margin: 0; padding: 14px 20px 20px; }
.ref strong { font-weight: 600; }
.more { margin: clamp(32px, 4vw, 52px) 0 0; max-width: 62ch; }

.step h3 span { display: inline-block; margin-right: .2em; }

.timeline li { display: grid; grid-template-columns: 5.2em minmax(0, 1fr); gap: 0 12px; }
.timeline li + li { margin-top: .6em; }
.timeline b { font: 900 1.125rem/1.5 "Fira Sans", Impact, sans-serif; letter-spacing: .012em; }

.contact { max-width: 720px; margin-inline: auto; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius); background: var(--black); color: var(--yellow); }
.contact h2 { max-width: none; font-size: clamp(2rem, 4vw, 3rem); }
.contact p { margin: 0 0 1em; max-width: 52ch; }
.contact .contact-note { margin: 0; font-weight: 600; }

.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 0 28px; font-size: .9375rem; }
.footer p { margin: 0; }
.footer a { margin-left: 1em; }
.footer a:first-child { margin-left: 0; }

@media (max-width: 900px) {
  .hero-text { grid-template-columns: minmax(0, 1fr); }
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .rack { grid-template-columns: minmax(0, 1fr); }
  .rack > :nth-child(even) { margin-top: 0; }
  :root { --bar: 54px; }
  .frame { padding-top: 20px; }
  .nav { position: fixed; z-index: 2; inset: auto 0 0; padding-bottom: env(safe-area-inset-bottom); background: var(--black); }
  .nav nav { flex: 1; flex-wrap: nowrap; gap: 0; padding: 0 4px; }
  .nav a { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; min-height: var(--bar); color: var(--yellow); font-size: .875rem; }
  .nav a:active { background: var(--yellow); color: var(--black); }
  .ref-shot { aspect-ratio: 2 / 1; }
  .ref-shot img { object-position: top; }
  .footer { padding-bottom: calc(28px + var(--bar) + env(safe-area-inset-bottom)); }
  .footer a { display: inline-block; min-width: 44px; padding-block: 12px; }
}

@media (max-width: 460px) {
  .reasons { grid-template-columns: minmax(0, 1fr); }
  .btn { display: block; flex-basis: 100%; text-align: center; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .drop { animation: drop .75s cubic-bezier(.45, 0, .7, 1) backwards; }
  .drop:nth-of-type(2) { animation-delay: .14s; }
  .drop:nth-of-type(3) { animation-delay: .28s; }
  @keyframes drop { from { transform: translateY(-70px); opacity: 0; } }
}
