/* Cowboy General Service — design tokens straight from the brand manual.
   Ember #E55B36 · Paper #F7F7F7 · Ink #262223 · Hide #CFA784 · Bone #F3EFE6
   Display: Kleader (outlined from the manual, used as SVG) · Text: Archivo (wide axis stands in for Vastago Grotesk) */

@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo.woff2') format('woff2-variations'), url('/fonts/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ember: #E55B36;
  --ember-deep: #B3401C;
  --ember-hover: #EC6E4B;
  --paper: #F7F7F7;
  --bone: #F3EFE6;
  --hide: #CFA784;
  --hide-soft: #E7D3BF;
  --ink: #262223;
  --ink-2: #4A4345;
  --ink-3: #6E6668;
  --night: #1C191A;
  --on-dark: #F7F7F7;
  --on-dark-2: #D8CDC3;
  --line: rgba(38, 34, 35, .14);
  --line-dark: rgba(247, 247, 247, .14);

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);

  --wrap: 1320px;
  --gut: clamp(20px, 4.2vw, 56px);
  --sec: clamp(88px, 11vw, 168px);
  --r: 4px;

  --fs-display: clamp(2.85rem, 1.25rem + 5.6vw, 6rem);
  --fs-h2: clamp(2.05rem, 1.3rem + 2.7vw, 3.55rem);
  --fs-h3: clamp(1.18rem, 1.05rem + .4vw, 1.4rem);
  --fs-lede: clamp(1.1rem, 1.02rem + .35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-sm: .9rem;
  --hdr: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  font-size: var(--fs-body);
  font-stretch: 100%;
  font-weight: 420;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
  font-variant-numeric: lining-nums;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 760; font-stretch: 118%; letter-spacing: -.025em; line-height: 1.02; text-wrap: balance; }
h3 { font-size: var(--fs-h3); font-stretch: 108%; letter-spacing: -.01em; line-height: 1.2; }
::selection { background: var(--ember); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: var(--ink-3) var(--bone); }
::-webkit-scrollbar { width: 12px; } ::-webkit-scrollbar-track { background: var(--bone); } ::-webkit-scrollbar-thumb { background: var(--ink-3); border: 3px solid var(--bone); border-radius: 8px; }
[hidden] { display: none !important; }
.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: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r); transition: top .2s var(--ease-out); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.i { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 1.45em; border: 1.5px solid transparent; border-radius: var(--r);
  background: var(--bg); color: var(--fg); font: inherit; font-weight: 650; font-stretch: 110%; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .14s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn .i { transition: transform .25s var(--ease-out); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn-ember { --bg: var(--ember); --fg: var(--ink); }
.btn-ember:hover { --bg: var(--ember-hover); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: rgba(38, 34, 35, .3); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { --bg: transparent; --fg: var(--paper); border-color: rgba(247, 247, 247, .32); }
.btn-ghost-light:hover { border-color: var(--paper); }
.btn-sm { min-height: 42px; padding: 0 1.05em; font-size: .95rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 650; color: var(--ember-deep); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.text-link:hover .i { transform: translateX(3px); }
.text-link .i { transition: transform .25s var(--ease-out); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 247, 247, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.hdr { display: flex; align-items: center; gap: 28px; height: var(--hdr); }
.brand { display: block; color: var(--ink); flex: none; }
.brand .logo { height: 46px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { position: relative; text-decoration: none; font-size: .95rem; font-weight: 560; font-stretch: 106%; color: var(--ink-2); padding: 6px 0; transition: color .2s ease; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.hdr-cta { display: flex; align-items: center; gap: 18px; }
.hdr-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 650; font-variant-numeric: tabular-nums; font-size: .95rem; }
.hdr-phone .i { color: var(--ember-deep); }
.menu-btn { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1.5px solid var(--line); background: transparent; border-radius: var(--r); color: var(--ink); cursor: pointer; }
.menu-btn .i { width: 22px; height: 22px; }
.menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.menu { position: fixed; inset: var(--hdr) 0 0 0; z-index: 49; background: var(--ink); color: var(--paper); overflow-y: auto; opacity: 0; transform: translateY(-8px); transition: opacity .22s var(--ease-out), transform .22s var(--ease-out); }
.menu.is-open { opacity: 1; transform: none; }
.menu-in { display: flex; flex-direction: column; padding-block: 28px 120px; }
.menu-in > a { font-size: 1.9rem; font-weight: 720; font-stretch: 118%; letter-spacing: -.02em; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line-dark); }
.menu-svc { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 22px 0; }
.menu-svc a { color: var(--on-dark-2); text-decoration: none; padding: 6px 0; font-size: .98rem; }
.menu-cta { display: grid; gap: 10px; }

@media (max-width: 1080px) { .nav { display: none; } .hdr-cta { margin-left: auto; } .menu-btn { display: inline-flex; } }
@media (max-width: 640px) { .hdr-phone span { display: none; } .hdr-phone { width: 46px; height: 46px; justify-content: center; border: 1.5px solid var(--line); border-radius: var(--r); } .hdr-cta .btn-sm { display: none; } .brand .logo { height: 38px; } .hdr-cta { gap: 8px; } }

/* sticky mobile actions */
.mobile-call, .mobile-quote { display: none; }
@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .mobile-call, .mobile-quote { position: fixed; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; border-radius: var(--r); font-weight: 680; font-stretch: 110%; text-decoration: none; box-shadow: 0 10px 30px -10px rgba(28, 25, 26, .55); transition: transform .14s var(--ease-out); }
  .mobile-call:active, .mobile-quote:active { transform: scale(.97); }
  .mobile-call { left: 12px; width: 34%; background: var(--ink); color: var(--paper); }
  .mobile-quote { right: 12px; width: calc(66% - 36px); background: var(--ember); color: var(--ink); }
}

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(36px, 6vw, 84px) clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(2.75rem, 1.2rem + 5vw, 5.6rem); font-weight: 800; font-stretch: 116%; letter-spacing: -.04em; line-height: .9; }
.h1-a, .h1-b { display: block; }
.h1-b { color: var(--ember); }
.h1-sub { display: block; margin-top: 26px; font-size: clamp(1rem, .9rem + .35vw, 1.2rem); font-weight: 620; font-stretch: 112%; letter-spacing: .01em; line-height: 1.3; color: var(--ink-2); }
.h1-sub::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--ember); vertical-align: middle; margin-right: 12px; transform: translateY(-2px); }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--ink-2); max-width: 36em; margin: 22px 0 32px; }
.hero-facts { list-style: none; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--ink-2); font-size: var(--fs-sm); }
.hero-facts strong { color: var(--ink); font-weight: 700; font-stretch: 110%; }

.hero-house { margin: 0; position: relative; }
.house { width: 100%; height: auto; overflow: visible; }
.house .roof { fill: var(--ember); }
.house .ln { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.house .ln.thin { stroke-width: 1.2; opacity: .6; }
.house .found { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; }
.house .room-bg { fill: var(--hide); fill-opacity: 0; transition: fill-opacity .3s ease; }
.house .room-tag rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; transition: fill .25s ease, stroke .25s ease; }
.house .room-tag text { font-family: 'Archivo', sans-serif; font-size: 12.5px; font-weight: 640; font-stretch: 108%; text-anchor: middle; fill: var(--ink); transition: fill .25s ease; }
.house.is-interactive .room { cursor: pointer; outline: none; }
.house .room.is-on .room-bg, .house.is-interactive .room:hover .room-bg, .house.is-interactive .room:focus-visible .room-bg { fill-opacity: .42; }
.house .room.is-on .room-tag rect, .house.is-interactive .room:hover .room-tag rect, .house.is-interactive .room:focus-visible .room-tag rect { fill: var(--ink); stroke: var(--ink); }
.house .room.is-on .room-tag text, .house.is-interactive .room:hover .room-tag text, .house.is-interactive .room:focus-visible .room-tag text { fill: var(--paper); }
.house.is-interactive .room:focus-visible .room-bg { stroke: var(--ember); stroke-width: 2.5; }
.house-cap { margin-top: 18px; min-height: 64px; }
.house-hint { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: var(--fs-sm); }
.house-hint .i { color: var(--ember-deep); width: 1.3em; height: 1.3em; }
.house-link { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: center; padding: 14px 18px; border-radius: var(--r); background: var(--ink); color: var(--paper); text-decoration: none; }
.house-link strong { font-stretch: 112%; font-weight: 720; }
.house-link span { grid-column: 1; color: var(--on-dark-2); font-size: var(--fs-sm); line-height: 1.4; }
.house-link .i { grid-row: 1 / span 2; grid-column: 2; color: var(--ember); width: 22px; height: 22px; transition: transform .25s var(--ease-out); }
.house-link:hover .i { transform: translateX(4px); }

/* the one authored moment: roof is laid, then the house is drawn */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-house .roof { clip-path: inset(0 50% 0 50%); animation: roof 1s .15s var(--ease-in-out) forwards; }
  .js .hero-house .ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.15s var(--ease-out) forwards; animation-delay: calc(.7s + var(--i, 0) * 90ms); }
  .js .hero-house .structure .ln { animation-delay: .55s; }
  .js .hero-house .room-tag { opacity: 0; transform: translateY(4px); transform-box: fill-box; animation: tag .5s var(--ease-out) forwards; animation-delay: calc(1.25s + var(--i, 0) * 70ms); }
  .js .hero-copy > * { animation: rise .8s var(--ease-out) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: .08s; } .js .hero-copy > :nth-child(3) { animation-delay: .16s; } .js .hero-copy > :nth-child(4) { animation-delay: .24s; }
}
@keyframes roof { to { clip-path: inset(0 0 0 0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes tag { to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: .001; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-house { order: -1; max-width: 640px; }
  .hero:not(.hero-svc) .hero-house { order: 0; }
}

/* ---------- section heads ---------- */
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head h2 { font-size: var(--fs-h2); }
.sec-head p { margin-top: 18px; font-size: var(--fs-lede); color: var(--ink-2); line-height: 1.5; max-width: 34em; }
.sec-head-light p { color: var(--on-dark-2); }

/* ---------- services list ---------- */
.services { padding-block: var(--sec); background: var(--paper); border-top: 1px solid var(--line); }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.svc { border-bottom: 1px solid var(--line); }
.svc-a { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) 48px; gap: 24px; align-items: center; padding: clamp(22px, 2.6vw, 34px) 8px; text-decoration: none; isolation: isolate; }
.svc-a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--bone); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease-out); }
.svc-a:hover::before, .svc-a:focus-visible::before { transform: scaleY(1); }
.svc-n { font-size: .85rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.svc-name { font-size: clamp(1.55rem, 1.05rem + 1.9vw, 2.75rem); font-weight: 760; font-stretch: 120%; letter-spacing: -.03em; line-height: 1; transition: transform .45s var(--ease-out); }
.svc-a:hover .svc-name { transform: translateX(10px); }
.svc-short { color: var(--ink-2); font-size: .98rem; line-height: 1.5; }
.svc-go { justify-self: end; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .3s ease, border-color .3s ease, transform .45s var(--ease-out); }
.svc-go .i { width: 20px; height: 20px; }
.svc-a:hover .svc-go { background: var(--ember); border-color: var(--ember); transform: rotate(45deg); }
@media (max-width: 760px) {
  .svc-a { grid-template-columns: 36px minmax(0, 1fr) 40px; gap: 6px 14px; }
  .svc-short { grid-column: 2; grid-row: 2; }
  .svc-go { grid-row: 1 / span 2; grid-column: 3; width: 40px; height: 40px; }
}

/* ---------- manifesto ---------- */
.manifesto { background: var(--ember) url('/assets/c-ember.svg'); padding-block: clamp(96px, 13vw, 190px); color: var(--paper); }
.mani { margin: 0; font-size: clamp(1.7rem, .8rem + 4.4vw, 5.1rem); font-weight: 780; font-stretch: 122%; letter-spacing: -.035em; line-height: 1.02; text-align: center; color: var(--ink); }
.mani span { display: block; }
.mani em { font-style: normal; color: var(--paper); }
.manifesto-sm { padding-block: clamp(72px, 9vw, 120px); }

/* ---------- promises ---------- */
.promises { padding-block: var(--sec); background: var(--bone) url('/assets/c-bone.svg'); background-attachment: fixed; }
.pr-list { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.pr { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 96px); align-items: center; padding-block: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.pr:nth-child(2) .pr-word { order: 2; justify-self: end; }
.kl { height: auto; width: 100%; aspect-ratio: var(--ar); }
.kl-pr { color: var(--ember); max-width: min(100%, 560px); }
.pr-copy h3 { font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem); font-stretch: 116%; letter-spacing: -.02em; margin-bottom: 14px; }
.pr-copy p { color: var(--ink-2); max-width: 36em; margin: 0; }
@media (max-width: 820px) { .pr { grid-template-columns: 1fr; } .pr:nth-child(2) .pr-word { order: 0; justify-self: start; } .kl-pr { max-width: 82%; } }

/* ---------- process ---------- */
.process { padding-block: var(--sec); background: var(--ink) url('/assets/c-dark.svg'); color: var(--on-dark); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.step { position: relative; padding: 0 22px 0 0; }
.step::before { content: ''; position: absolute; top: 23px; left: 52px; right: 8px; height: 1.5px; background: repeating-linear-gradient(90deg, var(--hide) 0 6px, transparent 6px 12px); opacity: .55; }
.step:last-child::before { display: none; }
.step-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ember); color: var(--ink); font-weight: 800; font-stretch: 115%; font-size: 1.05rem; margin-bottom: 26px; }
.step h3 { color: var(--on-dark); margin-bottom: 10px; }
.step p { color: var(--on-dark-2); font-size: .97rem; margin: 0; }
.process-cta { margin-top: clamp(48px, 6vw, 80px); padding-top: 36px; border-top: 1px solid var(--line-dark); }
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step { display: grid; grid-template-columns: 46px 1fr; column-gap: 22px; padding: 0; }
  .step-n { grid-row: 1 / span 2; margin: 0; }
  .step::before { top: 54px; bottom: -26px; left: 22px; right: auto; width: 1.5px; height: auto; background: repeating-linear-gradient(180deg, var(--hide) 0 6px, transparent 6px 12px); }
}

/* ---------- glance / spec sheet ---------- */
.glance { padding-block: var(--sec); }
.glance-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.spec { margin: 0; border-top: 1.5px solid var(--ink); }
.spec > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 650; color: var(--ink-3); padding-top: 3px; }
.spec dd { margin: 0; font-weight: 520; }
.spec dd a { color: var(--ink); }
.spec dd a:hover { color: var(--ember-deep); }
@media (max-width: 860px) { .glance-grid { grid-template-columns: 1fr; } .spec > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- area ---------- */
.area { padding-block: var(--sec); background: var(--bone); border-top: 1px solid var(--line); }
.area-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.kl-area { color: var(--ember); max-width: 520px; margin-bottom: 26px; }
.area-copy h2 { font-size: var(--fs-h2); margin-bottom: 20px; }
.area-copy p { color: var(--ink-2); max-width: 34em; }
.town-line { font-size: var(--fs-sm); line-height: 1.8; color: var(--ink-3) !important; margin: 22px 0 28px; }
.area-map { width: 100%; height: auto; }
.area-map .ring { fill: none; stroke: var(--ink); stroke-opacity: .22; stroke-dasharray: 3 5; }
.area-map .ring-t { font: 600 11px 'Archivo', sans-serif; fill: var(--ink-3); text-anchor: middle; letter-spacing: .08em; }
.area-map .town circle { fill: var(--ink); }
.area-map .town text { font: 560 11.5px 'Archivo', sans-serif; fill: var(--ink-2); }
.area-map .sea { font: italic 500 12px 'Archivo', sans-serif; fill: var(--ink-3); letter-spacing: .2em; text-transform: uppercase; }
.area-map .hq circle { fill: var(--ember); }
.area-map .hq .hq-pulse { fill: none; stroke: var(--ember); stroke-width: 1.5; transform-origin: center; transform-box: fill-box; }
.area-map .hq text { font: 760 13px 'Archivo', sans-serif; font-stretch: 112%; fill: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .area-map .hq .hq-pulse { animation: pulse 2.8s var(--ease-out) infinite; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { padding-block: var(--sec); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--hdr) + 32px); }
.faq-head h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
.faq-head p { color: var(--ink-2); }
.faq-head a { font-weight: 650; color: var(--ember-deep); }
.faq-list { border-top: 1.5px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-size: 1.12rem; font-weight: 650; font-stretch: 106%; line-height: 1.35; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--ember-deep); }
.qa-i { width: 22px; height: 22px; transition: transform .3s var(--ease-out); color: var(--ember-deep); }
.qa[open] .qa-i { transform: rotate(45deg); }
.qa-a { padding: 0 48px 22px 0; color: var(--ink-2); }
.qa-a p { margin: 0; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-head { position: static; } .qa-a { padding-right: 0; } }

/* ---------- contact band + form ---------- */
.contact-band { padding-block: var(--sec); background: var(--ink) url('/assets/c-dark.svg'); color: var(--on-dark); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 104px); align-items: start; }
.contact-copy h2 { font-size: var(--fs-h2); margin-bottom: 20px; }
.contact-copy > p { color: var(--on-dark-2); font-size: var(--fs-lede); line-height: 1.5; }
.contact-list { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line-dark); }
.contact-list a { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; transition: color .2s ease; }
.contact-list a:hover { color: var(--ember); }
.contact-list .i { width: 22px; height: 22px; color: var(--ember); }
.contact-list span { display: flex; flex-direction: column; font-weight: 600; overflow-wrap: anywhere; }
.contact-list small { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); font-weight: 600; }
.est-form { background: var(--night); border: 1px solid var(--line-dark); border-radius: 6px; padding: clamp(22px, 3.4vw, 40px); display: grid; gap: 18px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f { display: grid; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--on-dark-2); }
.f em { font-style: normal; font-weight: 450; opacity: .8; }
.f input, .f select, .f textarea { width: 100%; font: inherit; font-size: 1rem; font-weight: 450; color: var(--paper); background: rgba(247, 247, 247, .05); border: 1px solid rgba(247, 247, 247, .2); border-radius: var(--r); padding: 13px 14px; transition: border-color .2s ease, background-color .2s ease; caret-color: var(--ember); }
.f select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--on-dark-2) 50%), linear-gradient(135deg, var(--on-dark-2) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.f select option { color: var(--ink); }
.f textarea { resize: vertical; min-height: 120px; }
.f input::placeholder, .f textarea::placeholder { color: rgba(216, 205, 195, .62); }
.f input:hover, .f select:hover, .f textarea:hover { border-color: rgba(247, 247, 247, .38); }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--ember); background: rgba(247, 247, 247, .08); }
.f [aria-invalid="true"] { border-color: #FF8A68; }
.f-err { margin: 0; color: #FFB199; font-weight: 600; font-size: .95rem; }
.f-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.f-check { display: flex; gap: 12px; align-items: flex-start; font-size: .84rem; font-weight: 450; line-height: 1.5; color: var(--on-dark-2); cursor: pointer; }
.f-check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ember); }
.f-check a { color: var(--paper); }
.ftr-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.legal .prose { max-width: 46em; }
.legal-date { color: var(--ink-2); font-size: .95rem; }
.f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.f-status { margin: 0; font-weight: 600; font-size: .95rem; color: var(--on-dark-2); }
.f-status.is-ok { color: #B9E4A8; }
.f-status.is-err { color: #FFB199; }
.f-status a, .f-note a { color: var(--paper); }
.f-note { margin: 0; font-size: .84rem; color: var(--on-dark-2); line-height: 1.5; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .f-row { grid-template-columns: 1fr; } .f-actions .btn { width: 100%; } }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--on-dark-2); padding-top: clamp(64px, 8vw, 110px); }
.ftr { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.logo-foot { height: 64px; width: auto; color: var(--paper); margin-bottom: 20px; }
.ftr-brand p { max-width: 26em; }
.kl-foot { color: var(--hide); max-width: 260px; opacity: .55; margin-top: 26px; }
.ftr-col { display: flex; flex-direction: column; gap: 10px; font-size: .95rem; }
.ftr-col h2 { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hide); font-weight: 650; font-stretch: 110%; margin-bottom: 6px; }
.ftr-col a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; transition: color .2s ease; }
.ftr-col a:hover { color: var(--paper); }
.ftr-col .i { color: var(--ember); }
.nap { margin-bottom: 8px; line-height: 1.6; }
.nap strong { color: var(--paper); font-weight: 650; }
.ftr-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 64px; padding-block: 26px; border-top: 1px solid var(--line-dark); font-size: .85rem; }
.ftr-base p { margin: 0; }
.ftr-base a { color: var(--on-dark-2); }
@media (max-width: 980px) { .ftr { grid-template-columns: 1fr 1fr; } .ftr-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ftr { grid-template-columns: 1fr; } }

/* ---------- inner pages ---------- */
.crumbs { padding-top: 22px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--ink-3); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ember-deep); }
.hero-svc { padding-top: clamp(24px, 4vw, 56px); }
.h1-svc { font-size: clamp(2.3rem, 1.1rem + 3.2vw, 4.1rem); font-weight: 800; font-stretch: 122%; letter-spacing: -.035em; line-height: .96; }
.hero-house.is-static .ln { stroke-width: 1.4; }
.svc-body { padding-block: clamp(64px, 8vw, 120px); border-top: 1px solid var(--line); }
.prose-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.prose { font-size: 1.12rem; line-height: 1.7; max-width: 40em; }
.prose h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); margin: 1.6em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.side-card { position: sticky; top: calc(var(--hdr) + 28px); background: var(--bone); border: 1px solid var(--line); border-radius: 6px; padding: 30px; display: grid; gap: 14px; }
.side-card h2 { font-size: 1.45rem; font-stretch: 114%; line-height: 1.12; }
.side-card p { margin: 0; color: var(--ink-2); }
.side-phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 650; text-decoration: none; padding: 8px; }
.side-phone .i { color: var(--ember-deep); }
@media (max-width: 900px) { .prose-grid { grid-template-columns: 1fr; } .side-card { position: static; } }

.includes { padding-block: var(--sec); background: var(--bone); }
.inc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.inc-list li { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--line); }
.inc-list h3 { margin-bottom: 10px; display: flex; gap: 12px; align-items: baseline; }
.inc-list h3::before { content: ''; flex: none; width: 14px; height: 8px; background: var(--ember); clip-path: polygon(50% 0, 100% 100%, 0 100%); transform: translateY(-2px); }
.inc-list p { margin: 0; color: var(--ink-2); font-size: .98rem; }
@media (max-width: 980px) { .inc-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .inc-list { grid-template-columns: 1fr; } }

.notes { padding-block: var(--sec); background: var(--ink); color: var(--on-dark); }
.notes-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 110px); }
.notes-list { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.notes-list article { padding: 26px 0; border-bottom: 1px solid var(--line-dark); }
.notes-list h3 { color: var(--ember); margin-bottom: 8px; }
.notes-list p { margin: 0; color: var(--on-dark-2); }
@media (max-width: 860px) { .notes-grid { grid-template-columns: 1fr; } }

.related { padding-block: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); }
.rel-h { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin-bottom: 28px; }
.rel-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.rel-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; font-weight: 650; font-stretch: 108%; transition: border-color .2s ease, background-color .2s ease; }
.rel-list a:hover { border-color: var(--ink); background: var(--bone); }
.rel-list .i { color: var(--ember-deep); transition: transform .3s var(--ease-out); }
.rel-list a:hover .i { transform: rotate(45deg); }

/* about */
.about-hero { padding-block: clamp(24px, 4vw, 56px) clamp(56px, 7vw, 100px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.about-c { width: min(100%, 320px); height: auto; color: var(--ember); justify-self: center; margin-inline: auto; }
.dna { padding-block: var(--sec); background: var(--bone); }
.dna-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.dna-core h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
.dna-core p { color: var(--ink-2); font-size: var(--fs-lede); }
.dna-words { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.dna-words li { padding: 10px 18px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 650; font-stretch: 112%; }
.dna-words li:nth-child(3n+1) { background: var(--ember); border-color: var(--ember); }
.dna-words li:nth-child(4n+2) { background: var(--ink); color: var(--paper); }
@media (max-width: 860px) { .about-grid, .dna-grid { grid-template-columns: 1fr; } .about-c { width: 160px; margin: 0; } }

/* service area page */
.towns { padding-block: var(--sec); border-top: 1px solid var(--line); }
.town-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 36px; border-top: 1.5px solid var(--ink); padding-top: 32px; }
.tg h3 { margin-bottom: 14px; color: var(--ember-deep); }
.tg ul, .svc-inline ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--ink-2); }
.svc-inline { margin-top: 56px; padding: 30px; background: var(--bone); border-radius: 6px; }
.svc-inline h3 { margin-bottom: 14px; }
.svc-inline ul { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.svc-inline a { font-weight: 600; color: var(--ink); }

/* contact page & 404 */
.contact-page { padding-block: clamp(24px, 4vw, 56px) clamp(48px, 6vw, 80px); }
.contact-hero { max-width: 900px; }
.nf { padding-block: clamp(64px, 10vw, 140px); }
.kl-nf { color: var(--ember); max-width: 520px; margin-bottom: 30px; }
.nf .rel-list { margin-top: 36px; }

/* ---------- scroll reveal (content is visible by default; JS opts in) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-reveal]:not(.in) { opacity: .001; transform: translateY(22px); filter: blur(3px); }
}

@media print { .site-header, .mobile-call, .mobile-quote, .est-form { display: none; } body { padding: 0; } }

/* =====================================================================
   v2 — "drawing sheet" direction: dark plan sheets, technical grid, grain
   ===================================================================== */
.grain { position: relative; isolation: isolate; }
.grain::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.sheet {
  color: var(--on-dark);
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(247, 247, 247, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 247, 247, .05) 1px, transparent 1px),
    linear-gradient(rgba(247, 247, 247, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 247, 247, .022) 1px, transparent 1px),
    radial-gradient(120% 80% at 75% 10%, rgba(229, 91, 54, .10), transparent 60%);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px, 100% 100%;
  background-position: -1px -1px;
}
.sheet h1, .sheet .h1-svc { color: var(--paper); }
.sheet .h1-b { color: var(--ember); }
.sheet .lede, .sheet .h1-sub { color: var(--on-dark-2); }
.sheet .crumbs { padding-top: 26px; }
.sheet .crumbs ol { color: var(--on-dark-2); }
.sheet .crumbs a:hover { color: var(--ember); }
.sheet .about-hero, .sheet .contact-page, .sheet .hero { background: none; }
.sheet .area-map .ring { stroke: var(--paper); stroke-opacity: .22; }
.sheet .area-map .town circle { fill: var(--paper); }
.sheet .area-map .town text, .sheet .area-map .sea, .sheet .area-map .ring-t { fill: var(--on-dark-2); }
.sheet .area-map .hq text { fill: var(--paper); }

/* dark header */
.site-header { background: rgba(38, 34, 35, .96); border-bottom: 1px solid rgba(247, 247, 247, .06); }
.site-header.is-scrolled { border-bottom-color: var(--line-dark); }
.nav a { color: var(--on-dark-2); }
.nav a:hover, .nav a[aria-current] { color: var(--paper); }
.hdr-phone { color: var(--paper); }
.hdr-phone .i { color: var(--ember); }
.menu-btn { color: var(--paper); border-color: var(--line-dark); }
@media (max-width: 640px) { .hdr-phone { border-color: var(--line-dark); } }

/* hero (home) */
.hero-home { padding-block: clamp(40px, 6vw, 88px) clamp(40px, 5vw, 64px); overflow: hidden; }
@media (min-width: 921px) { .hero-home .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); } }
.hero-home h1 { font-size: clamp(2.9rem, 1.1rem + 5.4vw, 6.2rem); }

/* the house, drawn on a dark plan sheet */
.sheet .house .ln { stroke: var(--paper); }
.sheet .house .ln.thin { opacity: .45; }
.sheet .house .found { stroke: var(--paper); }
.sheet .house .room-bg { fill: var(--ember); }
.sheet .house .room.is-on .room-bg, .sheet .house.is-interactive .room:hover .room-bg, .sheet .house.is-interactive .room:focus-visible .room-bg { fill-opacity: .2; }
.sheet .house .room-tag rect { fill: var(--ink); stroke: rgba(247, 247, 247, .45); }
.sheet .house .room-tag text { fill: var(--paper); }
.sheet .house .room.is-on .room-tag rect, .sheet .house.is-interactive .room:hover .room-tag rect, .sheet .house.is-interactive .room:focus-visible .room-tag rect { fill: var(--ember); stroke: var(--ember); }
.sheet .house .room.is-on .room-tag text, .sheet .house.is-interactive .room:hover .room-tag text, .sheet .house.is-interactive .room:focus-visible .room-tag text { fill: var(--ink); }
.house .ann .dim { stroke: var(--hide); stroke-width: 1; opacity: .75; }
.house .dim-t { font: 600 10px 'Archivo', sans-serif; font-stretch: 110%; letter-spacing: .14em; fill: var(--hide); }
.house .north-a { fill: var(--ember); }
.sheet .house-hint { color: var(--on-dark-2); }
.sheet .house-hint .i { color: var(--ember); }
.sheet .house-link { background: rgba(247, 247, 247, .06); border: 1px solid var(--line-dark); }

/* title block, like the corner of a construction drawing */
.titleblock { margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 96px; border: 1px solid rgba(247, 247, 247, .22); }
.titleblock > div { padding: 16px 20px; border-right: 1px solid rgba(247, 247, 247, .22); }
.titleblock > div:last-child { border-right: 0; }
.titleblock dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--hide); font-weight: 650; margin-bottom: 6px; }
.titleblock dd { margin: 0; font-weight: 620; font-stretch: 108%; color: var(--paper); font-size: .98rem; line-height: 1.3; }
.tb-mark { display: grid; place-items: center; background: var(--ember); }
.tb-c { width: 34px; height: auto; color: var(--ink); }
@media (max-width: 900px) { .titleblock { grid-template-columns: 1fr 1fr; } .titleblock > div { border-bottom: 1px solid rgba(247, 247, 247, .22); } .titleblock > div:nth-child(2n) { border-right: 0; } .tb-mark { display: none; } .titleblock > div:nth-child(n+3) { border-bottom: 0; } }

/* marquee band in the brand's Kleader letters */
.marquee { background: var(--ember); color: var(--ink); overflow: hidden; padding: 20px 0; border-block: 1px solid rgba(38, 34, 35, .25); }
.marquee-track { display: flex; width: max-content; }
.marquee-set { display: flex; align-items: center; flex: none; }
.kl-mq { width: auto; height: clamp(26px, 2.6vw, 40px); }
.mq-roof { width: clamp(40px, 4vw, 58px); height: auto; color: var(--paper); margin: 0 clamp(20px, 2.4vw, 36px); flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: mq 46s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes mq { to { transform: translateX(-50%); } }

/* services: sticky drawing, the active room lights up as you scroll */
.svc-scroll { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.svc-stage { position: sticky; top: calc(var(--hdr) + 32px); }
.svc-stage-in { background: var(--bone); border: 1px solid var(--line); border-radius: 6px; padding: clamp(20px, 2.6vw, 36px); }
.house-stage .room-bg { fill: var(--ember); transition: fill-opacity .45s ease; }
.house-stage .room.is-on .room-bg { fill-opacity: .2; }
.house-stage .room-tag rect, .house-stage .room-tag text { transition: fill .35s ease, stroke .35s ease; }
.house-stage .room.is-on .room-tag rect { fill: var(--ember); stroke: var(--ember); }
.house-stage .room.is-on .room-tag text { fill: var(--ink); }
.stage-cap { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; font-variant-numeric: tabular-nums; color: var(--ink-3); font-weight: 600; font-size: .9rem; }
.stage-cap strong { color: var(--ink); font-stretch: 112%; font-size: 1.05rem; }
.svc2-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.svc2 { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 48px 0; border-bottom: 1px solid var(--line); transition: opacity .5s var(--ease-out); }
.js .svc2:not(.is-active) { opacity: .38; }
.svc2-n { font-size: .9rem; font-weight: 700; color: var(--ember-deep); font-variant-numeric: tabular-nums; letter-spacing: .1em; }
.svc2 h3 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.4rem); font-weight: 780; font-stretch: 120%; letter-spacing: -.035em; line-height: 1; }
.svc2 h3 a { text-decoration: none; }
.svc2 h3 a:hover { color: var(--ember-deep); }
.svc2 > p { color: var(--ink-2); font-size: var(--fs-lede); line-height: 1.5; max-width: 30em; margin: 0; }
.svc2-tags { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc2-tags li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; font-weight: 560; color: var(--ink-2); background: var(--paper); }
.svc2 .text-link { align-self: flex-start; }
@media (max-width: 1000px) {
  .svc-scroll { grid-template-columns: 1fr; }
  .svc-stage { display: none; }
  .svc2 { min-height: 0; padding: 36px 0; }
  .js .svc2:not(.is-active) { opacity: 1; }
}

/* manifesto: the words fill in as you read */
.mani .ml { display: block; }
.mani .w { display: inline; }
.js .mani .w { color: rgba(38, 34, 35, .2); transition: color .5s ease; }
.js .mani .w.on { color: var(--ink); }
.mani .w-em { color: var(--paper); } .js .mani .w-em:not(.on) { color: rgba(38, 34, 35, .2); }
@media (prefers-reduced-motion: reduce) { .mani .w { color: var(--ink); } .mani .w-em { color: var(--paper); } }
.no-js .mani .w { color: var(--ink); }

/* footer signature: the wordmark, full width */
.ftr-giant { overflow: hidden; padding: 0 var(--gut); max-width: var(--wrap); margin: 24px auto 0; }
.ftr-giant .giant { display: block; margin-bottom: -4%; }
.giant { width: 100%; height: auto; color: var(--ember); opacity: .92; }
.js .mani .w-em.on { color: var(--paper); }

/* =====================================================================
   v3 — calmer home rhythm, photography, services index, project gallery
   ===================================================================== */
/* the horseshoe pattern lives only on the closing contact band now */
.manifesto, .promises, .process { background-image: none; }
.promises { background-attachment: scroll; }

img { height: auto; }
.ph, .pt-img, .si-img, .proj-media, .crew-photo, .pr-photo, .svc-figure, .about-portrait, .about-band figure { background: var(--hide-soft); }

/* manifesto: two lines, compact */
.manifesto-home { padding-block: clamp(56px, 7vw, 96px); }
.manifesto-home .mani { font-size: clamp(1.6rem, .8rem + 2.9vw, 3.3rem); line-height: 1.08; }

/* promises: compact three-up with a photo */
.promises { padding-block: clamp(72px, 9vw, 128px); }
.pr-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr); gap: clamp(36px, 5vw, 88px); align-items: start; }
.pr-head h2 { font-size: clamp(1.9rem, 1.2rem + 1.9vw, 2.8rem); }
.pr-head p { color: var(--ink-2); margin: 14px 0 26px; max-width: 26em; }
.pr-photo { margin: 0; border-radius: 6px; overflow: hidden; }
.pr-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pr-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
.pr { display: block; padding: 28px 24px 8px 0; border-bottom: 0; }
.pr + .pr { padding-left: 24px; border-left: 1px solid var(--line); }
.pr:nth-child(2) .pr-word { order: 0; justify-self: start; }
.kl-pr { width: auto; height: clamp(26px, 2.2vw, 34px); max-width: 100%; margin-bottom: 22px; }
.pr h3 { font-size: 1.15rem; font-stretch: 112%; margin-bottom: 10px; }
.pr p { color: var(--ink-2); font-size: .96rem; margin: 0; }
@media (max-width: 1080px) { .pr-grid { grid-template-columns: 1fr; } .pr-photo { display: none; } }
@media (max-width: 760px) { .pr-list { grid-template-columns: 1fr; } .pr + .pr { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } .pr { padding-bottom: 24px; } }

/* section head with an action on the right */
.sec-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head-row > div { max-width: 640px; }

/* projects teaser: hover reveals the "before" */
.projects-teaser { padding-block: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); }
.pt-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.pt-card { display: block; text-decoration: none; }
.pt-img { position: relative; display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; }
.pt-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease-out), transform 1.2s var(--ease-out); }
.pt-before { opacity: 0; }
.pt-flag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .78rem; font-weight: 650; letter-spacing: .06em; opacity: 0; transform: translateY(-4px); transition: opacity .3s ease, transform .3s var(--ease-out); }
@media (hover: hover) {
  .pt-card:hover .pt-before { opacity: 1; }
  .pt-card:hover .pt-flag { opacity: 1; transform: none; }
  .pt-card:hover .pt-img img { transform: scale(1.03); }
}
.pt-label { display: block; margin-top: 16px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-deep); font-weight: 650; }
.pt-title { display: block; margin-top: 6px; font-size: 1.2rem; font-weight: 700; font-stretch: 110%; line-height: 1.25; }
.pt-card:hover .pt-title { color: var(--ember-deep); }
@media (max-width: 900px) { .pt-grid { grid-template-columns: 1fr; } .pt-img { aspect-ratio: 3 / 2; } }

/* crew */
.crew { padding-block: clamp(72px, 9vw, 128px); background: var(--bone); }
.crew-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.crew-photo { margin: 0; border-radius: 6px; overflow: hidden; }
.crew-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.crew-copy h2 { font-size: var(--fs-h2); margin-bottom: 20px; }
.crew-copy p { color: var(--ink-2); font-size: 1.08rem; max-width: 30em; }
@media (max-width: 900px) { .crew-grid { grid-template-columns: 1fr; } }

/* service page photo */
.svc-figure { margin: 36px 0 0; border-radius: 6px; overflow: hidden; background: none; }
.svc-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; background: var(--hide-soft); }
.svc-figure figcaption { font-size: .9rem; color: var(--ink-3); padding-top: 12px; }
.svc-figure figcaption a { color: var(--ember-deep); font-weight: 600; }

/* index heroes (services, projects) */
.hero-index { padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.hero-index .h1-svc { max-width: 15em; }
.hero-index .lede { max-width: 38em; }

/* services index */
.svc-index { padding-block: clamp(64px, 8vw, 120px); }
.si-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.si-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--paper); transition: border-color .3s ease, box-shadow .4s var(--ease-out), transform .4s var(--ease-out); }
.si-link:hover { border-color: rgba(38, 34, 35, .3); box-shadow: 0 22px 44px -26px rgba(38, 34, 35, .45); transform: translateY(-3px); }
.si-img { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.si-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.si-link:hover .si-img img { transform: scale(1.04); }
.si-n { position: absolute; left: 14px; top: 14px; padding: 5px 10px; border-radius: 999px; background: var(--ember); color: var(--ink); font-size: .78rem; font-weight: 750; }
.si-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.si-name { font-size: 1.4rem; font-weight: 760; font-stretch: 116%; letter-spacing: -.02em; line-height: 1.1; }
.si-short { color: var(--ink-2); font-size: .97rem; line-height: 1.5; }
.si-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.si-tags span { padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; color: var(--ink-2); }
.si-go { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ember-deep); }
.si-go .i { transition: transform .3s var(--ease-out); }
.si-link:hover .si-go .i { transform: translateX(4px); }
@media (max-width: 1000px) { .si-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .si-grid { grid-template-columns: 1fr; } }

/* project gallery */
.gallery { padding-block: clamp(48px, 6vw, 88px) clamp(72px, 9vw, 128px); }
.g-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 4vw, 56px); }
.chip { font: inherit; font-size: .92rem; font-weight: 620; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .14s var(--ease-out); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip:active { transform: scale(.97); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.g-list { display: grid; gap: clamp(56px, 7vw, 104px); }
.proj { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; scroll-margin-top: calc(var(--hdr) + 24px); }
.proj:nth-child(even) .proj-media { order: 2; }
.proj[hidden] { display: none; }
.proj-media { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 3 / 2; }
.proj-shot { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .55s var(--ease-out); }
.proj-shot.is-on { opacity: 1; }
.proj-shot img { width: 100%; height: 100%; object-fit: cover; }
.proj-tabs { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(28, 25, 26, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ptab { font: inherit; font-size: .88rem; font-weight: 650; padding: 9px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--on-dark-2); cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.ptab:hover { color: var(--paper); }
.ptab.is-on { background: var(--ember); color: var(--ink); }
.proj-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-deep); font-weight: 650; }
.proj-copy h2 { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.4rem); margin: 10px 0 14px; }
.proj-copy > p { color: var(--ink-2); }
.proj-stages { margin: 18px 0; border-top: 1px solid var(--line); }
.proj-stages > div { display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); opacity: .5; transition: opacity .3s ease; }
.proj-stages > div.is-on { opacity: 1; }
.proj-stages dt { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); padding-top: 2px; }
.proj-stages > div.is-on dt { color: var(--ember-deep); }
.proj-stages dd { margin: 0; font-size: .95rem; color: var(--ink-2); }
.proj-scope { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.proj-scope li { padding: 5px 11px; border-radius: 999px; background: var(--bone); font-size: .8rem; color: var(--ink-2); }
.g-note { margin: clamp(48px, 6vw, 80px) 0 0; font-size: .85rem; color: var(--ink-3); max-width: 46em; }
@media (max-width: 980px) { .proj { grid-template-columns: 1fr; } .proj:nth-child(even) .proj-media { order: 0; } }

/* about */
.about-portrait { margin: 0; border-radius: 6px; overflow: hidden; }
.about-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-band { padding-block: 0 clamp(64px, 8vw, 110px); }
.about-band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.about-band figure { margin: 0; border-radius: 6px; overflow: hidden; }
.about-band img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 860px) { .about-portrait { max-width: 420px; } .about-band-grid { grid-template-columns: 1fr; } }
@media (min-width: 981px) { .proj:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); } }

/* =========================================================
   v4 — real project photos: viewer, thumbnail strip, lightbox
   ========================================================= */
.pv { min-width: 0; }
.pv-stage { position: relative; margin: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--night); isolation: isolate; }
.pv-bg { position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: cover; filter: blur(28px) saturate(1.1) brightness(.55); transform: scale(1.04); z-index: -1; }
.pv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; transition: opacity .32s var(--ease-out); }
.pv-img.is-swap { opacity: .35; }
.pv-count { position: absolute; left: 14px; top: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(28, 25, 26, .72); color: var(--paper); font-size: .78rem; font-weight: 650; letter-spacing: .04em; font-variant-numeric: tabular-nums; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pv-zoom, .pv-nav { position: absolute; display: grid; place-items: center; border: 0; border-radius: 999px; background: rgba(28, 25, 26, .72); color: var(--paper); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .2s ease, transform .14s var(--ease-out), opacity .2s ease; }
.pv-zoom { right: 14px; top: 14px; width: 38px; height: 38px; }
.pv-nav { top: 50%; width: 44px; height: 44px; margin-top: -22px; }
.pv-prev { left: 14px; } .pv-next { right: 14px; }
.pv-zoom:hover, .pv-nav:hover { background: var(--ember); color: var(--ink); }
.pv-zoom:active, .pv-nav:active { transform: scale(.94); }
.pv-zoom .i, .pv-nav .i { width: 20px; height: 20px; }
@media (hover: hover) { .pv-nav { opacity: 0; } .pv-stage:hover .pv-nav, .pv-nav:focus-visible { opacity: 1; } }
.pv .proj-tabs { position: static; transform: none; width: max-content; max-width: 100%; margin: 14px 0 0; background: var(--ink); }
.ptab span { margin-left: 4px; font-size: .78em; opacity: .7; font-variant-numeric: tabular-nums; }
.pv-thumbs { list-style: none; margin: 12px 0 0; padding: 2px 2px 6px; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.pv-thumbs li { flex: none; scroll-snap-align: start; }
.pv-thumbs li[hidden] { display: none; }
.pv-thumb { display: block; width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: var(--hide-soft); cursor: pointer; opacity: .62; transition: opacity .2s ease, border-color .2s ease, transform .14s var(--ease-out); }
.pv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-thumb:hover { opacity: 1; }
.pv-thumb.is-on { opacity: 1; border-color: var(--ember); }
.pv-thumb:active { transform: scale(.96); }
.proj-place { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 8px 0 0; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.proj-place .i { width: 16px; height: 16px; color: var(--ember-deep); }
.proj-badge { margin-left: 6px; padding: 3px 10px; border-radius: 999px; background: var(--bone); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.proj { align-items: start; }
.proj .proj-copy { padding-top: 6px; }
@media (max-width: 980px) { .proj:nth-child(even) .pv { order: 0; } }
@media (min-width: 981px) { .proj:nth-child(even) .pv { order: 2; } }
@media (max-width: 640px) { .pv-stage { aspect-ratio: 4 / 5; } .pv-thumb { width: 64px; height: 64px; } }

/* lightbox */
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(16, 14, 15, .96); color: var(--paper); }
.lb::backdrop { background: rgba(16, 14, 15, .7); }
.lb[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; animation: lb-in .24s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; } }
.lb-img { max-width: calc(100vw - 32px); max-height: calc(100dvh - 96px); object-fit: contain; margin-top: 24px; border-radius: 4px; }
.lb-cap { margin: 0 0 20px; padding: 0 64px; font-size: .9rem; color: var(--on-dark-2); text-align: center; }
.lb-close, .lb-nav { position: fixed; display: grid; place-items: center; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--paper); cursor: pointer; transition: background-color .2s ease; }
.lb-close { top: 16px; right: 16px; width: 44px; height: 44px; }
.lb-nav { top: 50%; width: 52px; height: 52px; margin-top: -26px; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-close:hover, .lb-nav:hover { background: var(--ember); color: var(--ink); }
.lb .i { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) { .lb[open] { animation: none; } .pv-img { transition: none; } }
@media (max-width: 640px) { .g-filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter, 20px) * -1); padding-inline: var(--gutter, 20px); scrollbar-width: none; } .g-filter .chip { flex: none; } }

/* =========================================================
   v5 — blog: editorial index + article pages
   ========================================================= */
.bl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .8rem; font-weight: 620; color: var(--ink-3); letter-spacing: .02em; }
.bl-cat { padding: 4px 10px; border-radius: 999px; background: var(--ember); color: var(--ink); font-size: .74rem; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; }
.blog-idx { padding-block: clamp(48px, 6vw, 88px) clamp(72px, 9vw, 128px); }
.bl-lead { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; text-decoration: none; padding-bottom: clamp(40px, 5vw, 64px); margin-bottom: clamp(32px, 4vw, 48px); border-bottom: 1.5px solid var(--ink); }
.bl-lead-img, .bl-thumb { display: block; border-radius: 6px; overflow: hidden; background: var(--hide-soft); }
.bl-lead-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.bl-lead:hover .bl-lead-img img { transform: scale(1.03); }
.bl-lead-txt { display: flex; flex-direction: column; gap: 16px; }
.bl-lead-title { font-size: clamp(1.8rem, 1.1rem + 2vw, 3rem); font-weight: 790; font-stretch: 118%; letter-spacing: -.03em; line-height: 1.04; text-wrap: balance; transition: color .2s ease; }
.bl-lead:hover .bl-lead-title { color: var(--ember-deep); }
.bl-ex { color: var(--ink-2); font-size: 1.02rem; line-height: 1.55; }
.bl-lead .si-go { margin-top: 4px; }
.bl-lead:hover .si-go .i { transform: translateX(4px); }
.bl-filter { margin-bottom: 8px; }
.bl-list { list-style: none; margin: 0; padding: 0; }
.bl-item { border-bottom: 1px solid var(--line); }
.bl-item[hidden] { display: none; }
.bl-row { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) 260px; gap: clamp(16px, 3vw, 40px); align-items: center; padding: clamp(22px, 2.6vw, 32px) 0; text-decoration: none; isolation: isolate; }
.bl-row::before { content: ''; position: absolute; inset: 0 -16px; z-index: -1; background: var(--bone); border-radius: 6px; opacity: 0; transition: opacity .35s ease; }
.bl-row:hover::before { opacity: 1; }
.bl-n { align-self: start; padding-top: 4px; font-size: .9rem; font-weight: 700; color: var(--ember-deep); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.bl-txt { display: flex; flex-direction: column; gap: 10px; }
.bl-title { font-size: clamp(1.3rem, 1rem + .9vw, 1.75rem); font-weight: 760; font-stretch: 114%; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; transition: color .2s ease; }
.bl-row:hover .bl-title { color: var(--ember-deep); }
.bl-thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1s var(--ease-out); }
.bl-row:hover .bl-thumb img { transform: scale(1.04); }
@media (max-width: 980px) { .bl-lead { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .bl-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .bl-n { display: none; }
  .bl-thumb { order: -1; }
  .bl-row::before { inset: 0 -8px; }
}

/* article */
.bp-hero { padding-bottom: clamp(120px, 14vw, 200px); }
.bp-hero .h1-svc { max-width: 17em; }
.bp-hero .lede { max-width: 40em; margin-bottom: 0; }
.bp-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 22px; font-size: .86rem; font-weight: 620; color: var(--on-dark-2); }
.bp-cover-wrap { margin-top: calc(clamp(120px, 14vw, 200px) * -1 + 24px); position: relative; z-index: 2; }
.bp-cover { margin: 0; border-radius: 6px; overflow: hidden; background: var(--hide-soft); box-shadow: 0 30px 60px -36px rgba(28, 25, 26, .6); }
.bp-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.bp-body { padding-block: clamp(48px, 6vw, 88px) clamp(64px, 8vw, 112px); }
.bp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 100px); align-items: start; }
.bp-article { max-width: 42em; }
.bp-article h2 { scroll-margin-top: calc(var(--hdr) + 24px); }
.bp-article a { color: var(--ember-deep); font-weight: 600; }
.bp-short { margin: 0 0 2.4em; padding: 26px 28px; border-left: 4px solid var(--ember); background: var(--bone); border-radius: 0 6px 6px 0; }
.bp-article .bp-short h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-stretch: 112%; color: var(--ember-deep); margin: 0 0 12px; line-height: 1.3; }
.bp-short ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; font-size: 1.02rem; }
.bp-short li::marker { color: var(--ember-deep); }
.bp-list { margin: 0 0 1.2em; padding-left: 1.2em; display: grid; gap: 10px; }
.bp-list li::marker { color: var(--ember); }
.bp-steps { list-style: none; margin: 8px 0 1.4em; padding: 0; counter-reset: st; border-top: 1px solid var(--line); }
.bp-steps li { counter-increment: st; display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.bp-steps li::before { content: counter(st); grid-row: 1 / span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: .9rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.bp-steps h3 { font-size: 1.08rem; margin: 4px 0 6px; }
.bp-steps p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.bp-tip { margin: 1.6em 0; padding: 22px 24px; background: var(--ink); color: var(--on-dark-2); border-radius: 6px; }
.bp-tip p { margin: 0; }
.bp-tip .bp-tip-k { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--ember); font-size: .78rem; font-weight: 720; letter-spacing: .14em; text-transform: uppercase; }
.bp-tip .bp-tip-k .i { width: 18px; height: 18px; }
.bp-fig { margin: 2em 0; }
.bp-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--hide-soft); }
.bp-fig figcaption { margin-top: 12px; font-size: .9rem; line-height: 1.5; color: var(--ink-3); }
.bp-sign { display: flex; gap: 18px; align-items: flex-start; margin-top: 3em; padding-top: 28px; border-top: 1.5px solid var(--ink); font-size: 1rem; color: var(--ink-2); }
.bp-sign p { margin: 0; }
.bp-sign-c { flex: none; width: 40px; height: auto; color: var(--ember); margin-top: 4px; }
.bp-side { position: sticky; top: calc(var(--hdr) + 28px); display: grid; gap: 24px; }
.bp-side .side-card { position: static; }
.bp-toc h2 { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 680; margin-bottom: 12px; }
.bp-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1.5px solid var(--line); }
.bp-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1.5px; border-left: 1.5px solid transparent; text-decoration: none; font-size: .92rem; line-height: 1.35; color: var(--ink-2); transition: color .2s ease, border-color .2s ease; }
.bp-toc a:hover { color: var(--ink); }
.bp-toc a.is-on { color: var(--ink); font-weight: 650; border-left-color: var(--ember); }
.side-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 650; color: var(--ember-deep); text-decoration: none; }
@media (max-width: 1000px) { .bp-grid { grid-template-columns: 1fr; } .bp-side { position: static; } .bp-toc { display: none; } }
@media (max-width: 640px) { .bp-cover img { aspect-ratio: 4 / 3; } .bp-short { padding: 20px; } }
.bp-more-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.bp-more-head .rel-h { margin: 0; }
.bp-more-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.bp-more-list a { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.bp-more-list .bl-title { font-size: 1.15rem; }
.bp-more-list a:hover .bl-title { color: var(--ember-deep); }
.bp-more-list a:hover .bl-thumb img { transform: scale(1.04); }
@media (max-width: 860px) { .bp-more-list { grid-template-columns: 1fr; } }

.bp-table { margin: 1.4em 0 1.8em; overflow-x: auto; border-top: 1.5px solid var(--ink); }
.bp-table table { width: 100%; border-collapse: collapse; font-size: .98rem; line-height: 1.45; }
.bp-table th, .bp-table td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.bp-table thead th { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 680; }
.bp-table tbody th { font-weight: 680; font-stretch: 108%; white-space: nowrap; }
.bp-table td { color: var(--ink-2); }
@media (max-width: 560px) { .bp-table tbody th { white-space: normal; } .bp-table th, .bp-table td { padding-right: 10px; } }
.bp-hero .h1-svc { font-size: clamp(2.05rem, 1.15rem + 2.7vw, 3.6rem); line-height: 1.02; }
