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

:root {
  --black:  #060606;
  --dark:   #0c0c0c;
  --card:   #111111;
  --blue:   #3a6bde;
  --blue2:  #5a87f5;
  --white:  #ffffff;
  --cream:  #f0ead8;
  --gray:   #606060;
  --lgray:  #999999;
  --border: #181818;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', -apple-system, sans-serif;
  overflow-x: hidden;
}

/* ─── NAV ───────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 36px 72px;
  transition: padding .5s ease, background .5s ease, backdrop-filter .5s ease, border-bottom .5s ease;
}

#nav.stuck {
  padding: 20px 72px;
  background: rgba(6,6,6,.93);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-logo img { height: 46px; display: block; }

.nav-links { display: flex; gap: 40px; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  transition: color .3s;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 11px 28px !important;
  border-radius: 3px !important;
}
.nav-cta:hover { background: var(--blue2) !important; }

/* ─── PARALLAX SCENE BASE ───────────────────────── */
.scene {
  position: relative;
  overflow: hidden;
}

/* The bg layer — JS sets transform */
.scene-bg {
  position: absolute;
  inset: -30% 0;          /* extra height for travel */
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.scene-overlay {
  position: absolute; inset: 0;
}

.scene-content {
  position: relative;
  z-index: 2;
}

/* ─── HERO SCENE ─────────────────────────────────── */
#hero {
  height: 100vh; min-height: 700px;
  display: flex; align-items: flex-end;
}

#hero .scene-bg {
  background-image: url('images/porsche-yellow.jpg');
  background-position: center 30%;
  /* Ken Burns */
  animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0%   { transform: translateY(0)   scale(1.12); }
  100% { transform: translateY(-3%) scale(1.04); }
}

#hero .scene-overlay {
  background:
    linear-gradient(to top,  rgba(6,6,6,1) 0%,  rgba(6,6,6,.55) 35%, rgba(6,6,6,.08) 70%),
    linear-gradient(to right, rgba(6,6,6,.72) 0%, transparent 60%);
}

#hero .scene-content {
  width: 100%;
  padding: 0 72px 108px;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 22px;
  opacity: 0; animation: up .9s .3s cubic-bezier(.4,0,.2,1) forwards;
}
.hero-eyebrow .eline { width: 36px; height: 1px; background: var(--blue); }
.hero-eyebrow span {
  font-size: 10px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue2);
}

#hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(68px, 10vw, 128px);
  font-weight: 600; line-height: .9; letter-spacing: -.02em;
  margin-bottom: 30px;
  opacity: 0; animation: up 1s .5s cubic-bezier(.4,0,.2,1) forwards;
}
#hero h1 em { font-style: italic; color: var(--blue2); }

.hero-sub {
  font-size: 16px; color: rgba(255,255,255,.48);
  max-width: 420px; line-height: 1.8; margin-bottom: 48px;
  opacity: 0; animation: up 1s .75s cubic-bezier(.4,0,.2,1) forwards;
}

.hero-btns {
  display: flex; align-items: center; gap: 24px;
  opacity: 0; animation: up 1s .95s cubic-bezier(.4,0,.2,1) forwards;
}

/* scroll cue */
.scroll-cue {
  position: absolute; right: 72px; bottom: 52px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fadeIn 1s 1.4s forwards;
  z-index: 3;
}
.scroll-cue span {
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.28); writing-mode: vertical-rl;
}
.scroll-track { width: 1px; height: 56px; background: rgba(255,255,255,.1); position: relative; overflow: hidden; }
.scroll-thumb {
  position: absolute; top: 0; width: 100%; height: 50%; background: var(--blue);
  animation: drop 2s ease-in-out infinite;
}
@keyframes drop { 0% { top: -50%; } 100% { top: 150%; } }

/* ─── BUTTONS ────────────────────────────────────── */
.btn-blue {
  display: inline-flex; align-items: center;
  background: var(--blue); color: #fff;
  padding: 15px 40px; border-radius: 3px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .3s, transform .3s;
}
.btn-blue:hover { background: var(--blue2); transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex; align-items: center;
  color: #fff; padding: 15px 40px; border-radius: 3px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.22);
  transition: border-color .3s, transform .3s;
}
.btn-ghost:hover { border-color: #fff; transform: translateY(-2px); }

.btn-link {
  color: var(--blue2); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap .3s;
}
.btn-link:hover { gap: 18px; }

/* ─── STATS STRIP ────────────────────────────────── */
.stats-strip {
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(4,1fr);
}
.stat {
  padding: 48px 20px; text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-n {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 58px; font-weight: 600; line-height: 1; margin-bottom: 10px;
}
.stat-l {
  font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gray);
}

/* ─── CONTENT PANELS ─────────────────────────────── */
.panel {
  padding: 120px 72px;
}

.panel-narrow {
  max-width: 1200px; margin: 0 auto;
}

/* label */
.lrow { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.lrow .ll { width: 32px; height: 1px; background: var(--blue); flex-shrink: 0; }
.lrow .lt {
  font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue2);
}

/* headings */
.h-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(42px,5.5vw,72px);
  font-weight: 600; line-height: 1.0; letter-spacing: -.02em;
  margin-bottom: 20px;
}
.h-serif em { font-style: italic; }

.body-text {
  font-size: 15px; color: var(--lgray); line-height: 1.85; max-width: 500px;
}

/* ─── PARALLAX FULL-SCREEN SCENES ────────────────── */
.pscene {
  height: 80vh; min-height: 520px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.pscene .scene-bg { background-size: cover; background-position: center; }

.pscene .scene-overlay {
  background: rgba(6,6,6,.42);
}

.pscene-label {
  position: relative; z-index: 2;
  text-align: center; padding: 0 40px;
}

.pscene-label .big {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(52px, 8vw, 108px);
  font-weight: 600; line-height: .9; letter-spacing: -.02em;
  color: rgba(255,255,255,.92);
  text-shadow: 0 4px 60px rgba(0,0,0,.8);
}

.pscene-label .big em { font-style: italic; color: var(--blue2); }

.pscene-label .sub {
  font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-top: 20px;
}

/* ─── SERVICES GRID ──────────────────────────────── */
.services-panel { background: var(--dark); }

.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--border);
  margin-top: 64px;
}

.svc {
  padding: 48px 36px;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background .3s;
}
.svc:last-child { border-right: none; }
.svc:hover { background: rgba(255,255,255,.02); }
.svc.hot { background: rgba(58,107,222,.06); }

.svc-tier {
  font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue2); margin-bottom: 28px;
}
.svc-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px; font-weight: 600; margin-bottom: 12px;
}
.svc-price {
  font-size: 54px; font-weight: 800; line-height: 1; color: #fff;
  margin-bottom: 4px;
}
.svc-price sup { font-size: 22px; font-weight: 600; color: var(--lgray); vertical-align: super; }
.svc-note {
  font-size: 11px; color: var(--gray);
  margin-bottom: 36px; padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.svc-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.svc-list li {
  font-size: 13px; color: var(--lgray);
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.5;
}
.svc-list li::before {
  content: ''; width: 3px; height: 3px;
  border-radius: 50%; background: var(--blue);
  flex-shrink: 0; margin-top: 7px;
}
.svc-badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--blue); color: #fff;
  font-size: 9px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
}

/* ─── MONTHLY PLAN FEATURE ───────────────────────── */
.monthly-feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  border: 1px solid var(--blue);
  background: rgba(58,107,222,.05);
  padding: 56px 52px;
  position: relative;
}
.mf-badge {
  position: absolute; top: -1px; left: 52px;
  background: var(--blue); color: #fff;
  font-size: 9px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 14px;
}
.mf-headline {
  font-size: clamp(36px, 4vw, 58px);
  margin: 0 0 24px;
  line-height: 1.1;
}
.mf-sub {
  font-size: 14px; color: var(--lgray); line-height: 1.85;
  max-width: 380px;
}
.mf-price-block { margin-bottom: 32px; }
.mf-price {
  font-size: 68px; font-weight: 800; line-height: 1; color: #fff;
  margin-bottom: 6px;
}
.mf-price sup { font-size: 24px; font-weight: 600; color: var(--lgray); vertical-align: super; }
.mf-mo { font-size: 20px; font-weight: 500; color: var(--lgray); }
.mf-note { font-size: 11px; color: var(--gray); margin-bottom: 4px; }
.mf-freq { font-size: 11px; color: var(--blue2); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.mf-list { margin-top: 0; }

/* ─── SPLIT SECTION ──────────────────────────────── */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
}

.split-img {
  position: relative; overflow: hidden;
  min-height: 640px;
}
.split-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 8s ease;
}
.split-img:hover img { transform: scale(1.04); }

.split-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 50%, var(--black) 100%);
}

.split-text {
  background: var(--black);
  padding: 100px 72px;
  display: flex; flex-direction: column; justify-content: center;
}
.split-text.dark { background: var(--dark); }

.split-text p {
  font-size: 15px; color: var(--lgray); line-height: 1.9; margin-bottom: 18px;
}
.split-text p strong { color: rgba(255,255,255,.85); font-weight: 600; }

/* points */
.points { display: flex; flex-direction: column; margin-top: 44px; }
.pt {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 26px 0; border-top: 1px solid var(--border);
}
.pt:last-child { border-bottom: 1px solid var(--border); }
.pt-n {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px; font-weight: 500;
  color: rgba(58,107,222,.28); line-height: 1;
  flex-shrink: 0; width: 28px; padding-top: 2px;
}
.pt-b h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.pt-b p  { font-size: 13px; color: var(--gray); line-height: 1.7; }

/* divider */
.rule { height: 1px; background: var(--border); margin: 36px 0; }

/* founders */
.founders { display: flex; gap: 48px; }
.fname { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.frole {
  font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue2);
}

/* ─── GALLERY ────────────────────────────────────── */
.gallery-panel { padding: 0; overflow: hidden; }

.gallery-header {
  padding: 80px 72px 40px;
}

/* Top feature — one big photo left, two stacked right */
.gallery-feature {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: 540px;
  gap: 4px;
  margin-bottom: 4px;
}

.gallery-feature .gf-main {
  position: relative; overflow: hidden;
}

.gallery-feature .gf-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
}

.gallery-feature .gf-cell {
  position: relative; overflow: hidden;
}

/* Horizontal strip */
.gallery-strip {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-strip:active { cursor: grabbing; }

.g-cell {
  position: relative; overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
}

/* feature sizes */
.gf-main  { height: 100%; }
.gf-cell  { height: 100%; }

/* strip sizes */
.gallery-strip .g-cell {
  width: 420px; height: 520px;
  scroll-snap-align: start;
}
.gallery-strip .g-cell.tall {
  width: 320px;
}

.g-cell img,
.gf-main img,
.gf-cell img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .9s cubic-bezier(.4,0,.2,1), filter .6s;
  filter: brightness(.85) saturate(1.08);
}

.g-cell:hover img,
.gf-main:hover img,
.gf-cell:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.2);
}

/* overlay + label */
.g-cell::after,
.gf-main::after,
.gf-cell::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,6,6,.72) 0%, transparent 50%);
  pointer-events: none;
}

.g-tag {
  position: absolute; bottom: 20px; left: 22px;
  font-size: 9px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.5); z-index: 1;
}

/* no hidden default — images always visible */
.gf-main, .gf-cell, .g-cell { clip-path: none; }

/* ─── REVIEWS ───────────────────────────────────── */
.reviews-section {
  padding: 80px 0 40px;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.reviews-header {
  text-align: center;
  margin-bottom: 52px;
  padding: 0 24px;
}

.reviews-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.rating-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}

.rating-stars {
  color: #f5c842;
  font-size: 22px;
  letter-spacing: 2px;
}

.rating-count {
  font-size: 12px;
  color: var(--lgray);
  letter-spacing: .06em;
}

/* infinite marquee */
.marquee-wrap {
  position: relative;
  overflow: hidden;
}

/* fade edges */
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 160px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before { left: 0;  background: linear-gradient(to right, var(--black), transparent); }
.marquee-wrap::after  { right: 0; background: linear-gradient(to left,  var(--black), transparent); }

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marqueeScroll 36s linear infinite;
  padding: 8px 0 16px;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
  width: 340px;
  flex-shrink: 0;
  transition: border-color .3s;
}

.review-card:hover { border-color: rgba(58,107,222,.35); }

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}

.review-name { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.review-date { font-size: 11px; color: var(--lgray); }
.review-stars { color: #f5c842; font-size: 14px; letter-spacing: 1px; margin-bottom: 14px; }

.review-text {
  font-size: 14px;
  color: rgba(255,255,255,.62);
  line-height: 1.75;
}

/* ─── ADDONS ─────────────────────────────────────── */
.addons-panel {
  padding: 80px 72px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.addons-top {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 40px;
}
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: flex; align-items: center; gap: 20px;
  background: var(--card); border: 1px solid var(--border);
  padding: 13px 20px; border-radius: 2px;
  transition: border-color .25s;
}
.pill:hover { border-color: rgba(58,107,222,.4); }
.pill .pn { font-size: 13px; font-weight: 600; }
.pill .pp { font-size: 13px; font-weight: 700; color: var(--blue2); }

/* ─── FULL-BLEED CTA ─────────────────────────────── */
#cta-scene {
  height: 70vh; min-height: 480px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
#cta-scene .scene-bg {
  background-image: url('images/aston-martin.jpg');
}
#cta-scene .scene-overlay {
  background:
    rgba(6,6,6,.62),
    linear-gradient(to top, rgba(6,6,6,.9) 0%, transparent 60%);
}

.cta-box { position: relative; z-index: 2; padding: 0 40px; max-width: 660px; }
.cta-box h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(54px, 8vw, 96px);
  font-weight: 600; line-height: .92; letter-spacing: -.02em;
  margin-bottom: 28px;
}
.cta-box h2 em { font-style: italic; color: var(--blue2); }
.cta-box p {
  font-size: 16px; color: rgba(255,255,255,.42);
  line-height: 1.8; margin-bottom: 48px;
}
.cta-lrow {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 28px;
}
.cta-lrow .ll { width: 32px; height: 1px; background: var(--blue); }
.cta-lrow .lt {
  font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--blue2);
}

/* ─── FOOTER ─────────────────────────────────────── */
footer { background: var(--dark); border-top: 1px solid var(--border); }

.ft-top {
  padding: 72px;
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px;
  border-bottom: 1px solid var(--border);
}
.ft-logo img { height: 48px; display: block; margin-bottom: 18px; }
.ft-tag { font-size: 13px; color: var(--gray); line-height: 1.75; max-width: 220px; }
.ft-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.ft-col h5 {
  font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue2); margin-bottom: 20px;
}
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ft-col a { color: var(--gray); text-decoration: none; font-size: 14px; transition: color .2s; }
.ft-col a:hover { color: #fff; }

.ft-bot {
  padding: 24px 72px;
  display: flex; justify-content: space-between; align-items: center;
}
.ft-copy  { font-size: 12px; color: #2e2e2e; }
.ft-motto { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); opacity: .55; }

/* ─── REVEAL ─────────────────────────────────────── */
.r {
  opacity: 0; transform: translateY(36px);
  transition: opacity .85s cubic-bezier(.4,0,.2,1), transform .85s cubic-bezier(.4,0,.2,1);
}
.r.on { opacity: 1; transform: none; }
.r.d1 { transition-delay: .1s; }
.r.d2 { transition-delay: .2s; }
.r.d3 { transition-delay: .32s; }
.r.d4 { transition-delay: .46s; }

/* ─── KEYFRAMES ──────────────────────────────────── */
@keyframes up {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── PRELOADER ──────────────────────────────────── */
#preloader {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .7s cubic-bezier(.4,0,.2,1), visibility .7s;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.pl-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }

.pl-logo {
  height: 56px;
  opacity: 0;
  animation: up .6s .2s cubic-bezier(.4,0,.2,1) forwards;
}

.pl-label {
  font-size: 9px; font-weight: 700; letter-spacing: .3em;
  text-transform: uppercase; color: rgba(255,255,255,.2);
  opacity: 0; animation: fadeIn .5s .4s forwards;
}

.pl-line {
  width: 160px; height: 1px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.pl-prog {
  height: 100%; width: 0;
  background: var(--blue);
  animation: plLoad 1.6s .3s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes plLoad { to { width: 100%; } }

/* ─── CUSTOM CURSOR ──────────────────────────────── */
#cDot, #cRing {
  position: fixed; top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  will-change: left, top;
}
#cDot {
  width: 5px; height: 5px;
  background: #fff;
  transition: width .2s, height .2s, background .2s;
}
#cRing {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.35);
  transition: width .35s cubic-bezier(.4,0,.2,1),
              height .35s cubic-bezier(.4,0,.2,1),
              border-color .35s, opacity .35s;
}
body.cursor-hover #cRing {
  width: 58px; height: 58px;
  border-color: var(--blue2);
}
body.cursor-hover #cDot {
  width: 3px; height: 3px;
  background: var(--blue2);
}
@media (hover: none) { #cDot, #cRing { display: none; } }

/* ─── WATER CANVAS ───────────────────────────────── */
#waterCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
}

/* ─── GRAIN OVERLAY ──────────────────────────────── */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 8000;
  opacity: .038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  animation: grainShift 0.8s steps(1) infinite;
}
@keyframes grainShift {
  0%  { background-position:  0%   0%; }
  20% { background-position: -5%  -10%; }
  40% { background-position: -15%  5%; }
  60% { background-position:  7%  -15%; }
  80% { background-position: -10% 20%; }
}

/* ─── TEXT MARQUEE STRIPS ────────────────────────── */
.txt-marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: var(--dark);
  user-select: none;
}
.txt-track {
  display: flex;
  width: max-content;
  animation: txtScroll 28s linear infinite;
}
.txt-marquee.rtl .txt-track { animation-direction: reverse; }
@keyframes txtScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.txt-item {
  display: inline-flex; align-items: center; gap: 28px;
  padding: 0 28px;
  font-size: 9px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.22);
  white-space: nowrap;
}
.txt-gem { color: var(--blue); font-size: 16px; line-height: 1; }

/* ─── SPLIT TEXT REVEAL ──────────────────────────── */
.sw {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .06em;
}
.sw-i {
  display: inline-block;
  transform: translateY(108%);
  transition: transform .9s cubic-bezier(.16,1,.3,1);
}
.split-on .sw-i { transform: translateY(0); }

/* Hero h1 managed by split JS — remove default anim */
#hero h1 {
  animation: none !important;
  opacity: 1 !important;
}

/* ─── SECTION REVEAL VARIANTS ────────────────────── */
.r-left {
  opacity: 0; transform: translateX(-48px);
  transition: opacity .9s cubic-bezier(.4,0,.2,1), transform .9s cubic-bezier(.4,0,.2,1);
}
.r-left.on { opacity: 1; transform: none; }

.r-scale {
  opacity: 0; transform: scale(.96);
  transition: opacity .9s cubic-bezier(.4,0,.2,1), transform .9s cubic-bezier(.4,0,.2,1);
}
.r-scale.on { opacity: 1; transform: none; }

/* Section separator — thin blue rule */
.section-rule {
  width: 1px; height: 80px;
  background: linear-gradient(to bottom, transparent, var(--blue), transparent);
  margin: 0 auto;
}

/* ─── SCROLL SNAP (image scenes only) ────────────── */
.snap-section { scroll-snap-align: start; }

/* ─── MOBILE ─────────────────────────────────────── */
@media (max-width: 900px) {
  #nav, #nav.stuck { padding: 18px 24px; }
  .nav-links { display: none; }

  #hero .scene-content { padding: 0 28px 80px; }
  #hero h1 { font-size: clamp(54px, 12vw, 80px); }
  .scroll-cue { display: none; }

  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-top: 1px solid var(--border); border-right: 1px solid var(--border); }
  .stat:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }

  .panel { padding: 72px 24px; }

  .split { grid-template-columns: 1fr; }
  .split-img { min-height: 380px; }
  .split-text { padding: 56px 28px; }

  .services-grid { grid-template-columns: 1fr; }
  .svc { border-right: none; border-bottom: 1px solid var(--border); }

  .monthly-feature { grid-template-columns: 1fr; gap: 40px; padding: 48px 28px 40px; }
  .mf-badge { left: 28px; }
  .mf-sub { max-width: 100%; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 240px;
  }
  .g-cell.wide { grid-column: span 1; }

  .gallery-header { padding: 60px 24px 28px; }
  .gallery-feature { grid-template-columns: 1fr; grid-template-rows: 320px; }
  .gf-stack { display: none; }
  .gallery-strip .g-cell { width: 300px; height: 380px; }

  .addons-panel { padding: 60px 24px; }
  .addons-top { flex-direction: column; align-items: flex-start; gap: 24px; }

  .ft-top { grid-template-columns: 1fr; gap: 48px; padding: 48px 24px; }
  .ft-cols { grid-template-columns: 1fr 1fr; }
  .ft-bot { flex-direction: column; gap: 12px; padding: 20px 24px; text-align: center; }
}
