/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #141319;
  --bg-2:      #1b1a21;
  --bg-3:      #232129;
  --cream:     #f3f1ec;
  --cream-2:   #d6d3cb;
  --cream-3:   #8d8a94;
  --accent:    #5b98ff;
  --accent-2:  #f2d200;
  --line:      rgba(243,241,236,.12);
  --line-2:    rgba(243,241,236,.06);

  --serif: "Fraunces", ui-serif, Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;
}

@property --mesh-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mesh-x     { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --mesh-y     { syntax: "<percentage>"; inherits: false; initial-value: 50%; }

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; font-family: var(--serif); font-weight: 500; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--cream); color: var(--bg);
  border-radius: 8px; font-weight: 600; font-size: .9rem;
}
.skip-link:focus { top: 1rem; }

.container { max-width: 1240px; margin-inline: auto; padding-inline: 1.5rem; }
@media (min-width: 960px) { .container { padding-inline: 2.5rem; } }

.kicker {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .5em;
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }

.section { padding-block: clamp(4rem, 9vw, 8rem); position: relative; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 3rem); font-style: italic; max-width: 18ch; margin-bottom: 1.1rem; }
.section-lede { color: var(--cream-2); max-width: 56ch; font-size: 1.05rem; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background .3s var(--ease-out), color .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #0c1119; box-shadow: 0 4px 18px rgba(91,152,255,.28); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(91,152,255,.34); }
.btn-primary:active { transform: translateY(-1px); transition-duration: .12s; }
.btn-ghost { border: 1px solid var(--line); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream-2); background: rgba(243,241,236,.05); transform: translateY(-3px); }
.btn-lg { padding: 1.15rem 2rem; font-size: 1.02rem; }

/* =============================================================
   5. Cursor
   ============================================================= */
.cursor {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  display: none; mix-blend-mode: difference; opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; will-change: transform; }
.cursor-dot { width: 5px; height: 5px; margin: -2.5px; background: var(--cream); border-radius: 50%; }
.cursor-ring {
  width: 30px; height: 30px; margin: -15px; border: 1px solid var(--cream); border-radius: 50%;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out);
}
.cursor.is-interactive .cursor-ring { width: 50px; height: 50px; margin: -25px; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

/* =============================================================
   6. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 10000; background: var(--bg);
  display: grid; place-items: center; pointer-events: auto;
  transition: opacity .8s var(--ease-out), clip-path 1s var(--ease-soft);
  animation: splashSafety .01s 4.2s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.splash-logo { opacity: .95; animation: splashPulse 1.6s ease-in-out infinite; }
@keyframes splashPulse { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
.splash-line { width: 120px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.splash-line::after {
  content: ""; position: absolute; inset: 0; width: 40%; background: var(--accent);
  animation: splashLoad 1.4s ease-in-out infinite;
}
@keyframes splashLoad { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* =============================================================
   7. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 200; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.nav.is-scrolled { background: rgba(20,19,25,.86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.nav-inner { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 1.5rem; display: flex; align-items: center; gap: 1.5rem; }
@media (min-width: 960px) { .nav-inner { padding-inline: 2.5rem; } }
.nav-brand { display: inline-flex; align-items: center; }
.nav-logo { height: 22px; width: auto; }
.nav-links { display: none; gap: 2rem; margin-inline: auto; }
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-link { position: relative; font-size: .92rem; color: var(--cream-2); padding: .25rem 0; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; margin-left: auto; padding: .7rem 1.3rem; font-size: .88rem; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; } }
@media (min-width: 960px) { .nav-cta { margin-left: 0; } }

.nav-burger { display: grid; place-items: center; gap: 5px; width: 40px; height: 40px; margin-left: auto; }
@media (min-width: 960px) { .nav-burger { display: none; } }
.nav-burger span { width: 20px; height: 1.5px; background: var(--cream); transition: transform .3s var(--ease-out), opacity .3s; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 190; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.8rem;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-soft);
}
.nav-mobile a { font-family: var(--serif); font-size: 1.7rem; font-style: italic; }
.nav-mobile .btn { margin-top: 1rem; font-family: var(--sans); font-style: normal; }
@media (min-width: 960px) { .nav-mobile { display: none; } }

/* =============================================================
   8. Hero
   ============================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: clip; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg picture { display: block; width: 100%; height: 100%; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; animation: heroZoom 32s ease-in-out infinite; }
@keyframes heroZoom { 0%, 100% { transform: scale(1.04); } 50% { transform: scale(1.11); } }
.hero-bg-tint {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,19,25,.35) 0%, rgba(20,19,25,.55) 45%, rgba(20,19,25,.96) 100%);
}
.hero-mesh {
  position: absolute; inset: -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 40% at var(--mesh-x) var(--mesh-y), rgba(91,152,255,.30), transparent 65%),
    conic-gradient(from var(--mesh-angle), rgba(242,210,0,.14), transparent 30%, rgba(91,152,255,.16), transparent 70%);
  filter: blur(90px) saturate(120%);
  opacity: .8; mix-blend-mode: screen;
  animation: meshShift 24s linear infinite;
}
@keyframes meshShift {
  0%   { --mesh-angle: 0deg;   --mesh-x: 25%; --mesh-y: 30%; }
  50%  { --mesh-angle: 180deg; --mesh-x: 75%; --mesh-y: 55%; }
  100% { --mesh-angle: 360deg; --mesh-x: 25%; --mesh-y: 30%; }
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .1; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}
.hero-inner { position: relative; width: 100%; max-width: 1240px; margin-inline: auto; padding: 0 1.5rem clamp(4rem, 9vw, 6.5rem); }
@media (min-width: 960px) { .hero-inner { padding-inline: 2.5rem; } }
.hero-title {
  font-size: clamp(2.5rem, 6.4vw, 5.2rem); max-width: 16ch; margin-block: 1rem 1.4rem;
}
.hero-title em { color: var(--accent-2); font-style: italic; }
.hero-sub { color: var(--cream-2); font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 46ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-scroll { position: absolute; right: 2rem; bottom: 2rem; display: none; }
@media (min-width: 720px) { .hero-scroll { display: block; } }
.hero-scroll span { display: block; width: 1px; height: 46px; background: linear-gradient(var(--cream-3), transparent); animation: scrollLine 2.2s ease-in-out infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Reveal-on-scroll is applied via inline styles from main.js (GSAP), never
   gated purely by a CSS class — guarantees content is visible even if the
   class-cascade update is ever delayed by the host environment. */
.split-word { display: inline-block; }

/* =============================================================
   9. Before / After
   ============================================================= */
.section-ba { background: var(--bg-2); padding-bottom: clamp(3rem, 7vw, 5rem); }

.ba-carousel { display: flex; align-items: center; gap: .6rem; margin-top: 3rem; padding-inline: 1.5rem; }
@media (min-width: 960px) { .ba-carousel { padding-inline: 2.5rem; gap: 1rem; } }
.ba-viewport { overflow: hidden; flex: 1 1 auto; min-width: 0; }
.ba-track { display: flex; gap: 1.25rem; transition: transform .55s var(--ease-soft); will-change: transform; }
.ba-card { flex: 0 0 100%; min-width: 0; }
@media (min-width: 720px) { .ba-card { flex: 0 0 calc(50% - .625rem); } }

.ba-nav {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 1.3rem; line-height: 1; color: var(--cream);
  transition: border-color .3s, background .3s, opacity .3s;
}
.ba-nav:hover:not(:disabled) { border-color: var(--cream-2); background: rgba(243,241,236,.06); }
.ba-nav:disabled { opacity: .3; cursor: default; }

/* Each card owns its own positioning context so the range input's
   absolute overlay lines up exactly with the visible frame. */
.ba-card { position: relative; --rx: 0deg; --ry: 0deg; }
.ba-frame {
  position: relative; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.6), 0 0 0 1px var(--line);
  cursor: ew-resize; touch-action: pan-y;
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease-soft);
}
.ba-before, .ba-after {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none;
}
.ba-after-wrap { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 44px; margin-left: -22px;
  display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: rgba(255,255,255,.85); transform: translateX(-50%); }
.ba-handle-grip {
  position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--cream); color: var(--bg);
  display: grid; place-items: center; font-size: .95rem; box-shadow: 0 8px 22px rgba(0,0,0,.4);
}
.ba-label { position: absolute; top: 1rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: .4rem .7rem; border-radius: 999px; background: rgba(20,19,25,.55); backdrop-filter: blur(6px); }
.ba-label-before { left: 1rem; }
.ba-label-after { right: 1rem; }
/* pointer-events: none is deliberate — the native range track/thumb math
   breaks once the thumb is stretched to fill the whole box (its click-to-
   position logic clamps to one edge). Dragging is owned entirely by the
   pointerdown/pointermove handlers on .ba-frame in main.js; this input
   only holds the value for keyboard users and screen readers. */
.ba-input {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0;
  pointer-events: none;
}

/* =============================================================
   10. Deliverables
   ============================================================= */
.section-deliverables { background: var(--bg); }
.deliv-grid { display: grid; gap: 1.1rem; margin-top: 2.8rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .deliv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .deliv-grid { grid-template-columns: repeat(4, 1fr); } }
.deliv-card {
  --rx: 0deg; --ry: 0deg;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 18px; padding: 1.8rem 1.6rem;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .55s var(--ease-soft), border-color .3s, box-shadow .3s;
}
.deliv-card:hover { border-color: rgba(91,152,255,.4); box-shadow: 0 26px 60px -24px rgba(91,152,255,.28); }
.deliv-card-featured { background: linear-gradient(160deg, rgba(91,152,255,.14), var(--bg-3) 60%); border-color: rgba(91,152,255,.3); }
.deliv-num { font-family: var(--mono); font-size: .8rem; color: var(--accent-2); }
.deliv-card h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; margin: .8rem 0 .55rem; letter-spacing: 0; }
.deliv-card p { color: var(--cream-3); font-size: .92rem; margin-bottom: 1rem; }
.deliv-tag { display: inline-block; font-family: var(--mono); font-size: .72rem; color: var(--accent); border: 1px solid rgba(91,152,255,.3); border-radius: 999px; padding: .3rem .7rem; }

.specs-strip {
  margin-top: 3.5rem; padding-top: 2.8rem; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
}
@media (min-width: 720px) { .specs-strip { grid-template-columns: repeat(4, 1fr); } }
.spec { text-align: left; }
.spec-value { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--accent-2); }
.spec-label { font-size: .85rem; color: var(--cream-3); }

/* =============================================================
   11. Video showcase
   ============================================================= */
.section-video { background: var(--bg-2); }
.video-grid { display: grid; gap: 1.1rem; margin-top: 2.8rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) { .video-grid { grid-template-columns: repeat(4, 1fr); } }
.video-card {
  --rx: 0deg; --ry: 0deg;
  position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; isolation: isolate;
  background: var(--bg-3);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .55s var(--ease-soft);
}
.video-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--bg-3); }
.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: rgba(20,19,25,.55); backdrop-filter: blur(6px);
  display: grid; place-items: center; font-size: .85rem; padding-left: 3px;
  transition: opacity .3s var(--ease-out), transform .4s var(--ease-soft);
}
.video-card.is-playing .video-play { opacity: 0; transform: translate(-50%, -50%) scale(.7); }
.video-caption {
  position: absolute; left: .9rem; bottom: .8rem; font-family: var(--mono); font-size: .72rem;
  letter-spacing: .06em; color: var(--cream); text-shadow: 0 2px 10px rgba(0,0,0,.6);
}

/* =============================================================
   12. Tours
   ============================================================= */
.section-tours { background: var(--bg); }
.tours-grid { display: grid; gap: 2.2rem; margin-top: 2.8rem; }
@media (min-width: 860px) { .tours-grid { grid-template-columns: 1fr 1fr; } }
.tour-card h3 { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; margin-top: 1.1rem; letter-spacing: 0; }
.tour-card p { color: var(--cream-3); font-size: .92rem; margin-top: .4rem; }
.tour-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.tour-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =============================================================
   13. Process
   ============================================================= */
.section-process { background: var(--bg-2); }
.process-list { display: flex; flex-direction: column; margin-top: 2.8rem; max-width: 62ch; }
.process-item { display: flex; gap: 1.6rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.process-item:last-child { border-bottom: 1px solid var(--line); }
.process-n { font-family: var(--mono); font-size: .85rem; color: var(--accent); padding-top: .2rem; flex-shrink: 0; width: 2.4rem; }
.process-item h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; margin-bottom: .35rem; letter-spacing: 0; }
.process-item p { color: var(--cream-3); font-size: .92rem; }

/* =============================================================
   14. Audience
   ============================================================= */
.section-audience { background: var(--bg); padding-block: clamp(2.5rem, 6vw, 5rem); }
.audience-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .audience-grid { grid-template-columns: repeat(3, 1fr); } }
.audience-card { border: 1px solid var(--line); border-radius: 18px; padding: 1.8rem; }
.audience-card h3 { font-family: var(--serif); font-style: italic; font-size: 1.3rem; margin-bottom: .7rem; }
.audience-card p { color: var(--cream-3); font-size: .92rem; }

/* =============================================================
   15. Gallery
   ============================================================= */
.section-gallery { background: var(--bg-2); }
.gallery-grid { display: grid; gap: .9rem; margin-top: 2.8rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(5, 1fr); } }
.gallery-item {
  --rx: 0deg; --ry: 0deg;
  display: block; width: 100%; padding: 0; text-align: left;
  position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .55s var(--ease-soft);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft), filter .5s; }
.gallery-item:hover img { transform: scale(1.09); filter: saturate(1.12) brightness(1.04); }

/* =============================================================
   15b. Lightbox
   ============================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 500; width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(10,10,13,.92); color: var(--cream);
  display: none; align-items: center; justify-content: center;
}
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: transparent; }
.lightbox-img { max-width: min(92vw, 1100px); max-height: 86vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 40px 100px rgba(0,0,0,.5); }
.lightbox-close, .lightbox-nav {
  position: fixed; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08);
  border: 1px solid var(--line); color: var(--cream); transition: background .3s, border-color .3s;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.16); border-color: var(--cream-2); }
.lightbox-close { top: 1.2rem; right: 1.2rem; width: 44px; height: 44px; font-size: 1.1rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 1.6rem; }
.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }
@media (max-width: 639px) {
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }
}

/* =============================================================
   16. CTA final
   ============================================================= */
.section-cta { background: var(--bg-3); position: relative; overflow: clip; isolation: isolate; text-align: center; }
.cta-mesh {
  position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 45% at 30% 30%, rgba(91,152,255,.22), transparent 65%),
    radial-gradient(45% 40% at 75% 70%, rgba(242,210,0,.14), transparent 65%);
  filter: blur(90px);
}
.cta-inner { display: flex; flex-direction: column; align-items: center; max-width: 720px; }
.cta-title { font-size: clamp(2rem, 4.2vw, 3.2rem); font-style: italic; margin-bottom: 1.2rem; }
.cta-sub { color: var(--cream-2); margin-bottom: 2.2rem; max-width: 50ch; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.cta-phone { margin-top: 1.6rem; color: var(--cream-3); font-size: .92rem; }
.cta-phone a { color: var(--cream); border-bottom: 1px solid var(--line); }

/* =============================================================
   17. Footer
   ============================================================= */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding-block: 3.5rem 2rem; }
.footer-inner { display: flex; flex-direction: column; gap: 2.5rem; }
.footer-mark { opacity: .9; }
.footer-cols { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.footer-col h4 { font-family: var(--sans); font-weight: 600; font-size: .85rem; letter-spacing: .04em; margin-bottom: .8rem; color: var(--cream-2); }
.footer-col p { font-size: .9rem; color: var(--cream-3); margin-bottom: .4rem; }
.footer-col a:hover { color: var(--cream); }
.footer-copy { font-size: .78rem; color: var(--cream-3); border-top: 1px solid var(--line-2); padding-top: 1.6rem; }

/* =============================================================
   18. Responsive base tweaks
   ============================================================= */
@media (max-width: 539px) {
  .hero-actions .btn { flex: 1 1 auto; }
}

/* =============================================================
   19. Reduced motion — only genuinely intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
  .splash-logo { animation: none; }
  .hero-scroll span { animation: none; }
}
