/* ═══════════════════════════════════════════
   FLASH VISUALS — style.css
   Palette: dark charcoal + logo greens
   Type: Oswald (headings) / Poppins (body) / Caveat (script accent)
   ═══════════════════════════════════════════ */

:root {
  --charcoal: #161616;
  --charcoal-2: #1d1d1d;
  --charcoal-3: #232323;
  --ink: #0e0e0e;
  --green: #8dc63f;
  --green-2: #39b54a;
  --green-glow: rgba(141, 198, 63, 0.55);
  --white: #f4f4f2;
  --grey: #9a9a95;
  --line: rgba(255, 255, 255, 0.08);
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-script: 'Allura', cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(1200px, 90vw); margin: 0 auto; }

img, video { max-width: 100%; display: block; }

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

/* ─── Logotype ─── */
.logo-flash {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--green);
}
.logo-visuals {
  font-family: var(--font-body);
  font-weight: 200;
  letter-spacing: 0.42em;
  color: var(--green-2);
}

/* ─── Script accent ─── */
.script {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  color: var(--green);
  text-transform: none;
  letter-spacing: 0;
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1em 2.4em;
  border-radius: 999px;
  border: 1px solid var(--green);
  transition: transform 0.4s var(--ease), background 0.35s, color 0.35s, box-shadow 0.35s;
  will-change: transform;
}
.btn--solid {
  background: var(--green);
  color: var(--ink);
}
.btn--solid:hover {
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 0 40px var(--green-glow);
}
.btn--ghost { color: var(--white); background: transparent; }
.btn--ghost:hover { background: var(--green); color: var(--ink); box-shadow: 0 0 40px var(--green-glow); }
.btn--lg { padding: 1.3em 3.2em; font-size: 1rem; }

/* ═══════════ PRELOADER ═══════════ */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__logo { font-size: clamp(1.4rem, 4vw, 2.4rem); animation: pulse 1.6s ease-in-out infinite; }
.preloader__bar {
  width: min(280px, 60vw); height: 1px; background: var(--line); overflow: hidden;
}
.preloader__bar span {
  display: block; height: 100%; width: 100%;
  background: var(--green);
  transform: translateX(-100%);
  animation: load 1.1s var(--ease) forwards;
}
@keyframes load { to { transform: translateX(0); } }
@keyframes pulse { 50% { opacity: 0.6; } }

/* ═══════════ SCROLL PROGRESS ═══════════ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--green), var(--green-2));
  z-index: 500;
}

/* ═══════════ CURSOR ═══════════ */
.cursor, .cursor-dot { pointer-events: none; position: fixed; top: 0; left: 0; z-index: 900; border-radius: 50%; }
.cursor {
  width: 36px; height: 36px;
  border: 1px solid rgba(141, 198, 63, 0.6);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s, opacity 0.3s;
}
.cursor.grow { width: 72px; height: 72px; background: rgba(141, 198, 63, 0.12); }
.cursor-dot { width: 5px; height: 5px; background: var(--green); transform: translate(-50%, -50%); }
@media (hover: none), (max-width: 900px) { .cursor, .cursor-dot { display: none; } }

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 400;
  display: flex; align-items: center; justify-content: flex-start; gap: clamp(1.5rem, 3vw, 3rem);
  padding: 1.4rem clamp(1.2rem, 4vw, 3rem);
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s, transform 0.45s var(--ease);
}
.nav.scrolled {
  background: rgba(14, 14, 14, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding-top: 0.9rem; padding-bottom: 0.9rem;
  box-shadow: 0 1px 0 var(--line);
}
.nav.hidden { transform: translateY(-110%); }
/* Mobile only: push the nav (and its hamburger tap target) down clear of the status bar / notch */
@media (max-width: 640px) {
  .nav { padding-top: max(1.6rem, env(safe-area-inset-top) + 1rem); padding-bottom: 1rem; }
  .nav.scrolled { padding-top: max(1.1rem, env(safe-area-inset-top) + 0.6rem); padding-bottom: 1rem; }
}
.nav__logo { font-size: 1.05rem; margin-right: auto; }
.nav__links { display: flex; gap: 1.6rem; transition: opacity 0.35s, visibility 0.35s; }
.nav__links a {
  font-family: var(--font-head);
  font-size: 0.76rem; font-weight: 400;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--grey);
  position: relative;
  white-space: nowrap;
  transition: color 0.3s, text-shadow 0.4s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px; background: var(--green);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: var(--white); text-shadow: 0 0 20px var(--green-glow); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 0.8em 2em; font-size: 0.75rem; transition: opacity 0.3s; }
.nav__burger {
  display: none; flex-direction: column; gap: 7px;
  background: none; border: none; cursor: pointer; padding: 6px; z-index: 360;
  opacity: 0; transition: opacity 0.35s;
}
.nav__burger span {
  width: 28px; height: 2px; background: var(--white);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav__burger.open span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__burger.open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* Once scrolled, fade the links out into a hamburger — Book Now stays put beside it */
.nav.compact .nav__links { opacity: 0; visibility: hidden; pointer-events: none; }
.nav.compact .nav__burger { display: flex; opacity: 1; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 350;
  background: rgba(14, 14, 14, 0.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-head); font-size: 1.6rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.mobile-menu .btn { font-size: 0.9rem; }

@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; opacity: 1; }
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero__media { position: absolute; inset: -12% 0; z-index: -1; will-change: transform; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: none;
}
.hero__video.active { display: block; }
.hero__placeholder {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(141, 198, 63, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 55% at 75% 80%, rgba(57, 181, 74, 0.08), transparent 60%),
    linear-gradient(160deg, #101210 0%, #0c0d0c 45%, #131511 100%);
}
.hero__placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(141, 198, 63, 0.06) 50%, transparent 58%);
  background-size: 250% 100%;
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen { 0% { background-position: 120% 0; } 60%, 100% { background-position: -120% 0; } }
.placeholder-badge {
  position: absolute; bottom: 10%; right: 4%; transform: none;
  font-family: var(--font-head); font-size: 0.7rem; letter-spacing: 0.4em;
  color: rgba(244, 244, 242, 0.18);
  border: 1px dashed rgba(244, 244, 242, 0.15);
  padding: 1em 2em; border-radius: 4px; white-space: nowrap;
}
.hero__vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(14,14,14,0.65), rgba(12,12,12,0.35) 30%, rgba(12,12,12,0.35) 60%, var(--charcoal) 98%),
    radial-gradient(ellipse 70% 55% at center, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.62) 100%);
}
.hero__grain { position: absolute; inset: 0; opacity: 0.5; }
.hero__grain::after {
  content: ''; position: absolute; inset: -100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 10% { transform: translate(-5%, -8%); }
  30% { transform: translate(6%, 4%); } 50% { transform: translate(-4%, 7%); }
  70% { transform: translate(7%, -6%); } 90% { transform: translate(-6%, 3%); }
}

.hero__content { position: relative; padding: 0 5vw; }
.hero__eyebrow {
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 400;
  letter-spacing: 0.45em; text-transform: uppercase; color: var(--green);
  margin-bottom: 1.6rem;
}
.hero__title {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(2.6rem, 8.5vw, 7rem);
  line-height: 1.04; letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero__title .script { font-size: 1.35em; line-height: 0.8; }
.hero__sub { margin: 2rem auto 2.6rem; color: var(--green); font-size: clamp(0.95rem, 1.6vw, 1.15rem); }
.hero--sub .hero__sub { color: var(--white); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.hero__actions { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }

/* Line-mask title reveal (with cinematic blur-in) */
.line { display: block; overflow: hidden; padding-bottom: 0.35em; margin-bottom: -0.35em; }
.line > span, .line > em {
  display: inline-block; transform: translateY(130%); filter: blur(20px); opacity: 0.35;
  transition: transform 1.3s var(--ease), filter 1.3s var(--ease), opacity 1.3s var(--ease);
}
.lines-in .line > span, .lines-in .line > em { transform: translateY(0); filter: blur(0); opacity: 1; }
.line:nth-child(2) > span { transition-delay: 0.1s; }
.line:nth-child(3) > span { transition-delay: 0.2s; }

.hero__scroll-cue {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  font-family: var(--font-head); font-size: 0.68rem; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--grey);
}
.hero__scroll-line { width: 1px; height: 48px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 50%;
  background: var(--green); animation: scrollcue 1.8s var(--ease) infinite;
}
@keyframes scrollcue { 0% { transform: translateY(-100%); } 100% { transform: translateY(220%); } }

/* ═══════════ MARQUEE ═══════════ */
.marquee-section { padding: 4.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { .marquee-section { display: none; } }
.marquee-label {
  text-align: center; font-family: var(--font-head); font-size: 0.72rem;
  letter-spacing: 0.4em; text-transform: uppercase; color: var(--grey); margin-bottom: 2.2rem;
}
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 5rem; width: max-content; animation: marquee 34s linear infinite; }
.marquee__track span {
  font-family: var(--font-head); font-weight: 500; font-size: 1.35rem;
  letter-spacing: 0.28em; color: rgba(244, 244, 242, 0.28);
  white-space: nowrap; transition: color 0.3s, text-shadow 0.3s;
}
.marquee__track span:hover { color: var(--green); text-shadow: 0 0 24px var(--green-glow), 0 0 50px rgba(141, 198, 63, 0.3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════ SECTION HEADS ═══════════ */
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-eyebrow {
  font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 0.45em;
  text-transform: uppercase; color: var(--green); margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem); line-height: 1.05;
  padding-bottom: 0.15em; /* room for the larger .script font's descenders */
}
.section-title .script { font-size: 1.3em; line-height: 0.8; }
.work__hint { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; letter-spacing: 0.03em; color: var(--green); opacity: 1; margin-top: 0.8rem; }
.work__title--mobile { display: none; }
/* Mobile only: show "CLICK TO play." instead of "HOVER TO play." (no hover on touch), and tighten the hint spacing */
@media (max-width: 640px) {
  .work__title--desktop { display: none; }
  .work__title--mobile { display: block; }
  .work__hint { margin-top: -0.3rem; }
}

/* ═══════════ MANIFESTO ═══════════ */
.manifesto { position: relative; padding: clamp(5rem, 9vw, 8rem) 0; overflow: hidden; }
.manifesto__bg {
  position: absolute; inset: -20% -10%;
  background: radial-gradient(ellipse 55% 45% at 78% 30%, rgba(141, 198, 63, 0.07), transparent 65%);
  will-change: transform;
}
.manifesto__text {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(1.7rem, 4.4vw, 3.4rem); line-height: 1.28;
  text-transform: uppercase; letter-spacing: 0.01em;
  max-width: 20ch;
}
.manifesto__text .script { font-size: 1.8em; line-height: 0.8; }
.mline { display: block; opacity: 0.16; transition: opacity 0.6s ease; }
.mline.lit { opacity: 1; }
.hl { color: var(--green); }
.manifesto__stats { display: flex; gap: clamp(2.5rem, 7vw, 6rem); margin-top: clamp(4rem, 7vw, 6rem); flex-wrap: wrap; }
.stat__num { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.6rem, 5vw, 4rem); color: var(--white); }
.stat__range { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.6rem, 5vw, 4rem); color: var(--white); }
.stat__unit { font-family: var(--font-head); font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--green); margin-left: 0.2em; }
.stat p { color: var(--grey); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; }
.stat__num--live { font-size: clamp(3.6rem, 7vw, 6rem); }
.manifesto__citation { color: var(--grey); font-size: 0.8rem; margin-top: 1.2rem; max-width: 32ch; }
.manifesto__stats .stat p { color: var(--green); }

/* ─── Background line-art emblems (home / camera) ─── */
.emblem-wrap { position: absolute; pointer-events: none; will-change: transform; }
.emblem-wrap--home { width: clamp(220px, 26vw, 380px); height: clamp(220px, 26vw, 380px); top: 2%; right: 6%; }
.emblem-wrap--camera { width: clamp(220px, 26vw, 380px); height: clamp(157px, 18.6vw, 271px); bottom: 6%; right: 14%; }
.emblem-wrap--play { width: clamp(200px, 24vw, 340px); height: clamp(200px, 24vw, 340px); top: 4%; right: 8%; }
.emblem-wrap--pin { width: clamp(180px, 20vw, 280px); height: clamp(230px, 26vw, 360px); bottom: 6%; right: 18%; }
.emblem {
  width: 100%; height: 100%; overflow: visible;
  fill: none; stroke: var(--green); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0.24; animation: emblemSway 16s ease-in-out infinite;
}
.emblem--camera { opacity: 0.18; animation-duration: 20s; animation-direction: reverse; }
.emblem line, .emblem circle { stroke-dasharray: 1; stroke-dashoffset: 1; animation: emblemDraw 4.5s ease-in-out infinite; }
.emblem--home > *:nth-child(1) { animation-delay: 0s; }
.emblem--home > *:nth-child(2) { animation-delay: 0.2s; }
.emblem--home > *:nth-child(3) { animation-delay: 0.4s; }
.emblem--home > *:nth-child(4) { animation-delay: 0.6s; }
.emblem--home > *:nth-child(5) { animation-delay: 0.8s; }
.emblem--home > *:nth-child(6) { animation-delay: 1s; }
.emblem--home > *:nth-child(7) { animation-delay: 1.2s; }
.emblem--home > *:nth-child(8) { animation-delay: 1.4s; }
.emblem--home > *:nth-child(9) { animation-delay: 1.6s; }
.emblem--camera > *:nth-child(1) { animation-delay: 0.1s; }
.emblem--camera > *:nth-child(2) { animation-delay: 0.3s; }
.emblem--camera > *:nth-child(3) { animation-delay: 0.5s; }
.emblem--camera > *:nth-child(4) { animation-delay: 0.7s; }
.emblem--camera > *:nth-child(5) { animation-delay: 0.9s; }
.emblem--camera > *:nth-child(6) { animation-delay: 1.1s; }
.emblem--camera > *:nth-child(7) { animation-delay: 1.3s; }
.emblem--camera > *:nth-child(8) { animation-delay: 1.5s; }
.emblem--camera > *:nth-child(9) { animation-delay: 1.7s; }
.emblem--camera > *:nth-child(10) { animation-delay: 1.9s; }
.emblem--camera > *:nth-child(11) { animation-delay: 2.1s; }
.emblem--pin { opacity: 0.18; animation-duration: 20s; animation-direction: reverse; }
.emblem--play > *:nth-child(1) { animation-delay: 0s; }
.emblem--play > *:nth-child(2) { animation-delay: 0.2s; }
.emblem--play > *:nth-child(3) { animation-delay: 0.4s; }
.emblem--play > *:nth-child(4) { animation-delay: 0.6s; }
.emblem--pin > *:nth-child(1) { animation-delay: 0.1s; }
.emblem--pin > *:nth-child(2) { animation-delay: 0.3s; }
.emblem--pin > *:nth-child(3) { animation-delay: 0.5s; }
.emblem--pin > *:nth-child(4) { animation-delay: 0.7s; }
@keyframes emblemDraw {
  0%, 100% { stroke-dashoffset: 1; opacity: 0.35; }
  50% { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes emblemSway {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-16px); }
}
@media (max-width: 900px) { .emblem-wrap { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .emblem { animation: none; }
  .emblem line { animation: none; stroke-dashoffset: 0; opacity: 0.7; }
}

/* ═══════════ WORK ═══════════ */
.work { padding: clamp(5rem, 8vw, 7rem) 0; overflow: clip; }
@media (max-width: 620px) { .work { padding-bottom: clamp(2.5rem, 6vw, 4rem); } }
.work__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 2rem 0;
}
@media (max-width: 1000px) { .work__grid { grid-template-columns: repeat(2, 1fr); } }
#examples .work__grid { grid-template-columns: repeat(2, 1fr); max-width: 800px; margin: 0 auto; }
/* Mobile only: swipeable horizontal row instead of a tall single-column stack */
@media (max-width: 620px) {
  .work__grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 1rem; max-width: 100%; margin: 0; padding: 0.5rem 1.25rem 1rem;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .work__grid::-webkit-scrollbar { display: none; }
  .work__grid .video-tile { flex: 0 0 78vw; max-width: 300px; scroll-snap-align: center; }
  /* Tiles sit off to the right in this horizontal row, so the scroll-reveal IntersectionObserver
     (built for vertical page scroll) never sees enough of them to cross its threshold — they'd
     otherwise stay invisible until deliberately swiped into view. Just show them immediately. */
  .work__grid .video-tile.card3d { opacity: 1 !important; transform: none !important; }
}

/* The two horizontal (16:9) clips get their own row, side by side, instead of the portrait grid */
.work__grid--wide { grid-template-columns: repeat(2, 1fr); margin-top: clamp(1.5rem, 4vw, 3.5rem); }
@media (max-width: 620px) {
  .work__grid--wide {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 1rem; margin: clamp(1.5rem, 4vw, 3.5rem) 0 0; padding: 0.5rem 1.25rem 1rem;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .work__grid--wide::-webkit-scrollbar { display: none; }
  .work__grid--wide .video-tile { flex: 0 0 85vw; scroll-snap-align: center; }
  .work__grid--wide .video-tile.card3d { opacity: 1 !important; transform: none !important; }
}

/* Cinematic video tiles — plain hover-play, one at a time, 3D scroll + mouse tilt (reuses .tilt / .card3d) */
.video-tile { cursor: pointer; }
.video-tile--wide .video-tile__media { aspect-ratio: 16 / 9; }
.video-tile__media {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 16px;
  background:
    radial-gradient(ellipse at 35% 25%, rgba(141, 198, 63, 0.1), transparent 55%),
    linear-gradient(160deg, #1b1d19, #141513 60%, #191b16);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.7);
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.8s var(--ease);
}
.video-tile:hover .video-tile__media {
  transform: scale(1.02);
  border-color: rgba(141, 198, 63, 0.5);
  box-shadow: 0 30px 65px -25px rgba(0, 0, 0, 0.75), 0 0 65px -10px var(--green-glow);
}
.video-tile.playing .video-tile__media {
  border-color: rgba(141, 198, 63, 0.55);
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.75), 0 0 70px -8px var(--green-glow);
}
.video-tile__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.6s;
}
/* The thumbnail frame (or active playback) fades the video in once it has something to show */
.video-tile__media video.active { opacity: 1; }
.video-tile__poster {
  position: absolute; inset: 0; z-index: 1;
  background-size: cover; background-position: center;
  transition: opacity 0.3s; pointer-events: none;
}
.video-tile.playing:not(.loading) .video-tile__poster { opacity: 0; }
.video-tile__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8);
  width: 60px; height: 60px; border-radius: 50%; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14, 14, 14, 0.55); backdrop-filter: blur(8px);
  border: 1px solid rgba(141, 198, 63, 0.6);
  color: var(--green); font-size: 1rem; padding-left: 3px;
  opacity: 0; transition: opacity 0.35s, transform 0.5s var(--ease);
}
.video-tile:hover .video-tile__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.video-tile.playing .video-tile__play { opacity: 0; }
.video-tile__controls {
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 4;
  display: flex; justify-content: center; padding: 0 12px;
  opacity: 0; transition: opacity 0.3s;
}
.video-tile:hover .video-tile__controls { opacity: 1; }
@media (hover: none) { .video-tile__controls { opacity: 1; } }
.video-tile__spinner {
  position: absolute; top: 50%; left: 50%; width: 28px; height: 28px;
  margin: -14px 0 0 -14px; z-index: 3;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--green);
  border-radius: 50%;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s;
  animation: tileSpin 0.8s linear infinite;
}
.video-tile.loading .video-tile__spinner { opacity: 1; visibility: visible; }
@keyframes tileSpin { to { transform: rotate(360deg); } }
.phone-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(10, 10, 10, 0.55); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.16); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 0.85rem; transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s;
}
.phone-btn:hover { background: var(--green); border-color: var(--green); color: var(--ink); transform: scale(1.08); }


/* ═══════════ PHOTO GALLERY ═══════════ */
.gallery-head { margin: clamp(3.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); text-align: center; }
.gallery-title {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem); line-height: 1.05;
  padding-bottom: 0.15em;
}
.gallery-title .script { font-size: 1.3em; line-height: 0.8; }
.gallery-grid {
  columns: 4 260px; column-gap: 1rem;
}
@media (max-width: 900px) { .gallery-grid { columns: 2 220px; } }
.gallery-scroll-hint { display: none; }
/* Mobile only: swipeable horizontal row instead of a tall single-column stack */
@media (max-width: 540px) {
  .gallery-grid {
    display: flex; columns: unset; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 1rem; padding: 0.25rem 1.25rem 1rem;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-grid .gallery-grid__item { flex: 0 0 70vw; margin: 0; scroll-snap-align: center; }
  /* Same fix as the video-tile row above: these sit off-screen horizontally, so the reveal
     observer never crosses its threshold for them — show them immediately instead. */
  .gallery-grid .gallery-grid__item.reveal { opacity: 1 !important; transform: none !important; }
  .gallery-grid-wrap { position: relative; }
  .gallery-scroll-hint {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 50%; right: 0.6rem; transform: translateY(-50%);
    width: 38px; height: 38px; border-radius: 50%; z-index: 5;
    background: rgba(14, 14, 14, 0.6); backdrop-filter: blur(6px);
    border: 1px solid rgba(141, 198, 63, 0.55);
    color: var(--green); font-size: 1.3rem; line-height: 1;
    pointer-events: none; transition: opacity 0.35s;
    animation: galleryHintNudge 1.6s ease-in-out infinite;
  }
  .gallery-scroll-hint.at-end { opacity: 0; }
}
@keyframes galleryHintNudge {
  0%, 100% { transform: translateY(-50%) translateX(0); opacity: 1; }
  50% { transform: translateY(-50%) translateX(7px); opacity: 0.5; }
}
.gallery-grid__item {
  width: 100%; display: block; margin: 0 0 1rem; border-radius: 10px;
  cursor: pointer; break-inside: avoid;
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.gallery-grid__item:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7), 0 0 50px -10px var(--green-glow);
  border-color: rgba(141, 198, 63, 0.4);
}

/* ═══════════ LIGHTBOX ═══════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 800;
  background: rgba(8, 8, 8, 0.94); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: min(92vw, 1400px); max-height: 88vh; border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: scale(0.97); transition: opacity 0.35s, transform 0.35s;
}
.lightbox.open .lightbox__img { opacity: 1; transform: scale(1); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
  color: var(--white); border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--green); border-color: var(--green); color: var(--ink); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); width: 44px; height: 44px; font-size: 1.1rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 1.8rem; }
.lightbox__nav--prev { left: clamp(0.6rem, 3vw, 2rem); }
.lightbox__nav--next { right: clamp(0.6rem, 3vw, 2rem); }
@media (max-width: 700px) {
  .lightbox__nav { width: 42px; height: 42px; font-size: 1.4rem; }
}

/* ═══════════ SERVICES ═══════════ */
.services { padding: clamp(4rem, 7vw, 6rem) 0; background: var(--ink); }
.services__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 800px) { .services__list { grid-template-columns: 1fr; } }
.service {
  padding: clamp(2rem, 4vw, 3.2rem) clamp(1.2rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: background 0.4s;
}
.service:nth-child(odd) { border-right: 1px solid var(--line); }
@media (max-width: 800px) { .service:nth-child(odd) { border-right: none; } }
.service:hover { background: rgba(141, 198, 63, 0.04); }
.service__num {
  font-family: var(--font-head); font-weight: 300; font-size: 0.9rem;
  color: var(--green); letter-spacing: 0.3em;
}
.service h3 {
  font-family: var(--font-head); font-weight: 500; text-transform: uppercase;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem); letter-spacing: 0.05em; margin: 0.8rem 0 0.6rem;
}
.service p { color: var(--grey); font-size: 0.92rem; max-width: 42ch; }

/* ═══════════ PERKS ═══════════ */
.perks { padding: clamp(4rem, 8vw, 7rem) 0; text-align: center; }
.perks .section-eyebrow { margin-bottom: 2.4rem; }
.perks__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }
.perks__label { text-align: center; margin: 0 0 1.6rem; }
.perks__grid--pricing { margin-bottom: clamp(3rem, 6vw, 5rem); }
.perk {
  font-family: var(--font-head); font-size: 0.82rem; letter-spacing: 0.12em;
  padding: 0.85em 1.6em; border: 1px solid var(--line); border-radius: 999px;
  color: var(--white); transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.perk:hover { border-color: var(--green); background: rgba(141, 198, 63, 0.06); transform: translateY(-3px); }

/* ═══════════ PRICING ═══════════ */
.pricing { padding: clamp(4rem, 7vw, 6rem) 0; background: var(--ink); }
.pricing .section-head { text-align: center; }
.pricing__hint { color: var(--grey); font-size: 0.9rem; margin-top: 1rem; text-align: center; }

.size-picker {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.size-btn {
  font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grey); background: var(--charcoal-2); border: 1px solid var(--line);
  padding: 0.7em 1.4em; border-radius: 10px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 0.1em;
  transition: all 0.3s var(--ease);
}
.size-btn span { font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.04em; text-transform: none; opacity: 0.6; }
.size-btn:hover { border-color: rgba(141, 198, 63, 0.5); color: var(--white); }
.size-btn.active { background: var(--green); border-color: var(--green); color: var(--ink); }
.size-btn.active span { opacity: 0.75; }
.size-btn.unavailable { opacity: 0.3; pointer-events: none; }

.pricing__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  align-items: stretch; max-width: 1080px; margin: 0 auto;
}
@media (max-width: 900px) { .pricing__grid { grid-template-columns: 1fr; max-width: 440px; } }

.price-card {
  position: relative;
  background: var(--charcoal-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 2rem 1.5rem 1.25rem; display: flex; flex-direction: column;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease);
  will-change: transform; transform-style: preserve-3d;
}
.price-card:hover { border-color: rgba(141, 198, 63, 0.55); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.8), 0 0 60px -15px var(--green-glow); }
.price-card--featured {
  background: linear-gradient(165deg, rgba(141, 198, 63, 0.12), var(--charcoal-2) 55%);
  border-color: var(--green);
  box-shadow: 0 0 60px -20px var(--green-glow);
}
.price-card__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: var(--ink);
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.45em 1.2em; border-radius: 999px; white-space: nowrap;
}
.price-card h3 {
  font-family: var(--font-head); font-weight: 600; font-size: 1.4rem;
  letter-spacing: 0.14em;
}
.price-card__desc { color: var(--grey); font-size: 0.78rem; margin: 0.4rem 0 1.2rem; min-height: 3em; }
.price-card__price {
  font-family: var(--font-head); font-weight: 600; font-size: 2.6rem; color: var(--green);
  line-height: 1; margin-bottom: 1.4rem;
}
.price-card__price .amount { display: inline-block; transition: opacity 0.25s, transform 0.25s; }
.price-card__price .amount.flip { opacity: 0; transform: translateY(8px); }
.price-card ul { list-style: none; flex: 1; margin-bottom: 1.6rem; }
.price-card li {
  font-size: 0.82rem; color: #c9c9c4; padding: 0.45em 0 0.45em 1.4em; position: relative;
}
.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 600; }
.price-card .btn { text-align: center; font-size: 0.72rem; padding: 0.95em 1em; }
.price-card.dimmed { opacity: 0.35; filter: grayscale(0.8); }
.pricing__fine { text-align: center; color: var(--grey); font-size: 1.15rem; margin-top: 2.5rem; }

/* ═══════════ PROCESS ═══════════ */
.process { padding: clamp(4rem, 7vw, 6rem) 0; }
.process--started .section-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.process__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 760px) { .process__steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 1rem; border-top: 1px solid var(--line); }
.step__num {
  font-family: var(--font-script); font-size: 3.8rem; font-weight: 400; color: var(--green);
  display: block; line-height: 1;
}
.step h3 { font-family: var(--font-head); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.2rem; margin: 0.8rem 0 0.4rem; }
.step p { color: var(--grey); font-size: 0.9rem; max-width: 30ch; }

/* ═══════════ CONTACT ═══════════ */
.contact {
  position: relative; padding: clamp(5rem, 9vw, 9rem) 0; text-align: center; overflow: hidden;
  background: var(--ink);
}
.contact__bg {
  position: absolute; inset: -25% -10%;
  background: radial-gradient(ellipse 50% 40% at 50% 55%, rgba(141, 198, 63, 0.10), transparent 65%);
  will-change: transform;
}
.contact__title {
  position: relative;
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  font-size: clamp(2.4rem, 7vw, 5.5rem); line-height: 1.08;
}
.contact__title .script { font-size: 1.35em; line-height: 0.8; }
.contact__actions { position: relative; margin-top: 3rem; display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.contact__email {
  color: var(--grey); font-size: 0.95rem; letter-spacing: 0.06em;
  border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s;
}
.contact__email:hover { color: var(--green); border-color: var(--green); }

/* ═══════════ FOOTER ═══════════ */
.footer { border-top: 1px solid var(--line); padding: 4rem 0 2rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.footer__brand { font-size: 1rem; }
.footer__brand p { color: var(--grey); font-size: 0.82rem; margin-top: 1rem; }
.footer__links, .footer__social { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__links a, .footer__social a {
  color: var(--grey); font-size: 0.85rem; letter-spacing: 0.08em; transition: color 0.3s, text-shadow 0.4s;
}
.footer__links a:hover, .footer__social a:hover { color: var(--green); text-shadow: 0 0 18px var(--green-glow); }
.footer__copy { text-align: center; color: #55554f; font-size: 0.72rem; margin-top: 3.5rem; letter-spacing: 0.08em; }

/* ═══════════ SHOWCASE — Apple-style pinned scroll scene ═══════════ */
.showcase { height: 340vh; position: relative; background: var(--ink); }
.showcase__sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  perspective: 1000px;
}
.showcase__phrase {
  position: absolute;
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  font-size: clamp(2.4rem, 8vw, 7rem); line-height: 1;
  text-align: center; white-space: nowrap;
  opacity: 0; will-change: transform, opacity, filter;
}
.showcase__phrase .script { font-size: 1.35em; line-height: 0.8; }
.showcase__glow {
  position: absolute; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 198, 63, 0.10), transparent 65%);
  filter: blur(30px); will-change: transform, opacity;
}
@media (max-width: 700px) { .showcase { height: 260vh; } .showcase__phrase { white-space: normal; width: 90vw; } }

/* ═══════════ WORD-BY-WORD TITLE ANIMATION ═══════════ */
.w { display: inline-block; }
.words .w {
  opacity: 0; transform: translateY(0.85em); filter: blur(16px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
}
.words.words-in .w { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ═══════════ PARALLAX ORBS ═══════════ */
.orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(141, 198, 63, 0.14), transparent 70%);
  filter: blur(24px); will-change: transform;
}
.orb--a { width: 340px; height: 340px; top: 8%; right: 6%; }
.orb--b { width: 200px; height: 200px; bottom: 12%; left: 4%; background: radial-gradient(circle, rgba(57, 181, 74, 0.12), transparent 70%); }
.orb--c { width: 420px; height: 420px; top: 0; left: 10%; }

/* ═══════════ 3D CARD ENTRANCE ═══════════ */
.card3d {
  opacity: 0;
  transform: perspective(1000px) translateY(85px) rotateX(20deg) scale(0.94);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
.card3d.visible { opacity: 1; transform: perspective(1000px) translateY(0) rotateX(0) scale(1); }
.pricing__grid .card3d:nth-child(2) { transition-delay: 0.08s; }
.pricing__grid .card3d:nth-child(3) { transition-delay: 0.16s; }
.pricing__grid .card3d:nth-child(4) { transition-delay: 0.24s; }
.pricing__grid .card3d:nth-child(5) { transition-delay: 0.32s; }

/* ═══════════ BRANDING TEASER ═══════════ */
.branding-cta { padding: clamp(4rem, 7vw, 6rem) 0; border-top: 1px solid var(--line); }
.branding-cta__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2.5rem; flex-wrap: wrap;
}
.branding-cta__sub { color: var(--grey); margin-top: 1.2rem; max-width: 46ch; }

/* ═══════════ ABOUT PAGE ═══════════ */
.about-hero { padding: clamp(6rem, 9vw, 8rem) 0 clamp(4rem, 7vw, 6rem); }
.about-hero__grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 900px) { .about-hero__grid { grid-template-columns: 1fr; } }
.about-hero__title {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem); line-height: 1.04; margin: 1rem 0 1.6rem;
}
.about-hero__title .script { font-size: 1.2em; line-height: 0.8; }
.about-hero__roles { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.8rem; }
.about-hero__sub { color: var(--grey); max-width: 52ch; margin-bottom: 2.2rem; }

.team-photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); background: var(--charcoal-2);
}
.team-photo__placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 35% 25%, rgba(141, 198, 63, 0.1), transparent 55%),
    linear-gradient(155deg, #1b1d19, #141513 60%, #191b16);
}
.team-photo__placeholder span {
  font-family: var(--font-head); font-size: 0.68rem; letter-spacing: 0.35em; text-align: center;
  color: rgba(244, 244, 242, 0.18); line-height: 2.2;
}
.team-photo__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.team-photo__img.loaded { opacity: 1; }

/* ═══════════ BRANDING PAGE ═══════════ */
.pricing__grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin: 0 auto; }
@media (max-width: 900px) { .pricing__grid--3 { grid-template-columns: 1fr; max-width: 420px; } }
.price-card__per { font-size: 0.95rem; color: var(--grey); font-weight: 400; letter-spacing: 0.05em; }

/* ═══════════ PACKAGE BANNER (book.html deep-link context) ═══════════ */
.package-banner {
  max-width: 620px; margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center; padding: 1.6rem 2rem;
  border: 1px solid rgba(141, 198, 63, 0.4); border-radius: 14px;
  background: linear-gradient(165deg, rgba(141, 198, 63, 0.1), rgba(141, 198, 63, 0.02));
  animation: bannerIn 0.6s var(--ease) both;
}
.package-banner[hidden] { display: none; }
.package-banner__label {
  font-family: var(--font-head); font-size: 0.68rem; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--grey);
}
.package-banner__name {
  font-family: var(--font-head); font-weight: 600; letter-spacing: 0.1em;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: var(--green); margin: 0.3rem 0 0.5rem;
}
.package-banner__desc { color: #c9c9c4; font-size: 0.9rem; }
.package-banner__hint { color: var(--grey); font-size: 0.8rem; margin-top: 0.9rem; }
.package-banner__hint strong { color: var(--white); font-weight: 500; }
@keyframes bannerIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }

/* ═══════════ BOOK PAGE (Aryeo embed) ═══════════ */
.book-page { position: relative; padding: clamp(8rem, 12vw, 11rem) 0 clamp(4rem, 7vw, 6rem); overflow: hidden; }
.book-page__head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.book-page__sub { color: var(--grey); margin-top: 1.2rem; }
.book-page__perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 1.8rem; }
.book-embed {
  position: relative; border-radius: 18px; padding: 1px;
  background: linear-gradient(160deg, rgba(141, 198, 63, 0.55), rgba(255, 255, 255, 0.07) 35%, rgba(255, 255, 255, 0.07) 65%, rgba(57, 181, 74, 0.45));
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 70px -25px var(--green-glow);
}
.book-embed__frame {
  border-radius: 17px; overflow: hidden; background: var(--ink); min-height: 720px;
  padding: clamp(0.6rem, 2vw, 1.6rem);
}
.book-embed__frame iframe { display: block; width: 100%; min-height: 720px; border: 0; }
.book-page__fallback { text-align: center; color: var(--grey); font-size: 0.85rem; margin-top: 1.8rem; }
.book-page__fallback a { color: var(--green); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.book-page__fallback a:hover { border-color: var(--green); }

/* ═══════════ CONTACT FORM ═══════════ */
.cform-wrap { position: relative; max-width: 720px; margin: clamp(3.5rem, 7vw, 6rem) auto 0; text-align: left; }
.cform-title {
  font-family: var(--font-head); font-weight: 500; text-transform: uppercase;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem); letter-spacing: 0.08em;
  text-align: center; margin-bottom: 2rem;
}
.cform-title .script { font-size: 1.35em; line-height: 0.8; }
.cform { display: flex; flex-direction: column; gap: 1.1rem; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .cform__row { grid-template-columns: 1fr; } }
.cform label {
  display: flex; flex-direction: column; gap: 0.45rem;
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--grey);
}
.cform__optional { display: inline; text-transform: none; letter-spacing: 0.05em; opacity: 0.6; }
.cform input, .cform select, .cform textarea {
  font-family: var(--font-body); font-weight: 300; font-size: 0.95rem;
  color: var(--white); background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 0.85em 1em; outline: none; resize: vertical;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  -webkit-appearance: none; appearance: none;
}
.cform select { cursor: pointer; }
.cform select option { background: var(--charcoal-2); color: var(--white); }
.cform input:focus, .cform select:focus, .cform textarea:focus {
  border-color: var(--green); background: rgba(141, 198, 63, 0.05);
  box-shadow: 0 0 0 3px rgba(141, 198, 63, 0.12);
}
.cform__submit { align-self: center; margin-top: 0.6rem; cursor: pointer; }
.hidden-field { position: absolute; left: -9999px; opacity: 0; }

/* ═══════════ THANKS PAGE ═══════════ */
.thanks {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.thanks__inner { position: relative; padding: 0 6vw; }
.thanks__inner > p { color: var(--grey); margin: 1.4rem 0 2.4rem; }
.thanks__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════ HOVER GLOW — text, photos & video ═══════════ */
/* Note: .hero__title / .about-hero__title / .contact__title are deliberately excluded —
   their .line reveal wrapper uses overflow:hidden, which clips a glow's blur into hard
   rectangular bands instead of a smooth halo. */
h1, h2, h3,
.section-title, .manifesto__text,
.gallery-title, .stat__num, .stat__range, .price-card h3,
.service h3, .step h3, .cform-title {
  transition: text-shadow 0.4s;
}
h1:hover, h2:hover, h3:hover,
.section-title:hover, .manifesto__text:hover,
.gallery-title:hover, .stat__num:hover, .stat__range:hover, .price-card h3:hover,
.service h3:hover, .step h3:hover, .cform-title:hover {
  text-shadow: 0 0 40px var(--green-glow), 0 0 90px rgba(141, 198, 63, 0.32);
}
/* Magnetic cursor-follow — JS (main.js) sets transform directly on mousemove for a crisp
   1:1 follow, and switches this transition on only for the mouseleave snap-back. */
.magnetic-text { will-change: transform; }
@media (hover: none) {
  h1, h2, h3,
  .section-title, .manifesto__text,
  .gallery-title, .stat__num, .stat__range, .price-card h3,
  .service h3, .step h3, .cform-title {
    text-shadow: none !important;
  }
}
/* The bare h1/h2/h3 selectors above unintentionally also match these — their .line
   reveal wrapper uses overflow:hidden, which clips the glow's blur into hard bands.
   .hero__title is exempted from this (kept its glow, requested back explicitly). */
.about-hero__title, .about-hero__title:hover,
.contact__title, .contact__title:hover {
  text-shadow: none !important;
}

/* ═══════════ REVEAL ANIMATIONS ═══════════ */
.reveal { opacity: 0; transform: translateY(48px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .line > span, .line > em { transform: none; filter: none; opacity: 1; }
  .mline { opacity: 1; }
  .words .w { opacity: 1; transform: none; filter: none; }
  .card3d { opacity: 1; transform: none; }
  .showcase { height: auto; padding: 6rem 0; }
  .showcase__sticky { position: static; height: auto; flex-direction: column; gap: 2rem; }
  .showcase__phrase { position: static; opacity: 1; }
}
