/* gunflint.tech v2: the night job site. Splitrock's family of colours (granite, coral, teal, lavender, gold, plum, pine),
   Granite Night by default and the same site at dawn in light mode. One palette block below: swap the logo's palette here.
   Type: Fraunces Bold (OFL, served from /fonts) for headings and signs, system text for the rest. */
@font-face { font-family: "Fraunces"; src: url("/fonts/Fraunces-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark light;
  /* page */
  --bg: #15162B; --surface: #1E1E3A; --surface-2: #2A2848; --line: #3A3858; --field-edge: #8C7D80;
  --ink: #F3E9DC; --ink-2: #C9B9B0; --link: #8FDCCF; --focus: #F0B94A;
  --accent: #E2725F; --accent-ink: #1E1820; --accent-hover: #EC8572;
  --shadow: #06050C;
  /* scene: a deep indigo night, lit rooms in bright solid colours, cyan and pink neon */
  --sky-a: #15162B; --sky-b: #22244A; --sky-c: #3A2D58;
  --s-ink: #0D0B14; --s-night: #1A1830; --s-hill: #1D1C36; --s-hill2: #24233F; --s-hill3: #1B1A2E; --s-tower: #24233F;
  --s-pine: #1F5A55; --s-pine2: #26706A; --s-pine3: #184640;
  --s-lake: #122741; --s-lake2: #1E5C6E; --s-road: #1C1A28; --s-glass: rgba(120, 220, 230, .18);
  --s-paper: #FFF3E2; --s-coral: #FF7A5C; --s-coral2: #E35A44; --s-gold: #FFC93D; --s-gold2: #F2A72E;
  --s-pink: #FF5FA8; --s-pink2: #D9418A; --s-lav: #B49BFF; --s-lav2: #9478EA; --s-teal: #2FC4A8; --s-teal2: #1FA08A;
  --s-cyan: #38D6F0; --s-cyan2: #1BB0CF; --s-plum: #8E4FB0; --s-plum2: #733D93; --s-red: #FF4D5A;
  --s-granite: #8A7C86; --s-granite2: #4E4658; --s-steel: #4C5E7A;
  --s-window: #FFE08A; --s-lamp: #FFD96E; --s-star: #FFF3D2; --s-staroff: #3D3657; --s-board: #1E1A33;
  --s-beam: rgba(255, 228, 150, .3); --s-steam: rgba(230, 225, 240, .55); --s-moose: #7A5240; --s-moose2: #A27760; --s-antler: #E8D2A8; --s-vest: #FF9A3C;
  --s-fence: #3A3652; --s-neon-off: #5A5470; --s-cable: #38D6F0; --s-pulse: #FFE58A;
  /* Taconite Gothic (Dec 3): concrete, Cor-Ten rust, verdigris, basalt, snow, the aurora */
  --s-concrete: #3A4256; --s-concrete2: #2D3446; --s-rust: #A84E26; --s-rust2: #7E3A1E; --s-verd: #4FA89A;
  --s-basalt: #15161F; --s-basalt2: #22232F; --s-snow: #DDE8F5; --s-ice: #A9CBE0; --s-birch: #EDEBE4; --s-wood: #6B4A3A;
  --s-pellet: #8A3324; --s-amber: #FFB347; --s-green: #46E08A;
  --au-a: rgba(154, 107, 255, 0); --au-b: rgba(130, 120, 255, .45); --au-c: rgba(89, 242, 160, .7);
  --glow: url(#gf-glow);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --spring: cubic-bezier(.3, 1.5, .5, 1);
}
@media (prefers-color-scheme: light) {
  /* the same site at dawn */
  :root {
    --bg: #FFF1E7; --surface: #FFFAF6; --surface-2: #FBE6DA; --line: #EBCFC1; --field-edge: #A07F7C;
    --ink: #3E2A2E; --ink-2: #6E5156; --link: #A6463F; --focus: #BC5750;
    --accent: #BC5750; --accent-ink: #FFFFFF; --accent-hover: #AC4D47;
    --shadow: #3E2A2E;
    --sky-a: #CFE6F0; --sky-b: #FAD3BE; --sky-c: #F4B29A;
    --s-ink: #3E2A2E; --s-night: #F7D9C6; --s-hill: #E6C0B6; --s-hill2: #DDB3AA; --s-hill3: #EFCDBF; --s-tower: #E7BFB0;
    --s-pine: #3C7D73; --s-pine2: #4E9488; --s-pine3: #2F6B63;
    --s-lake: #8CC8D2; --s-lake2: #5FAFBC; --s-road: #BDA295; --s-glass: rgba(255, 255, 255, .4);
    --s-window: #FFF6E0; --s-lamp: #FFE6A8; --s-star: #FFFFFF; --s-staroff: #E8D8D0; --s-board: #3E2A2E;
    --s-beam: rgba(255, 240, 200, .45); --s-steam: rgba(255, 255, 255, .8); --s-fence: #C9B3AA; --s-neon-off: #8A7478;
    --s-cable: #2FB5A0; --s-pulse: #FF7A5C;
    --s-concrete: #CBB0A8; --s-concrete2: #B99A92; --s-rust: #B8603A; --s-rust2: #9A4C2E; --s-verd: #5FA898;
    --s-basalt: #9C7F7A; --s-basalt2: #8A6E6A; --s-snow: #FFFFFF; --s-ice: #D6ECF4; --s-birch: #FFFFFF; --s-wood: #9A6E58;
    --au-a: rgba(154, 107, 255, 0); --au-b: rgba(150, 160, 255, .12); --au-c: rgba(89, 200, 160, .18);
    --glow: drop-shadow(0 0 1.6px rgba(255, 170, 60, .9));
    --eyebrow: #8A4A0C;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--sans); }
a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 9; }
.skip:focus { left: 8px; }
h1, h2, h3, .word { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.08; margin: 0 0 14px; text-wrap: balance; }
h3 { font-size: 20px; line-height: 1.25; margin: 0 0 6px; }
.small { font-size: 15px; color: var(--ink-2); }
section[tabindex]:focus { outline: none; }

/* header */
.top { background: var(--bg); border-bottom: 3px solid var(--shadow); position: relative; z-index: 2; }
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.word { font-size: 23px; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
/* the slot for the Gunflint mark (logo job comes after the site): an ember for now */
.mark { width: 14px; height: 14px; border-radius: 50%; background: var(--s-gold); box-shadow: 0 0 10px var(--s-gold); border: 2px solid var(--s-ink); }

/* buttons: chunky, inked, offset shadow (the .dev family) */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font: 700 17px/1 var(--sans); padding: 15px 22px; border-radius: 6px 12px 6px 10px; border: 3px solid var(--shadow); box-shadow: 4px 4px 0 var(--shadow); text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s; }
.btn:hover { background: var(--accent-hover); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--shadow); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--shadow); }
.btn.small { font-size: 15px; padding: 9px 13px; box-shadow: 3px 3px 0 var(--shadow); }
.btn:disabled { opacity: .6; cursor: default; }

/* hero: the headline on the left, the city on the right (the .dev layout); stacked on phones */
.hero { background: linear-gradient(180deg, var(--sky-a) 0%, var(--sky-a) 30%, var(--sky-b) 70%, var(--sky-c) 100%); padding: 28px 0 0; overflow: hidden; }
.hero-in { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; align-items: center; }
.hero-copy { padding: 24px 0 40px; }
.eyebrow, .kicker { font: 700 14px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--eyebrow, var(--s-gold)); margin: 0 0 10px; }
.hero h1 { font-size: clamp(44px, 5.4vw, 80px); line-height: .95; margin: 0 0 20px; }
.hero h1 span { color: var(--accent); display: block; }
.lede { font-size: clamp(18px, 1.7vw, 21px); max-width: 30em; margin: 0 0 26px; }
.cta { margin: 0 0 18px; }
.hint { font: 700 16px/1.4 var(--sans); color: var(--ink); margin: 0; }
.hint .tap { display: none; }
@media (pointer: coarse) { .hint .tap { display: inline; } .hint .click { display: none; } }
.site { line-height: 0; }
.scene { display: block; width: 100%; height: auto; max-height: calc(100vh - 80px); margin: 0 auto;
  --fade: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(180deg, transparent 0, #000 7%, #000 95%, transparent 100%);
  -webkit-mask-image: var(--fade); mask-image: var(--fade); -webkit-mask-composite: source-in; mask-composite: intersect; }
.list { padding-top: 6px; padding-bottom: 28px; }
.list ul { list-style: none; margin: 0; padding: 0 0 4px; display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.list ul::-webkit-scrollbar { display: none; }
.list li { flex: none; scroll-snap-align: start; }
.list li:last-child { padding-right: 40px; }
.list a { display: inline-block; padding: 8px 12px; min-height: 44px; line-height: 24px; border: 2px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 700; background: var(--surface); }
.list a:hover { border-color: var(--accent); }
@media (min-width: 900px) { .list { display: none; } }
@media (max-width: 899px) {
  .hero-in { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 8px 0 18px; }
  .site { margin: 0 -24px; overflow: hidden; }
  .scene { max-height: none; width: 102%; margin-left: 0; -webkit-mask-image: linear-gradient(#000 96%, transparent); mask-image: linear-gradient(#000 96%, transparent); }
}

/* ---------- the scene ---------- */
.scene .l3, .scene .l2, .scene .l1 { fill: none; stroke: var(--s-ink); stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.scene .l3 { stroke-width: 3; } .scene .l2 { stroke-width: 2; } .scene .l1 { stroke-width: 1.15; }
.scene .f { stroke: none; }
.sky-a { stop-color: var(--sky-a); } .sky-b { stop-color: var(--sky-b); } .sky-c { stop-color: var(--sky-c); }
.f-ink { fill: var(--s-ink); } .f-paper { fill: var(--s-paper); } .f-night { fill: var(--s-night); }
.f-hill { fill: var(--s-hill); } .f-hill2 { fill: var(--s-hill2); } .f-hill3 { fill: var(--s-hill3); } .f-tower { fill: var(--s-tower); }
.f-pine { fill: var(--s-pine); } .f-pine2 { fill: var(--s-pine2); } .f-pine3 { fill: var(--s-pine3); }
.f-lake { fill: var(--s-lake); } .f-lake2 { fill: var(--s-lake2); } .f-road { fill: var(--s-road); } .f-glass { fill: var(--s-glass); }
.f-coral { fill: var(--s-coral); } .f-coral2 { fill: var(--s-coral2); } .f-gold { fill: var(--s-gold); } .f-gold2 { fill: var(--s-gold2); }
.f-pink { fill: var(--s-pink); } .f-pink2 { fill: var(--s-pink2); } .f-lav { fill: var(--s-lav); } .f-lav2 { fill: var(--s-lav2); }
.f-teal { fill: var(--s-teal); } .f-teal2 { fill: var(--s-teal2); } .f-cyan { fill: var(--s-cyan); } .f-cyan2 { fill: var(--s-cyan2); }
.f-plum { fill: var(--s-plum); } .f-plum2 { fill: var(--s-plum2); } .f-red { fill: var(--s-red); }
.f-granite { fill: var(--s-granite); } .f-granite2 { fill: var(--s-granite2); } .f-steel { fill: var(--s-steel); }
.f-window { fill: var(--s-window); } .f-lamp { fill: var(--s-lamp); } .f-star { fill: var(--s-star); } .f-starOff { fill: var(--s-staroff); }
.f-board { fill: var(--s-board); } .f-beam { fill: var(--s-beam); } .f-steam { fill: var(--s-steam); }
.f-moose { fill: var(--s-moose); } .f-moose2 { fill: var(--s-moose2); } .f-antler { fill: var(--s-antler); } .f-vest { fill: var(--s-vest); } .f-fence { fill: var(--s-fence); }
.f-sh { fill: var(--s-ink); opacity: .35; }
.f-concrete { fill: var(--s-concrete); } .f-concrete2 { fill: var(--s-concrete2); } .f-rust { fill: var(--s-rust); } .f-rust2 { fill: var(--s-rust2); }
.f-verd { fill: var(--s-verd); } .f-basalt { fill: var(--s-basalt); } .f-basalt2 { fill: var(--s-basalt2); } .f-snow { fill: var(--s-snow); }
.f-ice { fill: var(--s-ice); } .f-wood { fill: var(--s-wood); } .f-pellet { fill: var(--s-pellet); } .f-amber { fill: var(--s-amber); } .f-green { fill: var(--s-green); }
.scene .snowline { stroke: var(--s-snow); } .scene .birch { stroke: var(--s-birch); } .scene .copper { stroke: var(--s-verd); }
.au-a { stop-color: var(--au-a); } .au-b { stop-color: var(--au-b); } .au-c { stop-color: var(--au-c); }
.scene .aurora { mix-blend-mode: screen; animation: auroraDrift 14s ease-in-out infinite alternate; transform-box: view-box; transform-origin: 240px 100px; }
.scene .aurora.a2 { animation-duration: 19s; animation-direction: alternate-reverse; }
@keyframes auroraDrift { 0% { opacity: .55; transform: skewX(-4deg) translateX(-6px); } 100% { opacity: 1; transform: skewX(4deg) translateX(8px); } }
.scene .rangebeam { mix-blend-mode: screen; opacity: .5; pointer-events: none; transform-box: view-box; transform-origin: 0 0; animation: rangeTurn 26s linear infinite; }
@keyframes rangeTurn { from { transform: rotate(-200deg); } to { transform: rotate(160deg); } }
.scene .climb { animation: climb 2.4s linear infinite; }
@keyframes climb { from { transform: translateY(8px); opacity: .3; } 50% { opacity: 1; } to { transform: translateY(-2px); opacity: .3; } }
.scene .glow { filter: var(--glow); }
.ridge .l1, .ridge .l2, .skyline .l1 { opacity: .55; }
.scene .ripple { stroke: var(--s-lake2); }
.scene .refl { opacity: .5; } .rf-lav { stroke: var(--s-lav); } .rf-gold { stroke: var(--s-gold); } .rf-coral { stroke: var(--s-coral); } .rf-cyan { stroke: var(--s-cyan); } .rf-lamp { stroke: var(--s-lamp); } .rf-plum { stroke: var(--s-pink); }
.scene .dash { stroke: var(--s-paper); opacity: .6; }
.scene .cline { stroke: var(--s-star); opacity: .35; }
.scene .reflect { stroke: var(--s-paper); }
.scene .gutter { stroke: #4FD18B; stroke-width: 3; }
.scene .chartbase { stroke: var(--s-paper); }
.scene .ray { stroke: var(--s-gold); }
.scene text { font-family: var(--serif); font-weight: 700; }
.scene .plate { font-size: 18px; letter-spacing: .06em; fill: #2B1F24; }
.scene .tiny { font: 700 6px/1 var(--sans); letter-spacing: .08em; fill: #2B1F24; }
.scene .lbl { fill: var(--s-paper); letter-spacing: .08em; }
.scene .lbl.far { fill: var(--s-star); opacity: .85; }
.scene .tag { fill: #2B1F24; letter-spacing: .04em; }
.scene .neon { letter-spacing: .06em; fill: var(--s-neon-off); }
.scene .n-rev { fill: var(--s-pink); filter: var(--glow); }
.scene .gate-sign { fill: #FFF3D2; letter-spacing: .06em; }
.scene .neonline { stroke: var(--s-teal); stroke-width: 2.5; filter: var(--glow); }
.scene .nl-coral { stroke: var(--s-coral); } .scene .nl-lav { stroke: var(--s-lav); } .scene .nl-pink { stroke: var(--s-pink); } .scene .nl-cyan { stroke: var(--s-cyan); } .scene .nl-gold { stroke: var(--s-gold); }
.cable { fill: none; stroke: var(--s-cable); stroke-width: 2; stroke-linecap: round; opacity: .85; filter: var(--glow); }
.pulse { fill: none; stroke: var(--s-pulse); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 3 97; stroke-dashoffset: 3; opacity: 0; filter: var(--glow); }

/* the rooms: real links. A little lift on hover; a dashed frame on keyboard focus. */
.part { cursor: pointer; outline: none; }
.part .hit, .part .shine { fill: transparent; }
.part .shine { pointer-events: none; stroke: none; }
.part:focus-visible .shine { stroke: var(--focus); stroke-width: 3; stroke-dasharray: 8 5; vector-effect: non-scaling-stroke; }
.part > g { transition: filter .15s; }
.part:hover > g { filter: brightness(1.12) saturate(1.1); }

/* everything that moves turns about its own local origin (each mover sits at 0 0 of its group) */
.swing, .drop, .rope, .dz, .flag, .env, .cbar, .lid, .wrench, .hat, .gatepanel, .st, .car, .card, .beam, .handset, .ring, .train, .bigbeam { transform-origin: 0 0; transform-box: view-box; }

/* ---- always moving, gently ---- */
@keyframes sweep { from { transform: rotate(-4deg); } to { transform: rotate(3deg); } }
@keyframes creep { from { transform: translateX(0); } to { transform: translateX(-6px); } }
@keyframes blink { 0%, 60% { opacity: 1; } 70%, 100% { opacity: .15; } }
@keyframes puff { 0% { opacity: 0; transform: translateY(4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes chase { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.swing { animation: sweep 10s ease-in-out infinite alternate; }
.dz { animation: creep 3s ease-in-out infinite alternate; }
.blink { animation: blink 1.6s steps(1) infinite; } .b2 { animation-delay: .5s; }
.puff { animation: puff 2.6s ease-out infinite; }
.tw, .north { animation: twinkle 4s ease-in-out infinite; } .north { animation-duration: 5s; }
.strip { animation: chase 2.4s ease-in-out infinite; }
.cbar { transform: scaleY(.3); }
.neat, .env, .wrench, .spot, .ring, .bigbeam { opacity: 0; }
.chev { animation: chase 1.2s ease-in-out infinite; } .chev.c1 { animation-delay: .2s; } .chev.c2 { animation-delay: .4s; }
.scene .spot-on { opacity: .7; }
.beam-a { stop-color: rgba(255, 246, 220, 1); } .beam-b { stop-color: rgba(255, 244, 214, 0); }
.scene .light { mix-blend-mode: screen; }
.boardglow { opacity: 0; }
@keyframes glowFlash { 0% { opacity: 0; } 30% { opacity: .4; } 100% { opacity: 0; } }
.p-crm.go .boardglow { animation: glowFlash .8s ease-out; }
.scene .hullstripe { stroke: var(--s-paper); }
.beam { opacity: .8; animation: sweep 7s ease-in-out infinite alternate; }
.scene .arch { pointer-events: none; }
.scene .tile { opacity: .45; }
.train { animation: train 18s linear infinite; }
@keyframes train { 0% { transform: translateX(-110px); } 100% { transform: translateX(760px); } }

/* ---- each room's move on click (about .8 s), then the page glides to its section ---- */
@keyframes home { to { transform: rotate(0); } }
@keyframes lower { to { transform: translateY(260px); } }
@keyframes rope { to { transform: scaleY(7.5); } }
@keyframes lit { to { fill: var(--s-gold); filter: var(--glow); } }
@keyframes shove { 0% { transform: translateX(-4px); } 100% { transform: translateX(16px); } }
@keyframes gone { to { opacity: 0; } }
@keyframes come { to { opacity: 1; } }
@keyframes starOn { 0% { fill: var(--s-staroff); } 100% { fill: var(--s-gold); filter: var(--glow); } }
@keyframes flagUp { to { transform: rotate(-90deg); } }
@keyframes fly { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--fx), var(--fy)) rotate(var(--fr)); } }
@keyframes grow { to { transform: scaleY(1); } }
@keyframes lidOpen { to { transform: rotate(-60deg); } }
@keyframes wrench { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 1; transform: translate(0, -18px) rotate(360deg); } }
@keyframes tip { 0%, 100% { transform: rotate(0); } 35%, 60% { transform: rotate(-22deg) translateY(-5px); } }
@keyframes swingOpen { from { transform: scaleX(.55) skewY(-5deg); } to { transform: scaleX(.15) skewY(-10deg); } }
.gatepanel { transform: scaleX(.55) skewY(-5deg); }
@keyframes flash { 0% { fill: rgba(255, 240, 200, 0); } 25% { fill: rgba(255, 240, 200, .18); } 100% { fill: rgba(255, 240, 200, 0); } }
.part.go .shine { animation: flash .9s ease-out; }
@keyframes ride { 0% { transform: translateY(0); } 100% { transform: translateY(-420px); } }

.p-crane.go .swing { animation: home .3s ease-out forwards; }
.p-crane.go .drop { animation: lower .55s .25s cubic-bezier(.4, 0, .6, 1.25) forwards; }
.p-crane.go .rope { animation: rope .55s .25s cubic-bezier(.4, 0, .6, 1.25) forwards; }
.p-crane.go .n-book { animation: lit .15s .8s forwards; }
.p-dozer.go .dz { animation: shove .6s cubic-bezier(.5, 0, .5, 1.4) forwards; }
.p-dozer.go .pile { animation: gone .2s .45s forwards; }
.p-dozer.go .neat { animation: come .25s .5s forwards; }
.p-bill.go .st .f { animation: starOn .16s forwards; }
.p-bill.go .st1 .f { animation-delay: .12s; } .p-bill.go .st2 .f { animation-delay: .24s; } .p-bill.go .st3 .f { animation-delay: .36s; } .p-bill.go .st4 .f { animation-delay: .48s; }
.p-crm.go .flag { animation: flagUp .3s var(--spring) forwards; }
.env.e0 { --fx: -30px; --fy: -90px; --fr: 20deg; } .env.e1 { --fx: 10px; --fy: -120px; --fr: -15deg; } .env.e2 { --fx: 40px; --fy: -100px; --fr: 35deg; }
.p-crm.go .env { animation: fly .7s .2s ease-in forwards; } .p-crm.go .e1 { animation-delay: .32s; } .p-crm.go .e2 { animation-delay: .44s; }
.p-tower.go .cbar { animation: grow .35s var(--spring) forwards; }
.p-tower.go .b1 { animation-delay: .12s; } .p-tower.go .b2 { animation-delay: .24s; } .p-tower.go .b3 { animation-delay: .36s; }
.p-truck.go .lid { animation: lidOpen .3s var(--spring) forwards; }
.p-truck.go .wrench { transform-origin: 16px 0; animation: wrench .6s .2s ease-out forwards; }
.p-moose.go .hat { animation: tip .9s ease-in-out; }
.p-gate.go .gatepanel { animation: swingOpen .6s var(--spring) forwards; }
.p-built.go .spot { animation: come .15s forwards; } .p-built.go .sp1 { animation-delay: .2s; } .p-built.go .sp2 { animation-delay: .4s; }

@keyframes slide { 0% { transform: translate(0, 0); } 50% { transform: translate(29px, 11px); } 100% { transform: translate(58px, 11px); } }
@keyframes beamSweep { 0% { transform: rotate(-30deg); opacity: .9; } 100% { transform: rotate(25deg); opacity: .9; } }
@keyframes buzz { 0%, 100% { transform: rotate(0); } 20%, 60% { transform: rotate(-14deg) translateY(-2px); } 40%, 80% { transform: rotate(14deg) translateY(-2px); } }
@keyframes ringOut { 0% { opacity: 0; transform: scale(.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.4); } }
.p-crm.go .card { animation: slide .6s var(--spring) forwards; }
.p-light.go .beam { animation: beamSweep .8s ease-in-out forwards; }
@keyframes bigSweep { 0% { opacity: 0; transform: rotate(8deg); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: rotate(-188deg); } }
.p-light.go .bigbeam { animation: bigSweep .95s ease-in-out forwards; }
.p-light.go .handset { animation: buzz .5s ease-in-out 2; }
.p-light.go .ring { animation: ringOut .5s ease-out 2; }

/* the opening run: a pulse climbs the cable, the lift car rides the tube, each room fires in turn (script adds .intro) */
@keyframes pulse { 0% { opacity: 1; stroke-dashoffset: 3; } 96% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: -97; } }
.scene.intro .pulse { animation: pulse 4s linear forwards; }
.scene.intro .car { animation: ride 3.6s .3s ease-in-out forwards; }

/* Reduce Motion: everything stands still and shows its finished state; clicks go straight to the section */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene *, .scene .part.go * { animation: none !important; }
  .cbar { transform: none; }
  .neat, .spot { opacity: 1; } .pile { opacity: 0; }
  .scene .n-book { fill: var(--s-gold); }
  .st .f { fill: var(--s-gold); }
}

/* ---------- the sections: one service each, short, one phone screen ---------- */
.svc { padding: 72px 0 28px; border-top: 3px solid var(--shadow); background: var(--bg); }
.svc:nth-of-type(even) { background: var(--surface); }
.c-coral { --band: var(--s-coral); } .c-gold { --band: var(--s-gold); } .c-lav { --band: var(--s-lav); } .c-teal { --band: var(--s-teal); }
.svc .kicker, .talk .kicker { color: var(--band, var(--s-gold)); }
.svc h2 { position: relative; }
.svc h2::after { content: ""; display: block; width: 64px; height: 6px; margin-top: 12px; background: var(--band); border-radius: 3px; border: 2px solid var(--shadow); }
.svc p { max-width: 34em; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; gap: 28px; } }
@media (min-width: 821px) { .svc:nth-of-type(odd) .two > figure { order: -1; } }
.deal { margin: 22px 0 0; display: grid; gap: 10px; }
.deal div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; }
.deal dt { font: 700 13px/1.6 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); padding-top: 2px; }
.deal dd { margin: 0; }
.svc p.up { margin: 34px auto 0; font-size: 15px; max-width: 1080px; }
.up a { color: var(--ink-2); }

/* samples: a lit card, inked, a little crooked, stamped SAMPLE */
.sample { position: relative; margin: 0; background: #FFFAF6; color: #3E2A2E; border: 3px solid var(--shadow); border-radius: 8px 14px 6px 12px; box-shadow: 8px 8px 0 var(--band, var(--shadow)); padding: 22px; transform: rotate(-1deg); }
.sample p { margin: 0 0 10px; }
.stamp { position: absolute; top: -14px; right: 16px; transform: rotate(4deg); background: var(--s-gold); color: #3E2A2E; border: 2px solid #3E2A2E; font: 800 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .1em; padding: 6px 9px; border-radius: 4px; }
.browser { display: flex; align-items: center; gap: 6px; margin: -6px -6px 14px; padding: 6px 8px; background: #F3E3D8; border-radius: 6px; font-size: 13px; color: #6E5156; }
.browser i { width: 9px; height: 9px; border-radius: 50%; background: #DDBBAD; }
.browser span { margin-left: 8px; }
.mini-name { font: 700 26px/1.1 var(--serif); }
.mini-sub { color: #6E5156; }
.mini-q { font-weight: 700; margin-top: 14px !important; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips span { border: 2px solid #DDBBAD; border-radius: 999px; padding: 3px 11px; font-size: 14px; font-weight: 600; }
.chips .on { background: #22706B; border-color: #22706B; color: #fff; }
.mini-btn { display: inline-block; background: #BC5750; color: #fff; font-weight: 700; padding: 9px 14px; border-radius: 8px; margin-top: 6px !important; }
.mail .from { font-size: 14px; color: #6E5156; padding-bottom: 10px; border-bottom: 1px solid #F1D8CB; }
.mail .from b { color: #3E2A2E; }
.unsub { font-size: 12px; color: #6E5156; margin-top: 14px !important; text-decoration: underline; }
.nums .from { font-size: 14px; color: #6E5156; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.tiles p { margin: 0; background: #FBE6DA; border-radius: 8px; padding: 10px; font-size: 13px; color: #6E5156; }
.tiles b { display: block; font: 700 24px/1.1 var(--serif); color: #3E2A2E; }
.chart { display: flex; align-items: flex-end; gap: 10px; height: 90px; border-bottom: 2px solid #3E2A2E; }
.chart i { flex: 1; height: var(--h); background: #22706B; border-radius: 4px 4px 0 0; }
.chart i:nth-child(4) { background: #BC5750; }
.days { display: flex; gap: 10px; font-size: 12px; color: #6E5156; margin-top: 4px !important; }
.days span { flex: 1; text-align: center; }
.shot { padding: 0; overflow: hidden; }
.shot img { display: block; width: 100%; height: auto; }

/* what I've built */
.work { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.work li { background: var(--bg); border: 3px solid var(--shadow); border-radius: 8px 14px 6px 12px; box-shadow: 6px 6px 0 var(--band); overflow: hidden; }
.work img { width: 100%; height: 190px; object-fit: cover; display: block; background: var(--surface-2); border-bottom: 3px solid var(--shadow); }
.work li:nth-child(2) img { object-fit: contain; background: #fff; }
.work li > div { padding: 16px 18px 18px; }
.work p { margin: 0 0 6px; }
.tag { font-size: 14px; font-weight: 700; color: var(--band); }
@media (max-width: 900px) { .work { grid-template-columns: 1fr; } }
.about p { max-width: 38em; }

/* form */
.talk { padding: 72px 0 80px; border-top: 3px solid var(--shadow); background: var(--sky-b); --band: var(--s-teal); }
.steps { list-style: none; padding: 0; margin: 8px 0 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; counter-reset: s; max-width: 900px; }
.steps li { counter-increment: s; padding-top: 12px; border-top: 3px solid var(--s-teal); }
.steps li::before { content: counter(s); display: block; font: 700 26px/1 var(--serif); color: var(--s-teal); margin-bottom: 6px; }
.form { background: var(--surface); border: 3px solid var(--shadow); border-radius: 8px 14px 6px 12px; box-shadow: 8px 8px 0 var(--s-teal); padding: 24px; max-width: 640px; }
.form label { display: block; font-weight: 700; margin-bottom: 6px; }
.form label span { font-weight: 400; color: var(--ink-2); font-size: 15px; }
.form input, .form textarea { width: 100%; font: 17px/1.4 var(--sans); color: var(--ink); background: var(--bg); border: 2px solid var(--field-edge); border-radius: 8px; padding: 11px 12px; }
.form p { margin: 0 0 16px; }
.form output { display: inline-block; margin-left: 10px; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 16px; }
.cf-turnstile:empty { margin: 0; }

/* footer */
.foot { border-top: 3px solid var(--shadow); padding: 28px 0 40px; font-size: 14px; color: var(--ink-2); background: var(--bg); }
.foot p { margin: 0 0 8px; max-width: 64em; }
.foot p:first-child { margin-bottom: 14px; }
.foot .fine { font-size: 13px; margin: 0 0 4px; opacity: .85; }

/* privacy page */
.page { padding: 48px 24px 72px; max-width: 760px; }
.page h1 { font-size: 40px; margin: 0 0 20px; }
.page dl div { padding: 12px 0; border-top: 1px solid var(--line); }
.page dt { font-weight: 600; }
.page dd { margin: 4px 0 0; }
@media (prefers-color-scheme: light) { .svc .kicker, .talk .kicker { color: var(--eyebrow); } .tag { color: var(--ink-2); } }
.nav { display: inline-flex; align-items: center; gap: 18px; }
.brand, .nav { white-space: nowrap; }
@media (max-width: 480px) { .navlink { display: none; } }
.navlink { color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; }
.navlink:hover { text-decoration: underline; }
.f-ray { fill: var(--au-c); }
.scene .aurora.a3 { animation-duration: 11s; }
.scene .dawnband { opacity: 0; }
@media (prefers-color-scheme: light) { .scene .dawnband { opacity: .55; mix-blend-mode: soft-light; } .scene .aurora-sky { opacity: .6; } }
/* the rooms lead: the hillside and the far elevators sit back */
.scene .cliff, .scene .skyline { opacity: .72; }
/* the far laker slides out through the canal, small and slow */
.farship { transform-origin: 0 0; transform-box: view-box; animation: farShip 34s linear infinite; }
@keyframes farShip { 0% { transform: translate(-46px, 18px) scale(1.15); opacity: 0; } 8% { opacity: 1; } 50% { transform: translate(0, 0) scale(1); } 92% { opacity: 1; } 100% { transform: translate(52px, -18px) scale(.8); opacity: 0; } }
.scene .farbridge, .scene .bay { opacity: .92; }
/* the far bridge sits back: dimmer, no glow */
.scene .farbridge { opacity: .6; } .scene .farbridge .neonline, .scene .farbridge .glow { filter: none; }
@keyframes farShip { 0% { transform: translate(-40px, 14px) scale(1.12); opacity: 0; } 8% { opacity: 1; } 50% { transform: translate(0, 0) scale(1); } 92% { opacity: 1; } 100% { transform: translate(46px, -14px) scale(.82); opacity: 0; } }
@media (max-width: 600px) { .scene .n-book, .scene .n-rev { display: none; } }

/* Dec 3 sections polish: room names as a quiet second label, proof first, add-on cards, about facts, two-column contact */
.kicker .room { color: var(--ink-2); font-weight: 600; text-transform: none; letter-spacing: 0; }
.svc .intro { color: var(--ink-2); margin: -2px 0 22px; }
.proof { font: 700 13px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin: 0 0 8px !important; }
.cards { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.cards > li { display: flex; flex-direction: column; background: var(--bg); border: 3px solid var(--shadow); border-radius: 8px 14px 6px 12px; box-shadow: 6px 6px 0 var(--band); padding: 20px 20px 24px; }
.cards .room { font-size: 13px; color: var(--ink-2); margin: 0 0 6px; }
.cards h3 { font-size: 22px; }
.cards p { margin: 0 0 10px; }
.cards .from-you { font-size: 15px; color: var(--ink-2); }
.cards .from-you b { color: var(--ink); }
.cards .sample { margin-top: auto; padding: 16px; font-size: 15px; transform: rotate(-.6deg); box-shadow: 5px 5px 0 var(--band); }
.cards .tiles b { font-size: 19px; }
.cards .chart { height: 60px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.facts { margin: 0; display: grid; gap: 0; background: var(--bg); border: 3px solid var(--shadow); border-radius: 8px 14px 6px 12px; box-shadow: 8px 8px 0 var(--band); padding: 6px 22px; }
.facts div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { font: 700 13px/1.6 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); padding-top: 2px; }
.facts dd { margin: 0; }
.talk .two { align-items: start; }
.talk .steps { grid-template-columns: 1fr; gap: 16px; margin: 18px 0 22px; }
.talk .alt { font-weight: 600; }
.talk .form { max-width: none; }

/* light mode: the city fades into the page instead of sitting in a box; the cliff is warm rock, not washed grey (Critic, Dec 3) */
@media (prefers-color-scheme: light) and (min-width: 900px) {
  .scene { --fade: linear-gradient(90deg, transparent 0, #000 14%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%, #000 92%, transparent 100%); }
}
@media (prefers-color-scheme: light) {
  :root { --s-basalt: #8C6656; --s-basalt2: #76533F; }
  .scene .cliff { opacity: .95; }
}

/* Dec 3: Kyle's photo above the about facts */
.me-side { display: grid; gap: 22px; }
.me-photo { display: block; width: 100%; height: auto; border: 3px solid var(--shadow); border-radius: 8px 14px 6px 12px; box-shadow: 8px 8px 0 var(--band); }
