/* ===========================================================
   Ananda Wedding Films — production stylesheet
   =========================================================== */

:root {
  --cream: oklch(97% 0.014 68);
  --cream-2: oklch(93% 0.017 66);
  --ink: oklch(23% 0.014 50);
  --ink-soft: oklch(42% 0.022 50);
  --dark: oklch(16% 0.012 40);
  --dark-2: oklch(21% 0.014 42);
  --accent: oklch(52% 0.06 145);
  --accent-soft: oklch(70% 0.05 145);
  --line: oklch(85% 0.012 60);
  --line-dark: oklch(33% 0.016 45);

  /* hex fallbacks for browsers without oklch() support */
  --cream-fallback: #f6f1e8;
  --cream-2-fallback: #ece4d6;
  --ink-fallback: #2c231c;
  --ink-soft-fallback: #5a4d42;
  --dark-fallback: #171310;
  --dark-2-fallback: #201a16;
  --accent-fallback: #537254;
  --accent-soft-fallback: #8ca78c;
  --line-fallback: #d8cfc0;
  --line-dark-fallback: #3a332c;

  --font-display: 'Bodoni Moda', serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-script: 'Alex Brush', cursive;

  --space-section-y: clamp(64px, 10vw, 140px);
  --space-section-x: clamp(20px, 5vw, 56px);
  --radius-card: 4px;
  --radius-pill: 999px;
}

@supports not (color: oklch(0% 0 0)) {
  :root {
    --cream: var(--cream-fallback);
    --cream-2: var(--cream-2-fallback);
    --ink: var(--ink-fallback);
    --ink-soft: var(--ink-soft-fallback);
    --dark: var(--dark-fallback);
    --dark-2: var(--dark-2-fallback);
    --accent: var(--accent-fallback);
    --accent-soft: var(--accent-soft-fallback);
    --line: var(--line-fallback);
    --line-dark: var(--line-dark-fallback);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}
a { color: inherit; }
img, video { max-width: 100%; display: block; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- NAV ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding: clamp(14px,2vw,22px) clamp(20px,4vw,56px);
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), transparent);
  transition: background 0.6s cubic-bezier(0.22,1,0.36,1);
}
.site-nav__brand {
  text-decoration: none; display: flex; flex-direction: column; line-height: 1;
}
.site-nav__script {
  font-family: var(--font-script); font-size: 44px; color: var(--cream); letter-spacing: 0.01em;
}
.site-nav__sub {
  font-family: var(--font-display); font-weight: 400; font-size: 11px; letter-spacing: 0.3em;
  color: var(--cream); opacity: 0.95; text-transform: uppercase; margin-top: 2px;
}
.site-nav__links {
  display: flex; align-items: center; gap: clamp(14px,2vw,32px); flex-wrap: wrap;
}
.nav-link {
  text-decoration: none; font-family: var(--font-display); font-weight: 300; font-size: 13px;
  letter-spacing: 0.2em; color: var(--cream); text-transform: uppercase; opacity: 0.9;
  transition: opacity 0.25s ease, color 0.25s ease;
}
.nav-link:hover { opacity: 1; color: var(--accent-soft); }
.nav-link--cta {
  font-size: 13px; letter-spacing: 0.2em; padding: 9px 18px; border: 1px solid var(--cream);
  border-radius: var(--radius-pill); color: var(--cream); background: transparent; opacity: 1;
  transition: background 0.25s ease, color 0.25s ease;
}
.nav-link--cta:hover { background: var(--cream); color: var(--dark); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; background: var(--dark);
}
.hero-bg { position: absolute; inset: -10% -5%; z-index: 0; }
.hero-bg video {
  width: 100%; height: 100%; object-fit: cover; filter: brightness(0.62) saturate(1.05);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.3) 100%);
}
.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(140px,20vh,220px); transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0.75;
}
.scroll-cue__label {
  font-family: var(--font-display); font-weight: 300; font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--cream);
}
.scroll-cue__line { width: 1px; height: 32px; background: linear-gradient(to bottom, var(--cream), transparent); }

.hero-content {
  position: relative; z-index: 2; padding: clamp(24px,5vw,64px); padding-bottom: clamp(40px,6vw,72px);
  display: flex; flex-direction: column; gap: clamp(20px,3vw,32px);
}
.hero-title {
  font-family: var(--font-display); font-weight: 500; color: var(--cream);
  font-size: clamp(44px,9vw,118px); line-height: 1.02; letter-spacing: -0.01em; max-width: 20ch;
}
.hero-line { overflow: visible; padding-bottom: 0.12em; }
.hero-line--script {
  overflow: hidden; font-family: var(--font-script); font-size: 0.6em; line-height: 1.3; padding-bottom: 0;
}
.hero-line--italic { font-style: italic; font-weight: 400; }

.hero-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.25); padding-top: clamp(16px,2.5vw,26px);
}
.hero-row__copy {
  flex: 1 1 320px; min-width: 0; max-width: 44ch; color: var(--cream); opacity: 0.9;
  font-size: clamp(15px,1.3vw,18px); line-height: 1.5; margin: 0;
}
.hero-row__cta { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; flex: 0 0 auto; }

.btn {
  text-decoration: none; font-family: var(--font-display); font-weight: 400; font-size: 13px;
  letter-spacing: 0.2em; text-transform: uppercase; padding: 14px 28px; border-radius: var(--radius-pill);
  white-space: nowrap; display: inline-block; transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn--primary {
  background: var(--accent); color: var(--cream); border: 1px solid var(--accent);
}
.btn--primary:hover { background: var(--cream); color: var(--dark); }
.btn--outline {
  background: transparent; color: var(--ink); border: 1px solid var(--ink);
}
.btn--outline:hover { background: var(--accent); color: var(--cream); border-color: var(--accent); }

.hero-row__location {
  font-family: var(--font-display); font-weight: 300; font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--cream); opacity: 0.65;
}

/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--accent); padding: clamp(14px,2vw,22px) 0; overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.marquee__track { display: inline-flex; align-items: center; gap: 1ch; animation: marquee-scroll 26s linear infinite; }
.marquee__group {
  font-family: var(--font-serif); font-weight: 500; font-style: italic; font-size: clamp(20px,3vw,34px);
  color: var(--cream); display: flex; gap: 1ch;
}

/* ---------- SHARED SECTION BITS ---------- */
.section { padding: var(--space-section-y) var(--space-section-x); }
.eyebrow {
  font-family: var(--font-display); font-weight: 300; font-size: 13px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-soft);
}
.eyebrow--on-dark { color: var(--accent-soft); }
.section-title {
  font-family: var(--font-serif); font-weight: 600; font-size: clamp(28px,4vw,48px);
  line-height: 1.2; margin: 0;
}
.text-link {
  text-decoration: none; font-family: var(--font-display); font-weight: 400; font-size: 13px;
  letter-spacing: 0.18em; text-transform: uppercase; border-bottom: 1px solid var(--ink);
  padding-bottom: 4px; width: fit-content; display: inline-block;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.text-link--on-dark { border-bottom-color: var(--accent-soft); color: var(--accent-soft); }

/* placeholder media slot — stands in for real photography/video stills */
.media-slot {
  width: 100%; height: 100%; border-radius: var(--radius-card);
  background: linear-gradient(155deg, var(--cream-2) 0%, var(--line) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 16px; position: relative; overflow: hidden;
}
.media-slot::after {
  content: ''; position: absolute; inset: 0; border: 1px dashed var(--line-dark); opacity: 0.35;
  border-radius: var(--radius-card); margin: 8px; pointer-events: none;
}
.media-slot svg { width: 30px; height: 30px; opacity: 0.45; stroke: var(--ink-soft); }
.media-slot span {
  font-family: var(--font-display); font-weight: 300; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-soft); opacity: 0.75; max-width: 22ch;
}
.media-slot--dark {
  background: linear-gradient(155deg, var(--dark-2) 0%, var(--dark) 100%);
}
.media-slot--dark::after { border-color: rgba(255,255,255,0.18); }
.media-slot--dark span { color: rgba(255,255,255,0.55); }
.media-slot--dark svg { stroke: rgba(255,255,255,0.4); }

/* ---------- MISSION ---------- */
.mission {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
  gap: clamp(40px,6vw,72px); align-items: center;
}
.mission__copy { display: flex; flex-direction: column; gap: 24px; max-width: 62ch; }
.mission__heading { text-wrap: pretty; }
.mission__body { font-size: clamp(15px,1.4vw,18px); line-height: 1.7; color: var(--ink-soft); margin: 0; text-wrap: pretty; }
.mission__grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: end; }
.mission__grid > div:first-child { aspect-ratio: 3/4; margin-top: 40px; }
.mission__grid > div:last-child { aspect-ratio: 3/4; }

/* ---------- ABOUT ---------- */
.about {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
  gap: clamp(32px,5vw,64px); align-items: center; background: var(--cream-2);
}
.about__photo { aspect-ratio: 4/5; max-width: 480px; }
.about__copy { display: flex; flex-direction: column; gap: 18px; max-width: 56ch; }
.about__heading { margin: 0; line-height: 1.15; }
.about__heading em {
  font-family: var(--font-script); font-style: normal; font-size: 1.3em; vertical-align: -0.05em;
}
.about__body { font-size: 16px; line-height: 1.75; color: var(--ink-soft); margin: 0; text-wrap: pretty; }

/* ---------- PROCESS ---------- */
.process { background: var(--dark); color: var(--cream); }
.process__title { margin: 0 0 clamp(40px,6vw,72px); max-width: 30ch; }
.process__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: clamp(24px,3vw,32px); }
.process-step {
  padding: 24px 0; border-top: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: 14px;
}
.process-step__n {
  font-family: var(--font-serif); font-weight: 600; font-style: italic; font-size: 34px; color: var(--accent-soft);
}
.process-step__title {
  margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 17px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.process-step__desc { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.65); }

/* ---------- FILMS ---------- */
.films-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(32px,5vw,56px);
}
.films-head .eyebrow { margin-bottom: 12px; display: block; }
.films-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: clamp(28px,3vw,36px); }
.film-card { display: flex; flex-direction: column; gap: 16px; }
.film-card__media { position: relative; aspect-ratio: 16/10; }
.film-card__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.film-card__play-btn {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
}
.film-card__play-btn::after {
  content: ''; display: block; width: 0; height: 0;
  border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 14px solid var(--ink);
  margin-left: 3px;
}
.film-card__name { font-family: var(--font-serif); font-weight: 600; font-size: 22px; margin: 0 0 6px; }
.film-card__meta {
  margin: 0; font-family: var(--font-display); font-weight: 300; font-size: 13px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--cream-2); }
.testimonials .eyebrow { margin-bottom: 16px; text-align: center; display: block; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: clamp(28px,3vw,36px);
  max-width: 1200px; margin: 0 auto;
}
.testimonial-card {
  background: var(--cream); border-radius: var(--radius-card); padding: clamp(24px,3vw,32px);
  display: flex; flex-direction: column; gap: 18px;
}
.testimonial-card__quote {
  font-family: var(--font-serif); font-weight: 500; font-style: italic; font-size: clamp(18px,2vw,22px);
  line-height: 1.5; margin: 0; text-wrap: pretty;
}
.testimonial-card__person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-card__avatar {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 600;
  font-style: italic; font-size: 16px; color: var(--cream);
}
.testimonial-card__name { font-size: 14px; font-weight: 600; }
.testimonial-card__loc { font-size: 12px; color: var(--ink-soft); }

/* ---------- PACKAGES ---------- */
.packages-head { text-align: center; max-width: 60ch; margin: 0 auto clamp(40px,6vw,64px); }
.packages-head .eyebrow { margin-bottom: 16px; display: block; }
.packages-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: clamp(24px,3vw,32px);
  max-width: 1200px; margin: 0 auto;
}
.package-card {
  border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(28px,3vw,36px);
  display: flex; flex-direction: column; gap: 20px;
}
.package-card__name { font-family: var(--font-serif); font-weight: 600; font-size: 26px; margin: 0 0 8px; }
.package-card__tagline { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.package-card__features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.package-card__features li { font-size: 14px; color: var(--ink); padding-left: 18px; position: relative; }
.package-card__features li::before { content: '\2014'; position: absolute; left: 0; color: var(--accent); }
.package-card .btn { margin-top: auto; text-align: center; }
.package-card .btn--outline:hover { color: var(--cream); }

/* ---------- INSTAGRAM ---------- */
.instagram { background: var(--dark); color: var(--cream); padding: clamp(48px,7vw,96px) var(--space-section-x); }
.instagram-head {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 16px;
  margin-bottom: clamp(24px,3vw,32px);
}
.instagram-head h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(24px,3vw,32px); margin: 0; }
.instagram-head a {
  text-decoration: none; font-family: var(--font-display); font-weight: 300; font-size: 13px;
  letter-spacing: 0.18em; color: var(--accent-soft); text-transform: uppercase;
}
.instagram-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 4px; }
.instagram-grid > div { aspect-ratio: 1; }

/* ---------- CONTACT ---------- */
.contact { text-align: center; background: var(--cream-2); padding: clamp(80px,12vw,160px) var(--space-section-x); }
.contact__inner { max-width: 48ch; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.contact__title { font-size: clamp(32px,5vw,64px); line-height: 1.15; text-wrap: pretty; }
.contact__body { margin: 0; color: var(--ink-soft); font-size: 16px; }
.contact__location {
  font-family: var(--font-display); font-weight: 300; font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* ---------- FOOTER ---------- */
.site-footer { padding: clamp(40px,5vw,64px) var(--space-section-x) clamp(24px,3vw,32px); background: var(--dark); color: var(--cream); }
.site-footer__top {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px;
  padding-bottom: clamp(32px,4vw,48px); border-bottom: 1px solid var(--line-dark);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 0; }
.site-footer__script { font-family: var(--font-script); font-size: 32px; line-height: 1; }
.site-footer__sub { font-family: var(--font-display); font-weight: 300; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; opacity: 0.65; }
.site-footer__cols { display: flex; gap: clamp(32px,5vw,64px); flex-wrap: wrap; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col-title {
  font-family: var(--font-display); font-weight: 300; font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; opacity: 0.55; margin-bottom: 4px;
}
.site-footer__col a { text-decoration: none; font-size: 14px; opacity: 0.85; transition: opacity 0.2s ease, color 0.2s ease; }
.site-footer__col a:hover { opacity: 1; color: var(--accent-soft); }
.site-footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px;
  font-size: 12px; opacity: 0.55;
}
.site-footer__bottom a { text-decoration: underline; opacity: 1; }

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  max-width: 720px; margin: 0 auto;
  background: var(--dark); color: var(--cream); border: 1px solid var(--line-dark);
  border-radius: var(--radius-card); padding: clamp(18px,3vw,26px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
  transform: translateY(140%); opacity: 0; transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), opacity 0.5s ease;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__text { flex: 1 1 320px; font-size: 13px; line-height: 1.6; opacity: 0.85; margin: 0; }
.cookie-banner__text a { text-decoration: underline; color: var(--accent-soft); }
.cookie-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; flex: 0 0 auto; }
.cookie-banner__actions .btn { padding: 10px 20px; font-size: 12px; }
.btn--ghost {
  background: transparent; color: var(--cream); border: 1px solid var(--line-dark);
}
.btn--ghost:hover { border-color: var(--cream); background: transparent; color: var(--cream); }

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .cookie-banner { transition: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 640px) {
  .site-nav__links { gap: 12px; }
  .mission__grid { grid-template-columns: 1fr 1fr; }
  .hero-row { border-top: none; padding-top: 0; }
}
