/* Sub-page components — loaded after site.css. Same tokens, same grammar. */

/* Active nav + mobile sheet */
.nav a.active { color: #fff; }
.nav a.active::after { transform: scaleX(1); }
.msheet { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; padding: 0 var(--gut) calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s; }
.msheet.open { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.msheet-top { display: flex; justify-content: space-between; align-items: center; height: var(--hh, 96px); flex: none; }  /* --hh = live header height, so the X sits exactly where the burger was */
.msheet-top img { height: calc(var(--hh, 96px) * .8); width: auto; }
.msheet-x { width: 46px; height: 46px; background: none; border: 1px solid rgba(245,242,237,.35); color: var(--paper); position: relative; cursor: pointer; }
.msheet-x:active, .burger:active { background: rgba(245,242,237,.12); }
.msheet-x span { position: absolute; left: 13px; top: 22px; width: 18px; height: 1px; background: currentColor; transform: rotate(45deg); }
.msheet-x span + span { transform: rotate(-45deg); }
.msheet nav { display: flex; flex-direction: column; margin: 28px 0 auto; border-top: 1px solid var(--rule-dk); }
.msheet nav a { display: flex; align-items: baseline; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--rule-dk); font: 300 32px/1.15 var(--serif); letter-spacing: -.02em; text-decoration: none; color: var(--paper); }
.msheet nav a.active { color: var(--bronze-lt); }
.msheet nav a .num { font-size: 14px; }
.msheet-foot { display: grid; gap: 14px; margin-top: 34px; text-align: center; font-size: 14px; color: rgba(245,242,237,.66); }
.msheet-ph { font: 300 26px/1.2 var(--serif); color: var(--paper); text-decoration: none; }

/* ── Page hero (photo) ───────────────────── */
.phero { position: relative; min-height: 560px; height: min(80svh, 780px); color: var(--paper); background: var(--ink); overflow: hidden; }
.phero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: settle 2.2s var(--ease) .05s forwards; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,19,17,.9) 0%, rgba(20,19,17,.7) 40%, rgba(20,19,17,.15) 80%), linear-gradient(0deg, rgba(20,19,17,.7) 0%, rgba(20,19,17,0) 45%), linear-gradient(180deg, rgba(20,19,17,.55) 0%, rgba(20,19,17,0) 24%); }
.phero .wrap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(52px, 8vh, 96px); }
.crumbs { display: flex; gap: 10px; align-items: center; font: 600 14px/1 var(--sans); color: rgba(245,242,237,.66); margin-bottom: 28px; }
.crumbs a { text-decoration: none; color: rgba(245,242,237,.85); }
.crumbs a:hover { color: var(--bronze-lt); }
.crumbs i { width: 18px; height: 1px; background: rgba(245,242,237,.4); }
.phero h1, .ink-hero h1, .split-hero h1 { font-size: clamp(50px, 6.6vw, 100px); line-height: .98; letter-spacing: -.03em; max-width: 900px; }
.phero h1 em, .ink-hero h1 em, .split-hero h1 em { font-style: italic; color: var(--stone); }
.phero .lede, .ink-hero .lede, .split-hero .lede { max-width: 560px; margin: 26px 0 0; font-size: 18.5px; line-height: 1.7; color: rgba(245,242,237,.84); }
.phero .caption { position: absolute; right: var(--gut); bottom: clamp(52px, 8vh, 96px); z-index: 2; text-align: right; font: 400 14px/1.5 var(--serif); font-style: italic; color: rgba(245,242,237,.8); }
.phero .caption::before { content: ""; display: block; width: 44px; height: 1px; background: rgba(245,242,237,.5); margin: 0 0 12px auto; }
.phero .caption b { display: block; font: 600 14px/1.4 var(--sans); font-style: normal; color: var(--paper); }

/* Ink hero (no photo) with blueprint */
.ink-hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; padding: clamp(190px, 22vh, 240px) 0 clamp(80px, 10vw, 130px); }
.ink-hero .blueprint { position: absolute; right: -8%; bottom: -12%; width: 64%; max-width: 980px; opacity: .16; pointer-events: none; }
.ink-hero .wrap { position: relative; }

/* Split hero (About) */
.split-hero { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--paper); min-height: min(88svh, 860px); }
.split-hero .txt { display: flex; flex-direction: column; justify-content: flex-end; padding: 184px clamp(28px, 5vw, 80px) clamp(56px, 8vh, 96px) max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); }
.split-hero .img { position: relative; overflow: hidden; }
.split-hero .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: settle 2.2s var(--ease) .05s forwards; }
.split-hero .img::after { content: ""; position: absolute; inset: 0 0 auto; height: 140px; background: linear-gradient(180deg, rgba(20,19,17,.6), rgba(20,19,17,0)); }

/* Big statement band */
.statement { background: var(--stone); overflow: hidden; }
.statement.ink { background: var(--ink); color: var(--paper); }
.statement .mark-logo { position: absolute; right: -6%; bottom: -30%; width: min(60vw, 820px); opacity: .45; pointer-events: none; }
.statement .wrap { position: relative; z-index: 2; }
.statement .eyebrow { margin-bottom: 30px; color: #5c4829; }
.statement .num, .founder .num { color: #5c4829; }
.statement.ink .num { color: var(--bronze-lt); }
.contact-top .card .eyebrow { color: #6a5434; }
.statement.ink .eyebrow { color: var(--bronze-lt); }
.statement p.big { font: 300 clamp(34px, 4.3vw, 62px)/1.14 var(--serif); letter-spacing: -.025em; color: var(--ink); max-width: 1040px; margin: 0; text-wrap: balance; }
.statement.ink p.big { color: var(--paper); }
.statement p.big em { font-style: italic; color: #6a5434; }
.statement.ink p.big em { color: var(--bronze-lt); }
.statement.photo { background: var(--ink); color: var(--paper); }
.statement.photo > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.statement.photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,19,17,.88) 0%, rgba(20,19,17,.66) 55%, rgba(20,19,17,.35) 100%); }
.statement.photo .eyebrow, .statement.photo .num { color: var(--bronze-lt); }
.statement.photo p.big { color: var(--paper); }
.statement.photo p.big em { color: var(--bronze-lt); }
.statement.ink .blueprint { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: 58%; max-width: 860px; opacity: .13; pointer-events: none; }
.statement .sub { max-width: 560px; margin-top: 34px; color: #3d3934; }
.statement.ink .sub { color: rgba(245,242,237,.76); }

/* Two-col lead copy */
.lead { display: grid; grid-template-columns: 5fr 1fr 6fr; align-items: start; }
.lead .copy { grid-column: 3; }
.lead .eyebrow { margin-bottom: 26px; }
.lead .lede-serif { font: 300 clamp(26px, 2.5vw, 34px)/1.35 var(--serif); letter-spacing: -.015em; color: var(--ink); margin: 0; }
.lead .lede-serif em { font-style: italic; color: var(--bronze); }

/* ── Services list ───────────────────────── */
.svc { border-top: 1px solid var(--ink); }
.svc-row { display: grid; grid-template-columns: 110px 1.15fr 1fr 260px; gap: 36px; align-items: center; padding: 38px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit; }
.svc-row .n { font: 300 64px/.9 var(--serif); font-style: italic; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--bronze); }
.svc-row h3 { font-size: clamp(32px, 3.2vw, 46px); color: var(--ink); transition: color .4s var(--ease); }
.svc-row p { margin: 0; color: var(--muted); font-size: 16.5px; }
.svc-row .frame { aspect-ratio: 16 / 11; }
.svc-row .frame img { filter: saturate(.55); transition: transform 1.2s var(--ease), filter .8s var(--ease); }
.svc-row:hover h3 { color: var(--bronze); }
.svc-row:hover .frame img { filter: saturate(1); transform: scale(1.05); }

/* ── Process timeline (5 steps) ──────────── */
.tl-wrap { display: grid; grid-template-columns: 4fr 1fr 7fr; }
.tl-side { position: sticky; top: 120px; align-self: start; }
.tl-side .eyebrow { margin-bottom: 24px; }
.tl-side p { color: var(--muted); margin: 26px 0 34px; max-width: 360px; }
.tl { grid-column: 3; list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.tl li { position: relative; padding: 0 0 70px 56px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before { content: ""; position: absolute; left: -5px; top: 30px; width: 9px; height: 9px; background: var(--bronze); transform: rotate(45deg); }
.tl .n { display: block; font: 300 clamp(70px, 6.4vw, 100px)/.9 var(--serif); font-style: italic; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--bronze); }
.tl h3 { font-size: clamp(32px, 3vw, 44px); color: var(--ink); margin: 12px 0 16px; }
.tl p { color: var(--muted); max-width: 560px; margin: 0; }
.tl .tag { display: flex; align-items: center; gap: 10px; margin-top: 18px; font: 600 14px/1.4 var(--sans); color: var(--bronze); }
.tl .tag::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }

/* ── Team profiles ───────────────────────── */
.profile { display: grid; grid-template-columns: 5fr 1fr 6fr; align-items: center; }
.profile + .profile { margin-top: clamp(90px, 11vw, 150px); }
.profile .portrait { position: relative; aspect-ratio: 4 / 5; }
.profile .portrait::before { content: ""; position: absolute; inset: 26px -26px -26px 26px; border: 1px solid var(--bronze); }
.profile .portrait .frame { position: relative; z-index: 1; height: 100%; box-shadow: 0 30px 60px -30px rgba(28,27,25,.45); }
.profile .portrait img { object-position: 50% 22%; }
.profile .copy { grid-column: 3; }
.profile.flip .portrait { grid-column: 3; grid-row: 1; }
.profile.flip .copy { grid-column: 1; grid-row: 1; }
.profile.flip .portrait::before { inset: 26px 26px -26px -26px; }
.profile .role { display: block; font: 600 15px/1.4 var(--sans); color: var(--bronze); margin-bottom: 16px; }
.profile h3 { font-size: clamp(40px, 4.2vw, 58px); color: var(--ink); margin-bottom: 26px; }
.profile p { color: var(--text); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 34px; border-top: 1px solid var(--rule); }
.facts div { padding: 22px 22px 0 0; }
.facts div + div { padding-left: 22px; border-left: 1px solid var(--rule); }
.facts strong { display: block; font: 300 36px/1.05 var(--serif); letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; }
.facts span { font-size: 14.5px; line-height: 1.5; color: var(--muted); display: block; }
.values { list-style: none; padding: 0; margin: 50px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(28,27,25,.25); }
.values li { padding: 24px 22px 0 0; font: 400 22px/1.25 var(--serif); color: var(--ink); }
.values li + li { padding-left: 22px; border-left: 1px solid rgba(28,27,25,.2); }
.values li span { display: block; font: 400 15px/1.55 var(--sans); color: #3d3934; margin-top: 10px; }

/* ── Portfolio index ─────────────────────── */
.pgrid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.pcard { display: block; text-decoration: none; color: inherit; }
.pcard .frame { aspect-ratio: 4 / 5; }
.pcard.wide .frame { aspect-ratio: 5 / 6; }
.pcard:nth-child(even) { margin-top: clamp(80px, 12vw, 180px); }
.pcard .cap { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-top: 26px; border-bottom: 1px solid var(--rule); padding-bottom: 22px; }
.pcard h3 { font-size: clamp(34px, 3.4vw, 50px); color: var(--ink); margin-top: 12px; transition: color .4s var(--ease); }
.pcard .meta { display: block; margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.pcard:hover h3 { color: var(--bronze); }
.pcard .arrowc { display: inline-grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--ink); border-radius: 50%; flex: none; transition: background-color .4s var(--ease), color .4s var(--ease); }
.pcard:hover .arrowc { background: var(--ink); color: var(--paper); }

/* ── Project page ────────────────────────── */
.specbar { background: var(--paper); border-bottom: 1px solid var(--rule); }
.specbar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.specbar .wrap > div { padding: 30px 28px 28px; border-left: 1px solid var(--rule); }
.specbar .wrap > div:first-child { border-left: 0; padding-left: 0; }
.specbar dt { font: 600 14px/1.4 var(--sans); color: var(--muted); margin-bottom: 8px; }
.specbar dd { margin: 0; font: 300 26px/1.2 var(--serif); letter-spacing: -.015em; color: var(--ink); }
.feature { margin-top: clamp(70px, 9vw, 120px); display: grid; grid-template-columns: 8fr 4fr; gap: clamp(16px, 2vw, 24px); align-items: end; }
.feature .frame { aspect-ratio: 16 / 10; }
.feature .frame.tall { aspect-ratio: 4 / 5; margin-bottom: clamp(60px, 8vw, 110px); }
.feature figcaption { grid-column: 1; }
.feature figcaption { font: 400 15px/1.55 var(--serif); font-style: italic; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 16px; }
.gal-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.gal-head .eyebrow { margin-bottom: 20px; }
.gal-head p { color: var(--muted); margin: 0; }
.gal { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(150px, 15vw, 230px); gap: 12px; }
.gal button { all: unset; cursor: zoom-in; position: relative; overflow: hidden; background: var(--stone); grid-column: span 2; }
/* 10-photo cycle that tiles 6 columns with no holes: big-left block, pair, big-right block, pair */
.gal button:nth-child(10n+1), .gal button:nth-child(10n+7) { grid-column: span 4; grid-row: span 2; }
.gal button:nth-child(10n+4), .gal button:nth-child(10n+5), .gal button:nth-child(10n+9), .gal button:nth-child(10n+10) { grid-column: span 3; grid-row: span 2; }
.gal.six button:nth-child(n+4) { grid-column: span 2; grid-row: span 2; }
/* A gallery that ends one short of a full row (9, 14, 19… photos) closes with a full-width last photo instead of a hole */
.gal button.fill { grid-column: 1 / -1; }
.gal button:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gal button:hover img { transform: scale(1.04); }
.nextproj { position: relative; display: block; height: clamp(380px, 56vh, 560px); color: var(--paper); text-decoration: none; overflow: hidden; background: var(--ink); }
.nextproj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.nextproj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,19,17,.82) 0%, rgba(20,19,17,.35) 60%, rgba(20,19,17,.15) 100%); }
.nextproj .wrap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.nextproj .eyebrow { margin-bottom: 18px; }
.nextproj h2 { font-size: clamp(48px, 6vw, 88px); letter-spacing: -.03em; }
.nextproj .link { margin-top: 28px; align-self: flex-start; color: var(--paper); }
.nextproj:hover img { transform: scale(1.04); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 95; background: rgba(16,15,14,.96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s; }
.lb.open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.lb img { max-width: 88vw; max-height: 84vh; object-fit: contain; box-shadow: 0 30px 80px -30px #000; }
.lb button { position: absolute; background: none; border: 1px solid rgba(245,242,237,.3); color: var(--paper); width: 52px; height: 52px; cursor: pointer; display: grid; place-items: center; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.lb button:hover { background: rgba(245,242,237,.1); border-color: var(--bronze-lt); }
.lb .x { top: 22px; right: 22px; font: 300 26px/1 var(--serif); }
.lb .prev { left: 22px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lb .next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb .count { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; pointer-events: none; font: 600 12px/1 var(--sans); letter-spacing: .2em; color: rgba(245,242,237,.7); }

/* ── Contact page ────────────────────────── */
.contact-top { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; padding: clamp(186px, 21vh, 232px) 0 clamp(80px, 10vw, 130px); }
.contact-top .blueprint { position: absolute; left: -10%; bottom: -18%; width: 60%; opacity: .1; pointer-events: none; }
.contact-top .grid { position: relative; display: grid; grid-template-columns: 5fr 1fr 6fr; align-items: start; }
.contact-top .card { grid-column: 3; background: var(--paper); color: var(--text); padding: clamp(32px, 4.4vw, 60px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.contact-top .card .eyebrow { margin-bottom: 16px; }
.contact-top .card h2 { font-size: clamp(32px, 3vw, 44px); color: var(--ink); margin-bottom: 12px; }
.contact-top .card .sub { color: var(--muted); margin-bottom: 30px; }
.details { margin: 44px 0 0; border-top: 1px solid var(--rule-dk); max-width: 460px; }
.details div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule-dk); align-items: baseline; }
.details dt { font: 600 14px/1.4 var(--sans); color: rgba(245,242,237,.66); }
.details dd { margin: 0; color: var(--paper); }
.details dd a { color: var(--paper); text-decoration: none; border-bottom: 1px solid rgba(245,242,237,.3); }
.details dd a:hover { border-color: var(--bronze-lt); }
.details dd.ph a { font: 300 30px/1.1 var(--serif); border: 0; }
/* light form variant */
.form-light .field > span, .form-light fieldset legend { color: var(--muted); }
.form-light .field input, .form-light .field textarea { color: var(--ink); border-bottom-color: rgba(28,27,25,.28); }
.form-light .field input:focus, .form-light .field textarea:focus { border-bottom-color: var(--bronze); }
.form-light .chips span { border-color: rgba(28,27,25,.25); color: var(--text); }
.form-light .chips label:hover span { border-color: var(--bronze); }
.form-light .chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.form-light .chips input:focus-visible + span { outline-color: var(--bronze); }
.form-light .btn-fill { width: 100%; margin-top: 6px; }
.form-light .after { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 20px; font-size: 14.5px; color: var(--muted); }
.form-light .sent h3 { color: var(--ink); }
.nexts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.nexts > div { padding: 32px 36px 0 0; position: relative; }
.nexts > div + div { padding-left: 36px; border-left: 1px solid var(--rule); }
.nexts .n { font: 300 15px/1 var(--serif); font-style: italic; color: var(--bronze); }
.nexts h3 { font-size: clamp(26px, 2.4vw, 34px); color: var(--ink); margin: 14px 0 12px; }
.nexts p { color: var(--muted); font-size: 16px; margin: 0; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 1080px) {
  .svc-row { grid-template-columns: 80px 1fr 200px; }
  .svc-row p { grid-column: 2; grid-row: 2; }
  .svc-row .frame { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 860px) {
  .phero { height: auto; min-height: 88svh; }
  .phero::after { background: linear-gradient(0deg, rgba(20,19,17,.92) 0%, rgba(20,19,17,.75) 50%, rgba(20,19,17,.5) 80%, rgba(20,19,17,.55) 100%); }
  .phero .wrap { min-height: 88svh; padding-top: 120px; padding-bottom: 44px; }
  .phero .caption { display: none; }
  .ink-hero { padding-top: 140px; }
  .ink-hero .blueprint { width: 140%; right: -50%; bottom: -4%; }
  .split-hero { grid-template-columns: 1fr; min-height: 0; }
  .split-hero .txt { padding: 130px var(--gut) 44px; }
  .split-hero .img { height: 62vw; min-height: 260px; }
  .split-hero .img::after { display: none; }
  .statement .mark-logo { width: 150%; right: -40%; bottom: -10%; }
  .statement .wrap[style*="grid"] { grid-template-columns: 1fr !important; }
  .lead, .profile, .tl-wrap, .pgrid, .contact-top .grid { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr 1fr; }
  .feature .frame:first-child { grid-column: 1 / -1; }
  .feature .frame.tall { margin: 0; aspect-ratio: 4 / 5; }
  .feature figcaption { grid-column: 2; align-self: end; }
  .gal.six button:nth-child(n+4) { grid-column: span 1; grid-row: span 1; }
  .gal.six button:nth-child(6) { grid-column: span 2; }
  .lead .copy, .profile .copy, .tl, .contact-top .card { grid-column: 1; }
  .lead .copy { padding-top: 28px; }
  .svc-row { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; }
  .svc-row .n { font-size: 48px; }
  .svc-row p, .svc-row .frame { grid-column: 1; grid-row: auto; }
  .svc-row .frame { order: -1; aspect-ratio: 16 / 10; }
  .tl-side { position: static; margin-bottom: 46px; }
  .tl li { padding: 0 0 54px 32px; }
  .profile .portrait, .profile.flip .portrait { grid-column: 1; grid-row: 1; max-width: calc(100% - 26px); }
  .profile.flip .copy { grid-column: 1; grid-row: 2; }
  .profile .portrait::before, .profile.flip .portrait::before { inset: 14px -14px -14px 14px; }
  .profile .copy { padding-top: 52px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts strong { font-size: 28px; }
  .values { grid-template-columns: 1fr 1fr; }
  .values li, .values li + li { padding: 20px 14px 18px 0; border-left: 0; border-bottom: 1px solid rgba(28,27,25,.2); }
  .values li:nth-child(even) { padding-left: 14px; border-left: 1px solid rgba(28,27,25,.2); }
  .pcard:nth-child(even) { margin-top: 20px; }
  .specbar .wrap { grid-template-columns: 1fr 1fr; }
  .specbar .wrap > div { padding: 22px 16px 20px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .specbar .wrap > div:nth-child(-n+2) { border-top: 0; }
  .specbar .wrap > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
  .specbar dd { font-size: 21px; }
  .gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; gap: 8px; }
  .gal button, .gal button:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gal button:nth-child(5n+1) { grid-column: span 2; grid-row: span 1; }
  .gal button.fill { grid-column: 1 / -1; }
  .lb .prev, .lb .next { top: auto; bottom: 14px; transform: none; width: 48px; height: 48px; }
  .lb .prev { transform: scaleX(-1); }
  .lb .count { bottom: 30px; }
  .contact-top { padding-top: 130px; }
  .contact-top .card { margin-top: 44px; }
  .nexts { grid-template-columns: 1fr; border-top: 0; }
  .nexts > div, .nexts > div + div { padding: 26px 0 26px 28px; border-left: 1px solid var(--rule); }
}
.msheet .num { color: var(--bronze-lt); }
@media (max-width: 860px) {
  .nextproj::after { background: linear-gradient(0deg, rgba(20,19,17,.88) 0%, rgba(20,19,17,.6) 60%, rgba(20,19,17,.35) 100%); }
  .nextproj .wrap { justify-content: flex-end; padding-bottom: 40px; }
}

/* Form status line (production forms) */
.form-status { font-size: 14.5px; min-height: 0; margin: 0 0 14px; }
.form-status.err { color: #f0b7a6; }
.form-light .form-status.err, .card .form-status.err { color: #9b2c16; }
form.sending button[type=submit] { opacity: .6; pointer-events: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; opacity: 0; }

/* Legal / statement pages */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(28px, 2.6vw, 36px); color: var(--ink); margin: 56px 0 18px; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { color: #6a5434; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }

/* 404 */
.nf-hero { min-height: min(100svh, 900px); display: flex; align-items: center; }
.nf-hero .wrap { width: 100%; }
.nf-code { font: 300 clamp(120px, 20vw, 260px)/.8 var(--serif); font-style: italic; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px var(--bronze-lt); margin-bottom: 30px; }
.nf-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; border-top: 1px solid var(--rule-dk); max-width: 900px; }
.nf-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 18px 20px 0; border-bottom: 1px solid var(--rule-dk); color: var(--paper); text-decoration: none; font: 300 24px/1.2 var(--serif); transition: color .3s var(--ease); }
.nf-links a:hover { color: var(--bronze-lt); }
@media (max-width: 860px) { .nf-links { grid-template-columns: 1fr 1fr; } .nf-links a { font-size: 20px; } }

/* Accessibility widget: ride above the sticky mobile CTA bar while it's showing (same approach as Falcon) */
#a11yw { transition: bottom .45s var(--ease); }
html.mcta-on #a11yw { bottom: calc(84px + env(safe-area-inset-bottom)); }
html.menu-open #a11yw, html.lb-open #a11yw { opacity: 0; visibility: hidden; }  /* it would sit on the menu CTA / the lightbox's Next button */

/* Inline text links inside body copy: keep the surrounding text color, thin underline */
a.inl { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .3s var(--ease); }
a.inl:hover { color: var(--bronze); }
.on-dark a.inl:hover { color: var(--bronze-lt); }
