/* Holdfast Vessel Works — homepage concept */
:root {
  --ink: #02060d;
  --ink-2: #0b111c;
  --ink-3: #131b29;
  --line-d: rgba(200, 214, 232, 0.14);
  --text-d: #e9edf2;
  --mute-d: #93a0b2;
  --paper: #eceef1;
  --paper-2: #e2e5ea;
  --card: #f6f7f9;
  --line-l: rgba(10, 20, 36, 0.12);
  --text-l: #0b111c;
  --mute-l: #566273;
  --steel: #c9cdd2;
  --red: #e2261c;
  --red-2: #ff3b2f;
  --teal: #3fc6bb;
  --amber: #ff9a3c;
  --cold: #5db8ff;
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --display: "Mona Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1360px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--ink); color: var(--text-d);
  font-family: var(--display); font-stretch: 100%; font-weight: 420; font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* ---------------------------------------------------------------- type */
.h-hero {
  font-stretch: 118%; font-weight: 760; letter-spacing: -.04em; line-height: .9;
  font-size: clamp(46px, 6.6vw, 118px); margin: 0;
}
.h2 { font-stretch: 115%; font-weight: 720; letter-spacing: -.035em; line-height: .95; font-size: clamp(38px, 5vw, 84px); margin: 0; }
.h2 em, .h3 em { font-style: normal; color: var(--mute-l); }
.dark .h2 em { color: var(--mute-d); }
.h3 { font-stretch: 112%; font-weight: 700; letter-spacing: -.03em; line-height: 1; font-size: clamp(26px, 2.6vw, 42px); margin: 0; }
.h4 { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 18px; color: var(--mute-d); }
.eyebrow, .kicker, .q-label {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 22px; color: var(--mute-d);
  display: flex; align-items: center; gap: 12px;
}
.kicker span { color: var(--red); }
.kicker span::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; margin-left: 12px; vertical-align: middle; opacity: .6; }
.q-label { color: var(--red); }
.light .kicker, .light .eyebrow { color: var(--mute-l); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(226, 38, 28, .18); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(226, 38, 28, 0); } }
.lede { font-size: clamp(17px, 1.35vw, 21px); color: #c3ccd8; max-width: min(30em, 58vw); margin: 26px 0 0; line-height: 1.45; }
.sec-lede { font-size: clamp(16px, 1.2vw, 19px); color: var(--mute-l); max-width: 34em; margin: 18px 0 0; }
.dark .sec-lede { color: var(--mute-d); }
.fine { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--mute-d); margin: 14px 0 0; }
.light .fine { color: var(--mute-l); }

/* split-line reveal helper */
.line-mask { overflow: hidden; display: block; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --bg: transparent; --fg: currentColor;
  position: relative; display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-stretch: 105%; font-size: 16px; letter-spacing: -.01em; background: var(--bg); color: var(--fg);
  overflow: hidden; isolation: isolate; transition: transform .5s var(--spring), box-shadow .4s var(--ease);
  white-space: nowrap;
}
.btn span { position: relative; z-index: 2; }
.btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #fff; transform: translateY(101%); transition: transform .55s var(--ease); z-index: 1; }
.btn:hover::before { transform: translateY(0); }
.btn-red { --bg: var(--red); --fg: #fff; box-shadow: 0 10px 30px -10px rgba(226, 38, 28, .6); }
.btn-red:hover { color: var(--red); }
.btn-red:hover .arrow { background: var(--red); }
.btn-ghost { box-shadow: inset 0 0 0 1.5px rgba(233, 237, 242, .35); }
.btn-ghost:hover { color: var(--ink); }
.light .btn-ghost { box-shadow: inset 0 0 0 1.5px rgba(11, 17, 28, .25); }
.light .btn-ghost::before { background: var(--ink); }
.light .btn-ghost:hover { color: #fff; }
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn-wide { width: 100%; justify-content: center; height: 62px; font-size: 17px; }
.arrow { position: relative; z-index: 2; width: 22px; height: 22px; border-radius: 50%; background: #fff; flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M5 11h11m-4.5-4.5L16 11l-4.5 4.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M5 11h11m-4.5-4.5L16 11l-4.5 4.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .45s var(--spring); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; z-index: 60; top: 14px; left: 50%; translate: -50% 0; width: min(calc(100% - 28px), 1240px);
  display: flex; align-items: center; gap: 28px; height: 64px; padding: 0 10px 0 22px; border-radius: 999px;
  background: rgba(8, 13, 22, .42); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 20px 40px -24px rgba(0, 0, 0, .6);
  transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s, transform .6s var(--ease);
}
.nav.on-light { background: rgba(246, 247, 249, .72); color: var(--text-l); box-shadow: inset 0 0 0 1px rgba(10, 20, 36, .08), 0 20px 40px -24px rgba(10, 20, 36, .3); }
.nav.hide { transform: translateY(-120%); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 21px; color: currentColor; flex: none; }
.brand-word { font-stretch: 125%; font-weight: 800; letter-spacing: -.02em; font-size: 19px; text-transform: uppercase; }
.brand-sub { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .55; margin-top: 2px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { font-size: 14.5px; font-weight: 500; padding: 9px 14px; border-radius: 999px; opacity: .78; transition: opacity .3s, background .3s; }
.nav-links a:hover, .nav-links a.is-on { opacity: 1; background: rgba(255, 255, 255, .08); }
.nav.on-light .nav-links a:hover, .nav.on-light .nav-links a.is-on { background: rgba(10, 20, 36, .06); }
.nav-cta { height: 46px; }
.nav-burger { display: none; width: 46px; height: 46px; border-radius: 50%; margin-left: auto; position: relative; background: rgba(255,255,255,.08); }
.nav.on-light .nav-burger { background: rgba(10,20,36,.06); }
.nav-burger i { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-burger i:first-child { top: 19px; } .nav-burger i:last-child { top: 26px; }
.nav-burger[aria-expanded="true"] i:first-child { top: 22px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] i:last-child { top: 22px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 55; background: rgba(6, 10, 18, .96); backdrop-filter: blur(10px); display: flex; flex-direction: column; justify-content: center; padding: 100px 28px 40px; gap: 6px; }
.menu[hidden] { display: none; }
.menu a { font-stretch: 118%; font-weight: 720; font-size: 40px; letter-spacing: -.03em; line-height: 1.15; }
.menu .menu-cta { color: var(--red); margin-top: 18px; font-size: 26px; }

/* ---------------------------------------------------------------- stage (hero + services) */
.stage-wrap { position: relative; }
.stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--ink); }
.stage-scene { position: absolute; inset: 0; will-change: transform; }
.stage-gl, .stage-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-fallback { object-fit: cover; object-position: 62% 50%; opacity: 0; transition: opacity .6s; }
.stage.no-gl .stage-fallback { opacity: 1; }
.stage-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 10, 18, .72) 0%, rgba(6, 10, 18, .35) 34%, rgba(6, 10, 18, 0) 55%); opacity: var(--shade, 1); }

.hero-copy { position: absolute; z-index: 5; left: var(--gutter); top: 50%; translate: 0 -46%; width: min(50vw, 860px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.lens-hint {
  position: absolute; z-index: 6; right: var(--gutter); top: 118px; margin: 0; display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-d);
  transition: opacity .5s var(--ease);
}
.lens-hint-icon { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--red); position: relative; }
.lens-hint-icon::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--red); animation: pulse2 1.8s var(--ease) infinite; }
@keyframes pulse2 { 50% { transform: scale(.4); opacity: .4; } }

.facts {
  position: absolute; z-index: 5; left: var(--gutter); right: var(--gutter); bottom: 28px; margin: 0; padding: 18px 0 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line-d);
}
.facts li { display: flex; flex-direction: column; gap: 2px; }
.facts b { font-stretch: 112%; font-weight: 680; font-size: clamp(16px, 1.35vw, 21px); letter-spacing: -.02em; }
.facts span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute-d); }

/* lens */
.lens { position: absolute; z-index: 4; left: 0; top: 0; width: 200px; height: 200px; margin: -100px 0 0 -100px; pointer-events: none; will-change: transform; opacity: 0; }
.lens svg { width: 100%; height: 100%; overflow: visible; }
.lens-ring { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.lens-ticks line { stroke: var(--red); stroke-width: 2; vector-effect: non-scaling-stroke; }
.lens-ticks line.minor { stroke: rgba(255, 255, 255, .5); stroke-width: 1; }
.lens-tag {
  position: absolute; left: 50%; top: 0; translate: -50% calc(-100% - 10px); white-space: nowrap;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: var(--red); padding: 5px 9px; border-radius: 4px;
}

/* callouts */
.callouts { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.co { position: absolute; left: 0; top: 0; will-change: transform, opacity; opacity: 0; transition: opacity .35s var(--ease); }
.co.on { opacity: 1; }
.co-dot { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .18), 0 0 18px rgba(255, 255, 255, .6); }
.co-line { position: absolute; left: 0; top: 0; height: 1px; background: rgba(255, 255, 255, .7); transform-origin: 0 0; }
.co-label { position: absolute; white-space: nowrap; padding: 7px 11px 8px; border-radius: 8px; background: rgba(6, 10, 18, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-size: 13.5px; font-weight: 560; line-height: 1.2; }
.co-label small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--mute-d); font-weight: 400; margin-top: 3px; }

/* overlay drawings on top of the render */
.overlay { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; overflow: visible; }
.overlay .ov { opacity: 0; transition: opacity .5s var(--ease); }
.overlay .ov.on { opacity: 1; }
.ov-line { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 1.2; }
.ov-dim { fill: none; stroke: var(--red-2); stroke-width: 1.4; }
.ov-text { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; fill: #fff; }
.ov-text.red { fill: var(--red-2); }
.ov-pill { fill: rgba(6, 10, 18, .78); stroke: rgba(255, 255, 255, .18); }
.ov-flow { fill: none; stroke: rgba(210, 255, 250, .9); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 3 12; animation: dash 1.1s linear infinite; }
.ov-heat { fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 10; animation: dash .9s linear infinite reverse; }
.ov-weld { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 5 5; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -30; } }

/* services */
.svc { position: absolute; z-index: 6; left: var(--gutter); top: 50%; translate: 0 -50%; width: min(40vw, 560px); visibility: hidden; }
.svc-title { margin: 0 0 34px; font-size: clamp(38px, 4.4vw, 76px); }
.svc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.svc-step { border-top: 1px solid var(--line-d); }
.svc-head { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 0; text-align: left; }
.svc-no { font-family: var(--mono); font-size: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-d); color: var(--mute-d); transition: background .4s, color .4s, box-shadow .4s; }
.svc-name { font-stretch: 116%; font-weight: 700; font-size: clamp(22px, 2vw, 32px); letter-spacing: -.03em; color: var(--mute-d); transition: color .4s; }
.svc-step.is-on .svc-no { background: var(--red); color: #fff; box-shadow: none; }
.svc-step.is-on .svc-name { color: #fff; }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.svc-step.is-on .svc-body { grid-template-rows: 1fr; }
.svc-inner { overflow: hidden; min-height: 0; opacity: 0; transition: opacity .4s var(--ease); }
.svc-step.is-on .svc-inner { opacity: 1; transition-delay: .15s; }
.svc-body p { margin: 0 0 12px 44px; color: #c3ccd8; font-size: 17px; }
.svc-body ul { list-style: none; margin: 0 0 18px 44px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-body li { font-size: 13.5px; font-weight: 520; padding: 8px 13px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); cursor: default; transition: background .3s, box-shadow .3s, color .3s; }
.svc-body li:hover, .svc-body li.is-hot { background: rgba(226, 38, 28, .16); box-shadow: inset 0 0 0 1px rgba(255, 90, 80, .6); color: #fff; }
.svc-progress { height: 2px; background: var(--line-d); margin-top: 18px; border-radius: 2px; overflow: hidden; }
.svc-progress i { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------------------------------------------------------------- bands */
.band { position: relative; padding: clamp(96px, 12vw, 180px) 0; }
.band.light { background: var(--paper); color: var(--text-l); }
.band.dark { background: var(--ink); color: var(--text-d); }
.band.light + .band.light { padding-top: 0; }
.band.dark + .band.dark { padding-top: 0; }
.sec-head { margin-bottom: clamp(40px, 5vw, 72px); }
.q-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 1100px; }

/* ---------------------------------------------------------------- equipment */
.eq-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 540; box-shadow: inset 0 0 0 1px var(--line-l); transition: background .3s, color .3s, box-shadow .3s; }
.chip:hover { box-shadow: inset 0 0 0 1px rgba(10, 20, 36, .4); }
.chip.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.ind-note { margin: 0; font-size: 15px; color: var(--mute-l); min-height: 1.5em; flex: 1 1 280px; }
.ind-note b { color: var(--text-l); font-weight: 620; }

.eq { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 20px; }
.eq-tabs { display: flex; flex-direction: column; gap: 6px; }
.eq-tab { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; text-align: left; transition: background .35s, opacity .35s, color .35s; }
.eq-tab:hover { background: rgba(10, 20, 36, .05); }
.eq-tab.is-on { background: var(--ink); color: #fff; }
.eq-tab.is-dim { opacity: .32; }
.eq-tab .t-ico { width: 38px; height: 38px; flex: none; }
.eq-tab .t-ico * { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.eq-tab b { display: block; font-stretch: 112%; font-weight: 680; font-size: 19px; letter-spacing: -.02em; line-height: 1.1; }
.eq-tab small { display: block; font-size: 13px; color: var(--mute-l); margin-top: 3px; }
.eq-tab.is-on small { color: var(--mute-d); }
.eq-tab .t-fit { position: absolute; right: 14px; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); opacity: 0; transform: scale(0); transition: .4s var(--spring); }
.eq-tab.is-fit .t-fit { opacity: 1; transform: scale(1); }

.eq-panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: var(--card); border-radius: 26px; overflow: hidden; box-shadow: 0 1px 0 rgba(10, 20, 36, .05), 0 30px 60px -40px rgba(10, 20, 36, .35); min-height: 560px; }
.eq-draw { position: relative; background:
  radial-gradient(circle at 50% 55%, #fff 0%, rgba(255,255,255,0) 70%),
  linear-gradient(rgba(10, 20, 36, .05) 1px, transparent 1px) 0 0/24px 24px,
  linear-gradient(90deg, rgba(10, 20, 36, .05) 1px, transparent 1px) 0 0/24px 24px, #eef0f3; }
.eq-draw svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.eq-info { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 18px; }
.eq-info .eq-kick { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.eq-info h3 { font-stretch: 114%; font-weight: 720; font-size: clamp(28px, 2.4vw, 40px); letter-spacing: -.03em; line-height: 1; margin: 0; }
.eq-info .eq-say { font-size: 18px; margin: 0; color: #2a3444; }
.eq-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.eq-list li { font-size: 13.5px; font-weight: 520; padding: 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-l); }
.eq-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-l); border-radius: 14px; overflow: hidden; margin: 0; }
.eq-spec div { background: var(--card); padding: 12px 14px; }
.eq-spec dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-l); }
.eq-spec dd { margin: 3px 0 0; font-weight: 620; font-size: 15px; }
.eq-ex { margin-top: auto; padding: 16px 18px; border-radius: 14px; background: var(--ink); color: #fff; display: flex; gap: 14px; align-items: flex-start; }
.eq-ex i { font-family: var(--mono); font-style: normal; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--red-2); flex: none; padding-top: 3px; }
.eq-ex span { font-size: 14.5px; line-height: 1.4; }

/* equipment drawings */
.dw { stroke: #0b111c; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.dw-thin { stroke: #0b111c; stroke-width: 1; fill: none; opacity: .5; }
.dw-fill { fill: #fff; stroke: #0b111c; stroke-width: 2; stroke-linejoin: round; }
.dw-red { stroke: var(--red); fill: none; stroke-width: 2; stroke-linecap: round; }
.dw-redfill { fill: var(--red); }
.dw-liq { fill: rgba(63, 198, 187, .28); }
.dw-liq2 { fill: rgba(63, 198, 187, .5); }
.dw-oil { fill: rgba(255, 176, 60, .45); }
.dw-hot { stroke: var(--amber); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 2 9; animation: dash .8s linear infinite; }
.dw-cold { stroke: var(--cold); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 2 9; animation: dash .8s linear infinite reverse; }
.dw-flow { stroke: #0b111c; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-dasharray: 2 10; animation: dash .9s linear infinite; opacity: .55; }
.dw-flowt { stroke: #16857c; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-dasharray: 2 10; animation: dash .9s linear infinite; }
.dw-text { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; fill: #0b111c; }
.dw-text.mute { fill: #566273; }
.dw-text.red { fill: var(--red); }
.dw-tag { fill: #fff; stroke: #0b111c; stroke-width: 1.4; }
.dw-led { fill: #3fdc7e; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* ---------------------------------------------------------------- questions */
.q-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.q-card { position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%; min-height: 330px; padding: 26px 24px 70px; border-radius: 22px; background: var(--card);
  box-shadow: 0 1px 0 rgba(10, 20, 36, .05), 0 24px 50px -40px rgba(10, 20, 36, .4); transform-style: preserve-3d; transition: background .4s, color .4s, box-shadow .4s; will-change: transform; }
.q-card:hover { background: var(--ink); color: #fff; box-shadow: 0 40px 70px -40px rgba(10, 20, 36, .7); }
.q-no { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--red); }
.q-q { font-stretch: 112%; font-weight: 700; font-size: clamp(21px, 1.7vw, 27px); letter-spacing: -.025em; line-height: 1.08; }
.q-a { font-size: 15.5px; color: var(--mute-l); margin-top: auto; transition: color .4s; }
.q-card:hover .q-a { color: #c3ccd8; }
.q-card .arrow { position: absolute; right: 22px; bottom: 22px; width: 34px; height: 34px; background: var(--ink); transition: background .4s, transform .45s var(--spring); }
.q-card:hover .arrow { background: var(--red); transform: rotate(-45deg); }

/* ---------------------------------------------------------------- size */
.size { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 20px; margin-bottom: clamp(96px, 10vw, 150px); }
.size-stage { position: relative; background: var(--card); border-radius: 26px; overflow: hidden; min-height: 420px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end;
  background-image: linear-gradient(rgba(10, 20, 36, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 20, 36, .045) 1px, transparent 1px); background-size: 32px 32px; }
.size-svg { width: 100%; height: auto; overflow: visible; }
.size-read { position: absolute; left: 26px; top: 24px; display: flex; gap: 34px; }
.size-read span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-l); }
.size-read b { font-stretch: 112%; font-weight: 720; font-size: clamp(24px, 2.4vw, 38px); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.size-ctrl { display: flex; flex-direction: column; gap: 18px; }
.range { display: block; background: var(--card); border-radius: 18px; padding: 16px 18px 12px; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.range-top span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-l); }
.range-top b { font-stretch: 110%; font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; }
.range input { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: grab; }
.range input:active { cursor: grabbing; }
.range input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), rgba(10, 20, 36, .12) var(--p, 50%)); }
.range input::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(10, 20, 36, .12); }
.range input::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--ink); }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--ink), 0 6px 14px rgba(10, 20, 36, .25); transition: transform .3s var(--spring); }
.range input:active::-webkit-slider-thumb { transform: scale(1.2); }
.range input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 540; padding: 12px 14px; border-radius: 14px; background: var(--card); transition: background .4s, color .4s; }
.checks li i { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; color: #fff; background: #1b9e62; transition: background .4s; }
.checks li.warn i { background: #e0a100; }
.checks li.no i { background: var(--red); }
.checks li small { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--mute-l); text-align: right; }
.limits { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; margin: 0; border-radius: 16px; overflow: hidden; background: var(--line-l); }
.limits div { background: var(--card); padding: 14px 16px; }
.limits dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-l); }
.limits dd { margin: 2px 0 0; font-weight: 640; font-size: 15px; }
.size-person { fill: #0b111c; }
.size-truck { fill: none; stroke: #0b111c; stroke-width: 1.6; opacity: .45; }
.size-vessel { fill: url(#steelGrad); stroke: #0b111c; stroke-width: 2; }
.size-dim { stroke: var(--red); stroke-width: 1.4; fill: none; }
.size-dimtext { font-family: var(--mono); font-size: 13px; fill: var(--red); }
.size-env { fill: none; stroke: #0b111c; stroke-width: 1.2; stroke-dasharray: 6 6; opacity: .35; }
.size-envtext { font-family: var(--mono); font-size: 11px; fill: #566273; letter-spacing: .06em; }

/* materials */
.mat-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 60px; margin-bottom: 34px; }
.mat-head .sec-lede { margin: 0; max-width: 28em; }
.mats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mat { --mx: 50%; --my: 30%; position: relative; transition: translate .5s var(--spring), opacity .5s var(--ease), filter .5s var(--ease); border-radius: 22px; overflow: hidden; min-height: 250px; padding: 20px; display: flex; flex-direction: column; color: #0b111c; isolation: isolate;
  box-shadow: 0 1px 0 rgba(10, 20, 36, .05), 0 24px 50px -38px rgba(10, 20, 36, .45); }
.mat:hover { translate: 0 -4px; }
.mat.is-out { opacity: .28; filter: grayscale(1); }
.mat-filter { margin-bottom: 18px; align-items: center; }
.mf-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-l); margin-right: 6px; }
.mat::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--metal); }
.mat::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9; mix-blend-mode: soft-light;
  background: radial-gradient(420px 260px at var(--mx) var(--my), rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 60%),
              repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, rgba(0,0,0,.04) 1px 3px); }
.mat .m-weld { position: absolute; left: 0; right: 0; top: 58%; height: 10px; z-index: -1; opacity: .55;
  background: repeating-radial-gradient(ellipse 7px 5px at 50% 50%, rgba(0,0,0,.18) 0 1px, rgba(255,255,255,.2) 1px 3px); background-size: 9px 10px; }
.mat .m-tint { position: absolute; left: 0; right: 0; top: 50%; height: 40%; z-index: -1; opacity: .75; }
.mat b { font-stretch: 112%; font-weight: 720; font-size: 22px; letter-spacing: -.02em; line-height: 1.05; }
.mat .m-grade { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; opacity: .7; margin-top: 4px; }
.mat .m-use { margin-top: auto; font-size: 14.5px; font-weight: 560; line-height: 1.35; background: rgba(255, 255, 255, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 12px; padding: 10px 12px; }
.mat .m-use span { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 3px; font-weight: 500; }
.mat.dark-metal { color: #fff; }
.mat.dark-metal .m-use { background: rgba(6, 10, 18, .55); }

/* ---------------------------------------------------------------- design */
.design { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-bottom: clamp(96px, 10vw, 160px); }
.seg { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-d); isolation: isolate; }
.seg button { position: relative; z-index: 2; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--mute-d); transition: color .4s; }
.seg button.is-on { color: var(--ink); }
.seg-pill { position: absolute; z-index: 1; top: 5px; bottom: 5px; left: 5px; width: 100px; border-radius: 999px; background: #fff; transition: transform .6s var(--spring), width .6s var(--spring); }
.design-say { font-size: clamp(18px, 1.5vw, 22px); color: #c3ccd8; margin: 28px 0 30px; max-width: 26em; min-height: 3em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-d); font-size: 17px; font-weight: 560; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--mute-d); width: 24px; }
.steps li .who { margin-left: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); color: var(--mute-d); }
.steps li .who.you { background: rgba(226, 38, 28, .18); color: #ff8a82; }
.drawing { position: relative; border-radius: 26px; background: #0d2340; overflow: hidden; aspect-ratio: 640 / 520;
  background-image: linear-gradient(rgba(170, 205, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(170, 205, 255, .08) 1px, transparent 1px);
  background-size: 20px 20px; box-shadow: inset 0 0 0 1px rgba(170, 205, 255, .18), 0 40px 80px -40px rgba(0, 0, 0, .8); }
.drawing svg { width: 100%; height: 100%; display: block; }
.ga { fill: none; stroke: #dbe9ff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ga-thin { fill: none; stroke: #9fc0ea; stroke-width: .8; }
.ga-center { fill: none; stroke: #9fc0ea; stroke-width: .8; stroke-dasharray: 14 4 2 4; }
.ga-dim { fill: none; stroke: #ff6d63; stroke-width: 1; }
.ga-text { font-family: var(--mono); font-size: 10.5px; fill: #dbe9ff; letter-spacing: .04em; }
.ga-text.red { fill: #ff8a82; }
.ga-hatch { fill: url(#hatch); stroke: #dbe9ff; stroke-width: 1.2; }
.tough { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.tough-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-d); border-radius: 22px; overflow: hidden; }
.tough-grid li { background: var(--ink-2); padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; min-height: 170px; transition: background .4s; }
.tough-grid li:hover { background: var(--ink-3); }
.t-if { font-stretch: 112%; font-weight: 700; font-size: 20px; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.t-if::before { content: "IF"; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .1em; padding: 3px 6px; border-radius: 4px; background: rgba(255, 255, 255, .08); color: var(--mute-d); }
.t-then { color: #c3ccd8; font-size: 15.5px; display: flex; gap: 10px; margin-top: auto; }
.t-then::before { content: "→"; color: var(--red-2); font-weight: 700; }

/* ---------------------------------------------------------------- testing */
.hydro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: center; margin-bottom: clamp(80px, 9vw, 140px); }
.gauge { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto; }
.gauge svg { width: 100%; height: 100%; overflow: visible; }
.g-bezel { fill: url(#bezel); }
.g-face { fill: #f3f4f6; }
.g-ticks line { stroke: #0b111c; stroke-width: 1.4; }
.g-ticks line.major { stroke-width: 3; }
.g-ticks text { font-family: var(--mono); font-size: 13px; fill: #0b111c; text-anchor: middle; dominant-baseline: middle; }
.g-arc-test { fill: none; stroke: var(--red); stroke-width: 10; stroke-linecap: butt; opacity: .9; }
.g-needle path { fill: var(--red); }
.g-needle circle { fill: #0b111c; stroke: #fff; stroke-width: 3; }
.g-read { position: absolute; left: 50%; top: 66%; translate: -50% 0; text-align: center; color: #0b111c; }
.g-read b { display: block; font-stretch: 112%; font-weight: 760; font-size: clamp(30px, 3.4vw, 52px); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.g-read span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #566273; }
.hydro-copy p { color: #c3ccd8; font-size: 18px; margin: 18px 0 28px; max-width: 28em; }
.hydro-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-d); border-radius: 16px; overflow: hidden; }
.hydro-steps li { background: var(--ink-2); padding: 14px; transition: background .4s; }
.hydro-steps li.is-on { background: var(--ink-3); }
.hydro-steps span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-d); }
.hydro-steps b { font-weight: 640; font-size: 15px; }
.hydro-steps .pass { color: #4fe39a; }

.tests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: clamp(80px, 9vw, 140px); }
.tests-col { background: var(--ink-2); border-radius: 24px; padding: clamp(24px, 3vw, 40px); box-shadow: inset 0 0 0 1px var(--line-d); }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tick-list li { display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line-d); font-size: 16.5px; }
.tick-list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100%; transform: scale(var(--tk, 1)); }
.tick-list.opt li::before { background-color: transparent; box-shadow: inset 0 0 0 1.5px var(--mute-d); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 6v8M6 10h8' fill='none' stroke='%2393a0b2' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }

.trace { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-bottom: clamp(80px, 9vw, 140px); }
.trace-copy p { color: #c3ccd8; font-size: 18px; margin: 18px 0 26px; max-width: 26em; }
.weld-card { background: var(--ink-2); border-radius: 20px; padding: 20px 22px; box-shadow: inset 0 0 0 1px var(--line-d); min-height: 176px; }
.weld-card .wc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.weld-card .wc-id { font-family: var(--mono); font-weight: 500; font-size: 13px; padding: 5px 9px; border-radius: 6px; background: var(--red); color: #fff; }
.weld-card .wc-name { font-weight: 660; font-size: 18px; }
.weld-card dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.weld-card dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-d); }
.weld-card dd { margin: 2px 0 0; font-size: 15px; font-weight: 560; }
.weld-card dd.ok { color: #4fe39a; }
.trace-map { background: var(--ink-2); border-radius: 26px; box-shadow: inset 0 0 0 1px var(--line-d); padding: 14px; }
.trace-map svg { width: 100%; height: auto; display: block; }
.wm-shell { fill: rgba(201, 205, 210, .06); stroke: #c9cdd2; stroke-width: 1.6; }
.wm-weld { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 5; stroke-linecap: round; cursor: pointer; transition: stroke .3s; }
.wm-weld-hit { fill: none; stroke: transparent; stroke-width: 22; cursor: pointer; }
.wm-weld.on { stroke: var(--red-2); filter: drop-shadow(0 0 6px rgba(255, 59, 47, .8)); }
.wm-tag rect { fill: var(--ink); stroke: rgba(255, 255, 255, .3); }
.wm-tag text { font-family: var(--mono); font-size: 11px; fill: #fff; text-anchor: middle; dominant-baseline: central; }
.wm-tag.on rect { fill: var(--red); stroke: var(--red); }
.wm-thin { fill: none; stroke: rgba(201, 205, 210, .45); stroke-width: 1; }

.book { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-bottom: clamp(80px, 9vw, 140px); }
.book-copy p { color: #c3ccd8; font-size: 18px; margin: 18px 0 26px; max-width: 26em; }
.book-stack { position: relative; height: 380px; perspective: 1400px; }
.doc { position: absolute; left: 50%; top: 50%; width: 230px; height: 300px; margin: -150px 0 0 -115px; border-radius: 12px; background: #f6f7f9; color: #0b111c; padding: 20px 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 24px 40px -20px rgba(0, 0, 0, .7);
  transform: translate3d(calc(var(--i) * 6px), calc(var(--i) * -6px), 0) rotate(calc(var(--i) * 1.4deg - 3deg)); transition: transform .9s var(--spring); display: flex; flex-direction: column; gap: 6px; }
.doc::after { content: ""; position: absolute; left: 18px; right: 18px; top: 92px; bottom: 22px;
  background: repeating-linear-gradient(180deg, rgba(10, 20, 36, .14) 0 1px, transparent 1px 14px); -webkit-mask: linear-gradient(90deg, #000 70%, transparent); mask: linear-gradient(90deg, #000 70%, transparent); }
.doc b { font-stretch: 112%; font-weight: 720; font-size: 20px; letter-spacing: -.02em; }
.doc span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: #566273; }
.doc:nth-child(1) b { color: var(--red); }
.book-stack.fan .doc { transform: translate3d(var(--fx), var(--fy), 0) rotate(var(--fr)); }

.stamps { }
.stamps .h3 { margin-bottom: 28px; }
.stamp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stamp-grid li { background: var(--ink-2); border-radius: 20px; padding: 22px; box-shadow: inset 0 0 0 1px var(--line-d); display: flex; flex-direction: column; gap: 6px; transition: background .4s, translate .5s var(--spring); }
.stamp-grid li:hover { background: var(--ink-3); translate: 0 -3px; }
.stamp { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-stretch: 125%; font-weight: 800; font-size: 18px; letter-spacing: -.02em; margin-bottom: 12px;
  box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 5px var(--ink-2), inset 0 0 0 6.5px rgba(255, 255, 255, .5); }
.stamp-grid li:first-child .stamp { background: var(--red); box-shadow: inset 0 0 0 2px var(--red), inset 0 0 0 5px var(--ink-2), inset 0 0 0 6.5px rgba(255, 255, 255, .4); }
.stamp-grid b { font-weight: 660; font-size: 16px; }
.stamp-grid span { color: var(--mute-d); font-size: 14.5px; line-height: 1.4; }

/* ---------------------------------------------------------------- skid */
.skid-pin { position: relative; }
.skid-stage { min-height: 100vh; display: flex; align-items: center; }
.skid-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); gap: clamp(20px, 4vw, 60px); align-items: center; }
.skid-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.skid-steps li { padding: 14px 0 14px 18px; border-left: 2px solid var(--line-l); transition: border-color .4s, opacity .4s; opacity: .38; }
.skid-steps li.is-on { border-color: var(--red); opacity: 1; }
.skid-steps li.is-done { opacity: .75; border-color: var(--ink); }
.skid-steps b { display: block; font-stretch: 112%; font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.skid-steps span { font-size: 15px; color: var(--mute-l); }
.skid-draw svg { width: 100%; height: auto; display: block; overflow: visible; }
.sk { stroke: #0b111c; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.sk-top { fill: #fff; } .sk-left { fill: #dfe3e8; } .sk-right { fill: #c9cfd7; }
.sk-steel-l { fill: #e9ecef; } .sk-steel-r { fill: #b9c0c9; }
.sk-red { fill: var(--red); } .sk-dark { fill: #1a2230; } .sk-panel { fill: #d5dae1; }
.sk-pipe { fill: none; stroke: #0b111c; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.sk-pipe-in { fill: none; stroke: #eef1f4; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.sk-flow { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 12; animation: dash .7s linear infinite; }
.sk-stamp { font-stretch: 125%; font-weight: 800; font-size: 26px; letter-spacing: .02em; fill: var(--red); }
.sk-stamp-ring { fill: none; stroke: var(--red); stroke-width: 3; }
.sk-shadow { fill: rgba(10, 20, 36, .12); }

.fit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(40px, 6vw, 90px); }
.fit-steps { list-style: none; margin: 30px 0 0; padding: 0; counter-reset: f; display: grid; gap: 0; }
.fit-steps li { counter-increment: f; position: relative; padding: 16px 0 16px 46px; border-top: 1px solid var(--line-l); font-size: 16.5px; color: #2a3444; }
.fit-steps li::before { content: counter(f); position: absolute; left: 0; top: 16px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; background: var(--ink); color: #fff; }
.fit-steps b { color: var(--text-l); font-weight: 680; }
.fit-plan { background: var(--card); border-radius: 26px; padding: 18px; box-shadow: 0 1px 0 rgba(10, 20, 36, .05), 0 30px 60px -40px rgba(10, 20, 36, .35); }
.fit-plan svg { width: 100%; height: auto; display: block; }
.pl-wall { fill: #0b111c; }
.pl-eq { fill: #e3e7ec; stroke: #0b111c; stroke-width: 1.4; }
.pl-grid { stroke: rgba(10, 20, 36, .07); stroke-width: 1; }
.pl-skid { fill: #fff; stroke: #0b111c; stroke-width: 2; }
.pl-skid-v { fill: #dfe3e8; stroke: #0b111c; stroke-width: 1.6; }
.pl-dim { stroke: var(--red); stroke-width: 1.3; fill: none; }
.pl-txt { font-family: var(--mono); font-size: 11px; fill: var(--red); letter-spacing: .04em; }
.pl-lbl { font-family: var(--mono); font-size: 10.5px; fill: #566273; letter-spacing: .08em; text-transform: uppercase; }
.pl-path { fill: none; stroke: #0b111c; stroke-width: 1.4; stroke-dasharray: 4 6; opacity: .45; }

/* ---------------------------------------------------------------- shop */
.shop { overflow: hidden; }
.shop-stats { list-style: none; margin: 0 0 clamp(40px, 5vw, 64px); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.shop-stats li { border-top: 1px solid var(--line-d); padding-top: 16px; }
.shop-stats b { display: block; font-stretch: 118%; font-weight: 760; letter-spacing: -.04em; font-size: clamp(38px, 4.4vw, 72px); line-height: 1; font-variant-numeric: tabular-nums; }
.shop-stats span { color: var(--mute-d); font-size: 15px; }
.reel { position: relative; cursor: none; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.reel-track { display: flex; gap: 14px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.reel-item { position: relative; margin: 0; width: clamp(280px, 30vw, 460px); aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--ink-3); flex: none; }
.reel-item.wide { width: clamp(420px, 52vw, 820px); aspect-ratio: auto; }
.reel-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; pointer-events: none; }
.reel-item figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(6, 10, 18, .6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 14.5px; color: #c3ccd8; display: flex; gap: 10px; align-items: baseline; }
.reel-item figcaption b { color: #fff; font-weight: 660; }
.reel-cursor { position: fixed; z-index: 70; left: 0; top: 0; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; transform: scale(0); transition: transform .45s var(--spring); }
.reel-cursor.on { transform: scale(1); }
.reel-cursor.down { transform: scale(.8); }

/* ---------------------------------------------------------------- cta */
.cta { padding-bottom: clamp(80px, 9vw, 130px); }
.cta::before { content: ""; position: absolute; left: 50%; top: -1px; width: 1px; height: 90px; background: linear-gradient(var(--red), transparent); }
.cta-head { margin-bottom: 48px; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .9fr); gap: 20px; align-items: start; }
.formcard { background: var(--ink-2); border-radius: 28px; padding: clamp(20px, 3vw, 36px); box-shadow: inset 0 0 0 1px var(--line-d); }
.seg-dark { margin-bottom: 26px; max-width: 100%; }
.seg-dark button { font-size: 14.5px; padding: 0 18px; }
.form[hidden] { display: none; }
.form-say { color: #c3ccd8; margin: 0 0 22px; font-size: 17px; }
.f-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.f { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.f-2 { grid-column: span 2; }
.f > span:first-child { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-d); }
.f input, .f select { width: 100%; height: 52px; border: 0; border-radius: 14px; padding: 0 16px; background: rgba(255, 255, 255, .05); color: #fff; font: inherit; font-size: 16px;
  box-shadow: inset 0 0 0 1px var(--line-d); transition: box-shadow .3s, background .3s; outline: none; min-width: 0; color-scheme: dark; }
.f select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2393a0b2' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 11px; padding-right: 34px; }
.f select option { background: var(--ink-2); }
.f input::placeholder { color: #5d6a7c; }
.f input:focus, .f select:focus { box-shadow: inset 0 0 0 1.5px var(--red); background: rgba(255, 255, 255, .07); }
.f .invalid { box-shadow: inset 0 0 0 1.5px var(--red); }
.f-unit { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 6px; }
.drop { position: relative; }
.drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; height: 100%; z-index: 2; }
.drop-in { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14); background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 8px, transparent 8px 16px); transition: box-shadow .3s, background-color .3s; }
.drop.over .drop-in, .drop:hover .drop-in { box-shadow: inset 0 0 0 1.5px var(--red); background-color: rgba(226, 38, 28, .06); }
.drop-icon { width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 16V5m-4.5 4.5L12 5l4.5 4.5M5 19h14' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; flex: none; }
.drop-in b { display: block; font-weight: 620; font-size: 15.5px; }
.drop-in em { display: block; font-style: normal; font-size: 13.5px; color: var(--mute-d); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 540; box-shadow: inset 0 0 0 1px var(--line-d); cursor: pointer; transition: background .3s, box-shadow .3s; font-family: var(--display); letter-spacing: 0; text-transform: none; color: #fff; }
.pills input:checked + span { background: var(--red); box-shadow: none; }
.pills input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.sent { text-align: center; padding: 40px 10px; }
.sent svg { width: 84px; height: 84px; margin: 0 auto 16px; display: block; }
.sent circle { fill: none; stroke: var(--red); stroke-width: 3; stroke-dasharray: 230; stroke-dashoffset: 230; animation: draw 1s var(--ease) forwards; }
.sent path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sent p { color: #c3ccd8; margin: 10px auto 22px; max-width: 26em; }

.sheet { position: sticky; top: 100px; background: #f3f4f6; color: var(--text-l); border-radius: 24px; padding: 18px; overflow: hidden; }
.sheet-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-l); padding-bottom: 12px; border-bottom: 1px solid var(--line-l); }
.sheet-draw { width: 100%; height: auto; display: block; margin: 8px 0; }
.sheet-rows { margin: 0; display: grid; gap: 0; }
.sheet-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line-l); font-size: 14px; }
.sheet-rows dt { color: var(--mute-l); }
.sheet-rows dd { margin: 0; font-weight: 620; text-align: right; }
.sheet-rows dd.empty { color: #9aa4b2; font-weight: 400; }
.sheet-rows div.flash dd { animation: flash .8s var(--ease); }
@keyframes flash { 0% { color: var(--red); transform: translateX(-4px); } 100% { color: inherit; transform: none; } }
.sheet-note { font-size: 13.5px; color: var(--mute-l); margin: 12px 0 0; min-height: 2.8em; }
.sd-line { fill: none; stroke: #0b111c; stroke-width: 1.8; stroke-linejoin: round; }
.sd-fill { fill: #fff; stroke: #0b111c; stroke-width: 1.8; }
.sd-jacket { fill: none; stroke: var(--amber); stroke-width: 3; stroke-dasharray: 2 6; animation: dash .8s linear infinite; }
.sd-dim { stroke: var(--red); stroke-width: 1; fill: none; }
.sd-txt { font-family: var(--mono); font-size: 10px; fill: var(--red); }
.sd-lbl { font-family: var(--mono); font-size: 9.5px; fill: #566273; letter-spacing: .06em; }

/* ---------------------------------------------------------------- footer */
.foot { background: #03060b; color: var(--mute-d); padding: 64px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 28px; padding-bottom: 40px; border-bottom: 1px solid var(--line-d); }
.foot-brand { display: flex; gap: 14px; align-items: flex-start; color: #fff; }
.foot-brand .brand-mark { width: 44px; height: 28px; margin-top: 2px; }
.foot-brand p { margin: 0; color: var(--mute-d); }
.foot-brand b { color: #fff; font-weight: 680; }
.foot-h { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #5d6a7c; margin: 0 0 8px; }
.foot p { margin: 0; line-height: 1.6; }
.foot a:hover { color: #fff; }
.foot-base { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: #5d6a7c; }

/* ---------------------------------------------------------------- reveal defaults */
[data-fade] { opacity: 0; transform: translateY(24px); }
.still [data-fade], .no-motion [data-fade] { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .limits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-links a { padding: 9px 10px; font-size: 14px; }
  .mats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stamp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tough-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eq { grid-template-columns: 1fr; }
  .eq-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; }
  .eq-tabs::-webkit-scrollbar { display: none; }
  .eq-tab { flex: none; padding: 12px 16px; }
  .eq-tab small { display: none; }
}
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav { height: 58px; }
  .hero-copy { width: auto; right: var(--gutter); }
  .size, .design, .tough, .hydro, .trace, .book, .fit, .cta-grid, .skid-grid { grid-template-columns: 1fr; }
  .tests { grid-template-columns: 1fr; }
  .eq-panel { grid-template-columns: 1fr; }
  .eq-draw { min-height: 340px; }
  .sheet { position: relative; top: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .skid-steps { display: flex; overflow-x: auto; gap: 0; scrollbar-width: none; }
  .skid-steps li { flex: none; width: 60%; border-left: 0; border-top: 2px solid var(--line-l); padding: 12px 14px 0 0; }
  .skid-steps li.is-on { border-color: var(--red); }
}
@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  .stage-shade { background: linear-gradient(180deg, rgba(6, 10, 18, .78) 0%, rgba(6, 10, 18, .5) 32%, rgba(6, 10, 18, 0) 50%, rgba(6, 10, 18, 0) 70%, rgba(6, 10, 18, .85) 100%); }
  .hero-copy { top: 96px; translate: 0 0; }
  .h-hero { font-size: clamp(40px, 11.5vw, 72px); }
  .lede { font-size: 16px; margin-top: 16px; max-width: 24em; }
  .cta-row { margin-top: 22px; }
  .cta-row .btn { height: 50px; padding: 0 20px; font-size: 15px; }
  .lens-hint { left: var(--gutter); right: auto; top: auto; bottom: 22px; }
  .facts { display: none; }
  .svc { top: auto; bottom: 22px; translate: 0 0; right: var(--gutter); width: auto; }
  .svc-title { font-size: 34px; margin-bottom: 14px; }
  .svc-title br { display: none; }
  .svc-head { padding: 9px 0; }
  .svc-name { font-size: 20px; }
  .svc-body p { margin: 0 0 8px 44px; font-size: 15px; }
  .svc-body ul { margin: 0 0 10px 44px; }
  .svc-body li { font-size: 12.5px; padding: 6px 10px; }
  .kicker { margin-bottom: 12px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .band { padding: 88px 0; }
  .q-cards, .mats, .stamp-grid, .tough-grid, .shop-stats, .hydro-steps, .limits { grid-template-columns: 1fr 1fr; }
  .q-cards { grid-template-columns: 1fr; }
  .q-card { min-height: 0; padding-bottom: 64px; }
  .mats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mat { min-height: 210px; padding: 14px; }
  .mat b { font-size: 18px; }
  .mat .m-use { font-size: 13px; padding: 8px 10px; }
  .tough-grid { grid-template-columns: 1fr; }
  .stamp-grid { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .f-2 { grid-column: auto; }
  .seg-dark { display: flex; }
  .seg-dark button { flex: 1; padding: 0 8px; font-size: 13px; height: 40px; }
  .size-stage { min-height: 320px; padding: 16px; }
  .size-read { left: 16px; top: 16px; gap: 20px; }
  .book-stack { height: 330px; }
  .doc { width: 180px; height: 240px; margin: -120px 0 0 -90px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-base { flex-direction: column; }
  .reel-item { width: 72vw; }
  .reel-item.wide { width: 86vw; aspect-ratio: 4 / 5; }
  .eq-info { padding: 22px; }
  .eq-spec { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  [data-fade] { opacity: 1; transform: none; }
}

/* short desktop screens: keep the pinned services panel clear of the nav */
@media (min-width: 761px) and (max-height: 820px) {
  .svc { top: calc(50% + 34px); }
  .svc-title { font-size: clamp(34px, 3.6vw, 52px); margin-bottom: 16px; }
  .svc-head { padding: 10px 0; }
  .svc-name { font-size: clamp(20px, 1.7vw, 26px); }
  .svc-body p { font-size: 15.5px; margin-bottom: 8px; }
  .svc-body ul { margin-bottom: 12px; }
  .hero-copy { translate: 0 -42%; }
  .h-hero { font-size: clamp(44px, 6vw, 96px); }
}
