/* ============================================
   V.I.P Lave Auto — Longueuil
   Design system
   ============================================ */

:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --bg-3: #1a1a1d;
  --fg: #f5f2ea;
  --fg-2: #b8b4ac;
  --fg-3: #7a7770;
  --rule: rgba(245, 242, 234, 0.08);
  --rule-2: rgba(245, 242, 234, 0.14);
  --accent: #d4a849;
  --accent-2: #e8bf65;
  --accent-deep: #9c7a2f;
  --max: 1320px;
  --gutter: clamp(20px, 4vw, 60px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  overflow-x: clip;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, video, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ============================================
   Nav
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px var(--gutter);
  display: flex; justify-content: space-between; align-items: center;
  transition: background 400ms ease, padding 300ms ease, backdrop-filter 400ms ease;
}
.nav.scrolled {
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--rule);
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 10px;
}
.nav-brand .vip {
  color: var(--accent);
  font-style: italic;
  letter-spacing: 0.08em;
}
.nav-brand .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fg-2);
  transition: color 200ms;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--accent);
}
.nav-links a.nav-cta {
  padding: 12px 22px;
  background: var(--accent);
  color: #1a1306;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: transform 200ms, background 200ms, box-shadow 200ms;
  box-shadow: 0 8px 24px -8px rgba(212, 168, 73, 0.55);
}
.nav-links a.nav-cta:hover {
  background: var(--accent-2);
  color: #1a1306;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -8px rgba(212, 168, 73, 0.7);
}
.nav-links a.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  width: 28px; height: 28px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--fg);
  transition: transform 300ms, opacity 300ms;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: 0;
    width: min(320px, 80vw); height: 100vh;
    background: var(--bg-2);
    flex-direction: column; justify-content: center; gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--rule);
  }
  .nav-links a { font-size: 18px; }
  .nav.open .nav-links { transform: translateX(0); }
  .nav-cta { order: 99; margin-top: 16px; }
}

/* ============================================
   Hero — Apple-style scroll-scrub
   ============================================ */
.hero {
  position: relative;
  height: 220vh;
  background: #000;
}
.hero-sticky {
  position: sticky; top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 60%, #1a1a1f 0%, #050506 70%);
}
.hero-video-wrap {
  position: absolute; inset: 0;
}
.hero-canvas {
  width: 100%; height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 500ms ease;
  background: #0a0a0b;
}
.hero-canvas.ready { opacity: 1; }
.hero-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.55), transparent 50%),
    radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.45), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(212,168,73,0.05), transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 0 var(--gutter);
  text-align: center;
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ""; width: 28px; height: 1px; background: var(--accent); opacity: 0.55;
}

.hero-words {
  font-family: 'Playfair Display', serif;
  font-size: clamp(56px, 11vw, 180px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  min-height: 1.05em;
}
.hero-words .rotator {
  display: inline-block;
  position: relative;
  font-style: italic;
  color: var(--accent);
  min-width: 4ch;
}
.hero-words .rotator-word {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}
.hero-words .rotator-word.active {
  opacity: 1;
  transform: translateY(0);
}
.hero-words .rotator-word.exit {
  opacity: 0;
  transform: translateY(-30px);
}
.hero-words .rotator-ghost {
  opacity: 0;
  visibility: hidden;
  white-space: nowrap;
}

.hero-lede {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--fg-2);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.55;
}

.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  pointer-events: auto;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: transform 200ms, background 200ms, border-color 200ms, color 200ms, box-shadow 200ms;
  border: 1px solid transparent;
  line-height: 1;
}
.btn .arrow { transition: transform 200ms; font-weight: 500; }
.btn:hover .arrow { transform: translateX(3px); }
.btn.primary {
  background: var(--accent);
  color: #1a1306;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 30px -10px rgba(212, 168, 73, 0.55);
}
.btn.primary:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 14px 38px -10px rgba(212, 168, 73, 0.7);
}
.btn.ghost {
  border-color: rgba(245, 242, 234, 0.24);
  color: var(--fg);
}
.btn.ghost:hover { background: rgba(245, 242, 234, 0.06); border-color: var(--fg); }

.hero-scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  pointer-events: none;
}
.hero-scroll-hint .line {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero-progress {
  position: absolute; bottom: 0; left: 0;
  height: 2px; background: var(--accent);
  width: 0%;
  transition: width 60ms linear;
  z-index: 5;
}

@media (max-width: 640px) {
  .hero-scroll-hint { bottom: 18px; font-size: 9px; }
  .hero-scroll-hint .line { height: 24px; }
}

/* ============================================
   Marquee / intro ticker
   ============================================ */
.ticker {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  padding: 26px 0;
  background: var(--bg-2);
}
.ticker-track {
  display: flex;
  gap: 72px;
  animation: tickerRoll 46s linear infinite;
  white-space: nowrap;
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.2vw, 44px);
  font-style: italic;
  color: var(--fg);
}
.ticker-track > span { display: inline-flex; align-items: center; gap: 72px; padding-right: 72px; }
.ticker-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); display: inline-block; }
@keyframes tickerRoll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================
   Intro section
   ============================================ */
.intro {
  padding: clamp(100px, 16vh, 180px) var(--gutter);
  border-top: 1px solid var(--rule);
}
.intro-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.intro-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.intro-label::before { content: ""; width: 32px; height: 1px; background: var(--accent); }
.intro-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.intro-title em { font-style: italic; color: var(--accent); }
.intro-right { display: flex; flex-direction: column; gap: 24px; padding-top: 12px; }
.intro-right p { color: var(--fg-2); font-size: 17px; line-height: 1.65; }
.intro-right p:first-child::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 3.4em;
  float: left;
  line-height: 0.9;
  margin: 4px 12px 0 0;
  color: var(--accent);
  font-style: italic;
}
.intro-sig {
  margin-top: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--fg);
}
@media (max-width: 860px) {
  .intro-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   Services grid
   ============================================ */
.services {
  padding: clamp(100px, 14vh, 150px) var(--gutter);
  border-top: 1px solid var(--rule);
  background: var(--bg-2);
}
.services-inner { max-width: var(--max); margin: 0 auto; }
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 70px;
}
.services-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.services-head h2 em { font-style: italic; color: var(--accent); }
.services-head p { color: var(--fg-2); font-size: 16px; line-height: 1.6; max-width: 440px; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.svc-card {
  background: var(--bg);
  padding: 44px 36px 38px;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  transition: background 400ms, transform 400ms;
  position: relative;
}
.svc-card:hover { background: var(--bg-3); }
.svc-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--fg-3);
  margin-bottom: 60px;
  font-variant-numeric: tabular-nums;
}
.svc-name {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.svc-tag {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--accent);
  margin-bottom: 22px;
}
.svc-body {
  color: var(--fg-2);
  font-size: 14.5px;
  line-height: 1.6;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
@media (max-width: 860px) {
  .services-head { grid-template-columns: 1fr; gap: 20px; }
  .svc-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Value / features band
   ============================================ */
.values {
  padding: clamp(100px, 14vh, 150px) var(--gutter);
  border-top: 1px solid var(--rule);
}
.values-inner { max-width: var(--max); margin: 0 auto; }
.values-head { margin-bottom: 60px; max-width: 720px; }
.values-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.values-head h2 em { font-style: italic; color: var(--accent); }
.values-head p { color: var(--fg-2); font-size: 16px; line-height: 1.6; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.value {
  background: var(--bg);
  padding: 40px 28px;
}
.value-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 44px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 24px;
}
.value-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.value-text { font-size: 14px; color: var(--fg-2); line-height: 1.55; }
@media (max-width: 860px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values-grid { grid-template-columns: 1fr; } }

/* ============================================
   Big CTA
   ============================================ */
.cta-block {
  padding: clamp(120px, 18vh, 200px) var(--gutter);
  border-top: 1px solid var(--rule);
  background: var(--bg-2);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(212,168,73,0.1), transparent 60%);
  pointer-events: none;
}
.cta-block-inner { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; }
.cta-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.cta-block h2 em { font-style: italic; color: var(--accent); }
.cta-block p { color: var(--fg-2); font-size: 17px; max-width: 520px; margin: 0 auto 40px; }
.cta-block .btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ============================================
   Address strip
   ============================================ */
.addr {
  padding: 24px var(--gutter);
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  background: var(--bg);
}
.addr strong { color: var(--fg); font-weight: 600; }
.addr em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-size: 18px;
  color: var(--accent);
}

/* ============================================
   Footer
   ============================================ */
footer {
  padding: 70px var(--gutter) 34px;
  border-top: 1px solid var(--rule);
  background: var(--bg);
}
.foot-top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--rule);
}
.foot-brand {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.foot-brand .vip { color: var(--accent); font-style: italic; letter-spacing: 0.08em; }
.foot-sub {
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}
.foot-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.foot-col a, .foot-col span {
  display: block;
  font-size: 14px;
  color: var(--fg-2);
  margin-bottom: 10px;
  transition: color 200ms;
}
.foot-col a:hover { color: var(--fg); }
.foot-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--fg-3);
}
.foot-bottom a { color: var(--fg-3); transition: color 200ms; }
.foot-bottom a:hover { color: var(--fg-2); }
@media (max-width: 860px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 520px) {
  .foot-top { grid-template-columns: 1fr; }
}

/* ============================================
   Inner page hero (services/about/contact)
   ============================================ */
.page-hero {
  padding: clamp(160px, 24vh, 240px) var(--gutter) clamp(80px, 12vh, 130px);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(212,168,73,0.09), transparent 60%);
  pointer-events: none;
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.page-hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.page-hero-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--accent); }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 9vw, 140px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  max-width: 1000px;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero .lede {
  color: var(--fg-2);
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 620px;
  line-height: 1.6;
}

/* ============================================
   Services detailed page
   ============================================ */
.svc-list {
  padding: clamp(60px, 10vh, 120px) var(--gutter);
}
.svc-list-inner { max-width: var(--max); margin: 0 auto; }
.svc-row {
  display: grid;
  grid-template-columns: 0.2fr 1fr 1.6fr;
  gap: 40px;
  align-items: start;
  padding: 44px 0;
  border-bottom: 1px solid var(--rule);
  transition: background 400ms;
}
.svc-row:first-child { border-top: 1px solid var(--rule); }
.svc-row-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent);
  padding-top: 8px;
}
.svc-row h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.svc-row h3 em { font-style: italic; color: var(--accent); }
.svc-row-body {
  color: var(--fg-2);
  font-size: 15.5px;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.svc-row-body strong { color: var(--fg); font-weight: 600; }
.svc-features {
  list-style: none;
  padding-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.svc-features li {
  font-size: 14px;
  color: var(--fg-2);
  padding-left: 18px;
  position: relative;
}
.svc-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 1px;
  background: var(--accent);
}
@media (max-width: 860px) {
  .svc-row { grid-template-columns: 1fr; gap: 20px; }
  .svc-row-num { padding-top: 0; }
  .svc-features { grid-template-columns: 1fr; }
}

/* ============================================
   About page
   ============================================ */
.about-story {
  padding: clamp(80px, 12vh, 140px) var(--gutter);
  border-top: 1px solid var(--rule);
}
.about-story-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--fg-2);
}
.about-story-inner .lead {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 34px);
  font-style: italic;
  color: var(--fg);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.about-story-inner .lead em { color: var(--accent); }

.about-stats {
  padding: 0 var(--gutter) clamp(80px, 12vh, 140px);
}
.about-stats-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.stat {
  background: var(--bg);
  padding: 48px 36px;
  text-align: center;
}
.stat-val {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 500;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-2);
}
@media (max-width: 660px) { .about-stats-grid { grid-template-columns: 1fr; } }

/* ============================================
   Contact page
   ============================================ */
.contact {
  padding: clamp(60px, 10vh, 120px) var(--gutter) clamp(80px, 12vh, 140px);
}
.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}
.contact-info { display: flex; flex-direction: column; gap: 40px; }
.contact-card {
  padding: 32px;
  border: 1px solid var(--rule);
  background: var(--bg-2);
  transition: border-color 300ms, background 300ms;
}
.contact-card:hover { border-color: var(--accent); background: var(--bg-3); }
.contact-card-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.contact-card-val {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  display: block;
  color: var(--fg);
  transition: color 200ms;
}
a.contact-card-val:hover { color: var(--accent); }
a.contact-card-val + a.contact-card-val { margin-top: -2px; }
.contact-card-sub { color: var(--fg-2); font-size: 14px; line-height: 1.6; }

.map-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--bg-2);
}
.map-wrap iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(0.35) contrast(1.08) brightness(0.82);
}
@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================
   Fade-in on scroll
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Mobile polishing (must stay last — overrides)
   ============================================ */
@media (max-width: 860px) {
  :root { --gutter: 20px; }

  .hero { height: 200vh; }

  .hero-words {
    font-size: clamp(44px, 13vw, 64px);
    line-height: 0.98;
    margin-bottom: 18px;
  }
  .hero-words .rotator { min-width: 3ch; }

  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.22em;
    margin-bottom: 22px;
  }
  .hero-eyebrow::before, .hero-eyebrow::after { width: 18px; }

  .hero-lede {
    font-size: 15px;
    margin-bottom: 32px;
    padding: 0 4px;
  }

  .hero-ctas { width: 100%; gap: 10px; }
  .hero-ctas .btn {
    flex: 1 1 100%;
    justify-content: center;
    padding: 16px 22px;
    font-size: 15px;
  }

  .hero-content { padding: 0 24px; }

  .hero-progress { height: 3px; }

  .nav { padding: 16px var(--gutter); }
  .nav.scrolled { padding: 12px var(--gutter); }
  .nav-brand { font-size: 18px; }
  .nav-brand .dot { width: 5px; height: 5px; }

  .ticker { padding: 20px 0; }
  .ticker-track { gap: 48px; font-size: 28px; }
  .ticker-track > span { gap: 48px; padding-right: 48px; }

  .intro { padding: 80px var(--gutter); }
  .intro-title { font-size: clamp(32px, 8vw, 48px); }
  .intro-right p { font-size: 16px; line-height: 1.6; }
  .intro-right p:first-child::first-letter { font-size: 2.8em; margin-right: 8px; }
  .intro-sig { font-size: 18px; }

  .services { padding: 70px var(--gutter); }
  .services-head h2 { font-size: clamp(34px, 8.5vw, 52px); }
  .services-head p { font-size: 15px; }
  .svc-card {
    padding: 32px 24px 28px;
    min-height: auto;
  }
  .svc-num { margin-bottom: 32px; }
  .svc-name { font-size: 26px; }
  .svc-tag { font-size: 15px; margin-bottom: 18px; }
  .svc-body { padding-top: 18px; font-size: 14px; }

  .values { padding: 70px var(--gutter); }
  .values-head h2 { font-size: clamp(30px, 7.5vw, 46px); }
  .value { padding: 32px 22px; }
  .value-num { font-size: 36px; margin-bottom: 18px; }
  .value-title { font-size: 19px; }

  .cta-block { padding: 80px var(--gutter); }
  .cta-block h2 { font-size: clamp(36px, 9.5vw, 60px); }
  .cta-block p { font-size: 15px; }
  .cta-block .btns { width: 100%; gap: 10px; }
  .cta-block .btns .btn { flex: 1 1 100%; justify-content: center; }

  .addr {
    padding: 22px var(--gutter);
    gap: 8px;
    text-align: center;
    justify-content: center;
    flex-direction: column;
  }
  .addr span { width: 100%; font-size: 10px; letter-spacing: 0.18em; }
  .addr em { font-size: 15px; }

  .page-hero { padding: 130px var(--gutter) 70px; }
  .page-hero h1 { font-size: clamp(44px, 11vw, 80px); margin-bottom: 20px; line-height: 1; }
  .page-hero .lede { font-size: 15px; }

  .svc-list { padding: 50px var(--gutter); }
  .svc-row { padding: 32px 0; }
  .svc-row h3 { font-size: clamp(26px, 7vw, 36px); }
  .svc-row-body { font-size: 15px; }
  .svc-features { grid-template-columns: 1fr; }

  .about-story { padding: 60px var(--gutter); }
  .about-story-inner { font-size: 16px; gap: 22px; }
  .about-story-inner .lead { font-size: clamp(22px, 5.5vw, 28px); }

  .about-stats { padding: 0 var(--gutter) 60px; }
  .stat { padding: 32px 20px; }
  .stat-val { font-size: clamp(38px, 9vw, 52px); }

  .contact { padding: 40px var(--gutter) 60px; }
  .contact-card { padding: 24px; }
  .contact-card-val { font-size: 22px; }
  .contact-info { gap: 20px; }
  .map-wrap { aspect-ratio: 4/3; }

  footer { padding: 50px var(--gutter) 28px; }
  .foot-top { padding-bottom: 40px; gap: 28px; grid-template-columns: 1fr; }
  .foot-brand { font-size: 22px; }
  .foot-sub { max-width: none; }
  .foot-col h4 { margin-bottom: 12px; }
  .foot-bottom { flex-direction: column; gap: 8px; font-size: 11px; text-align: center; }
}

@media (max-width: 420px) {
  .hero-words { font-size: 44px; }
  .nav-brand span:last-child { font-size: 16px; }
  .hero-eyebrow::before, .hero-eyebrow::after { display: none; }
  .hero-eyebrow { text-align: center; }
  .page-hero h1 { font-size: 42px; }
}
