/* ===============================================================
   JAAEDI — Cinema for Modern Brands
   Cinematic build · custom cursor · page transitions · split text
   =============================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400&display=swap');

:root {
  /* Cinematic palette */
  --noir: #050505;
  --ink: #0c0c0c;
  --carbon: #141414;
  --smoke: #1a1a1a;
  --line: #232323;
  --cream: #f5f1e8;
  --bone: #ebe5d6;
  --graphite: #7a7770;
  --mist: #4a4744;

  /* Signature accents */
  --gold: #e8b056;
  --gold-soft: #d49b3f;
  --gold-glow: rgba(232, 176, 86, 0.35);
  --ember: #ff4d2e;
  --ember-deep: #c9341a;

  /* Motion */
  --ease: cubic-bezier(0.7, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
}

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

html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--noir);
  color: var(--cream);
  font-size: clamp(0.95rem, 0.55vw + 0.85rem, 1.0625rem);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  cursor: none;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1, 'ss01' 1;
  -webkit-font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1, 'ss01' 1;
}

@media (max-width: 900px) { body { cursor: auto; } }

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font-family: inherit; cursor: none; border: none; background: none; color: inherit; }
@media (max-width: 900px) { button { cursor: pointer; } }

::selection { background: var(--gold); color: var(--noir); }

/* =================== Custom cursor =================== */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold);
}
.cursor-ring {
  width: 30px; height: 30px;
  border: 1px solid var(--cream);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.cursor-ring.hover {
  width: 48px; height: 48px;
  border-color: var(--gold);
  background: rgba(232, 176, 86, 0.06);
}
.cursor-ring.click {
  width: 22px; height: 22px;
}
@media (max-width: 900px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* =================== Page transition curtain =================== */
.curtain {
  position: fixed;
  inset: 0;
  background: var(--noir);
  z-index: 9999;
  transform: translate3d(0, 100%, 0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Paint isolation: nothing outside this element can affect its rendering, and vice versa */
  isolation: isolate;
  contain: layout style paint;
  will-change: transform;
  backface-visibility: hidden;
}
.curtain.entering {
  transform: translate3d(0, 0, 0);
  pointer-events: all;
}
.curtain.exiting {
  transform: translate3d(0, -100%, 0);
}
/* While curtain is up, freeze body animations so they don't compete for GPU */
html.curtain-active body { overflow: hidden; }
html.curtain-active .nav::before { animation-play-state: paused; }
html.curtain-active * { animation-play-state: paused; }
html.curtain-active .curtain,
html.curtain-active .curtain * { animation-play-state: running; }
.curtain-text {
  font-family: 'Fraunces', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--gold);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.curtain.entering .curtain-text { opacity: 1; }

/* Curtain logo lockup — composite-only animations (opacity + translate3d) for guaranteed smoothness */
.curtain-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  contain: layout style paint;
}
/* Wrapper holds the static rotation — SVG never re-rasterizes */
.curtain-clap-wrap {
  display: inline-flex;
  transform: rotate(-8deg) translate3d(0, 0, 0);
  transform-origin: 50% 100%;
  opacity: 0;
  will-change: opacity, transform;
  backface-visibility: hidden;
}
.curtain-clap {
  width: clamp(180px, 26vw, 360px);
  height: auto;
  overflow: visible;
  display: block;
}
.curtain-clap .cs {
  fill: var(--cream);
  stroke: var(--cream);
  stroke-width: 2;
}
.curtain-clap .cs.e { fill: transparent; }
.curtain-wm {
  font-family: 'Archivo Black', 'Arial Black', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.86;
  color: var(--cream);
  margin-top: -0.2em;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  will-change: opacity, transform;
  backface-visibility: hidden;
}
.curtain-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  color: var(--cream);
  opacity: 0;
  margin-top: 0.4rem;
  will-change: opacity;
}
/* Animations: opacity + translate ONLY. No rotation, no scale, no SVG transforms. */
.curtain.entering.ready .curtain-clap-wrap {
  animation: curtain-clap-fade-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.curtain.entering.ready .curtain-wm {
  animation: curtain-fade-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards;
}
.curtain.entering.ready .curtain-tag {
  animation: curtain-fade 0.4s ease-out 0.36s forwards;
}
@keyframes curtain-clap-fade-up {
  0%   { opacity: 0; transform: rotate(-8deg) translate3d(0, 14px, 0); }
  100% { opacity: 1; transform: rotate(-8deg) translate3d(0, 0, 0); }
}
@keyframes curtain-fade-up {
  0%   { opacity: 0; transform: translate3d(0, 10px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes curtain-fade {
  0%   { opacity: 0; }
  100% { opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
  .curtain.entering.ready .curtain-clap-wrap,
  .curtain.entering.ready .curtain-wm,
  .curtain.entering.ready .curtain-tag {
    animation: none;
    opacity: 1;
    transform: rotate(-8deg);
  }
  .curtain-wm { transform: none; }
  .curtain-tag { opacity: 0.85; }
}

/* =================== Scroll progress bar =================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--ember));
  z-index: 9998;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--gold-glow);
}

/* =================== Typography =================== */
.serif { font-family: 'Fraunces', Georgia, serif; }
.italic { font-style: italic; font-family: 'Fraunces', serif; }

.display-xxl, .display-xl, .display-l, .display-m {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.display-xxl { font-size: clamp(3rem, 8.5vw, 7.5rem); line-height: 1; }
.display-xl  { font-size: clamp(2.5rem, 6.5vw, 5.75rem); line-height: 1.02; }
.display-l   { font-size: clamp(2.25rem, 5.2vw, 4.25rem); line-height: 1.05; }
.display-m   { font-size: clamp(1.5rem, 3.4vw, 2.75rem); line-height: 1.15; }

h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 400; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.75rem); line-height: 1.2; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

.lead {
  font-size: clamp(1.125rem, 0.6vw + 1rem, 1.3125rem);
  color: var(--bone);
  line-height: 1.55;
  max-width: 60ch;
  font-weight: 400;
  letter-spacing: -0.003em;
}

p {
  color: var(--bone);
  font-weight: 400;
  max-width: 68ch;
}
p + p { margin-top: 1em; }
.bg-cream p, .bg-bone p { color: #2a2724; }
.bg-cream .lead, .bg-bone .lead { color: var(--ink); }
.center p, .center .lead { margin-left: auto; margin-right: auto; }

/* Split text per-char animation */
.split-text { display: inline-block; }
.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%) rotateX(-90deg);
  transform-origin: bottom;
  transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out);
}
.split-text.in .split-char { opacity: 1; transform: translateY(0) rotateX(0); }
.split-char.space { width: 0.25em; }

/* Glow text */
.glow {
  background: linear-gradient(120deg, var(--gold) 0%, var(--cream) 50%, var(--gold) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Flicker on hover */
.flicker:hover { animation: flicker 0.4s steps(2) 1; }
@keyframes flicker {
  0%, 100% { opacity: 1; }
  20% { opacity: 0.4; }
  40% { opacity: 1; }
  60% { opacity: 0.6; }
  80% { opacity: 1; }
}

/* =================== Layout =================== */
.container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
section {
  padding: clamp(5rem, 12vw, 10rem) 0;
  position: relative;
}
.section-header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Background variants */
.bg-noir { background: var(--noir); color: var(--cream); }
.bg-ink { background: var(--ink); color: var(--cream); }
.bg-carbon { background: var(--carbon); color: var(--cream); }
.bg-cream { background: var(--cream); color: var(--noir); }
.bg-cream h1, .bg-cream h2, .bg-cream h3, .bg-cream .display-xxl, .bg-cream .display-xl, .bg-cream .display-l, .bg-cream .display-m { color: var(--noir); }
.bg-cream .lead { color: var(--mist); }
.bg-bone { background: var(--bone); color: var(--noir); }
.bg-bone h1, .bg-bone h2, .bg-bone h3 { color: var(--noir); }

.center { text-align: center; }
.light { color: var(--cream); }
.light h1, .light h2, .light h3 { color: var(--cream); }
.light-muted { color: var(--graphite); }
.center .lead { margin-left: auto; margin-right: auto; }

/* Section dividers — film slate strip */
.section-transition {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* =================== Nav =================== */
/* Liquid glass nav — stable position in both states, only visual props animate */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  width: calc(100% - 28px);
  max-width: 1280px;
  z-index: 100;
  padding: 1.05rem 1.6rem;
  border-radius: 999px;
  color: var(--cream);

  /* Soft glass at the top — visible on any background, but not heavy */
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.55) 0%, rgba(5, 5, 5, 0.45) 100%);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 8px 24px rgba(0, 0, 0, 0.22);

  will-change: background-color, padding, box-shadow;
  transition:
    background 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    -webkit-backdrop-filter 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav.scrolled {
  /* Deeper glass once scrolled — same shape, just denser */
  padding: 0.7rem 1.6rem;
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.78) 0%, rgba(5, 5, 5, 0.7) 100%);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 -1px 0 rgba(0, 0, 0, 0.4) inset,
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 4px 18px rgba(0, 0, 0, 0.4);
}
/* Logo + nav text always cream against the dark glass */
.nav .logo,
.nav .logo-text { color: var(--cream); }
.nav .nav-links a:not(.btn-primary) { color: var(--cream); }
/* Continuous sheen — purely decorative, GPU-cheap */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 999px;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.14) 45%, rgba(232, 176, 86, 0.08) 55%, transparent 75%);
  background-size: 250% 100%;
  animation: navSheen 8s ease-in-out infinite;
  mix-blend-mode: screen;
  opacity: 0.75;
  will-change: background-position;
}
.nav::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 999px;
  background: radial-gradient(120% 120% at 50% 0%, rgba(255, 255, 255, 0.14) 0%, transparent 40%);
  mix-blend-mode: overlay;
}
@keyframes navSheen {
  0%, 100% { background-position: 250% 0; }
  50% { background-position: -80% 0; }
}
@media (max-width: 720px) {
  .nav { padding: 0.7rem 1rem; width: calc(100% - 16px); top: 8px; }
  .nav.scrolled { padding: 0.55rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .nav { transition: none; }
  .nav::before { animation: none; }
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
/* === Hinged Clap logo (BLogo1 from design package) === */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
  text-decoration: none;
  color: var(--cream);
  line-height: 1;
}
.logo-mark {
  display: block;
  width: 4.6rem;
  height: auto;
  margin-left: -0.25rem;
  margin-bottom: -0.1rem;
  transform: rotate(-8deg) translateX(-3px);
  overflow: visible;
}
/* Hardcoded alternating cream + noir so the bar reads on ANY background
   (transparent fills disappeared under mix-blend-mode on cream sections) */
.logo-mark .clap-stripe { fill: var(--cream); stroke: var(--noir); stroke-width: 2; }
.logo-mark .clap-stripe.empty { fill: var(--noir); stroke: var(--noir); }
/* Curtain bar keeps original cream+transparent because curtain bg is always dark */
.logo-text {
  font-family: 'Archivo Black', 'Arial Black', sans-serif;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
  line-height: 0.86;
  color: currentColor;
}
.logo-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  margin-top: 0.25rem;
  opacity: 0.8;
}
/* Footer wants the full lockup at larger size with tagline */
.footer-grid .logo { gap: 0.3rem; }
.footer-grid .logo .logo-mark { width: 6rem; }
.footer-grid .logo .logo-text { font-size: 2rem; }
.footer-grid .logo .logo-tagline { display: block; }
/* Hide tagline in nav for compactness */
.nav .logo .logo-tagline { display: none; }
.nav-links { display: flex; align-items: center; gap: 2.25rem; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--cream);
  position: relative;
  transition: color 0.3s;
}
.nav-links a:not(.btn-primary)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}
.nav-links a:not(.btn-primary):hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--gold); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; }
.nav-toggle span {
  width: 26px; height: 1.5px;
  background: var(--cream);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--noir);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.6s var(--ease-out);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.5rem; font-family: 'Fraunces', serif; }
}

/* =================== Buttons =================== */
.btn-primary, .btn-ghost, .btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--noir);
  border: 1px solid var(--gold);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
  z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px var(--gold-glow); }
.btn-sm { padding: 0.7rem 1.4rem; font-size: 0.75rem; }
.btn-ghost {
  border: 1px solid rgba(245, 241, 232, 0.3);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost-dark {
  border: 1px solid rgba(5, 5, 5, 0.2);
  color: var(--noir);
}
.btn-ghost-dark:hover { border-color: var(--noir); background: var(--noir); color: var(--cream); }

.text-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s var(--ease-out);
}
.text-link:hover { gap: 1rem; }

/* =================== HERO =================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background: var(--noir);
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(232, 176, 86, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(255, 77, 46, 0.08) 0%, transparent 50%),
    linear-gradient(140deg, #0a0908 0%, var(--noir) 50%, #0d0a08 100%);
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 20% 30%, rgba(232, 176, 86, 0.12), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(232, 176, 86, 0.08), transparent 40%);
  filter: blur(60px);
  animation: heroFloat 20s ease-in-out infinite alternate;
}
@keyframes heroFloat {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-3%, 2%) scale(1.05); }
  100% { transform: translate(2%, -2%) scale(1.1); }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 2px,
      rgba(255, 255, 255, 0.012) 3px,
      transparent 4px
    );
  pointer-events: none;
  mix-blend-mode: overlay;
  animation: scanlines 8s linear infinite;
}
@keyframes scanlines {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.45;
  mix-blend-mode: lighten;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.hero-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--graphite);
}
.hero-eyebrow-row .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.5rem;
  box-shadow: 0 0 12px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero h1 {
  color: var(--cream);
  font-weight: 300;
  margin-bottom: 2rem;
}
.hero h1 .accent {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(120deg, var(--gold) 0%, #f5d28a 50%, var(--gold) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.hero-meta {
  position: absolute;
  bottom: 3rem;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  z-index: 4;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--graphite);
}
.hero-meta .scroll-cue {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-meta .scroll-cue::after {
  content: "";
  width: 1px;
  height: 32px;
  background: var(--gold);
  display: inline-block;
  animation: scrollCue 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollCue {
  0%, 100% { transform: scaleY(0.3); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 720px) {
  .hero-meta { display: none; }
}

/* Minimal hero — headline anchored bottom-left, video is the hero */
.hero-minimal {
  align-items: flex-end;
  padding-bottom: clamp(5rem, 10vw, 8rem);
}
.hero-minimal .hero-bg::before { opacity: 0.6; }
.hero-minimal .hero-video { opacity: 0.6; }
.hero-content-bottom {
  position: relative;
  z-index: 3;
  width: 100%;
}
.hero-text {
  max-width: 720px;
}
.hero-line {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 2rem;
}
.hero-minimal .hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .hero-minimal { padding-bottom: 6rem; align-items: flex-end; }
  .hero-line { font-size: 2rem; margin-bottom: 1.5rem; }
}

/* =================== Marquee =================== */
.marquee-section { padding: 2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 4rem;
  animation: scroll 40s linear infinite;
  padding: 1rem 0;
  flex-shrink: 0;
}
.marquee-track span {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--graphite);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.3s, opacity 0.3s;
  display: inline-flex;
  align-items: center;
}
.marquee-track span:hover { color: var(--gold); }
.marquee-track .star {
  font-family: 'Fraunces', serif;
  color: var(--gold);
  font-size: 1.5rem;
}
.marquee-track span.has-logo { font-size: 1px; color: transparent; }
.marquee-track span img {
  height: clamp(24px, 3.2vw, 44px);
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0) invert(0.55);
  opacity: 0.85;
  transition: filter 0.3s, opacity 0.3s;
}
.marquee-track span:hover img { filter: brightness(0) invert(0.78) sepia(1) saturate(2) hue-rotate(360deg); opacity: 1; }
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =================== Pillars =================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.pillar {
  padding: 3rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.pillar:nth-child(4n) { border-right: none; }
.pillar:hover { background: var(--ink); }
.pillar::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.6s var(--ease-out);
}
.pillar:hover::before { width: 100%; }
.bg-cream .pillar { border-color: rgba(5, 5, 5, 0.08); }
.bg-cream .pillar:hover { background: var(--bone); }
.pillar-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}
.pillar h3 { margin-bottom: 0.75rem; }

@media (max-width: 900px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } .pillar:nth-child(2n) { border-right: none; } }
@media (max-width: 600px) { .pillars-grid { grid-template-columns: 1fr; } .pillar { border-right: none; } }

/* =================== Services =================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.bg-cream .services-grid { background: rgba(5,5,5,0.08); border-color: rgba(5,5,5,0.08); }
.services-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .services-grid-3 { grid-template-columns: 1fr; } }

/* Calendly booking embed */
.booking-section { padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem); }
.calendly-wrap {
  margin-top: 4rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(5,5,5,0.1);
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 30px 80px rgba(0,0,0,0.08);
}
.calendly-inline-widget { display: block; }

.service-card {
  background: var(--noir);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  transition: background 0.6s var(--ease);
}
.bg-cream .service-card { background: var(--cream); }
.bg-cream .service-card:hover { background: var(--bone); }
.service-card:hover { background: var(--ink); }

.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-out);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card .service-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.service-card h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-family: 'Fraunces', serif;
  font-weight: 300;
  margin-bottom: 1rem;
  transition: color 0.3s, transform 0.5s var(--ease-out);
}
.service-card:hover h3 { transform: translateX(8px); }
.service-card p { margin-bottom: 1.5rem; }
.service-card .text-link { margin-top: auto; }

@media (max-width: 720px) { .services-grid { grid-template-columns: 1fr; } }

/* =================== Work grid =================== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.work-grid.full { grid-template-columns: repeat(3, 1fr); }
.work-tile {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--ink);
  display: block;
}
.work-grid:not(.full) .work-tile:nth-child(odd) { aspect-ratio: 4/3; transform: translateY(0); }
.work-grid:not(.full) .work-tile:nth-child(even) { aspect-ratio: 3/4; transform: translateY(60px); }

.work-tile-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.4s var(--ease-out);
}
.work-tile:hover .work-tile-bg { transform: scale(1.08); }

.work-tile video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out), transform 1.4s var(--ease-out);
}
.work-tile video.loaded { opacity: 1; }
.work-tile:hover video { transform: scale(1.05); }

.work-overlay {
  position: absolute;
  inset: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 50%, rgba(5,5,5,0.85) 100%);
  z-index: 2;
  transition: background 0.5s var(--ease);
}
.work-tile:hover .work-overlay {
  background: linear-gradient(180deg, transparent 30%, rgba(5,5,5,0.92) 100%);
}
.work-overlay .eyebrow { color: var(--gold); margin-bottom: 0.5rem; }
.work-overlay h3 {
  color: var(--cream);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-family: 'Fraunces', serif;
  font-weight: 400;
  transition: transform 0.5s var(--ease-out);
}
.work-tile:hover .work-overlay h3 { transform: translateY(-4px); }

.work-tile::after {
  content: "↗";
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 1.5rem;
  color: var(--cream);
  opacity: 0;
  transform: translate(-10px, 10px);
  transition: opacity 0.4s, transform 0.5s var(--ease-out);
  z-index: 3;
}
.work-tile:hover::after { opacity: 1; transform: translate(0, 0); color: var(--gold); }

@media (max-width: 900px) {
  .work-grid, .work-grid.full { grid-template-columns: 1fr; }
  .work-grid:not(.full) .work-tile:nth-child(even) { transform: translateY(0); }
}

/* Work filters */
.work-filters .filters {
  display: flex;
  gap: 1px;
  flex-wrap: wrap;
  background: var(--line);
  border: 1px solid var(--line);
  width: fit-content;
}
.bg-cream .work-filters .filters { background: rgba(5,5,5,0.1); border-color: rgba(5,5,5,0.1); }
.filter {
  background: var(--noir);
  padding: 0.7rem 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--graphite);
  transition: all 0.3s;
}
.bg-cream .filter { background: var(--cream); color: var(--mist); }
.filter:hover { color: var(--gold); }
.filter.active { background: var(--gold); color: var(--noir); }

/* =================== Process =================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 1.5rem; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 10%, var(--line) 90%, transparent);
}
.process-step {
  padding: 0 1rem;
  position: relative;
}
.process-step::before {
  content: "";
  position: absolute;
  top: 1rem; left: 50%;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, 0);
  box-shadow: 0 0 0 6px var(--noir), 0 0 20px var(--gold-glow);
  transition: transform 0.5s var(--ease-out);
}
.process-step:hover::before { transform: translate(-50%, 0) scale(1.3); }
.process-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  color: var(--gold);
  display: block;
  margin-top: 3.5rem;
  margin-bottom: 0.75rem;
  text-align: center;
}
.process-step h3 { text-align: center; margin-bottom: 0.75rem; }
.process-step p { text-align: center; font-size: 0.95rem; }

@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr 1fr; gap: 3rem 0; }
  .process-grid::before { display: none; }
}
@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* =================== Stats =================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bg-cream .stats-grid { border-color: rgba(5,5,5,0.1); }
.stat {
  padding: 3rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.bg-cream .stat { border-color: rgba(5,5,5,0.1); }
.stat:last-child { border-right: none; }
.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, var(--gold-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}
.stat:hover::before { opacity: 1; }
.stat-num {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5rem);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--gold);
  letter-spacing: -0.03em;
}
.bg-cream .stat-num { color: var(--noir); }
.stat p { font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; }

@media (max-width: 720px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* =================== Testimonials =================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonials-grid blockquote {
  padding: 2.5rem;
  border: 1px solid var(--line);
  background: var(--ink);
  position: relative;
  transition: transform 0.5s var(--ease-out), border-color 0.4s;
}
.bg-cream .testimonials-grid blockquote { background: var(--cream); border-color: rgba(5,5,5,0.1); }
.bg-bone .testimonials-grid blockquote { background: var(--cream); border-color: rgba(5,5,5,0.1); }
.testimonials-grid blockquote:hover { transform: translateY(-6px); border-color: var(--gold); }
.testimonials-grid blockquote::before {
  content: "\201C";
  position: absolute;
  top: 1rem; right: 2rem;
  font-family: 'Fraunces', serif;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
}
.testimonials-grid blockquote p {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.bg-cream .testimonials-grid blockquote p, .bg-bone .testimonials-grid blockquote p { color: var(--noir); }
.testimonials-grid blockquote cite {
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--graphite);
}

@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* =================== Lead magnet =================== */
.lead-magnet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.lead-magnet-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
  max-width: 480px;
  flex-wrap: wrap;
}
.lead-magnet-form input {
  flex: 1;
  min-width: 200px;
  padding: 1rem 1.25rem;
  background: transparent;
  border: 1px solid rgba(245,241,232,0.2);
  color: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: border-color 0.3s;
}
.bg-cream .lead-magnet-form input { border-color: rgba(5,5,5,0.2); color: var(--noir); }
.lead-magnet-form input::placeholder { color: var(--graphite); }
.lead-magnet-form input:focus { outline: none; border-color: var(--gold); }

.pdf-mock {
  aspect-ratio: 3/4;
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(150deg, #1a1410 0%, var(--noir) 60%, #0a0805 100%);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transform: rotate(-3deg) translateY(0);
  transition: transform 0.7s var(--ease-out);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 80px rgba(232,176,86,0.08);
}
.pdf-mock:hover { transform: rotate(-1deg) translateY(-10px); }
.pdf-mock::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 0% 0%, rgba(232,176,86,0.18) 0%, transparent 35%);
  pointer-events: none;
}
.pdf-mock h3 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  line-height: 1;
  margin: 1rem 0;
}
.pdf-mock p { font-size: 0.95rem; color: var(--bone); margin-top: auto; }

@media (max-width: 900px) { .lead-magnet-grid { grid-template-columns: 1fr; gap: 3rem; } }

.micro {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-top: 1rem;
  color: var(--graphite);
}

/* =================== Final CTA =================== */
.final-cta { padding: clamp(6rem, 14vw, 12rem) 0; position: relative; overflow: hidden; }
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--gold-glow) 0%, transparent 60%);
  opacity: 0.3;
  pointer-events: none;
}
.final-cta h2 { margin-bottom: 1.5rem; position: relative; }
.final-cta .lead { margin: 0 auto 2.5rem; }
.final-cta .btn-primary { font-size: 0.95rem; padding: 1.25rem 2.5rem; }

/* =================== Footer =================== */
.footer {
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line);
}
.footer-grid p:not(.eyebrow):not(.light-muted) { margin-bottom: 0.75rem; }
.footer-grid .logo { font-size: 2rem; margin-bottom: 0.5rem; }
.footer-grid a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--bone);
  transition: color 0.3s, transform 0.3s;
}
.footer-grid a:hover { color: var(--gold); transform: translateX(4px); }
.footer-grid .eyebrow { margin-bottom: 1rem; }
.footer-form { margin-top: 0.5rem; max-width: 100%; }
.footer-mark {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(5rem, 18vw, 18rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(232,176,86,0.15);
  text-stroke: 1px rgba(232,176,86,0.15);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 3rem 0 1rem;
  text-align: center;
  user-select: none;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--graphite);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* =================== Page hero =================== */
.page-hero {
  padding-top: clamp(8rem, 16vw, 14rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.page-hero h1 {
  margin: 1rem 0 1.5rem;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

/* =================== Service rows =================== */
.service-row { padding: clamp(4rem, 10vw, 8rem) 0; }
.service-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.service-row-grid.reverse > div:first-child { order: 2; }
.service-row-grid.reverse > div:last-child { order: 1; }
.service-row h2 { margin: 1rem 0 1.5rem; }

.check-list { list-style: none; margin: 1.5rem 0 2rem; }
.check-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  font-size: 1rem;
  color: var(--bone);
  border-bottom: 1px solid var(--line);
}
.bg-cream .check-list li, .bg-bone .check-list li { color: var(--mist); border-color: rgba(5,5,5,0.08); }
.check-list li::before {
  content: "→";
  position: absolute;
  left: 0; top: 0.75rem;
  color: var(--gold);
  font-weight: 600;
}

.service-visual {
  aspect-ratio: 4/5;
  background: var(--carbon);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.service-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5,5,5,0.4) 100%);
}

@media (max-width: 900px) {
  .service-row-grid { grid-template-columns: 1fr; }
  .service-row-grid.reverse > div:first-child,
  .service-row-grid.reverse > div:last-child { order: unset; }
}

/* Service spec card — replaces empty visual columns with real info */
.service-spec {
  background: var(--ink);
  border: 1px solid var(--line);
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.bg-cream .service-spec, .bg-bone .service-spec {
  background: #ffffff;
  border-color: rgba(5,5,5,0.08);
}
.service-spec::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 48px; height: 3px;
  background: var(--gold);
}
.service-spec-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.bg-cream .service-spec-header, .bg-bone .service-spec-header {
  border-bottom-color: rgba(5,5,5,0.08);
}
.service-spec-header .label {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--graphite);
}
.service-spec-header .value {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cream);
}
.bg-cream .service-spec-header .value, .bg-bone .service-spec-header .value { color: var(--ink); }

.service-spec-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.25rem;
  align-items: start;
}
.service-spec-row .k {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--graphite);
  padding-top: 0.2rem;
}
.service-spec-row .v {
  font-size: 0.98rem;
  color: var(--bone);
  line-height: 1.55;
}
.bg-cream .service-spec-row .v, .bg-bone .service-spec-row .v { color: var(--mist); }

.service-spec-foot {
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.bg-cream .service-spec-foot, .bg-bone .service-spec-foot {
  border-top-color: rgba(5,5,5,0.08);
}
.service-spec-foot .from {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.05rem;
}
.service-spec-foot .from b {
  font-style: normal;
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: 1.4rem;
  display: block;
  margin-top: 0.25rem;
}

@media (max-width: 600px) {
  .service-spec-row { grid-template-columns: 1fr; gap: 0.4rem; }
  .service-spec-foot { flex-direction: column; align-items: flex-start; }
}

/* =================== About — origin story =================== */
.origin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.origin-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.origin-body .lead {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 1.8vw, 1.75rem);
  line-height: 1.4;
  color: var(--ink);
}
.origin-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--mist);
}
.origin-quiet {
  font-family: 'Fraunces', serif !important;
  font-style: italic;
  font-size: 1.15rem !important;
  line-height: 1.5 !important;
  color: var(--graphite) !important;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(5,5,5,0.12);
  margin-top: 0.5rem;
}
@media (max-width: 900px) {
  .origin-grid { grid-template-columns: 1fr; }
}

/* =================== About — founder & team =================== */
.founder { padding: clamp(4rem, 10vw, 8rem) 0; }
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.founder-photo {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(232, 176, 86, 0.18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0,0,0,0.4) inset;
  background: var(--ink);
}
.founder-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.founder-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(5,5,5,0.55) 100%),
    radial-gradient(140% 100% at 50% 0%, transparent 50%, rgba(5,5,5,0.35) 100%);
  pointer-events: none;
  z-index: 1;
}
.founder h2 { margin: 1rem 0 1.5rem; }
.founder p { margin-bottom: 1rem; }
.founder-name {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.founder-name .italic { font-weight: 300; }
@media (max-width: 520px) {
  .founder-name { font-size: clamp(2rem, 9vw, 2.75rem); white-space: normal; }
}
.founder-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}
.founder-quote {
  border-left: 2px solid var(--gold);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: 2rem 0;
}
.founder-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  line-height: 1.45;
  color: var(--cream);
  margin: 0;
}
.founder-tagline {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.25;
  margin-top: 2rem;
  color: var(--cream);
}
.founder-tagline .gold { color: var(--gold); }

@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-caption { font-size: 0.62rem; bottom: 0.9rem; left: 0.9rem; }
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(5,5,5,0.1);
}
.bg-bone .values-grid { border-color: rgba(5,5,5,0.1); }
.value {
  padding: 3rem 2.5rem;
  border-right: 1px solid rgba(5,5,5,0.1);
  border-bottom: 1px solid rgba(5,5,5,0.1);
  transition: background 0.4s;
}
.value:hover { background: var(--cream); }
.value:nth-child(2n) { border-right: none; }
.value h3 { margin-bottom: 0.75rem; }

@media (max-width: 720px) {
  .values-grid { grid-template-columns: 1fr; }
  .value { border-right: none; }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.member { text-align: left; }
.member-photo {
  aspect-ratio: 3/4;
  background: var(--carbon);
  background-size: cover;
  background-position: center;
  margin-bottom: 1rem;
  overflow: hidden;
  position: relative;
  transition: transform 0.6s var(--ease-out);
}
.member:hover .member-photo { transform: translateY(-6px); }
.member h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.member p { font-size: 0.85rem; letter-spacing: 0.05em; color: var(--mist); }
.bg-cream .member p { color: var(--mist); }

@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }

/* =================== Contact =================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 6vw, 6rem);
}
.contact-grid h3 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.contact-grid h3 a:hover { color: var(--gold); }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--graphite);
}
.bg-cream .contact-form label { color: var(--mist); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 1rem 1.25rem;
  background: transparent;
  border: 1px solid rgba(5,5,5,0.15);
  color: var(--noir);
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: border-color 0.3s, background 0.3s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--noir);
  background: rgba(255,255,255,0.5);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form button { align-self: flex-start; margin-top: 1rem; }

@media (max-width: 900px) {
  .contact-grid, .form-row { grid-template-columns: 1fr; }
}

/* =================== Reveal animations =================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-mask {
  position: relative;
  overflow: hidden;
}
.reveal-mask::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out);
}
.reveal-mask.in::after { transform: scaleX(0); transform-origin: right; }

/* =================== Placeholder visuals (no asset uploads) =================== */
.work-tile-bg.placeholder,
.work-tile:not([style]) .work-tile-bg {
  background: var(--ink);
}
.work-tile[data-cat="hospitality"] .work-tile-bg {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(232,176,86,0.45) 0%, transparent 55%),
    linear-gradient(135deg, #2a1f10 0%, #1a1209 50%, #0a0704 100%);
}
.work-tile[data-cat="real-estate"] .work-tile-bg {
  background:
    radial-gradient(ellipse at 70% 40%, rgba(245,241,232,0.12) 0%, transparent 55%),
    linear-gradient(135deg, #1f1f1f 0%, #141414 50%, #050505 100%);
}
.work-tile[data-cat="automotive"] .work-tile-bg {
  background:
    radial-gradient(ellipse at 50% 80%, rgba(255,77,46,0.35) 0%, transparent 50%),
    linear-gradient(135deg, #1a0d09 0%, #0c0807 50%, var(--noir) 100%);
}
.work-tile[data-cat="weddings"] .work-tile-bg {
  background:
    radial-gradient(ellipse at 40% 60%, rgba(232,176,86,0.3) 0%, transparent 55%),
    linear-gradient(135deg, #2a2418 0%, #14110a 50%, #050505 100%);
}

.service-visual {
  background:
    radial-gradient(circle at 30% 30%, rgba(232,176,86,0.25) 0%, transparent 50%),
    linear-gradient(140deg, #1a1410 0%, var(--noir) 70%);
}
#films .service-visual {
  background:
    radial-gradient(circle at 70% 50%, rgba(245,241,232,0.06) 0%, transparent 50%),
    linear-gradient(140deg, #1f1f1f 0%, var(--noir) 70%);
}
#events .service-visual {
  background:
    radial-gradient(circle at 50% 70%, rgba(232,176,86,0.32) 0%, transparent 50%),
    linear-gradient(140deg, #221a10 0%, var(--noir) 70%);
}
#retainer .service-visual {
  background:
    radial-gradient(circle at 30% 60%, rgba(255,77,46,0.18) 0%, transparent 50%),
    linear-gradient(140deg, #1a0d09 0%, var(--noir) 70%);
}

.member-photo {
  background: var(--carbon);
  position: relative;
}
.member-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(232,176,86,0.3) 0%, transparent 50%),
    linear-gradient(160deg, #2a2418 0%, var(--noir) 100%);
}
.member-photo:nth-child(2n)::after {
  background:
    radial-gradient(ellipse at 50% 35%, rgba(245,241,232,0.08) 0%, transparent 50%),
    linear-gradient(160deg, #1f1f1f 0%, var(--noir) 100%);
}

/* =================== Misc utilities =================== */
.hidden { display: none !important; }
.flex-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
  .reveal, .split-char { opacity: 1 !important; transform: none !important; }
}

/* ---------- Video modal (click-to-play with sound) ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: clamp(1rem, 4vw, 4rem);
}
.video-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.video-modal-player {
  width: 100%;
  max-width: 1400px;
  max-height: 88vh;
  height: auto;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  outline: none;
}
.video-modal-close {
  position: absolute;
  top: clamp(1rem, 2vw, 2rem);
  right: clamp(1rem, 2vw, 2rem);
  width: 48px;
  height: 48px;
  background: rgba(245, 241, 232, 0.08);
  border: 1px solid rgba(245, 241, 232, 0.2);
  color: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.video-modal-close:hover {
  background: var(--gold);
  color: var(--noir);
  transform: rotate(90deg);
}
.work-tile { cursor: pointer; }

/* ---------- Promise section ---------- */
.promise-section {
  padding: clamp(6rem, 12vw, 10rem) 0;
}
.promise-pillars {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.promise-tag {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.promise-line {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--graphite);
  max-width: 26ch;
  margin-left: auto;
  margin-right: auto;
}
