/* ═══════════════════════════════════════════════════════════════════
   THE PERFECT HOUSE — design system
   Palette from the OCE brand spec: charcoal family + brand gold.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --bg:        #101216;
  --bg-2:      #17191E;
  --bg-3:      #1E2128;
  --line:      rgba(201, 162, 95, 0.16);
  --line-soft: rgba(250, 249, 246, 0.08);
  --tx:        #FAF9F6;
  --tx-2:      #A7A9AE;
  --tx-3:      #6B7280;
  --gold:      #C9A25F;
  --gold-2:    #B08A4F;
  --gold-hi:   #E8CB90;
  --cream:     #DBC7B4;
  --serif: "Playfair Display", "Georgia", serif;
  --sans:  "Inter", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-luxe: cubic-bezier(0.65, 0, 0.15, 1);
  --nav-h: 92px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--tx);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(201, 162, 95, 0.35); color: var(--tx); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--gold); }

/* ── layout helpers ─────────────────────────────────────────────── */
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.section { position: relative; padding: clamp(110px, 14vh, 180px) 0; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.eyebrow::after { content: ""; height: 1px; width: 72px; background: linear-gradient(90deg, var(--gold), transparent); }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 74px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: clamp(36px, 5vh, 64px);
}

/* ═══ 3D stage & grain ═══ */
#stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.grain {
  position: fixed; inset: -60px; z-index: 3; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-24px,12px); }
  40% { transform: translate(16px,-20px); } 60% { transform: translate(-12px,-16px); } 80% { transform: translate(22px,18px); }
}

main { position: relative; z-index: 2; }

/* ═══ Preloader ═══ */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.9s var(--ease-luxe), visibility 0.9s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader-inner { display: grid; justify-items: center; gap: 26px; }
.preloader-mark {
  width: 108px; height: 108px; object-fit: cover; border-radius: 50%;
  border: 1px solid var(--line);
  animation: mark-in 1.4s var(--ease-out) both;
  box-shadow: 0 0 80px rgba(201, 162, 95, 0.25);
}
@keyframes mark-in { from { opacity: 0; transform: scale(0.85); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.preloader-bar { width: 180px; height: 1px; background: var(--line-soft); overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 0; background: var(--gold); transition: width 0.3s ease; }
.preloader-caption { font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--tx-3); }

/* ═══ Cursor ═══ */
.cursor {
  position: fixed; z-index: 99; top: 0; left: 0;
  width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid rgba(201, 162, 95, 0.9);
  background: rgba(201, 162, 95, 0.12);
  pointer-events: none;
  translate: -50% -50%;
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), background 0.35s, border-color 0.35s;
  display: grid; place-items: center;
}
.cursor-label { font-size: 0; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bg); transition: font-size 0.2s; user-select: none; }
.cursor.is-hover { width: 52px; height: 52px; background: rgba(201, 162, 95, 0.16); }
.cursor.is-view, .cursor.is-drag { width: 84px; height: 84px; background: var(--gold); border-color: var(--gold); }
.cursor.is-view .cursor-label, .cursor.is-drag .cursor-label { font-size: 10px; }
.cursor.is-down { scale: 0.8; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ═══ Navigation ═══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: clamp(24px, 4vw, 56px);
  transition: background 0.6s ease, height 0.6s var(--ease-out), border-color 0.6s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  height: 72px;
  background: rgba(16, 18, 22, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line-soft);
}
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-brand img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line);
  transition: box-shadow 0.4s;
}
.nav-brand:hover img { box-shadow: 0 0 26px rgba(201, 162, 95, 0.4); }
.nav-brand span {
  font-family: var(--serif); font-size: 15px; line-height: 1.15; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav-links a {
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--tx-2);
  position: relative; padding: 6px 0;
  transition: color 0.35s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--tx); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 14px 26px; border-radius: 999px;
  color: var(--gold-hi);
  transition: background 0.4s, color 0.4s, border-color 0.4s;
  overflow: hidden; position: relative;
}
.nav-cta:hover { background: var(--gold); color: #14110A; border-color: var(--gold); }

.nav-burger { display: none; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 49;
  background: rgba(16, 18, 22, 0.96);
  backdrop-filter: blur(20px);
  display: grid; place-content: center; gap: 10px; text-align: center;
  opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--serif); font-size: clamp(30px, 8vw, 44px); padding: 8px 0; color: var(--tx);
  opacity: 0; transform: translateY(22px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: 0.05s; } .mobile-menu.is-open a:nth-child(3) { transition-delay: 0.1s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: 0.15s; } .mobile-menu.is-open a:nth-child(5) { transition-delay: 0.2s; }
.mobile-menu.is-open a:nth-child(6) { transition-delay: 0.25s; }
.mobile-menu .mm-cta { color: var(--gold); }

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 18px 38px; border-radius: 999px;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  position: relative; overflow: hidden;
  transition: color 0.45s var(--ease-out), border-color 0.45s, background 0.45s, box-shadow 0.45s;
}
.btn span { position: relative; z-index: 1; }
.btn-gold { background: var(--gold); color: #14110A; font-weight: 500; }
.btn-gold:hover { background: var(--gold-hi); box-shadow: 0 8px 40px rgba(201, 162, 95, 0.35); }
.btn-ghost { border: 1px solid var(--line); color: var(--tx); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }

/* ═══ Hero ═══ */
.hero {
  min-height: 100svh;
  display: grid; place-items: center;
  text-align: center;
  position: relative;
  padding: calc(var(--nav-h) + 20px) 24px 90px;
}
.hero-kicker span { display: inline-block; }
.hero-kicker {
  font-size: 11px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--cream);
  margin-bottom: clamp(20px, 3vh, 36px);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(64px, 13.5vw, 190px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: none;
  margin-bottom: clamp(24px, 4vh, 44px);
  text-shadow: 0 10px 60px rgba(0, 0, 0, 0.45);
}
.ht-row { display: block; overflow: hidden; }
.ht-word { display: inline-block; transform: translateY(110%); }
.ht-accent {
  color: transparent;
  background: linear-gradient(100deg, var(--gold-2) 10%, var(--gold-hi) 45%, var(--gold-2) 85%);
  -webkit-background-clip: text; background-clip: text;
}
.hero-sub { color: var(--tx-2); font-size: clamp(15px, 1.6vw, 19px); margin-bottom: clamp(32px, 5vh, 52px); }
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.reveal-line { overflow: hidden; }
.reveal-line > span { display: inline-block; transform: translateY(120%); opacity: 0; }
body.is-ready .reveal-line > span { transform: none; opacity: 1; transition: transform 1.1s var(--ease-luxe), opacity 0.9s ease; }
body.is-ready .ht-word { transform: none; transition: transform 1.2s var(--ease-luxe); }
body.is-ready .hero-kicker span { transition-delay: 0.1s; }
body.is-ready .ht-row:nth-child(1) .ht-word { transition-delay: 0.25s; }
body.is-ready .ht-row:nth-child(2) .ht-word { transition-delay: 0.37s; }
body.is-ready .ht-row:nth-child(3) .ht-word { transition-delay: 0.49s; }
body.is-ready .hero-sub span { transition-delay: 0.72s; }
.hero-actions { opacity: 0; transform: translateY(24px); }
body.is-ready .hero-actions { opacity: 1; transform: none; transition: opacity 0.9s ease 0.95s, transform 0.9s var(--ease-out) 0.95s; }

.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; translate: -50%;
  display: grid; justify-items: center; gap: 14px;
  opacity: 0;
}
body.is-ready .hero-scroll { opacity: 1; transition: opacity 1s ease 1.4s; }
.hs-line { width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.hs-line::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: linear-gradient(var(--gold-hi), transparent);
  animation: scroll-drip 2.2s var(--ease-luxe) infinite;
}
@keyframes scroll-drip { to { top: 110%; } }
.hs-text { font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--tx-3); }

/* ═══ Philosophy ═══ */
.philosophy {
  background: linear-gradient(180deg, transparent 0%, rgba(16, 18, 22, 0.82) 18%, rgba(16, 18, 22, 0.92) 100%);
}
.statement {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.16; letter-spacing: -0.01em;
  max-width: 20ch;
  margin-bottom: clamp(48px, 7vh, 84px);
}
.st-line { display: block; overflow: hidden; }
.st-line > * , .st-line { }
.statement .st-line, .contact-title .st-line { clip-path: inset(0 0 100% 0); transform: translateY(30px); }
.statement.is-in .st-line, .contact-title.is-in .st-line {
  clip-path: inset(0 0 -10% 0); transform: none;
  transition: clip-path 1s var(--ease-luxe), transform 1s var(--ease-luxe);
}
.statement.is-in .st-line:nth-child(2), .contact-title.is-in .st-line:nth-child(2) { transition-delay: 0.14s; }
.statement.is-in .st-line:nth-child(3) { transition-delay: 0.28s; }

.phil-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 100px); align-items: start;
}
.phil-copy { color: var(--tx-2); font-size: clamp(15px, 1.5vw, 18px); max-width: 46ch; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.stat { background: rgba(23, 25, 30, 0.85); padding: clamp(24px, 3vw, 40px); display: grid; gap: 6px; }
.stat-num {
  font-family: var(--serif); font-size: clamp(40px, 4.6vw, 64px); line-height: 1; color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--tx-3); }

/* ═══ Services ═══ */
.services { background: rgba(16, 18, 22, 0.92); }
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft);
}
.svc-card {
  background: var(--bg-2);
  padding: clamp(28px, 3vw, 44px);
  position: relative;
  min-height: 250px;
  display: flex; flex-direction: column;
  transition: background 0.5s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.svc-card:hover { background: var(--bg-3); }
.svc-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 162, 95, 0.1), transparent 45%);
  opacity: 0; transition: opacity 0.5s;
}
.svc-card:hover::after { opacity: 1; }
.svc-num {
  position: absolute; top: 26px; right: 28px;
  font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--tx-3);
}
.svc-icon {
  width: 44px; height: 44px; margin-bottom: auto;
  fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.6s var(--ease-out), stroke 0.4s;
}
.svc-card:hover .svc-icon { transform: translateY(-4px) scale(1.06); stroke: var(--gold-hi); }
.svc-card h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 26px 0 10px; }
.svc-card p { color: var(--tx-2); font-size: 14px; line-height: 1.65; }

/* ═══ Signature — day/night comparator ═══ */
.signature { background: linear-gradient(180deg, rgba(16, 18, 22, 0.92), rgba(16, 18, 22, 0.78)); }
.sig-copy { color: var(--tx-2); max-width: 62ch; margin-bottom: clamp(36px, 5vh, 56px); font-size: clamp(15px, 1.5vw, 17px); }

.compare {
  position: relative; overflow: hidden; border-radius: 6px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  user-select: none; touch-action: pan-y;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-day-clip { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); will-change: clip-path; }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 0;
  display: grid; grid-template-rows: 1fr auto 1fr; justify-items: center;
  cursor: ew-resize; outline: none;
}
.ch-line { width: 1px; background: rgba(250, 249, 246, 0.75); }
.ch-knob {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(16, 18, 22, 0.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(250, 249, 246, 0.8);
  display: grid; place-items: center; color: var(--tx);
  translate: 0; margin: 8px 0;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.compare-handle:focus-visible .ch-knob, .compare.is-dragging .ch-knob { border-color: var(--gold); box-shadow: 0 0 0 6px rgba(201, 162, 95, 0.25); }
.ch-knob svg { width: 22px; height: 22px; }
.compare-tag {
  position: absolute; top: 20px;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(16, 18, 22, 0.55); backdrop-filter: blur(6px);
  border: 1px solid var(--line-soft);
}
.tag-day { left: 20px; }
.tag-night { right: 20px; color: var(--gold-hi); }

.compare-picker { display: flex; gap: 14px; margin-top: 22px; }
.cp-thumb {
  width: 110px; aspect-ratio: 16/10; padding: 0; border: 1px solid var(--line-soft); border-radius: 4px;
  overflow: hidden; cursor: pointer; background: none;
  opacity: 0.5; transition: opacity 0.35s, border-color 0.35s, transform 0.35s var(--ease-out);
}
.cp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cp-thumb:hover { opacity: 0.85; transform: translateY(-3px); }
.cp-thumb.is-active { opacity: 1; border-color: var(--gold); }

/* ═══ Portfolio — horizontal scroll ═══ */
.portfolio { position: relative; background: var(--bg); }
.pf-sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(16, 18, 22, 0.94) 100%);
}
.pf-head { margin-bottom: clamp(24px, 4vh, 48px); width: 100%; }
.pf-head .section-title { margin-bottom: 0; }
.pf-track {
  display: flex; gap: clamp(24px, 3vw, 48px);
  padding-inline: max(48px, calc((100vw - 1240px) / 2));
  will-change: transform;
  width: max-content;
}
.pf-card {
  width: clamp(300px, 34vw, 480px);
  flex-shrink: 0;
  display: grid; gap: 18px;
}
.pf-card figure {
  overflow: hidden; border-radius: 4px; border: 1px solid var(--line-soft);
  aspect-ratio: 4 / 3;
}
.pf-card img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.1s var(--ease-out), filter 0.7s;
  filter: saturate(0.92);
}
.pf-card:hover img { transform: scale(1.0); filter: saturate(1.05); }
.pf-meta { display: grid; gap: 3px; }
.pf-cat { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.pf-meta h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 2vw, 26px); }
.pf-loc { font-size: 12px; color: var(--tx-3); letter-spacing: 0.08em; }
.pf-progress {
  margin: clamp(24px, 4vh, 44px) auto 0;
  width: min(320px, 60%); height: 1px; background: var(--line-soft);
}
.pf-progress span { display: block; height: 100%; width: 0; background: var(--gold); }

/* ═══ Interiors marquee ═══ */
.interiors { background: rgba(16, 18, 22, 0.94); overflow: hidden; }
.marquee { margin-top: clamp(30px, 4vh, 50px); overflow: hidden; cursor: grab; }
.marquee:active { cursor: grabbing; }
.marquee-track { display: flex; gap: clamp(20px, 2.5vw, 36px); width: max-content; will-change: transform; }
.marquee-track figure { position: relative; width: clamp(260px, 26vw, 420px); flex-shrink: 0; overflow: hidden; border-radius: 4px; }
.marquee-track img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; filter: saturate(0.9); transition: filter 0.6s; }
.marquee-track figure:hover img { filter: saturate(1.05); }
.marquee-track figcaption {
  position: absolute; left: 16px; bottom: 14px;
  font-family: var(--serif); font-style: italic; font-size: 20px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.8);
}

/* ═══ Process ═══ */
.process { background: linear-gradient(180deg, rgba(16, 18, 22, 0.94), rgba(16, 18, 22, 0.85)); }
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3vw, 48px);
  counter-reset: step;
}
.step { position: relative; padding-top: 30px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: var(--line-soft); }
.step::after {
  content: ""; position: absolute; top: 0; left: 0; width: 0; height: 1px; background: var(--gold);
  transition: width 1.2s var(--ease-luxe) 0.2s;
}
.step.is-in::after { width: 100%; }
.step-num { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--gold); }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); margin: 14px 0 10px; }
.step p { color: var(--tx-2); font-size: 14px; }

.rates {
  margin-top: clamp(56px, 8vh, 92px);
  padding: 26px clamp(24px, 3vw, 44px);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 16px 26px;
  font-size: 13px; letter-spacing: 0.06em; color: var(--tx-2);
  background: rgba(23, 25, 30, 0.6);
}
.rates strong { color: var(--gold-hi); font-weight: 500; }
.rates-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: 0.6; }

/* ═══ FAQ ═══ */
.faq { background: rgba(16, 18, 22, 0.9); }
.faq-list { max-width: 880px; border-top: 1px solid var(--line-soft); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 4px;
  font-family: var(--serif); font-weight: 500; font-size: clamp(17px, 1.9vw, 23px);
  transition: color 0.35s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-hi); }
.faq-item summary i {
  flex-shrink: 0; position: relative; width: 16px; height: 16px;
}
.faq-item summary i::before, .faq-item summary i::after {
  content: ""; position: absolute; inset: 0; margin: auto; background: var(--gold);
  transition: transform 0.4s var(--ease-out);
}
.faq-item summary i::before { width: 16px; height: 1px; }
.faq-item summary i::after { width: 1px; height: 16px; }
.faq-item[open] summary { color: var(--gold-hi); }
.faq-item[open] summary i::after { transform: scaleY(0); }
.faq-a { padding: 0 4px 28px; max-width: 62ch; }
.faq-a p { color: var(--tx-2); font-size: 15px; line-height: 1.75; }
.faq-a strong { color: var(--gold-hi); font-weight: 500; }

/* ═══ Contact ═══ */
.contact {
  background: linear-gradient(180deg, rgba(16, 18, 22, 0.85) 0%, rgba(16, 18, 22, 0.35) 45%, rgba(16, 18, 22, 0.88) 100%);
  padding-bottom: 0;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
}
.contact-inner { text-align: center; padding-top: 6vh; }
.contact .eyebrow { justify-content: center; }
.contact .eyebrow::after { display: none; }
.contact-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(44px, 7.5vw, 108px);
  line-height: 1.06; letter-spacing: -0.01em;
  margin-bottom: clamp(30px, 5vh, 50px);
}
.contact-mail {
  display: inline-block;
  font-size: clamp(16px, 2.2vw, 24px);
  letter-spacing: 0.04em;
  color: var(--gold-hi);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  transition: color 0.4s, border-color 0.4s, letter-spacing 0.5s var(--ease-out);
}
.contact-mail:hover { color: var(--tx); border-color: var(--gold); letter-spacing: 0.07em; }
.contact-note { color: var(--tx-3); margin-top: 34px; font-size: 14px; }

.footer { margin-top: clamp(70px, 10vh, 120px); border-top: 1px solid var(--line-soft); padding: 44px 0 54px; background: rgba(16, 18, 22, 0.9); }
.footer-inner { display: grid; justify-items: center; gap: 14px; text-align: center; }
.footer-mark { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.footer-inner p { font-family: var(--serif); font-size: 15px; letter-spacing: 0.04em; }
.footer-fine { font-family: var(--sans) !important; font-size: 11px !important; color: var(--tx-3); letter-spacing: 0.2em !important; text-transform: uppercase; }

/* ═══ Scroll reveals ═══ */
.reveal { opacity: 0; transform: translateY(38px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 1s ease, transform 1s var(--ease-luxe); }
.svc-card.reveal.is-in { transition-delay: calc(var(--i, 0) * 70ms); }
.stat.reveal.is-in { transition-delay: calc(var(--i, 0) * 90ms); }
.step.reveal.is-in { transition-delay: calc(var(--i, 0) * 110ms); }

/* ═══ Responsive ═══ */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .nav-links, .nav-cta { display: none; }
  .nav-burger {
    display: grid; gap: 7px; background: none; border: none; cursor: pointer; padding: 10px;
  }
  .nav-burger span { display: block; width: 26px; height: 1px; background: var(--tx); transition: transform 0.4s var(--ease-out), opacity 0.3s; }
  .nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .phil-grid { grid-template-columns: 1fr; }
  .compare { aspect-ratio: 4 / 3; }
  /* portfolio: fall back to native horizontal scroll */
  .portfolio { height: auto !important; }
  .pf-sticky { position: static; height: auto; padding: clamp(90px, 12vh, 130px) 0; }
  .pf-track { overflow-x: auto; width: auto; padding-inline: 24px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .pf-track::-webkit-scrollbar { display: none; }
  .pf-card { scroll-snap-align: start; width: min(78vw, 420px); }
  .pf-progress { display: none; }
}
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .rates { border-radius: 20px; flex-direction: column; gap: 10px; }
  .rates-dot { display: none; }
  .br-desk { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .compare-picker { justify-content: center; }
  .cp-thumb { width: 88px; }
}

/* ═══ Snap mode (headless screenshots) — no ambient animation ═══ */
body.is-snap .grain, body.is-snap .hs-line::after { animation: none !important; }
body.is-snap .reveal, body.is-snap .reveal-line > span, body.is-snap .ht-word,
body.is-snap .hero-actions, body.is-snap .hero-scroll,
body.is-snap .statement .st-line, body.is-snap .contact-title .st-line {
  opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important;
}

/* ═══ Reduced motion ═══ */
@media (prefers-reduced-motion: reduce) {
  .grain, .hs-line::after { animation: none; }
  .reveal, .reveal-line > span, .ht-word, .hero-actions, .hero-scroll,
  .statement .st-line, .contact-title .st-line {
    opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important;
  }
  .pf-card img { transform: none; }
}
