/* v13.css: THE SILVER LINE. Charcoal desk, matte-white vellum sheets, one brushed-silver line, brass for the year and the stamp. */
@font-face { font-family: 'Jost'; src: url('fonts/Jost-300.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('fonts/Jost-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('fonts/Jost-500.woff2') format('woff2'); font-weight: 500 600; font-display: swap; }
@font-face { font-family: 'BSS'; src: url('fonts/BigShouldersStencil.woff2') format('woff2'); font-weight: 800; font-display: swap; }
:root {
  --desk: #1b1d20; --desk2: #22252a; --paper: #f4f2ee; --paper2: #ebe8e2; --ink: #17181a; --light: #f4f2ee; --dim: #8b8e93; --dimp: #5b5d61;
  --rule: rgba(244,242,238,.16); --rulep: #c9c6bf; --silver: #cfd2d6; --silver-hi: #ffffff; --silver-lo: #6b6e73; --brass: #b08d57; --red: #a8332a;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif; --sten: 'BSS', Impact, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1); --gut: clamp(20px, 4vw, 64px); --bar: 68px;
}
* { box-sizing: border-box; }
html { background: var(--desk); color: var(--light); scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.55; background: var(--desk); overflow-x: clip; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.lamp { position: fixed; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(900px 900px at var(--lx, 50%) var(--ly, 30%), rgba(255,255,255,.075), rgba(255,255,255,0) 60%); transition: background-position .2s; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.sr, .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--paper); color: var(--ink); padding: 10px 14px; z-index: 50; } .skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---------- type ---------- */
.stencil { font-family: var(--sten); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: .95; }
h1, h2, h3 { margin: 0; font-weight: 300; }
h2 { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.005em; }
.num { font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--dim); }
.price { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.txt { font: inherit; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; background: none; border: 0; color: inherit; cursor: pointer; padding: 8px 0; }

/* ---------- the bar ---------- */
.bar { position: fixed; top: 0; left: 0; right: 0; height: var(--bar); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gut); z-index: 20; color: var(--light); background: linear-gradient(180deg, rgba(27,29,32,.92), rgba(27,29,32,0)); }
.menu.open ~ main .bar, body.menu-open .bar { color: var(--ink); background: none; }
.bar .word { height: 26px; width: auto; display: block; }
.bar-r { display: flex; align-items: center; gap: 28px; }
.burger { width: 40px; height: 40px; background: none; border: 0; cursor: pointer; display: grid; place-items: center; gap: 6px; padding: 0; }
.burger i { display: block; width: 28px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu { position: fixed; inset: 0; z-index: 30; background: var(--paper); color: var(--ink); padding: calc(var(--bar) + 24px) var(--gut) 40px; display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; }
.menu.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu .close { justify-self: end; }
.menu ol { list-style: none; margin: 0; padding: 0; align-self: center; }
.menu li a { display: flex; align-items: baseline; gap: 22px; font-size: clamp(30px, 5vw, 56px); font-weight: 300; padding: 6px 0; border-bottom: 1px solid var(--rulep); }
.menu li a b { font-weight: 500; font-size: 13px; letter-spacing: .3em; color: var(--dimp); }
.menu li a:hover { padding-left: 12px; transition: padding .3s var(--ease); }
.menu-foot { display: flex; gap: 32px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- sheets ---------- */
.sheet { position: relative; background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04); }
.sheet::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"); }
.sheet.flat { padding: clamp(28px, 4vw, 56px); }
.sheet .num { color: var(--dimp); }

/* ---------- the first screen ---------- */
.first { position: relative; min-height: 100svh; display: grid; place-items: center; padding: var(--bar) var(--gut) 80px; }
.mark-wrap { width: min(880px, 92vw); color: var(--light); }
/* the skyline, built the way the house in Troy's logo is built: a red copy offset behind a silver line */
.mark-wrap { display: grid; justify-items: center; gap: clamp(18px, 3.4vh, 34px); }
.skyline { width: 100%; height: auto; overflow: visible; display: block; }
.skyline .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s cubic-bezier(.55, 0, .2, 1) .3s forwards; filter: drop-shadow(0 1px 0 rgba(0,0,0,.6)); }
.skyline .ghost { opacity: 0; animation: fadein 1.1s var(--ease) 1.5s forwards; }
.skyline .detail { opacity: 0; animation: fadein 1.1s var(--ease) 2.1s forwards; }
.skyline .rest { opacity: 0; animation: fadein 1s var(--ease) 2.7s forwards; }

/* his logo, on paper, because its gradient runs to near black at the foot of every letter and was drawn for white */
.slb { width: min(800px, 90vw); opacity: 0; animation: slbin 1.1s var(--ease) 1.9s forwards; }
.slb img { width: 100%; height: auto; display: block; }
@keyframes slbin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.estline { margin: 0; display: flex; align-items: center; gap: clamp(10px, 2vw, 18px); font-size: clamp(10px, 2.5vw, 12px);
  letter-spacing: .26em; text-transform: uppercase; color: var(--dim); opacity: 0; animation: fadein 1s var(--ease) 2.6s forwards; }
.estline i { width: clamp(14px, 4vw, 30px); height: 1px; background: var(--silver-lo); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
.cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 40px; height: 48px; display: grid; place-items: center; }
.cue i { display: block; width: 1px; height: 36px; background: var(--silver); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- THE LINE: the transformer ---------- */
.line { position: relative; }
.line .stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto; align-items: center; gap: 0 clamp(16px, 3vw, 48px); padding: calc(var(--bar) + clamp(24px, 5vh, 56px)) var(--gut) clamp(40px, 7vh, 72px); }
/* the switch is the whole section's control, never a column of it */
.switch, .swhint { grid-column: 1 / -1; }
.sheets { position: relative; aspect-ratio: 16 / 11; max-height: calc(100svh - var(--bar) - 48px); }
.sheets .sheet { position: absolute; inset: 0; opacity: 0; transform: translateY(18px) rotate(.4deg); transition: opacity .6s var(--ease), transform .6s var(--ease); padding: 12px 12px 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.sheets .sheet.on { opacity: 1; transform: none; z-index: 2; }
.sheets .sheet picture { display: block; min-height: 0; } .sheets .sheet img { width: 100%; height: 100%; object-fit: cover; }
.sheets figcaption { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: 'n name go' 'n sub go' '. price go'; gap: 2px 16px; align-items: baseline; padding: 14px 6px 16px; }
.sheets figcaption .go { grid-area: go; }
.sheets .num { grid-area: n; } .sheets .name { grid-area: name; font-size: clamp(20px, 2.2vw, 30px); font-weight: 300; } .sheets .sub { grid-area: sub; color: var(--dimp); font-size: 14px; } .sheets .price { grid-area: price; color: var(--dimp); }
.go { align-self: center; display: inline-flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.go i { width: 44px; height: 1px; background: currentColor; position: relative; transition: width .3s var(--ease); }
.go i::after { content: ''; position: absolute; right: -1px; top: -4px; width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.go:hover i { width: 64px; }
.go.big { font-size: 14px; padding: 16px 0; }
.morph { width: 100%; height: auto; color: var(--silver); filter: drop-shadow(0 2px 0 rgba(0,0,0,.85)) drop-shadow(0 -1px 0 rgba(255,255,255,.55)) drop-shadow(0 0 12px rgba(207,210,214,.18)); }
@media (max-width: 900px) {
  .line .stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; align-content: center; gap: 14px; padding: calc(var(--bar) + 6px) var(--gut) 0; touch-action: pan-y; }
  .sheets { aspect-ratio: 4 / 3.5; max-height: 50svh; }
  .sheets .sheet { padding: 8px 8px 0; }
  .sheets figcaption { grid-template-columns: auto 1fr; grid-template-areas: 'n name' 'n sub' 'n price' 'go go'; padding: 10px 4px 12px; }
  .morph { max-height: 20svh; }
  .rail { position: static; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; font-size: 8.5px; letter-spacing: .06em; padding: 2px 0 0; text-align: center; }
  .rail li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  .rail li i { display: none; }
  .rail li { padding: 6px 2px; }
}

/* ---------- additions, draw, built, ask ---------- */
section.add, section.draw, section.built, section.ask { padding: clamp(64px, 9vw, 140px) var(--gut) 0; }
.add .sheet, .draw .sheet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.draw .cap .price, .add .cap .price { letter-spacing: .12em; }
.add .sheet picture img { width: 100%; height: auto; }
.cap { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; gap: 12px; min-width: 0; justify-items: start; }
.cap h2.stencil.big { font-size: clamp(26px, 4.4vw, 58px); letter-spacing: .03em; }
.cap .lede { margin: 0; font-size: clamp(16px, 1.7vw, 20px); font-weight: 300; color: var(--dimp); max-width: 32ch; }
.cap .price { color: var(--dimp); }
.draw .live { color: var(--ink); background: var(--paper2); padding: 20px; }
.cap h2.stencil.big span { display: block; }
.draw .live svg { width: 100%; height: auto; }
.built .lead { position: relative; overflow: clip; cursor: zoom-in; }
.built .lead img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.built .lcap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: clamp(18px, 3vw, 36px); background: linear-gradient(0deg, rgba(10,12,15,.72), rgba(10,12,15,0)); color: var(--light); }
.built .lcap h2 { color: var(--light); font-size: clamp(26px, 3.4vw, 46px); letter-spacing: .1em; margin: 0; }
@media (max-width: 700px) { .built .lead img { aspect-ratio: 4 / 3; } }
.strip { display: none; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.job { scroll-snap-align: start; display: grid; gap: 10px; background: var(--paper); padding: 10px 10px 12px; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.job img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.job span { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; }
.ask .sheet { display: grid; gap: 28px; }
.ask h2 { font-size: clamp(28px, 4vw, 52px); }
.faqfoot { margin: 0; color: var(--dimp); border-top: 1px solid var(--rulep); padding-top: 20px; }
.faqfoot a { border-bottom: 1px solid var(--rulep); }
.faq { margin: 0; display: grid; }
.faq .q { border-top: 1px solid var(--rulep); }
.faq dt button { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; background: none; border: 0; font: inherit; font-size: clamp(17px, 1.6vw, 21px); font-weight: 400; padding: 16px 0; cursor: pointer; color: inherit; }
.faq dt button i { width: 14px; height: 14px; position: relative; flex: none; } .faq dt button i::before, .faq dt button i::after { content: ''; position: absolute; background: currentColor; left: 0; top: 6px; width: 14px; height: 1px; } .faq dt button i::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.faq dt button[aria-expanded="true"] i::after { transform: rotate(0); }
.faq dd { margin: 0; padding: 0 0 20px; color: var(--dimp); max-width: 62ch; }

/* ---------- footer, to top, modal ---------- */
.foot { padding: clamp(64px, 9vw, 140px) var(--gut) 40px; }
.tb { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--ink); }
.tb .cell { padding: 14px 16px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.tb .cell a, .tb .cell b { font-size: clamp(13px, 2.6vw, 17px); line-height: 1.25; min-width: 0; }
.tb .cell:nth-child(5n+1) { border-left: 0; }
.tb .cell.wide { grid-column: 1 / -1; border-right: 0; }
.tb .cell em { font-style: normal; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--dimp); }
.tb .cell b { font-weight: 400; } .tb .cell a { font-weight: 400; }
.tb .legal { font-size: 12px; color: var(--dimp); border-bottom: 0; }
.lineonly { width: min(520px, 100%); height: auto; color: var(--ink); }
.totop { position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border: 1px solid var(--rule); background: rgba(27,29,32,.8); backdrop-filter: blur(6px); cursor: pointer; z-index: 15; display: grid; place-items: center; color: var(--silver); opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.totop.show { opacity: 1; transform: none; }
.totop i { width: 10px; height: 10px; border-top: 1px solid currentColor; border-left: 1px solid currentColor; transform: rotate(45deg) translate(2px, 2px); }
.modal { position: fixed; inset: 0; z-index: 40; background: rgba(12,14,18,.7); display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal .card { width: min(640px, 100%); max-height: 92svh; overflow: auto; }
.modal .x { position: absolute; right: 12px; top: 8px; background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--ink); }
.form { display: grid; gap: 16px; margin-top: 20px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: grid; gap: 6px; } .fld label { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--dimp); }
.fld input, .fld select, .fld textarea { font: inherit; background: none; border: 0; border-bottom: 1px solid var(--rulep); padding: 8px 0; color: var(--ink); } .fld textarea { min-height: 80px; resize: vertical; }
.err { color: var(--red); font-size: 14px; }
.ok { display: grid; gap: 8px; } .ok .stencil { font-size: 40px; }
@media (max-width: 900px) {
  .add .sheet, .draw .sheet { grid-template-columns: 1fr; }
  .cap h2.stencil.big span { display: inline; }
  .draw .cap .price, .add .cap .price { letter-spacing: .06em; font-size: 12px; }
  .cap { grid-template-columns: minmax(0, 1fr); }
  .draw .cap .lede { max-width: none; }
  .tb { grid-template-columns: 1fr 1fr; } .tb .cell:nth-child(5n+1) { border-left: 0; }
  .tb .cell:nth-child(3) { grid-column: 1 / -1; border-right: 0; }   /* email gets the full width on a phone */
  .form .two { grid-template-columns: 1fr; }
  .bar-r .txt { display: none; }
}
@media (prefers-reduced-motion: reduce) { .slb, .estline, .skyline .ghost, .skyline .rest, .skyline .detail { opacity: 1; animation: none; transform: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mark .draw { stroke-dashoffset: 0; } .mark .rest { opacity: 1; } .lamp { display: none; }
}

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

/* ---------- the spine: the line down the left edge ---------- */
.spine { position: fixed; left: 22px; top: 18vh; bottom: 18vh; width: 16px; z-index: 18; display: block; }
.spine .track, .spine .fill { position: absolute; left: 7px; top: 0; bottom: 0; width: 1px; }
.spine .track { background: rgba(244,242,238,.18); }
.spine .fill { background: var(--silver); transform: scaleY(0); transform-origin: top; }
.spine button { position: absolute; left: 0; width: 16px; height: 16px; margin-top: -8px; padding: 0; background: none; border: 0; cursor: pointer; }
.spine button::before { content: ''; position: absolute; left: 5px; top: 7px; width: 5px; height: 1px; background: var(--silver); opacity: .5; transition: width .25s var(--ease), opacity .25s; }
.spine button.on::before, .spine button:hover::before { width: 15px; opacity: 1; }
.spine em { position: absolute; left: 22px; top: -1px; font-style: normal; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--silver); opacity: 0; white-space: nowrap; transform: translateX(-4px); transition: opacity .25s, transform .25s var(--ease); }
.spine button.on em, .spine button:hover em { opacity: .85; transform: none; }
@media (max-width: 1100px) {
  .spine { left: auto; right: 8px; top: 22vh; bottom: 22vh; width: 12px; }
  .spine .track, .spine .fill { left: 5px; }
  .spine button { width: 12px; }
  .spine button::before { left: 3px; width: 4px; }
  .spine button.on::before, .spine button:hover::before { width: 10px; }
  .spine em { display: none; }
}

/* ---------- the price dial ---------- */
.dial { position: absolute; right: var(--gut); top: calc(var(--bar) + 18px); text-align: right; color: var(--silver); line-height: 1; }
.dial b { display: block; font-family: var(--sten); font-weight: 800; font-size: clamp(34px, 4vw, 56px); letter-spacing: .02em; }
.dial .dlab { display: block; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--dim); }
.dial .dlab:first-child { display: none; }

.line .stage.dragging { cursor: grabbing; }
.line .stage:focus-visible { outline: 2px solid var(--brass); outline-offset: -4px; }
.hint { position: absolute; left: var(--gut); bottom: 26px; margin: 0; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--dim); }
.rail li { cursor: pointer; }
@media (max-width: 900px) {
  .dial { position: static; grid-row: 1; justify-self: end; display: flex; align-items: baseline; gap: 8px; text-align: right; margin-bottom: -6px; }
  .dial b { font-size: 26px; }
  .dial .dlab { display: inline; font-size: 9px; }
  .dial .dlab:first-child { display: inline; }
  .hint { position: static; grid-row: 4; justify-self: start; font-size: 9px; margin: 2px 0 14px; }
  .line .stage { grid-template-rows: auto auto auto auto auto; }
}

/* ---------- the plate viewer ---------- */
.viewer { position: fixed; inset: 0; z-index: 45; background: rgba(10,12,15,.94); display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: 1fr auto; align-items: center; padding: 40px 12px 24px; }
.viewer[hidden] { display: none; }
.vframe { grid-column: 2; position: relative; overflow: hidden; max-height: 82svh; display: grid; place-items: center; }
.vframe img { max-width: 100%; max-height: 82svh; width: auto; }
.loupe { position: absolute; width: 220px; height: 220px; margin: -110px 0 0 -110px; border-radius: 50%; border: 1px solid rgba(244,242,238,.5); box-shadow: 0 10px 40px rgba(0,0,0,.6); background-repeat: no-repeat; background-size: 260%; opacity: 0; transition: opacity .2s; pointer-events: none; }
.loupe.on { opacity: 1; }
.vx { position: absolute; right: 18px; top: 14px; width: 44px; height: 44px; background: none; border: 0; color: var(--light); font-size: 26px; cursor: pointer; }
.vprev, .vnext { background: none; border: 0; cursor: pointer; display: grid; place-items: center; height: 100%; color: var(--light); }
.vprev i, .vnext i { width: 14px; height: 14px; border-top: 1px solid currentColor; border-left: 1px solid currentColor; }
.vprev i { transform: rotate(-45deg); } .vnext i { transform: rotate(135deg); }
.vcap { grid-column: 2; margin: 14px 0 0; text-align: center; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--silver); }
[data-plate] { cursor: zoom-in; }
@media (max-width: 700px) { .loupe { display: none; } .viewer { grid-template-columns: 40px 1fr 40px; padding: 56px 8px 20px; } .vcap { font-size: 11px; } }

/* ---------- the process line ---------- */
.draw .tape { margin-top: clamp(28px, 4vw, 56px); }

.tape { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); align-items: start; padding-top: 26px; }
.tape .rule { position: absolute; left: 0; right: 0; top: 26px; height: 1px; background: var(--silver); opacity: .55; }
.stop { position: relative; padding-top: 18px; display: grid; gap: 4px; }
.stop i { position: absolute; left: 0; top: -18px; width: 1px; height: 18px; background: var(--silver); }
.stop:nth-child(odd) i { height: 26px; top: -26px; }
.stop b { font-weight: 400; font-size: clamp(15px, 1.5vw, 19px); color: var(--light); }
.stop em { font-style: normal; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
.sr-list { position: absolute; left: -9999px; }
@media (max-width: 700px) { .tape { grid-template-columns: 1fr 1fr; gap: 22px 12px; } .tape .rule { display: none; } .stop i { display: none; } .stop { padding-top: 0; border-top: 1px solid rgba(244,242,238,.18); padding: 10px 0 0; } }

/* ---------- start here: the first question on the home page ---------- */
.starts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.start { text-align: left; background: none; border: 1px solid var(--rulep); padding: 14px 16px; cursor: pointer; font: inherit; color: var(--ink); display: grid; gap: 3px; transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.start b { font-weight: 400; font-size: 17px; }
.start span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--dimp); }
.start:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateY(-2px); }
.start:hover span { color: rgba(244,242,238,.75); }

/* ---------- resume ---------- */
.resume { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 19; display: flex; align-items: center; gap: 18px; background: var(--paper); color: var(--ink); padding: 12px 14px 12px 18px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.7); max-width: calc(100vw - 32px); }
.resume[hidden] { display: none; }
.resume .rlabel { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--dimp); }
.resume .rx { background: none; border: 0; font-size: 20px; line-height: 1; cursor: pointer; color: var(--dimp); }
@media (max-width: 700px) { .resume { gap: 10px; padding: 10px 10px 10px 14px; } .resume .rlabel { display: none; } }

/* ---------- the work: what is built, and what is drawn ---------- */
.work { padding: calc(var(--bar) + clamp(26px, 6vh, 68px)) 0 0; position: relative; z-index: 1; }
.workhead { display: grid; gap: 13px; padding: 0 var(--gut); max-width: 960px; }
.workhead h1 { margin: 0; font-size: clamp(38px, 10vw, 92px); line-height: .96; }
.worklede { margin: 0; color: var(--dim); max-width: 58ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.fbtn { background: none; border: 1px solid var(--rule); color: var(--light); font: inherit; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 0 16px; min-height: 46px; cursor: pointer; transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease); }
.fbtn:hover { border-color: rgba(244,242,238,.42); }
.fbtn.on { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.fcount { margin: 0; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--dim); }
.plates { display: grid; grid-template-columns: 1fr; gap: 10px; padding: clamp(20px, 4vh, 44px) var(--gut) 0; }
.plate { margin: 0; position: relative; cursor: zoom-in; background: #101216; overflow: clip; }
.plate img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .7s var(--ease); }
.plate:hover img, .plate:focus-visible img { transform: scale(1.035); }
.plate:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
.plate figcaption { display: grid; gap: 2px; padding: 12px 15px 15px; background: var(--desk2); }
.plate figcaption b { font-weight: 400; font-size: 17px; letter-spacing: -.005em; }
.plate figcaption em { font-style: normal; font-size: 13px; line-height: 1.4; color: var(--dim); }
.tag { position: absolute; left: 10px; top: 10px; font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; padding: 7px 10px 5px; }
.tag.is-built { background: var(--paper); color: var(--ink); }
.tag.is-drawn { background: rgba(16,18,22,.62); color: var(--silver); backdrop-filter: blur(4px); }
.workfoot { display: grid; gap: 16px; justify-items: start; padding: clamp(34px, 7vh, 76px) var(--gut) clamp(44px, 9vh, 104px); }
.workfoot p { margin: 0; font-size: clamp(23px, 4.6vw, 34px); font-weight: 300; line-height: 1.1; }

/* ---------- 404 ---------- */
.lost { display: grid; gap: 14px; align-content: center; min-height: 78svh; padding: var(--bar) var(--gut) 0; position: relative; z-index: 1; }
.lost h1 { margin: 0; font-size: clamp(34px, 8vw, 74px); line-height: .98; }
.lost p { margin: 0; color: var(--dim); }
.lostlinks { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 12px; }

@media (min-width: 700px) { .plates { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .plates { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { .slb, .estline, .skyline .ghost, .skyline .rest, .skyline .detail { opacity: 1; animation: none; transform: none; } .plate img { transition: none; } .plate:hover img { transform: none; } }

/* ---------- the service cue: there are five of these, keep going ---------- */
.scue { position: absolute; left: var(--gut); bottom: 26px; margin: 0; display: grid; grid-template-columns: auto 1fr; grid-template-areas: 'chev lead' 'chev sub' 'chev drag'; align-items: center; gap: 0 12px; pointer-events: none; }
.scue .chev { grid-area: chev; width: 13px; height: 13px; border-right: 1.5px solid var(--silver); border-bottom: 1.5px solid var(--silver); transform: rotate(45deg); animation: cuebob 1.9s var(--ease) infinite; }
@keyframes cuebob { 0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: .45; } 50% { transform: rotate(45deg) translate(3px, 3px); opacity: 1; } }
.scue b { grid-area: lead; font-weight: 400; font-size: 14px; color: var(--light); letter-spacing: .01em; }
.scue em { grid-area: sub; font-style: normal; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.scue .cuedrag { grid-area: drag; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--silver-lo); }
.scue.done .chev { animation: none; opacity: .3; }
@media (max-width: 900px) {
  .scue { position: static; justify-self: start; padding: 2px 0 0; grid-template-areas: 'chev lead' 'chev sub'; }
  .scue .cuedrag { display: none; }
  .scue b { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .slb, .estline, .skyline .ghost, .skyline .rest, .skyline .detail { opacity: 1; animation: none; transform: none; } .scue .chev { animation: none; } }

/* ---------- the service switch: tap, arrow, swipe or key. No scroll driving. ---------- */
.switch { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-top: 4px; }
.swarrow { width: 46px; height: 46px; display: grid; place-items: center; background: none; border: 1px solid var(--rule); color: var(--light); cursor: pointer; transition: border-color .18s var(--ease), background .18s var(--ease), opacity .18s; }
.swarrow:hover { border-color: rgba(244,242,238,.45); background: rgba(244,242,238,.05); }
.swarrow:disabled { opacity: .2; cursor: default; }
.swarrow i { width: 10px; height: 10px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
#svcPrev i { transform: rotate(45deg) translate(1px, -1px); }
#svcNext i { transform: rotate(-135deg) translate(1px, -1px); }
.rail { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.rail li { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--rule); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); cursor: pointer; white-space: nowrap; transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease); }
.rail li i { display: none; }
.rail li:hover { border-color: rgba(244,242,238,.45); color: var(--light); }
.rail li.on { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.swhint { margin: 10px 0 0; text-align: center; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--silver-lo); }
@media (max-width: 900px) {
  /* on a phone the chips are the control and the drawing swipes; the arrows only steal width */
  .swarrow { display: none; }
  .switch { grid-template-columns: 1fr; gap: 8px; }
  .rail { gap: 5px; }
  .rail li { padding: 0 9px; font-size: 10px; letter-spacing: .1em; min-height: 42px; }
  .swhint { margin-top: 8px; }
}

/* Troy's mark in the bar. The rule from the hero holds: his artwork always sits on paper. */
.brand .chip { display: block; line-height: 0; }
.brand .chip img { width: auto; height: clamp(30px, 4.4vw, 38px); display: block; }
@media (max-width: 900px) { .skyline .detail { stroke-width: 3.2; } .skyline .draw { stroke-width: 6; } }
