/* ==========================================================================
   Olympia Management Group — site styles
   Champagne gold on espresso, charcoal and ivory.
   ========================================================================== */

@view-transition { navigation: auto; }

:root {
  /* Surfaces */
  --espresso: #1b120d;
  --espresso-2: #241810;
  --espresso-3: #2f2118;
  --charcoal: #1d1a18;
  --ivory: #f6efe3;
  --ivory-2: #eee4d3;
  --stucco: #f3ebdf;

  /* Champagne gold */
  --champagne: #e6d3a8;
  --champagne-hi: #f5ebd3;
  --champagne-lo: #c3a472;
  --bronze: #8a6a3e;          /* gold for text on ivory (AA on --ivory) */
  --bronze-deep: #5b4329;     /* body text on ivory */

  --text-on-dark: #eadcc0;    /* body text on espresso */
  --muted-on-dark: #bfae8f;
  --line-dark: rgba(230, 211, 168, .22);
  --line-light: rgba(138, 106, 62, .25);

  --gold-text: linear-gradient(100deg, #c9ae7c 0%, #eddcb6 28%, #f7eed8 46%, #dcc497 64%, #c4a672 82%, #e4d0a6 100%);
  --gold-text-deep: linear-gradient(100deg, #7d5f35 0%, #a3824f 35%, #b99a66 50%, #94733f 70%, #7d5f35 100%);
  --satin: linear-gradient(135deg, #95743f 0%, #b39159 28%, #cdb07b 48%, #b69560 64%, #8f6d3a 100%);

  /* Type */
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(88px, 12vw, 176px);
  --max: 1320px;
  --nav-h: 88px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 180ms;
  --t-med: 420ms;
  --t-slow: 1100ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--espresso);
  color: var(--text-on-dark);
  font-family: var(--serif);
  font-size: clamp(18px, 1.15vw, 20px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(230, 211, 168, .35); color: #fff; }

:focus-visible { outline: 2px solid var(--champagne); outline-offset: 4px; border-radius: 2px; }
.page-light :focus-visible, .on-light :focus-visible { outline-color: var(--bronze); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  padding: 12px 18px; background: var(--ivory); color: var(--espresso);
  font-family: var(--sans); font-size: 14px; letter-spacing: .08em; text-decoration: none;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Typography ---------- */
.gold {
  background: var(--gold-text);
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.on-light .gold, .page-light .hero-light .gold { background-image: var(--gold-text-deep); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--serif); font-weight: 500;
  font-size: 13px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--champagne);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.on-light .eyebrow { color: var(--bronze); }

.display {
  margin: 0; font-weight: 400; line-height: 1.04;
  font-size: clamp(44px, 6.4vw, 104px); letter-spacing: .06em; text-transform: uppercase;
}
.h2 {
  margin: 0; font-weight: 400; line-height: 1.12;
  font-size: clamp(34px, 4.2vw, 64px); letter-spacing: .01em;
}
.h2 em, .display em { font-style: italic; text-transform: none; letter-spacing: 0; }
.h3 {
  margin: 0; font-weight: 500; line-height: 1.2;
  font-size: clamp(24px, 2vw, 30px); letter-spacing: .04em;
}
.lead { font-size: clamp(20px, 1.5vw, 24px); line-height: 1.6; color: var(--text-on-dark); max-width: 60ch; }
.on-light .lead, .on-light p { color: var(--bronze-deep); }
p { margin: 0 0 1.1em; }

.rule { display: flex; align-items: center; gap: 14px; color: var(--champagne-lo); }
.rule::before, .rule::after { content: ""; height: 1px; flex: 1; background: currentColor; opacity: .55; }
.rule span { width: 7px; height: 7px; border: 1px solid currentColor; transform: rotate(45deg); }
.on-light .rule { color: var(--bronze); }

/* ---------- Buttons ---------- */
.btn {
  --pad-x: 34px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 var(--pad-x);
  font-family: var(--serif); font-weight: 600; font-size: 15px; letter-spacing: .26em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 0; border-radius: 1px;
  overflow: hidden; isolation: isolate;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
  touch-action: manipulation;
}
.btn:active { transform: scale(.98); }

/* Pale gold satin, white lettering */
.btn-satin {
  color: #fff;
  background: var(--satin);
  text-shadow: 0 1px 2px rgba(60, 38, 12, .6), 0 0 1px rgba(60, 38, 12, .5);
  box-shadow: inset 0 1px 0 rgba(255, 248, 230, .55), inset 0 -1px 0 rgba(90, 60, 25, .35), 0 10px 30px -12px rgba(0, 0, 0, .55);
}
.btn-satin::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 250, 235, .55) 48%, transparent 66%);
  transform: translateX(-110%);
  transition: transform 900ms var(--ease-out);
}
.btn-satin:hover::after, .btn-satin:focus-visible::after { transform: translateX(110%); }
.btn-satin:hover { box-shadow: inset 0 1px 0 rgba(255, 248, 230, .6), inset 0 -1px 0 rgba(90, 60, 25, .35), 0 16px 40px -14px rgba(0, 0, 0, .6); }

.btn-ghost {
  color: var(--champagne); background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-dark);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--champagne); color: var(--champagne-hi); }
.on-light .btn-ghost { color: var(--bronze); box-shadow: inset 0 0 0 1px var(--line-light); }
.on-light .btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--bronze); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 14px; letter-spacing: .26em; text-transform: uppercase; text-decoration: none;
  color: var(--champagne); padding: 10px 0;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(6px); }
.on-light .link-arrow { color: var(--bronze); }

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
  transition: background var(--t-med), height var(--t-med) var(--ease-out), box-shadow var(--t-med), backdrop-filter var(--t-med);
}
.nav::before { /* soft scrim over video so links stay legible */
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(20, 13, 9, .6), rgba(20, 13, 9, 0));
  transition: opacity var(--t-med);
}
.nav.is-scrolled {
  --nav-h: 72px;
  background: rgba(27, 18, 13, .82);
  -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 1px 0 var(--line-dark);
}
.nav.is-scrolled::before { opacity: 0; }

.nav-links { display: flex; gap: clamp(24px, 3.4vw, 56px); list-style: none; margin: 0; padding: 0; }
.nav-links.left { justify-self: end; margin-right: clamp(28px, 4vw, 64px); }
.nav-links.right { justify-self: start; margin-left: clamp(28px, 4vw, 64px); }
.nav-links a {
  position: relative; display: inline-block; padding: 12px 0;
  font-weight: 500; font-size: 14px; letter-spacing: .3em; text-transform: uppercase; text-decoration: none;
  color: var(--champagne);
  transition: color var(--t-fast);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: .3em; bottom: 6px; height: 1px;
  background: currentColor; transform: scaleX(0); transition: transform var(--t-med) var(--ease-out);
}
.nav-links a:hover { color: var(--champagne-hi); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-mark { display: block; padding: 8px; }
.nav-mark .mono { width: clamp(64px, 5.4vw, 84px); height: auto; transition: width var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out); }
.nav.is-scrolled .nav-mark .mono { width: 58px; }
.nav-mark:hover .mono { transform: scale(1.04); }

.nav-toggle {
  display: none; justify-self: end; grid-column: 3;
  width: 48px; height: 48px; border: 0; background: none; cursor: pointer; color: var(--champagne);
  align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 28px; height: 28px; }

/* Light pages (About): nav sits over ivory until scrolled */
.page-light .nav:not(.is-scrolled)::before { background: linear-gradient(to bottom, rgba(246, 239, 227, .85), rgba(246, 239, 227, 0)); }
.page-light .nav:not(.is-scrolled) .nav-links a,
.page-light .nav:not(.is-scrolled) .nav-toggle { color: var(--bronze); }
.page-light .nav:not(.is-scrolled) .mono g { fill: var(--bronze); }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 99;
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(120% 90% at 50% 20%, #2e2017 0%, var(--espresso) 70%);
  opacity: 0; visibility: hidden; transition: opacity var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity var(--t-med) var(--ease-out); }
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.menu a { display: inline-block; padding: 10px 16px; font-size: 30px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.menu .menu-foot { margin-top: 40px; font-family: var(--sans); font-size: 14px; letter-spacing: .06em; color: var(--muted-on-dark); display: grid; gap: 6px; }
.menu .menu-foot a { font-size: 15px; letter-spacing: .04em; text-transform: none; padding: 6px; }
.menu li { opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.menu.is-open li { opacity: 1; transform: none; }
.menu.is-open li:nth-child(2) { transition-delay: 60ms; }
.menu.is-open li:nth-child(3) { transition-delay: 120ms; }
.menu.is-open li:nth-child(4) { transition-delay: 180ms; }
.menu.is-open li:nth-child(5) { transition-delay: 240ms; }

@media (max-width: 900px) {
  :root { --nav-h: 76px; }
  .nav { grid-template-columns: 48px 1fr 48px; }
  .nav-links { display: none; }
  .nav-mark { grid-column: 2; justify-self: center; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.on-light { background: var(--ivory); color: var(--bronze-deep); }
.bg-2 { background: var(--espresso-2); }
.center { text-align: center; }
.stack > * + * { margin-top: 28px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1000ms var(--ease-out), transform 1000ms var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: 1fr auto; isolation: isolate; background: var(--charcoal);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media .poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1400ms var(--ease-in-out);
}
.hero-media video.is-active, .hero-media .poster.is-active { opacity: 1; }
.hero::after { /* legibility: vignette + gentle bottom weight */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% 48%, rgba(22, 15, 11, .5) 0%, rgba(22, 15, 11, .2) 70%, rgba(22, 15, 11, .35) 100%),
    linear-gradient(to top, rgba(22, 15, 11, .8) 0%, rgba(22, 15, 11, 0) 34%);
}
.hero-brand { display: grid; justify-items: center; gap: clamp(24px, 3.5vh, 40px); }
@media (min-width: 1000px) {
  .hero::after {
    background:
      linear-gradient(90deg, rgba(22, 15, 11, .78) 0%, rgba(22, 15, 11, .5) 30%, rgba(22, 15, 11, .08) 58%, rgba(22, 15, 11, 0) 70%),
      linear-gradient(to top, rgba(22, 15, 11, .8) 0%, rgba(22, 15, 11, 0) 34%);
  }
}
.hero-center {
  display: grid; place-items: center; align-content: center; gap: clamp(24px, 3.5vh, 40px);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 24px; text-align: center;
}
.hero .lockup { width: clamp(250px, 34vw, 560px); height: auto; filter: drop-shadow(0 4px 24px rgba(20, 12, 8, .45)); }
@media (min-width: 1000px) {
  .hero-center { justify-items: start; padding-left: calc(var(--gutter) + 2vw); }
  .hero .lockup { width: clamp(320px, 30vw, 540px); }
}
.hero-foot {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 20px;
  padding: 0 var(--gutter) clamp(22px, 4vh, 40px);
}
.slogan {
  grid-column: 2; margin: 0; text-align: center;
  font-style: italic; font-weight: 400; font-size: clamp(20px, 2vw, 30px); letter-spacing: .04em; line-height: 1.3;
  display: flex; align-items: center; gap: 18px;
}
.slogan::before, .slogan::after { content: ""; width: clamp(24px, 5vw, 80px); height: 1px; background: var(--champagne-lo); opacity: .7; }

.reel { display: flex; align-items: center; gap: 14px; }
.reel-bars { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.reel-bars button {
  position: relative; width: 28px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
}
.reel-bars button::before, .reel-bars button::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
  background: rgba(230, 211, 168, .3);
}
.reel-bars button::after { background: var(--champagne); transform-origin: left; transform: scaleX(var(--p, 0)); }
.reel-toggle {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-dark); background: rgba(27, 18, 13, .35); cursor: pointer; color: var(--champagne);
}
.reel-toggle .icon { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.reel-toggle:hover { border-color: var(--champagne); }
.scroll-cue {
  justify-self: end; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--champagne); text-decoration: none;
  writing-mode: vertical-rl; padding: 8px;
}
.scroll-cue::after { content: ""; width: 1px; height: 48px; background: linear-gradient(var(--champagne), transparent); animation: cue 2.4s var(--ease-in-out) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Lockup entrance */
.lockup .lk-ring { transform-box: fill-box; transform-origin: center; animation: lk-ring 1800ms var(--ease-out) both; }
.lockup .lk-bar { transform-box: fill-box; transform-origin: center; animation: lk-bar 1200ms var(--ease-out) 700ms both; }
.lockup .lk-word { animation: lk-fade 1400ms var(--ease-out) 1000ms both; }
.lockup .lk-lines { transform-box: fill-box; transform-origin: center; animation: lk-lines 1400ms var(--ease-out) 1400ms both; }
.lockup .lk-mg { animation: lk-fade 1400ms var(--ease-out) 1500ms both; }
@keyframes lk-ring { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }
@keyframes lk-bar { from { transform: scaleY(0); } to { transform: none; } }
@keyframes lk-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes lk-lines { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: none; } }
.hero-cta { animation: lk-fade 1200ms var(--ease-out) 1900ms both; }

@media (max-width: 700px) {
  .hero-foot { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
  .slogan { grid-column: 1; font-size: 20px; }
  .slogan::before, .slogan::after { width: 20px; }
  .scroll-cue { display: none; }
  .reel { order: 2; }
}

/* ---------- Home: intro & values ---------- */
.intro { text-align: center; }
.intro .h2 { max-width: 20ch; margin-inline: auto; }
.intro .lead { margin: 32px auto 0; }
.values {
  display: grid; grid-template-columns: repeat(5, 1fr); margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; list-style: none;
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.values li {
  display: grid; justify-items: center; gap: 14px; padding: 34px 12px; text-align: center;
  font-size: 13px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--champagne);
}
.values li + li { border-left: 1px solid var(--line-dark); }
.values .icon { width: 30px; height: 30px; color: var(--champagne-lo); }
.on-light .values { border-color: var(--line-light); }
.on-light .values li { color: var(--bronze); }
.on-light .values li + li { border-color: var(--line-light); }
.on-light .values .icon { color: var(--bronze); }
@media (max-width: 900px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .values li + li { border-left: 0; }
  .values li { border-bottom: 1px solid var(--line-dark); }
  .values li:nth-child(even) { border-left: 1px solid var(--line-dark); }
  .values li:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .on-light .values li { border-color: var(--line-light); }
}

/* ---------- Home: services ---------- */
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .h2 { margin-top: 18px; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.service {
  position: relative; display: flex; flex-direction: column;
  background: var(--espresso-3); border: 1px solid var(--line-dark);
  transition: border-color var(--t-med), transform var(--t-med) var(--ease-out);
}
.service:hover { border-color: rgba(230, 211, 168, .5); transform: translateY(-4px); }
.service figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.service img { width: 100%; height: 100%; object-fit: cover; transition: transform 1600ms var(--ease-out); }
.service:hover img { transform: scale(1.05); }
.service-body { padding: clamp(24px, 2.4vw, 36px); display: grid; gap: 16px; }
.service .num { font-size: 14px; letter-spacing: .3em; color: var(--champagne-lo); }
.service p { margin: 0; color: var(--text-on-dark); }
.service ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 17px; color: var(--muted-on-dark); }
.service li { display: flex; gap: 12px; align-items: baseline; }
.service li::before { content: ""; width: 5px; height: 5px; flex: none; transform: translateY(-3px) rotate(45deg); border: 1px solid var(--champagne-lo); }
@media (max-width: 1000px) { .services { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }

.also {
  margin-top: clamp(48px, 6vw, 72px); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 0;
  list-style: none; padding: 0; font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--champagne);
}
.also { column-gap: clamp(32px, 4vw, 64px); row-gap: 18px; max-width: 1100px; margin-inline: auto; }
.also li { padding: 0; }
@media (max-width: 700px) { .also { flex-direction: column; align-items: center; gap: 14px; } }

/* ---------- Split feature (about teaser etc.) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.split figure { margin: 0; position: relative; }
.split figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split figure::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--line-light); z-index: -1; }
.split .signature { margin: 14px 0 6px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split figure { max-width: 520px; } }

/* ---------- Before / after slider ---------- */
.ba {
  --pos: 50%;
  position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--espresso-3);
  user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba .ba-line {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; margin-left: -.5px;
  background: var(--champagne-hi); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2); pointer-events: none;
}
.ba .ba-knob {
  position: absolute; top: 50%; left: var(--pos); width: 56px; height: 56px; margin: -28px 0 0 -28px;
  display: grid; place-items: center; border-radius: 50%; pointer-events: none;
  background: rgba(27, 18, 13, .55); border: 1px solid var(--champagne-hi); color: var(--champagne-hi);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform var(--t-fast) var(--ease-out);
}
.ba .ba-knob::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--champagne-hi); }
.ba:hover .ba-knob, .ba:focus-within .ba-knob { transform: scale(1.08); }
.ba input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; background: transparent; touch-action: pan-y;
}
.ba:has(input:focus-visible) { outline: 2px solid var(--champagne); outline-offset: 4px; }
.ba .tag {
  position: absolute; top: 16px; padding: 7px 12px; pointer-events: none;
  font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  background: rgba(27, 18, 13, .6); color: var(--champagne-hi);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ba .tag-before { left: 16px; }
.ba .tag-after { right: 16px; }

/* ---------- Renovation categories (home) ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 2px; }
.cat {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; text-decoration: none; isolation: isolate;
}
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1600ms var(--ease-out); }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(22, 15, 11, .82), rgba(22, 15, 11, .1) 60%); transition: background var(--t-med); }
.cat:hover img { transform: scale(1.06); }
.cat:hover::before { background: linear-gradient(to top, rgba(22, 15, 11, .88), rgba(22, 15, 11, .25) 70%); }
.cat span { position: absolute; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--champagne-hi); font-size: clamp(22px, 1.9vw, 28px); letter-spacing: .06em; }
.cat small { font-size: 13px; letter-spacing: .3em; color: var(--champagne); }
@media (max-width: 900px) { .cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cats { grid-template-columns: 1fr; } }

/* ---------- Quote carousel (home) ---------- */
.quotes { position: relative; max-width: 920px; margin: 0 auto; text-align: center; }
.quote-track { display: grid; }
.quote {
  grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out), visibility 0s linear 900ms;
}
.quote.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); }
.quote blockquote { margin: 0; font-style: italic; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.5; color: var(--champagne-hi); }
.quote figcaption { margin-top: 28px; font-size: 14px; letter-spacing: .34em; text-transform: uppercase; color: var(--champagne); }
.quote-mark { font-size: 120px; line-height: .6; height: 50px; color: var(--champagne-lo); opacity: .6; }
.quote-controls { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 40px; }
.quote-dots { display: flex; gap: 4px; }
.text-toggle {
  min-width: 64px; min-height: 36px; padding: 0 12px; border: 0; background: none; cursor: pointer;
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--champagne);
}
.text-toggle:hover { color: var(--champagne-hi); }
.quote-dots button { width: 32px; height: 32px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.quote-dots button::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--champagne-lo); transition: background var(--t-fast); }
.quote-dots button[aria-current="true"]::before { background: var(--champagne); border-color: var(--champagne); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(22, 15, 11, .72); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 40px; }

/* ---------- Contact methods ---------- */
.methods { display: grid; gap: 14px; }
.method {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px; min-height: 64px;
  border: 1px solid var(--line-dark); background: rgba(27, 18, 13, .45); text-decoration: none;
  transition: border-color var(--t-med), background var(--t-med);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.method:hover { border-color: var(--champagne); background: rgba(27, 18, 13, .6); }
.method .icon { width: 26px; height: 26px; color: var(--champagne); }
.method small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted-on-dark); }
.method strong { display: block; font-weight: 500; font-size: clamp(18px, 1.5vw, 22px); color: var(--champagne-hi); letter-spacing: .02em; overflow-wrap: break-word; }

/* ---------- Footer ---------- */
.footer { background: #150e0a; color: var(--muted-on-dark); padding: clamp(72px, 9vw, 120px) 0 36px; border-top: 1px solid var(--line-dark); }
.footer-top { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 48px; align-items: start; }
.footer .lockup-img { width: 200px; height: auto; }
.footer h2 { margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--champagne); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer a { text-decoration: none; color: var(--text-on-dark); display: inline-block; padding: 4px 0; transition: color var(--t-fast); }
.footer a:hover { color: var(--champagne-hi); }
.regulators { margin-top: clamp(56px, 7vw, 88px); padding-top: 36px; border-top: 1px solid var(--line-dark); }
.regulators ul { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.regulators img { height: 54px; width: auto; }
.legal { margin-top: 36px; font-family: var(--sans); font-size: 12.5px; line-height: 1.7; letter-spacing: .02em; color: #a8987c; max-width: 90ch; }
.legal p { margin: 0 0 6px; }
.footer-base { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--sans); font-size: 12.5px; color: #a8987c; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Inner page hero (Renovations, Testimonials) ---------- */
.page-hero {
  position: relative; min-height: 78vh; min-height: 78svh; display: grid; align-items: end; isolation: isolate; overflow: hidden;
  padding: calc(var(--nav-h) + 60px) 0 clamp(56px, 8vw, 96px);
}
.page-hero > img, .page-hero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(22, 15, 11, .88) 0%, rgba(22, 15, 11, .35) 55%, rgba(22, 15, 11, .5) 100%); }
.page-hero .lead { margin-top: 24px; }
.page-hero .ken { animation: ken 18s var(--ease-out) both; }
@keyframes ken { from { transform: scale(1.1); } to { transform: scale(1); } }

/* ---------- About page ---------- */
.about-hero {
  position: relative; min-height: 100vh; min-height: 100svh; background: var(--stucco); color: var(--bronze-deep);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); overflow: hidden;
}
.about-media { position: relative; grid-column: 2; grid-row: 1; min-height: 100%; }
.about-media video, .about-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 20%; }
.about-media::before { /* melt the video's left edge into the ivory */
  content: ""; position: absolute; inset: 0 auto 0 -1px; width: 38%; z-index: 1;
  background: linear-gradient(to right, var(--stucco) 0%, rgba(243, 235, 223, 0) 100%);
}
.about-copy {
  grid-column: 1; grid-row: 1; position: relative; z-index: 2;
  padding: calc(var(--nav-h) + clamp(32px, 6vh, 72px)) clamp(24px, 4vw, 40px) clamp(40px, 6vh, 72px) var(--gutter);
  max-width: 760px; justify-self: end; width: 100%;
}
.about-copy .display { margin: 18px 0 30px; letter-spacing: .12em; }
.about-copy p { color: var(--bronze-deep); font-size: clamp(18px, 1.25vw, 21px); line-height: 1.7; margin-bottom: .9em; }
.about-copy .strong { color: var(--bronze); font-style: italic; font-size: clamp(20px, 1.5vw, 24px); }
.about-copy .signature { margin: 14px 0 34px; }

/* Handwritten signature: the name is 'written' left to right, then the pen stroke underneath */
.signature { color: var(--bronze); }
.signature .sig { height: clamp(110px, 10vw, 150px); width: auto; overflow: visible; transform: rotate(-5deg); transform-origin: left center; }
.signature .sig-name { clip-path: inset(-20% 100% -20% 0); }
.signature .sig-swash { clip-path: inset(-50% 100% -50% 0); }
.signature.in .sig-name { animation: sign 1900ms cubic-bezier(.5, .1, .3, 1) 250ms forwards; }
.signature.in .sig-swash { animation: sign 650ms cubic-bezier(.3, 0, .2, 1) 2050ms forwards; }
@keyframes sign { to { clip-path: inset(-20% -2% -20% 0); } }
@media (max-width: 900px) {
  .about-hero { grid-template-columns: 1fr; }
  .about-media { grid-column: 1; grid-row: 1; height: 68svh; min-height: 440px; margin-top: var(--nav-h); }
  .about-media::before { inset: auto 0 -1px 0; width: auto; height: 40%; background: linear-gradient(to top, var(--stucco), rgba(243, 235, 223, 0)); }
  .about-copy { grid-row: 2; padding-top: 8px; justify-self: stretch; }
}

/* ---------- Contact page ---------- */
.page-contact { background: #120c08; }
.contact-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.contact-bg video, .contact-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.contact-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20, 13, 9, .9) 0%, rgba(20, 13, 9, .72) 48%, rgba(20, 13, 9, .25) 100%);
}
.contact-main { min-height: 100vh; min-height: 100svh; padding: calc(var(--nav-h) + clamp(40px, 7vh, 80px)) 0 clamp(64px, 9vw, 120px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-grid .display { margin: 18px 0 20px; }
.contact-grid .rule { max-width: 200px; margin: 0 0 30px; }
.contact-grid .lead { margin-bottom: 36px; }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; } .contact-bg::after { background: rgba(20, 13, 9, .78); } }
/* Wide screens: everything in one column on the left; the film sits to the right, unobstructed */
@media (min-width: 1001px) {
  .contact-grid { grid-template-columns: minmax(0, min(540px, 38vw)); }
  .contact-grid .lead { margin-bottom: 28px; }

  .contact-grid .form { margin-top: 8px; }
  .contact-bg video, .contact-bg img { object-position: 100% 45%; }
  .contact-bg::after { background: linear-gradient(90deg, rgba(18, 12, 8, .94) 0%, rgba(18, 12, 8, .86) 30%, rgba(18, 12, 8, .35) 44%, rgba(18, 12, 8, 0) 54%); }
}

.form {
  padding: clamp(24px, 3.4vw, 48px);
  background: rgba(27, 18, 13, .58); border: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(16px) saturate(120%); backdrop-filter: blur(16px) saturate(120%);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: grid; gap: 8px; }
.field.span-2 { grid-column: 1 / -1; }
.field label, .field legend {
  font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--champagne);
}
.field .req { color: var(--champagne-lo); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font-family: var(--sans); font-size: 16px; font-weight: 300; color: #fbf4e6;
  background: rgba(255, 245, 225, .06); border: 1px solid rgba(230, 211, 168, .38); border-radius: 1px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.input::placeholder, .textarea::placeholder { color: rgba(234, 220, 192, .6); }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(230, 211, 168, .6); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--champagne); background: rgba(255, 245, 225, .1); box-shadow: 0 0 0 3px rgba(230, 211, 168, .18); }
.textarea { min-height: 164px; resize: vertical; line-height: 1.5; }
.select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6d3a8' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.select option { color: #1b120d; background: #f6efe3; }
.field[aria-invalid="true"] .input, .field[aria-invalid="true"] .textarea, .field[aria-invalid="true"] .select { border-color: #e7a38b; }
.error { font-family: var(--sans); font-size: 13.5px; color: #f1b8a3; min-height: 0; }
.error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 4px; }
.choice { position: relative; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; min-height: 44px; font-size: 15px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--text-on-dark); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice .dot { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--champagne); display: grid; place-items: center; }
.choice .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--champagne); transform: scale(0); transition: transform var(--t-fast) var(--ease-out); }
.choice input:checked + .dot::after { transform: scale(1); }
.choice input:focus-visible + .dot { outline: 2px solid var(--champagne); outline-offset: 3px; }
.form-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.form-actions .btn { min-width: 240px; }
.form-note { font-family: var(--sans); font-size: 13px; color: var(--muted-on-dark); margin: 0; }
.form-status { margin-top: 18px; padding: 16px 18px; font-family: var(--sans); font-size: 15px; border: 1px solid var(--line-dark); }
.form-status:empty { display: none; }
.form-status.ok { border-color: rgba(190, 214, 160, .6); color: #d9e8c6; }
.form-status.err { border-color: rgba(231, 163, 139, .6); color: #f1b8a3; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .field.span-2 { grid-column: auto; } .form-actions .btn { width: 100%; } }

/* ---------- Renovations page ---------- */
.subnav {
  position: sticky; top: 72px; z-index: 50;
  background: rgba(27, 18, 13, .9); border-bottom: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.subnav ul { display: flex; gap: 6px; list-style: none; margin: 0 auto; padding: 10px var(--gutter); overflow-x: auto; scrollbar-width: none; justify-content: center; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; white-space: nowrap;
  font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  color: var(--muted-on-dark); border: 1px solid transparent; transition: color var(--t-fast), border-color var(--t-fast);
}
.subnav a small { font-size: 11px; color: var(--champagne-lo); letter-spacing: .1em; }
.subnav a:hover { color: var(--champagne-hi); }
.subnav a.is-active { color: var(--champagne-hi); border-color: var(--line-dark); }
@media (max-width: 1100px) { .subnav ul { justify-content: flex-start; } }

.reno-cat { scroll-margin-top: 140px; }
.reno-cat + .reno-cat { border-top: 1px solid var(--line-dark); }
.reno-head { display: grid; grid-template-columns: auto 1fr; gap: 12px 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.reno-head .num { font-size: clamp(64px, 8vw, 128px); line-height: .8; font-weight: 300; }
.reno-head p { margin: 14px 0 0; max-width: 58ch; color: var(--muted-on-dark); }
.reno-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.reno-grid .ba:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.reno-grid figure { margin: 0; }
@media (max-width: 800px) { .reno-grid { grid-template-columns: 1fr; } .reno-grid .ba:first-child { aspect-ratio: 3 / 2; } }
.hint { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 13px; letter-spacing: .08em; color: var(--muted-on-dark); }

/* ---------- Testimonials page ---------- */
.t-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(56px, 7vw, 110px) clamp(32px, 5vw, 80px); }
.t-card { margin: 0; }
.t-card.t-right { margin-top: clamp(0px, 10vw, 160px); }
.t-card figure { margin: 0 0 32px; position: relative; overflow: hidden; }
.t-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1600ms var(--ease-out); }
.t-card:hover img { transform: scale(1.04); }
.t-card blockquote { margin: 0; position: relative; padding-left: 30px; border-left: 1px solid var(--line-dark); }
.t-card blockquote p { font-size: clamp(19px, 1.35vw, 22px); line-height: 1.75; color: var(--text-on-dark); }
.t-card blockquote p:first-child::first-letter { font-size: 1.6em; line-height: 1; color: var(--champagne); }
.t-card cite { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-style: normal; font-size: 14px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--champagne); }
.t-card cite::before { content: ""; width: 32px; height: 1px; background: currentColor; }
/* Featured testimonial: large type across the full width; words brighten as it scrolls into view */
.t-feature {
  grid-column: 1 / -1; text-align: center; max-width: 1040px; margin: clamp(8px, 3vw, 48px) auto;
  padding: clamp(56px, 7vw, 112px) 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.t-feature blockquote { margin: 0; }
.t-feature p { font-style: italic; font-size: clamp(24px, 2.6vw, 40px); line-height: 1.5; color: var(--champagne-hi); margin: 0 0 .8em; }
.t-feature .w { opacity: var(--o, 1); transition: opacity 300ms linear; }
.t-feature [data-lit] { --o: 1; }
.t-feature cite { display: inline-flex; align-items: center; gap: 16px; margin-top: 12px; font-style: normal; font-size: 15px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--champagne); }
.t-feature cite::before, .t-feature cite::after { content: ""; width: 40px; height: 1px; background: currentColor; }
.t-feature .quote-mark { margin-bottom: 24px; }
@media (max-width: 900px) { .t-list { grid-template-columns: 1fr; } .t-card.t-right { margin-top: 0; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}
