/* ==========================================================================
   GÚZ — design tokens & base
   Signature: architectural dimension-line motif, ledger-style lists,
   spec-sheet section references (A-01) instead of icon-badge grids.
   ========================================================================== */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url('../assets/fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url('../assets/fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url('../assets/fonts/worksans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url('../assets/fonts/worksans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('../assets/fonts/plex-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('../assets/fonts/plex-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url('../assets/fonts/plex-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url('../assets/fonts/plex-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('../assets/fonts/plex-mono-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('../assets/fonts/plex-mono-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Material-grounded palette — poured concrete, plaster, structural steel, oiled oak */
  --c-ink: #1C1A17;
  --c-ink-soft: #4A453D;
  --c-paper: #F5F2EC;
  --c-paper-2: #ECE6D9;
  --c-steel: #3B4048;
  --c-oak: #B5793B;
  --c-oak-deep: #935F2A;
  --c-line: #CFC6B4;
  --c-line-on-dark: rgba(245, 242, 236, 0.22);
  --c-white: #FFFFFF;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Work Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --container-w: 1240px;
  --measure: 62ch;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur-med: 420ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--c-ink);
}
h1 { font-size: clamp(2.3rem, 3.9vw + 1rem, 4.3rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 2.3vw + 1rem, 2.6rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
em { font-style: normal; font-family: var(--font-display); font-weight: 700; color: var(--c-oak); }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: clamp(64px, 9vw, 132px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--paper2 { background: var(--c-paper-2); }
.section--dark { background: var(--c-ink); color: var(--c-paper); }
.section--dark h2, .section--dark h3 { color: var(--c-white); }
.section--dark .lede { color: #C9C2B4; }
.section--dark .ref-label { color: var(--c-oak); }

/* Mono label / eyebrow system -------------------------------------------- */
.ref-label {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-oak-deep);
  margin-bottom: 1.1em;
}
.ref-label::before { content: '§'; opacity: 0.7; }

/* Dimension-line signature: a hairline rule with tick-mark ends */
.dim-line {
  display: block;
  width: 100%;
  height: 9px;
  margin-bottom: 20px;
}
.dim-line svg { width: 100%; height: 100%; display: block; overflow: visible; }
.dim-line--short { width: 64px; }
.dim-line--center { margin-inline: auto; color: var(--c-oak); }

.section-head { max-width: 620px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .ref-label { display: flex; justify-content: center; }
.lede { font-size: 1.12rem; color: var(--c-ink-soft); }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  min-height: 44px;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--c-oak);
  color: var(--c-white);
}
.btn-primary:hover { background: var(--c-oak-deep); }
.btn-ghost {
  background: transparent;
  border-color: var(--c-line-on-dark);
  color: inherit;
}
.btn-ghost:hover { border-color: currentColor; }
.btn-outline {
  background: transparent;
  border-color: var(--c-ink);
  color: var(--c-ink);
}
.btn-outline:hover { background: var(--c-ink); color: var(--c-paper); }
.btn svg { width: 15px; height: 15px; transition: transform var(--dur-fast) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* Skip link / focus --------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--c-ink);
  color: var(--c-paper);
  padding: 10px 18px;
  z-index: 1000;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--c-oak); outline-offset: 3px; }

/* ==========================================================================
   Logo (wordmark, no icon)
   ========================================================================== */
.logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}
.logo-mark {
  width: 92px;
  height: 20px;
  color: var(--c-paper);
  transition: color var(--dur-med) var(--ease);
}
.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C9C2B4;
  transition: color var(--dur-med) var(--ease);
}
.site-header.is-scrolled .logo-mark { color: var(--c-ink); }
.site-header.is-scrolled .logo-sub { color: var(--c-ink-soft); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(245, 242, 236, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--c-line);
}
.site-header.is-scrolled .logo-word { color: var(--c-ink); }
.site-header.is-scrolled .logo-sub { color: var(--c-ink-soft); }
.site-header.is-scrolled .main-nav a,
.site-header.is-scrolled .nav-toggle { color: var(--c-ink); border-color: var(--c-line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
}

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-paper);
  padding: 6px 2px;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--c-oak);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-fast) var(--ease);
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.header-cta { display: none; }

.nav-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--c-line-on-dark);
  color: var(--c-paper);
  border-radius: 2px;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(340px, 86vw);
  height: 100vh;
  background: var(--c-ink);
  color: var(--c-paper);
  padding: 24px;
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease);
  z-index: 200;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-head { display: flex; justify-content: flex-end; margin-bottom: 24px; }
.mobile-nav-close { width: 40px; height: 40px; border: 1px solid var(--c-line-on-dark); border-radius: 2px; background: none; color: var(--c-paper); display: grid; place-items: center; }
.mobile-nav-close svg { width: 18px; height: 18px; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav a {
  display: block;
  padding: 16px 4px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  border-bottom: 1px solid var(--c-line-on-dark);
}
.mobile-nav .btn { margin-top: 24px; width: 100%; justify-content: center; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 26, 23, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease);
  z-index: 150;
}
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

@media (min-width: 900px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ==========================================================================
   Hero — full-bleed editorial
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  color: var(--c-paper);
  background: var(--c-ink);
  isolation: isolate;
  margin-top: -85px;
  padding-top: 85px;
}

.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-poster-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.hero-poster-overlay.is-visible { opacity: 1; }

/* Mobile never loads the video, so skip the first-frame poster entirely
   and show the finished-result still directly. */
@media (max-width: 899px) {
  .hero-poster-overlay { opacity: 1; transition: none; }
}

/* Strong, layered scrim so header, headline and buttons stay legible against
   any frame of the video — darkest at top (nav) and bottom (stats bar). */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 900px 620px at 18% 46%, rgba(15,13,11,0.62) 0%, rgba(15,13,11,0.32) 55%, transparent 78%),
    linear-gradient(180deg, rgba(20,18,15,0.82) 0%, rgba(20,18,15,0.5) 32%, rgba(20,18,15,0.58) 62%, rgba(20,18,15,0.93) 100%);
}

.hero-body { flex-grow: 1; display: flex; align-items: center; padding-block: 56px; }
.hero-copy { max-width: 760px; }
.hero-copy .ref-label { color: var(--c-oak); text-shadow: 0 1px 3px rgba(0,0,0,0.85), 0 2px 16px rgba(0,0,0,0.6); }
.hero-copy h1 { color: var(--c-paper); text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 4px 28px rgba(0,0,0,0.65); }
.hero-copy .lede { color: #F1EDE3; max-width: 50ch; font-size: 1.18rem; text-shadow: 0 1px 3px rgba(0,0,0,0.85), 0 2px 18px rgba(0,0,0,0.6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero-actions .btn-primary { box-shadow: 0 10px 28px rgba(0,0,0,0.4); }
.hero-actions .btn-ghost {
  border-color: rgba(245,242,236,0.55);
  background: rgba(20,18,15,0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-stats {
  border-top: 1px solid var(--c-line-on-dark);
  padding-block: 26px;
}
.hero-stats .container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
.hero-stat-num { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 2.4vw, 2.3rem); color: var(--c-paper); }
.hero-stat-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: #B7AF9E; margin-top: 2px; }
@media (min-width: 700px) { .hero-stats .container { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   Ledger list (values / services) — replaces icon-badge card grids
   ========================================================================== */
.ledger { border-top: 1px solid var(--c-line); }
.ledger-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding-block: 30px;
  border-bottom: 1px solid var(--c-line);
  transition: background-color var(--dur-fast) var(--ease);
}
.ledger-row:hover { background: rgba(181, 121, 59, 0.05); }
.ledger-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--c-oak-deep);
  letter-spacing: 0.04em;
}
.ledger-tool-icon {
  width: 15px;
  height: 15px;
  opacity: 0;
  transform: translateX(-4px) rotate(-10deg);
  transition: opacity 380ms var(--ease), transform 380ms var(--ease);
}
.ledger-row:hover .ledger-tool-icon {
  opacity: 1;
  transform: translateX(0) rotate(0deg);
}
.ledger-row h3 { margin: 6px 0 6px; }
.ledger-row p { margin: 0; color: var(--c-ink-soft); max-width: 52ch; }

@media (min-width: 780px) {
  .ledger-row { grid-template-columns: 110px 1fr 1.6fr; align-items: baseline; gap: 28px; }
  .ledger-row h3 { margin: 0; }
}

/* ==========================================================================
   Assurance list — quiet, editorial "fear → promise" ledger.
   Two columns joined by a thin arrow; one subtle hover micro-interaction.
   ========================================================================== */
.assurance { max-width: 880px; margin-inline: auto; border-top: 1px solid var(--c-line); }

.assurance-head { display: none; }
@media (min-width: 780px) {
  .assurance-head {
    display: grid;
    grid-template-columns: 1fr 40px 1.2fr;
    padding-block: 16px;
    border-bottom: 1px solid var(--c-line);
  }
  .assurance-head-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--c-ink-soft);
  }
  .assurance-head-label--accent { grid-column: 3; color: var(--c-oak); }
}

.assurance-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-block: 30px;
  border-bottom: 1px solid var(--c-line);
}
@media (min-width: 780px) {
  .assurance-row {
    grid-template-columns: 1fr 40px 1.2fr;
    align-items: center;
    gap: 0;
    padding-block: 34px;
  }
}

.assurance-fear {
  color: var(--c-ink-soft);
  font-size: 1.02rem;
  line-height: 1.5;
}

.assurance-connector {
  display: none;
}
@media (min-width: 780px) {
  .assurance-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-line);
    transition: color 500ms var(--ease), transform 500ms var(--ease);
  }
  .assurance-row:hover .assurance-connector { color: var(--c-oak); transform: translateX(5px); }
  .assurance-connector svg { width: 18px; height: 18px; }
}

.assurance-fix {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  line-height: 1.35;
  transition: color 500ms var(--ease);
}
.assurance-row:hover .assurance-fix { color: var(--c-oak-deep); }

/* ==========================================================================
   Process
   ========================================================================== */
.process-wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .process-wrap { grid-template-columns: 0.85fr 1.15fr; } }
.process-media { position: relative; }
.process-media img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; filter: grayscale(0.15); }
.process-steps { display: flex; flex-direction: column; }
.process-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding-block: 26px;
  border-top: 1px solid var(--c-line);
}
.process-step:last-child { border-bottom: 1px solid var(--c-line); }
.process-step-num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--c-oak-deep); padding-top: 4px; }
.process-step h3 { margin-bottom: 6px; }
.process-step p { color: var(--c-ink-soft); margin: 0; }

/* ==========================================================================
   Portfolio
   ========================================================================== */
.portfolio-grid { display: grid; gap: 2px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
.portfolio-card { position: relative; overflow: hidden; background: var(--c-ink); }
.portfolio-card img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; opacity: 0.88; transition: transform 700ms var(--ease), opacity var(--dur-med) var(--ease); }
.portfolio-card:hover img { transform: scale(1.045); opacity: 1; }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,18,15,0.9) 0%, rgba(20,18,15,0.05) 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--c-paper);
}
.portfolio-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--c-oak);
  margin-bottom: 8px;
}
.portfolio-overlay h3 { color: var(--c-paper); margin-bottom: 3px; font-size: 1.15rem; }
.portfolio-overlay span { font-family: var(--font-mono); font-size: 0.78rem; color: #C9C2B4; }

/* ==========================================================================
   Testimonials — one featured quote (primary) + two quiet mentions (secondary)
   ========================================================================== */
.testimonial-feature {
  max-width: 700px;
  margin: 0 auto 64px;
  text-align: center;
}
.testimonial-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--c-oak);
  opacity: 0.4;
  margin-bottom: -0.35em;
}
.testimonial-quote {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 1.4vw + 1rem, 1.7rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
.testimonial-attribution { display: flex; align-items: center; justify-content: center; gap: 12px; }
.testimonial-attribution img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; filter: grayscale(0.4); }
.testimonial-attribution div { text-align: left; }
.testimonial-attribution strong { display: block; font-size: 0.92rem; font-weight: 600; }
.testimonial-attribution span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--c-ink-soft); }

.testimonial-minor-list {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 1px;
  background: var(--c-line);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
@media (min-width: 700px) { .testimonial-minor-list { grid-template-columns: repeat(2, 1fr); } }
.testimonial-minor { background: var(--c-paper); padding: 26px 30px; }
.testimonial-minor p { margin: 0 0 10px; color: var(--c-ink-soft); font-size: 0.95rem; line-height: 1.55; }
.testimonial-minor span { font-family: var(--font-mono); font-size: 0.68rem; color: var(--c-ink-soft); letter-spacing: 0.02em; }

/* ==========================================================================
   Closing statement — pure typography on ink, no stock photo, no button-box cliché
   ========================================================================== */
.closing { background: var(--c-ink); color: var(--c-paper); }
.closing-inner {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  padding-block: clamp(72px, 10vw, 128px);
}
.closing-inner .dim-line { margin-inline: auto; color: var(--c-oak); }
.closing-inner .ref-label { justify-content: center; color: var(--c-oak); }
.closing-heading { color: var(--c-paper); }
.closing-inner .lede { color: #C9C2B4; max-width: 42ch; margin-inline: auto; }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 30px; }
.closing-actions .btn-outline { border-color: rgba(245, 242, 236, 0.4); color: var(--c-paper); }
.closing-actions .btn-outline:hover { background: var(--c-paper); color: var(--c-ink); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 760px; margin-inline: auto; border-top: 1px solid var(--c-line); }
.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 10px;
  display: flex;
  align-items: baseline;
  gap: 16px;
  transition: background-color 400ms var(--ease);
}
.faq-item summary:hover { background: rgba(181, 121, 59, 0.04); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-code {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--c-oak-deep);
}
.faq-question {
  flex-grow: 1;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.4;
  color: var(--c-ink);
}
.faq-item summary .chevron { flex-shrink: 0; align-self: center; width: 18px; height: 18px; transition: transform var(--dur-fast) var(--ease); color: var(--c-oak); }
.faq-item[open] summary .chevron { transform: rotate(45deg); }
.faq-answer { padding: 0 10px 24px 68px; color: var(--c-ink-soft); max-width: var(--measure); }
@media (max-width: 520px) {
  .faq-answer { padding-left: 10px; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-wrap { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-wrap { grid-template-columns: 0.9fr 1.1fr; } }
.contact-info-list { display: flex; flex-direction: column; margin-top: 30px; border-top: 1px solid var(--c-line); }
.contact-info-item { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-block: 18px; border-bottom: 1px solid var(--c-line); }
.contact-info-item strong { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-ink-soft); font-weight: 500; }
.contact-info-item span, .contact-info-item a { font-family: var(--font-display); font-size: 1.05rem; color: var(--c-ink); }

.contact-form { padding-top: 4px; }
.form-row { display: grid; gap: 22px; margin-bottom: 22px; }
@media (min-width: 520px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; margin-bottom: 8px; color: var(--c-ink-soft); }
.field input, .field textarea {
  width: 100%;
  padding: 10px 2px;
  border: none;
  border-bottom: 1px solid var(--c-line);
  border-radius: 0;
  font: inherit;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--c-ink);
  background: transparent;
  min-height: 44px;
  transition: border-color var(--dur-fast) var(--ease);
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field textarea:focus {
  border-color: var(--c-oak);
  outline: none;
}
.field small { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--c-ink-soft); }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 10px; }

.form-success {
  text-align: center;
  padding-block: 40px 10px;
}
.form-success svg {
  width: 44px;
  height: 44px;
  color: var(--c-oak-deep);
  margin-inline: auto;
  margin-bottom: 16px;
}
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--c-ink-soft); margin: 0; }
.form-success:focus { outline: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding-block: 64px 30px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; border-bottom: 1px solid var(--c-line-on-dark); padding-bottom: 48px; align-items: start; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-wordmark { width: 170px; height: auto; color: var(--c-paper); }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.72rem; color: var(--c-paper); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; font-weight: 500; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: #C9C2B4; font-size: 0.94rem; transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover { color: var(--c-oak); }
.footer-bottom {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: #8A8272;
}
.footer-bottom a:hover { color: var(--c-paper); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
