/* Northforge Engineering: machined strip world (brand kit NF-BRAND-001) */

@font-face { font-family: "Saira"; src: url("../fonts/saira-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 50% 125%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Saira"; src: url("../fonts/saira-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-stretch: 50% 125%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 100 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-ext.woff2") format("woff2"); font-weight: 100 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* brand kit palette */
  --forge-black: #15191D;
  --forge-orange: #E87526;
  --machined-silver: #B8BFC5;
  --carbon-steel: #343A40;
  --alloy-white: #F2F4F5;
  --tempered-orange: #A84316;
  /* derived steel scale */
  --panel: #101316;
  --panel-2: #181c20;
  --void: #0a0c0e;          /* what shows through an unlit slot */
  --edge-hi: #4c545b;       /* machined chamfer catching light */
  --line: rgba(184, 191, 197, .14);
  --text: var(--alloy-white);
  --text-dim: #aab1b7;
  --mark: #8d959c;          /* dimension and secondary line work */

  --display: "Saira", "Arial", sans-serif;
  --body: "Inter", "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;

  --rail: 44px;
  --slot-row: 22px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* slotted strut channel: steel with transparent slots, so whatever sits behind shows through */
  --slots-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='22'%3E%3Cpath fill-rule='evenodd' fill='%23343A40' d='M0 0h36v22H0z M12 5h12a6 6 0 0 1 0 12H12a6 6 0 0 1 0-12z'/%3E%3Cpath fill='none' stroke='%235d666e' stroke-width='1' d='M6.6 13.6A6 6 0 0 0 12 17h12a6 6 0 0 0 5.4-3.4'/%3E%3Cpath fill='none' stroke='%23181c20' stroke-width='1' d='M6.6 8.4A6 6 0 0 1 12 5h12a6 6 0 0 1 5.4 3.4'/%3E%3C/svg%3E");
  --slots-y: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='34'%3E%3Cpath fill-rule='evenodd' fill='%23343A40' d='M0 0h20v34H0z M4 11v12a6 6 0 0 0 12 0V11a6 6 0 0 0-12 0z'/%3E%3Cpath fill='none' stroke='%235d666e' stroke-width='1' d='M13.4 28.4A6 6 0 0 0 16 23V11'/%3E%3C/svg%3E");
  --slots-x-orange: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='22'%3E%3Cpath fill-rule='evenodd' fill='%23E87526' d='M0 0h36v22H0z M12 5h12a6 6 0 0 1 0 12H12a6 6 0 0 1 0-12z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scrollbar-color: var(--carbon-steel) var(--forge-black); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--forge-black);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--forge-orange); color: var(--forge-black); }
:focus-visible { outline: 2px solid var(--forge-orange); outline-offset: 3px; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; font-stretch: 125%; line-height: 1; letter-spacing: .01em; text-transform: uppercase; margin: 0; text-wrap: balance; }
p { margin: 0; }
.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--forge-orange); color: var(--forge-black); padding: 8px 14px; font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- buttons: square-cut plates ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--text); --btn-line: var(--carbon-steel);
  display: inline-flex; align-items: center; gap: .6em;
  min-height: 48px; padding: 0 26px;
  font: 700 .84rem/1 var(--display); font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-line); border-radius: 2px; cursor: pointer;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.btn--primary { --btn-bg: var(--forge-orange); --btn-fg: var(--forge-black); --btn-line: var(--forge-orange); }
.btn--primary:hover { --btn-bg: #f0843a; --btn-line: #f0843a; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .7); }
.btn--ghost:hover { --btn-line: var(--machined-silver); --btn-bg: rgba(184, 191, 197, .07); }
.btn--sm { min-height: 40px; padding: 0 20px; font-size: .76rem; }
.btn--icon { padding: 0; width: 48px; justify-content: center; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 28px;
  height: 68px; padding: 0 var(--gutter);
  background: rgba(21, 25, 29, .95);
  border-bottom: 1px solid #262c31;
}
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { display: block; height: 42px; width: auto; }
.topnav { display: flex; gap: 30px; }
.topnav a { font: 600 .8rem/1 var(--display); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--text-dim); padding: 10px 0; transition: color .3s var(--ease-out); }
.topnav a:hover { color: var(--text); }

/* ---------- the strip: frames mounted on slotted channel ---------- */
.reel { padding: 34px 0 0; }
.strip {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
  outline-offset: -3px;
}
.strip::-webkit-scrollbar { display: none; }
.strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip__track {
  position: relative;
  list-style: none; margin: 0;
  display: flex; gap: 14px; width: max-content;
  padding: var(--rail) var(--gutter);
  background:
    linear-gradient(var(--void), var(--void)) 0 0 / 100% var(--slot-row) no-repeat,
    linear-gradient(var(--void), var(--void)) 0 100% / 100% var(--slot-row) no-repeat,
    var(--carbon-steel);
  border-block: 1px solid var(--edge-hi);
  box-shadow: 0 1px 0 #07090b, 0 -1px 0 #07090b;
}
/* the slot rows sit over the frames' orange backing, so only the active frame's slots light */
.strip__track::before, .strip__track::after {
  content: ""; position: absolute; left: 0; right: 0; height: var(--slot-row); z-index: 1; pointer-events: none;
  background: var(--slots-x) 0 0 / 36px var(--slot-row) repeat-x;
}
.strip__track::before { top: 0; }
.strip__track::after { bottom: 0; }

.frame {
  --h: clamp(430px, calc(100vh - 68px - 34px - 2 * var(--rail) - 104px), 640px);
  position: relative; flex: none; height: var(--h);
  scroll-snap-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  isolation: isolate;
}
.frame > :is(.viewer, .blank) { border-radius: inherit; overflow: hidden; }
/* part mark etched into the rail band above the frame, never on the picture */
.edge {
  position: absolute; z-index: 3; top: calc(-1 * var(--rail) + var(--slot-row) + 5px); left: 2px; right: 2px;
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap; overflow: hidden;
  font: 500 .7rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--machined-silver);
  transition: color .4s var(--ease-out);
}
.edge::before {
  content: ""; flex: none; width: 9px; height: 11px;
  background: var(--forge-orange); clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: scale(0); transition: transform .4s var(--ease-out);
}
.frame.is-active .edge { color: var(--alloy-white); }
.frame.is-active .edge::before { transform: none; }
/* north point: orange backing behind the slot rows of the active frame */
.frame::before, .frame::after {
  content: ""; position: absolute; left: -8px; right: -8px; height: var(--slot-row); z-index: -1; pointer-events: none;
  background: var(--forge-orange);
  opacity: 0; transition: opacity .45s var(--ease-out);
}
.frame::before { top: calc(-1 * var(--rail) - 1px); }
.frame::after { bottom: calc(-1 * var(--rail) - 1px); }
.frame.is-active::before, .frame.is-active::after { opacity: 1; }
.frame--leader::before, .frame--leader::after, .frame--tail::before, .frame--tail::after { display: none; }

/* lead plate */
.frame--leader { width: min(30rem, 88vw); background: #15181b; }
.slate { position: absolute; inset: 0; display: flex; flex-direction: column; }
.slate__art {
  position: relative; flex: 1 1 0; min-height: 110px; margin: 0; overflow: hidden;
  border-radius: 4px 4px 0 0; background: #232425; container-type: size;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent);
  mask-image: linear-gradient(to bottom, #000 80%, transparent);
}
.slate__art img {
  position: absolute; left: 50%; top: -10.3cqh;
  height: 176.6cqh; width: auto; max-width: none; translate: -50% 0;
}
.slate__copy { padding: 6px 32px 30px; }
.slate__title { font-size: clamp(1.9rem, 2.6vw, 2.45rem); color: var(--alloy-white); line-height: .98; }
.slate__accent { display: block; color: var(--forge-orange); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.slate__values { margin-top: 12px; font: 600 .78rem/1.3 var(--display); font-stretch: 112%; letter-spacing: .2em; text-transform: uppercase; color: var(--machined-silver); }
.slate__services { list-style: none; padding: 14px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 7px 18px; font: 600 .74rem/1.25 var(--display); font-stretch: 105%; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.slate__services li { display: flex; align-items: baseline; gap: 9px; }
.slate__services li::before { content: ""; flex: none; width: 5px; height: 5px; background: var(--forge-orange); transform: translateY(-1px); }
.slate__lede { margin-top: 14px; max-width: 40ch; font-size: .98rem; line-height: 1.5; color: var(--text); }
.slate__cue { margin-top: 16px; display: flex; align-items: center; gap: 10px; font: 600 .74rem/1 var(--display); font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); }
.slate__cue .icon { color: var(--forge-orange); animation: nudge 2.4s var(--ease-out) 1.2s 3 both; }
@keyframes nudge { 0%, 100% { transform: none; } 40% { transform: translateX(8px); } }

/* sketch + drawing plates */
.frame--site { width: min(15rem, 80vw); background: var(--panel-2); }
.frame--drawing { width: min(36rem, 86vw); background: var(--panel); }
.plate { margin: 0; position: absolute; inset: 40px 26px 26px; display: flex; flex-direction: column; gap: 16px; }
.plate svg { flex: 1; min-height: 0; width: 100%; }
.plate figcaption { font-size: .95rem; color: var(--text-dim); max-width: 40ch; }
.plate figcaption strong { color: var(--text); font-weight: 600; }
.sketch .pencil { fill: none; stroke: #d6dbdf; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sketch .pencil .hatch { stroke: #5b636a; stroke-width: 1.4; }
.sketch .pencil .dim { stroke: var(--mark); stroke-width: 1.4; }
.sketch .pencil .track { stroke: var(--forge-orange); stroke-width: 3; }
.sketch .pencil circle { fill: var(--panel-2); }
.sketch .pencil-text { font: 600 14px var(--mono); letter-spacing: .06em; fill: var(--machined-silver); }
.sketch .pencil-text text:last-child { font-size: 12px; fill: var(--text-dim); }

.drawing .sheet { fill: none; stroke: #3c4349; stroke-width: 1; }
.drawing .obj { fill: none; stroke: #d6dbdf; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.drawing .dim { fill: none; stroke: var(--mark); stroke-width: 1.2; }
.drawing .dim-text { font: 500 11.5px var(--mono); letter-spacing: .04em; fill: var(--machined-silver); }
.drawing .balloon path { fill: none; stroke: #5b636a; stroke-width: 1; }
.drawing .balloon circle { fill: var(--panel); stroke: var(--forge-orange); stroke-width: 1.6; }
.drawing .balloon text { font: 700 12px var(--mono); fill: var(--forge-orange); text-anchor: middle; }

/* model frame */
.frame--model {
  /* sized so the whole active Model frame sits in the first view beside the lead plate and site frame */
  width: clamp(34rem, calc(100vw - 2 * var(--gutter) - 30rem - 15rem - 28px), 54rem);
  background: radial-gradient(70% 70% at 45% 40%, #2a3035, #111417 75%);
}
.viewer { position: absolute; inset: 0; }
.viewer__canvas { display: block; width: 100%; height: 100%; touch-action: pan-x pan-y; }
.viewer__status {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  font: 500 .8rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--machined-silver);
  transition: opacity .6s var(--ease-out);
}
.viewer[data-state="projected"] .viewer__status { opacity: 0; }
.viewer[data-state="latent"] .viewer__canvas, .viewer[data-state="developing"] .viewer__canvas { opacity: 0; clip-path: inset(0 0 100% 0); }
.viewer__canvas { transition: opacity .9s var(--ease-out), clip-path 1.3s var(--ease-out); clip-path: inset(0); }
.viewer__fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 40px; text-align: center; color: var(--text-dim); }
.viewer__tools {
  position: absolute; z-index: 4; left: 22px; right: 22px; bottom: 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
}
.explode {
  display: flex; align-items: center; gap: 14px; flex: 1 1 260px; min-width: 0; max-width: 420px;
  padding: 0 16px; min-height: 48px; border-radius: 2px;
  background: rgba(16, 19, 22, .86); border: 1px solid var(--carbon-steel);
}
.explode__label { font: 700 .76rem/1 var(--display); font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; color: var(--forge-orange); }
.explode__out { font: 500 .82rem/1 var(--mono); min-width: 4ch; text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.explode input { flex: 1; min-width: 0; appearance: none; -webkit-appearance: none; height: 28px; background: transparent; cursor: pointer; }
.explode input::-webkit-slider-runnable-track { height: 4px; border-radius: 1px; background: linear-gradient(to right, var(--forge-orange) var(--fill, 0%), #4a5258 var(--fill, 0%)); }
.explode input::-moz-range-track { height: 4px; border-radius: 1px; background: #4a5258; }
.explode input::-moz-range-progress { height: 4px; background: var(--forge-orange); }
.explode input::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 26px; margin-top: -11px; border-radius: 2px; background: var(--alloy-white); border: 3px solid var(--forge-black); box-shadow: 0 2px 8px rgba(0,0,0,.6); }
.explode input::-moz-range-thumb { width: 10px; height: 22px; border-radius: 2px; background: var(--alloy-white); border: 3px solid var(--forge-black); }
.viewer__tools .btn--ghost { background: rgba(16, 19, 22, .86); }
.viewer__tools .btn[aria-pressed="true"] { --btn-line: var(--forge-orange); color: var(--forge-orange); }

/* sample tag: a stamped inspection tag in the frame corner */
.stamp {
  position: absolute; z-index: 3; right: 14px; top: 14px;
  font: 500 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-dim); border: 1px solid #3a4147; padding: 5px 7px; border-radius: 2px;
  background: rgba(16, 19, 22, .82);
}
.frame--model .stamp { top: 14px; right: 16px; }

/* blanked frame: material not yet cleared */
.frame--installed { width: min(22rem, 80vw); }
.blank {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 36px;
  background: repeating-linear-gradient(-45deg, rgba(184, 191, 197, .09) 0 1px, transparent 1px 10px), #14171a;
}
.blank__title { font: 800 2.2rem/1 var(--display); font-stretch: 125%; text-transform: uppercase; color: var(--alloy-white); }
.blank p:last-child { color: var(--text); max-width: 26ch; background: #14171a; padding: 2px 0; }

.frame--tail { width: 8rem; background: transparent; border: 0; }

/* controls under the strip */
.strip-controls {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 24px;
  padding: 18px var(--gutter) 0;
}
.strip-controls__title { font: 800 1.5rem/1.05 var(--display); font-stretch: 125%; text-transform: uppercase; color: var(--alloy-white); }
.strip-controls__meta { margin-top: 6px; color: var(--text-dim); font-size: .96rem; }
.strip-controls__readout { font: 500 .86rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--machined-silver); font-variant-numeric: tabular-nums; }
.strip-controls__readout #frame-stage { color: var(--forge-orange); }
.strip-controls__nav { display: flex; gap: 10px; }

/* ---------- sections ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 60px; align-items: end; padding: 0 var(--gutter); margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); color: var(--alloy-white); }
.sec-head p { color: var(--text-dim); font-size: 1.08rem; max-width: 44ch; }

.sheet-sec { padding: 150px 0 40px; }
.contact-sheet { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.job {
  --under: var(--void);
  display: grid; grid-template-columns: 9rem minmax(0, 26rem) minmax(0, 1fr); gap: 14px;
  padding: var(--rail) var(--gutter);
  background:
    var(--slots-x) 0 0 / 36px var(--slot-row) repeat-x,
    var(--slots-x) 0 100% / 36px var(--slot-row) repeat-x,
    linear-gradient(var(--under), var(--under)) 0 0 / 100% var(--slot-row) no-repeat,
    linear-gradient(var(--under), var(--under)) 0 100% / 100% var(--slot-row) no-repeat,
    var(--carbon-steel);
  border-top: 1px solid var(--edge-hi);
  scroll-margin-top: 80px;
}
.job:last-child { border-bottom: 1px solid var(--edge-hi); }
.job:hover, .job:target { --under: var(--forge-orange); }
.job > * { border-radius: 4px; background: var(--panel); border: 1px solid var(--line); min-height: 210px; }
.job__no {
  display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
  font: 700 2.6rem/0.9 var(--mono); letter-spacing: -.02em; color: var(--alloy-white); font-variant-numeric: tabular-nums;
  text-decoration: none; transition: color .4s var(--ease-out);
}
.job__no span { font: 600 .74rem/1 var(--display); font-stretch: 112%; letter-spacing: .2em; color: var(--machined-silver); margin-bottom: 10px; }
.job:hover .job__no, .job:target .job__no { color: var(--forge-orange); }
.job__frame { margin: 0; position: relative; padding: 30px 22px 16px; display: flex; }
.job__frame svg { width: 100%; height: auto; align-self: center; }
.job__body { padding: 26px 30px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.job__body h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); color: var(--alloy-white); }
.job__body p { color: var(--text-dim); max-width: 60ch; }
.job__tags { font: 500 .74rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--machined-silver) !important; }

.notes { padding: 170px 0 60px; }
.log { margin: 0 var(--gutter); border-top: 1px solid var(--line); }
.log__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px 60px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.log dt { font: 800 clamp(1.4rem, 2.4vw, 2.1rem)/1.05 var(--display); font-stretch: 118%; text-transform: uppercase; color: var(--alloy-white); text-wrap: balance; }
.log dd { margin: 0; font-size: 1.1rem; color: var(--text); max-width: 56ch; }

/* contact: the one orange field */
.splice {
  margin: 160px 0 0; padding: calc(var(--slot-row) + 80px) var(--gutter) 100px;
  background:
    var(--slots-x-orange) 0 0 / 36px var(--slot-row) repeat-x,
    linear-gradient(var(--void), var(--void)) 0 0 / 100% var(--slot-row) no-repeat,
    var(--forge-orange);
  color: var(--forge-black);
}
.splice__body { max-width: 62rem; }
.splice h2 { font-size: clamp(2.6rem, 6vw, 5rem); color: var(--forge-black); }
.splice__lede { margin-top: 22px; font-size: 1.25rem; max-width: 40ch; font-weight: 500; }
.splice__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.splice__actions .btn { min-height: 56px; font-size: .9rem; }
.splice .btn--dark { --btn-bg: var(--forge-black); --btn-fg: var(--alloy-white); --btn-line: var(--forge-black); }
.splice .btn--dark:hover { --btn-bg: #242a30; --btn-line: #242a30; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .55); }
.splice .btn--outline { --btn-fg: var(--forge-black); --btn-line: var(--forge-black); }
.splice .btn--outline:hover { --btn-bg: rgba(21, 25, 29, .1); }
.splice :focus-visible { outline-color: var(--forge-black); }
.splice ::selection { background: var(--forge-black); color: var(--forge-orange); }

.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; padding: 34px var(--gutter) 44px; color: var(--text-dim); font-size: .94rem; }
.foot img { height: 56px; width: auto; display: block; }
.foot__text { display: grid; gap: 6px; }
.foot strong { color: var(--text); font-weight: 600; }
.foot__fine { color: #959ca2; font-size: .86rem; }

/* ---------- phone: the channel runs vertically ---------- */
@media (max-width: 760px) {
  :root { --rail: 40px; --slot-row: 20px; }
  .topbar { height: 60px; gap: 14px; }
  .brand img { height: 34px; }
  .topnav { display: none; }
  .hide-sm { display: none; }
  .reel { padding-top: 18px; display: flex; flex-direction: column; }
  .strip { overflow: visible; cursor: auto; scroll-snap-type: none; }
  .strip__track {
    flex-direction: column; width: auto;
    padding: 18px var(--rail);
    background:
      linear-gradient(var(--void), var(--void)) 0 0 / var(--slot-row) 100% no-repeat,
      linear-gradient(var(--void), var(--void)) 100% 0 / var(--slot-row) 100% no-repeat,
      var(--carbon-steel);
    border-block: 0; border-inline: 1px solid var(--edge-hi); box-shadow: none;
  }
  .strip__track::before, .strip__track::after { top: 0; bottom: 0; height: auto; width: var(--slot-row); background: var(--slots-y) 0 0 / 20px 34px repeat-y; }
  .strip__track::before { left: 0; right: auto; }
  .strip__track::after { right: 0; left: auto; transform: scaleX(-1); }
  .frame { width: auto !important; height: auto; }
  /* part marks read up the inner band of the left rail */
  .edge {
    top: 6px; bottom: 6px; left: calc(-1 * var(--rail) + var(--slot-row) + 3px); right: auto; width: 14px;
    writing-mode: vertical-rl; transform: rotate(180deg); font-size: .7rem;
  }
  .edge::before { width: 11px; height: 9px; clip-path: polygon(0 0, 100% 50%, 0 100%); }
  .frame::before, .frame::after { top: -8px; bottom: -8px; height: auto; width: var(--slot-row); }
  .frame::before { left: calc(-1 * var(--rail) - 1px); right: auto; }
  .frame::after { right: calc(-1 * var(--rail) - 1px); left: auto; }
  .frame--leader .slate { position: relative; }
  .slate__art { flex: none; height: 132px; }
  .slate__copy { padding: 2px 18px 20px; }
  .slate__title { font-size: clamp(1.6rem, 8vw, 2.1rem); }
  .slate__values { margin-top: 8px; font-size: .7rem; letter-spacing: .14em; }
  /* services run as one wrapped line on phones so the model frame reaches the first screen sooner */
  .slate__services { gap: 6px 14px; margin-top: 12px; padding-top: 10px; font-size: .7rem; letter-spacing: .05em; }
  .slate__services li { gap: 7px; }
  .slate__lede { margin-top: 10px; font-size: .94rem; }
  .viewer__tools .btn--sm { padding: 0 16px; font-stretch: 100%; letter-spacing: .08em; }
  .viewer__tools { gap: 8px; }
  .slate__cue { display: none; }
  .frame--site, .frame--drawing { height: auto; }
  .plate { position: relative; inset: auto; padding: 40px 16px 18px; }
  .frame--site .plate { flex-direction: row; align-items: center; padding: 34px 16px 14px; }
  .frame--site svg { flex: 0 0 38%; max-height: 150px; }
  .frame--model { height: min(64vh, 500px); }
  .frame--model .stamp { top: 10px; right: 10px; }
  .viewer__tools { left: 12px; right: 12px; bottom: 12px; }
  .explode { flex-basis: 100%; max-width: none; }
  .frame--installed { height: 240px; }
  .frame--tail { display: none; }
  .strip-controls { order: -1; grid-template-columns: 1fr; padding: 0 var(--gutter) 14px; }
  .strip-controls__title { font-size: 1.3rem; }
  .strip-controls__readout, .strip-controls__nav { display: none; }
  .sec-head { grid-template-columns: 1fr; }
  .sheet-sec { padding-top: 100px; }
  .job {
    grid-template-columns: 1fr; padding: 18px var(--rail);
    background:
      var(--slots-y) 0 0 / 20px 34px repeat-y,
      var(--slots-y) 100% 0 / 20px 34px repeat-y,
      linear-gradient(var(--under), var(--under)) 0 0 / var(--slot-row) 100% no-repeat,
      linear-gradient(var(--under), var(--under)) 100% 0 / var(--slot-row) 100% no-repeat,
      var(--carbon-steel);
  }
  .job__no { min-height: 0; flex-direction: row; align-items: baseline; gap: 10px; font-size: 2rem; padding: 16px 18px; }
  .job__no span { margin: 0; }
  .job > * { min-height: 0; }
  .log__row { grid-template-columns: 1fr; }
  .notes { padding-top: 110px; }
  .splice__actions .btn { max-width: 100%; padding: 0 18px; font-stretch: 100%; letter-spacing: .05em; }
  .splice__actions .btn span { overflow-wrap: anywhere; line-height: 1.3; }
  .splice { margin-top: 110px; padding-top: calc(var(--slot-row) + 56px); padding-bottom: 72px; }
  .foot img { height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .slate__cue .icon { animation: none; }
  .frame::before, .frame::after, .edge, .edge::before, .viewer__canvas, .viewer__status { transition: none; }
}
