/* ============================================================
   CLOSED BY WHOM — Dark luxury design system
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #0D0C0A;
  --ink-2:      #141210;
  --ink-3:      #1C1916;
  --ivory:      #EDE8DE;
  --ivory-dim:  rgba(237, 232, 222, 0.5);
  --ivory-faint:rgba(237, 232, 222, 0.06);
  --gold:       #C4975A;
  --gold-dim:   rgba(196, 151, 90, 0.15);
  --gold-line:  rgba(196, 151, 90, 0.28);
  --gold-hover: #d4a86a;
  --ff-d:  'Cormorant Garamond', Georgia, serif;
  --ff-b:  'Outfit', system-ui, sans-serif;
}

body[data-city="miami"] {
  --gold:       #0EA5BA;
  --gold-dim:   rgba(14, 165, 186, 0.15);
  --gold-line:  rgba(14, 165, 186, 0.28);
  --gold-hover: #1ab8cf;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--ff-b);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}
@media (pointer: coarse) { body { cursor: auto; } }

body.lang-es [data-lang="en"] { display: none !important; }
body:not(.lang-es) [data-lang="es"] { display: none !important; }

/* ─── Motion keyframes ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideFromLeft {
  from { opacity: 0; transform: translateX(-44px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideFromRight {
  from { opacity: 0; transform: translateX(44px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes navDrop {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes eyebrowLine {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}
@keyframes grain {
  0%  { transform: translate(0,0); }
  10% { transform: translate(-2%,-3%); }
  20% { transform: translate(3%, 1%); }
  30% { transform: translate(-1%, 4%); }
  40% { transform: translate(4%,-1%); }
  50% { transform: translate(-3%, 3%); }
  60% { transform: translate(1%,-4%); }
  70% { transform: translate(-4%, 2%); }
  80% { transform: translate(2%,-2%); }
  90% { transform: translate(-2%, 4%); }
}
@keyframes kenBurns {
  0%   { transform: scale(1.0) translate(0,0); }
  100% { transform: scale(1.12) translate(-1.5%, -1%); }
}

nav { animation: navDrop 0.65s cubic-bezier(0.2,0,0,1) both; }

.eyebrow { animation: slideFromLeft 0.85s cubic-bezier(0.2,0,0,1) both; animation-delay: 0.18s; }
.eyebrow::before { animation: eyebrowLine 0.9s cubic-bezier(0.2,0,0,1) both; animation-delay: 0.22s; }
.h1-solid   { animation: fadeUp 0.95s cubic-bezier(0.2,0,0,1) both; animation-delay: 0.38s; }
.h1-outline { animation: fadeUp 0.95s cubic-bezier(0.2,0,0,1) both; animation-delay: 0.54s; }
.hero-sub   { animation: fadeUp 0.85s cubic-bezier(0.2,0,0,1) both; animation-delay: 0.72s; }
.hero-ctas  { animation: fadeUp 0.85s cubic-bezier(0.2,0,0,1) both; animation-delay: 0.90s; }
.hero-wm    { animation: fadeIn 1.2s ease both; animation-delay: 1.4s; }

.hero-aside .stat:nth-child(1) { animation: slideFromRight 0.7s cubic-bezier(0.2,0,0,1) both; animation-delay: 0.50s; }
.hero-aside .stat:nth-child(2) { animation: slideFromRight 0.7s cubic-bezier(0.2,0,0,1) both; animation-delay: 0.68s; }
.hero-aside .stat:nth-child(3) { animation: slideFromRight 0.7s cubic-bezier(0.2,0,0,1) both; animation-delay: 0.86s; }
.hero-aside .stat:nth-child(4) { animation: slideFromRight 0.7s cubic-bezier(0.2,0,0,1) both; animation-delay: 1.04s; }

/* Scroll reveals */
.r          { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(0.2,0,0,1), transform 0.8s cubic-bezier(0.2,0,0,1); }
.r.from-left  { transform: translateX(-36px); }
.r.from-right { transform: translateX(36px); }
.r.in         { opacity: 1; transform: none; }
.r.d1 { transition-delay: 0.10s; }
.r.d2 { transition-delay: 0.20s; }
.r.d3 { transition-delay: 0.30s; }
.r.d4 { transition-delay: 0.40s; }

/* Grain overlay */
#grain {
  position: fixed; inset: -20%; width: 140%; height: 140%;
  pointer-events: none; z-index: 9997;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  animation: grain 0.7s steps(1) infinite;
}

/* Cursor */
#c-dot, #c-ring {
  position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s;
}
#c-dot { width: 7px; height: 7px; background: var(--gold); transition: transform 0.12s ease, opacity 0.2s; }
#c-ring { width: 30px; height: 30px; border: 1px solid var(--gold-line); z-index: 9998; transition: width 0.22s ease, height 0.22s ease, border-color 0.22s; }
#c-ring.hov { width: 50px; height: 50px; border-color: var(--gold); opacity: 0.55; }

/* ─── Nav ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 72px;
  display: flex; align-items: center;
  padding: 0 52px;
  border-bottom: 1px solid var(--gold-line);
  background: rgba(13, 12, 10, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-brand {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--ff-d); font-style: italic;
  font-size: 21px; font-weight: 400; color: var(--gold);
  text-decoration: none; letter-spacing: 0.025em;
  flex-shrink: 0; transition: color 0.3s;
}
.nav-brand:hover { color: var(--gold-hover); }
.logo-mark { flex-shrink: 0; color: var(--gold); transition: color 0.3s; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; flex: 1; justify-content: center; }
.nav-links a {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ivory); text-decoration: none; opacity: 0.6;
  position: relative; padding-bottom: 2px;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-end { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.nav-phone { font-size: 11.5px; color: var(--ivory-dim); text-decoration: none; letter-spacing: 0.04em; transition: color 0.25s; }
.nav-phone:hover { color: var(--gold); }
.lang-btn, .city-btn {
  font-family: var(--ff-b); font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ivory-dim); background: none; border: none; cursor: none;
  transition: color 0.2s; padding: 0;
}
.lang-btn { font-size: 10px; }
.city-btn { font-size: 9.5px; }
.lang-btn:hover, .city-btn:hover, .city-btn.active { color: var(--gold); }
.city-sep { color: var(--ivory-dim); opacity: 0.35; font-size: 11px; user-select: none; }

/* Buttons */
.btn-fill, .btn-line {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  font-family: var(--ff-b); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  text-decoration: none; cursor: none;
  white-space: nowrap;
}
.btn-fill {
  background: var(--gold); color: var(--ink); border: none;
  transition: background 0.25s, transform 0.18s, box-shadow 0.25s;
}
.btn-fill:hover { background: var(--gold-hover); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(196,151,90,0.22); }
.btn-line {
  background: transparent; color: var(--gold); font-weight: 500;
  border: 1px solid var(--gold-line);
  transition: background 0.25s, border-color 0.25s, transform 0.18s;
}
.btn-line:hover { background: var(--gold-dim); border-color: var(--gold); transform: translateY(-1px); }

/* Inline link (consistent across all sections) */
a.link-gold,
.office-detail a,
.ft-contact a {
  color: var(--gold); text-decoration: none;
  background-image: linear-gradient(to right, var(--gold), var(--gold));
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.32s ease, color 0.22s;
}
a.link-gold:hover,
.office-detail a:hover,
.ft-contact a:hover { background-size: 100% 1px; color: var(--gold-hover); }

/* ─── Hero (homepage) ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 300px;
  padding-top: 72px;
  position: relative;
}
.hero-body {
  display: flex; flex-direction: column; justify-content: center;
  padding: 88px 72px 80px;
  position: relative;
  z-index: 3;
}
.hero-media {
  position: absolute; inset: 72px 300px 0 0;
  overflow: hidden; z-index: 1;
}
.hero-media video,
.hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  animation: kenBurns 22s ease-out forwards;
  filter: brightness(0.36) contrast(1.05) saturate(0.85);
}
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 0% 50%, rgba(13,12,10,0.95) 0%, rgba(13,12,10,0.55) 45%, transparent 75%),
    linear-gradient(180deg, rgba(13,12,10,0.55) 0%, rgba(13,12,10,0.20) 30%, rgba(13,12,10,0.55) 100%);
  pointer-events: none;
}
.eyebrow {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 36px;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: ''; display: block;
  width: 36px; height: 1px;
  background: var(--gold); opacity: 0.55; flex-shrink: 0;
}
.hero-h1 { font-family: var(--ff-d); font-weight: 300; line-height: 0.97; letter-spacing: -0.01em; }
.h1-solid   { display: block; font-size: clamp(68px, 8.5vw, 120px); color: var(--ivory); }
.h1-outline { display: block; font-size: clamp(68px, 8.5vw, 120px); font-style: italic; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.hero-sub   { margin-top: 40px; font-size: 14px; font-weight: 300; color: var(--ivory-dim); max-width: 400px; line-height: 1.85; }
.hero-ctas  { margin-top: 48px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-wm    {
  position: absolute; bottom: 44px; left: 72px;
  font-family: var(--ff-d); font-size: 10px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(196,151,90,0.10);
  pointer-events: none; user-select: none;
}

/* Stats sidebar */
.hero-aside {
  border-left: 1px solid var(--gold-line);
  background: var(--ink-2);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 48px;
  position: relative; z-index: 3;
}
.stat { padding: 36px 0; border-bottom: 1px solid var(--ivory-faint); transition: background 0.3s; }
.stat:last-child { border-bottom: none; }
.stat-n {
  font-family: var(--ff-d); font-size: 56px; font-weight: 300;
  color: var(--ivory); line-height: 1; letter-spacing: -0.025em;
  transition: color 0.3s;
}
.stat:hover .stat-n { color: var(--gold); }
.stat-n sup { font-size: 0.45em; vertical-align: super; color: var(--gold); font-weight: 400; }
.stat-l { margin-top: 6px; font-size: 9.5px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ivory-dim); }

/* ─── Page hero (sub-pages, no aside) ─── */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex; align-items: flex-end;
  padding: 132px 72px 64px;
  border-bottom: 1px solid var(--gold-line);
  overflow: hidden;
}
.page-hero-media {
  position: absolute; inset: 0; z-index: 1;
}
.page-hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenBurns 26s ease-out forwards;
  filter: brightness(0.32) contrast(1.05) saturate(0.85);
}
.page-hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 80% at 0% 100%, rgba(13,12,10,0.92) 0%, rgba(13,12,10,0.35) 55%, transparent 85%),
    linear-gradient(180deg, rgba(13,12,10,0.55) 0%, rgba(13,12,10,0.20) 40%, rgba(13,12,10,0.65) 100%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; max-width: 900px; }
.page-h1 {
  font-family: var(--ff-d); font-weight: 300;
  font-size: clamp(48px, 6vw, 96px); line-height: 0.98; letter-spacing: -0.01em;
  margin-bottom: 18px; color: var(--ivory);
}
.page-h1 em { font-style: italic; color: var(--gold); }
.page-sub { font-size: 15px; color: var(--ivory-dim); max-width: 560px; line-height: 1.85; }

/* ─── Credential bar ─── */
.cred-bar {
  background: var(--ink-3);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  padding: 20px 52px;
  display: flex; align-items: center;
  justify-content: space-between;
  overflow-x: auto; gap: 0;
}
.cred-item { flex: 1; text-align: center; padding: 0 20px; min-width: 110px; transition: transform 0.3s; }
.cred-item:hover { transform: translateY(-2px); }
.cred-l { font-size: 8.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-dim); display: block; margin-bottom: 4px; }
.cred-v { font-family: var(--ff-d); font-size: 14px; font-weight: 500; color: var(--gold); letter-spacing: 0.04em; transition: color 0.3s; }
.cred-item:hover .cred-v { color: var(--gold-hover); }
.cred-sep { width: 1px; height: 34px; background: var(--gold-line); flex-shrink: 0; }

/* ─── Section scaffolding ─── */
.wrap    { padding: 112px 72px; }
.wrap-sm { padding: 80px 72px; }
.sec-head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 64px; }
.sec-n {
  font-family: var(--ff-d); font-size: 10.5px; font-weight: 400;
  letter-spacing: 0.2em; color: var(--gold); opacity: 0.65;
  margin-top: 6px; flex-shrink: 0;
}
.sec-t {
  font-family: var(--ff-d); font-size: clamp(38px, 4vw, 58px);
  font-weight: 300; line-height: 1.08; letter-spacing: -0.01em;
}
.sec-t em { font-style: italic; color: var(--gold); }
.sec-intro { max-width: 640px; margin-top: 18px; color: var(--ivory-dim); font-size: 14.5px; line-height: 1.85; }

/* ─── Services cards ─── */
.svcs-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--gold-line); }
.svc {
  padding: 48px 40px; border-right: 1px solid var(--gold-line);
  position: relative; overflow: hidden; transition: background 0.35s;
}
.svc:last-child { border-right: none; }
.svc::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.2,0,0,1);
}
.svc:hover::before { transform: scaleX(1); }
.svc:hover { background: var(--ink-2); }
.svc-n { font-family: var(--ff-d); font-size: 10.5px; font-weight: 400; letter-spacing: 0.2em; color: var(--gold); opacity: 0.55; margin-bottom: 20px; }
.svc-t { font-family: var(--ff-d); font-size: 27px; font-weight: 400; line-height: 1.2; margin-bottom: 16px; }
.svc-d { font-size: 13.5px; font-weight: 300; color: var(--ivory-dim); line-height: 1.85; }

/* ─── Process steps ─── */
.process-bg { background: var(--ink-2); border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.step {
  padding: 48px 40px; border-right: 1px solid var(--ivory-faint);
  position: relative; overflow: hidden; transition: background 0.3s;
}
.step::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.2,0,0,1);
}
.step:hover::after { transform: scaleX(1); }
.step:hover { background: rgba(196,151,90,0.03); }
.step:last-child { border-right: none; }
.step-bg {
  font-family: var(--ff-d); font-size: 80px; font-weight: 300;
  color: var(--gold); opacity: 0.10; line-height: 1;
  margin-bottom: 20px; pointer-events: none; user-select: none;
  transition: opacity 0.3s;
}
.step:hover .step-bg { opacity: 0.18; }
.step-t { font-family: var(--ff-d); font-size: 22px; font-weight: 400; margin-bottom: 12px; }
.step-d { font-size: 13px; font-weight: 300; color: var(--ivory-dim); line-height: 1.85; }

/* ─── CTA band ─── */
.cta-band {
  padding: 100px 72px;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 80px;
  border-bottom: 1px solid var(--gold-line);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 100% 50%, rgba(196,151,90,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.cta-h { font-family: var(--ff-d); font-size: clamp(40px, 5vw, 68px); font-weight: 300; line-height: 1.08; }
.cta-h em { font-style: italic; color: var(--gold); }
.cta-acts { display: flex; flex-direction: column; gap: 14px; align-items: stretch; min-width: 200px; }

/* ─── Offices ─── */
.offices-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--gold-line); }
.office { padding: 56px 52px; background: var(--ink-2); border-right: 1px solid var(--gold-line); transition: background 0.3s; }
.office:last-child { border-right: none; }
.office:hover { background: var(--ink-3); }
.office-city { font-family: var(--ff-d); font-size: 34px; font-weight: 300; margin-bottom: 28px; }
.office-detail { font-size: 13px; font-weight: 300; color: var(--ivory-dim); line-height: 1.9; }
.office-detail strong {
  display: block; font-weight: 500; color: var(--ivory);
  font-size: 9.5px; letter-spacing: 0.15em; text-transform: uppercase;
  margin-top: 22px; margin-bottom: 4px;
}
.office-detail strong:first-child { margin-top: 0; }

/* ─── Feature image row (used on service & process pages) ─── */
.feature-row {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 0; align-items: stretch;
  border: 1px solid var(--gold-line);
  margin-bottom: 32px;
}
.feature-row.reverse { grid-template-columns: 1fr 1.05fr; }
.feature-row.reverse .feature-text { order: -1; }
.feature-img {
  position: relative; overflow: hidden;
  min-height: 420px; background: var(--ink-3);
}
.feature-img img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
  filter: brightness(0.62) contrast(1.05) saturate(0.85);
  transition: transform 0.6s cubic-bezier(0.2,0,0,1), filter 0.5s;
}
.feature-row:hover .feature-img img { transform: scale(1.05); filter: brightness(0.74) contrast(1.05) saturate(0.95); }
.feature-text {
  padding: 56px 52px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--ink-2);
  border-left: 1px solid var(--gold-line);
}
.feature-row.reverse .feature-text { border-left: none; border-right: 1px solid var(--gold-line); }
.feature-eyebrow {
  font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); opacity: 0.85; margin-bottom: 22px;
  display: flex; align-items: center; gap: 14px;
}
.feature-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); opacity: 0.6; }
.feature-title { font-family: var(--ff-d); font-size: clamp(32px, 3vw, 44px); font-weight: 400; line-height: 1.12; margin-bottom: 22px; }
.feature-title em { font-style: italic; color: var(--gold); }
.feature-copy { color: var(--ivory-dim); font-size: 14.5px; line-height: 1.85; max-width: 480px; margin-bottom: 26px; }
.feature-list { list-style: none; margin-bottom: 6px; }
.feature-list li {
  position: relative; padding-left: 26px; margin-bottom: 10px;
  font-size: 13.5px; color: var(--ivory); font-weight: 300;
}
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 14px; height: 1px; background: var(--gold);
}

/* ─── Forms ─── */
.form-shell {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--gold-line); background: var(--ink-2);
}
.form-side {
  padding: 56px 52px; border-right: 1px solid var(--gold-line);
  background: var(--ink-3);
  display: flex; flex-direction: column; justify-content: space-between;
}
.form-side-title { font-family: var(--ff-d); font-size: 36px; font-weight: 300; line-height: 1.12; margin-bottom: 22px; }
.form-side-title em { font-style: italic; color: var(--gold); }
.form-side-copy { color: var(--ivory-dim); font-size: 14px; line-height: 1.85; }
.form-side-meta { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--ivory-faint); font-size: 11.5px; color: var(--ivory-dim); }
.form-side-meta strong { display: block; color: var(--gold); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 6px; font-weight: 500; }

.form-body { padding: 56px 52px; display: flex; flex-direction: column; gap: 22px; }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field     { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ivory-dim);
}
.field input,
.field select,
.field textarea {
  font-family: var(--ff-b); font-size: 14px; font-weight: 300;
  background: transparent; color: var(--ivory);
  border: none; border-bottom: 1px solid var(--gold-line);
  padding: 10px 0 12px; outline: none;
  transition: border-color 0.25s;
  caret-color: var(--gold);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(237,232,222,0.25); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.field select option { background: var(--ink-2); color: var(--ivory); }
.form-actions { margin-top: 14px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { font-size: 11.5px; color: var(--ivory-dim); max-width: 360px; }

/* ─── Calculator widget ─── */
.calc-shell {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border: 1px solid var(--gold-line); background: var(--ink-2);
  overflow: hidden;
}
.calc-inputs { padding: 56px 52px; display: flex; flex-direction: column; gap: 24px; }
.calc-result {
  padding: 56px 52px; background: var(--ink-3);
  border-left: 1px solid var(--gold-line);
  display: flex; flex-direction: column; justify-content: center;
}
.calc-line { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--ivory-faint); }
.calc-line:last-of-type { border-bottom: none; }
.calc-line .l { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ivory-dim); }
.calc-line .v { font-family: var(--ff-d); font-size: 22px; font-weight: 400; color: var(--ivory); letter-spacing: -0.01em; }
.calc-total .v { font-size: 38px; color: var(--gold); }
.calc-disclaimer { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--ivory-faint); font-size: 11px; color: var(--ivory-dim); line-height: 1.7; }

/* ─── Tracker widget ─── */
.tracker-shell {
  border: 1px solid var(--gold-line); background: var(--ink-2);
  padding: 56px 52px;
}
.tracker-search {
  display: grid; grid-template-columns: 1fr auto; gap: 20px;
  align-items: end; margin-bottom: 48px;
}
.tracker-status {
  display: none; border-top: 1px solid var(--gold-line); padding-top: 40px;
}
.tracker-status.open { display: block; animation: fadeIn 0.35s ease; }
.tracker-track {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  position: relative; margin-bottom: 36px;
}
.tracker-track::before {
  content: ''; position: absolute; left: 5%; right: 5%; top: 24px;
  height: 1px; background: var(--ivory-faint);
}
.tracker-track::after {
  content: ''; position: absolute; left: 5%; top: 24px;
  width: 60%; height: 1px; background: var(--gold);
  transition: width 0.5s ease;
}
.tt-node { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; }
.tt-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink-2); border: 1px solid var(--gold-line);
  margin-top: 18px; margin-bottom: 18px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.tt-node.done .tt-dot { background: var(--gold); border-color: var(--gold); }
.tt-node.current .tt-dot { background: var(--gold); border-color: var(--gold); transform: scale(1.35); box-shadow: 0 0 0 4px rgba(196,151,90,0.18); }
.tt-l { font-size: 10px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ivory-dim); }
.tt-node.done .tt-l, .tt-node.current .tt-l { color: var(--gold); }
.tt-d { margin-top: 4px; font-size: 11px; color: var(--ivory-dim); }

/* ─── FAQ accordion ─── */
.faq { border-top: 1px solid var(--gold-line); }
.faq-item { border-bottom: 1px solid var(--gold-line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 0; cursor: none;
  font-family: var(--ff-d); font-size: 21px; font-weight: 400; color: var(--ivory);
  transition: color 0.25s;
}
.faq-q:hover { color: var(--gold); }
.faq-q .arr {
  font-family: var(--ff-b); font-size: 24px; color: var(--gold); margin-left: 24px;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-q .arr { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.2,0,0,1);
  color: var(--ivory-dim); font-size: 14px; line-height: 1.85;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding-bottom: 28px; max-width: 720px; }

/* ─── Article (privacy / terms) ─── */
.article {
  max-width: 800px; margin: 0 auto;
  font-size: 14.5px; line-height: 1.85; color: var(--ivory-dim);
}
.article h2 {
  font-family: var(--ff-d); font-size: 28px; font-weight: 400;
  color: var(--ivory); margin: 56px 0 18px; line-height: 1.2;
}
.article h2:first-child { margin-top: 0; }
.article p { margin-bottom: 18px; }
.article ul { margin: 0 0 22px 22px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--ivory); font-weight: 500; }
.article a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-line); transition: color 0.2s, border-color 0.2s; }
.article a:hover { color: var(--gold-hover); border-color: var(--gold); }

/* ─── Quote block (about / process pages) ─── */
.pullquote {
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  padding: 80px 72px;
  text-align: center; background: var(--ink-2);
}
.pullquote q {
  font-family: var(--ff-d); font-style: italic;
  font-size: clamp(28px, 3vw, 44px); font-weight: 300;
  line-height: 1.25; color: var(--ivory);
  quotes: '\201C' '\201D'; display: block; max-width: 980px; margin: 0 auto;
}
.pullquote q::before { color: var(--gold); margin-right: 4px; }
.pullquote q::after { color: var(--gold); margin-left: 4px; }
.pullquote cite {
  display: block; margin-top: 36px; font-style: normal;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}

/* ─── Footer ─── */
footer {
  background: var(--ink-2); border-top: 1px solid var(--gold-line);
  padding: 72px 72px 40px;
}
.ft-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 64px;
  padding-bottom: 56px; border-bottom: 1px solid var(--ivory-faint);
}
.ft-brand { font-family: var(--ff-d); font-style: italic; font-size: 25px; font-weight: 400; color: var(--gold); margin-bottom: 20px; }
.ft-tagline { font-size: 12.5px; font-weight: 300; color: var(--ivory-dim); line-height: 1.85; max-width: 230px; }
.ft-h { font-size: 9px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.ft-links { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.ft-links a {
  font-size: 13px; font-weight: 300; color: rgba(237,232,222,0.55);
  text-decoration: none; display: inline-block;
  position: relative; padding-left: 0;
  transition: color 0.22s, padding-left 0.22s;
}
.ft-links a::before {
  content: '–'; position: absolute; left: -16px; opacity: 0;
  color: var(--gold); font-size: 11px;
  transition: opacity 0.22s, left 0.22s;
}
.ft-links a:hover { color: var(--gold); padding-left: 20px; }
.ft-links a:hover::before { opacity: 1; left: 0; }
.ft-contact { font-size: 13px; font-weight: 300; color: var(--ivory-dim); line-height: 1.95; }
.ft-bottom { padding-top: 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.ft-copy { font-size: 11px; color: var(--ivory-dim); letter-spacing: 0.03em; }
.ft-copy a { color: rgba(237,232,222,0.5); text-decoration: none; transition: color 0.2s; }
.ft-copy a:hover { color: var(--ivory); }
.ft-lic { font-size: 10px; color: rgba(237,232,222,0.3); letter-spacing: 0.03em; }

/* ─── Portal overlay ─── */
.overlay {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(13, 12, 10, 0.97); backdrop-filter: blur(16px);
  align-items: center; justify-content: center;
  flex-direction: column; text-align: center; padding: 64px;
}
.overlay.open { display: flex; animation: fadeIn 0.3s ease; }
.overlay-close {
  position: absolute; top: 32px; right: 52px;
  background: none; border: none; cursor: none;
  font-size: 26px; color: var(--ivory-dim);
  transition: color 0.2s, transform 0.2s; line-height: 1;
}
.overlay-close:hover { color: var(--ivory); transform: rotate(90deg); }
.overlay-t { font-family: var(--ff-d); font-size: 52px; font-weight: 300; font-style: italic; margin-bottom: 20px; }
.overlay-s { font-size: 14px; color: var(--ivory-dim); max-width: 380px; margin-bottom: 44px; line-height: 1.85; }

/* ─── Page-load curtain (orchestrated reveal) ─── */
#curtain {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; grid-template-columns: repeat(6, 1fr);
  pointer-events: none;
}
#curtain .bar {
  background: var(--ink); position: relative;
  transform: translateY(0);
  animation: curtainUp 1.1s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}
#curtain .bar::after {
  content: ''; position: absolute; right: -1px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-line) 30%, var(--gold-line) 70%, transparent);
  opacity: 0.4;
}
#curtain .bar:nth-child(1) { animation-delay: 0.10s; }
#curtain .bar:nth-child(2) { animation-delay: 0.18s; }
#curtain .bar:nth-child(3) { animation-delay: 0.26s; }
#curtain .bar:nth-child(4) { animation-delay: 0.34s; }
#curtain .bar:nth-child(5) { animation-delay: 0.42s; }
#curtain .bar:nth-child(6) { animation-delay: 0.50s; }
@keyframes curtainUp {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-101%); }
}
body.curtain-done #curtain { display: none; }

/* ─── Scroll progress hairline ─── */
#scrollbar {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(to right, transparent, var(--gold));
  z-index: 9996; pointer-events: none;
  transition: width 0.05s linear;
}

/* ─── Word-by-word mask reveal ─── */
.w-clip { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.04em; line-height: 1; }
.w-inner {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.95s cubic-bezier(0.2, 0, 0, 1);
  will-change: transform;
}
.w-revealed .w-inner { transform: translateY(0); }
/* Stagger between words is applied via inline style by JS (transition-delay) */

/* ─── Magnetic CTA buttons (transforms applied by JS) ─── */
.btn-fill, .btn-line {
  will-change: transform;
}

/* ─── Marquee ticker (Webflow-showcase staple) ─── */
.marquee {
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  background: var(--ink-2);
  overflow: hidden;
  padding: 26px 0;
  position: relative;
}
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marqueeScroll 38s linear infinite;
  gap: 60px;
}
.marquee-track span {
  font-family: var(--ff-d); font-style: italic; font-weight: 300;
  font-size: clamp(38px, 5vw, 64px); color: var(--ivory); letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 60px;
}
.marquee-track span::after {
  content: '·'; color: var(--gold); font-size: 0.5em; opacity: 0.8;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ─── Sticky cinematic chapter (process page) ─── */
.cine {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.cine-stage {
  position: sticky; top: 72px;
  height: calc(100vh - 72px);
  background: var(--ink-2);
  border-right: 1px solid var(--gold-line);
  overflow: hidden;
}
.cine-stage-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.5) contrast(1.05) saturate(0.85);
  opacity: 0; transition: opacity 0.7s cubic-bezier(0.2,0,0,1);
}
.cine-stage-img.active { opacity: 1; }
.cine-stage-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,12,10,0.4), rgba(13,12,10,0.1) 35%, rgba(13,12,10,0.55));
  pointer-events: none;
}
.cine-stage-num {
  position: absolute; left: 56px; bottom: 48px;
  font-family: var(--ff-d); font-weight: 300;
  font-size: clamp(140px, 16vw, 220px); line-height: 0.85;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold);
  pointer-events: none; transition: opacity 0.5s;
}
.cine-chapters { display: flex; flex-direction: column; }
.cine-chapter {
  min-height: calc(100vh - 72px);
  padding: 120px 72px;
  display: flex; flex-direction: column; justify-content: center;
  border-bottom: 1px solid var(--gold-line);
}
.cine-chapter:last-child { border-bottom: none; }
.cine-step {
  font-size: 10px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px; opacity: 0.85;
  display: flex; align-items: center; gap: 14px;
}
.cine-step::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); opacity: 0.6; }
.cine-title { font-family: var(--ff-d); font-size: clamp(46px, 5vw, 76px); font-weight: 300; line-height: 1.0; letter-spacing: -0.015em; margin-bottom: 28px; }
.cine-title em { font-style: italic; color: var(--gold); }
.cine-copy { font-size: 16px; color: var(--ivory-dim); line-height: 1.78; max-width: 480px; margin-bottom: 32px; }
.cine-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  padding-top: 28px; border-top: 1px solid var(--gold-line); max-width: 520px;
}
.cine-meta-cell .l { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-dim); margin-bottom: 6px; }
.cine-meta-cell .v { font-family: var(--ff-d); font-size: 18px; color: var(--gold); font-weight: 400; }
@media (max-width: 1100px) {
  .cine { grid-template-columns: 1fr; }
  .cine-stage { position: relative; height: 50vh; top: 0; border-right: none; border-bottom: 1px solid var(--gold-line); }
  .cine-chapter { min-height: 0; padding: 80px 32px; }
}

/* ─── Offices split-screen ─── */
.cities {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--gold-line);
}
.city-panel {
  position: relative; padding: 96px 64px; min-height: 80vh;
  border-right: 1px solid var(--gold-line);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
}
.city-panel:last-child { border-right: none; }
.city-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.32) contrast(1.05) saturate(0.85);
  transition: transform 0.8s cubic-bezier(0.2,0,0,1), filter 0.5s;
}
.city-panel:hover .city-bg { transform: scale(1.06); filter: brightness(0.42) saturate(0.95); }
.city-panel::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(13,12,10,0.35), rgba(13,12,10,0.2) 50%, rgba(13,12,10,0.85));
  pointer-events: none;
}
.city-panel > * { position: relative; z-index: 2; }
.city-eyebrow { font-size: 10px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.city-name {
  font-family: var(--ff-d); font-size: clamp(60px, 7vw, 120px); font-weight: 300;
  line-height: 0.95; letter-spacing: -0.02em; color: var(--ivory);
}
.city-name em { font-style: italic; color: var(--gold); }
.city-details {
  margin-top: auto; padding-top: 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px;
  border-top: 1px solid var(--gold-line);
}
.city-details .l { font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-dim); margin-bottom: 8px; }
.city-details .v { font-family: var(--ff-d); font-size: 18px; color: var(--ivory); line-height: 1.4; }
.city-details .v a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-line); }
.city-details .v a:hover { color: var(--gold-hover); border-color: var(--gold); }
@media (max-width: 1100px) {
  .cities { grid-template-columns: 1fr; }
  .city-panel { border-right: none; border-bottom: 1px solid var(--gold-line); min-height: 60vh; }
}

/* ─── Vault portal page ─── */
.vault {
  min-height: calc(100vh - 72px);
  padding: 96px 32px;
  display: grid; grid-template-columns: 1fr 1px 1fr;
  gap: 48px; align-items: center; max-width: 1200px; margin: 0 auto;
}
.vault-rule { background: var(--gold-line); height: 70vh; }
.vault-left { text-align: right; padding-right: 12px; }
.vault-right { padding-left: 12px; }
.vault-eyebrow { font-size: 10px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.vault-title {
  font-family: var(--ff-d); font-weight: 300;
  font-size: clamp(64px, 7vw, 120px); line-height: 0.96; letter-spacing: -0.015em;
}
.vault-title em { font-style: italic; color: var(--gold); }
.vault-copy { color: var(--ivory-dim); margin-top: 24px; font-size: 14.5px; line-height: 1.85; max-width: 360px; }
.vault-form { display: flex; flex-direction: column; gap: 24px; max-width: 380px; }
.vault-actions { display: flex; gap: 14px; align-items: center; margin-top: 8px; }
.vault-actions a { font-size: 11.5px; color: var(--ivory-dim); }
@media (max-width: 900px) {
  .vault { grid-template-columns: 1fr; gap: 56px; }
  .vault-rule { display: none; }
  .vault-left { text-align: left; padding-right: 0; }
  .vault-right { padding-left: 0; }
}

/* ─── Wizard form ─── */
.wizard { display: grid; grid-template-columns: 280px 1fr; gap: 0; border: 1px solid var(--gold-line); background: var(--ink-2); }
.wizard-rail {
  padding: 56px 36px; background: var(--ink-3);
  border-right: 1px solid var(--gold-line);
  display: flex; flex-direction: column; gap: 30px;
}
.wizard-step {
  display: flex; align-items: flex-start; gap: 16px;
  font-size: 13.5px; font-weight: 300; color: var(--ivory-dim);
  position: relative; padding-left: 0;
}
.wizard-step .n {
  font-family: var(--ff-d); font-size: 22px; color: var(--gold); opacity: 0.5;
  width: 32px; flex-shrink: 0;
}
.wizard-step .t { font-family: var(--ff-d); font-size: 16px; color: var(--ivory); line-height: 1.3; }
.wizard-step .d { font-size: 11.5px; color: var(--ivory-dim); margin-top: 4px; line-height: 1.55; }
.wizard-step.active .n { opacity: 1; color: var(--gold); }
.wizard-step.active .t { color: var(--gold); }
.wizard-body { padding: 56px 56px; }
.wizard-section { display: none; }
.wizard-section.active { display: block; animation: fadeIn 0.4s ease; }
.wizard-eyebrow { font-size: 10px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.wizard-title { font-family: var(--ff-d); font-size: 36px; font-weight: 300; line-height: 1.15; margin-bottom: 36px; }
.wizard-title em { font-style: italic; color: var(--gold); }
.wizard-nav { margin-top: 36px; display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--gold-line); }
.wizard-progress { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ivory-dim); }
.wizard-progress strong { color: var(--gold); font-weight: 500; }
@media (max-width: 900px) {
  .wizard { grid-template-columns: 1fr; }
  .wizard-rail { border-right: none; border-bottom: 1px solid var(--gold-line); padding: 32px; gap: 18px; }
  .wizard-body { padding: 32px; }
}

/* ─── Calculator instrument ─── */
.instrument {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border: 1px solid var(--gold-line); background: var(--ink-2);
  overflow: hidden;
}
.instr-inputs { padding: 64px 56px; }
.instr-readout {
  padding: 64px 56px; background: linear-gradient(180deg, var(--ink-3) 0%, #110f0d 100%);
  border-left: 1px solid var(--gold-line);
  position: relative;
}
.instr-readout::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 23px, rgba(196,151,90,0.025) 24px),
    repeating-linear-gradient(90deg, transparent 0, transparent 23px, rgba(196,151,90,0.025) 24px);
  pointer-events: none;
}
.instr-readout > * { position: relative; z-index: 1; }
.instr-eyebrow { font-size: 10px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
.instr-section-title { font-family: var(--ff-d); font-size: 32px; font-weight: 300; margin-bottom: 36px; }
.instr-line { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--ivory-faint); }
.instr-line:last-of-type { border-bottom: none; }
.instr-line .l { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-dim); }
.instr-line .v { font-family: var(--ff-d); font-size: 22px; font-weight: 400; color: var(--ivory); letter-spacing: -0.01em; }
.instr-total { margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--gold); }
.instr-total .l { color: var(--gold); font-weight: 500; }
.instr-total .v { font-family: var(--ff-d); font-size: 44px; color: var(--gold); font-weight: 300; }
.instr-disclaimer { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--ivory-faint); font-size: 11px; color: var(--ivory-dim); line-height: 1.75; }
@media (max-width: 1100px) { .instrument { grid-template-columns: 1fr; } .instr-readout { border-left: none; border-top: 1px solid var(--gold-line); } }

/* ─── Runway tracker ─── */
.runway {
  border: 1px solid var(--gold-line); background: var(--ink-2);
  padding: 64px 56px;
}
.runway-bar {
  display: grid; grid-template-columns: 1fr auto; gap: 24px;
  padding-bottom: 48px; align-items: end; border-bottom: 1px solid var(--gold-line);
}
.runway-status { display: none; padding-top: 64px; }
.runway-status.open { display: block; animation: fadeIn 0.4s ease; }
.runway-headline { font-family: var(--ff-d); font-size: 32px; font-weight: 300; margin-bottom: 8px; }
.runway-headline em { font-style: italic; color: var(--gold); }
.runway-meta { font-size: 11.5px; color: var(--ivory-dim); letter-spacing: 0.04em; margin-bottom: 56px; }
.runway-meta strong { color: var(--gold); font-weight: 500; }
.runway-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  position: relative; border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line);
  background: var(--ink-3);
}
.runway-cell {
  padding: 32px 22px; position: relative;
  border-right: 1px solid var(--ivory-faint);
}
.runway-cell:last-child { border-right: none; }
.runway-cell.done { background: rgba(196,151,90,0.04); }
.runway-cell.current { background: rgba(196,151,90,0.08); }
.runway-cell .num {
  font-family: var(--ff-d); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); opacity: 0.6; margin-bottom: 16px;
}
.runway-cell .ttl { font-family: var(--ff-d); font-size: 19px; color: var(--ivory); line-height: 1.25; margin-bottom: 10px; }
.runway-cell .dt { font-size: 11px; color: var(--ivory-dim); letter-spacing: 0.04em; }
.runway-cell .dot {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink-3); border: 1px solid var(--gold-line);
}
.runway-cell.done .dot, .runway-cell.current .dot { background: var(--gold); border-color: var(--gold); }
.runway-cell.current .dot { box-shadow: 0 0 0 4px rgba(196,151,90,0.18); }
.runway-detail {
  margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
}
.runway-detail .l { font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-dim); margin-bottom: 8px; }
.runway-detail .v { font-family: var(--ff-d); font-size: 17px; color: var(--ivory); }
@media (max-width: 900px) {
  .runway { padding: 40px 32px; }
  .runway-bar { grid-template-columns: 1fr; }
  .runway-grid { grid-template-columns: 1fr; }
  .runway-cell { border-right: none; border-bottom: 1px solid var(--ivory-faint); }
  .runway-cell:last-child { border-bottom: none; }
  .runway-detail { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── 404 ─── */
.notfound {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 120px 32px 64px;
}
.notfound-n {
  font-family: var(--ff-d); font-size: clamp(120px, 22vw, 280px);
  font-weight: 300; color: transparent; -webkit-text-stroke: 1.5px var(--gold);
  line-height: 0.9; letter-spacing: -0.02em;
}
.notfound-t { font-family: var(--ff-d); font-size: 38px; font-weight: 300; margin-top: 18px; font-style: italic; color: var(--gold); }
.notfound-s { color: var(--ivory-dim); margin-top: 18px; max-width: 420px; font-size: 14.5px; line-height: 1.85; }

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-aside { display: none; }
  .hero-media { inset: 72px 0 0 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid var(--ivory-faint); }
  .step:nth-child(3), .step:nth-child(4) { border-bottom: none; }
  .step:nth-child(2), .step:nth-child(4) { border-right: none; }
  .cta-band { grid-template-columns: 1fr; gap: 40px; }
  .cta-acts { align-items: flex-start; flex-direction: row; }
  .form-shell, .calc-shell, .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .form-side, .calc-result, .feature-text { border-right: none; border-left: none; border-top: 1px solid var(--gold-line); }
  .feature-row.reverse .feature-text { order: 0; border-top: 1px solid var(--gold-line); border-right: none; }
  .feature-img { min-height: 320px; }
  .tracker-track { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .tracker-track::before, .tracker-track::after { display: none; }
}
@media (max-width: 860px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .hero-body { padding: 64px 32px 80px; }
  .wrap, .wrap-sm, .cta-band, .page-hero, .pullquote { padding-left: 32px; padding-right: 32px; }
  footer { padding: 56px 32px 36px; }
  .svcs-grid { grid-template-columns: 1fr; }
  .svc { border-right: none; border-bottom: 1px solid var(--gold-line); }
  .svc:last-child { border-bottom: none; }
  .offices-grid { grid-template-columns: 1fr; }
  .office { border-right: none; border-bottom: 1px solid var(--gold-line); }
  .office:last-child { border-bottom: none; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .ft-bottom { flex-direction: column; text-align: center; }
  body { cursor: auto; }
  #c-dot, #c-ring { display: none; }
  .form-side, .calc-inputs, .calc-result, .form-body, .feature-text, .tracker-shell { padding: 40px 32px; }
  .form-row { grid-template-columns: 1fr; gap: 18px; }
  .nav-end .btn-line { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--ivory-faint); }
  .step:last-child { border-bottom: none; }
  .cta-acts { flex-direction: column; }
  .ft-grid { grid-template-columns: 1fr; }
  .h1-solid, .h1-outline { font-size: 58px; }
  .hero-wm { display: none; }
  .page-h1 { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #grain { display: none; }
  html { scroll-behavior: auto; }
  .hero-media video, .hero-media img, .page-hero-media img { animation: none !important; }
}
