/* ==========================================================================
   Ratnamech Industries: design tokens and global styles
   Palette taken from 1930s industrial poster art, tied back to the logo navy.
   ========================================================================== */

:root {
  --ink: #1b1a2a;          /* aubergine-navy: text, dark panels */
  --ink-2: #2a2340;        /* aubergine */
  --navy: #14294a;         /* logo navy */
  --oxide: #b8381e;        /* oxide red: accent, CTAs */
  --oxide-hi: #d4553a;
  --bone: #e7e1d6;         /* page background */
  --bone-2: #f3efe8;       /* raised surface */
  --paper: #ede8de;
  --lilac: #a9a5be;        /* steel lilac */
  --lilac-2: #cac7d8;
  --steel: #7d8094;
  --sky: #c6e1dd;          /* pale poster sky */
  --coolant: #4fd1c1;      /* data centre accent */
  --coolant-deep: #0f3b44;

  /* page theme (animated as sections scroll past; see ScrollTheme.tsx) */
  --bg: #e7e1d6;
  --fg: #1b1a2a;
  --muted: rgba(27, 26, 42, 0.72);
  --line: rgba(27, 26, 42, 0.16);
  --line-strong: rgba(27, 26, 42, 0.4);
  --pipe: #7d8094;

  --maxw: 1360px;
  --gutter: clamp(28px, 4vw, 56px);
  /* left edge of .container content, so full-bleed copy lines up with it and clears the pipe */
  --edge: max(var(--gutter), min(calc((100vw - var(--maxw)) / 2 + var(--gutter)), 120px));
  --header-h: 76px;

  --f-display: var(--font-display), 'Big Shoulders', 'Arial Narrow', Impact, sans-serif;
  --f-body: var(--font-body), 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: var(--font-mono), 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}


html[data-theme='sky'] {
  --bg: #c6e1dd;
}
html[data-theme='ink'] {
  --bg: #1b1a2a;
  --fg: #e7e1d6;
  --muted: rgba(231, 225, 214, 0.72);
  --line: rgba(231, 225, 214, 0.16);
  --line-strong: rgba(231, 225, 214, 0.4);
}
html[data-theme='oxide'] {
  --bg: #b8381e;
  --fg: #f3efe8;
  --muted: rgba(243, 239, 232, 0.85);
  --line: rgba(243, 239, 232, 0.25);
  --line-strong: rgba(243, 239, 232, 0.55);
}
/* Page colour fades on one fixed layer (cheap to paint) instead of restyling every element. */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg);
  transition: background-color 0.8s var(--ease);
  pointer-events: none;
}

/* Until ScrollTheme takes over, each section paints its own colours (no flash, works without JS). */
[data-theme='bone'] { background: #e7e1d6; color: #1b1a2a; }
[data-theme='sky'] { background: #c6e1dd; color: #1b1a2a; }
[data-theme='ink'] { background: #1b1a2a; color: #e7e1d6; }
[data-theme='oxide'] { background: #b8381e; color: #f3efe8; }
html.theme-ready main [data-theme] {
  background: transparent;
  color: inherit;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  transition: color 0.35s linear;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

::selection {
  background: var(--oxide);
  color: var(--bone);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--bone);
  padding: 10px 14px;
}
.skip-link:focus {
  top: 12px;
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(56px, 7vw, 104px) 0;
  position: relative;
}

.section--tight {
  padding: clamp(40px, 5vw, 72px) 0;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- Type ---------- */

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: currentColor;
}
.eyebrow::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--oxide);
  flex: none;
}
.eyebrow--aqua::before {
  background: var(--coolant);
}

.display {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.005em;
}

.display-xl {
  font-size: clamp(64px, 10.5vw, 176px);
}
.display-l {
  font-size: clamp(40px, 5.4vw, 88px);
}
.display-m {
  font-size: clamp(36px, 4.6vw, 72px);
}
.display-s {
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 0.95;
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 2px currentColor;
}
.text-oxide {
  color: var(--oxide);
}
.text-coolant {
  color: var(--coolant);
}

.lede {
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.55;
  max-width: 38ch;
}

.body-muted {
  color: var(--muted);
}

.mono {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 22px;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid currentColor;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}
.btn:hover svg {
  transform: translateX(4px);
}
.btn--primary {
  background: var(--oxide);
  border-color: var(--oxide);
  color: var(--bone-2);
}
.btn--primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.btn--light {
  color: var(--bone);
}
.btn--light:hover {
  background: var(--bone);
  color: var(--ink);
  border-color: var(--bone);
}
.btn--aqua {
  background: var(--coolant);
  border-color: var(--coolant);
  color: var(--ink);
}
.btn--aqua:hover {
  background: var(--bone);
  border-color: var(--bone);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 4px;
}

/* ---------- Header ---------- */
/* Drawn like a drawing title block: logo, numbered link cells, a live works readout,
   and a full-height quote block. The bottom line fills with reading progress. */

.site-header {
  --rule: rgba(27, 26, 42, 0.16);
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  color: var(--ink);
  background: #e7e1d6;
  border-bottom: 1px solid var(--rule);
  transition: height 0.3s var(--ease);
}
html.is-scrolled {
  --header-h: 64px;
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: stretch;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  padding: 0 clamp(18px, 2vw, 32px) 0 var(--edge);
  border-right: 1px solid var(--rule);
}
.brand__mark {
  height: 36px;
  width: auto;
}
.brand__word {
  height: 20px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-width: 0;
}
.nav-cell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 0 clamp(12px, 1.25vw, 22px);
  border-right: 1px solid var(--rule);
  font-size: 14px;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.nav-cell small {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--oxide);
}
.nav-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #c6e1dd;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease);
}
.nav-cell:hover::before {
  transform: scaleY(1);
}
.nav-cell[aria-current='page'] {
  color: #e7e1d6;
}
.nav-cell[aria-current='page']::before {
  background: #1b1a2a;
  transform: scaleY(1);
}
.nav-cell[aria-current='page'] small {
  color: var(--coolant);
}
.nav-cell[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--oxide);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.hdr-status {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 22px;
  border-left: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  min-width: 150px;
}
.hdr-status span:first-child {
  opacity: 0.6;
}
.hdr-status span:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hdr-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--steel);
}
.hdr-status .is-open i {
  background: #2fae7a;
  box-shadow: 0 0 0 0 rgba(47, 174, 122, 0.5);
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  to {
    box-shadow: 0 0 0 8px rgba(47, 174, 122, 0);
  }
}

.hdr-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 var(--edge) 0 26px;
  background: var(--oxide);
  color: #f3efe8;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 19px;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.3s var(--ease);
}
.hdr-cta span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hdr-cta small {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  opacity: 0.8;
}
.hdr-cta svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease);
}
.hdr-cta:hover {
  background: #1b1a2a;
}
.hdr-cta:hover svg {
  transform: translateX(5px);
}

.hdr-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--oxide);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  pointer-events: none;
}

.hdr-wa,
.menu-btn {
  display: none;
}

/* the empty stretch of the title block is hatched, like an unused cell on a drawing */
.site-nav::after {
  content: '';
  flex: 1 1 auto;
  background: repeating-linear-gradient(135deg, transparent 0 9px, rgba(27, 26, 42, 0.08) 9px 10px);
}
@media (max-width: 1360px) {
  .hdr-status {
    display: none;
  }
}

/* ---------- Phones and tablets: cells collapse into a full-screen menu ---------- */
@media (max-width: 1080px) {
  .brand {
    padding-left: var(--gutter);
    border-right: 0;
    margin-right: auto;
  }
  .site-nav,
  .hdr-cta {
    display: none;
  }
  .hdr-wa {
    display: grid;
    place-items: center;
    width: var(--header-h);
    border-left: 1px solid var(--rule);
    color: #1b1a2a;
    transition: background 0.3s var(--ease);
  }
  .hdr-wa svg {
    width: 24px;
    height: 24px;
  }
  .hdr-wa:hover {
    background: #c6e1dd;
  }
  .menu-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 var(--gutter) 0 18px;
    border-left: 1px solid var(--rule);
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: inherit;
    transition: background 0.35s var(--ease), color 0.35s var(--ease);
  }
  .menu-btn__label {
    min-width: 4.4em;
    text-align: right;
  }
  .menu-btn__icon {
    position: relative;
    width: 22px;
    height: 12px;
  }
  .menu-btn__icon i {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 0.4s var(--ease), width 0.4s var(--ease);
  }
  .menu-btn__icon i:first-child {
    top: 0;
  }
  .menu-btn__icon i:last-child {
    bottom: 0;
    width: 60%;
  }
  .nav-open .menu-btn {
    background: #1b1a2a;
    color: #e7e1d6;
  }
  .nav-open .menu-btn__icon i:first-child {
    transform: translateY(5px) rotate(45deg);
  }
  .nav-open .menu-btn__icon i:last-child {
    width: 100%;
    transform: translateY(-5px) rotate(-45deg);
  }

  .menu {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    bottom: 0;
    z-index: 49;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 8px var(--gutter) calc(18px + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: #1b1a2a;
    color: #e7e1d6;
    border-top: 3px solid var(--coolant);
    visibility: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.55s var(--ease), visibility 0s linear 0.55s;
  }
  .nav-open .menu {
    visibility: visible;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 125%);
    transition: clip-path 0.65s var(--ease), visibility 0s;
  }
  .menu__links {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .menu__links li {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav-open .menu__links li {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    transition-delay: calc(var(--i) * 55ms + 120ms);
  }
  .menu__links a {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(231, 225, 214, 0.12);
  }
  .menu__links small {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--coolant);
  }
  .menu__links span {
    font-family: var(--f-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(32px, 9.4vw, 48px);
    line-height: 0.95;
  }
  .menu__links svg {
    width: 20px;
    height: 20px;
    opacity: 0.35;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }
  .menu__links a:hover svg {
    opacity: 1;
    transform: translateX(4px);
  }
  .menu__links a[aria-current='page'] span {
    color: var(--oxide-hi);
  }
  .menu__links a[aria-current='page'] svg {
    opacity: 1;
    color: var(--oxide-hi);
  }

  .menu__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav-open .menu__actions {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s var(--ease) 0.5s, transform 0.6s var(--ease) 0.5s;
  }
  .menu__tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(231, 225, 214, 0.24);
    font-family: var(--f-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 1;
  }
  .menu__tile svg {
    width: 26px;
    height: 26px;
    flex: none;
  }
  .menu__tile span {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .menu__tile small {
    font-family: var(--f-mono);
    font-weight: 400;
    font-size: 9.5px;
    letter-spacing: 0.16em;
    opacity: 0.7;
  }
  .menu__tile--wa {
    background: var(--coolant);
    border-color: var(--coolant);
    color: #1b1a2a;
  }
  .menu__quote {
    grid-column: span 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 16px;
    background: var(--oxide);
    color: #f3efe8;
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .menu__quote svg {
    width: 18px;
    height: 18px;
  }
  .menu__giant {
    margin-top: auto;
    font-family: var(--f-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 19vw;
    line-height: 0.8;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
  }
  .nav-open .menu__giant {
    opacity: 1;
    transition: opacity 1s var(--ease) 0.6s;
  }
  .menu__giant span:first-child {
    color: transparent;
    -webkit-text-stroke: 1.2px rgba(231, 225, 214, 0.3);
  }
  .menu__giant span:last-child {
    color: rgba(125, 128, 148, 0.55);
  }
  .menu__foot {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(231, 225, 214, 0.12);
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(231, 225, 214, 0.55);
  }
}
@media (min-width: 1081px) {
  .menu {
    display: none;
  }
}
@media (max-width: 760px) {
  .brand__mark {
    height: 32px;
  }
  .brand__word {
    height: 17px;
  }
  .menu-btn__label {
    display: none;
  }
  .menu-btn {
    padding: 0 var(--gutter) 0 var(--gutter);
  }
}
@media (max-width: 380px) {
  .brand__word {
    display: none;
  }
}
@media (max-width: 1080px) and (max-height: 720px) {
  .menu__giant {
    display: none;
  }
  .menu__foot {
    margin-top: auto;
  }
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  overflow: hidden;
}
.hero__copy {
  padding: clamp(40px, 6vw, 96px) 0 clamp(40px, 5vw, 72px) var(--edge);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.hero__title {
  margin-top: 28px;
}
.hero .hero__title {
  font-size: clamp(56px, 8.4vw, 148px);
}
.dc-hero .hero__title {
  font-size: clamp(52px, 7.4vw, 128px);
}
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title .line > span {
  display: block;
  animation: rise 1.1s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 110ms + 150ms);
}
@keyframes rise {
  from {
    transform: translateY(105%);
  }
}
.hero__lede {
  margin-top: 28px;
  animation: fadeup 1s var(--ease) 0.6s both;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  animation: fadeup 1s var(--ease) 0.75s both;
}
@keyframes fadeup {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.hero__meta dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
}
.hero__meta dd {
  margin: 4px 0 0;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1;
}
.hero__art {
  position: relative;
  min-height: 560px;
}
.hero__art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero__copy {
    padding-right: var(--gutter);
  }
  .hero__art {
    min-height: 0;
    aspect-ratio: 4 / 4.2;
  }
  .hero__meta {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .hero__meta dd {
    font-size: 22px;
  }
}

.hero__cut {
  display: none;
}

/* Phone hero: a single-screen poster. Illustration fills the top,
   the copy sits on a bone panel cut at an angle with an oxide edge. */
@media (max-width: 760px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: calc(100svh - var(--header-h));
  }
  .hero__art {
    order: -1;
    flex: 1 1 auto;
    min-height: 34svh;
    aspect-ratio: auto;
  }
  .hero__copy {
    --cut: 9vw;
    margin-top: calc(-1 * var(--cut));
    padding: calc(var(--cut) + 18px) var(--gutter) 22px;
    background: var(--bone);
    clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
    gap: 20px;
  }
  .hero__cut {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: calc(var(--cut) + 10px);
    background: var(--oxide);
    clip-path: polygon(0 var(--cut), 100% 0, 100% 10px, 0 calc(var(--cut) + 10px));
  }
  .hero__copy .eyebrow {
    font-size: 10px;
  }
  .hero__title {
    margin-top: 14px;
  }
  .hero .hero__title {
    font-size: min(15vw, 70px);
    line-height: 0.86;
  }
  .hero .hero__lede {
    display: none;
  }
  .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 22px;
  }
  .hero__actions .btn {
    justify-content: center;
    padding: 14px 8px;
    font-size: 10.5px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
  .hero__meta {
    padding-top: 14px;
    gap: 10px;
  }
  .hero__meta dt {
    font-size: 9.5px;
  }
  .hero__meta dd {
    font-size: 20px;
  }
}

/* ---------- Ticker ---------- */

.ticker {
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.ticker:hover .ticker__track {
  animation-play-state: paused;
}
.ticker__item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 28px 18px 0;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__item::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--oxide);
  transform: rotate(45deg);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Section headings ---------- */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  gap: 32px 48px;
  margin-bottom: clamp(28px, 3.6vw, 48px);
}
.section-head .display {
  margin-top: 18px;
}
@media (max-width: 860px) {
  .section-head {
    grid-template-columns: 1fr;
  }
}

/* ---------- Products ---------- */

.products {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.product {
  grid-column: span 4;
  background: var(--bone);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.35s var(--ease);
}
.product:hover {
  background: var(--bone-2);
}
.product--feature {
  grid-column: span 4;
}
.product__art {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.product--feature .product__title {
  color: var(--oxide);
}
.product__art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease);
}
.product__art .duo,
.pindex__art .duo {
  position: absolute;
  inset: 0;
}
/* the whole card shows the photo in colour on hover, not just the image area */
.product:hover .duo img,
.pindex button:hover .duo img,
.pindex button.is-active .duo img {
  filter: none;
  mix-blend-mode: normal;
}
.product:hover .duo::after,
.pindex button:hover .duo::after,
.pindex button.is-active .duo::after {
  opacity: 0;
}
.product:hover .duo img {
  transform: scale(1.03);
}

/* the poster illustration, kept as a small square badge on the photo */
.art-inset {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  width: clamp(64px, 24%, 120px);
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bone-2);
  border: 2px solid var(--bone-2);
  box-shadow: 0 6px 18px rgba(27, 26, 42, 0.28);
  pointer-events: none;
}
.art-inset svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.product__body {
  padding: 18px 22px 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  align-items: baseline;
}
.product__num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--oxide);
  letter-spacing: 0.1em;
}
.product__title {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 30px;
  line-height: 0.95;
}

.product__desc {
  grid-column: 2;
  font-size: 15px;
  color: rgba(27, 26, 42, 0.72);
  margin-top: 6px;
  max-width: 46ch;
}
.product__chips {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.chip {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border: 1px solid currentColor;
  opacity: 0.85;
  white-space: nowrap;
}
.product__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: var(--oxide);
  color: var(--bone-2);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
}
@media (max-width: 1080px) {
  .product {
    grid-column: span 6;
  }
  .product--feature {
    grid-column: span 12;
    grid-row: auto;
  }
}
@media (max-width: 640px) {
  .product,
  .product--feature {
    grid-column: span 6;
  }
  .product__body {
    display: block;
    padding: 12px 14px 14px;
  }
  .product__num {
    display: block;
  }
  .product__title {
    font-size: 22px;
  }
  .product__desc,
  .product__chips,
  .product__tag {
    display: none;
  }
  .industry {
    padding: 16px;
  }
  .industry p {
    display: none;
  }
  .industry h3 {
    font-size: 22px;
  }
  .industry__art {
    height: 70px;
  }
}

/* ---------- Spool assembly (scroll-driven) ---------- */

.assembly {
  position: relative;
  height: 210vh;
}
.assembly__sticky {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  overflow: hidden;
}
.assembly__copy .display {
  font-size: clamp(44px, 5vw, 84px);
}
.assembly__copy {
  padding: clamp(32px, 5vw, 72px) var(--gutter) clamp(32px, 5vw, 72px) var(--edge);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.assembly__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}
.assembly__steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 4px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0.38;
  transition: opacity 0.4s var(--ease);
}
.assembly__steps li.is-active {
  opacity: 1;
}
.assembly__steps li .mono {
  color: var(--oxide);
}
.assembly__steps strong {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1;
}
.assembly__steps p {
  grid-column: 2;
  font-size: 14px;
  color: var(--muted);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.assembly__steps li.is-active p {
  max-height: 80px;
}
.assembly__art {
  position: relative;
}
.assembly__art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.assembly__progress {
  height: 3px;
  background: var(--line);
  margin-top: 20px;
  position: relative;
}
.assembly__progress span {
  position: absolute;
  inset: 0;
  background: var(--oxide);
  transform-origin: left;
}
@media (max-width: 960px) {
  .assembly {
    height: 200vh;
  }
  .assembly__sticky {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .assembly__copy {
    padding-bottom: 0;
    gap: 16px;
  }
  .assembly__copy .display {
    font-size: 40px;
  }
  .assembly__steps li {
    padding: 8px 0;
  }
  .assembly__steps li:not(.is-active) {
    display: none;
  }
  .assembly__intro {
    display: none;
  }
  .assembly__art {
    margin: 0 var(--gutter);
  }
}

/* ---------- Dark panels (data centre) ---------- */

.dark {
  background: var(--ink);
  color: var(--bone);
}


.dc-teaser {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 48px;
  align-items: center;
}
.dc-teaser__art {
  aspect-ratio: 1 / 1;
  position: relative;
  width: 100%;
  max-width: 500px;
  justify-self: center;
}
.dc-teaser__art svg {
  width: 100%;
  height: 100%;
}
.dc-teaser__list {
  list-style: none;
  padding: 0;
  margin: 32px 0 40px;
  border-top: 1px solid var(--line);
}
.dc-teaser__list li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.dc-teaser__list .mono {
  color: var(--coolant);
  width: 32px;
  flex: none;
}
@media (max-width: 960px) {
  .dc-teaser {
    grid-template-columns: 1fr;
  }
}

/* flowing coolant lines */
.flow {
  stroke-dasharray: 10 14;
  animation: flow 1.6s linear infinite;
}
.flow--slow {
  animation-duration: 3s;
}
.flow--rev {
  animation-direction: reverse;
}
@keyframes flow {
  to {
    stroke-dashoffset: -48;
  }
}

/* ---------- Industries ---------- */

.industries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.industry {
  background: var(--bone);
  color: var(--ink);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.industry__art {
  height: 100px;
  margin: -4px -4px 0;
}
.industry__art svg {
  height: 100%;
  width: auto;
  transition: transform 0.6s var(--ease);
}
.industry:hover {
  background: var(--ink);
  color: var(--bone);
}
.industry__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.industry__media .duo {
  position: absolute;
  inset: 0;
}
.industry:hover .duo img {
  filter: none;
  mix-blend-mode: normal;
  transform: scale(1.03);
}
.industry:hover .duo::after {
  opacity: 0;
}
.industry__body {
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.industry .art-inset svg {
  padding: 8%;
}
.industry h3 {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 0.95;
}
.industry p {
  font-size: 15px;
  opacity: 0.75;
}
.industry .mono {
  margin-top: auto;
  color: var(--oxide);
}
@media (max-width: 960px) {
  .industries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .industries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Duotone photos ---------- */
/* Any photo is converted to a two-colour print: shadows -> --duo-dark, highlights -> --duo-light.
   Hover reveals full colour. Works with any photo quality. */

.duo {
  --duo-dark: var(--ink);
  --duo-light: var(--sky);
  position: relative;
  overflow: hidden;
  background: var(--duo-light);
  isolation: isolate;
}
.duo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(1.05);
  mix-blend-mode: multiply;
  transition: filter 0.6s var(--ease), transform 1.2s var(--ease);
}
.duo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--duo-dark);
  mix-blend-mode: lighten;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.duo--reveal:hover img {
  filter: none;
  mix-blend-mode: normal;
  transform: scale(1.03);
}
.duo--reveal:hover::after {
  opacity: 0;
}
.duo--oxide {
  --duo-dark: #2a1414;
  --duo-light: #e9a08c;
}
.duo--aqua {
  --duo-dark: #0b1d2a;
  --duo-light: #8fe0d5;
}
.duo--bone {
  --duo-dark: var(--ink);
  --duo-light: var(--bone);
}

/* placeholder shown until a real photo is supplied */
.duo__placeholder {
  position: absolute;
  inset: 0;
  background-color: var(--duo-light);
  background-image: radial-gradient(var(--duo-dark) 1.1px, transparent 1.4px);
  background-size: 9px 9px;
  opacity: 0.9;
}
.duo__placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--duo-light) 30%, transparent 85%);
}
.duo__label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  right: 16px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--duo-dark);
}
.duo__label span {
  background: var(--duo-light);
  padding: 4px 8px;
}
.duo__label span:last-child {
  opacity: 0.75;
}
.duo__icon {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  width: 28px;
  height: 28px;
  color: var(--duo-dark);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(140px, 14vw, 210px);
  gap: 12px;
}
.photo-grid .duo:nth-child(1) {
  grid-column: span 7;
  grid-row: span 3;
}
.photo-grid .duo:nth-child(2) {
  grid-column: span 5;
  grid-row: span 2;
}
.photo-grid .duo:nth-child(3) {
  grid-column: span 5;
  grid-row: span 2;
}
.photo-grid .duo:nth-child(4) {
  grid-column: span 7;
  grid-row: span 1;
}
@media (max-width: 760px) {
  .photo-grid {
    grid-auto-rows: 200px;
  }
  .photo-grid .duo:nth-child(n) {
    grid-column: span 12;
    grid-row: span 1;
  }
  .photo-grid .duo:nth-child(1) {
    grid-row: span 2;
  }
}

/* ---------- Process ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1.5px solid currentColor;
}
.process__step {
  padding: 24px 24px 32px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.process__step + .process__step {
  padding-left: 24px;
}
.process__step:last-child {
  border-right: 0;
}
.process__step::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  background: var(--oxide);
}
.process__step + .process__step::before {
  left: 24px;
}
.process__step .mono {
  opacity: 0.6;
}
.process__step h3 {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1;
  margin: 16px 0 10px;
}
.process__step p {
  font-size: 15px;
  color: var(--muted);
}
@media (max-width: 960px) {
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .process__step,
  .process__step + .process__step {
    padding: 24px 16px 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .process__step::before,
  .process__step + .process__step::before {
    left: 0;
  }
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
}
.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 40px;
  align-items: end;
}
.cta-band .lattice {
  position: absolute;
  right: -40px;
  top: 0;
  bottom: 0;
  width: 46%;
  opacity: 0.16;
  pointer-events: none;
}
.cta-band .btn--primary {
  background: var(--ink);
  border-color: var(--ink);
}
.cta-band .btn--primary:hover {
  background: var(--bone-2);
  color: var(--ink);
  border-color: var(--bone-2);
}
@media (max-width: 860px) {
  .cta-band__inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */
/* Always ink, independent of the page colour, with an angled top edge like the phone hero. */

.site-footer {
  --fg: #e7e1d6;
  --muted: rgba(231, 225, 214, 0.62);
  --line: rgba(231, 225, 214, 0.14);
  --line-strong: rgba(231, 225, 214, 0.36);
  --cut: clamp(28px, 5vw, 72px);
  position: relative;
  z-index: 3;
  margin-top: calc(-1 * var(--cut));
  padding: calc(var(--cut) + clamp(40px, 5vw, 72px)) 0 24px;
  background: #1b1a2a;
  color: var(--fg);
  clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
}
.site-footer__cut {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(var(--cut) + 6px);
  background: var(--coolant);
  clip-path: polygon(0 var(--cut), 100% 0, 100% 6px, 0 calc(var(--cut) + 6px));
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr));
  gap: 40px;
}
.site-footer__brand img {
  width: 180px;
  height: auto;
}
.site-footer__brand p {
  margin-top: 18px;
  max-width: 34ch;
  color: var(--muted);
  font-size: 15px;
}
.social-card {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 10px;
  border: 1px solid var(--line-strong);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.social-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--oxide);
  color: #f3efe8;
}
.social-card__icon svg {
  width: 22px;
  height: 22px;
}
.social-card__text {
  display: flex;
  flex-direction: column;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.01em;
}
.social-card__text small {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.social-card > svg {
  width: 18px;
  height: 18px;
  margin-left: 6px;
  transition: transform 0.3s var(--ease);
}
.social-card:hover {
  background: rgba(231, 225, 214, 0.06);
  border-color: var(--oxide-hi);
}
.social-card:hover > svg {
  transform: translateX(4px);
}
.site-footer h4 {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 10px;
}
.site-footer h4 span {
  color: var(--coolant);
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}
.site-footer li a {
  display: inline-block;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.site-footer li a:hover {
  color: var(--oxide-hi);
  transform: translateX(4px);
}
.site-footer li.is-muted {
  color: var(--muted);
}
.site-footer a.with-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.site-footer a.with-icon svg {
  width: 18px;
  height: 18px;
  color: var(--coolant);
}
.site-footer__giant {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(60px, 19vw, 278px);
  line-height: 0.8;
  letter-spacing: -0.01em;
  margin: clamp(36px, 5vw, 72px) 0 20px;
  white-space: nowrap;
}
.site-footer__giant span:first-child {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(231, 225, 214, 0.42);
}
.site-footer__giant span:last-child {
  color: #7d8094;
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 960px) {
  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
  .site-footer__brand {
    grid-column: span 2;
  }
  .site-footer__contact {
    grid-column: span 2;
  }
  .site-footer__contact ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
  }
}

/* ---------- Data centre page ---------- */

.dc-hero {
  position: relative;
  min-height: calc(82svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.dc-hero__art {
  position: absolute;
  inset: 0;
}
.dc-hero__art svg {
  width: 100%;
  height: 100%;
}
.dc-hero__copy {
  position: relative;
  z-index: 2;
  padding-top: 96px;
  padding-bottom: clamp(36px, 4.5vw, 64px);
  background: linear-gradient(to top, var(--bg) 35%, transparent);
}
.dc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
  align-items: end;
}
@media (max-width: 860px) {
  .dc-hero__grid {
    grid-template-columns: 1fr;
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.stat {
  padding: 28px 24px 8px 0;
}
.stat + .stat {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.stat__num {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(48px, 5.4vw, 84px);
  line-height: 0.85;
  color: var(--coolant);
}
.stat__num small {
  font-size: 0.42em;
  margin-left: 6px;
  color: var(--bone);
}
.stat p {
  margin-top: 14px;
  font-size: 15px;
  max-width: 30ch;
  color: var(--muted);
}
.source-note {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0.55;
  margin-top: 28px;
}
.source-note a {
  text-decoration: underline;
}
@media (max-width: 760px) {
  .stats {
    grid-template-columns: 1fr;
  }
  .stat + .stat {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* follow-the-coolant (click-through stepper) */
.loop {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.loop__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.loop__step {
  border-bottom: 1px solid var(--line);
}
.loop__head {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  text-align: left;
  opacity: 0.45;
  transition: opacity 0.3s var(--ease);
}
.loop__head:hover,
.is-active .loop__head {
  opacity: 1;
}
.loop__head .mono {
  color: var(--coolant);
  width: 24px;
  flex: none;
}
.loop__head h3 {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
  margin: 0;
}
.loop__body {
  padding: 0 0 18px 40px;
  position: relative;
  animation: fadeup 0.4s var(--ease) both;
}
.loop__body p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 12px;
}
.loop__timer {
  position: absolute;
  left: 40px;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--coolant);
  transform-origin: left;
  animation: timer linear both;
}
@keyframes timer {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.loop__diagram {
  height: min(64vh, 600px);
  display: flex;
  flex-direction: column;
}
.loop__diagram svg {
  width: 100%;
  height: 100%;
}
.loop__diagram [data-stage] {
  transition: opacity 0.5s var(--ease);
}
.loop__legend {
  display: flex;
  gap: 20px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
}
.loop__legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.loop__legend i {
  width: 18px;
  height: 3px;
  display: inline-block;
}
@media (max-width: 960px) {
  .loop {
    grid-template-columns: 1fr;
  }
  .loop__diagram {
    height: 44vh;
    order: -1;
  }
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.benefit {
  background: var(--bone);
  color: var(--ink);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 230px;
}
.benefit svg {
  width: 56px;
  height: 56px;
}
.benefit h3 {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 30px;
  line-height: 0.95;
  margin-top: auto;
}
.benefit p {
  font-size: 15px;
  color: rgba(27, 26, 42, 0.72);
}
@media (max-width: 1000px) {
  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .benefits {
    grid-template-columns: 1fr;
  }
  .benefit {
    min-height: 0;
  }
}

.grades {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.grade {
  border: 1.5px solid currentColor;
  padding: clamp(24px, 3vw, 40px);
  position: relative;
  overflow: hidden;
}
.grade__big {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(72px, 8vw, 128px);
  line-height: 0.8;
}
.grade--alt {
  background: var(--ink);
  color: var(--bone);
}
.grade--alt .grade__big {
  color: var(--coolant);
}
.grade dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  margin: 28px 0 0;
  font-size: 15px;
}
.grade dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  padding-top: 3px;
}
.grade dd {
  margin: 0;
}
@media (max-width: 760px) {
  .grades {
    grid-template-columns: 1fr;
  }
}

.dc-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.dc-photos .duo {
  aspect-ratio: 3 / 4;
}
.dc-photos .duo:nth-child(2) {
  margin-top: 64px;
}
@media (max-width: 760px) {
  .dc-photos {
    grid-template-columns: 1fr;
  }
  .dc-photos .duo {
    aspect-ratio: 4 / 3;
  }
  .dc-photos .duo:nth-child(2) {
    margin-top: 0;
  }
}

/* ---------- Coming soon pages ---------- */

.soon {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: center;
  gap: 40px;
}
.soon svg {
  width: 100%;
  height: auto;
}
@media (max-width: 860px) {
  .soon {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }
}

/* ---------- Motion preferences ---------- */

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

/* ---------- Illustration motion ---------- */

.sway {
  transform-box: view-box;
  transform-origin: 560px 184px;
  animation: sway 7s ease-in-out infinite;
}
@keyframes sway {
  0%,
  100% {
    transform: rotate(-1.4deg);
  }
  50% {
    transform: rotate(1.4deg);
  }
}
/* animations pause while their illustration is off screen (see RevealObserver) */
.anim-paused,
.anim-paused * {
  animation-play-state: paused !important;
}
.spin {
  transform-box: view-box;
  animation: spin 2.4s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.cta-band .eyebrow::before {
  background: var(--bone-2);
}

html[data-theme='oxide'] .eyebrow::before {
  background: var(--bone-2);
}
html[data-theme='oxide'] .btn--primary {
  background: var(--ink);
  border-color: var(--ink);
}

/* ---------- Continuous pipe ---------- */

main {
  position: relative;
}
.pipeflow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 3;
  color: var(--fg);
}
.pipeflow svg {
  overflow: visible;
}
.pipeflow svg path {
  transition: stroke-dashoffset 1.1s var(--ease);
}
.pipe-pulse {
  animation: pulse 1.6s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes pulse {
  from {
    transform: scale(0.6);
    opacity: 0.5;
  }
  to {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* ---------- Page heroes (inner pages) ---------- */

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  min-height: calc(64svh - var(--header-h));
  align-items: stretch;
}
.page-hero__copy {
  padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(40px, 5vw, 72px) var(--edge);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
}
.page-hero__copy .display {
  font-size: clamp(44px, 6.4vw, 112px);
}
.page-hero__art {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}
.page-hero__art > svg,
.page-hero__art > figure {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 900px) {
  .page-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .page-hero__art {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* ---------- Product index + sticky product nav ---------- */

.pindex {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pindex button {
  background: var(--bone);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.pindex button:hover {
  background: var(--bone-2);
}
.pindex button.is-active {
  background: var(--ink);
  color: var(--bone);
}
.pindex button.is-active small {
  color: var(--oxide-hi);
}
.pindex__art {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}
.pindex__art .art-inset {
  width: 34%;
  right: 6px;
  bottom: 6px;
  border-width: 1.5px;
  box-shadow: 0 3px 10px rgba(27, 26, 42, 0.3);
}
.pindex span {
  padding: 10px 14px 12px;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1;
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.pindex small {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 11px;
  color: var(--oxide);
}
@media (max-width: 1000px) {
  .pindex {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .pindex {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pnav {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: var(--ink);
  color: var(--bone);
  transition: top 0.3s var(--ease);
}
.pnav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0 var(--gutter);
  max-width: var(--maxw);
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pnav a {
  display: block;
  padding: 14px 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.6;
  border-bottom: 3px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}
.pnav a:hover,
.pnav a.is-active {
  opacity: 1;
  border-bottom-color: var(--oxide);
}

/* ---------- Product detail ---------- */

.pdetail {
  scroll-margin-top: calc(var(--header-h) + 16px);
  margin-top: clamp(28px, 3.5vw, 48px);
  animation: fadeup 0.6s var(--ease) both;
}
.pdetail__intro .display {
  font-size: clamp(40px, 4.6vw, 72px);
}
.subtabs {
  display: flex;
  gap: 0;
  border-bottom: 1.5px solid currentColor;
  margin-top: clamp(24px, 3vw, 40px);
  overflow-x: auto;
  scrollbar-width: none;
}
.subtabs button {
  padding: 14px 18px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.6;
  border-bottom: 3px solid transparent;
  margin-bottom: -1.5px;
}
.subtabs button:hover {
  opacity: 1;
}
.subtabs button.is-active {
  opacity: 1;
  border-bottom-color: var(--oxide);
}
.subpanel {
  padding-top: 24px;
  animation: fadeup 0.4s var(--ease) both;
}
.chipnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.chipnav .chip {
  cursor: pointer;
  padding: 7px 12px;
  font-size: 12px;
  background: transparent;
}
.chipnav .chip.is-active {
  background: var(--ink);
  color: var(--bone);
  opacity: 1;
}
.spec-table__title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 20px;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 22px;
}
.spec-table__title small {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.12em;
  opacity: 0.6;
}
.spec-table__scroll {
  max-height: 520px;
}
.pdetail__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 28px;
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.pdetail__num {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(80px, 11vw, 180px);
  line-height: 0.75;
  color: transparent;
  -webkit-text-stroke: 2px currentColor;
  opacity: 0.5;
}
.pdetail__head .display {
  font-size: clamp(52px, 7vw, 120px);
}
.pdetail__head p {
  grid-column: 2;
  font-size: clamp(18px, 1.5vw, 22px);
}
.pdetail__top {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px;
  margin-bottom: 24px;
}
.pdetail__media {
  position: relative;
  min-height: 420px;
}
.pdetail__media .art-inset {
  width: clamp(96px, 22%, 160px);
  right: 14px;
  bottom: 14px;
}
.pdetail__art {
  position: relative;
  overflow: hidden;
}
.pdetail__art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.pdetail__media .duo {
  position: absolute;
  inset: 0;
}
.pdetail__intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.statgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1.5px solid currentColor;
}
.statgrid div {
  padding: 16px 12px 18px 0;
  border-bottom: 1px solid var(--line);
}
.statgrid div:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.statgrid div:nth-child(even) {
  padding-left: 16px;
}
.statgrid dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
}
.statgrid dd {
  margin: 6px 0 0;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1;
}
@media (max-width: 1000px) {
  .pdetail__top {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .pdetail__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .pdetail__head {
    grid-template-columns: 1fr;
  }
  .pdetail__head p {
    grid-column: 1;
  }
  .pdetail__num {
    display: none;
  }
}

.sheet {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  margin: 0;
  border-top: 1px solid var(--line-strong);
}
.sheet > div {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(0, 2.4fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.sheet dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  padding-top: 3px;
}
.sheet dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .sheet {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .sheet > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.subhead {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: clamp(40px, 5vw, 64px) 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.subhead::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.grades-list {
  display: grid;
  gap: 14px;
}
.grades-list > div {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(0, 4fr);
  gap: 16px;
  align-items: start;
}
.grades-list h4 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 20px;
  line-height: 1.1;
}
.grades-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
@media (max-width: 600px) {
  .grades-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.spec-table {
  border: 1px solid var(--line-strong);
  margin-bottom: 16px;
}
.spec-table summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1.05;
}
.spec-table summary::-webkit-details-marker {
  display: none;
}
.spec-table summary::after {
  content: '+';
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 22px;
  transition: transform 0.3s var(--ease);
}
.spec-table[open] summary::after {
  transform: rotate(45deg);
}
.spec-table summary small {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.12em;
  opacity: 0.6;
  margin-left: auto;
}
.spec-table__scroll {
  overflow-x: auto;
  border-top: 1px solid var(--line);
}
.spec-table table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.spec-table th {
  background: var(--bg);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  position: sticky;
  top: 0;
}
.spec-table td:first-child {
  font-weight: 700;
  color: var(--oxide);
}
html[data-theme='ink'] .spec-table td:first-child {
  color: var(--coolant);
}
.spec-table tbody tr:hover {
  background: var(--line);
}
.spec-table__note {
  padding: 12px 20px 16px;
  font-size: 13px;
  color: var(--muted);
}

.tests {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}
.tests li {
  border-bottom: 1px solid var(--line);
  padding: 16px 18px 16px 0;
  font-size: 15px;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.tests li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--oxide);
  transform: rotate(45deg);
  flex: none;
}
@media (max-width: 800px) {
  .tests {
    grid-template-columns: 1fr;
  }
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.types-grid div {
  border: 1.5px solid currentColor;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.types-grid strong {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1;
}
.types-grid span {
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 800px) {
  .types-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 500px) {
  .types-grid {
    grid-template-columns: 1fr;
  }
}

.pdetail__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- About / industries / contact ---------- */

.photo-grid--two {
  grid-auto-rows: clamp(220px, 24vw, 360px);
}
.photo-grid.photo-grid--two .duo:nth-child(n) {
  grid-column: span 6;
  grid-row: span 1;
}
@media (max-width: 760px) {
  .photo-grid.photo-grid--two .duo:nth-child(n) {
    grid-column: span 12;
  }
}

.industry-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
.industry-mosaic > div {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px 16px 0;
  overflow: hidden;
}
.industry-mosaic svg {
  width: 100%;
  height: auto;
  max-height: 100%;
}

.industry-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.industry-detail__grid.is-flipped > :first-child {
  order: 2;
}
.industry-detail__media {
  position: relative;
}
.industry-detail__media .duo {
  aspect-ratio: 4 / 5;
}
.industry-detail__badge {
  position: absolute;
  left: -24px;
  bottom: -24px;
  width: 44%;
  background: var(--bone-2);
  padding: 14px 14px 0;
  border: 1.5px solid var(--ink);
}
.industry-detail__grid.is-flipped .industry-detail__badge {
  left: auto;
  right: -24px;
}
.chiplist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
@media (max-width: 900px) {
  .industry-detail__grid {
    grid-template-columns: 1fr;
  }
  .industry-detail__grid.is-flipped > :first-child {
    order: 0;
  }
  .industry-detail__media .duo {
    aspect-ratio: 4 / 3;
  }
  .industry-detail__badge,
  .industry-detail__grid.is-flipped .industry-detail__badge {
    left: auto;
    right: 12px;
    bottom: -20px;
    width: 40%;
  }
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  min-width: 0;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 960px) {
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.form-card {
  background: var(--bone-2);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: clamp(24px, 3vw, 40px);
}
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field--full {
  grid-column: 1 / -1;
}
.field > span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bone);
  border: 1px solid rgba(27, 26, 42, 0.35);
  border-radius: 0;
  padding: 12px 14px;
  min-height: 48px;
  width: 100%;
  min-width: 0;
  transition: border-color 0.2s, background 0.2s;
}
.field textarea {
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.field [aria-invalid='true'] {
  border-color: var(--oxide);
}
.field em {
  font-style: normal;
  font-size: 13px;
  color: var(--oxide);
}
.field--file input {
  padding: 10px;
  background: transparent;
  border-style: dashed;
}
@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.photo-strip .duo {
  aspect-ratio: 4 / 5;
}
@media (max-width: 760px) {
  .photo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Industry explorer ---------- */

.explorer {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.explorer__list {
  display: flex;
  flex-direction: column;
  border-top: 1.5px solid currentColor;
}
.explorer__list button {
  display: grid;
  grid-template-columns: 28px 1fr 56px;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  opacity: 0.55;
  transition: opacity 0.25s var(--ease), padding 0.25s var(--ease);
}
.explorer__list button:hover {
  opacity: 1;
}
.explorer__list button.is-active {
  opacity: 1;
  padding-left: 8px;
  box-shadow: inset 3px 0 0 var(--oxide);
}
.explorer__list .mono {
  color: var(--oxide);
  font-size: 11px;
}
.explorer__name {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1;
}
.explorer__icon svg {
  width: 56px;
  height: auto;
}
.explorer__panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 5fr);
  gap: clamp(20px, 3vw, 40px);
  animation: fadeup 0.45s var(--ease) both;
}
.explorer__media {
  position: relative;
  margin: 0 0 24px 24px;
}
.explorer__media .duo {
  aspect-ratio: 4 / 5;
}
.explorer__media .industry-detail__badge {
  left: -24px;
  bottom: -24px;
}
@media (max-width: 1000px) {
  .explorer {
    grid-template-columns: 1fr;
  }
  .explorer__list {
    flex-direction: row;
    overflow-x: auto;
    border-top: 0;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
  }
  .explorer__list button {
    grid-template-columns: auto;
    border-bottom: 3px solid transparent;
    padding: 10px 14px;
    white-space: nowrap;
  }
  .explorer__list button.is-active {
    padding-left: 14px;
    box-shadow: none;
    border-bottom-color: var(--oxide);
  }
  .explorer__list .mono,
  .explorer__icon {
    display: none;
  }
  .explorer__name {
    font-size: 20px;
  }
}
@media (max-width: 700px) {
  .explorer__panel {
    grid-template-columns: 1fr;
  }
  .explorer__media .duo {
    aspect-ratio: 4 / 3;
  }
}

.photo-strip--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.photo-strip--three .duo {
  aspect-ratio: 4 / 3;
}
.quality-cols {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 56px);
}
.tests.tests--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tests.tests--1 {
  grid-template-columns: 1fr;
}
@media (max-width: 900px) {
  .quality-cols {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .tests.tests--2,
  .photo-strip--three {
    grid-template-columns: 1fr;
  }
}


/* ---------- Scroll-driven cooling loop ---------- */

.loop-scroll {
  position: relative;
  height: calc((100 + var(--n, 5) * 32) * 1vh);
}
.loop-pin {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
}
.loop-pin .loop {
  width: 100%;
}
.loop__left {
  position: relative;
  padding-left: 22px;
}
.loop__rail {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.loop__rail span {
  position: absolute;
  inset: 0;
  background: var(--coolant);
  transform-origin: top;
  transform: scaleY(0);
}
.loop__body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  padding: 0 0 0 40px;
  transition: grid-template-rows 0.45s var(--ease), opacity 0.35s var(--ease), padding 0.45s var(--ease);
  animation: none;
}
.loop__body > * {
  min-height: 0;
  overflow: hidden;
}
.is-active .loop__body {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-bottom: 16px;
}
.loop__body p {
  margin-bottom: 12px;
}
.loop__diagram {
  height: min(70vh, 640px);
}
@media (max-width: 960px) {
  .loop-pin .loop {
    gap: 12px;
  }
  .loop__diagram {
    height: 36vh;
  }
  .loop__step:not(.is-active) .loop__head {
    padding: 8px 0;
  }
  .loop__head h3 {
    font-size: 20px;
  }
  .loop__legend span:last-child {
    display: none;
  }
}
@media (max-width: 1000px) {
  .pdetail__top {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pipeflow__tip {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  z-index: 4;
  pointer-events: none;
  transition: offset-distance 1.1s var(--ease), opacity 0.4s var(--ease);
}
.pipeflow__tip::before,
.pipeflow__tip span {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: #b8381e;
  transform: translate(-50%, -50%);
}
.pipeflow__tip::before {
  width: calc(var(--s) * 2.8);
  height: calc(var(--s) * 2.8);
  opacity: 0.22;
}
.pipeflow__tip span {
  width: calc(var(--s) * 1.2);
  height: calc(var(--s) * 1.2);
}


/* =====================================================================
   Phones: shorter pages. Card rows swipe sideways instead of stacking,
   art is cropped shorter, the spool assembles without pinning.
   ===================================================================== */
@media (max-width: 760px) {
  .section {
    padding: 44px 0;
  }
  .section--tight {
    padding: 30px 0;
  }
  .section-head {
    gap: 14px;
    margin-bottom: 22px;
  }

  /* swipe rows */
  .stats,
  .benefits,
  .grades,
  .dc-photos,
  .photo-strip,
  .photo-strip--three {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 78%;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    background: none;
    border: 0;
  }
  .stats::-webkit-scrollbar,
  .benefits::-webkit-scrollbar,
  .grades::-webkit-scrollbar,
  .dc-photos::-webkit-scrollbar,
  .photo-strip::-webkit-scrollbar {
    display: none;
  }
  .stats > *,
  .benefits > *,
  .grades > *,
  .dc-photos > *,
  .photo-strip > * {
    scroll-snap-align: start;
  }
  .photo-strip,
  .photo-strip--three,
  .dc-photos {
    grid-auto-columns: 64%;
  }
  .photo-strip .duo,
  .photo-strip--three .duo,
  .dc-photos .duo {
    aspect-ratio: 4 / 5;
    margin-top: 0 !important;
  }
  .stats {
    grid-auto-columns: 62%;
    border-top: 0;
  }
  .stat,
  .stat + .stat {
    border: 0;
    border-top: 1px solid var(--line);
    padding: 16px 0 4px;
  }
  .stat__num {
    font-size: 52px;
  }
  .stat p {
    font-size: 14px;
    margin-top: 10px;
  }
  .benefit {
    border: 1px solid var(--line);
    min-height: 0;
    padding: 18px;
    gap: 8px;
  }
  .benefit svg {
    width: 40px;
    height: 40px;
  }
  .benefit h3 {
    font-size: 24px;
    margin-top: 6px;
  }
  .benefit p {
    font-size: 14px;
  }
  .grades {
    grid-auto-columns: 86%;
  }
  .grade {
    padding: 20px;
  }
  .grade__big {
    font-size: 64px;
  }
  .grade dl {
    margin-top: 18px;
    gap: 8px 14px;
    font-size: 14px;
  }


  /* spool assembly: a short pin on phones, so it only builds once it fills the screen */
  .assembly {
    height: 170svh;
  }
  .assembly__sticky {
    top: var(--header-h);
    height: calc(100svh - var(--header-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .assembly__copy {
    padding-top: 20px;
    flex: none;
  }
  .assembly__art {
    flex: 0 0 auto;
    height: min(76vw, 42svh);
    margin: 8px 0 8px 18px;
  }
  .assembly__art [data-label] {
    display: none;
  }

  /* data centre teaser and industries tiles */
  .dc-teaser {
    gap: 8px;
  }
  .dc-teaser__list {
    margin: 20px 0 24px;
  }
  .dc-teaser__list li {
    padding: 10px 0;
  }
  .dc-teaser__art {
    max-width: 240px;
  }
  .industry__body {
    padding: 12px 12px 14px;
    gap: 6px;
  }
  .industry__media .art-inset {
    width: 40%;
    right: 6px;
    bottom: 6px;
    border-width: 1.5px;
  }
  .industry h3 {
    font-size: 20px;
  }
  .industry p {
    display: none;
  }

  /* page tops */
  .page-hero__copy {
    padding-top: 32px;
    padding-bottom: 24px;
    gap: 16px;
  }
  .page-hero__art {
    aspect-ratio: 16 / 9;
  }
  .dc-hero {
    min-height: 64svh;
  }
  .dc-hero__copy {
    padding-top: 64px;
  }

  /* coolant loop: less scrolling to step through */
  .loop-scroll {
    height: calc((100 + var(--n, 5) * 18) * 1vh);
  }

  /* products */
  .types-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .types-grid div {
    padding: 12px;
  }
  .types-grid strong {
    font-size: 17px;
  }
  .types-grid span {
    font-size: 12px;
  }
  .tests li {
    padding: 10px 0;
    font-size: 14px;
  }

  /* CTA and footer */
  .cta-band .lattice {
    display: none;
  }
  .cta-band__inner {
    gap: 20px;
  }
  .site-footer__top {
    gap: 26px 20px;
  }
  .site-footer__brand img {
    width: 140px;
  }
  .site-footer__brand p {
    display: none;
  }
  .social-card {
    margin-top: 18px;
    display: flex;
  }
  .social-card > svg {
    margin-left: auto;
  }
  .site-footer ul {
    gap: 7px;
    font-size: 15px;
  }
  .site-footer__giant {
    margin: 32px 0 14px;
  }
}

/* short phones (iPhone SE size): keep the hero poster on one screen */
@media (max-width: 760px) and (max-height: 700px) {
  .hero__meta {
    display: none;
  }
}

/* =====================================================================
   About: founder hero, founder note, works stepper
   ===================================================================== */

.fh {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  min-height: calc(92svh - var(--header-h));
  overflow: hidden;
}
.fh__copy {
  padding: clamp(40px, 6vw, 96px) var(--gutter) clamp(40px, 5vw, 72px) var(--edge);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  position: relative;
  z-index: 2;
}
.fh__copy .display {
  font-size: clamp(48px, 6.4vw, 112px);
}
.fh__copy .hero__lede {
  margin-top: 0;
  max-width: 44ch;
}
.fh__jump {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: fadeup 1s var(--ease) 0.9s both;
}
.fh__jump i {
  position: relative;
  width: 1px;
  height: 34px;
  background: var(--line-strong);
  overflow: hidden;
}
.fh__jump i::after {
  content: '';
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: var(--oxide);
  animation: drip 1.8s var(--ease) infinite;
}
@keyframes drip {
  to {
    top: 100%;
  }
}

.fh__art {
  position: relative;
  min-height: 560px;
}
.fh__sun {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(36vw, 560px);
  aspect-ratio: 1;
  margin: calc(min(36vw, 560px) / -2) 0 0 calc(min(36vw, 560px) / -2);
  border-radius: 50%;
  background: var(--oxide);
  translate: 0 calc(var(--y, 0) * 0.22px);
  animation: sunIn 1.4s var(--ease) 0.1s both;
}
@keyframes sunIn {
  from {
    scale: 0.55;
    opacity: 0;
  }
}
.fh__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(27, 26, 42, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(27, 26, 42, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
}
.fh__arch {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(30vw, 470px);
  aspect-ratio: 3 / 4.2;
  margin: 0 0 0 calc(min(30vw, 470px) / -2);
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  background: #c6e1dd;
  box-shadow: 0 30px 60px -30px rgba(27, 26, 42, 0.5);
  translate: 0 calc(var(--y, 0) * -0.06px);
  animation: archIn 1.3s var(--ease) 0.35s both;
}
.fh__arch img {
  object-fit: cover;
  object-position: 58% 30%;
  animation: archImg 1.8s var(--ease) 0.35s both;
}
@keyframes archIn {
  from {
    clip-path: inset(100% 0 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes archImg {
  from {
    scale: 1.2;
  }
}

.fh__tag {
  position: absolute;
  left: calc(50% - min(30vw, 470px) / 2 - 70px);
  top: 18%;
  z-index: 3;
  translate: 0 calc(var(--y, 0) * -0.14px);
  transform-origin: 50% 0;
  animation: tagIn 1.2s var(--ease) 1.1s both, sway 5s ease-in-out 2.3s infinite;
}
.fh__tag-string {
  display: block;
  width: 1px;
  height: 46px;
  margin: 0 auto;
  background: var(--ink);
}
.fh__tag-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 18px 14px;
  background: #f3efe8;
  border: 1.5px solid var(--ink);
  min-width: 170px;
}
.fh__tag-card::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
}
.fh__tag-card small {
  margin-top: 8px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxide);
}
.fh__tag-card strong {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 0.95;
  color: var(--ink);
}
.fh__tag-card em {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(27, 26, 42, 0.6);
}
@keyframes tagIn {
  from {
    opacity: 0;
    transform: rotate(-24deg) translateY(-30px);
  }
}
@keyframes sway {
  0%,
  100% {
    transform: rotate(-2.5deg);
  }
  50% {
    transform: rotate(2.5deg);
  }
}

.fh__badge {
  position: absolute;
  left: calc(50% + min(30vw, 470px) / 2 - 90px);
  bottom: 9%;
  z-index: 3;
  width: clamp(120px, 11vw, 168px);
  height: auto;
  translate: 0 calc(var(--y, 0) * -0.24px);
  animation: badgeIn 1s var(--ease) 1.3s both, spin 26s linear 1.3s infinite;
}
.fh__flange {
  transform-origin: 100px 100px;
  animation: spin 26s linear infinite reverse;
}
@keyframes badgeIn {
  from {
    opacity: 0;
    scale: 0.6;
  }
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}

@media (max-width: 900px) {
  .fh {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .fh__copy {
    padding: 32px var(--gutter) 8px;
    gap: 16px;
  }
  .fh__copy .display {
    font-size: clamp(44px, 12vw, 72px);
  }
  .fh__art {
    min-height: 0;
    height: min(118vw, 600px);
  }
  .fh__sun {
    width: 78vw;
    margin: -39vw 0 0 -39vw;
    top: 52%;
  }
  .fh__arch {
    width: 62vw;
    margin-left: -31vw;
  }
  .fh__tag {
    left: 4vw;
    top: 8%;
  }
  .fh__tag-string {
    height: 26px;
  }
  .fh__tag-card {
    min-width: 0;
    padding: 10px 12px;
  }
  .fh__tag-card strong {
    font-size: 18px;
  }
  .fh__badge {
    left: auto;
    right: 3vw;
    width: 28vw;
  }
}

/* founder note */
.fnote__grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  margin-top: 28px;
}
.fnote__portrait {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1;
  justify-self: center;
}
.fnote__portrait img {
  position: absolute;
  inset: 13%;
  width: 74%;
  height: 74%;
  border-radius: 50%;
  object-fit: cover;
}
.fnote__portrait svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 40s linear infinite;
}
.fnote__quote {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 64px);
  line-height: 1.04;
  letter-spacing: 0.005em;
  position: relative;
}
.fnote__quote [data-w] {
  color: rgba(231, 225, 214, 0.16);
  transition: color 0.35s var(--ease);
}
.fnote__quote [data-w].is-lit {
  color: #e7e1d6;
}
.fnote__mark {
  position: absolute;
  left: -0.5em;
  top: -0.12em;
  color: var(--oxide);
}
.fnote__sign {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
}
.fnote__line {
  width: 56px;
  height: 2px;
  background: var(--oxide);
}
.fnote__sign strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1;
}
.fnote__sign small {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.fnote__stats {
  margin-top: clamp(40px, 6vw, 80px);
}
@media (max-width: 900px) {
  .fnote__grid {
    grid-template-columns: 1fr;
  }
  .fnote__portrait {
    order: -1;
    justify-self: start;
    width: 132px;
  }
}
@media (max-width: 760px) {
  .fnote__mark {
    position: static;
    display: block;
    line-height: 0.6;
    margin-bottom: 4px;
  }
}

/* works stepper */
.works__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.works__tabs button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 0 0 16px;
  text-align: left;
  color: inherit;
  opacity: 0.5;
  transition: opacity 0.3s var(--ease);
}
.works__tabs button:hover,
.works__tabs button.is-active {
  opacity: 1;
}
.works__tabs small {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--oxide);
}
.works__tabs span {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1;
}
.works__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--line);
}
.works__tabs .is-done .works__bar {
  background: rgba(184, 56, 30, 0.45);
}
.works__bar b {
  position: absolute;
  inset: 0;
  background: var(--oxide);
  transform-origin: left;
  animation: worksbar 6.5s linear both;
}
.works.is-paused .works__bar b,
.works:hover .works__bar b {
  animation-play-state: paused;
}
@keyframes worksbar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.works__panel {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(20px, 3vw, 48px);
  margin-top: 28px;
  animation: fadeup 0.6s var(--ease) both;
}
.works__media {
  position: relative;
  aspect-ratio: 4 / 3;
}
.works__media .duo {
  position: absolute;
  inset: 0;
}
.works__big {
  position: absolute;
  right: 14px;
  bottom: -6px;
  z-index: 2;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(80px, 10vw, 160px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px #f3efe8;
  pointer-events: none;
}
.works__body h3 {
  font-size: clamp(40px, 4.6vw, 72px);
}
.works__body > p {
  margin-top: 10px;
  max-width: 46ch;
}
.works__body h4 {
  margin: 24px 0 6px;
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 1.5px solid currentColor;
}
.works__body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.works__body li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.works__body li::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--oxide);
  transform: translateY(-1px) rotate(45deg);
}
.works__papers li::before {
  background: var(--ink);
}
@media (max-width: 900px) {
  .works__panel {
    grid-template-columns: 1fr;
  }
  .works__media {
    aspect-ratio: 16 / 10;
  }
}
@media (max-width: 600px) {
  .works__tabs {
    gap: 8px;
  }
  .works__tabs span {
    font-size: 15px;
  }
  .works__body li {
    font-size: 14px;
    padding: 7px 0;
  }
}
@media (max-width: 760px) {
  .process {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 72%;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .process::-webkit-scrollbar {
    display: none;
  }
  .process > * {
    scroll-snap-align: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fh__sun,
  .fh__arch,
  .fh__arch img,
  .fh__tag,
  .fh__badge,
  .fh__flange,
  .works__bar b {
    animation: none;
  }
}


/* =====================================================================
   Opening screen: a spool is drafted line by line while a giant
   outlined counter fills with oxide; six shutters lift to reveal the page
   ===================================================================== */
.preloader {
  --p: 0;
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  color: #e7e1d6;
}
html.is-loading .preloader,
html.is-leaving .preloader {
  display: block;
}
html.is-loading {
  overflow: hidden;
}
html.is-loading body *:not(.preloader, .preloader *) {
  animation-play-state: paused !important;
}
html.is-loading .preloader {
  animation: preloaderFailsafe 0s linear 15s forwards;
}
@keyframes preloaderFailsafe {
  to {
    visibility: hidden;
  }
}
html.is-leaving .preloader {
  pointer-events: none;
}

.pl__shutters {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.pl__shutters span {
  background-color: #1b1a2a;
  background-image: linear-gradient(rgba(231, 225, 214, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(231, 225, 214, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: calc(var(--i) * -100%) 0;
  border-right: 1px solid rgba(231, 225, 214, 0.06);
}
html.is-leaving .pl__shutters span {
  animation: shutterUp 0.85s cubic-bezier(0.76, 0, 0.24, 1) both;
  animation-delay: calc(0.15s + var(--i) * 70ms);
}
@keyframes shutterUp {
  to {
    transform: translateY(-101%);
  }
}

.pl__content {
  position: absolute;
  inset: 0;
  padding: clamp(20px, 3vw, 40px) var(--gutter) calc(clamp(20px, 3vw, 36px) + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: 40px;
}
html.is-leaving .pl__content {
  animation: plFade 0.3s var(--ease) forwards;
}
@keyframes plFade {
  to {
    opacity: 0;
    transform: translateY(-14px);
  }
}
.pl__top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(231, 225, 214, 0.55);
}
.pl__mark {
  height: 34px;
  width: auto;
  margin-right: 8px;
}
.pl__scale {
  margin-left: auto;
}

.pl__draw {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  width: 100%;
  height: auto;
  max-height: 62vh;
  overflow: visible;
}
.pl__ln {
  fill: none;
  stroke: #e7e1d6;
  stroke-width: 2;
  stroke-linecap: square;
  stroke-dasharray: 1;
  stroke-dashoffset: clamp(0, calc(1 - (var(--p) - var(--s)) * 4), 1);
}
.pl__ln--centre {
  stroke: var(--oxide);
  stroke-width: 1;
  stroke-dasharray: none;
  opacity: clamp(0, calc((var(--p) - var(--s)) * 6), 0.8);
}
.pl__ln--dim {
  stroke: var(--coolant);
  stroke-width: 1.2;
}
.pl__ln--bolt {
  stroke-width: 3;
}
.pl__txt {
  fill: var(--coolant);
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 1px;
  opacity: clamp(0, calc((var(--p) - var(--s)) * 8), 1);
}
.pl__welds circle {
  fill: var(--oxide);
  opacity: clamp(0, calc((var(--p) - 0.9) * 10), 1);
}
.pl__stamp {
  opacity: clamp(0, calc((var(--p) - 0.97) * 33), 1);
  transform-origin: 395px 332px;
  transform: rotate(-8deg) scale(calc(1.6 - 0.6 * clamp(0, calc((var(--p) - 0.97) * 33), 1)));
}
.pl__stamp rect {
  fill: none;
  stroke: var(--oxide);
  stroke-width: 3;
}
.pl__stamp text {
  fill: var(--oxide);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 2px;
}
.pl__stamp .pl__stamp-sub {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 2.5px;
}

.pl__num {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  position: relative;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(140px, 24vw, 400px);
  line-height: 0.78;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 18px;
}
.pl__num {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(231, 225, 214, 0.55);
}
.pl__num::after {
  content: attr(data-n);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--oxide);
  -webkit-text-stroke: 0;
  clip-path: inset(calc((1 - var(--p)) * 116% - 16%) 0 0 0);
}

.pl__foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(231, 225, 214, 0.55);
  white-space: nowrap;
}
.pl__rule {
  position: relative;
  flex: 1;
  height: 1px;
  background: rgba(231, 225, 214, 0.18);
}
.pl__rule b {
  position: absolute;
  inset: -1px 0;
  background: var(--coolant);
  transform-origin: left;
  transform: scaleX(var(--p));
}

@media (max-width: 760px) {
  .pl__content {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto auto;
  }
  .pl__top span:not(.pl__scale) {
    display: none;
  }
  .pl__draw {
    grid-column: 1;
    grid-row: 2;
    max-height: 40vh;
  }
  .pl__num {
    grid-row: 3;
    font-size: 40vw;
    margin-bottom: 14px;
  }
  .pl__foot span:last-child {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html.is-leaving .pl__shutters span {
    animation-duration: 0.01s;
  }
}

/* =====================================================================
   Contact: quote builder + live job card
   ===================================================================== */
.contact2__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px 48px;
  align-items: end;
}
.contact2__title {
  margin-top: 20px;
  font-size: clamp(44px, 6.6vw, 112px);
}
.contact2__head .hero__lede {
  margin: 0;
  max-width: 40ch;
}

.qb {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  margin-top: clamp(32px, 4vw, 56px);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.qb__stage {
  min-height: 560px;
}
.qb__progress {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}
.qb__progress button {
  flex: 1;
  height: 18px;
  display: flex;
  align-items: center;
  cursor: default;
}
.qb__progress button.is-done {
  cursor: pointer;
}
.qb__progress i {
  display: block;
  width: 100%;
  height: 4px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.qb__progress i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--oxide);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.qb__progress .is-done i::after {
  transform: scaleX(1);
}
.qb__progress .is-current i::after {
  transform: scaleX(0.35);
  background: var(--ink);
}

.qb__q {
  animation: qbIn 0.55s var(--ease) both;
}
.qb__q--back {
  animation-name: qbBack;
}
@keyframes qbIn {
  from {
    opacity: 0;
    transform: translateX(36px);
  }
}
@keyframes qbBack {
  from {
    opacity: 0;
    transform: translateX(-36px);
  }
}
.qb__count {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.qb__count span {
  color: var(--oxide);
}
.qb__title {
  margin-top: 10px;
  font-size: clamp(36px, 4.2vw, 68px);
}
.qb__hint {
  margin-top: 8px;
  color: var(--muted);
}

.qb kbd {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  margin-right: 10px;
  border: 1px solid currentColor;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 400;
  opacity: 0.55;
  vertical-align: middle;
}

.qb__tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}
.qb__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: #f3efe8;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.qb__tile:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
}
.qb__art {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1.5px solid var(--line-strong);
}
.qb__art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease);
}
.qb__tile.is-on .qb__art svg {
  transform: scale(1.06);
}
.qb__icon {
  height: 92px;
  display: grid;
  place-items: center;
  padding: 12px 12px 0;
}
.qb__icon svg {
  height: 100%;
  width: auto;
}
.qb__q-mark {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  color: var(--oxide);
}
.qb__label {
  display: flex;
  align-items: center;
  padding: 12px 14px 14px;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 20px;
  line-height: 1;
}
.qb__tile.is-on {
  background: #1b1a2a;
  color: #e7e1d6;
  border-color: #1b1a2a;
}
.qb__tile.is-on .qb__label kbd {
  background: var(--oxide);
  border-color: var(--oxide);
  color: #f3efe8;
  opacity: 1;
}
.qb__tile::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background: var(--oxide);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  transform: scale(0);
  transform-origin: top right;
  transition: transform 0.35s var(--ease);
}
.qb__tile.is-on::after {
  transform: scale(1);
}

.qb__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.qb__chip {
  display: inline-flex;
  align-items: center;
  padding: 14px 18px;
  border: 1.5px solid var(--line-strong);
  background: #f3efe8;
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 21px;
  line-height: 1;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.qb__chip:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
}
.qb__chip.is-on {
  background: #1b1a2a;
  color: #e7e1d6;
  border-color: #1b1a2a;
}
.qb__chip.is-on kbd {
  background: var(--oxide);
  border-color: var(--oxide);
  opacity: 1;
}

.qb__fields {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}
.qb__fields--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.qb__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qb__field > span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.qb__field input {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--ink);
  background: transparent;
  padding: 10px 0;
  font: inherit;
  font-size: 22px;
  color: var(--ink);
  border-radius: 0;
  outline: none;
  transition: border-color 0.25s var(--ease);
}
.qb__field input::placeholder {
  color: rgba(27, 26, 42, 0.32);
}
.qb__field input:focus {
  border-bottom-color: var(--oxide);
}
.qb__qty {
  display: flex;
  align-items: stretch;
  max-width: 280px;
}
.qb__qty button {
  width: 52px;
  border: 1.5px solid var(--ink);
  font-size: 24px;
  line-height: 1;
  color: var(--ink);
}
.qb__qty button:hover {
  background: var(--ink);
  color: #e7e1d6;
}
.qb__qty input {
  text-align: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 36px;
  border: 1.5px solid var(--ink);
  border-left: 0;
  border-right: 0;
  padding: 6px 0;
}
.qb__units {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.qb__units button {
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.qb__units button.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #e7e1d6;
}

.qb__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 30px;
}
.qb__next,
.qb__back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 22px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.qb__next {
  background: var(--oxide);
  color: #f3efe8;
  transition: background 0.25s var(--ease), opacity 0.25s var(--ease);
}
.qb__next:hover:not(:disabled) {
  background: var(--ink);
}
.qb__next:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.qb__next svg {
  width: 18px;
  height: 18px;
}
.qb__back {
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
}
.qb__enter {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.qb__skip {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--muted);
}

.qb__send {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 30px;
}
.qb__wa {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px 16px 18px;
  background: #25d366;
  color: #0b2a17;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 26px;
  line-height: 1;
  box-shadow: 6px 6px 0 #1b1a2a;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.qb__wa:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 #1b1a2a;
}
.qb__wa > svg:first-child {
  width: 32px;
  height: 32px;
}
.qb__wa > svg:last-child {
  width: 20px;
  height: 20px;
}
.qb__wa span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.qb__wa small {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.16em;
}
.qb__copy {
  height: 52px;
  padding: 0 18px;
  border: 1.5px solid var(--ink);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

/* job card */
.qb__card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.jc {
  position: relative;
  background: #f3efe8;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 34px 24px 20px;
  box-shadow: 10px 10px 0 #1b1a2a;
  transform: rotate(1.2deg);
  transition: transform 0.6s var(--ease);
}
.qb__card.is-done .jc {
  transform: rotate(0deg);
}
.jc__hole {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--bg);
}
.jc__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.jc__head small {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxide);
}
.jc__head strong {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.02em;
}
.jc__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--oxide);
  color: #f3efe8;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
}
.jc__fill {
  height: 4px;
  margin: 16px 0 6px;
  background: var(--line);
}
.jc__fill span {
  display: block;
  height: 100%;
  background: var(--oxide);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.jc dl {
  margin: 0;
}
.jc dl > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(27, 26, 42, 0.25);
}
.jc dt {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(27, 26, 42, 0.55);
}
.jc dd {
  margin: 0;
  font-size: 15px;
  color: rgba(27, 26, 42, 0.3);
  min-height: 1.4em;
}
.jc .is-set dd {
  color: var(--ink);
  font-weight: 700;
}
.jc .is-fresh dd {
  animation: typeIn 0.6s steps(18, end) both;
}
@keyframes typeIn {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
.jc__foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(27, 26, 42, 0.5);
}
.jc__stamp {
  position: absolute;
  right: 78px;
  top: 30px;
  padding: 8px 12px;
  border: 3px solid var(--oxide);
  color: var(--oxide);
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 26px;
  line-height: 0.9;
  text-align: center;
  opacity: 0;
  transform: rotate(-14deg) scale(2.4);
  pointer-events: none;
  mix-blend-mode: multiply;
}
.qb__card.is-done .jc__stamp {
  animation: stampIn 0.45s cubic-bezier(0.2, 1.6, 0.4, 1) 0.35s forwards;
}
@keyframes stampIn {
  to {
    opacity: 0.9;
    transform: rotate(-14deg) scale(1);
  }
}

/* other ways in */
.cstrip__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
}
.cstrip__cell {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.cstrip__cell:last-child {
  border-right: 0;
}
.cstrip__cell > svg:first-child {
  width: 28px;
  height: 28px;
  flex: none;
}
.cstrip__cell > svg:last-child {
  width: 18px;
  height: 18px;
  margin-left: auto;
  transition: transform 0.3s var(--ease);
}
a.cstrip__cell:hover {
  background: rgba(231, 225, 214, 0.06);
}
a.cstrip__cell:hover > svg:last-child {
  transform: translateX(4px);
}
.cstrip__cell span:not(.cstrip__dot) {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1;
}
.cstrip__cell small {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.cstrip__cell--wa > svg:first-child {
  color: #25d366;
}
.cstrip__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--steel);
  flex: none;
}
.cstrip__dot.is-open {
  background: #2fae7a;
  animation: ping 2s ease-out infinite;
}

@media (max-width: 1000px) {
  .qb {
    grid-template-columns: 1fr;
  }
  .qb__stage {
    min-height: 0;
  }
  /* on smaller screens the job card appears once it is finished */
  .qb__card {
    position: static;
    display: none;
  }
  .qb__card.is-done {
    display: block;
    max-width: 460px;
  }
  .contact2__head {
    grid-template-columns: 1fr;
  }
  .cstrip__grid {
    grid-template-columns: 1fr;
  }
  .cstrip__cell {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .cstrip__cell:last-child {
    border-bottom: 0;
  }
}
@media (max-width: 760px) {
  .qb__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .qb__label {
    font-size: 16px;
    padding: 10px;
  }
  .qb kbd,
  .qb__enter {
    display: none;
  }
  .qb__icon {
    height: 64px;
  }
  .qb__chip {
    font-size: 17px;
    padding: 12px 14px;
  }
  .qb__fields--two {
    grid-template-columns: 1fr;
  }
  .qb__field input {
    font-size: 18px;
  }
  .qb__wa {
    width: 100%;
    font-size: 22px;
  }
  .qb__title {
    font-size: 38px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .qb__q,
  .jc .is-fresh dd,
  .qb__card.is-done .jc__stamp {
    animation: none;
  }
  .qb__card.is-done .jc__stamp {
    opacity: 0.9;
    transform: rotate(-14deg);
  }
}

/* "Other" choices: a typing line slides open under the options */
.qb__art--other {
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(135deg, transparent 0 9px, rgba(27, 26, 42, 0.07) 9px 10px);
}
.qb__tile.is-on .qb__art--other {
  background: repeating-linear-gradient(135deg, transparent 0 9px, rgba(231, 225, 214, 0.1) 9px 10px);
}
.qb__tile.is-on .qb__q-mark {
  color: var(--oxide-hi);
}
.qb__other {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  padding: 16px 18px 18px;
  background: #f3efe8;
  border-left: 4px solid var(--oxide);
  animation: otherOpen 0.45s var(--ease) both;
}
.qb__other span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxide);
}
.qb__other input {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--ink);
  background: transparent;
  padding: 8px 0;
  font: inherit;
  font-size: 20px;
  color: var(--ink);
  border-radius: 0;
  outline: none;
}
.qb__other input:focus {
  border-bottom-color: var(--oxide);
}
.qb__other input::placeholder {
  color: rgba(27, 26, 42, 0.32);
}
.qb__other--small {
  max-width: 320px;
  margin-top: 10px;
  padding: 10px 14px 12px;
}
.qb__other--small input {
  font-size: 17px;
}
@keyframes otherOpen {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* =====================================================================
   Data centre: loop explorer + row sizer
   ===================================================================== */
.lx {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.lx__diagram svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 640px);
}
.lx__diagram [data-stage] {
  transition: opacity 0.4s var(--ease);
}
.lx__tip {
  margin-left: auto;
  opacity: 0.6;
}
.lx__pills {
  display: flex;
  gap: 6px;
  margin-bottom: 26px;
}
.lx__pills button {
  position: relative;
  flex: 1;
  height: 46px;
  border: 1px solid var(--line-strong);
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: inherit;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lx__pills button:hover {
  border-color: var(--coolant);
}
.lx__pills button.is-active {
  background: var(--coolant);
  border-color: var(--coolant);
  color: #1b1a2a;
}
.lx__bar {
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -1px;
  height: 3px;
}
.lx__bar b {
  position: absolute;
  inset: 0;
  background: #1b1a2a;
  transform-origin: left;
  animation: worksbar 7s linear both;
}
.lx.is-paused .lx__bar b {
  animation-play-state: paused;
}
.lx__body {
  animation: fadeup 0.5s var(--ease) both;
}
.lx__side {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.lx__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e7e1d6;
}
.lx__dot--technology {
  background: var(--coolant);
}
.lx__body h3 {
  margin-top: 10px;
  font-size: clamp(36px, 3.8vw, 60px);
}
.lx__body > p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 48ch;
}
.lx__body h4 {
  margin: 22px 0 10px;
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.lx__grade {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1.5px solid var(--line-strong);
}
.lx__grade strong {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(52px, 5vw, 80px);
  line-height: 0.85;
  color: #e7e1d6;
}
.lx__grade--technology {
  border-color: var(--coolant);
}
.lx__grade--technology strong {
  color: var(--coolant);
}
.lx__grade dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  margin: 0;
  font-size: 14px;
}
.lx__grade dt {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}
.lx__grade dd {
  margin: 0;
}

.lsz {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border: 1.5px solid #1b1a2a;
  box-shadow: 10px 10px 0 #1b1a2a;
  background: #f3efe8;
  color: #1b1a2a;
}
.lsz__inputs {
  padding: clamp(20px, 2.6vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.lsz__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.lsz__label span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(27, 26, 42, 0.62);
}
.lsz__label strong {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.lsz__label small {
  font-size: 0.45em;
  color: rgba(27, 26, 42, 0.6);
}
.lsz input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 30px;
  background: transparent;
  cursor: pointer;
}
.lsz input[type='range']::-webkit-slider-runnable-track {
  height: 6px;
  background: linear-gradient(to right, var(--oxide) var(--fill, 50%), rgba(27, 26, 42, 0.16) var(--fill, 50%));
}
.lsz input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -9px;
  background: #1b1a2a;
  border: 4px solid var(--oxide);
}
.lsz input[type='range']::-moz-range-track {
  height: 6px;
  background: rgba(27, 26, 42, 0.16);
}
.lsz input[type='range']::-moz-range-progress {
  height: 6px;
  background: var(--oxide);
}
.lsz input[type='range']::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 0;
  background: #1b1a2a;
  border: 4px solid var(--oxide);
}
.lsz input[type='range']:focus-visible {
  outline: 2px solid var(--coolant);
  outline-offset: 4px;
}
.lsz__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.lsz__presets button {
  padding: 8px 10px;
  border: 1px solid rgba(27, 26, 42, 0.3);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1b1a2a;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.lsz__presets button:hover {
  border-color: #1b1a2a;
}
.lsz__presets button.is-on {
  background: #1b1a2a;
  color: #e7e1d6;
  border-color: #1b1a2a;
}
.lsz__presets--seg {
  margin-top: 0;
}
.lsz__presets--seg button {
  flex: 1;
  padding: 12px 0;
  font-size: 13px;
}
.lsz__out {
  background: #1b1a2a;
  color: #e7e1d6;
  padding: clamp(20px, 2.6vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.lsz__row {
  width: 100%;
  height: auto;
}
.lsz__row path {
  transition: stroke-width 0.4s var(--ease);
}
.lsz__flow {
  stroke-dasharray: 10 14;
  animation: flow var(--dur, 1.6s) linear infinite;
}
.lsz__results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: rgba(231, 225, 214, 0.14);
  border: 1px solid rgba(231, 225, 214, 0.14);
}
.lsz__results > div {
  background: #1b1a2a;
  padding: 14px 16px 16px;
}
.lsz__results dt {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(231, 225, 214, 0.55);
}
.lsz__results dd {
  margin: 6px 0 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.lsz__results dd small {
  font-size: 0.42em;
  color: rgba(231, 225, 214, 0.6);
}
.lsz__results span {
  display: block;
  margin-top: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: rgba(231, 225, 214, 0.55);
}
.lsz__results .is-key dd {
  color: var(--coolant);
}
.lsz__foot {
  display: flex;
  align-items: flex-end;
  gap: 18px;
}
.lsz__foot p {
  flex: 1;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(231, 225, 214, 0.55);
}
.lsz__foot .btn {
  flex: none;
}

.dc-photos--strip {
  margin-top: 28px;
}
.dc-photos--strip .duo {
  aspect-ratio: 16 / 10;
}
.dc-photos--strip .duo:nth-child(2) {
  margin-top: 0;
}

@media (max-width: 960px) {
  .lx {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .lx__diagram svg {
    max-height: 44vh;
    margin: 0 auto;
  }
  .lx__tip {
    display: none;
  }
  .lsz {
    grid-template-columns: 1fr;
    box-shadow: 6px 6px 0 #1b1a2a;
  }
}
@media (max-width: 760px) {
  .lx__grade {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .lsz__label strong {
    font-size: 32px;
  }
  .lsz__inputs {
    gap: 18px;
  }
  .lsz__presets button {
    padding: 7px 8px;
    font-size: 10px;
  }
  .lsz__foot {
    flex-direction: column;
    align-items: stretch;
  }
  .lsz__results dd {
    font-size: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lx__bar b,
  .lsz__flow {
    animation: none;
  }
}

/* quote builder: required answers */
.qb__err {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #b8381e;
  animation: otherOpen 0.3s var(--ease) both;
}
.qb__err::before {
  content: '!';
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex: none;
  background: #b8381e;
  color: #f3efe8;
  font-weight: 700;
  font-size: 11px;
}
.qb__err--wide,
.qb__field--wide {
  grid-column: 1 / -1;
}
.qb__err--wide {
  margin-top: -8px;
}
.qb__field input[aria-invalid='true'] {
  border-bottom-color: #b8381e;
  background: rgba(184, 56, 30, 0.05);
}
.qb__next.is-blocked {
  opacity: 0.55;
}
.qb__nav.is-shake {
  animation: qbShake 0.4s var(--ease);
}
@keyframes qbShake {
  20% {
    transform: translateX(-8px);
  }
  40% {
    transform: translateX(7px);
  }
  60% {
    transform: translateX(-5px);
  }
  80% {
    transform: translateX(3px);
  }
}


/* footer: enquiry button */
.footer-cta {
  margin-top: 20px;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  white-space: nowrap;
  background: var(--oxide);
  color: #f3efe8;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1;
  box-shadow: 5px 5px 0 rgba(231, 225, 214, 0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.footer-cta span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-cta small {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  opacity: 0.8;
}
.footer-cta svg {
  width: 20px;
  height: 20px;
  margin-left: auto;
  transition: transform 0.25s var(--ease);
}
.footer-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 rgba(231, 225, 214, 0.22);
}
.footer-cta:hover svg {
  transform: translateX(4px);
}
@media (max-width: 960px) {
  .footer-cta {
    display: flex;
    width: 100%;
  }
}

/* phone header: title-block cells: mark | current page | WhatsApp | menu */
.hdr-page {
  display: none;
}
@media (max-width: 1080px) {
  :root {
    --header-h: 64px;
  }
  html.is-scrolled {
    --header-h: 58px;
  }
  .brand {
    margin-right: 0;
    padding-right: 18px;
    border-right: 1px solid var(--rule);
  }
  .hdr-page {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 0 16px;
    overflow: hidden;
  }
  .hdr-page small {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--oxide);
  }
  .hdr-page span {
    font-family: var(--f-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 19px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: fadeup 0.5s var(--ease) both;
  }
  .hdr-wa {
    background: var(--coolant);
    border-left: 0;
    color: #1b1a2a;
  }
  .hdr-wa:hover {
    background: #3fb8a9;
  }
  .menu-btn {
    background: #1b1a2a;
    color: #e7e1d6;
    border-left: 0;
  }
  .nav-open .menu-btn {
    background: var(--oxide);
    color: #f3efe8;
  }
  .nav-open .hdr-page span {
    opacity: 0.4;
  }
}
@media (max-width: 760px) {
  .brand__word {
    display: none;
  }
  .brand {
    padding-right: 14px;
  }
  .brand__mark {
    height: 30px;
  }
  .hdr-wa {
    width: 56px;
  }
  .menu-btn {
    width: 60px;
    padding: 0;
    justify-content: center;
  }
}
@media (max-width: 380px) {
  .hdr-page small {
    display: none;
  }
}

/* =====================================================================
   Desktop type scale: headlines sized to the screen's width AND height,
   so every opening section fits one screen and reads as measured, not shouted.
   ===================================================================== */
@media (min-width: 761px) {
  .display-xl {
    font-size: clamp(56px, min(7vw, 12vh), 128px);
  }
  .display-l {
    font-size: clamp(38px, min(4.2vw, 8vh), 72px);
  }
  .section-head {
    margin-bottom: clamp(24px, 3vw, 40px);
  }

  /* home hero */
  .hero {
    min-height: calc(100svh - var(--header-h));
    max-height: 980px;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
  .hero__copy {
    justify-content: center;
    gap: clamp(20px, 3.4vh, 40px);
    padding-top: clamp(28px, 5vh, 64px);
    padding-bottom: clamp(24px, 4vh, 48px);
    padding-right: clamp(24px, 3vw, 56px);
  }
  .hero .hero__title {
    margin-top: clamp(14px, 2.4vh, 24px);
    font-size: clamp(52px, min(5.8vw, 10.6vh), 108px);
    line-height: 0.88;
  }
  .hero__lede {
    margin-top: clamp(16px, 2.6vh, 26px);
    font-size: clamp(16px, 1.15vw, 19px);
    max-width: 44ch;
  }
  .hero__actions {
    margin-top: clamp(18px, 3vh, 30px);
  }
  .hero__meta {
    padding-top: 16px;
  }
  .hero__meta dd {
    font-size: clamp(20px, 1.6vw, 26px);
  }
  .hero__art {
    min-height: 0;
  }

  /* other page openers */
  .dc-hero {
    min-height: calc(76svh - var(--header-h));
  }
  .dc-hero .hero__title {
    font-size: clamp(48px, min(5.6vw, 10vh), 104px);
  }
  .page-hero {
    min-height: calc(56svh - var(--header-h));
  }
  .page-hero__copy .display,
  .fh__copy .display {
    font-size: clamp(44px, min(5vw, 9.4vh), 92px);
  }
  .fh {
    min-height: calc(86svh - var(--header-h));
  }
  .contact2__title {
    font-size: clamp(44px, min(5vw, 9.4vh), 92px);
  }
  .assembly__copy .display {
    font-size: clamp(40px, min(4.2vw, 8vh), 72px);
  }
  .pdetail__head .display {
    font-size: clamp(44px, 5vw, 92px);
  }
  .stat__num {
    font-size: clamp(44px, 4.4vw, 72px);
  }
  .qb__title {
    font-size: clamp(34px, 3.4vw, 56px);
  }
  .works__body h3,
  .lx__body h3 {
    font-size: clamp(34px, 3.2vw, 54px);
  }
  .site-footer__giant {
    font-size: clamp(60px, min(19vw, 26vh), 278px);
  }
}

/* desktop home hero: about three quarters of the screen, so the next section shows below it */
@media (min-width: 761px) {
  .hero {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    min-height: 0;
    height: clamp(500px, calc(74vh - var(--header-h) * 0.25), 760px);
    max-height: none;
  }
  .hero .hero__title {
    font-size: clamp(46px, min(4.6vw, 8.2vh), 86px);
  }
  .hero__copy {
    gap: clamp(16px, 2.6vh, 30px);
    padding-top: clamp(20px, 3.6vh, 44px);
    padding-bottom: clamp(20px, 3.2vh, 40px);
  }
  .hero__lede {
    font-size: clamp(15px, 1.05vw, 18px);
    margin-top: clamp(12px, 2vh, 20px);
  }
  .hero__actions {
    margin-top: clamp(14px, 2.4vh, 24px);
  }
  .hero__meta {
    padding-top: 12px;
  }
  .hero__meta dd {
    font-size: clamp(18px, 1.4vw, 24px);
  }
}


/* phone header: quote cell */
.hdr-quote {
  display: none;
}
@media (max-width: 1080px) {
  .hdr-wa {
    display: none;
  }
  .hdr-quote {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    background: var(--oxide);
    color: #f3efe8;
    font-family: var(--f-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 19px;
    line-height: 1;
    transition: background 0.25s var(--ease);
  }
  .hdr-quote svg {
    width: 16px;
    height: 16px;
  }
  .hdr-quote:hover {
    background: #a33018;
  }
}
@media (max-width: 380px) {
  .hdr-quote svg {
    display: none;
  }
}

/* quote builder: send options */
.qb__send {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.qb__opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px 18px 16px;
  text-align: left;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1;
  box-shadow: 6px 6px 0 #1b1a2a;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), opacity 0.25s var(--ease);
}
.qb__opt:hover:not(:disabled) {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 #1b1a2a;
}
.qb__opt:disabled {
  opacity: 0.7;
  cursor: progress;
}
.qb__opt > svg:first-child {
  width: 30px;
  height: 30px;
  flex: none;
}
.qb__opt > svg:last-child {
  width: 18px;
  height: 18px;
  margin-left: auto;
  flex: none;
}
.qb__opt span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.qb__opt small {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: none;
  opacity: 0.85;
}
.qb__opt--mail {
  background: var(--oxide);
  color: #f3efe8;
}
.qb__opt--wa {
  background: #25d366;
  color: #0b2a17;
}
.qb__send-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 20px;
}
.qb__send-more .qb__skip {
  margin-left: 0;
}
.qb__send-more .qb__copy {
  display: inline-flex;
  align-items: center;
}
.qb__sent {
  margin-top: 26px;
  padding: 20px 22px;
  background: #f3efe8;
  border-left: 4px solid #2fae7a;
  animation: otherOpen 0.45s var(--ease) both;
}
.qb__sent strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1;
}
.qb__sent p {
  margin-top: 10px;
  color: var(--muted);
}
.jc__stamp.is-sent {
  border-color: #2fae7a;
  color: #2fae7a;
  animation: stampIn 0.45s cubic-bezier(0.2, 1.6, 0.4, 1) forwards;
}
@media (max-width: 760px) {
  .qb__send {
    grid-template-columns: 1fr;
  }
  .qb__opt {
    font-size: 22px;
  }
}
@media (min-width: 1001px) {
  .cstrip__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .cstrip__cell span:not(.cstrip__dot) {
    font-size: 21px;
  }
}

.cstrip__cell--mail span:not(.cstrip__dot) {
  text-transform: none;
}

/* spam trap field: present in the page, invisible to people */
.qb__trap {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* logo on a light plate (footer, opening screen) */
.site-footer__logo {
  display: inline-block;
  padding: 16px 20px 14px;
  background: #e7e1d6;
  box-shadow: 6px 6px 0 rgba(231, 225, 214, 0.14);
}
.site-footer__brand .site-footer__logo img {
  display: block;
  width: 168px;
  height: auto;
}
.pl__markplate {
  display: inline-grid;
  place-items: center;
  padding: 7px 10px;
  margin-right: 8px;
  background: #e7e1d6;
}
.pl__markplate .pl__mark {
  height: 26px;
  margin: 0;
}
@media (max-width: 760px) {
  .site-footer__brand .site-footer__logo img {
    width: 136px;
  }
  .site-footer__logo {
    padding: 12px 16px 10px;
  }
}

/* quote builder: export details */
.qb__export {
  margin-top: 20px;
  padding: 16px 18px 18px;
  background: #f3efe8;
  border-left: 4px solid var(--coolant);
  animation: otherOpen 0.45s var(--ease) both;
}
.qb__export-label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.qb__export .qb__units button {
  padding: 10px 14px;
  font-size: 13px;
}
.qb__export-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.hdr-status em {
  font-style: normal;
  opacity: 0.75;
}
.hdr-status {
  min-width: 170px;
}

/* =====================================================================
   Phone openers: visual first, one touch to play with, headline on an
   angled panel at the bottom. Desktop keeps each page's own hero.
   ===================================================================== */
.mo {
  display: none;
}
@media (max-width: 760px) {
  .desk-only {
    display: none !important;
  }
  .mo {
    --cut: 9vw;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: calc(100svh - var(--header-h));
    overflow: hidden;
  }
  .mo__stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 52svh;
  }
  .mo__panel {
    position: relative;
    z-index: 3;
    margin-top: calc(-1 * var(--cut));
    padding: calc(var(--cut) + 14px) var(--gutter) 22px;
    clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
    background: #e7e1d6;
    color: #1b1a2a;
  }
  .mo--ink .mo__panel {
    background: #1b1a2a;
    color: #e7e1d6;
  }
  .mo__cut {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: calc(var(--cut) + 8px);
    background: var(--oxide);
    clip-path: polygon(0 var(--cut), 100% 0, 100% 8px, 0 calc(var(--cut) + 8px));
  }
  .mo--ink .mo__cut {
    background: var(--coolant);
  }
  .mo__panel .eyebrow {
    font-size: 10px;
  }
  .mo__title {
    margin-top: 10px;
    font-size: min(12.4vw, 56px);
    line-height: 0.9;
  }
  .mo__title span {
    display: block;
    animation: fadeup 0.8s var(--ease) both;
  }
  .mo__title span:last-child {
    animation-delay: 0.12s;
  }
  .mo__hint {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.7;
  }
  .mo__hint::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--oxide);
    animation: ping 2s ease-out infinite;
  }
  .mo--ink .mo__hint::before {
    background: var(--coolant);
  }
  .mo__hint a {
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  /* ---- swipe deck (products, industries) ---- */
  .deck {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 14px 0 calc(var(--cut) + 10px);
  }
  .deck__track {
    flex: 1;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    gap: 10px;
    padding: 0 var(--gutter);
    scroll-padding: 0 var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .deck__track::-webkit-scrollbar {
    display: none;
  }
  .deck__track > :first-child {
    animation: deckNudge 1.4s var(--ease) 1.2s 1;
  }
  @keyframes deckNudge {
    40% {
      transform: translateX(-34px);
    }
  }
  .deck__card {
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    text-align: left;
    color: #f3efe8;
    background: #1b1a2a;
    transform: scale(0.95);
    opacity: 0.75;
    transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
  }
  .deck__card.is-current {
    transform: none;
    opacity: 1;
  }
  .deck__card .duo {
    position: absolute;
    inset: 0;
  }
  .deck__card.is-current .duo img {
    filter: none;
    mix-blend-mode: normal;
  }
  .deck__card.is-current .duo::after {
    opacity: 0;
  }
  .deck__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 26, 42, 0.92) 0%, rgba(27, 26, 42, 0.35) 45%, transparent 70%);
  }
  .deck__badge.art-inset {
    top: 12px;
    right: 12px;
    bottom: auto;
    width: 30%;
  }
  .deck__num {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 8px;
    background: rgba(27, 26, 42, 0.75);
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .deck__text {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .deck__text strong {
    font-family: var(--f-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 34px;
    line-height: 0.92;
  }
  .deck__text small {
    font-size: 13px;
    line-height: 1.35;
    color: rgba(243, 239, 232, 0.85);
  }
  .deck__text em {
    font-style: normal;
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--coolant);
  }
  .deck__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding-top: 12px;
  }
  .deck__dots button {
    width: 8px;
    height: 4px;
    background: rgba(27, 26, 42, 0.25);
    transition: width 0.3s var(--ease), background 0.3s var(--ease);
  }
  .deck__dots button.is-on {
    width: 26px;
    background: var(--oxide);
  }

  /* ---- founder (about) ---- */
  .fp {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
  .fp__photo {
    object-fit: cover;
    object-position: 66% 34%;
    animation: archImg 1.6s var(--ease) both;
  }
  .fp__sun {
    position: absolute;
    right: -22vw;
    top: 4%;
    width: 40vw;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 10px solid var(--oxide);
    opacity: 0.9;
    animation: sunIn 1.2s var(--ease) 0.2s both;
  }
  .fp__tag {
    position: absolute;
    left: 6%;
    top: 0;
    z-index: 2;
    transform-origin: 50% 0;
    touch-action: none;
    cursor: grab;
    will-change: transform;
  }
  .fp__string {
    display: block;
    width: 1.5px;
    height: 13svh;
    margin: 0 auto;
    background: #1b1a2a;
  }
  .fp__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 16px 12px;
    background: #f3efe8;
    border: 1.5px solid #1b1a2a;
    box-shadow: 5px 5px 0 rgba(27, 26, 42, 0.35);
  }
  .fp__card::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    border-radius: 50%;
    border: 1.5px solid #1b1a2a;
  }
  .fp__card small {
    font-family: var(--f-mono);
    font-size: 9.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--oxide);
  }
  .fp__card strong {
    font-family: var(--f-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 0.95;
    color: #1b1a2a;
  }
  .fp__card em {
    font-style: normal;
    font-family: var(--f-mono);
    font-size: 8.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(27, 26, 42, 0.6);
  }
  .fp__hint {
    position: absolute;
    left: 6%;
    top: calc(13svh + 100px);
    padding: 6px 10px;
    background: rgba(27, 26, 42, 0.78);
    color: #e7e1d6;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    animation: fadeup 0.6s var(--ease) 1.4s both;
  }

  /* ---- cool hall (data centre) ---- */
  .ch {
    position: absolute;
    inset: 0;
  }
  .ch__art {
    position: absolute;
    inset: 0;
    cursor: pointer;
  }
  .ch__art svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .ch__art svg * {
    transition: stroke 0.9s var(--ease), fill 0.9s var(--ease);
  }
  .ch:not(.is-on) .ch__art [stroke='#4fd1c1'] {
    stroke: #ff6a3d;
  }
  .ch:not(.is-on) .ch__art [fill='#4fd1c1'] {
    fill: #ff6a3d;
  }
  .ch:not(.is-on) .ch__art .flow,
  .ch:not(.is-on) .ch__art .spin {
    animation-play-state: paused;
  }
  .ch__heat {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 70%, rgba(255, 106, 61, 0.55), transparent 65%);
    mix-blend-mode: screen;
    animation: heat 1.8s ease-in-out infinite alternate;
    transition: opacity 0.9s var(--ease);
    pointer-events: none;
  }
  .ch.is-on .ch__heat {
    opacity: 0;
  }
  @keyframes heat {
    from {
      transform: scale(1);
      filter: blur(0);
    }
    to {
      transform: scale(1.06);
      filter: blur(6px);
    }
  }
  .ch__switch {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    bottom: calc(var(--cut) + 16px);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: rgba(27, 26, 42, 0.86);
    border: 1px solid rgba(231, 225, 214, 0.2);
    color: #e7e1d6;
    text-align: left;
  }
  .ch__track {
    position: relative;
    flex: none;
    width: 52px;
    height: 28px;
    border-radius: 14px;
    background: #ff6a3d;
    transition: background 0.4s var(--ease);
  }
  .ch__track i {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f3efe8;
    transition: transform 0.4s var(--ease);
  }
  .ch.is-on .ch__track {
    background: var(--coolant);
  }
  .ch.is-on .ch__track i {
    transform: translateX(24px);
  }
  .ch__label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: var(--f-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 19px;
    line-height: 1;
  }
  .ch__label small {
    font-family: var(--f-mono);
    font-weight: 400;
    font-size: 10px;
    letter-spacing: 0.16em;
    color: rgba(231, 225, 214, 0.6);
  }
  .ch:not(.is-on) .ch__switch {
    animation: switchPulse 2.2s ease-in-out 1.5s infinite;
  }
  @keyframes switchPulse {
    50% {
      box-shadow: 0 0 0 6px rgba(79, 209, 193, 0.25);
    }
  }

  /* ---- blank job card (contact) ---- */
  .cp {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding-bottom: var(--cut);
    background-image: linear-gradient(rgba(27, 26, 42, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(27, 26, 42, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
  }
  .cp__card {
    position: relative;
    width: min(78vw, 340px);
    display: flex;
    flex-direction: column;
    padding: 30px 20px 18px;
    text-align: left;
    background: #f3efe8;
    color: #1b1a2a;
    border: 1.5px solid #1b1a2a;
    box-shadow: 8px 8px 0 #1b1a2a;
    transform: rotate(-3deg);
    animation: cardIn 0.9s cubic-bezier(0.2, 1.4, 0.4, 1) 0.2s both;
  }
  @keyframes cardIn {
    from {
      opacity: 0;
      transform: rotate(-12deg) translateY(40px);
    }
  }
  .cp__card:active {
    transform: rotate(-1deg) scale(0.98);
  }
  .cp__head small {
    display: block;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--oxide);
  }
  .cp__head strong {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 36px;
    line-height: 1;
  }
  .cp__row {
    display: grid;
    grid-template-columns: 82px 1fr;
    align-items: end;
    gap: 10px;
    padding: 10px 0 8px;
    border-bottom: 1px dashed rgba(27, 26, 42, 0.25);
    font-family: var(--f-mono);
    font-size: 9.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(27, 26, 42, 0.55);
  }
  .cp__row i {
    height: 8px;
    background: linear-gradient(90deg, rgba(27, 26, 42, 0.08), rgba(27, 26, 42, 0.18), rgba(27, 26, 42, 0.08));
    background-size: 200% 100%;
    animation: shimmer 1.6s linear infinite;
  }
  @keyframes shimmer {
    to {
      background-position: -200% 0;
    }
  }
  .cp__stamp {
    position: absolute;
    right: 14px;
    bottom: 36px;
    padding: 8px 10px;
    border: 3px solid var(--oxide);
    color: var(--oxide);
    font-family: var(--f-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 22px;
    line-height: 1;
    transform: rotate(-12deg);
    animation: stampPulse 1.8s ease-in-out 1.2s infinite;
  }
  @keyframes stampPulse {
    50% {
      transform: rotate(-12deg) scale(1.08);
    }
  }
  .cp__wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1b1a2a;
  }
  .cp__wa svg {
    width: 18px;
    height: 18px;
    color: #1fa855;
  }
  .contact2 {
    padding-top: 20px;
  }
  .contact2 .qb {
    margin-top: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .deck__track > :first-child,
  .ch__heat,
  .cp__stamp,
  .cp__row i {
    animation: none;
  }
}

@media (max-width: 760px) {
  .mo__lede {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(27, 26, 42, 0.72);
  }
  /* keep the founder's face clear: no ring over the photo, tag clear of his head */
  .fp__sun {
    display: none;
  }
  .fp__tag {
    left: 4%;
  }
  .fp__string {
    height: 7svh;
  }
  .fp__hint {
    top: calc(7svh + 96px);
  }
}

.site-footer__brand p.site-footer__tagline {
  margin-top: 22px;
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 26px;
  line-height: 1;
  color: #e7e1d6;
}
.site-footer__brand p.site-footer__tagline + p {
  margin-top: 8px;
}
@media (max-width: 760px) {
  .site-footer__brand p.site-footer__tagline {
    display: block;
    font-size: 22px;
  }
}
