/* Gemini Strategic Consultants: house style, v2 ("Same Side").
   Paper, ink and oxblood around the illustrated lockup. Self-hosted type,
   no scripts. Motion is CSS only: every animation runs from a starting state
   to the finished page, so with motion off (or unsupported) the page is
   already complete. */

@font-face { font-family: "Archivo Black"; src: url("../assets/fonts/ArchivoBlack-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../assets/fonts/Archivo-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../assets/fonts/Archivo-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../assets/fonts/EBGaramond.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../assets/fonts/EBGaramond-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --paper: #FAF7F2;
  --paper-2: #F2ECE3;
  --tan: #E6D9C8;
  --ink: #121212;
  --ink-soft: #3A3733;
  --stone: #6B655C;
  --rule: #DED6CA;
  --oxblood: #7B1E2B;
  --oxblood-d: #5E1520;
  --night: #14130F;
  --night-2: #1E1C18;
  --night-ink: #F2EDE6;
  --night-soft: #D6CFC5;
  --night-stone: #A39B90;
  --night-rule: #35312B;
  --rose: #D98A96;
  --display: "Archivo Black", "Arial Black", Helvetica, sans-serif;
  --sans: "Archivo", Helvetica, Arial, sans-serif;
  --serif: "EB Garamond", Garamond, Georgia, serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --gut: clamp(16px, 5vw, 64px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 19px/1.6 var(--serif);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p, h1, h2, h3, h4, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--oxblood); outline-offset: 3px; }
.band-dark :focus-visible, .band-ox :focus-visible, .site-foot :focus-visible { outline-color: var(--night-ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; font: 600 15px var(--sans); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
section { padding: clamp(64px, 8vw, 112px) 0; }

/* ---------- type ---------- */
.eyebrow { font: 400 14px/1.4 var(--serif); letter-spacing: 0.26em; text-transform: uppercase; color: var(--stone); }
.idx { display: flex; align-items: center; gap: 14px; font: 600 12px/1.2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 22px; }
.idx::after { content: ""; flex: 0 0 56px; height: 2px; background: var(--oxblood); }
.band-dark .idx { color: var(--night-stone); }
.band-dark .idx::after { background: var(--rose); }
.band-ox .idx { color: rgba(250, 247, 242, 0.78); }
.band-ox .idx::after { background: var(--paper); }
.h-xl, .h-lg, .h-md, h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; }
.h-xl { font-size: clamp(3.05rem, 7.6vw, 7.4rem); line-height: 0.93; letter-spacing: -0.03em; }
.h-lg { font-size: clamp(2.2rem, 4.3vw, 3.9rem); line-height: 0.98; }
.h-md { font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.06; }
.principle { font: italic 400 clamp(1.45rem, 2.3vw, 1.95rem)/1.25 var(--serif); color: var(--oxblood); }
.lede { font-size: clamp(1.13rem, 1.5vw, 1.32rem); line-height: 1.55; color: var(--ink-soft); max-width: 31em; }
.soft { color: var(--ink-soft); }
.ul { text-decoration: none; background: linear-gradient(var(--oxblood), var(--oxblood)) 0 96% / 100% 0.085em no-repeat; padding-bottom: 0.02em; }
.band-ox .ul { background-image: linear-gradient(var(--paper), var(--paper)); }

.head-row { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px 72px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.head-row > p { font-size: 1.12rem; color: var(--ink-soft); max-width: 26em; padding-bottom: 8px; }
.band-dark .head-row > p { color: var(--night-soft); }
.band-ox .head-row > p { color: rgba(250, 247, 242, 0.86); }

/* ---------- buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px;
  padding: 16px 26px; background: var(--oxblood); color: var(--paper);
  font: 600 16.5px/1 var(--sans); letter-spacing: 0.01em; text-decoration: none;
  border: 0; cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), color 0.25s;
}
.btn:hover { background: var(--oxblood-d); transform: translateY(-2px); }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.band-dark .btn-ghost { color: var(--night-ink); box-shadow: inset 0 0 0 2px var(--night-ink); }
.band-dark .btn-ghost:hover { background: var(--night-ink); color: var(--night); }
.btn-paper { background: var(--paper); color: var(--oxblood); }
.btn-paper:hover { background: var(--night-ink); color: var(--oxblood-d); }
.btn-sm { min-height: 44px; padding: 12px 18px; font-size: 14.5px; }
.tlink { font: 600 16px/1 var(--sans); text-decoration: none; border-bottom: 2px solid var(--oxblood); padding-bottom: 6px; display: inline-block; }
.tlink:hover { color: var(--oxblood); }
.more { margin-top: clamp(32px, 4vw, 48px); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(250, 247, 242, 0.94); border-bottom: 1px solid var(--rule); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { flex: 0 0 auto; display: block; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font: 400 15.5px/1 var(--sans); text-decoration: none; color: var(--ink-soft); padding: 8px 0; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; white-space: nowrap; }
.nav a:hover { color: var(--ink); border-color: var(--rule); }
.nav a[aria-current="page"] { color: var(--ink); border-color: var(--oxblood); }

/* ---------- home hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 40px clamp(32px, 5vw, 72px); align-items: end; }
.hero-copy { padding-bottom: clamp(40px, 6vw, 88px); }
.hero .eyebrow { margin-bottom: 26px; }
.hero h1 { margin-bottom: 30px; font-size: clamp(2.8rem, 6vw, 5.6rem); }
.hero h1 .nw { white-space: nowrap; }
.hero h1 .w { display: inline-block; }
.hero .principle { margin-bottom: 20px; }
.hero .lede { margin-bottom: 34px; }
.block-fig { position: relative; margin-right: calc(-1 * var(--gut)); }
.block { width: 100%; height: auto; color: var(--ink); overflow: visible; }
.block .ln { fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linejoin: round; stroke-linecap: round; }
.block .thin { stroke-width: 0.7; }
.block .stone { fill: var(--paper); stroke-width: 0.9; }
.block .ground { stroke-width: 2.6; }
.block .tone { fill: var(--paper-2); }
.block .h2 .tone { fill: var(--tan); }
.block .h3 .tone { fill: #EDE4D8; }
.block #bk path { stroke-opacity: 0.42; }
.block .cornice { fill: var(--ink); }
.block .door { fill: var(--oxblood); }
.roles3 { display: grid; grid-template-columns: repeat(3, 1fr); padding: 16px 0 26px; margin-right: 0; }
.roles3 li { text-align: center; font: 400 12.5px/1.3 var(--serif); letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); padding: 0 6px; }
.roles3 li b { display: block; font: 600 11px/1 var(--sans); letter-spacing: 0.2em; color: var(--oxblood); margin-bottom: 6px; }

/* ---------- oxblood lockup band ---------- */
.band-ox { background-color: var(--oxblood); color: var(--paper); position: relative; overflow: hidden; }
.texture {
  background-image:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.075) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.055) 0 1px, transparent 1px 72px);
}
.brandband .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px clamp(40px, 6vw, 96px); align-items: center; }
.lockup-anim { position: relative; width: 100%; aspect-ratio: 2316.1 / 978.1; }
.lockup-anim > img, .lockup-anim > picture, .lockup-anim > picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.brandband h2 { margin-bottom: 20px; }
.brandband .roles { margin: 32px 0 26px; border-top: 1px solid rgba(250, 247, 242, 0.28); }
.brandband .roles li { display: grid; grid-template-columns: 52px 1fr; align-items: baseline; padding: 15px 0; border-bottom: 1px solid rgba(250, 247, 242, 0.28); font-size: 1.2rem; }
.brandband .roles b { font: italic 400 1.2rem var(--serif); color: rgba(250, 247, 242, 0.7); }
.brandband .aside { font-style: italic; color: rgba(250, 247, 242, 0.86); }

/* ---------- dark work band ---------- */
.band-dark { background: var(--night); color: var(--night-ink); position: relative; overflow: hidden; }
.band-dark.glow { background-image: radial-gradient(56% 42% at 78% 22%, rgba(123, 30, 43, 0.34), transparent 72%), radial-gradient(40% 30% at 8% 88%, rgba(123, 30, 43, 0.16), transparent 70%); }
.plate { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 88px); align-items: center; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--night-rule); }
.plate.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.plate.flip .stage { order: 2; }
.plate-no { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 600 12px/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--night-stone); margin-bottom: 16px; }
.plate-no b { color: var(--rose); font-weight: 600; }
.plate h3 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.04; margin-bottom: 18px; }
.plate p { color: var(--night-soft); }
.plate p + p { margin-top: 14px; }
.plate h4 { font: 600 12px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--night-stone); margin: 24px 0 8px; }
.status { margin-top: 22px; padding: 4px 0 4px 18px; border-left: 2px solid var(--rose); font-style: italic; color: var(--night-ink); }
.status strong { font-style: normal; font-family: var(--sans); font-weight: 600; font-size: 0.82em; letter-spacing: 0.02em; }
.band-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; border-top: 1px solid var(--night-rule); }
.band-foot p { font: italic 400 1.35rem var(--serif); color: var(--night-soft); }

/* device frames, built in CSS; no address bars, no product chrome */
.stage { position: relative; }
.stage-laptop { padding: 7% 7% 12% 0; }
.laptop { position: relative; background: #0B0A09; border-radius: 16px 16px 4px 4px; padding: 2.4% 2.4% 3%; box-shadow: 0 0 0 1px #2E2A25, 0 50px 90px -30px rgba(0, 0, 0, 0.85), 0 22px 40px -24px rgba(123, 30, 43, 0.5); }
.laptop::after { content: ""; position: absolute; left: -7%; right: -7%; bottom: -16px; height: 16px; background: linear-gradient(#34302B, #16140F 70%); border-radius: 2px 2px 14px 14px; box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.8); }
.laptop::before { content: ""; position: absolute; left: 50%; top: 0.9%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #2E2A25; }
.screen { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; border-radius: 3px; background: #0A0A12; }
.phone { position: absolute; right: 0; bottom: 0; width: 27%; background: #0A0908; border-radius: 30px; padding: 3.2%; box-shadow: 0 0 0 1px #3A352F, 0 40px 70px -20px rgba(0, 0, 0, 0.9); }
.phone::before { content: ""; position: absolute; top: 4.2%; left: 50%; width: 26%; height: 3.4%; margin-left: -13%; border-radius: 20px; background: #0A0908; z-index: 2; }
.phone .screen { aspect-ratio: 9 / 19; border-radius: 22px; }
.seal { position: absolute; z-index: 3; top: 0; right: 18%; width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--oxblood); display: grid; place-items: center; transform: rotate(-9deg); box-shadow: 0 0 0 7px var(--night), 0 0 0 8px rgba(217, 138, 150, 0.45), 0 24px 40px -12px rgba(0, 0, 0, 0.8); }
.seal::after { content: ""; position: absolute; inset: 6%; border-radius: 50%; border: 1px solid rgba(250, 247, 242, 0.55); }
.seal img { width: 54%; }
.stage-pair { padding: 0 0 16% 0; }
.browser { position: relative; background: var(--paper-2); border-radius: 10px; padding-top: 28px; overflow: hidden; box-shadow: 0 0 0 1px rgba(250, 247, 242, 0.08), 0 44px 80px -28px rgba(0, 0, 0, 0.9); }
.browser::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 28px; background: radial-gradient(circle at 16px 14px, #C9BFB1 4.5px, transparent 5px), radial-gradient(circle at 32px 14px, #C9BFB1 4.5px, transparent 5px), radial-gradient(circle at 48px 14px, #C9BFB1 4.5px, transparent 5px), #E9E1D5; border-bottom: 1px solid var(--rule); }
.browser .screen { aspect-ratio: 16 / 10; border-radius: 0; background: #fff; }
.stage-pair .back { width: 84%; }
.stage-pair .back .screen { aspect-ratio: 16 / 9; }
.stage-pair .front { position: absolute; right: 0; bottom: 0; width: 58%; }
.stage-pair .front .screen { aspect-ratio: 5 / 4; }
@media (hover: hover) {
  .shot { filter: grayscale(1) contrast(1.05) brightness(0.9); transition: filter 1.2s var(--ease); }
  .plate:hover .shot, .plate:focus-within .shot { filter: none; }
}

/* type-only plates: work shown as words and one figure */
.tplates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--night-rule); }
.tplate { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 380px; padding: clamp(28px, 3.4vw, 44px); background: var(--night-2); border: 1px solid var(--night-rule); text-decoration: none; transition: border-color 0.4s, transform 0.4s var(--ease); }
a.tplate:hover { border-color: var(--rose); transform: translateY(-4px); }
.fig { font: 400 clamp(4rem, 9vw, 8.4rem)/0.9 var(--display); letter-spacing: -0.04em; color: var(--night-ink); }
.fig.outline { color: transparent; -webkit-text-stroke: 2px var(--rose); }
.fig small { display: block; font: 600 12px/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--night-stone); margin-top: 16px; -webkit-text-stroke: 0; }
.tplate h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.08; margin-bottom: 10px; }
.tplate p { color: var(--night-soft); }
.tplate .go { font: 600 15px var(--sans); color: var(--rose); margin-top: 14px; display: inline-block; }

/* ---------- lots ---------- */
.lots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lot { padding: clamp(28px, 3.4vw, 44px); min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.lot:nth-child(1) { background: var(--ink); color: var(--night-ink); }
.lot:nth-child(2) { background: var(--tan); }
.lot:nth-child(3) { background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--rule); }
.numo { font: 400 clamp(4rem, 7vw, 6.6rem)/0.9 var(--display); letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.6px var(--oxblood); }
.lot:nth-child(1) .numo { -webkit-text-stroke-color: var(--rose); }
.lot h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 12px; }
.lot p { color: inherit; opacity: 0.88; }

/* ---------- ruled cells (terms) ---------- */
.cells { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 2px solid var(--ink); }
.cells li { padding: 28px 24px 32px; border-right: 1px solid var(--ink); display: flex; flex-direction: column; gap: 14px; }
.cells li:last-child { border-right: 0; }
.cells .n { font: 400 2.4rem/1 var(--display); color: var(--oxblood); letter-spacing: -0.03em; margin-bottom: 12px; }
.cells strong { font: 400 1.25rem/1.1 var(--display); letter-spacing: -0.01em; }
.cells span { font-size: 1rem; color: var(--ink-soft); line-height: 1.5; }

/* ---------- photo slot (for a real photograph only) ---------- */
.photo-slot { position: relative; aspect-ratio: 21 / 8; background-color: var(--night); background-image: radial-gradient(rgba(242, 237, 230, 0.07) 1px, transparent 1.2px); background-size: 14px 14px; overflow: hidden; }
.photo-slot .wm { position: absolute; right: 4%; top: -6%; height: 118%; width: auto; opacity: 0.16; }
.photo-slot .wm img { height: 100%; width: auto; }
.photo-slot .corner { position: absolute; inset: 18px; }
.photo-slot .corner::before, .photo-slot .corner::after { content: ""; position: absolute; width: 26px; height: 26px; border: 2px solid rgba(242, 237, 230, 0.7); }
.photo-slot .corner::before { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.photo-slot .corner::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.photo-slot figcaption { position: absolute; left: clamp(24px, 4vw, 48px); bottom: clamp(24px, 4vw, 44px); color: var(--night-ink); }
.photo-slot figcaption span { display: block; font: 600 11.5px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--night-stone); margin-bottom: 12px; }
.photo-slot figcaption b { font: 400 clamp(1.5rem, 3vw, 2.6rem)/1.05 var(--display); letter-spacing: -0.02em; font-weight: 400; }

/* ---------- sector row ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); margin-top: clamp(40px, 5vw, 64px); }
.sectors li { padding: 26px 28px 30px 0; border-bottom: 1px solid var(--rule); }
.sectors li:nth-child(3n+2), .sectors li:nth-child(3n) { padding-left: 28px; border-left: 1px solid var(--rule); }
.sectors .n { font: 600 12px/1 var(--sans); letter-spacing: 0.2em; color: var(--oxblood); }
.sectors h3 { font-size: 1.3rem; line-height: 1.1; margin: 12px 0 8px; }
.sectors p { font-size: 1rem; color: var(--ink-soft); }

/* ---------- close ---------- */
.close .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.close h2 { margin: 6px 0 24px; }
.close p { color: rgba(250, 247, 242, 0.88); max-width: 30em; margin-bottom: 34px; font-size: 1.15rem; }
.close .eyebrow { color: rgba(250, 247, 242, 0.75); }
.close-emblem { justify-self: center; width: min(380px, 100%); }

/* ---------- inner page hero ---------- */
.phero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--rule); }
.phero .wrap { position: relative; }
.phero h1 { font-size: clamp(2.9rem, 7vw, 6.6rem); line-height: 0.94; letter-spacing: -0.03em; max-width: 11.5em; margin-bottom: 30px; }
.phero .lede { max-width: 33em; }
.phero .wm { position: absolute; right: calc(-1 * var(--gut)); top: 50%; width: min(30vw, 400px); transform: translateY(-50%); opacity: 0.07; pointer-events: none; z-index: -1; }
.phero .wrap { z-index: 0; }
.phero.short h1 { font-size: clamp(2.6rem, 5.6vw, 5rem); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.jump a { font: 600 13px/1 var(--sans); letter-spacing: 0.06em; text-decoration: none; padding: 12px 16px; border: 1.5px solid var(--ink); transition: background 0.2s, color 0.2s; }
.jump a:hover { background: var(--ink); color: var(--paper); }
.band-dark .jump a { border-color: var(--night-soft); }
.band-dark .jump a:hover { background: var(--night-ink); color: var(--night); }

/* ---------- case rows (work, sectors) ---------- */
.cases > article { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 32px clamp(40px, 6vw, 96px); padding: clamp(44px, 5vw, 72px) 0; border-top: 1px solid var(--rule); scroll-margin-top: 100px; }
.cases > article:first-child { border-top: 2px solid var(--ink); }
.case-meta { align-self: start; position: sticky; top: 112px; }
.case-meta .numo { font-size: clamp(3rem, 5vw, 4.6rem); margin-bottom: 18px; }
.kicker { font: 600 12px/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); margin-bottom: 12px; }
.case-meta h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.04; }
.case-body > div { padding: 0 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--rule); }
.case-body > div:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.case-body h3 { font: 600 12px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); margin-bottom: 10px; }
.case-body p { color: var(--ink-soft); }
.case-body .status-box { background: var(--paper-2); border-left: 3px solid var(--oxblood); padding: 22px 24px; border-bottom: 0; }
.case-body .status-box p { color: var(--ink); }
.note { font-style: italic; color: var(--stone); margin-bottom: 32px; max-width: 40em; }
.note a { color: var(--oxblood); }

/* ---------- numbered lists ---------- */
.nlist { border-top: 2px solid var(--ink); }
.nlist li { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px 40px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.nlist .numo { font-size: 2.9rem; -webkit-text-stroke-width: 1.3px; }
.nlist strong { font: 400 1.35rem/1.15 var(--display); letter-spacing: -0.01em; }
.nlist li > p { color: var(--ink-soft); }
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.timeline li { position: relative; padding: 64px 24px 0 0; }
.timeline li::before { counter-increment: s; content: "0" counter(s); position: absolute; top: 0; left: 0; font: 400 1.9rem/1 var(--display); color: var(--rose); letter-spacing: -0.02em; }
.timeline li::after { content: ""; position: absolute; top: 44px; left: 0; right: 0; height: 1px; background: var(--night-rule); }
.timeline li:first-child::after { background: linear-gradient(90deg, var(--rose) 0 36px, var(--night-rule) 36px); }
.timeline strong { display: block; font: 400 1.2rem/1.15 var(--display); margin-bottom: 10px; }
.timeline p { color: var(--night-soft); font-size: 1.02rem; }
.seq { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.seq li { padding: 24px 24px 30px 0; border-bottom: 1px solid var(--rule); }
.seq li:nth-child(4n+2), .seq li:nth-child(4n+3), .seq li:nth-child(4n) { padding-left: 24px; border-left: 1px solid var(--rule); }
.seq b { display: block; font: 600 12px/1 var(--sans); letter-spacing: 0.2em; color: var(--oxblood); margin-bottom: 12px; }
.seq strong { display: block; font: 400 1.3rem/1.1 var(--display); margin-bottom: 8px; }
.seq p { color: var(--ink-soft); font-size: 1.02rem; }
.pull { font: 400 clamp(2rem, 4.4vw, 3.9rem)/1.02 var(--display); letter-spacing: -0.025em; max-width: 15em; margin-bottom: 20px; }
.pull em { font: italic 400 1em var(--serif); color: var(--oxblood); letter-spacing: 0; }
.nots3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nots3 li { padding: 32px 28px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); border-top: 3px solid var(--oxblood); }
.nots3 strong { display: block; font: 400 1.35rem/1.1 var(--display); margin-bottom: 12px; }
.nots3 span { color: var(--ink-soft); }
.band-paper2 { background: var(--paper-2); }

/* about */
.roman { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.roman li { padding: 36px 30px 40px; border: 1px solid var(--night-rule); background: var(--night-2); }
.roman i { display: block; font: italic 400 4.2rem/1 var(--serif); color: var(--rose); margin-bottom: 26px; }
.roman strong { display: block; font: 400 1.4rem/1.1 var(--display); margin-bottom: 12px; }
.roman span { color: var(--night-soft); }
.grid6 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.grid6 li { padding: 26px 28px 30px 0; border-bottom: 1px solid var(--rule); }
.grid6 li:nth-child(3n+2), .grid6 li:nth-child(3n) { padding-left: 28px; border-left: 1px solid var(--rule); }
.grid6 strong { display: block; font: 400 1.25rem/1.12 var(--display); margin-bottom: 10px; }
.grid6 span { color: var(--ink-soft); font-size: 1.02rem; }
.cols2 { columns: 2 22em; column-gap: 56px; max-width: 64rem; }
.cols2 p { margin-bottom: 18px; break-inside: avoid; color: var(--ink-soft); font-size: 1.12rem; }

/* ---------- form ---------- */
.start-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px clamp(40px, 6vw, 96px); align-items: start; }
.form-card { background: var(--paper); padding: clamp(24px, 4vw, 48px); box-shadow: inset 0 0 0 1px var(--rule), 0 30px 60px -40px rgba(18, 18, 18, 0.35); border-top: 4px solid var(--oxblood); }
.form-grid { display: grid; gap: 22px; }
.form-grid .two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
label { display: block; font: 600 12px/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 9px; color: var(--ink-soft); }
input, select, textarea { width: 100%; font: 400 18px/1.4 var(--serif); color: var(--ink); background: #FFFDF9; border: 1.5px solid #CFC5B7; border-radius: 0; padding: 13px 14px; transition: border-color 0.2s, box-shadow 0.2s; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
textarea { min-height: 10rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--oxblood); box-shadow: 0 0 0 3px rgba(123, 30, 43, 0.14); outline: none; }
.form-note { font-size: 0.98rem; color: var(--stone); }
.form-note a { color: var(--oxblood); }
.steps3 { border-top: 2px solid var(--ink); margin-top: 18px; }
.steps3 li { padding: 22px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 56px 1fr; }
.steps3 .numo { font-size: 2rem; -webkit-text-stroke-width: 1.1px; }
.steps3 strong { display: block; font: 400 1.15rem/1.15 var(--display); margin-bottom: 6px; }
.steps3 p { color: var(--ink-soft); font-size: 1.02rem; }

/* ---------- plain pages ---------- */
.prose { max-width: 42rem; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; margin: 48px 0 14px; }
.prose p { color: var(--ink-soft); margin-bottom: 16px; }
.prose ul { margin: 0 0 16px; }
.prose li { padding-left: 22px; position: relative; color: var(--ink-soft); margin-bottom: 6px; }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; background: var(--oxblood); }
.disclaimer { font-size: 0.95rem; font-style: italic; color: var(--stone); margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); }

/* ---------- footer ---------- */
.site-foot { background: var(--night); color: var(--night-soft); padding: 64px 0 40px; }
.foot-grid { display: grid; grid-template-columns: auto 1fr; gap: 32px 64px; align-items: start; }
.foot-brand img { height: 64px; width: auto; }
.foot-place { font: 400 13px/1.4 var(--serif); letter-spacing: 0.24em; text-transform: uppercase; color: var(--night-stone); margin-top: 16px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 28px; padding-top: 8px; }
.foot-links a { font: 400 15px/1.2 var(--sans); text-decoration: none; color: var(--night-soft); }
.foot-links a:hover { color: var(--night-ink); }
.foot-note { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--night-rule); font-style: italic; color: var(--night-stone); font-size: 1rem; }

/* ---------- motion (CSS only) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(0.4em); filter: blur(12px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes riseSm { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes underline { from { background-size: 0 0.085em; } to { background-size: 100% 0.085em; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes open { from { clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0 0 0 0); } }
@keyframes openEmblem { from { clip-path: inset(0 35.53% 0 64.47%); } to { clip-path: inset(0 0 0 0); } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); opacity: 0.2; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes wm { from { opacity: 0; transform: translateY(-46%) scale(0.96); } to { opacity: 0.07; transform: translateY(-50%); } }

@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow { animation: fade 0.8s var(--ease) 0.05s both; }
  .hero h1 .w { animation: rise 1s var(--ease) both; }
  .hero h1 .w1 { animation-delay: 0.1s; }
  .hero h1 .w2 { animation-delay: 0.19s; }
  .hero h1 .w3 { animation-delay: 0.28s; }
  .hero h1 .w4 { animation-delay: 0.37s; }
  .hero h1 .w5 { animation-delay: 0.46s; }
  .hero h1 .ul { animation: underline 0.9s var(--ease) 1.05s both; }
  .hero .principle { animation: riseSm 0.9s var(--ease) 0.75s both; }
  .hero .lede { animation: riseSm 0.9s var(--ease) 0.9s both; }
  .hero .btn-row { animation: riseSm 0.9s var(--ease) 1.05s both; }
  .block .ln { stroke-dasharray: 1 1; animation: draw 1.7s var(--ease) both; }
  .block .h1 .ln { animation-delay: 0.25s; }
  .block .h2 .ln { animation-delay: 0.45s; }
  .block .h3 .ln { animation-delay: 0.65s; }
  .block > .ln { animation-delay: 0.1s; animation-duration: 1.2s; animation-timing-function: linear; }
  .block .tone, .block .brick, .block .glass, .block .cornice { animation: fade 1.1s var(--ease) 1.25s both; }
  .block .door { animation: fade 0.5s var(--ease) both; }
  .block .d1 { animation-delay: 2.1s; }
  .block .d2 { animation-delay: 2.4s; }
  .block .d3 { animation-delay: 2.7s; }
  .roles3 { animation: fade 0.8s var(--ease) 2.9s both; }
  .phero .idx, .phero .eyebrow { animation: fade 0.8s var(--ease) both; }
  .phero h1 { animation: rise 1s var(--ease) 0.1s both; }
  .phero h1 .ul { animation: underline 0.9s var(--ease) 0.9s both; }
  .phero .lede, .phero .jump { animation: riseSm 0.9s var(--ease) 0.45s both; }
  .phero .wm { animation: wm 1.6s var(--ease) 0.2s both; }
  .btn, .jump a, .tplate { will-change: auto; }
}

/* scroll-linked reveals where the browser supports them; elsewhere the
   finished page simply shows */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv { animation: riseSm linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .lk-l { animation: rise linear both; animation-timeline: view(); }
    .lk-g { animation-range: entry 10% cover 30%; }
    .lk-e { animation-range: entry 16% cover 33%; }
    .lk-m { animation-range: entry 22% cover 36%; }
    .lk-n { animation-range: entry 34% cover 42%; }
    .lk-i { animation-range: entry 40% cover 45%; }
    .lk-emb { animation: openEmblem linear both; animation-timeline: view(); animation-range: entry 25% cover 44%; }
    .lk-s { animation: wipe linear both; animation-timeline: view(); }
    .lk-s1 { animation-range: entry 40% cover 46%; }
    .lk-s2 { animation-range: entry 48% cover 50%; }
    .close-emblem { animation: open linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
    .stage { animation: riseSm linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .shot { filter: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cells { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cells li { border-bottom: 1px solid var(--ink); }
  .cells li:nth-child(3) { border-right: 0; }
  .cells li:nth-child(n+4) { border-bottom: 0; }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .seq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seq li:nth-child(n) { padding-left: 0; border-left: 0; }
  .seq li:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--rule); }
}
@media (max-width: 900px) {
  body { font-size: 18px; }
  .site-head .wrap { flex-wrap: wrap; min-height: 0; padding-top: 12px; gap: 12px 16px; }
  .brand img { height: 42px; }
  .head-cta { margin-left: auto; }
  .nav { order: 3; width: calc(100% + 2 * var(--gut)); margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); gap: 24px; overflow-x: auto; border-top: 1px solid var(--rule); scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 13px 0 11px; font-size: 15px; }
  .hero-grid, .brandband .wrap, .head-row, .plate, .plate.flip, .close .wrap, .start-grid, .cases > article { grid-template-columns: minmax(0, 1fr); }
  .plate.flip .stage { order: 0; }
  .hero-copy { padding-bottom: 8px; }
  .block-fig { margin: 0 -8px; }
  .case-meta { position: static; }
  .lots, .tplates, .nots3, .roman { grid-template-columns: minmax(0, 1fr); }
  .lot { min-height: 0; }
  .sectors, .grid6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sectors li:nth-child(n), .grid6 li:nth-child(n) { padding-left: 0; border-left: 0; }
  .sectors li:nth-child(2n), .grid6 li:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--rule); }
  .nlist li { grid-template-columns: 72px minmax(0, 1fr); }
  .nlist li > .numo { grid-column: 1; grid-row: 1 / span 2; }
  .nlist li > strong, .nlist li > p, .nlist li > span:not(.numo) { grid-column: 2; }
  .photo-slot { aspect-ratio: 4 / 3; }
  .close-emblem { width: min(260px, 70%); }
  .phero .wm { width: 44vw; top: 22%; opacity: 0.06; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-links { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .btn { min-height: 50px; padding: 15px 20px; font-size: 16px; }
  .head-cta { padding: 10px 12px; font-size: 13.5px; min-height: 40px; }
  .head-cta .arr { display: none; }
  .brand img { height: 36px; }
  .cells, .sectors, .grid6, .timeline, .seq { grid-template-columns: minmax(0, 1fr); }
  .cells li { border-right: 0; border-bottom: 1px solid var(--ink); }
  .cells li:last-child { border-bottom: 0; }
  .cells li:nth-child(n+4) { border-bottom: 1px solid var(--ink); }
  .cells li:last-child { border-bottom: 0; }
  .sectors li:nth-child(n), .grid6 li:nth-child(n), .seq li:nth-child(n) { padding-left: 0; border-left: 0; }
  .roles3 li { letter-spacing: 0.12em; font-size: 11.5px; }
  .form-grid .two { grid-template-columns: minmax(0, 1fr); }
  .tplate { min-height: 300px; }
  .stage-laptop { padding: 8% 6% 14% 0; }
  .phone { border-radius: 18px; padding: 2.6%; }
  .phone .screen { border-radius: 13px; }
  .seal { box-shadow: 0 0 0 4px var(--night), 0 0 0 5px rgba(217, 138, 150, 0.45); }
  .nlist li { grid-template-columns: 56px minmax(0, 1fr); gap: 8px 16px; }
  .nlist .numo { font-size: 2.2rem; }
}
.close .wrap > picture { justify-self: center; width: min(380px, 100%); }
.close .wrap > picture img { width: 100%; }
.photo-slot .wm picture { height: 100%; }
@media (max-width: 900px) { .close .wrap > picture { width: min(260px, 70%); } }

.brandband { padding: clamp(56px, 7vw, 96px) 0; }
.sectors.compact { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 0; border-top: 0; }
.sectors.compact li { padding: 20px 16px 22px 0; border-left: 0; border-bottom: 2px solid var(--ink); }
.sectors.compact li:nth-child(n+2) { padding-left: 16px; border-left: 1px solid var(--rule); }
.sectors.compact h3 { font-size: 1.02rem; margin: 10px 0 0; }
@media (max-width: 900px) {
  .sectors.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sectors.compact li:nth-child(n) { padding-left: 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .sectors.compact li:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--rule); }
}
.mt-cases { margin-top: clamp(36px, 4vw, 56px); }
.plate > .tplate { min-height: 420px; justify-content: space-between; }
@media (max-width: 900px) { .plate > .tplate { min-height: 280px; } }


/* analytics pixel (GoatCounter, no JS) */
.px{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}

/* Philadelphia engraving band (home) */
.street-band{background:var(--paper);line-height:0}
.street{display:block;width:100%;height:auto;max-height:85vh;object-fit:cover;object-position:50% 0}
