/* ============================================================================
   Laura Watson - Makeup & Hair Artist
   EXACT WIX clone. WHITE theme, photography-forward.
   Fonts: Marcellus (display: logo / hero name / hamburger menu -- closest free to
   WIX "Marzo"), Playfair Display (serif accent: section titles + buttons -- exact),
   Helvetica/Arial (category labels -- system).
   Tokens captured from the live WIX rendered DOM (computed styles).
   ============================================================================ */

:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #fafafa;

  /* Text */
  --text: #0a0a0a;             /* near-black body (rgb 10,10,10) */
  --text-serif: #474747;       /* serif titles grey (rgb 71,71,71) */
  --text-muted: #6f6f6f;
  --text-on-dark: #ffffff;

  /* Accent */
  --accent: #474747;
  --link-active: rgb(17, 166, 255);   /* active nav link blue */

  /* Lines */
  --line: rgba(10, 10, 10, 0.12);
  --line-soft: rgba(10, 10, 10, 0.08);

  /* Type */
  --font-display: 'Marcellus', 'Cormorant Garamond', 'Tenor Sans', Georgia, serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-label: Helvetica, Arial, sans-serif;
  --font-body: Helvetica, Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1180px;
  --grid-max: 1360px;
  --nav-h: 86px;
}

/* FOUC guard partner (set in <head>) */
html.loaded { visibility: visible; opacity: 1; }

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color .25s ease; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================================================
   NAVIGATION  (WIX hamburger pattern: logo left, socials + hamburger right)
   Transparent over hero, white on inner pages.
   ============================================================================ */

.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}

/* Inner (non-hero) pages get a solid white bar via body class. */
body.theme-light .navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--line-soft);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  letter-spacing: 6px;
  font-size: 30px;
  line-height: 1;
  color: var(--text-on-dark);
  text-transform: uppercase;
}
body.theme-light .nav-logo { color: var(--text-serif); }
.nav-logo-mark { display: inline-block; padding-left: 6px; }

/* Right cluster: socials + hamburger */
.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-social a {
  display: inline-flex;
  color: var(--text-on-dark);
  opacity: .92;
  transition: opacity .2s ease, color .2s ease;
}
.nav-social a:hover { opacity: 1; }
body.theme-light .nav-social a { color: var(--text-serif); }

/* Hamburger button */
.nav-toggle {
  width: 34px;
  height: 26px;
  position: relative;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-on-dark);
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
}
body.theme-light .nav-toggle span { background: var(--text-serif); }
.nav-toggle.open span { background: #ffffff; }
.nav-toggle.open span:nth-child(1) { transform: translateY(12px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-12px) rotate(-45deg); }

/* ---- Slide-in gradient menu panel (WIX hamburger pattern) ----
   Gradient + 510px right panel captured from the live WIX rendered DOM. */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1001;                 /* above the navbar so the panel covers the right cluster */
  display: flex;
  justify-content: flex-end;     /* panel anchored to the right */
  background: transparent;        /* page stays visible behind it (matches WIX) */
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}
.nav-overlay.open { opacity: 1; visibility: visible; }

.nav-panel {
  position: relative;
  width: min(510px, 86vw);
  height: 100%;
  /* EXACT WIX gradient: dark teal-navy -> magenta (33%) -> periwinkle */
  background: linear-gradient(180deg, #1a4c6a 0%, #ae2176 33%, #a4b7f6 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 56px 104px;
  transform: translateX(100%);
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.22);
  overflow-y: auto;
}
.nav-overlay.open .nav-panel { transform: translateX(0); }

.nav-overlay-close {
  position: absolute;
  top: 28px;
  right: 32px;
  background: none;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  opacity: .9;
  transition: opacity .2s ease, transform .25s ease;
}
.nav-overlay-close:hover { opacity: 1; transform: rotate(90deg); }

/* The CRM injects the 8 nav <li> items into THIS exact ul. */
.nav-menu {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}
.nav-menu li { opacity: 0; transform: translateX(26px); }
.nav-overlay.open .nav-menu li {
  animation: navItemIn .5s ease forwards;
}
.nav-overlay.open .nav-menu li:nth-child(1) { animation-delay: .08s; }
.nav-overlay.open .nav-menu li:nth-child(2) { animation-delay: .12s; }
.nav-overlay.open .nav-menu li:nth-child(3) { animation-delay: .16s; }
.nav-overlay.open .nav-menu li:nth-child(4) { animation-delay: .20s; }
.nav-overlay.open .nav-menu li:nth-child(5) { animation-delay: .24s; }
.nav-overlay.open .nav-menu li:nth-child(6) { animation-delay: .28s; }
.nav-overlay.open .nav-menu li:nth-child(7) { animation-delay: .32s; }
.nav-overlay.open .nav-menu li:nth-child(8) { animation-delay: .36s; }
@keyframes navItemIn { to { opacity: 1; transform: translateX(0); } }

.nav-menu .nav-link {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(25px, 3vw, 33px);
  letter-spacing: 1.6px;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
  line-height: 1.32;
}
.nav-menu .nav-link:hover { color: #ffffff; }
.nav-menu .nav-link.active { color: var(--link-active); }   /* #11A6FF -> active page */

/* Social icons pinned to the bottom of the panel */
.nav-overlay-social {
  position: absolute;
  left: 56px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-overlay-social a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.30);
  color: #ffffff;
  opacity: .92;
  transition: opacity .2s ease, background .2s ease;
}
.nav-overlay-social a:hover { opacity: 1; background: rgba(0, 0, 0, 0.45); }

/* ============================================================================
   SCROLL REVEAL  (WIX-style: sections slide in from a side + fade on scroll)
   Customer-requested effect -- plays for all visitors (intentionally not gated
   behind prefers-reduced-motion, since the slide is the requested feature).
   ============================================================================ */
.reveal {
  opacity: 0;
  transition: opacity 1s ease, transform 1s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
/* WIX bio: every block slides in on scroll (directions per the recording;
   the two ticker lines travel in OPPOSITE directions). */
.reveal[data-reveal="far-left"]  { transform: translateX(-660px); }
.reveal[data-reveal="far-right"] { transform: translateX(530px); }
.reveal[data-reveal="left"]  { transform: translateX(-440px); }
.reveal[data-reveal="right"] { transform: translateX(440px); }
.reveal[data-reveal="up"]    { transform: translateY(48px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================================
   OCCUPATION TICKER -- two full-width infinite marquees scrolling in OPPOSITE
   directions (Playfair Display, wide tracking, near-black).
   ============================================================================ */
.ticker-marquee {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  overflow: hidden;
  padding: 42px 0 16px;
}
.marquee { overflow: hidden; }
.marquee + .marquee { margin-top: 8px; }
.marquee-track {
  display: inline-flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  will-change: transform;
}
.marquee-track span {
  flex: none;
  font-family: var(--font-serif);          /* Playfair Display */
  font-weight: 400;
  font-size: clamp(18px, 2.6vw, 33px);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #8a8a8a;                           /* soft grey, not black */
  padding: 0 0.7em;
}
.marquee-ltr { animation: ticker-left 85s linear infinite; }
.marquee-rtl { animation: ticker-right 85s linear infinite; }
@keyframes ticker-left  { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes ticker-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.ticker-marquee:hover .marquee-track { animation-play-state: paused; }

/* ============================================================================
   BIOGRAPHY COLLAGE -- exact WIX free-position overlapping layout
   (design canvas 1640 x 1220; scales via container-query units; stacks on mobile)
   ============================================================================ */
.bio-collage-section { padding: 26px 0 72px; }
.bio-collage {
  position: relative;
  width: min(1500px, 96vw);
  margin: 0 auto;
  aspect-ratio: 1640 / 1220;
  container-type: inline-size;
}
.bio-collage .cz { position: absolute; }
.bio-collage .bio-serif {
  font-family: var(--font-serif);
  font-size: 1.02cqw;
  line-height: 1.85;
  color: var(--text);
  margin: 0;
  text-align: center;
}
.bio-collage .bio-justify { text-align: justify; }

.cz-lgfb-logo   { left: 11.6%; top: 11.6%; width: 19%;   height: auto;  z-index: 2; }
.cz-lgfb-box    { left: 38.6%; top: 0;     width: 57.8%; height: 29.8%; background: #ececec; z-index: 1;
                  display: flex; align-items: center; justify-content: center; padding: 1.6% 3%; }
.cz-bio-box     { left: 25.3%; top: 32.6%; width: 50.7%; height: 32.5%; background: #ececec; border-radius: 5px; z-index: 1;
                  display: flex; align-items: center; justify-content: center; padding: 1.8% 3%; }
.cz-photo       { object-fit: cover; z-index: 2; }
.cz-photo-bw    { left: 20.4%; top: 77.3%; width: 26.6%; height: 22%; }
.cz-photo-beach { left: 61.5%; top: 60.8%; width: 18.4%; height: 30.8%; }
.cz-quote-box   { left: 46%;   top: 83.4%; width: 33.2%; min-height: 13%; background: #fff; border: 1px solid #1a1a1a; z-index: 3;
                  display: flex; align-items: center; justify-content: center; padding: 1.6% 2.2%; }
.cz-quote-box .bio-serif { font-size: 1.04cqw; }

@media (max-width: 1000px) {
  /* Mobile-adapted reveal: the desktop 440-660px horizontal slide-ins travel
     off-canvas on a phone, so the scroll observer never fired and blocks sat
     hidden. Swap them for short, viewport-safe VERTICAL reveals so the effect
     still fires on mobile (no horizontal overflow). The two photos travel a
     little further, echoing the desktop "big slide" hierarchy. Opacity fade +
     transition come from the base .reveal rule; speed slightly quicker on mobile. */
  .reveal { transition: opacity .8s ease, transform .8s cubic-bezier(.22, .61, .36, 1); }
  .reveal[data-reveal] { transform: translateY(34px); }
  .reveal[data-reveal="far-left"], .reveal[data-reveal="far-right"] { transform: translateY(52px); }
  .reveal.is-visible { opacity: 1; transform: none; }
  .bio-collage {
    width: 92vw; aspect-ratio: auto; container-type: normal;
    display: flex; flex-direction: column; align-items: center; gap: 24px;
  }
  .bio-collage .cz {
    position: static; left: auto; top: auto;
    width: 100% !important; height: auto !important; max-width: 560px;
  }
  .cz-lgfb-logo { width: 240px !important; }
  .cz-photo { max-width: 440px; }
  .bio-collage .bio-serif, .cz-quote-box .bio-serif { font-size: 16px; }
  .cz-lgfb-box, .cz-bio-box, .cz-quote-box { padding: 26px 28px; }
}

/* ============================================================================
   BIOGRAPHY PAGE  (exact WIX layout: portrait -> ticker -> LGFB row ->
   bio panel -> two photos -> closing quote). Body text = Playfair 16px.
   ============================================================================ */
.bio-portrait-wrap { max-width: 443px; margin: 0 auto; }
.bio-portrait { width: 100%; height: auto; display: block; }

/* LGFB: logo left (on white) + text on a light panel right */
.lgfb-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
}
.lgfb-logo-col { flex: 0 0 auto; }
.lgfb-logo-col .lgfb-logo { width: 300px; max-width: 42vw; height: auto; margin: 0; }
.lgfb-text-col {
  flex: 0 1 560px;
  background: #ececec;
  padding: 30px 38px;
}

/* WIX biography body text is Playfair Display 16px */
.bio-serif {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  margin: 0;
  text-align: center;
}
.bio-justify { text-align: justify; }

.bio-main-panel {
  max-width: 720px;
  margin: 0 auto;
  background: #ececec;
  border-radius: 5px;
  padding: 40px 48px;
}

.bio-photos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.bio-photo img { display: block; height: auto; }
.bio-photo-landscape img { width: 436px; max-width: 100%; }
.bio-photo-portrait img { width: 302px; max-width: 100%; }

.bio-closing-quote {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .lgfb-row { flex-direction: column; gap: 26px; }
  .lgfb-logo-col .lgfb-logo { max-width: 70vw; }
  .lgfb-text-col { flex-basis: auto; }
  .bio-main-panel { padding: 30px 24px; }
}

/* ============================================================================
   HERO  (full-bleed background image + centered name + bordered button)
   ============================================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
/* Background image is a real <img> so the CRM can swap its src (data-editable). */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.28);   /* subtle dark overlay for legibility */
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}
.hero-name {
  font-family: var(--font-display);
  font-weight: 400;
  color: #ffffff;
  text-transform: uppercase;
  font-size: clamp(38px, 9vw, 90px);
  letter-spacing: clamp(6px, 1.4vw, 13px);
  line-height: 1.1;
  margin: 0;
}
.hero-cta {
  display: inline-block;
  margin-top: 38px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.85);
  padding: 15px 40px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.hero-cta:hover {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
}

/* ============================================================================
   PAGE HERO  (inner page titles -- Playfair "PORTFOLIO" etc.)
   ============================================================================ */

.page-hero {
  padding: calc(var(--nav-h) + 70px) 0 26px;
  text-align: center;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--text-serif);
  text-transform: uppercase;
  font-size: clamp(34px, 6vw, 56px);
  letter-spacing: 8.4px;
  line-height: 1.15;
  margin: 0;
}
.section-subtitle {
  margin-top: 16px;
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: 15px;
  letter-spacing: .4px;
}

/* Mobile hero titles: below ~600px the base 34px floor + 8.4px tracking makes
   long single words ("TELEVISION", "ADVERTISING", "COMMERCIALS") wider than the
   screen, so they broke mid-word. Scale the font + tracking down so each title
   word fits on ONE line, give the hero side padding, and forbid intra-word
   breaks (multi-word titles like "RED CARPET" still wrap between words). */
@media (max-width: 600px) {
  .page-hero { padding-left: 18px; padding-right: 18px; }
  .section-title {
    font-size: clamp(23px, 6.4vw, 36px);
    letter-spacing: clamp(1.5px, 0.7vw, 5px);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  .section-subtitle { padding-left: 18px; padding-right: 18px; }
}

/* Generic section spacing */
.section { padding: 56px 0 90px; }
.section-tight { padding: 40px 0; }

/* ============================================================================
   PORTFOLIO GRID  (2-col square tiles, Helvetica space-separated labels)
   ============================================================================ */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: var(--grid-max);
  margin: 0 auto;
}
.portfolio-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
}
.portfolio-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.portfolio-tile:hover img { transform: scale(1.04); }
.portfolio-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  transition: background .3s ease;
}
.portfolio-tile:hover::after { background: rgba(0, 0, 0, 0.42); }
.portfolio-label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 18px;
  font-family: var(--font-label);
  font-weight: 400;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 24px;
  /* literal spaces between letters are authored in the HTML; this keeps them airy */
  letter-spacing: 1px;
}

/* ============================================================================
   BIOGRAPHY
   ============================================================================ */

.lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-serif);
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.5;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.about-title {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--text-serif);
  text-transform: uppercase;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 4px;
  margin-bottom: 10px;
}
.eyebrow {
  display: block;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.divider-left {
  width: 54px;
  height: 1px;
  background: var(--accent);
  margin: 0 0 22px;
}
.about-body p { color: var(--text); font-weight: 400; }

.feature-block {
  max-width: 860px;
  margin: 72px auto 0;
  text-align: center;
  padding-top: 48px;
  border-top: 1px solid var(--line-soft);
}
/* Look Good Feel Better charity logo (Laura volunteers; WIX biography) */
.lgfb-logo {
  width: min(340px, 78%);
  height: auto;
  margin: 0 auto 26px;
}
.feature-block h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--text-serif);
  text-transform: uppercase;
  font-size: clamp(20px, 2.6vw, 28px);
  letter-spacing: 3px;
  margin-bottom: 18px;
}
.inline-link {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  font-family: var(--font-label);
  letter-spacing: 1px;
  font-size: 14px;
  text-transform: uppercase;
}
.inline-link:hover { color: var(--link-active); border-color: var(--link-active); }

/* ============================================================================
   COMMERCIALS  (showreel embed + grid)
   ============================================================================ */

.showreel {
  max-width: 960px;
  margin: 0 auto 64px;
  text-align: center;
}
.showreel-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #efefef;
  border: 1px solid var(--line-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.showreel-frame iframe { width: 100%; height: 100%; border: 0; }
.showreel-placeholder {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  color: var(--text-muted);
}
.commercials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--grid-max);
  margin: 0 auto;
}
.commercials-grid .portfolio-tile { aspect-ratio: 4 / 3; }

/* ============================================================================
   AWARDS
   ============================================================================ */

.awards-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.award-row {
  text-align: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-soft);
}
.award-row:first-child { border-top: 1px solid var(--line-soft); }
.award-title {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--text-serif);
  font-size: clamp(19px, 2.4vw, 24px);
  letter-spacing: 1.5px;
}
.award-meta {
  margin-top: 6px;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--text-muted);
}
.featured-in {
  max-width: var(--grid-max);   /* match the awards photo gallery width */
  margin: 84px auto 0;
  text-align: center;
  padding-top: 52px;
  border-top: 1px solid var(--line-soft);
}
.featured-intro { color: var(--text-muted); max-width: 620px; margin: 12px auto 34px; }

/* As-featured-in: continuous black band of equal-height logo tiles, auto-scrolling */
.logo-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #000000;
  border-radius: 4px;
}
.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logo-scroll 40s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-chip {
  height: 64px;
  width: auto;
  display: block;
  flex: 0 0 auto;
}
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================================
   CURRICULUM  (Playfair sub-headings + Helvetica comma lists)
   ============================================================================ */

.cv-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 56px;
}
.cv-section {
  max-width: 980px;
  margin: 0 auto 48px;
  text-align: center;
}
.cv-section h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--text-serif);
  text-transform: uppercase;
  font-size: clamp(20px, 2.6vw, 28px);
  letter-spacing: 4px;
  margin-bottom: 18px;
}
.cv-list {
  font-family: var(--font-body);
  color: var(--text);
  font-size: 16px;
  line-height: 1.95;
  font-weight: 400;
}
.cv-note {
  text-align: center;
  margin-top: 28px;
  font-style: italic;
  color: var(--text-muted);
  font-size: 14px;
}

/* ============================================================================
   GET IN TOUCH  (contact details + form)
   ============================================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: start;
}
.contact-info h2,
.contact-form-card h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--text-serif);
  text-transform: uppercase;
  font-size: clamp(22px, 2.8vw, 30px);
  letter-spacing: 3px;
  margin-bottom: 24px;
}
.contact-line { margin-bottom: 20px; }
.contact-line .label {
  display: block;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-line a, .contact-line span.value {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text);
}
.contact-line a:hover { color: var(--link-active); }
.contact-social {
  display: flex;
  gap: 18px;
  margin-top: 26px;
}
.contact-social a { color: var(--text-serif); }
.contact-social a:hover { color: var(--link-active); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 16px;
  width: 100%;
  outline: none;
  transition: border-color .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.cf-hp { position: absolute; left: -9999px; opacity: 0; }
.cf-submit {
  align-self: flex-start;
  font-family: var(--font-serif);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 15px;
  color: #0a0a0a;
  background: transparent;
  border: 1px solid var(--accent);
  padding: 14px 38px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.cf-submit:hover { background: var(--accent); color: #ffffff; }
.cf-submit:disabled { opacity: .6; cursor: default; }
.cf-status { font-size: 14px; margin-top: 4px; }
.cf-err { color: #b3261e; }
.cf-thanks {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-serif);
  font-size: 19px;
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 30px;
  text-align: center;
}
.footer-logo-mark {
  display: inline-block;
  font-family: var(--font-display);
  letter-spacing: 6px;
  font-size: 26px;
  color: var(--text-serif);
  text-transform: uppercase;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 24px 0 22px;
}
.footer-social a { color: var(--text-serif); transition: color .2s ease; }
.footer-social a:hover { color: var(--link-active); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-muted);
}
.footer-contact a:hover { color: var(--link-active); }
.footer-shop-link {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
}
.footer-shop-link:hover { color: var(--link-active); border-color: var(--link-active); }
.footer-copyright {
  margin-top: 30px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .5px;
  color: var(--text-muted);
}

/* ============================================================================
   CATEGORY GALLERY  (per-category masonry of real images + back link + empty state)
   Each .g-item is the [data-lightbox] wrapper so the shared lightbox picks it up.
   ============================================================================ */

.gallery-back {
  text-align: center;
  margin: -8px 0 30px;
}
.gallery-back a {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--text-muted);
}
.gallery-back a:hover { color: var(--link-active); }

/* True masonry via CSS columns: portrait + landscape stills sit flush, ~12px gaps. */
.gallery-grid {
  max-width: var(--grid-max);
  margin: 0 auto;
  column-count: 3;
  column-gap: 12px;
}
.g-item {
  position: relative;
  margin: 0 0 12px;
  overflow: hidden;
  cursor: zoom-in;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  background: var(--bg-soft);
}
.g-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .6s ease, opacity .3s ease;
}
.g-item:hover img { transform: scale(1.03); }
.g-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background .3s ease;
  pointer-events: none;
}
.g-item:hover::after { background: rgba(0, 0, 0, 0.12); }

/* Empty state (Wedding, Celebrity until images supplied) */
.gallery-empty {
  text-align: center;
  margin-top: 26px;
}
.gallery-empty .gallery-grid .g-item {
  aspect-ratio: 4 / 5;
  cursor: default;
}
.gallery-empty .gallery-grid .g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
}
.gallery-empty .g-item:hover img { transform: none; }
.gallery-empty .g-item:hover::after { background: rgba(0, 0, 0, 0); }
.gallery-empty-note {
  margin-top: 28px;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================================
   LIGHTBOX  (shared markup lives in scripts partial; only opens on [data-lightbox])
   ============================================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(8, 8, 8, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-figure {
  margin: 0;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
}
.lightbox-caption {
  margin-top: 14px;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: none;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  opacity: .85;
  transition: opacity .2s ease;
  padding: 8px;
}
.lightbox-close:hover,
.lightbox-nav:hover { opacity: 1; }
.lightbox-close { top: 24px; right: 28px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ============================================================================
   BACK TO TOP
   ============================================================================ */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text-serif);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
  z-index: 900;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 980px) {
  .hero-bg { object-position: 68% 35%; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .commercials-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-logos { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { column-count: 2; }        /* tablet: 2 columns */
}

@media (max-width: 768px) {
  :root { --nav-h: 72px; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 24px; }
  .nav-social { display: none; }            /* keep bar clean on mobile; socials live in footer */
  .portfolio-label { font-size: 20px; }
  /* full-bleed logo strip on mobile (edge to edge) */
  .logo-marquee { width: 100vw; left: 50%; margin-left: -50vw; border-radius: 0; }
}

@media (max-width: 560px) {
  .commercials-grid { grid-template-columns: 1fr; }
  .featured-logos { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 20px; }
  .gallery-grid { column-count: 1; }        /* mobile: single column */
}

/* ============================================================================
   COMMERCIALS VIDEO SLIDER (YouTube embeds, AI-editable iframe src)
   ============================================================================ */
.video-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: var(--grid-max);
  margin: 0 auto;
}
.vs-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.vs-track::-webkit-scrollbar { display: none; }
.vs-slide {
  flex: 0 0 clamp(280px, 72vw, 760px);
  scroll-snap-align: center;
}
.vs-slide iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 6px;
  display: block;
  background: #000;
}
.vs-arrow {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: #fff;
  color: var(--text-serif);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vs-arrow:hover { background: var(--text-serif); color: #fff; }
@media (max-width: 768px) {
  .vs-arrow { display: none; }            /* swipe on touch */
  .vs-slide { flex-basis: 88vw; }
}
