/* ==========================================================================
   The McLaughlin Building — round 2 visual system
   Matched to the actual thesavoylondon.com reference screenshots:
   near-black / warm cream alternating full-bleed sections, thin wide-tracked
   caps typography, ghost + deep-green diamond buttons, edge-to-edge
   photography, minimal chrome.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --black: #0a0a0a;
  --black-deep: #050505;
  --cream: #f4f0e5;
  --cream-dim: #ece7da;
  --green: #0e3b2e;
  --green-hover: #14493a;
  --gold: #b3925a;

  --ink: #55524a;          /* body text on cream */
  --ink-strong: #4b4840;   /* headings on cream */
  --ink-soft: #7c786e;     /* muted text on cream */

  --paper: #d8d5cd;        /* light text on black */
  --paper-bright: #eee9dd;
  --paper-soft: #96938b;   /* muted text on black */

  --hairline-dark: rgba(244, 240, 229, 0.16);
  --hairline-light: rgba(75, 72, 64, 0.2);

  --sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  --header-h: 66px;
  --ease: cubic-bezier(0.22, 0.61, 0.25, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }

h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; }

ol, ul { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

::selection { background: var(--green); color: var(--cream); }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--green);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: top 0.3s ease;
}
.skip-link:focus { top: 12px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 6vw; }
.container.narrow { max-width: 860px; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--paper-soft);
}
.eyebrow-gold { color: var(--gold); }

.caps-title {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  line-height: 1.5;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--paper);
}

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-strong);
}
.section-title.on-black { color: var(--paper-bright); }

.center-head { text-align: center; }

.lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.85;
  color: var(--ink);
}

/* ---------- Buttons (ghost / solid green, diamond glyph) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 1.1em;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: 0;
  background: none;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.btn .glyph {
  width: 26px;
  height: 10px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1;
}

.btn-ghost {
  border-color: rgba(244, 240, 229, 0.5);
  color: var(--paper-bright);
}
.btn-ghost:hover { border-color: var(--paper-bright); background: rgba(244, 240, 229, 0.07); }

.btn-solid {
  background: var(--green);
  border-color: var(--green);
  color: #f2efe6;
}
.btn-solid:hover { background: var(--green-hover); border-color: var(--green-hover); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1.1em;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper);
  border-bottom: 1px solid var(--hairline-dark);
  padding-bottom: 8px;
  transition: color 0.35s ease, border-color 0.35s ease;
}
.text-link .glyph { width: 24px; height: 10px; stroke: currentColor; fill: none; stroke-width: 1; }
.text-link:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  background: var(--black-deep);
  transition: box-shadow 0.4s ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--hairline-dark); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
  padding: 0 clamp(18px, 3vw, 44px);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 6px;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle-bar {
  width: 26px;
  height: 1px;
  background: var(--paper);
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}
body.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.brand {
  font-size: 15px;
  font-weight: 200;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--paper-bright);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions .btn { padding: 13px 20px; }

/* ---------- Full-screen menu ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(5, 5, 5, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.6s var(--ease), visibility 0s linear 0.6s;
}
body.nav-open .menu-overlay {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.6s var(--ease), visibility 0s;
}
.menu-overlay ul { text-align: center; }
.menu-overlay li { margin: 20px 0; }
.menu-overlay a {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 200;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--paper);
  transition: color 0.35s ease;
}
.menu-overlay a:hover,
.menu-overlay a.is-active { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -14% 0;
  background: url('../assets/hero-aerial.jpg') center / cover no-repeat;
  opacity: 0.4;
  filter: grayscale(0.3) contrast(1.05) brightness(0.8);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(115% 90% at 32% 50%, rgba(5, 5, 5, 0.5) 0%, rgba(5, 5, 5, 0.88) 72%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.75) 0%, rgba(5, 5, 5, 0.55) 45%, rgba(5, 5, 5, 0.9) 100%);
}

.hero-content {
  position: relative;
  padding: 0 6vw;
  max-width: 980px;
}

.hero-title {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 1.38;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #d3d0c8;
}

/* viewfinder thumbnail, right side (see savoy_hero.png) */
.hero-view {
  position: absolute;
  right: 5vw;
  top: 50%;
  transform: translateY(-62%);
  width: 158px;
  padding: 12px;
}
.hero-view .corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(244, 240, 229, 0.55);
}
.hero-view .tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hero-view .tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hero-view .bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hero-view .br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hero-view img {
  display: block;
  width: 100%;
  filter: brightness(0.82) saturate(0.85);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  padding: 20px;
}
.hero-scroll-line {
  display: block;
  width: 1px;
  height: 62px;
  background: linear-gradient(rgba(244, 240, 229, 0), rgba(244, 240, 229, 0.55));
  animation: scroll-cue 2.6s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scroll-cue {
  0% { transform: scaleY(0); opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- Intro (cream) ---------- */
.section { padding: clamp(90px, 13vh, 150px) 6vw; }

.intro {
  background: var(--cream);
  color: var(--ink);
  text-align: center;
}

/* left-to-right wipe reveal via mask (clip-path would zero the element's
   intersection rect and deadlock the scroll-reveal observer) */
.display-title {
  margin: clamp(60px, 13vh, 130px) auto clamp(50px, 10vh, 100px);
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 78%);
  mask-image: linear-gradient(90deg, #000 55%, transparent 78%);
  -webkit-mask-size: 260% 100%;
  mask-size: 260% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  transition: -webkit-mask-position 2.1s var(--ease) 0.15s, mask-position 2.1s var(--ease) 0.15s;
}
.display-title.is-revealed {
  -webkit-mask-position: 0% 0;
  mask-position: 0% 0;
}

.display-text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.7rem, 9vw, 8.2rem);
  line-height: 1.08;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: linear-gradient(96deg, #5c5850 0%, #7d7970 42%, #aaa598 74%, #cfcabc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  max-width: 54ch;
  margin: 0 auto;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.3em;
  line-height: 2;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.intro-copy { margin-top: clamp(56px, 9vh, 96px); }
.intro-copy .lead + .lead { margin-top: 28px; }

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(36px, 6vw, 96px);
  margin-top: clamp(70px, 11vh, 120px);
  padding-top: 48px;
  border-top: 1px solid var(--hairline-light);
}
.stat { max-width: 180px; }
.stat-num {
  display: block;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 200;
  letter-spacing: 0.12em;
  color: var(--ink-strong);
}
.stat-label {
  display: block;
  margin-top: 14px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.26em;
  line-height: 1.8;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- The Building: full-bleed tab band ---------- */
.band {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--black);
}

.band-layer {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.1s ease, transform 6s ease-out;
}
.band-layer.is-active { opacity: 1; transform: scale(1); }
.band-layer[data-layer="0"] { background-image: url('../assets/hero-aerial.jpg'); }
.band-layer[data-layer="1"] { background-image: url('../assets/aerial-wide.jpg'); }
.band-layer[data-layer="2"] { background-image: url('../assets/brick-texture.jpg'); }
.band-layer[data-layer="3"] { background-image: url('../assets/historic-ave.jpg'); }

.band-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.7) 0%, rgba(8, 8, 8, 0.56) 45%, rgba(8, 8, 8, 0.76) 100%);
}

.band-content {
  position: relative;
  width: 100%;
  padding: calc(var(--header-h) + 60px) 4vw 80px;
}

.band-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.6vw, 38px);
}
.band-tab {
  position: relative;
  padding: 6px 2px 14px;
  border: 0;
  background: none;
  font-size: clamp(0.95rem, 1.7vw, 1.35rem);
  font-weight: 200;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(240, 238, 230, 0.5);
  cursor: pointer;
  transition: color 0.4s ease;
}
.band-tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--paper-bright);
  transition: right 0.5s var(--ease);
}
.band-tab:hover { color: rgba(240, 238, 230, 0.85); }
.band-tab.is-active { color: #f0eee6; }
.band-tab.is-active::after { right: 0; }

.tab-diamond {
  width: 7px;
  height: 7px;
  flex: none;
  border: 1px solid rgba(240, 238, 230, 0.55);
  transform: rotate(45deg);
}

.band-panels {
  display: grid;
  max-width: 820px;
  margin: clamp(36px, 6vh, 60px) auto clamp(40px, 6vh, 64px);
}
.band-panel {
  grid-area: 1 / 1;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  line-height: 1.8;
  color: rgba(244, 242, 234, 0.9);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.band-panel.is-active { opacity: 1; transform: none; }

/* ---------- Gallery: edge-to-edge carousel ---------- */
.gallery {
  background: var(--cream);
  padding: clamp(70px, 11vh, 120px) 0 0;
}

.carousel { overflow: hidden; }

.carousel-track {
  display: flex;
  gap: 10px;
  width: max-content;
  transition: transform 0.85s var(--ease);
}

.car-tile {
  flex: none;
  width: clamp(240px, 27.5vw, 400px);
  height: clamp(340px, 52vh, 520px);
  padding: 0;
  border: 0;
  background: none;
  overflow: hidden;
  cursor: pointer;
}
.car-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  filter: saturate(0.92);
  transition: transform 1.4s var(--ease), opacity 0.6s ease;
}
.car-tile:hover img,
.car-tile:focus-visible img { transform: scale(1.045); opacity: 1; }

.carousel-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 36px 6vw 52px;
}
.car-arrow {
  padding: 8px;
  border: 0;
  background: none;
  color: var(--ink-strong);
  cursor: pointer;
  transition: color 0.35s ease, opacity 0.35s ease;
}
.car-arrow svg { display: block; width: 34px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1; }
.car-arrow:hover { color: var(--gold); }
.car-arrow[disabled] { opacity: 0.28; cursor: default; }
.car-arrow[disabled]:hover { color: var(--ink-strong); }

.car-count {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--ink-strong);
}
.car-div { width: 1px; height: 16px; background: var(--hairline-light); }

/* ---------- History (black) ---------- */
.history {
  position: relative;
  background: var(--black);
  color: var(--paper);
  text-align: center;
  overflow: hidden;
}

.history-peek {
  position: absolute;
  top: clamp(50px, 9vh, 100px);
  width: 13vw;
  height: 112px;
  background-position: center;
  background-size: cover;
  opacity: 0.2;
  filter: grayscale(0.45) brightness(0.8);
}
.history-peek.left { left: 0; background-image: url('../assets/historic-ave.jpg'); }
.history-peek.right { right: 0; background-image: url('../assets/historic-street.jpg'); }

.head-note {
  max-width: 58ch;
  margin: 36px auto 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--paper-soft);
}

.timeline {
  max-width: 780px;
  margin: clamp(60px, 9vh, 110px) auto 0;
  text-align: left;
}
.t-entry {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(24px, 4vw, 44px);
  padding: 34px 0;
  border-top: 1px solid var(--hairline-dark);
}
.t-entry:last-child { border-bottom: 1px solid var(--hairline-dark); }
.t-year {
  padding-top: 5px;
  font-size: 1rem;
  font-weight: 200;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.t-body h3 {
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #e2dfd7;
}
.t-body p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--paper-soft);
}

.plate {
  max-width: 440px;
  margin: clamp(64px, 10vh, 110px) auto 0;
}
.plate img { display: block; width: 100%; }
.plate figcaption {
  margin-top: 18px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1.9;
  text-transform: uppercase;
  color: var(--paper-soft);
}

/* ---------- Storytelling photo band ---------- */
.storytelling {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}
.storytelling-bg {
  position: absolute;
  inset: -16% 0;
  background: url('../assets/historic-street.jpg') center / cover no-repeat;
  filter: grayscale(0.55) brightness(0.85);
}
.storytelling-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.72) 0%, rgba(5, 5, 5, 0.5) 50%, rgba(5, 5, 5, 0.78) 100%);
}
.storytelling-content {
  position: relative;
  text-align: center;
  padding: calc(var(--header-h) + 40px) 6vw 60px;
}
.storytelling-content blockquote {
  max-width: 24ch;
  margin: 0 auto;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.55;
  letter-spacing: 0.05em;
  color: var(--paper-bright);
}
.storytelling-content figcaption {
  margin-top: 34px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  line-height: 1.9;
  text-transform: uppercase;
  color: var(--paper-soft);
}

/* ---------- Renewal (cream) ---------- */
.renewal { background: var(--cream); color: var(--ink); }

.renewal .center-head .eyebrow { display: block; margin-bottom: 26px; }

.renewal-row {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  max-width: 1240px;
  margin: clamp(64px, 10vh, 116px) auto 0;
}
.renewal-row.reverse .renewal-figure { order: 2; }
.renewal-row.reverse .renewal-text { order: 1; }

.renewal-figure img { display: block; width: 100%; }
.renewal-figure figcaption {
  margin-top: 16px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1.9;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.renewal-text h3 {
  margin-bottom: 22px;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-strong);
}
.renewal-text p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--ink);
}
.renewal-text p + p { margin-top: 20px; }

.pull-quote {
  margin: clamp(84px, 13vh, 150px) auto 0;
  text-align: center;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.1vw, 2.6rem);
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-strong);
}
.pull-quote em { font-style: italic; color: var(--gold); }

/* ---------- Visit (black) ---------- */
.visit { background: var(--black); color: var(--paper); }

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 8vw, 120px);
}

.visit-info .eyebrow { display: block; margin-bottom: 26px; }
.visit-address {
  margin-top: 40px;
  font-family: var(--serif);
  font-style: normal;
  font-size: 1.15rem;
  line-height: 2;
  color: var(--paper);
}
.visit-note {
  margin-top: 28px;
  max-width: 44ch;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--paper-soft);
}
.visit-links { margin-top: 34px; }
.visit-contact { margin-top: 52px; }
.visit-contact-label {
  margin-bottom: 16px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.visit-contact p {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 2;
}
.visit-contact .text-link { border-bottom: 0; padding-bottom: 0; }

.visit-form .form-title {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--paper-bright);
}
.visit-form .form-sub {
  margin-top: 18px;
  max-width: 46ch;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--paper-soft);
}
.form-field { margin-top: 30px; }
.form-field label {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--paper-soft);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 2px;
  border: 0;
  border-bottom: 1px solid var(--hairline-dark);
  border-radius: 0;
  background: transparent;
  color: var(--paper-bright);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.04em;
  transition: border-color 0.35s ease;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus,
.form-field textarea:focus { outline: none; border-color: var(--gold); }
.visit-form .btn { margin-top: 40px; }
.form-hint {
  margin-top: 22px;
  font-size: 10px;
  letter-spacing: 0.22em;
  line-height: 1.8;
  text-transform: uppercase;
  color: var(--paper-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black-deep);
  border-top: 1px solid var(--hairline-dark);
  padding: clamp(60px, 9vh, 90px) 6vw 44px;
  text-align: center;
}
.footer-mark { width: 34px; height: 34px; color: var(--paper-soft); }
.footer-name {
  margin-top: 22px;
  font-size: 14px;
  font-weight: 200;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--paper);
}
.footer-est {
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 30px;
  margin-top: 44px;
}
.footer-nav a {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper-soft);
  transition: color 0.35s ease;
}
.footer-nav a:hover { color: var(--paper-bright); }
.footer-sources {
  max-width: 74ch;
  margin: 40px auto 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.88rem;
  line-height: 1.8;
  color: #77746c;
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 30px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline-dark);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6f6c65;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 5, 0.96);
}
.lightbox[hidden] { display: none; }
.lightbox-figure { max-width: 86vw; text-align: center; }
.lightbox-figure img {
  max-width: 86vw;
  max-height: 76vh;
  max-height: 76svh;
  object-fit: contain;
}
.lightbox-figure figcaption {
  margin-top: 20px;
  font-size: 10px;
  letter-spacing: 0.26em;
  line-height: 1.9;
  text-transform: uppercase;
  color: var(--paper-soft);
}
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--hairline-dark);
  background: none;
  color: var(--paper);
  cursor: pointer;
  transition: border-color 0.35s ease, color 0.35s ease;
}
.lightbox-close:hover { border-color: var(--paper); color: var(--paper-bright); }
.lightbox-close svg { width: 18px; height: 18px; }
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  background: none;
  color: var(--paper);
  cursor: pointer;
  transition: color 0.35s ease;
}
.lightbox-arrow:hover { color: var(--gold); }
.lightbox-arrow svg { width: 22px; height: 22px; }
.lightbox-prev { left: 3vw; }
.lightbox-next { right: 3vw; }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 1s ease var(--reveal-delay, 0ms),
    transform 1s var(--ease) var(--reveal-delay, 0ms);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* the display headline reveals by left-to-right mask, not fade */
[data-reveal].display-title {
  opacity: 1;
  transform: none;
  transition: -webkit-mask-position 2.1s var(--ease) 0.15s, mask-position 2.1s var(--ease) 0.15s;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .visit-grid { grid-template-columns: 1fr; }
  .renewal-row { grid-template-columns: 1fr; gap: 36px; }
  .renewal-row.reverse .renewal-figure { order: 0; }
  .renewal-row.reverse .renewal-text { order: 0; }
  .history-peek { width: 18vw; }
}

@media (max-width: 860px) {
  .hero-view { display: none; }
  .hero-title { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .stats { gap: 34px 48px; }
  .t-entry { grid-template-columns: 86px 1fr; }
  .car-tile { width: 44vw; }
  .history-peek { display: none; }
}

@media (max-width: 640px) {
  .header-inner { gap: 14px; }
  .brand { font-size: 12px; letter-spacing: 0.32em; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 11px 12px; font-size: 9px; letter-spacing: 0.2em; gap: 0.8em; }
  .header-actions .btn .glyph { width: 18px; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; justify-items: start; text-align: left; }
  .t-entry { grid-template-columns: 1fr; gap: 12px; }
  .t-year { padding-top: 0; }
  .car-tile { width: 66vw; }
  .footer-base { flex-direction: column; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .display-title { -webkit-mask-image: none; mask-image: none; }
  .hero-scroll-line { animation: none; opacity: 1; }
}
