/* Cog Machina studio identity. The original layout remains the structural base. */
:root {
  --ink-0: #11161b;
  --ink-1: #181e23;
  --ink-2: #20282d;
  --ink-3: #3a4448;
  --text-hi: #f4ead9;
  --text-mid: #c7c8c1;
  --text-low: #96a09f;
  --accent: #d7a765;
  --accent-hi: #f1c88f;
  --accent-dim: rgba(215, 167, 101, .13);
  --on-accent: #171a1c;
  --brass: var(--accent);
  --brass-hi: var(--accent-hi);
  --brass-dim: var(--accent-dim);
  --teal: #a9bcb7;
  --radius: 3px;
  --wrap: 1240px;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --font-serif: "Libre Baskerville", Georgia, serif;
  --font-mono: "IBM Plex Mono", Consolas, monospace;
  --paper: #ece7dc;
  --paper-ink: #22292b;
}
html { scroll-padding-top: 100px; }
body { font-size: 16px; line-height: 1.7; }
body::before {
  background: radial-gradient(750px 540px at 82% 95px, rgba(215,167,101,.11), transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(255,255,255,.018) 119px 120px);
}
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
h1, h2, h3, h4 { letter-spacing: .015em; }
h1, h2 { text-transform: uppercase; font-weight: 700; line-height: .96; }
h1 { font-size: clamp(3.6rem, 7.5vw, 7.5rem); }
h2 { font-size: clamp(2.7rem, 5vw, 5.2rem); }
h3 { font-size: 1.65rem; }
.wrap { padding-inline: clamp(24px, 4vw, 56px); }
.eyebrow { color: var(--accent); font: 600 .72rem/1.4 var(--font-mono); letter-spacing: .13em; margin-bottom: 20px; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.75; }
.site-header { background: rgba(17,22,27,.94); border-color: rgba(215,167,101,.25); }
.header-row { min-height: 92px; gap: 30px; }
.brand-art { display: block; width: clamp(190px, 21vw, 272px); line-height: 0; }
.brand-art svg { display: block; width: 100%; height: auto; }
.site-nav { gap: clamp(15px, 2vw, 30px); }
.site-nav > a { font: 600 .78rem/1.4 var(--font-mono); letter-spacing: .035em; text-transform: uppercase; }
.site-nav > a:hover { color: var(--accent-hi); text-shadow: none; }
.site-nav > a.active { color: var(--accent-hi); }
.btn { border-radius: 3px; font: 700 1rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .08em; padding: 14px 22px; }
.btn-primary { background: var(--accent); box-shadow: none; }
.btn-primary:hover { background: var(--accent-hi); box-shadow: 0 8px 25px rgba(215,167,101,.16); }
.btn-ghost { border-color: #76807c; }
.btn-small { font-size: .92rem; }
.site-nav > a.nav-cta { padding: 10px 17px; color: var(--on-accent); }
.hero-home { border-bottom: 1px solid rgba(215,167,101,.25); }
.hero-home .hero-bg { background: radial-gradient(600px 500px at 80% 45%, rgba(215,167,101,.13), transparent 70%); }
.hero-layout { --hero-h1: clamp(4.5rem, 7vw, 7.7rem); display: grid; grid-template-columns: minmax(0,1.1fr) minmax(390px,.9fr); align-items: center; gap: 3vw; min-height: 640px; padding-block: 60px 50px; position: relative; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { font-size: var(--hero-h1); max-width: 750px; }
.hero-serif, .serif-accent { display: inline-block; color: var(--accent-hi); font: 400 .6em/1.28 var(--font-serif); text-transform: none; letter-spacing: -.045em; }
.hero-copy .lede { max-width: 650px; }
.hero-copy .hero-actions { margin-top: 30px; }
.hero-proof { margin-top: 28px; font: 500 .7rem/1.5 var(--font-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--text-low); }
.proof-dot, .state-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 8px; box-shadow: 0 0 0 4px rgba(215,167,101,.12); }
.eyebrow-rule { display: inline-block; width: 34px; height: 1px; vertical-align: middle; background: var(--accent); margin-right: 12px; }
.eyebrow-sep { color: #6f7776; margin: 0 8px; }
/* Pin the dial's visible top to the cap line of the headline: eyebrow block (36px)
   + the h1's internal leading above the caps, less the dial's own empty margin. */
.hero-art { position: relative; min-width: 0; align-self: start; margin-top: calc(36px + .18 * var(--hero-h1) - 19px); }
.hero-dial { width: min(100%, 540px); aspect-ratio: 1; display: grid; place-items: center; margin: auto; position: relative; }
.hero-dial::before { content: ''; position: absolute; inset: 6%; border: 1px solid rgba(215,167,101,.24); border-radius: 50%; box-shadow: 0 0 0 28px rgba(215,167,101,.025), 0 0 90px rgba(0,0,0,.24); }
.hero-dial > svg { position: relative; width: 100%; height: 100%; overflow: hidden; filter: drop-shadow(0 26px 26px rgba(0,0,0,.5)) contrast(1.05) saturate(1.08); }
/* Watchworks lighting (2026-10-11): shadows and light applied from OUTSIDE the LogoLab export - the SVG and its
   settings JSON stay untouched. Shadows go on each gear's un-rotated translate wrapper (g:has(> [data-spin])), so
   they fall the same way while the gear turns; the key light comes from the upper left, matching the engine. */
.hero-dial svg g:has(> [data-spin="main"]) { filter: drop-shadow(6px 10px 5px rgba(0,0,0,.6)) drop-shadow(16px 26px 20px rgba(0,0,0,.4)); }
.hero-dial svg g:has(> [data-spin="upper"]), .hero-dial svg g:has(> [data-spin="lower"]) { filter: drop-shadow(5px 8px 4px rgba(0,0,0,.6)) drop-shadow(12px 20px 16px rgba(0,0,0,.38)); }
.hero-dial svg g:has(> [data-spin="escape"]), .hero-dial svg g:has(> [data-ticker]) { filter: drop-shadow(4px 7px 4px rgba(0,0,0,.55)); }
.hero-dial svg g:has(> [data-spin^="back-"]) { filter: drop-shadow(3px 6px 5px rgba(0,0,0,.55)) brightness(.82) saturate(.88); }
.hero-dial svg #technical { filter: drop-shadow(0 5px 9px rgba(0,0,0,.5)); }
.hero-dial::after { content: ''; position: absolute; inset: 2%; border-radius: 50%; pointer-events: none; z-index: 2;
  background:
    radial-gradient(55% 55% at 28% 22%, rgba(255,226,167,.14), transparent 65%),
    radial-gradient(60% 60% at 74% 82%, rgba(0,0,0,.34), transparent 68%); }
.hero-dial-axis { position: absolute; left: 48.6%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; z-index: 3; pointer-events: none;
  background: radial-gradient(circle at 35% 35%, #fff7e6, rgba(255,226,167,.7) 45%, rgba(255,226,167,0) 70%); box-shadow: 0 0 14px 4px rgba(255,226,167,.35); }
.hero-engine { width: min(100%, 580px); aspect-ratio: 600 / 560; margin: auto; position: relative; }
.hero-engine svg { display: block; width: 100%; height: 100%; }
.hero-engine noscript svg { width: 100%; height: auto; }
.hero-workshop { width: 100%; aspect-ratio: 1448 / 1086; position: relative; }
.hero-workshop svg { display: block; width: 100%; height: 100%; }
.hero-workshop.is-placing { cursor: crosshair; }
/* Workshop assembly text, drawn over the render in the render's own pixel space (1448 wide). */
.ws-text text { font: 500 15px var(--font-mono); letter-spacing: .1em; fill: #b9c2bd; }
.ws-text .ws-balloon { fill: rgba(17,22,27,.85); stroke: var(--accent); stroke-width: 2; }
.ws-text .ws-balloon-no { font: 600 20px var(--font-mono); fill: var(--accent-hi); letter-spacing: 0; }
.ws-text .ws-box { fill: none; stroke: rgba(215,167,101,.55); stroke-width: 1.5; }
.ws-text .ws-title { font: 700 26px var(--font-head); letter-spacing: .14em; fill: var(--text-hi); }
.ws-text .ws-sub { font: 500 15px var(--font-mono); letter-spacing: .18em; fill: var(--accent); }
.ws-text .ws-line { fill: #9aa5a0; font-size: 14px; }
.ws-text .ws-note { font: 500 24px var(--font-mono); letter-spacing: .12em; fill: #b9c2bd; }
.ws-text .ws-note-rule { stroke: var(--accent); stroke-width: 2; }
.ws-text .ws-titleblock rect { fill: rgba(17,22,27,.75); stroke: rgba(215,167,101,.5); stroke-width: 1.5; }
.ws-text .ws-titleblock path { fill: none; stroke: rgba(215,167,101,.5); stroke-width: 1.5; }
.ws-text .ws-titleblock text { font-size: 11px; letter-spacing: .04em; fill: #96a09f; }
.ws-text .ws-titleblock .ws-title-main { font-size: 17px; font-weight: 600; fill: var(--accent-hi); }
.ws-gauge .ws-gauge-face { fill: #ebe2cd; }
.ws-gauge .ws-gauge-bezel { fill: none; stroke: #2a2320; }
.ws-gauge .ws-gauge-ticks { fill: none; stroke: #2a2320; stroke-linecap: round; }
.ws-gauge .ws-gauge-needle { fill: #b2362f; }
.ws-gauge .ws-gauge-hub { fill: #2a2320; }
.ws-lamp { mix-blend-mode: screen; }
.ws-guides circle, .ws-guides ellipse, .ws-guides rect, .ws-guides path { fill: none; stroke: rgba(114,214,177,.7); stroke-width: 1.5; stroke-dasharray: 6 5; pointer-events: none; }
.ws-guides .ws-guide-group { stroke: rgba(215,167,101,.8); stroke-dasharray: 12 8; stroke-width: 2; }
.ws-guides .is-selected { stroke: #ffb900; stroke-width: 3; stroke-dasharray: none; }
@keyframes ws-ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(6); opacity: 0; } }
.ws-ping { fill: none; stroke: #ffb900; stroke-width: 3; pointer-events: none; transform-box: fill-box; transform-origin: center; animation: ws-ping 1.1s ease-out both; }
.hero-art-note { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(215,167,101,.28); padding-top: 10px; color: var(--text-low); font: 500 .65rem var(--font-mono); letter-spacing: .12em; }
.hero-rail { display: flex; justify-content: space-around; gap: 16px; padding: 14px 24px; border-top: 1px solid rgba(215,167,101,.2); color: #aeb7ae; font: 500 .66rem var(--font-mono); letter-spacing: .28em; }
.section { padding-block: 96px; }
.studio-intro, .philosophy-section { background: var(--paper); color: var(--paper-ink); }
.studio-intro h2, .philosophy-section h2, .philosophy-section h3 { color: var(--paper-ink); }
.studio-intro h2 span { color: #956b43; }
.eyebrow-dark { color: #966b41; }
.intro-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.intro-grid h2 { max-width: 950px; }
.intro-grid p:last-child { max-width: 760px; font-size: 1.12rem; margin-top: 30px; }
.work-section { background: #171d22; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 34px; }
.section-heading h2 { margin: 0; }
.section-heading > p { max-width: 355px; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.work-card { display: flex; flex-direction: column; min-height: 360px; border: 1px solid #485154; background: #222a2f; position: relative; overflow: hidden; }
.work-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--card-accent, var(--accent)); }
.work-card-top, .work-card-foot { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 17px 26px; font: 500 .66rem/1.5 var(--font-mono); letter-spacing: .1em; }
.work-card-top { color: #b5bdb9; border-bottom: 1px solid #3e494b; }
.work-card-foot { border-top: 1px solid #3e494b; margin-top: auto; color: #8e9897; }
.work-card-foot a { color: var(--accent-hi); font-weight: 600; font-size: .8rem; text-transform: uppercase; }
.work-card-body { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 34px 30px 42px; flex: 1; }
.work-card-body p { max-width: 540px; }
.work-card h3 { font-size: clamp(3rem, 5vw, 5.4rem); text-transform: uppercase; margin-bottom: 16px; }
.work-kicker { color: var(--card-accent, var(--accent)); font: 600 .67rem var(--font-mono); letter-spacing: .1em; margin-bottom: 8px; }
.work-cogworks { grid-column: 1 / -1; min-height: 405px; background: radial-gradient(600px 450px at 85% 60%, rgba(215,167,101,.1), transparent 65%), #222a2f; }
.work-cogworks .work-card-body { grid-template-columns: minmax(0,1fr) minmax(0,460px); gap: 40px; align-items: center; }
.work-fig { min-width: 0; width: 100%; }
.work-ravenbreath { --card-accent: #a96864; background: radial-gradient(400px 290px at 95% 90%, rgba(119,51,50,.18), transparent 65%), #22282d; }
.work-damageport { --card-accent: #8facaa; background: radial-gradient(400px 290px at 95% 90%, rgba(78,130,133,.16), transparent 65%), #222a2f; }
.work-state .state-dot { background: var(--card-accent, var(--accent)); box-shadow: none; width: 5px; height: 5px; }
.work-outro { display: flex; align-items: center; gap: 16px; margin-top: 26px; font-size: .92rem; }
.work-outro-line { flex: 1; height: 1px; background: #485154; }.work-outro a { white-space: nowrap; font-weight: 700; }
.philosophy-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.philosophy-lede { margin-top: 22px; max-width: 420px; color: var(--paper-ink); opacity: .78; }
.philosophy-list > div { display: grid; grid-template-columns: 50px 1fr; gap: 20px; border-top: 1px solid #bdbab1; padding: 21px 0; }
.philosophy-list > div > span { color: #936b43; font: 600 .8rem var(--font-mono); }
.philosophy-list h3 { text-transform: uppercase; margin-bottom: 5px; font-size: 1.8rem; }
.philosophy-list p { max-width: 550px; }
.closing-section { border-top: 1px solid #3c4547;
  /* Faded lamp off the top-right corner (behind FIG. 02, not part of it), plus the original low-left warmth. */
  background: radial-gradient(1100px 800px at 96% 18%, rgba(215,167,101,.13), rgba(169,104,100,.06) 45%, transparent 72%),
    radial-gradient(600px 400px at 5% 70%, rgba(215,167,101,.1), transparent 70%), #12181c; }
.closing-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.95fr); gap: 4vw; align-items: center; }
.closing-grid p { max-width: 420px; }.closing-grid .btn { margin-top: 25px; }
.closing-copy h2 { margin-bottom: 30px; }
.closing-copy h2 .serif-accent { color: var(--accent); margin-top: .12em; } /* brass, same as the "Start a conversation" button */
/* FIG. 02: drafting sheet in the brass palette. Lines are classes so the SVG stays plain. */
.closing-art { min-width: 0; width: min(100%, 600px); justify-self: end; }
.bp-sheet { display: block; width: 100%; height: auto; margin-bottom: 14px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bp-sheet text { fill: var(--accent-hi); stroke: none; font: 500 11px var(--font-mono); letter-spacing: .08em; }
.bp-paper { stroke: none; }
.bp-grid-minor { fill: none; stroke: rgba(215,167,101,.05); stroke-width: 1; }
.bp-grid-major { fill: none; stroke: rgba(215,167,101,.11); stroke-width: 1; }
.bp-frame { stroke: rgba(215,167,101,.4); stroke-width: 1.2; }
.bp-frame-inner, .bp-ticks { stroke: rgba(215,167,101,.18); stroke-width: 1; }
.bp-zone text { fill: #6f7776; font-size: 8px; }
.bp-construct { stroke: rgba(215,167,101,.16); stroke-width: 1; stroke-dasharray: 2 5; }
.bp-centre, .bp-centre-thin { stroke: rgba(169,188,183,.45); stroke-width: .9; stroke-dasharray: 22 4 3 4; }
.bp-centre-thin { stroke-dasharray: 8 3 2 3; }
.bp-line-heavy { stroke: var(--accent); stroke-width: 2; fill: rgba(215,167,101,.035); }
.bp-line { stroke: rgba(215,167,101,.75); stroke-width: 1.2; }
.bp-pitch { stroke: var(--accent-hi); stroke-width: 1; stroke-dasharray: 16 4 3 4; opacity: .8; }
.bp-hidden { stroke: rgba(215,167,101,.55); stroke-width: 1; stroke-dasharray: 5 4; }
.bp-project { stroke: rgba(169,188,183,.22); stroke-width: .8; stroke-dasharray: 3 4; }
.bp-section path { stroke: var(--accent); stroke-width: 2; }
.bp-hatch-line { stroke: rgba(215,167,101,.45); stroke-width: 1; }
.bp-dim { stroke: #a9bcb7; stroke-width: .9; }
.bp-dim .bp-ext { stroke: rgba(169,188,183,.45); }
.bp-arrowhead { fill: #a9bcb7; stroke: none; }
.bp-label text { font-size: 12px; }
.bp-sheet .bp-label-dim { fill: #96a09f; font-size: 10px; }
.bp-cut path { stroke: var(--accent); stroke-width: 2.4; }
.bp-cut text { font-size: 12px; font-weight: 600; }
.bp-title rect, .bp-title path { stroke: rgba(215,167,101,.45); stroke-width: 1; }
.bp-title rect { fill: rgba(17,22,27,.7); }
.bp-title text { fill: #96a09f; font-size: 8px; }
.bp-sheet .bp-title-main { fill: var(--accent-hi); font-size: 9px; font-weight: 600; }
.bp-bbox { fill: none; stroke: none; }
.bp-phantom { stroke: rgba(169,188,183,.4); stroke-width: .9; stroke-dasharray: 14 3 2 3 2 3; }
.bp-balloon circle { stroke: var(--accent); stroke-width: 1.2; fill: rgba(17,22,27,.85); }
/* The Artificer (About head, blueprint-mind.svg): the train of thought turns, the balance swings. CSS only. */
@keyframes bp-spin { to { transform: rotate(360deg); } }
@keyframes bp-swing { from { transform: rotate(-24deg); } to { transform: rotate(24deg); } }
.bp-mind .bp-spin { animation: bp-spin 60s linear infinite; }
.bp-mind .bp-spin-ccw { animation-direction: reverse; }
.bp-mind .bp-swing { animation: bp-swing 1.4s ease-in-out infinite alternate; }
@keyframes bp-lever { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
.bp-mind .bp-lever { animation: bp-lever 2.6s ease-in-out infinite alternate; }
.bp-mind .bp-raster { opacity: .92; }
.bp-mind .bp-mirror { font: italic 400 10px var(--font-serif); fill: rgba(169,188,183,.6); letter-spacing: .02em; }
@media (prefers-reduced-motion: reduce) { .bp-mind .bp-spin, .bp-mind .bp-swing, .bp-mind .bp-lever { animation: none; } }
.bp-balloon text { font-size: 11px; font-weight: 600; }
/* FIG. 02 planetary set: ring fixed, sun drives; carrier at 1/3 sun speed, planets -4/3 relative to the carrier, so the teeth stay meshed. */
.bp2-sun, .bp2-carrier { transform-box: view-box; transform-origin: 195px 200px; animation: bp-turn 40s linear infinite; }
.bp2-carrier { animation-duration: 120s; }
.bp2-planet { transform-box: fill-box; transform-origin: center; animation: bp-turn 30s linear infinite reverse; }
.bp-gear { transform-box: view-box; transform-origin: 230px 240px; animation: bp-turn 120s linear infinite; }
.bp-pitch { animation: bp-march 6s linear infinite; }
/* DRG 003, the Cogworks train (page heads): one sun drives four surface gears, each at its own tooth ratio. */
.bp3-sun { transform-box: view-box; transform-origin: 205px 198px; animation: bp-turn 40s linear infinite; }
.bp3-g { transform-box: fill-box; transform-origin: center; animation: bp-turn 40s linear infinite reverse; }
.page-head-split .wrap { display: grid; grid-template-columns: minmax(0, 1fr) min(40%, 440px); gap: 56px; align-items: start; }
/* The art's top lines up with the top of the H1 (the white text), not the eyebrow: pad it by the eyebrow's
   own height (font-size x line-height) plus its margin. Same on every split head. */
.page-head-split .page-head-art { min-width: 0; padding-top: calc(.72rem * 1.4 + 20px); }
.page-head-split .page-head-art .bp-sheet, .page-head-split .page-head-art .hero-dial { margin-bottom: 10px; }
/* The dial's drawing starts ~10% down its square box (the outer dashed ring is at r=238 in a 600 viewBox);
   pull it up by that so the visible ring, not the box, meets the H1 top. */
.page-head-split .page-head-art .hero-dial { margin-top: -10%; }
/* Raster plate in a page head (contact: FIG. 07, the atelier): framed like a drawing sheet, toned to the brass palette. */
.page-head-photo { display: block; position: relative; margin-bottom: 10px; border: 1px solid rgba(215,167,101,.34); outline: 1px solid rgba(215,167,101,.12); outline-offset: 5px; background: var(--ink-0); box-shadow: 0 24px 50px rgba(0,0,0,.45); }
.page-head-photo img { display: block; width: 100%; height: auto; filter: saturate(.92) contrast(1.04); }
.page-head-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(17,22,27,.6), inset 0 0 60px rgba(17,22,27,.35); }
@keyframes bp-turn { to { transform: rotate(360deg); } }
@keyframes bp-march { to { stroke-dashoffset: -54; } }
@media (prefers-reduced-motion: reduce) { .bp-gear, .bp-pitch, .bp2-sun, .bp2-carrier, .bp2-planet, .bp3-sun, .bp3-g { animation: none; } }
.page-head { padding: 100px 0 54px; border-bottom: 1px solid rgba(215,167,101,.28); }
.page-head .lede { max-width: 860px; }.page-head h1 { max-width: 1100px; }
.page-head + .section { padding-top: 70px; }
.portfolio-section { border-bottom: 1px solid #3d484a; }
.portfolio-raven { background: #1b2025; }.portfolio-damage { background: #20282b; }
.portfolio-entry { display: grid; grid-template-columns: 200px 1fr; gap: 50px; }
.portfolio-index { display: flex; flex-direction: column; gap: 8px; color: var(--accent); font: 600 .7rem var(--font-mono); letter-spacing: .09em; }
.portfolio-index span:first-child { font: 700 7rem/.8 var(--font-head); color: #555b55; }
.portfolio-copy { max-width: 850px; }.portfolio-copy h2 { margin-bottom: 25px; }.portfolio-copy > p:not(.eyebrow) { max-width: 700px; font-size: 1.08rem; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0; }.portfolio-tags span { border: 1px solid #5b6463; color: #c5c8c1; padding: 5px 10px; font: 500 .7rem var(--font-mono); }
.portfolio-copy .hero-actions { margin-top: 24px; }
.card, .layer, .rung, .person, .form-card, .solution-quote, .table-scroll { border-radius: 3px; }
.card-link:hover { border-color: var(--accent); }
.card-num { border-radius: 2px; }
.tier-featured { box-shadow: 0 12px 40px rgba(215,167,101,.1); }
.tier-flag { border-radius: 2px; }
.checks li::before { border-radius: 2px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%23d7a765' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.section-alt { background: #1b2226; }
.site-footer { background: #0e1317; border-top-color: rgba(215,167,101,.35); }
.footer-grid { padding-top: 70px; }.footer-col h4 { font: 600 .72rem var(--font-mono); color: var(--accent); }
.footer-col a { padding: 6px 0; }.footer-tagline { max-width: 330px; }
@media (max-width: 1060px) {
  .header-row { min-height: 80px; }.brand-art { width: 220px; }
  .nav-toggle { display: grid; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-hi); transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #171d22; border-bottom: 1px solid var(--accent); padding: 15px 30px 25px; }
  .site-nav.open { display: flex; }.site-nav > a { padding: 13px 0; width: 100%; }.site-nav > a.nav-cta { text-align: center; margin: 10px 0 0; }
  .hero-layout { --hero-h1: clamp(4rem, 7vw, 6rem); grid-template-columns: 1fr .75fr; min-height: 560px; }
}
@media (max-width: 760px) {
  .hero-layout { display: flex; flex-direction: column; align-items: stretch; gap: 25px; padding-block: 65px 35px; }.hero-copy h1 { font-size: clamp(3.7rem, 11vw, 6rem); }.hero-art { width: min(100%,420px); margin: auto; }.closing-art { justify-self: center; }.hero-rail { letter-spacing: .08em; }
  .intro-grid, .philosophy-grid, .closing-grid, .portfolio-entry { grid-template-columns: 1fr; gap: 25px; }
  .page-head-split .wrap { grid-template-columns: 1fr; gap: 28px; }.page-head-split .page-head-art { width: min(100%, 460px); }
  .section-heading { display: block; }.section-heading > p { margin-top: 20px; }
  .work-grid { grid-template-columns: 1fr; }.work-cogworks { grid-column: auto; }.work-cogworks .work-card-body { grid-template-columns: 1fr; }.work-fig { width: min(100%, 460px); justify-self: center; }
  .work-outro { flex-wrap: wrap; }.work-outro-line { display: none; }
  .portfolio-index span:first-child { font-size: 5rem; }.portfolio-index { flex-direction: row; align-items: end; gap: 15px; }
}
@media (max-width: 640px) {
  .section { padding-block: 65px; }.page-head { padding-block: 65px 35px; }.hero-copy h1 { font-size: clamp(3.45rem, 13vw, 5rem); }
  .hero-serif { font-size: .56em; }.hero-rail { font-size: .52rem; }.work-card-top, .work-card-foot { padding-inline: 16px; }.work-card-body { padding: 27px 18px; }
  .work-card-foot { align-items: flex-start; flex-direction: column; }.closing-grid { gap: 20px; }.footer-grid { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
/* Partner trademark superscript: small and tucked to the cap line so it never moves the baseline. */
.tm { font-size: .32em; line-height: 0; vertical-align: super; margin-left: .08em; letter-spacing: 0; font-weight: 500; }
.eyebrow .tm { font-size: .7em; }
