/* ==========================================================================
   Archonic Consultants — public site
   ========================================================================== */
:root {
  --paper: #f3efe8;
  --paper-2: #ebe5db;
  --card: #fbf9f5;
  --ink: #1b1a17;
  --ink-2: #3c3a35;
  --muted: #7a746a;
  --line: rgba(27, 26, 23, .14);
  --line-strong: rgba(27, 26, 23, .3);
  --accent: #a8572f;
  --accent-soft: #e9d6c8;
  --dark: #161512;
  --dark-2: #22201c;
  --on-dark: #efe9df;
  --on-dark-muted: #a29b8f;
  --serif: "Tenor Sans", "Gill Sans", "Segoe UI", system-ui, sans-serif;
  --sans: "Tenor Sans", "Gill Sans", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --radius: 2px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 8px; }
.icon { width: 1.05em; height: 1.05em; flex: none; display: inline-block; vertical-align: -.15em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-tight { padding: clamp(48px, 7vw, 96px) 0; }
.section + .section.no-gap { padding-top: 0; }
.bg-alt { background: var(--paper-2); }
.bg-dark { background: var(--dark); color: var(--on-dark); }
.bg-dark .label, .bg-dark .muted { color: var(--on-dark-muted); }
.bg-dark .line-top { border-color: rgba(239, 233, 223, .16); }

/* ---------- Type ---------- */
.display, .h1, .h2, .h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
.display { font-size: clamp(48px, 8.4vw, 132px); line-height: .94; letter-spacing: -.025em; }
.h1 { font-size: clamp(44px, 6.6vw, 100px); line-height: .98; letter-spacing: -.02em; }
.h2 { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.02; }
.h3 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; color: var(--accent); }
.bg-dark .h2 em, .bg-dark .h1 em { color: #d79a74; }
.lead { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.6; color: var(--ink-2); max-width: 46ch; font-weight: 400; }
.bg-dark .lead { color: var(--on-dark); opacity: .85; }
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.label::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.label.no-rule::before { display: none; }
.muted { color: var(--muted); }
.prose { max-width: 66ch; color: var(--ink-2); font-size: 17px; }
.prose p:last-child { margin-bottom: 0; }
.prose h2, .prose h3 { font-family: var(--serif); color: var(--ink); margin: 1.6em 0 .5em; line-height: 1.15; }
.prose h2 { font-size: 34px; } .prose h3 { font-size: 27px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; } .prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--accent); font-family: var(--serif); font-size: 26px; line-height: 1.35; color: var(--ink); font-style: italic; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose img { margin: 1.6em 0; width: 100%; height: auto; }
.prose figure { margin: 1.6em 0; } .prose figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:hover .icon { transform: translateX(4px); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-light { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.btn-light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost-light { background: transparent; color: var(--on-dark); border-color: rgba(239, 233, 223, .4); }
.btn-ghost-light:hover { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid currentColor;
  transition: color .25s, gap .25s var(--ease);
}
.link-arrow:hover { color: var(--accent); gap: 16px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; transition: border-color .3s; }
/* Blur lives on a pseudo-element so the fixed mobile menu isn't trapped inside the header. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(243, 239, 232, .88);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
}
.nav-open .site-header::before { background: var(--paper); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 44px; height: auto; }
.brand-text { font-weight: 700; font-size: 15px; letter-spacing: .26em; line-height: 1.1; }
.brand-text small { display: block; font-size: 9.5px; letter-spacing: .38em; font-weight: 500; color: var(--muted); margin-top: 3px; }
.brand-light { color: var(--on-dark); }
.brand-light img { filter: invert(1) brightness(1.4); }
.brand-light .brand-text small { color: var(--on-dark-muted); }

.main-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.main-nav > a, .nav-item > a {
  position: relative; font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 8px 0; transition: color .2s;
}
.main-nav > a:not(.nav-cta)::after, .nav-item > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav > a:hover, .nav-item > a:hover, .main-nav a.is-active { color: var(--ink); }
.main-nav > a:hover::after, .nav-item > a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink); padding: 10px 18px !important; font-weight: 600 !important; color: var(--ink) !important; transition: background .25s, color .25s !important; }
.nav-cta:hover, .nav-cta.is-active { background: var(--ink); color: var(--paper) !important; }

.nav-item { position: relative; display: flex; align-items: center; gap: 2px; }
.submenu-toggle { width: 22px; height: 22px; border: 0; background: none; padding: 0; display: grid; place-items: center; }
.submenu-toggle span { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s; }
.submenu {
  position: absolute; top: calc(100% + 14px); left: -24px; min-width: 280px; background: var(--card); border: 1px solid var(--line);
  padding: 10px; box-shadow: 0 24px 48px -24px rgba(27, 26, 23, .25);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-item:hover .submenu, .nav-item:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: flex; align-items: baseline; gap: 14px; padding: 12px 14px; font-size: 15px; transition: background .2s; }
.submenu a:hover { background: var(--paper); color: var(--accent); }
.submenu-num { font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.submenu-all { justify-content: space-between; border-top: 1px solid var(--line); margin-top: 6px; font-size: 12px !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); background: transparent; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s; }
.nav-toggle span:first-child { top: 18px; } .nav-toggle span:last-child { top: 26px; }
.nav-open .nav-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1060px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 32px; overflow-y: auto; opacity: 0; transform: translateY(-12px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; visibility: hidden; pointer-events: none;
  }
  .nav-open .main-nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .nav-open { overflow: hidden; }
  .main-nav > a, .nav-item > a { font-family: var(--serif); font-size: 32px; padding: 14px 0; color: var(--ink); }
  .main-nav > a:not(.nav-cta), .nav-item { border-bottom: 1px solid var(--line); }
  .main-nav > a::after, .nav-item > a::after { display: none; }
  .nav-item { flex-wrap: wrap; justify-content: space-between; }
  .submenu-toggle { width: 46px; height: 46px; border: 1px solid var(--line); }
  .nav-item.open .submenu-toggle span { transform: rotate(-135deg) translateY(-2px); }
  .submenu { position: static; flex-basis: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 14px; display: none; min-width: 0; }
  .nav-item.open .submenu { display: block; }
  .submenu a { padding: 10px 0; }
  .nav-cta { margin-top: 28px; justify-content: center; min-height: 56px; font-family: var(--sans) !important; font-size: 14px !important; letter-spacing: .12em; text-transform: uppercase; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 0; position: relative; }
.breadcrumb { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: clamp(28px, 4vw, 48px); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-hidden] { opacity: .5; }
.page-hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.page-hero-grid .lead { margin: 0; }
.page-hero-meta { display: flex; flex-direction: column; gap: 28px; padding-bottom: 10px; }
.page-hero-media { margin-top: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; aspect-ratio: 21 / 9; background: var(--paper-2); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 1.6s var(--ease) forwards; }
.page-hero-media .media-tag { position: absolute; left: 0; bottom: 0; background: var(--paper); padding: 14px 22px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-rule { border: 0; border-top: 1px solid var(--line); margin: clamp(40px, 6vw, 72px) 0 0; }
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { aspect-ratio: 4 / 3; }
}

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 4vw, 64px); }
.split > .split-a { grid-column: span 5; } .split > .split-b { grid-column: span 7; }
.split > .split-a.wide { grid-column: span 6; } .split > .split-b.wide { grid-column: span 6; }
.split > .split-a.narrow { grid-column: span 4; } .split > .split-b.narrow { grid-column: 6 / span 7; }
.sticky { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
@media (max-width: 900px) { .split > * { grid-column: 1 / -1 !important; } .sticky { position: static; } }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.section-head .label { margin-bottom: 18px; }
.section-head .lead { margin: 0; max-width: 40ch; }
.stack-sm > * + * { margin-top: 16px; } .stack > * + * { margin-top: 28px; }
.line-top { border-top: 1px solid var(--line); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 8px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-num { font-family: var(--serif); font-size: clamp(48px, 5.5vw, 84px); line-height: 1; letter-spacing: -.02em; }
.stat-num sup { font-size: .45em; color: var(--accent); vertical-align: top; position: relative; top: .25em; margin-left: 2px; }
.stat-label { margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 22ch; }
.bg-dark .stats, .bg-dark .stat + .stat { border-color: rgba(239, 233, 223, .16); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Numbered value grid ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.values.cols-3 { grid-template-columns: repeat(3, 1fr); }
.value { padding: 36px 28px 40px 0; border-bottom: 1px solid var(--line); }
.value + .value { padding-left: 28px; border-left: 1px solid var(--line); }
.value-num { font-size: 12px; letter-spacing: .16em; color: var(--accent); font-weight: 600; }
.value h3 { font-family: var(--serif); font-size: 32px; margin: 36px 0 12px; line-height: 1.1; }
.value p { margin: 0; color: var(--muted); font-size: 15.5px; }
.bg-dark .value, .bg-dark .values, .bg-dark .value + .value { border-color: rgba(239, 233, 223, .16); }
.bg-dark .value p { color: var(--on-dark-muted); }
@media (max-width: 960px) {
  .values, .values.cols-3 { grid-template-columns: 1fr 1fr; }
  .value:nth-child(odd) { padding-left: 0; border-left: 0; }
  .value:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 580px) {
  .values, .values.cols-3 { grid-template-columns: 1fr; }
  .value, .value + .value, .value:nth-child(even) { padding-left: 0; border-left: 0; }
  .value h3 { margin-top: 18px; }
}

/* ---------- Process ---------- */
.process { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process li { display: grid; grid-template-columns: 90px 1fr 1.4fr; gap: 24px; padding: 30px 0; border-top: 1px solid var(--line); align-items: baseline; counter-increment: step; transition: background .3s; }
.process li:last-child { border-bottom: 1px solid var(--line); }
.process li::before { content: counter(step, decimal-leading-zero); font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--accent); }
.process h3 { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); line-height: 1; }
.process p { margin: 0; color: var(--muted); max-width: 52ch; }
.bg-dark .process li { border-color: rgba(239, 233, 223, .16); }
.bg-dark .process p { color: var(--on-dark-muted); }
@media (max-width: 700px) { .process li { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Image utilities ---------- */
.frame { position: relative; overflow: hidden; background: var(--paper-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
a:hover .frame img, .frame.zoom:hover img { transform: scale(1.045); }
.ratio-4-5 { aspect-ratio: 4 / 5; } .ratio-3-2 { aspect-ratio: 3 / 2; } .ratio-1 { aspect-ratio: 1; } .ratio-16-10 { aspect-ratio: 16 / 10; } .ratio-3-4 { aspect-ratio: 3 / 4; }
.img-fallback { display: grid; place-items: center; font-family: var(--serif); font-size: 22px; color: var(--muted); letter-spacing: .2em; }

.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.mosaic .m1 { grid-column: span 7; aspect-ratio: 4 / 3; }
.mosaic .m2 { grid-column: span 5; aspect-ratio: 4 / 5; }
.mosaic .m3 { grid-column: span 4; aspect-ratio: 1; }
.mosaic .m4 { grid-column: span 8; aspect-ratio: 16 / 9; }
@media (max-width: 700px) { .mosaic > * { grid-column: span 12 !important; aspect-ratio: 4 / 3 !important; } }

/* ---------- Service blocks ---------- */
.service-blocks { display: flex; flex-direction: column; gap: clamp(72px, 9vw, 130px); }
.service-block { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; scroll-margin-top: calc(var(--header-h) + 24px); }
.service-block:nth-child(even) .service-media { order: 2; }
.service-media { position: relative; }
.service-media .frame { aspect-ratio: 4 / 3.4; }
.service-media { padding-top: clamp(40px, 5vw, 70px); }
.service-media .service-index { position: absolute; top: 0; right: 0; font-family: var(--serif); font-style: italic; font-size: clamp(64px, 7vw, 110px); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--line-strong); z-index: 0; pointer-events: none; transform: translateY(-8%); }
.service-media .frame { position: relative; z-index: 1; width: 88%; }
.service-block:nth-child(even) .service-media .service-index { right: auto; left: 0; }
.service-block:nth-child(even) .service-media .frame { margin-left: auto; }
.service-copy .h2 { margin: 18px 0 22px; }
.check-list { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.check-list li { display: flex; gap: 10px; align-items: baseline; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.check-list li::before { content: ""; width: 6px; height: 6px; background: var(--accent); flex: none; transform: translateY(-2px) rotate(45deg); }
.check-list.single { grid-template-columns: 1fr; }
.ideal-for { font-size: 14.5px; color: var(--muted); margin-bottom: 28px; }
.ideal-for strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  .service-block { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-media { order: 0; }
}
@media (max-width: 520px) { .check-list { grid-template-columns: 1fr; } }

/* Service index list (compact) */
.service-index-list { border-top: 1px solid var(--line); }
.service-index-list a { display: grid; grid-template-columns: 70px 1fr 1.2fr 40px; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .4s var(--ease); }
.service-index-list a:hover { padding-left: 14px; }
.service-index-list .si-num { font-size: 16px; letter-spacing: .16em; color: var(--accent); font-weight: 600; }
.service-index-list .si-title { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 50px); line-height: 1; }
.service-index-list .si-desc { color: var(--muted); font-size: 15.5px; margin: 0; }
.service-index-list .icon { width: 26px; height: 26px; transition: transform .4s var(--ease); }
.service-index-list a:hover .icon { transform: rotate(-45deg); color: var(--accent); }
.bg-dark .service-index-list, .bg-dark .service-index-list a { border-color: rgba(239, 233, 223, .16); }
.bg-dark .service-index-list .si-desc { color: var(--on-dark-muted); }
@media (max-width: 760px) { .service-index-list a { grid-template-columns: 44px 1fr 28px; } .service-index-list .si-desc { grid-column: 2 / 3; grid-row: 2; } }

/* ---------- Project cards ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(32px, 4vw, 56px); }
.filters a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line-strong); font-size: 13px; font-weight: 500; transition: all .25s; }
.filters a sup { font-size: 10px; color: var(--muted); }
.filters a:hover { border-color: var(--ink); }
.filters a.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters a.is-active sup { color: var(--on-dark-muted); }

.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(36px, 4vw, 56px) clamp(16px, 2vw, 28px); }
.project-card { grid-column: span 4; }
.project-grid .project-card:nth-child(5n+1) { grid-column: span 7; }
.project-grid .project-card:nth-child(5n+2) { grid-column: span 5; }
/* Wide + narrow cards in the same row share one fixed image height, so their tops, bottoms and titles line up. */
.project-grid .project-card:nth-child(5n+1) .frame,
.project-grid .project-card:nth-child(5n+2) .frame { aspect-ratio: auto; height: clamp(280px, 34vw, 500px); }
.project-card .frame { aspect-ratio: 4 / 4.6; }
.project-card-body { display: flex; justify-content: space-between; gap: 18px; padding-top: 18px; }
.project-card h3 { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; transition: color .25s; }
.project-card a:hover h3 { color: var(--accent); }
.project-card .meta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.project-card .p-area { font-size: 13px; color: var(--muted); white-space: nowrap; padding-top: 6px; }
.project-card .frame .chip { position: absolute; left: 14px; top: 14px; z-index: 1; background: rgba(243, 239, 232, .92); padding: 6px 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
@media (max-width: 960px) {
  .project-card, .project-grid .project-card:nth-child(n) { grid-column: span 6; }
  .project-grid .project-card:nth-child(n) .frame { aspect-ratio: 4 / 4.4; height: auto; }
}
@media (max-width: 600px) { .project-card, .project-grid .project-card:nth-child(n) { grid-column: span 12; } }

/* Horizontal project rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 30%); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 760px) { .rail { grid-auto-columns: 80%; } }

/* ---------- Spotlight ---------- */
.spotlight { display: grid; grid-template-columns: 1.3fr 1fr; background: var(--dark); color: var(--on-dark); }
.spotlight .frame { min-height: 420px; }
.spotlight-body { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.spotlight-body .label { color: var(--on-dark-muted); }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(239, 233, 223, .16); margin: 0; }
.spec-list div { padding: 16px 12px 16px 0; border-bottom: 1px solid rgba(239, 233, 223, .16); }
.spec-list dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
.spec-list dd { margin: 4px 0 0; font-size: 15.5px; }
@media (max-width: 860px) { .spotlight { grid-template-columns: 1fr; } .spotlight .frame { min-height: 0; aspect-ratio: 4 / 3; } }

/* ---------- Project detail ---------- */
.project-specs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-specs div { padding: 22px 20px 22px 0; }
.project-specs div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.project-specs dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.project-specs dd { margin: 8px 0 0; font-family: var(--serif); font-size: 24px; line-height: 1.2; }
@media (max-width: 760px) {
  .project-specs { grid-template-columns: 1fr 1fr; }
  .project-specs div:nth-child(3) { padding-left: 0; border-left: 0; }
  .project-specs div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.gallery-item { grid-column: span 4; cursor: zoom-in; border: 0; padding: 0; background: var(--paper-2); aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item.wide { grid-column: span 8; aspect-ratio: auto; }
.gallery-item.full { grid-column: span 12; aspect-ratio: 16 / 8; }
@media (max-width: 760px) { .gallery-item, .gallery-item.wide { grid-column: span 6; aspect-ratio: 4 / 5; } .gallery-item.full { aspect-ratio: 4 / 3; } }

.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pager a { padding: 36px 0; display: flex; flex-direction: column; gap: 6px; transition: color .25s; }
.pager a + a { text-align: right; align-items: flex-end; border-left: 1px solid var(--line); padding-left: 24px; }
.pager a:first-child { padding-right: 24px; }
.pager .h3 { transition: color .25s; }
.pager a:hover .h3 { color: var(--accent); }

/* ---------- Blog ---------- */
.blog-feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.blog-feature .frame { aspect-ratio: 16 / 11; }
.blog-feature .h2 { margin: 18px 0; transition: color .25s; }
.blog-feature a:hover .h2 { color: var(--accent); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-meta span + span::before { content: "·"; margin-right: 18px; }
@media (max-width: 860px) { .blog-feature { grid-template-columns: 1fr; } }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 4vw, 56px) clamp(16px, 2vw, 28px); }
.post-card .frame { aspect-ratio: 3 / 2.1; margin-bottom: 20px; }
.post-card h3 { font-family: var(--serif); font-size: 28px; line-height: 1.12; margin: 12px 0 10px; transition: color .25s; }
.post-card a:hover h3 { color: var(--accent); }
.post-card p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.article-head { max-width: 900px; }
.article-hero { margin-top: clamp(36px, 5vw, 64px); aspect-ratio: 16 / 8; }
.article-body { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 5vw, 80px); }
.article-aside { font-size: 14px; color: var(--muted); }
.article-aside .stack-sm > div { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.article-aside strong { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.article-body .prose { font-size: 18.5px; line-height: 1.8; }
.article-body .prose > p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 5.2em; line-height: .78; padding: 8px 12px 0 0; color: var(--accent); }
@media (max-width: 860px) { .article-body { grid-template-columns: 1fr; } }

/* ---------- Careers ---------- */
.jobs { border-top: 1px solid var(--line); }
.job { border-bottom: 1px solid var(--line); }
.job summary { list-style: none; display: grid; grid-template-columns: 1.4fr 1fr 1fr 48px; gap: 20px; align-items: center; padding: 28px 0; cursor: pointer; }
.job summary::-webkit-details-marker { display: none; }
.job-title { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.05; transition: color .25s; }
.job summary:hover .job-title { color: var(--accent); }
.job-tag { font-size: 14px; color: var(--muted); }
.job-tag strong { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); font-weight: 600; }
.job-toggle { width: 48px; height: 48px; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .25s, color .25s; }
.job-toggle .icon { transition: transform .35s var(--ease); }
.job[open] .job-toggle { background: var(--ink); color: var(--paper); }
.job[open] .job-toggle .icon { transform: rotate(45deg); }
.job-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 64px); padding: 0 0 40px; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 28px; }
.skills span { padding: 7px 14px; background: var(--card); border: 1px solid var(--line); font-size: 13.5px; }
@media (max-width: 760px) {
  .job summary { grid-template-columns: 1fr 48px; }
  .job summary .job-tag { display: none; }
  .job-body { grid-template-columns: 1fr; }
}

/* ---------- Forms ---------- */
.form-card { background: var(--card); border: 1px solid var(--line); padding: clamp(24px, 4vw, 56px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.field label span { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; padding: 10px 0 12px; transition: border-color .25s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 20px, calc(100% - 7px) 20px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: #aaa398; }
.chip-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-select label { position: relative; margin: 0; letter-spacing: 0; text-transform: none; font-size: 14px; font-weight: 500; }
.chip-select input { position: absolute; opacity: 0; pointer-events: none; }
.chip-select span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line-strong); cursor: pointer; transition: all .2s; color: var(--ink-2) !important; }
.chip-select input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper) !important; }
.chip-select input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; }
.form-note { font-size: 13px; color: var(--muted); margin: 18px 0 0; }
.notice { padding: 18px 20px; margin-bottom: 28px; border-left: 3px solid; font-size: 15px; display: flex; gap: 12px; }
.notice-success { background: #e6ede2; border-color: #4f7a46; color: #29401f; }
.notice-error { background: #f5e2da; border-color: var(--accent); color: #6e2d12; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-card { padding: 32px 24px 32px 0; display: flex; flex-direction: column; gap: 12px; }
.contact-card + .contact-card { padding-left: 24px; border-left: 1px solid var(--line); }
.contact-card .icon { width: 24px; height: 24px; color: var(--accent); }
.contact-card h3 { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-card p, .contact-card a { font-family: var(--serif); font-size: 24px; line-height: 1.3; margin: 0; }
.contact-card a { display: block; transition: color .2s; word-break: break-word; }
.contact-card a:hover { color: var(--accent); }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } .contact-card + .contact-card { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.map { aspect-ratio: 16 / 7; background: var(--paper-2); filter: grayscale(1) contrast(.95); transition: filter .4s; }
.map:hover { filter: none; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3.4; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; cursor: pointer; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--accent); }
.faq details p { color: var(--muted); max-width: 68ch; padding-bottom: 24px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: #000000; color: var(--on-dark); }
.cta-band-bg { position: absolute; inset: 0; opacity: .55; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 21, 18, .9) 0%, rgba(22, 21, 18, .62) 45%, rgba(22, 21, 18, .2) 100%); }
.cta-band .container { position: relative; z-index: 1; padding-top: clamp(80px, 11vw, 160px); padding-bottom: clamp(80px, 11vw, 160px); }
.cta-band .h1 { max-width: 14ch; margin: 22px 0 36px; }
.cta-band .label { color: var(--on-dark-muted); }

/* ---------- Home hero ---------- */
.home-hero { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--dark); }
.home-hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.home-hero .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.home-hero .slide.is-active { opacity: 1; }
.home-hero .slide.is-active img { transform: scale(1); }
.home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .12) 30%, rgba(10, 9, 8, .86) 100%); }
.home-hero .hero-title { text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
@media (max-width: 700px) { .home-hero::after { background: linear-gradient(180deg, rgba(0, 0, 0, .2) 0%, rgba(10, 9, 8, .55) 35%, rgba(10, 9, 8, .9) 100%); } .home-hero { min-height: calc(92svh - var(--header-h)); } }
.home-hero .container { position: relative; z-index: 2; padding-bottom: clamp(36px, 6vw, 72px); }
.home-hero .label { color: rgba(255, 255, 255, .8); }
.hero-titles { display: grid; }
.hero-title { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); pointer-events: none; }
.hero-title.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero-title .display { margin: 22px 0 24px; max-width: 15ch; color: #fff; font-size: clamp(40px, 5.4vw, 84px); line-height: 1; letter-spacing: -.02em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-titles { align-items: end; }
.hero-title { align-self: end; }
.hero-title p { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; max-width: 46ch; opacity: .9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .22); flex-wrap: wrap; }
.hero-dots { display: flex; gap: 10px; align-items: center; }
.hero-dots button { width: 40px; height: 2px; padding: 0; border: 0; background: rgba(255, 255, 255, .3); position: relative; overflow: hidden; }
.hero-dots button::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-dots button.is-active::after { animation: dotFill 6.5s linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }
.hero-counter { font-size: 13px; letter-spacing: .16em; opacity: .8; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 38s linear infinite; font-family: var(--serif); font-size: clamp(28px, 3.4vw, 48px); font-style: italic; color: var(--ink-2); }
.marquee-track span::after { content: "✦"; font-style: normal; font-size: .4em; color: var(--accent); margin-left: 48px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Quote ---------- */
.quote { font-family: var(--serif); font-size: clamp(30px, 3.8vw, 56px); line-height: 1.16; letter-spacing: -.01em; max-width: 24ch; }
.quote em { color: var(--accent); }

/* ---------- Empty state ---------- */
.empty { padding: 56px; border: 1px dashed var(--line-strong); text-align: center; grid-column: 1 / -1; }
.empty .h3 { margin-bottom: 12px; }
.empty p { color: var(--muted); max-width: 48ch; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark); padding-top: clamp(64px, 8vw, 110px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-intro p { color: var(--on-dark-muted); max-width: 34ch; margin: 24px 0 28px; }
.footer-col h4 { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--on-dark-muted); margin-bottom: 20px; }
.footer-col a { display: block; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: #d79a74; }
.footer-contact p { color: var(--on-dark); margin-bottom: 14px; }
.footer-social { display: flex; gap: 18px; margin-top: 14px; }
.footer-social a { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid rgba(239, 233, 223, .3); }
.footer-wordmark { font-family: var(--serif); font-size: clamp(64px, 18.5vw, 290px); line-height: .8; letter-spacing: -.02em; color: rgba(239, 233, 223, .06); text-align: center; white-space: nowrap; overflow: hidden; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 0 32px; border-top: 1px solid rgba(239, 233, 223, .14); font-size: 13px; color: var(--on-dark-muted); }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-intro { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(14, 13, 11, .95); display: flex; align-items: center; justify-content: center; padding: 64px 72px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; }
.lightbox figcaption { color: var(--on-dark-muted); font-size: 13px; margin-top: 14px; letter-spacing: .1em; }
.lightbox button { position: absolute; width: 52px; height: 52px; border: 1px solid rgba(239, 233, 223, .3); background: transparent; color: var(--on-dark); display: grid; place-items: center; }
.lightbox button:hover { background: var(--on-dark); color: var(--dark); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-nav.prev { left: 14px; } .lightbox-nav.prev .icon { transform: rotate(180deg); }
.lightbox-nav.next { right: 14px; }
@media (max-width: 600px) { .lightbox { padding: 72px 12px; } .lightbox-nav { top: auto; bottom: 14px; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Even 3-up project grid (related projects, home) */
.project-grid.even .project-card:nth-child(n) { grid-column: span 4; }
.project-grid.even .project-card:nth-child(n) .frame { aspect-ratio: 4 / 4.6; }
@media (max-width: 960px) { .project-grid.even .project-card:nth-child(n) { grid-column: span 6; } }
@media (max-width: 600px) { .project-grid.even .project-card:nth-child(n) { grid-column: span 12; } }

/* ---------- Side figure (image beside a section label) ---------- */
.side-figure { margin: 32px 0 0; max-width: 380px; }
.side-figure .frame { aspect-ratio: 4 / 5; }
.side-figure figcaption { margin-top: 12px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .side-figure { max-width: none; } .side-figure .frame { aspect-ratio: 16 / 10; } }

/* ---------- Section with a faint background image ---------- */
.has-bg-image { position: relative; overflow: hidden; isolation: isolate; }
.section-bg { position: absolute; inset: 0; z-index: -1; }
.section-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .26; filter: grayscale(.35); }
.section-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 21, 18, .55) 0%, rgba(22, 21, 18, .25) 50%, rgba(22, 21, 18, .7) 100%); }

/* ---------- Gallery carousel ---------- */
.carousel { position: relative; }
.carousel-track { display: flex; gap: clamp(10px, 1.4vw, 18px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 auto; height: clamp(300px, 52vh, 560px); scroll-snap-align: start; border: 0; padding: 0; background: var(--paper-2); cursor: zoom-in; overflow: hidden; position: relative; }
.carousel-slide img { height: 100%; width: auto; max-width: none; object-fit: cover; transition: transform .9s var(--ease); }
.carousel-slide:hover img { transform: scale(1.03); }
.carousel-slide .zoom-hint { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; display: grid; place-items: center; background: rgba(243, 239, 232, .92); color: var(--ink); opacity: 0; transition: opacity .25s; }
.carousel-slide:hover .zoom-hint, .carousel-slide:focus-visible .zoom-hint { opacity: 1; }
.carousel-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; }
.carousel-progress { flex: 1; height: 1px; background: var(--line); position: relative; }
.carousel-progress span { position: absolute; left: 0; top: -1px; height: 3px; background: var(--ink); width: 0; transition: width .3s var(--ease), left .3s var(--ease); }
.carousel-count { font-size: 13px; letter-spacing: .14em; color: var(--muted); min-width: 64px; }
.carousel-btns { display: flex; gap: 8px; }
.carousel-btns button { width: 50px; height: 50px; border: 1px solid var(--line-strong); background: transparent; display: grid; place-items: center; transition: background .25s, color .25s; }
.carousel-btns button:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.carousel-btns button:disabled { opacity: .35; cursor: default; }
.carousel-btns .prev .icon { transform: rotate(180deg); }
@media (max-width: 600px) { .carousel-slide { height: 62vw; min-height: 240px; } }
.thumbs { display: flex; gap: 8px; margin-top: 16px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; }
.thumbs button { flex: 0 0 auto; width: 76px; height: 56px; padding: 0; border: 1px solid transparent; background: var(--paper-2); opacity: .55; transition: opacity .2s, border-color .2s; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button.is-active, .thumbs button:hover { opacity: 1; border-color: var(--ink); }

/* ==========================================================================
   Tenor Sans typography — single weight (400), no italic.
   Headings are slightly smaller and tighter; emphasis uses colour, not italics;
   labels rely on letter-spacing instead of bold.
   ========================================================================== */
body { font-size: 16px; line-height: 1.75; letter-spacing: .01em; }
h1, h2, h3, h4, strong, b, th, .btn, .label, .link-arrow, .nav-cta, .field label, .job-tag strong,
.value-num, .si-num, .stat-num, .brand-text, .submenu-all, .footer-col h4, .contact-card h3,
.project-specs dt, .spec-list dt, .article-aside strong, .ideal-for strong, .filters a, .chip, .carousel-count { font-weight: 400 !important; }
em, i, .display em, .h1 em, .h2 em, .h3 em, .quote em, .marquee-track, .prose blockquote, .service-media .service-index { font-style: normal !important; }
.display { font-size: clamp(42px, 7vw, 112px); line-height: 1; letter-spacing: -.03em; }
.h1 { font-size: clamp(38px, 5.6vw, 86px); line-height: 1.04; letter-spacing: -.025em; }
.h2 { font-size: clamp(30px, 3.9vw, 58px); line-height: 1.08; letter-spacing: -.02em; }
.h3 { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.18; letter-spacing: -.01em; }
.hero-title .display { font-size: clamp(36px, 4.6vw, 72px); line-height: 1.05; }
.quote { font-size: clamp(26px, 3.1vw, 46px); line-height: 1.22; letter-spacing: -.015em; }
.stat-num { font-size: clamp(44px, 4.8vw, 72px); letter-spacing: -.03em; }
.process h3 { font-size: clamp(24px, 2.5vw, 36px); letter-spacing: -.01em; }
.value h3 { font-size: 26px; letter-spacing: -.01em; }
.service-index-list .si-title { font-size: clamp(26px, 2.9vw, 42px); letter-spacing: -.015em; }
.project-card h3 { font-size: clamp(21px, 1.8vw, 26px); }
.post-card h3 { font-size: 23px; }
.job-title { font-size: clamp(24px, 2.5vw, 34px); }
.faq summary { font-size: clamp(19px, 1.7vw, 24px); }
.contact-card p, .contact-card a { font-size: 20px; }
.project-specs dd { font-size: 20px; }
.marquee-track { font-size: clamp(24px, 2.8vw, 40px); }
.footer-wordmark { font-size: clamp(54px, 15.5vw, 240px); letter-spacing: .02em; }
.label { letter-spacing: .24em; }
.btn { letter-spacing: .16em; }
.main-nav > a, .nav-item > a { font-size: 14.5px; letter-spacing: .02em; }
@media (max-width: 1060px) { .main-nav > a, .nav-item > a { font-size: 26px; letter-spacing: -.01em; } }
.prose h2 { font-size: 28px; } .prose h3 { font-size: 23px; }
.prose blockquote { font-size: 22px; }
.article-body .prose { font-size: 17.5px; }

/* Footer wordmark: SVG text stretched to the container width, so it always fits fully */
.footer-wordmark { font-size: 0 !important; line-height: 0 !important; margin: 8px 0 0 !important; overflow: visible !important; white-space: normal !important; letter-spacing: 0 !important; }
.footer-wordmark svg { display: block; width: 100%; height: auto; overflow: visible; }
.footer-wordmark text { font-family: var(--serif); font-size: 150px; fill: rgba(239, 233, 223, .07); }
