/* ============================================================================
   Jay Rod's Custom Homes — San Antonio, TX
   Dark-luxury editorial system. Gold + black, drawn from the client's emblem.
   Archivo Black (display) / Hanken Grotesk (body). No libraries, native scroll.
   ========================================================================== */

/* ---- Fonts (self-hosted, latin subsets) -------------------------------- */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/archivo-black-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/hanken-var-latin.woff2') format('woff2-variations');
}

/* ---- Tokens ------------------------------------------------------------- */
:root {
  --bg: #0b0b0d;
  --bg-2: #111114;
  --panel: #17171c;
  --panel-2: #1d1d23;
  --ink: #f2efe8;
  --ink-dim: #cfcac0;
  --mut: #a39e93;
  --gold: #d3a94f;
  --gold-soft: #e5c67d;
  --gold-deep: #a97f2e;
  --paper: #f4f1e9;
  --paper-2: #eae6db;
  --ink-dark: #16150f;
  --mut-dark: #59554a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(22, 21, 15, 0.14);
  --disp: 'Archivo Black', 'Arial Black', sans-serif;
  --body: 'Hanken Grotesk', 'Segoe UI', system-ui, sans-serif;
  --wrap: 1180px;
  --gut: clamp(1.1rem, 4vw, 2.5rem);
  --sp-1: clamp(3.5rem, 9vw, 7rem);
  --sp-2: clamp(2.25rem, 6vw, 4.5rem);
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 22px 60px -18px rgba(0, 0, 0, 0.65);
  --ease: cubic-bezier(0.2, 0.65, 0.25, 1);
}

/* ---- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  font-weight: 420;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.06; text-wrap: balance; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--gold); color: #141005; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: #141005; font-weight: 700;
  padding: 0.7rem 1.2rem; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }
#topSentinel { position: absolute; top: 0; height: 1px; width: 1px; }

/* ---- Type system -------------------------------------------------------- */
.disp {
  font-family: var(--disp);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.kicker {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: 0.78rem; font-weight: 720; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  margin: 0 0 1.1rem;
}
.kicker::before {
  content: ''; width: 2rem; height: 2px; background: var(--gold);
  flex: none; border-radius: 2px;
}
.kicker.center { justify-content: center; }
.kicker.center::after {
  content: ''; width: 2rem; height: 2px; background: var(--gold);
  flex: none; border-radius: 2px;
}
.h-xl { font-size: clamp(2.35rem, 5.4vw, 4.1rem); }
.h-lg { font-size: clamp(1.85rem, 3.9vw, 2.9rem); }
.h-md { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.acc { color: var(--gold); }
.lede { font-size: clamp(1.06rem, 1.9vw, 1.24rem); color: var(--ink-dim); max-width: 60ch; }
.mut { color: var(--mut); }
.sep { color: var(--gold); font-weight: 700; padding: 0 0.35em; }

/* ---- Layout shells ------------------------------------------------------ */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-wide { max-width: 1420px; margin-inline: auto; padding-inline: var(--gut); }
.band { padding-block: var(--sp-1); position: relative; }
.band-tight { padding-block: var(--sp-2); }
.band-raise { background: var(--bg-2); }
.band-line { border-top: 1px solid var(--line); }
.band-light { background: var(--paper); color: var(--ink-dark); }
.band-light .kicker { color: var(--gold-deep); }
.band-light .kicker::before, .band-light .kicker.center::after { background: var(--gold-deep); }
.band-light .lede { color: #3d3a30; }
.band-light .mut { color: var(--mut-dark); }
.band-light .acc { color: var(--gold-deep); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--body); font-weight: 750; font-size: 0.99rem;
  letter-spacing: 0.015em; text-decoration: none; cursor: pointer;
  border-radius: 999px; padding: 0.95rem 1.7rem; min-height: 48px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-gold {
  background: linear-gradient(160deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  color: #171204;
  box-shadow: 0 10px 30px -10px rgba(211, 169, 79, 0.55);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(211, 169, 79, 0.6); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.band-light .btn-ghost { border-color: var(--line-dark); color: var(--ink-dark); background: rgba(22, 21, 15, 0.03); }
.band-light .btn-ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn-lg { padding: 1.1rem 2.1rem; font-size: 1.05rem; }
.btn svg { flex: none; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px;
}

/* ---- Nav ---------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding-top: env(safe-area-inset-top);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
  background: linear-gradient(rgba(8, 8, 10, 0.72), rgba(8, 8, 10, 0));
}
.nav.scrolled {
  background: rgba(10, 10, 13, 0.92);
  box-shadow: 0 1px 0 var(--line), 0 14px 40px -20px rgba(0, 0, 0, 0.8);
}
@supports (backdrop-filter: blur(12px)) {
  .nav.scrolled { background: rgba(10, 10, 13, 0.78); backdrop-filter: blur(14px); }
}
.nav-in {
  max-width: 1420px; margin-inline: auto; padding: 0.65rem var(--gut);
  display: flex; align-items: center; gap: 1.4rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; min-width: 0; }
.brand-logo {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  border: 1px solid rgba(211, 169, 79, 0.55);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  background: #000;
}
.brand-word { display: flex; flex-direction: column; line-height: 1.1; }
.brand-word b {
  font-family: var(--disp); font-weight: 400; font-size: 1.02rem;
  letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap;
}
.brand-word small {
  font-size: 0.64rem; font-weight: 650; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold);
}
.nav-links { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-weight: 620; font-size: 0.95rem; color: var(--ink-dim);
  padding: 0.35rem 0; position: relative; white-space: nowrap;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--gold); transition: right 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current='page']::after { right: 0; }
.nav-links a[aria-current='page'] { color: var(--ink); }
.nav-cta { margin-left: auto; }
.nav-links + .nav-cta { margin-left: 0; }
.nav-cta .btn { padding: 0.65rem 1.25rem; min-height: 42px; font-size: 0.92rem; }
.burger {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong);
  border-radius: 10px; width: 46px; height: 44px; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}
.burger svg { display: block; }
@media (max-width: 940px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: inline-flex; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 150; background: rgba(8, 8, 10, 0.97);
  display: flex; flex-direction: column; padding: calc(1rem + env(safe-area-inset-top)) 1.4rem 2rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.drawer.open { opacity: 1; visibility: visible; transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer-close {
  background: none; border: 1px solid var(--line-strong); color: var(--ink);
  border-radius: 10px; width: 46px; height: 44px; cursor: pointer;
}
.drawer nav { display: flex; flex-direction: column; gap: 0.2rem; margin-top: 2.2rem; }
.drawer nav a {
  font-family: var(--disp); text-transform: uppercase; text-decoration: none;
  font-size: clamp(1.6rem, 7vw, 2.2rem); padding: 0.55rem 0; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.drawer nav a:hover { color: var(--gold-soft); }
.drawer-foot { margin-top: auto; display: grid; gap: 0.8rem; }
.drawer-foot .btn { width: 100%; }

/* Mobile sticky call bar */
.msticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  padding: 0.6rem 0.9rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(10, 10, 13, 0.94); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.35s var(--ease);
}
.msticky.show { transform: none; }
.msticky .btn { width: 100%; }
@media (max-width: 700px) { .msticky { display: block; } body { padding-bottom: 0; } }

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: clip;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 30s var(--ease) both;
  transform-origin: 62% 38%;
}
@keyframes kenburns {
  from { transform: scale(1.12) translate(1.5%, 1%); }
  to { transform: scale(1) translate(0, 0); }
}
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(178deg, rgba(11, 11, 13, 0.62) 0%, rgba(11, 11, 13, 0.18) 34%, rgba(11, 11, 13, 0.32) 58%, rgba(11, 11, 13, 0.94) 88%, var(--bg) 100%),
    radial-gradient(120% 70% at 50% 108%, rgba(11, 11, 13, 0.85) 30%, transparent 70%);
}
.hero-emblem {
  position: relative; z-index: 2; margin: 0 auto;
  padding-top: calc(5.2rem + env(safe-area-inset-top));
  width: min(158px, 34vw);
}
.hero-emblem img {
  width: 100%; border-radius: 50%;
  border: 1px solid rgba(211, 169, 79, 0.5);
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.85), 0 0 0 6px rgba(0, 0, 0, 0.35);
  background: #000;
}
.hero-body {
  position: relative; z-index: 2; width: 100%;
  max-width: var(--wrap); margin-inline: auto;
  padding: 2.5rem var(--gut) clamp(4.2rem, 9vh, 6.5rem);
  text-align: left;
}
.hero-loc {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 720; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 1.2rem;
}
.hero-loc svg { flex: none; }
.hero h1 {
  font-size: clamp(2.6rem, 7.2vw, 5.4rem);
  max-width: 15ch; margin-bottom: 1.1rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.55);
}
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--ink-dim); max-width: 52ch; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-scroll {
  position: absolute; z-index: 2; right: clamp(1rem, 4vw, 2.6rem); bottom: 1.6rem;
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mut);
  writing-mode: vertical-rl;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 3.4rem;
  background: linear-gradient(var(--gold), transparent);
  animation: drip 2.2s var(--ease) infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (max-width: 700px) {
  .hero-scroll { display: none; }
  .hero-ctas .btn { width: 100%; }
}

/* ---- Marquee (pure CSS, pauses for reduced motion) ---------------------- */
.marq {
  overflow: hidden; border-block: 1px solid var(--line);
  background: var(--bg-2); padding: 0.95rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marq-track { display: flex; width: max-content; animation: marq 36s linear infinite; }
.marq-seq {
  display: flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem;
  font-family: var(--disp); text-transform: uppercase; white-space: nowrap;
  font-size: 0.95rem; letter-spacing: 0.14em; color: var(--ink-dim);
}
.marq-seq i { font-style: normal; color: var(--gold); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---- Editorial split ---------------------------------------------------- */
.ed { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 880px) {
  .ed { grid-template-columns: 1.05fr 0.95fr; }
  .ed.flip > .ed-media { order: 2; }
}
.ed-media { position: relative; }
.ed-media img { border-radius: var(--r-lg); box-shadow: var(--shadow); width: 100%; height: auto; }
.ed-media .tag {
  position: absolute; left: 1.1rem; bottom: 1.1rem;
  background: rgba(10, 10, 13, 0.82); border: 1px solid rgba(211, 169, 79, 0.4);
  color: var(--gold-soft); font-size: 0.72rem; font-weight: 720;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.5rem 0.9rem; border-radius: 999px;
}
@supports (backdrop-filter: blur(8px)) { .ed-media .tag { backdrop-filter: blur(8px); } }
.ed-stats { display: flex; flex-wrap: wrap; gap: 1.9rem 2.6rem; margin-top: 2rem; }
.ed-stats div { min-width: 7.5rem; }
.ed-stats b {
  display: block; font-family: var(--disp); font-size: 1.5rem;
  color: var(--gold); letter-spacing: 0.02em; margin-bottom: 0.15rem;
}
.ed-stats span { font-size: 0.85rem; color: var(--mut); letter-spacing: 0.05em; }

/* ---- Numbered service blocks (signature DNA) ---------------------------- */
.numblocks { display: grid; gap: clamp(3rem, 7vw, 5.5rem); }
.numb {
  display: grid; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center;
  position: relative;
}
@media (min-width: 900px) {
  .numb { grid-template-columns: 1fr 1fr; }
  .numb:nth-child(even) > .numb-media { order: 2; }
}
.numb-media { position: relative; }
.numb-media img { border-radius: var(--r-lg); box-shadow: var(--shadow); width: 100%; }
.numb-n {
  position: absolute; z-index: 1; top: -0.55em; left: -0.06em;
  font-family: var(--disp); font-size: clamp(4.6rem, 11vw, 8.5rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(211, 169, 79, 0.38);
  pointer-events: none; user-select: none;
}
.numb-copy { position: relative; padding-top: clamp(1.6rem, 4vw, 2.6rem); }
.numb-copy h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.numb-list { list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; display: grid; gap: 0.5rem; }
.numb-list li { display: flex; gap: 0.7rem; align-items: baseline; color: var(--ink-dim); }
.numb-list li::before { content: '//'; color: var(--gold); font-weight: 800; font-size: 0.85em; flex: none; }
.link-more {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--gold-soft); font-weight: 720; text-decoration: none; font-size: 0.99rem;
}
.link-more svg { transition: transform 0.25s var(--ease); }
.link-more:hover svg { transform: translateX(5px); }
.link-more:hover { color: var(--gold); }

/* ---- Full-bleed photo statement band ------------------------------------ */
.bleed {
  position: relative; overflow: clip;
  min-height: min(88svh, 780px);
  display: flex; align-items: flex-end;
}
.bleed > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(11, 11, 13, 0.25) 26%, rgba(11, 11, 13, 0.3) 60%, rgba(11, 11, 13, 0.96) 100%);
}
.bleed-copy {
  position: relative; z-index: 2; width: 100%;
  max-width: var(--wrap); margin-inline: auto;
  padding: clamp(6rem, 14vh, 9rem) var(--gut) clamp(3rem, 7vh, 4.5rem);
}
.bleed-copy h2 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 17ch; }
.bleed-copy .lede { max-width: 52ch; }

/* ---- Process timeline (signature scroll moment) ------------------------- */
.proc { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 960px) { .proc { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.proc-head { position: sticky; top: 6.2rem; align-self: start; }
@media (max-width: 959px) { .proc-head { position: static; } }
.proc-steps { display: grid; gap: 0; position: relative; }
.proc-steps::before {
  content: ''; position: absolute; left: 1.05rem; top: 1.4rem; bottom: 1.4rem;
  width: 2px; background: linear-gradient(var(--gold) 0%, rgba(211, 169, 79, 0.12) 100%);
}
.pstep { position: relative; padding: 0 0 2.6rem 3.2rem; }
.pstep:last-child { padding-bottom: 0; }
.pstep::before {
  content: ''; position: absolute; left: 0.55rem; top: 0.35rem;
  width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(211, 169, 79, 0.12);
}
.pstep b {
  display: block; font-family: var(--disp); text-transform: uppercase;
  font-size: 1.06rem; letter-spacing: 0.05em; margin-bottom: 0.3rem;
}
.pstep b i { font-style: normal; color: var(--gold); margin-right: 0.55rem; }
.pstep p { color: var(--mut); font-size: 0.98rem; max-width: 52ch; }
.pstep img {
  margin-top: 0.9rem; border-radius: var(--r);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--line);
}

/* ---- Projects grid ------------------------------------------------------ */
.projgrid { display: grid; gap: 1.4rem; }
@media (min-width: 720px) { .projgrid { grid-template-columns: repeat(12, 1fr); } }
.proj {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: 300px; display: flex; align-items: flex-end;
  text-decoration: none; box-shadow: var(--shadow); background: var(--panel);
}
@media (min-width: 720px) {
  .proj-a { grid-column: span 7; min-height: 430px; }
  .proj-b { grid-column: span 5; min-height: 430px; }
  .proj-c { grid-column: span 4; min-height: 330px; }
  .proj-d { grid-column: span 4; min-height: 330px; }
  .proj-e { grid-column: span 4; min-height: 330px; }
}
.proj img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.proj:hover img { transform: scale(1.05); }
.proj::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(185deg, rgba(11, 11, 13, 0) 38%, rgba(11, 11, 13, 0.88) 88%);
  transition: background 0.4s var(--ease);
}
.proj-copy { position: relative; z-index: 2; padding: 1.5rem 1.6rem; }
.proj-copy b {
  display: block; font-family: var(--disp); text-transform: uppercase;
  font-size: clamp(1.05rem, 2vw, 1.35rem); letter-spacing: 0.03em; color: var(--ink);
}
.proj-copy span {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-soft);
}

/* ---- Gallery masonry (projects page) ------------------------------------ */
.gal { columns: 3 300px; gap: 1.2rem; }
.gal figure {
  margin: 0 0 1.2rem; break-inside: avoid; border-radius: var(--r);
  overflow: hidden; position: relative; background: var(--panel);
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, 0.7);
}
.gal img { width: 100%; transition: transform 0.7s var(--ease); }
.gal figure:hover img { transform: scale(1.04); }
.gal figcaption {
  position: absolute; inset: auto 0 0; padding: 1.6rem 1rem 0.8rem;
  font-size: 0.8rem; font-weight: 680; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink-dim);
  background: linear-gradient(transparent, rgba(11, 11, 13, 0.88));
}

/* ---- Feature list cards (no icon-grid slop: ledger rows) ---------------- */
.ledger { display: grid; border-top: 1px solid var(--line); }
.ledger-row {
  display: grid; gap: 0.4rem 2rem; padding: 1.5rem 0.2rem;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr; align-items: baseline;
  transition: background 0.3s var(--ease), padding-left 0.3s var(--ease);
}
@media (min-width: 760px) { .ledger-row { grid-template-columns: 3.2rem 1fr 1.6fr; } }
.ledger-row:hover { background: rgba(211, 169, 79, 0.05); padding-left: 0.8rem; }
.ledger-n { font-family: var(--disp); color: transparent; -webkit-text-stroke: 1.5px rgba(211, 169, 79, 0.55); font-size: 1.3rem; }
.ledger-row h3, .ledger-row b { font-family: var(--disp); text-transform: uppercase; font-size: 1.08rem; letter-spacing: 0.04em; margin: 0; font-weight: 400; }
.ledger-row p { margin: 0; color: var(--mut); font-size: 0.98rem; }
.band-light .ledger { border-color: var(--line-dark); }
.band-light .ledger-row { border-color: var(--line-dark); }
.band-light .ledger-row p { color: var(--mut-dark); }
.band-light .ledger-row:hover { background: rgba(169, 127, 46, 0.07); }

/* ---- Area / chips ------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.4rem; }
.chip {
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 0.5rem 1.05rem; font-size: 0.88rem; font-weight: 640; color: var(--ink-dim);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold-soft); }
.chip-lead { background: var(--gold); border-color: var(--gold); color: #171204; font-weight: 760; }
.chip-lead:hover { color: #171204; }

/* ---- FAQ ----------------------------------------------------------------- */
.faq { display: grid; gap: 0.9rem; max-width: 820px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel); overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.faq details[open] { border-color: rgba(211, 169, 79, 0.45); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; padding: 1.15rem 1.35rem;
  font-weight: 700; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-family: var(--disp); color: var(--gold); font-size: 1.25rem;
  transition: transform 0.3s var(--ease); flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 1.35rem 1.25rem; color: var(--mut); }

/* ---- CTA band ------------------------------------------------------------ */
.cta {
  position: relative; overflow: clip; text-align: center;
  padding-block: clamp(4.5rem, 11vw, 8rem);
  background:
    radial-gradient(90% 130% at 50% -20%, rgba(211, 169, 79, 0.16), transparent 60%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.cta h2 { font-size: clamp(2.1rem, 5.4vw, 3.8rem); max-width: 18ch; margin-inline: auto; }
.cta .lede { margin-inline: auto; margin-bottom: 2.2rem; }
.cta-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.cta-note { margin-top: 1.4rem; font-size: 0.88rem; color: var(--mut); }
@media (max-width: 560px) { .cta-ctas .btn { width: 100%; } }

/* ---- Forms --------------------------------------------------------------- */
.form-shell {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}
.fgrid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .fgrid { grid-template-columns: 1fr 1fr; } .fgrid .full { grid-column: 1 / -1; } }
label { display: grid; gap: 0.4rem; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-dim); }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 0.85rem 1rem; min-height: 48px;
  transition: border-color 0.25s var(--ease);
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; }
input::placeholder, textarea::placeholder { color: #6b675e; }
textarea { min-height: 130px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 15px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-note { font-size: 0.85rem; color: var(--mut); margin-top: 0.9rem; }

/* ---- Contact page -------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.c-rows { display: grid; gap: 1rem; margin-top: 1.8rem; }
.c-row {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--panel);
  text-decoration: none; transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
a.c-row:hover { border-color: rgba(211, 169, 79, 0.5); transform: translateY(-2px); }
.c-row svg { flex: none; margin-top: 0.2rem; color: var(--gold); }
.c-row b { display: block; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mut); margin-bottom: 0.15rem; }
.c-row span { font-weight: 700; font-size: 1.06rem; overflow-wrap: anywhere; }

/* ---- Page hero (subpages) ------------------------------------------------ */
.page-hero {
  position: relative; overflow: clip;
  padding: clamp(9rem, 20vh, 12.5rem) 0 clamp(3rem, 7vh, 4.6rem);
  display: flex; align-items: flex-end; min-height: 62svh;
}
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 13, 0.68) 0%, rgba(11, 11, 13, 0.3) 45%, rgba(11, 11, 13, 0.95) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; width: 100%; }
.page-hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); max-width: 16ch; text-shadow: 0 4px 26px rgba(0, 0, 0, 0.6); }
.crumb {
  display: inline-flex; flex-wrap: wrap; gap: 0.55rem; align-items: center;
  font-size: 0.8rem; font-weight: 720; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 1.1rem;
}
.crumb a { color: var(--ink-dim); text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.crumb i { font-style: normal; color: var(--mut); }

/* ---- Footer -------------------------------------------------------------- */
footer.site {
  background: #080809; border-top: 1px solid var(--line);
  padding: var(--sp-2) 0 2rem;
}
.foot-grid { display: grid; gap: 2.4rem; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.foot-brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; margin-bottom: 1rem; }
.foot-brand img { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(211, 169, 79, 0.4); background: #000; }
.foot-brand b { font-family: var(--disp); text-transform: uppercase; font-size: 1.05rem; line-height: 1.2; display: block; }
.foot-brand small { color: var(--gold); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 650; }
footer.site p { color: var(--mut); font-size: 0.95rem; max-width: 34ch; }
.foot-h { font-size: 0.78rem; font-weight: 760; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.foot-links a { color: var(--ink-dim); text-decoration: none; font-size: 0.97rem; }
.foot-links a:hover { color: var(--gold-soft); }
.foot-base {
  margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.8rem; justify-content: space-between;
  font-size: 0.83rem; color: #716d64;
}
.foot-base a { color: inherit; }
.foot-base a:hover { color: var(--gold-soft); }

/* ---- Reveal (IO adds .in; content always visible without JS) ------------ */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal-d1.in { transition-delay: 0.08s; }
html.js .reveal-d2.in { transition-delay: 0.16s; }
html.js .reveal-d3.in { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
  .marq-track { animation: none; }
  .hero-scroll::after { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---- Small helpers ------------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.head-max { max-width: 22ch; }
.center .head-max { margin-inline: auto; }
.two-col { display: grid; gap: clamp(1.6rem, 4vw, 3rem); }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; } }
.img-duo { display: grid; gap: 1.2rem; }
@media (min-width: 700px) { .img-duo { grid-template-columns: 1fr 1fr; align-items: start; } }
.img-duo img { border-radius: var(--r); box-shadow: var(--shadow); width: 100%; }
