/* ==========================================================================
   HOME — MINIMAL FILMIC REDESIGN
   Loaded AFTER styles.css / theme-minimal.css / premium-motion.css.
   Every rule is scoped to `body.page-home` so inner pages that share
   styles.css are never affected. All JS hook classes are preserved
   (#hero, .hero-slide, .abt-slide, .clients-ticker, .reveal, [data-magnetic],
   .btn--cinematic, #site-header, .nav-*). This layer only changes the look.
   Direction: Apple/Netflix restraint — negative space, quiet type,
   gold used as a whisper, imagery does the talking.
   ========================================================================== */

/* ------------------------------------------------------------- 1. Tokens */
body.page-home {
  --bg: #08080a;
  --bg-1: #0b0b0e;
  --bg-2: #101014;
  --ink: #f4f5f6;
  --ink-2: #c4c7cd;
  --ink-dim: #8b9099;
  --ink-faint: #5a5e67;
  --gold: #c9a227;
  --gold-soft: #dcc377;
  --hair: rgba(255, 255, 255, 0.08);
  --hair-2: rgba(255, 255, 255, 0.14);
  --gold-hair: rgba(201, 162, 39, 0.28);
  --section-y: clamp(88px, 12vw, 168px);
  --ease-mf: cubic-bezier(.22, .61, .36, 1);

  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0.005em;
}
body.page-home::selection { background: rgba(201, 162, 39, 0.28); color: #fff; }

/* Content width a touch wider for calm, full-bleed feel */
body.page-home .main-stage { width: min(1240px, 90vw); }

/* Reusable full-bleed helper (breaks out of .main-stage) */
body.page-home .mf-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ------------------------------------------------------ 2. Section shells */
body.page-home .block { padding: var(--section-y) 0; }
body.page-home .mf-hair {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--hair-2) 22%, var(--hair-2) 78%, transparent);
  margin: 0;
}

/* Shared quiet primitives */
body.page-home .mf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 500;
  margin: 0 0 26px;
}
body.page-home .mf-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  opacity: 0.85;
}
body.page-home .mf-eyebrow--center { justify-content: center; }

body.page-home .mf-title {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
body.page-home .mf-title em {
  font-style: normal;
  color: var(--gold-soft);
}
body.page-home .mf-lead {
  color: var(--ink-2);
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.85;
  font-weight: 300;
  max-width: 54ch;
  margin: 22px 0 0;
}
body.page-home .mf-lead--dim { color: var(--ink-dim); }

/* Minimal text link with animated underline + arrow */
body.page-home .mf-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color .4s var(--ease-mf), gap .4s var(--ease-mf);
}
body.page-home .mf-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-mf);
}
body.page-home .mf-link .mf-arrow { transition: transform .4s var(--ease-mf); }
body.page-home .mf-link:hover { color: var(--gold-soft); gap: 14px; }
body.page-home .mf-link:hover::after { transform: scaleX(1); }
body.page-home .mf-link:hover .mf-arrow { transform: translateX(3px); }

/* -------------------------------------------------------------- 3. Header */
body.page-home .site-header { padding: 22px min(4vw, 46px); }
body.page-home .site-header.is-scrolled {
  background: rgba(8, 8, 10, 0.66);
  backdrop-filter: blur(18px) saturate(120%);
  border-color: var(--hair);
}
body.page-home .nav-main a,
body.page-home .nav-dropdown__trigger {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(244, 245, 248, 0.72);
  font-weight: 400;
  transition: color .35s var(--ease-mf);
}
body.page-home .nav-main a:hover,
body.page-home .nav-dropdown:hover > .nav-dropdown__trigger { color: var(--ink); }
body.page-home .brand-serif { font-size: 21px; letter-spacing: 0.02em; }
body.page-home .brand-tag { font-size: 10px; letter-spacing: 0.24em; color: var(--ink-faint); }

/* ---------------------------------------------------------------- 4. Hero */
body.page-home .hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding-top: 96px;
  padding-bottom: 120px;
}
@supports (height: 100svh) { body.page-home .hero { min-height: 100svh; } }

/* Cleaner, deeper cinematic wash — quieter than the original */
body.page-home .hero__overlay--cinematic {
  background:
    linear-gradient(180deg, rgba(6, 6, 8, 0.55) 0%, rgba(6, 6, 8, 0.28) 42%, rgba(6, 6, 8, 0.82) 100%);
}
body.page-home .hero__vignette {
  background: radial-gradient(120% 90% at 50% 42%, transparent 34%, rgba(0, 0, 0, 0.66) 100%);
}
body.page-home .hero__grain { opacity: 0.07; }
body.page-home .hero__media-inner { transform: scale(1.04); }
body.page-home .hero__video { opacity: 0.34; }

/* Centered, airy hero content */
body.page-home .hero__inner {
  max-width: min(1040px, 90vw);
  margin-inline: auto;
  text-align: center;
  padding-inline: max(20px, 4vw);
}
body.page-home .hero-slides { min-height: 340px; }

/* Small eyebrow above the headline */
body.page-home .hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0 0 30px;
}
body.page-home .hero__eyebrow::before,
body.page-home .hero__eyebrow::after {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-hair));
}
body.page-home .hero__eyebrow::after { transform: scaleX(-1); }

/* Override the bold Bebas head → quiet Inter Tight; keep the CINEMA gradient */
body.page-home .hero__head {
  font-family: var(--font-head);
  text-transform: none;
  letter-spacing: -0.02em;
  line-height: 1.04;
  font-weight: 200;
  gap: 4px;
  justify-items: center;
}
body.page-home .hero__h1-line--white {
  font-size: clamp(24px, 3.6vw, 46px);
  font-weight: 200;
  color: #eceef0;
}
body.page-home .hero__h1-line--cinema { margin-top: 10px; }
body.page-home .hero__cinema {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(56px, 11vw, 150px);
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 0.94;
  /* gradient inherited from theme-minimal.css .hero__cinema */
}

body.page-home .hero__kicker {
  margin-top: 26px;
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--ink-dim);
}

/* Hero actions → quiet ghost links (magnetic + slider JS still attach) */
body.page-home .hero__actions {
  margin-top: 38px;
  justify-content: center;
  gap: 14px;
}
body.page-home .hero .btn--cinematic {
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--hair-2);
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 500;
  transition: border-color .4s var(--ease-mf), color .4s var(--ease-mf), background .4s var(--ease-mf);
}
body.page-home .hero .btn--cinematic:first-child {
  border-color: var(--gold-hair);
  background: rgba(201, 162, 39, 0.06);
}
body.page-home .hero .btn--cinematic:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
  transform: none;
}
/* Neutralize the sweeping shimmer for a calmer surface */
body.page-home .btn--cinematic::after { display: none !important; }

/* Slider dots — thin filmic ticks */
body.page-home .hero-slider__dots { justify-content: center; gap: 12px; margin-top: 40px; }
body.page-home .hero-dot {
  width: 22px;
  height: 2px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.2);
}
body.page-home .hero-dot--active { background: var(--gold); }

/* Scroll cue at the base of the hero */
body.page-home .mf-scrollcue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  pointer-events: none;
}
body.page-home .mf-scrollcue span {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--gold-hair), transparent);
  position: relative;
  overflow: hidden;
}
body.page-home .mf-scrollcue span::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--gold);
  animation: mfScroll 2.4s var(--ease-mf) infinite;
}
@keyframes mfScroll {
  0% { transform: translateY(-100%); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(300%); opacity: 0; }
}

/* ------------------------------------------------------------- 5. The Reel */
body.page-home .mf-reel { text-align: center; }
body.page-home .mf-reel__head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 60px); }
body.page-home .mf-reel__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: #050506;
  border: 1px solid var(--hair);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
body.page-home .mf-reel__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
body.page-home .mf-reel__caption {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
body.page-home .mf-reel__caption b { color: var(--ink); font-weight: 500; }
body.page-home .mf-reel__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }

/* ----------------------------------------------------------- 6. Selected work */
body.page-home .mf-work__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(34px, 4.5vw, 58px);
}
body.page-home .featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}
body.page-home .featured-cell {
  grid-column: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  border: 1px solid var(--hair);
  overflow: hidden;
}
/* First tile spans the row for editorial rhythm */
body.page-home .featured-cell--wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
body.page-home .featured-cell__bg {
  transition: transform 1.1s var(--ease-mf), filter .8s var(--ease-mf);
  filter: saturate(0.92) brightness(0.82);
}
body.page-home .featured-cell__overlay {
  background: linear-gradient(180deg, rgba(6, 6, 8, 0) 40%, rgba(6, 6, 8, 0.9) 100%);
}
body.page-home .featured-cell__num {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
}
body.page-home .featured-cell__title {
  bottom: 40px;
  left: 22px;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(19px, 1.7vw, 26px);
  letter-spacing: -0.01em;
  color: #fff;
}
body.page-home .featured-cell__meta {
  bottom: 22px;
  left: 22px;
  color: var(--gold-soft);
  font-size: 10px;
  letter-spacing: 0.2em;
}
body.page-home .featured-cell:hover .featured-cell__bg {
  transform: scale(1.05);
  filter: saturate(1.02) brightness(0.95);
}
body.page-home .mf-work__foot { margin-top: clamp(30px, 4vw, 52px); text-align: center; }

/* --------------------------------------------------------------- 7. About */
body.page-home #about .mf-about {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
body.page-home .mf-about__copy { max-width: 46ch; }
body.page-home .mf-about__poem {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 2;
  color: var(--ink-2);
  font-weight: 300;
  margin: 24px 0 0;
}
body.page-home .mf-about__poem em {
  display: block;
  margin-top: 16px;
  font-style: italic;
  color: var(--gold-soft);
}

/* Stats woven into the about column */
body.page-home .mf-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--hair);
  padding-top: 28px;
}
body.page-home .mf-stat {
  flex: 1 1 0;
  min-width: 96px;
  padding-right: 22px;
}
body.page-home .mf-stat + .mf-stat {
  padding-left: 22px;
  border-left: 1px solid var(--hair);
}
body.page-home .mf-stat__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(30px, 3.2vw, 44px);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
body.page-home .mf-stat__label {
  display: block;
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* About slideshow (keeps .abt-slide / .abt-dot JS) */
body.page-home .about-slideshow {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  height: clamp(380px, 46vw, 560px);
  border: 1px solid var(--hair);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}
body.page-home .about-slideshow .abt-slides { height: 100%; }
body.page-home .abt-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
  filter: saturate(0.95) brightness(0.9);
}
body.page-home .abt-slide__overlay {
  background: linear-gradient(180deg, transparent 45%, rgba(6, 6, 8, 0.86) 100%);
}
body.page-home .abt-slide__text { left: 26px; right: 26px; bottom: 30px; }
body.page-home .abt-slide__tag { color: var(--gold-soft); letter-spacing: 0.24em; }
body.page-home .abt-slide__quote {
  font-family: var(--font-head);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 1.4;
  color: #f3f2ee;
  letter-spacing: -0.01em;
}
body.page-home .abt-dots { left: 26px; right: auto; bottom: 22px; }
body.page-home .abt-dot { width: 20px; height: 2px; background: rgba(255, 255, 255, 0.28); }
body.page-home .abt-dot--active { background: var(--gold); }

/* ---------------------------------------------------------------- 8. Team */
body.page-home .mf-team {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
body.page-home .mf-team__title {
  font-family: var(--font-head);
  font-weight: 200;
  font-size: clamp(48px, 8vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 22px;
}
body.page-home .mf-team__title em { font-style: normal; color: var(--gold-soft); }
body.page-home .mf-team__lead {
  color: var(--ink-2);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.9;
  font-weight: 300;
  max-width: 52ch;
  margin: 0 auto 36px;
}
body.page-home .mf-team__foot { display: flex; justify-content: center; }

/* ------------------------------------------------------------- 9. Clients */
body.page-home .clients-section { padding: clamp(70px, 9vw, 120px) 0; }
body.page-home .clients-header {
  display: block;
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
body.page-home .clients-header__title {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(30px, 4vw, 56px);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 auto 14px;
}
body.page-home .clients-header__sub {
  color: var(--ink-dim);
  max-width: 44ch;
  margin: 0 auto;
  font-weight: 300;
}
body.page-home .clients-ticker-line {
  background: linear-gradient(90deg, transparent, var(--gold-hair), transparent);
  opacity: 0.7;
}
body.page-home .clients-ticker__item {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.26em;
  color: var(--ink-2);
}
body.page-home .clients-ticker__item:hover { color: var(--gold-soft); transform: none; }
body.page-home .clients-ticker__sep { color: var(--gold); opacity: 0.4; }
body.page-home .clients-ticker-scroll::before { background: linear-gradient(90deg, var(--bg), transparent); }
body.page-home .clients-ticker-scroll::after { background: linear-gradient(270deg, var(--bg), transparent); }

/* -------------------------------------------------------------- 10. Contact */
body.page-home .contact-block {
  border-top: 1px solid var(--hair);
  background: radial-gradient(ellipse at 50% 120%, rgba(201, 162, 39, 0.05), transparent 60%);
}
body.page-home .contact-block .contact-landing {
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
body.page-home .contact-label { color: var(--ink-dim); letter-spacing: 0.28em; font-size: 11px; }
body.page-home .contact-heading {
  font-family: var(--font-head);
  font-weight: 200;
  font-size: clamp(44px, 6.5vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 18px 0 0;
}
body.page-home .contact-gold-line { background: var(--gold); height: 1px; margin-top: 28px; }
body.page-home .contact-gold-line.is-visible { width: 56px; }
body.page-home .contact-desc { color: var(--ink-dim); font-weight: 300; line-height: 1.9; max-width: 40ch; }
body.page-home .contact-email { color: var(--gold-soft); letter-spacing: 0.06em; }
body.page-home .contact-location { color: var(--ink-faint); letter-spacing: 0.12em; }

body.page-home .contact-form-v2 {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--hair);
  border-radius: 6px;
  padding: clamp(26px, 3vw, 40px);
  backdrop-filter: blur(6px);
}
body.page-home .contact-form-v2 label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--ink-dim);
}
body.page-home .contact-form-v2 input,
body.page-home .contact-form-v2 textarea {
  background: transparent;
  border-bottom: 1px solid var(--hair-2);
  color: var(--ink);
  font-size: 15px;
  font-weight: 300;
  padding: 12px 2px;
}
body.page-home .contact-form-v2 input:focus,
body.page-home .contact-form-v2 textarea:focus { border-bottom-color: var(--gold); }

/* Minimal send button — thin, gold, fills quietly on hover */
body.page-home .contact-send-btn {
  background: transparent;
  color: var(--gold-soft);
  border: 1px solid var(--gold-hair);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.24em;
  min-height: 54px;
  transition: background .45s var(--ease-mf), color .45s var(--ease-mf), border-color .45s var(--ease-mf);
}
body.page-home .contact-send-btn:hover {
  background: var(--gold);
  color: #0b0b0d;
  border-color: var(--gold);
  transform: none;
  box-shadow: 0 16px 44px rgba(201, 162, 39, 0.22);
}

/* -------------------------------------------------------------- 11. Footer */
body.page-home .site-footer-premium {
  background: linear-gradient(180deg, var(--bg) 0%, #060608 100%);
  border-top: 1px solid var(--hair);
}
body.page-home .sfp-glow { background: radial-gradient(ellipse at top, rgba(201, 162, 39, 0.07), transparent 70%); }
body.page-home .sfp-nav__label { color: var(--ink-dim); font-weight: 500; }
body.page-home .sfp-nav a,
body.page-home .sfp-email,
body.page-home .sfp-location { color: var(--ink-faint); }
body.page-home .sfp-nav a:hover { color: var(--ink); }
body.page-home .sfp-email:hover { color: var(--gold-soft); }
body.page-home .sfp-tagline { color: var(--ink-dim); font-style: normal; }

/* ---------------------------------------------------------- 12. Responsive */
@media (max-width: 960px) {
  body.page-home #about .mf-about { grid-template-columns: 1fr; gap: 40px; }
  body.page-home .contact-block .contact-landing { grid-template-columns: 1fr; }
  body.page-home .mf-work__head { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 720px) {
  body.page-home .featured-grid { grid-template-columns: 1fr; }
  body.page-home .featured-cell { aspect-ratio: 3 / 2; }
  body.page-home .featured-cell--wide { aspect-ratio: 3 / 2; }
  body.page-home .hero__actions { flex-direction: column; align-items: stretch; }
  body.page-home .hero .btn--cinematic { width: 100%; }
  body.page-home .mf-scrollcue { display: none; }
  body.page-home .mf-stats { gap: 0; }
  body.page-home .mf-stat { flex: 1 1 33%; min-width: 0; padding-right: 12px; }
  body.page-home .mf-stat + .mf-stat { padding-left: 12px; }
}
@media (max-width: 460px) {
  body.page-home .hero__cinema { font-size: clamp(48px, 15vw, 84px); letter-spacing: 0.01em; }
  body.page-home .mf-stat__num { font-size: 26px; }
}

/* Header alignment on phones: the page-home header padding (higher specificity,
   loaded last) would otherwise beat the global mobile rule and drop the notch
   safe-area inset. Re-assert the mobile header padding so the hamburger + brand
   sit correctly under the status bar and the nav panel tracks the true height. */
@media (max-width: 600px) {
  body.page-home .site-header { padding: calc(12px + env(safe-area-inset-top)) 16px 12px; }
}

/* Reduced motion — kill the scroll cue animation */
@media (prefers-reduced-motion: reduce) {
  body.page-home .mf-scrollcue span::after { animation: none; }
}
