/* ===================== TOKENS ===================== */
/* Palette drawn from Emma's "Libra" moodboard:
   magenta, plum, maroon, periwinkle, sage, lavender, mint, blush */
:root {
  --bg: #FCFAFC;
  --bg-alt: #F4EFF5;
  --ink: #2C2233;
  --ink-soft: #6E6478;
  --line: #E9E0EC;
  --accent: #97A3CB;        /* periwinkle — soft fills / primary button */
  --accent-strong: #57649E; /* deep periwinkle — text, links, hover states */
  --accent-soft: #E4E8F4;   /* pale periwinkle tint */
  --teal-soft: #A9D5D6;     /* requested light teal — cursor + sparkles */
  --teal: #3E8B8D;          /* readable deep teal of same hue — the name */
  --maroon: #5C1E30;
  --plum: #6C5566;
  --periwinkle: #5B67A8;
  --sage: #5E9478;
  --lavender: #B4A2CE;
  --mint: #A9E1D3;
  --blush: #EBC5DF;
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1120px;
  --pad: clamp(20px, 5vw, 48px);
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "EB Garamond", Georgia, "Times New Roman", serif;
  --script: "Pinyon Script", "EB Garamond", cursive;
}

/* ===================== RESET ===================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
  font-size: 19px;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }

/* ===================== TYPE HELPERS ===================== */
.eyebrow, .kicker {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-strong);
}
.kicker { color: var(--ink-soft); margin-bottom: 1.2rem; }
.center { text-align: center; }
.accent { color: var(--accent-strong); }

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.section-title.center { margin-inline: auto; max-width: 22ch; }

.text-link {
  color: var(--accent-strong);
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
  transition: border-color .2s;
}
.text-link:hover { border-color: var(--accent-strong); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85em 1.6em;
  border-radius: 100px;
  transition: transform .18s ease, background .2s, color .2s, box-shadow .2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 8px 22px -12px rgba(87,100,158,.9); }
.btn-primary:hover { background: var(--accent-strong); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 1em 2.2em; font-size: 1.05rem; }

/* ===================== NAV ===================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,249,246,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: var(--script); font-weight: 400; font-size: 1.9rem; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: #fff !important;
  padding: 0.5em 1.1em; border-radius: 100px;
}
.nav-cta:hover { background: var(--accent-strong); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: .25s; }

/* ===================== HERO ===================== */
.hero { padding: clamp(36px, 7vh, 80px) 0 clamp(48px, 9vh, 96px); }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.hero-text { max-width: 620px; }
.hero-media { position: relative; }
.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 64px -34px rgba(44, 34, 51, .5);
}
.eyebrow { margin-bottom: 1.1rem; }
.hero-title {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(3.8rem, 13vw, 7.5rem);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 1.4rem;
  color: var(--accent-strong);
  padding-bottom: 0.08em; /* room for script descenders */
}
.hero-lead {
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--ink-soft);
  max-width: 40ch;
  line-height: 1.5;
}
.hero-lead strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 2.2rem 0 2.4rem; }

/* ===================== SOCIALS ===================== */
.socials { display: flex; gap: 0.65rem; }
.socials.center { justify-content: center; margin-top: 2rem; }
.social {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink-soft);
  transition: color .2s, border-color .2s, transform .2s, background .2s;
}
.social:hover { color: #fff; background: var(--accent-strong); border-color: var(--accent-strong); transform: translateY(-2px); }

/* ===================== SECTIONS ===================== */
.section { padding: clamp(56px, 10vh, 110px) 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-body p + p { margin-top: 1.2rem; }
.about-body p { font-size: 1.12rem; color: var(--ink-soft); }
.about-couples { border-left: 2px solid var(--accent-soft); padding-left: 1.2rem; }

/* ===================== BRANDS (scrolling marquee) ===================== */
.brands { background: var(--bg-alt); padding: clamp(40px, 6vh, 64px) 0; }
.brands .kicker { margin-bottom: 1.8rem; }
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: clamp(2rem, 5vw, 4rem);
  padding-inline: clamp(1rem, 2.5vw, 2rem);
  animation: marquee 55s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  color: var(--ink-soft);
  opacity: .8;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: opacity .2s, color .2s;
}
.marquee-track li:hover { opacity: 1; color: var(--accent-strong); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* ===================== THUMBS / PLACEHOLDERS ===================== */
.thumb { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.thumb-vertical { aspect-ratio: 9 / 16; width: 100%; object-fit: cover; }
.placeholder {
  display: grid; place-items: center;
  background: linear-gradient(150deg, #efe7f2, #e3dcef 55%, #e9dbe8);
  color: var(--ink-soft);
  text-align: center;
}
.ph-label { font-size: 0.82rem; font-weight: 500; padding: 0 1rem; }
.ph-label em { font-style: normal; opacity: .6; font-size: 0.72rem; }
.play {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.85); position: relative; margin-bottom: .7rem;
  display: block;
}
.play::after {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%,-50%);
  border-left: 13px solid var(--accent);
  border-top: 8px solid transparent; border-bottom: 8px solid transparent;
}


/* ===================== CASE STUDY ===================== */
.case { background: linear-gradient(150deg, var(--maroon) 0%, #45213B 55%, var(--plum) 100%); color: #fff; border-radius: 0; }
.case .kicker { color: rgba(255,255,255,.6); }
.case .accent { color: var(--mint); }
.case-card {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  margin-top: 1.5rem;
}
.case-visual .thumb { max-width: 320px; margin-inline: auto; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.case-headline {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.15;
  letter-spacing: -0.01em; margin: 0.8rem 0 1.8rem;
}
.case-tag { font-size: 0.85rem; letter-spacing: 0.04em; color: rgba(255,255,255,.65); text-transform: uppercase; font-weight: 600; }
.stat-row { display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 4vw, 2.6rem); padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 600; color: #fff; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,.6); }
.case-quote { margin-top: 1.8rem; font-size: 1.02rem; color: rgba(255,255,255,.9); font-style: italic; line-height: 1.55; }
.case-quote cite { display: block; margin-top: 0.9rem; font-style: normal; font-weight: 600; font-size: 0.9rem; color: var(--blush); }

/* ===================== VIDEO GRID ===================== */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 2rem 0 2.8rem; }
.filter {
  font-family: var(--sans); font-size: 0.9rem; font-weight: 500;
  padding: 0.55em 1.15em; border-radius: 100px;
  border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
  cursor: pointer; transition: all .2s;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.8rem, 2vw, 1.4rem); }
.video-card { position: relative; transition: opacity .3s, transform .3s; }
.video-card.hide { display: none; }
/* speaker affordance — hints that clicking plays sound */
.video-card::after {
  content: "🔊";
  position: absolute; top: 10px; right: 10px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px;
  background: rgba(28, 24, 29, .5); color: #fff;
  opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s, background .2s;
  pointer-events: none; z-index: 2;
}
.video-card:hover::after { opacity: 1; transform: none; }
.video-card.is-playing::after { content: "🔊"; opacity: 1; transform: none; background: var(--accent-strong); }
.video-card .thumb { transition: transform .3s, box-shadow .3s; }
.video-card:hover .thumb { transform: translateY(-4px); box-shadow: 0 18px 34px -22px rgba(0,0,0,.4); }
.video-card figcaption { margin-top: 0.7rem; font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); }

/* ===================== TESTIMONIALS ===================== */
.testimonials { background: var(--bg-alt); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 0.5rem; }
.testi-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
}
.testi-card p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.45; color: var(--ink); }
.testi-card cite { display: block; margin-top: 1.3rem; font-style: normal; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.testi-card .stars { color: var(--accent-strong); font-size: 0.95rem; letter-spacing: 0.22em; margin-bottom: 0.9rem; }

/* ===================== SERVICES ===================== */
.services-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 2.5rem; }
.services-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.2rem; background: #fff; }
.services-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; margin-bottom: 1.2rem; }
.service-list li { padding: 0.7em 0; border-top: 1px solid var(--line); font-weight: 500; }
.service-list li:first-child { border-top: 0; padding-top: 0; }
.services-note { text-align: center; margin-top: 2rem; color: var(--ink-soft); font-size: 1.05rem; }

/* ===================== PHOTOGRAPHY ===================== */
.photography { background: var(--bg-alt); }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.8rem, 2vw, 1.2rem); margin-top: 2.5rem; }
.photo {
  width: 100%; display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
img.photo:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -20px rgba(44,34,51,.35); }

/* ===================== CONTACT ===================== */
.contact-inner { max-width: 640px; margin-inline: auto; text-align: center; }
.contact-lead { font-size: 1.18rem; color: var(--ink-soft); line-height: 1.55; margin: 1.4rem 0 2.4rem; }
.contact-email { margin-top: 1.4rem; font-size: 0.98rem; }
.contact-email a { color: var(--accent-strong); font-weight: 600; }

/* ===================== FOOTER ===================== */
.footer { padding: 2.5rem 0; border-top: 1px solid var(--line); text-align: center; }
.footer p { font-size: 0.85rem; color: var(--ink-soft); }

/* ===================== REVEAL ANIM ===================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s cubic-bezier(.16, .8, .24, 1),
                transform .8s cubic-bezier(.16, .8, .24, 1);
    will-change: opacity, transform;
  }
  .reveal.in { opacity: 1; transform: none; }
  /* video + photo cards get a touch of scale for extra life */
  .video-card.reveal, .photo.reveal { transform: translateY(30px) scale(.97); }
  .video-card.reveal.in, .photo.reveal.in { transform: none; }
}

/* ===================== CUSTOM CURSOR (teal pixel hand) ===================== */
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor * { cursor: none; }
  .cursor-hand {
    position: fixed; top: 0; left: 0;
    width: 27px; height: 40px;
    background: url('assets/cursor-teal.png') no-repeat center / contain;
    transform-origin: 8px 8px;
    pointer-events: none; z-index: 10000;
    transition: opacity .25s ease;
    -webkit-user-select: none; user-select: none;
    image-rendering: pixelated;
  }
}
/* subtle teal sparkle trail */
.cursor-sparkle {
  position: fixed; z-index: 9999; pointer-events: none;
  line-height: 1; transform: translate(-50%, -50%);
  animation: cursorSparkle .8s ease forwards;
}
@keyframes cursorSparkle {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.4) rotate(0deg); }
  25%  { opacity: .85; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1) rotate(22deg); }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 1.5rem; }
  .case-card { grid-template-columns: 1fr; }
  .case-visual .thumb { max-width: 260px; }
  .hero-inner { grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 2.4rem); }
  .hero-media { order: -1; }
  .hero-photo { max-width: 440px; margin-inline: auto; }
  .hero-text { max-width: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav-links {
    position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad) 1.4rem;
    transform: translateY(-130%); transition: transform .3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: 0.8rem; border-bottom: 0 !important; }
  .nav-toggle { display: flex; }
  .services-cols { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
}
