/* ===========================================================
   Theron's Photography — demo site
   Built off the Euphoria Photography template ("The Set Change").
   Signature move: an occasion switcher that crossfades the hero
   photo + the page's whole accent theme at once, mirroring the
   studio building a different setup for every kind of shoot.
   Palette + logo reworked to Theron's own brand (ivory / espresso
   / garnet-red / gold, script "Theron's" wordmark).
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Gloock&family=Onest:wght@400;500;600;700;800&family=Parisienne&family=Cinzel:wght@400;500&display=swap');

/* animatable colour custom properties — lets the browser interpolate
   the whole theme on "The Set Change" instead of hard-cutting it */
@property --accent      { syntax: '<color>'; inherits: true; initial-value: #8E2434; }
@property --accent-2    { syntax: '<color>'; inherits: true; initial-value: #B08A3E; }
@property --accent-soft { syntax: '<color>'; inherits: true; initial-value: #F1E6DE; }

:root {
  /* base palette — warm ivory, not on the ledger */
  --paper:      #F7F3EC;
  --paper-alt:  #EFE7D9;
  --surface:    #FFFFFF;
  --ink:        #221B18;
  --ink-soft:   #574C45;
  --ink-mute:   #8A7F74;
  --line:       #E4DAC9;

  --brand:      #8E2434;   /* garnet — from the studio's own "open" red, deepened for contrast on cream */
  --brand-ink:  #6E1C29;
  --gold:       #B08A3E;

  /* seed + derived — overridden per occasion below */
  --accent:      #8E2434;
  --accent-2:    #B08A3E;
  --accent-soft: #F1E6DE;

  --whatsapp: #25D366;
  --whatsapp-hover: #1Fb455;
  --whatsapp-ink: #0B1F14;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --maxw: 1180px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --set-change-duration: 450ms;
}

/* ---------- per-occasion theme tokens ---------- */
body[data-occasion="milestone"] {
  --accent: #1E6F5B;      /* emerald — her signature satin milestone shoots */
  --accent-2: #B08A3E;
  --accent-soft: #E3EDE8;
}
body[data-occasion="cake-smash"] {
  --accent: #C9738D;      /* blush */
  --accent-2: #E3B871;
  --accent-soft: #F8E9EE;
}
body[data-occasion="maternity"] {
  --accent: #6E8DA3;      /* dusty blue — her beach maternity work */
  --accent-2: #C3B096;
  --accent-soft: #E9EFF3;
}
body[data-occasion="family"] {
  --accent: #BE7538;      /* warm ochre — 70th / party balloons */
  --accent-2: #2E4A63;
  --accent-soft: #F4E7D8;
}

@media (prefers-reduced-motion: no-preference) {
  body {
    transition:
      --accent var(--set-change-duration) ease-out,
      --accent-2 var(--set-change-duration) ease-out,
      --accent-soft var(--set-change-duration) ease-out;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: 'Gloock', 'Iowan Old Style', Georgia, serif;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- logo (recreated Theron's Photography wordmark) ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.logo .logo-script {
  font-family: 'Parisienne', 'Snell Roundhand', cursive;
  font-size: 30px;
  line-height: 1;
  color: var(--ink);
  transform: translateY(-2px);
}
.logo .logo-cam { width: 21px; height: 21px; color: var(--ink); flex-shrink: 0; }
.logo .logo-word {
  font-family: 'Cinzel', 'Trajan Pro', Georgia, serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.30em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
@media (max-width: 420px) {
  .logo .logo-script { font-size: 25px; }
  .logo .logo-word { font-size: 9.5px; letter-spacing: 0.22em; }
  .logo .logo-cam { width: 18px; height: 18px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: 'Onest', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  min-height: 46px;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-sm { padding: 10px 18px; font-size: 14px; min-height: 40px; }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(37,211,102,0.6);
}
.btn-whatsapp:hover { background: var(--whatsapp-hover); box-shadow: 0 14px 30px -12px rgba(37,211,102,0.7); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- header ---------- */
header.top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247,243,236,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
nav.primary-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  margin-left: auto;
  margin-right: 8px;
}
nav.primary-nav a { text-decoration: none; color: var(--ink-soft); transition: color 150ms; }
nav.primary-nav a:hover { color: var(--ink); }
header.top .btn { flex-shrink: 0; }

/* ---------- hamburger + mobile menu ---------- */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0; border: none; background: transparent;
  color: var(--ink); cursor: pointer; flex-shrink: 0;
  margin-left: auto;
}
.menu-toggle svg { width: 24px; height: 24px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transform: translateY(-100%);
  transition: transform 300ms var(--ease-out);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.mobile-menu nav a { font-family: 'Gloock', serif; font-size: 28px; color: var(--ink); text-decoration: none; }
.mobile-menu-foot {
  position: absolute; bottom: 32px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-mute);
}
.menu-close {
  position: absolute; top: 18px; right: 18px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent; color: var(--ink); cursor: pointer;
}
.menu-close svg { width: 24px; height: 24px; }

@media (max-width: 860px) {
  nav.primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 720px) { header.top .btn { display: none; } }
@media (min-width: 861px) { .mobile-menu { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 26px 0 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 58px;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { order: 1; }
  .hero-copy { order: 2; }
}
@media (min-width: 961px) {
  .hero-visual { display: flex; justify-content: flex-end; }
  .set-stage { width: 100%; max-width: 430px; }
}

.hero-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 18px;
}
.hero-copy h1 {
  font-size: clamp(33px, 4.6vw, 53px);
  line-height: 1.08;
  max-width: 15ch;
  margin-bottom: 20px;
}
.hero-copy p.lede {
  font-size: 18px; color: var(--ink-soft);
  max-width: 44ch; margin: 0 0 28px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink-soft);
}
.hero-trust .stars { display: flex; gap: 2px; color: var(--gold); }
.hero-trust .stars svg { width: 15px; height: 15px; }
@media (max-width: 960px) { .hero-trust { display: none; } }

/* ---------- the set change ---------- */
.set-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-alt);
  box-shadow: 0 30px 60px -30px rgba(34,27,24,0.4);
}
.set-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; z-index: 0;
  transition: opacity var(--set-change-duration) ease-out;
  will-change: opacity;
}
.set-photo.is-active { opacity: 1; }

.set-scrim {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 60%; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(10,8,6,0.78) 0%, rgba(10,8,6,0.4) 48%, rgba(10,8,6,0) 100%);
}
.set-stage::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.set-caption {
  position: absolute; left: 20px; right: 20px; bottom: 84px;
  z-index: 2; color: #fff;
  font-size: 15px; font-weight: 600;
  -webkit-text-stroke: 0.5px rgba(0,0,0,0.5);
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 4px 16px rgba(0,0,0,0.5);
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--set-change-duration) ease-out, transform var(--set-change-duration) ease-out;
}
.set-caption.is-active { opacity: 1; transform: translateY(0); }

.set-switcher {
  position: absolute; z-index: 2;
  left: 12px; right: 12px; bottom: 14px;
  display: flex; gap: 4px; padding: 5px;
  border-radius: 100px;
  background: rgba(255,255,255,0.74);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 10px 30px -12px rgba(34,27,24,0.45);
  overflow-x: auto; scrollbar-width: none;
}
.set-switcher::-webkit-scrollbar { display: none; }
.set-switcher button {
  flex: 1 0 auto; scroll-snap-align: start;
  border: none; background: transparent;
  font-family: 'Onest', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--ink-soft);
  padding: 10px 13px; min-height: 44px;
  border-radius: 100px; cursor: pointer;
  white-space: nowrap;
  transition: color 200ms, background-color 200ms;
}
.set-switcher button.is-active {
  color: #fff;
  background: var(--accent);
  transition: color 200ms, background-color var(--set-change-duration) ease-out;
}
@media (max-width: 480px) {
  .set-switcher { overflow-x: scroll; scroll-snap-type: x mandatory; justify-content: flex-start; }
  .set-switcher button { flex: 0 0 auto; }
}

/* ---------- section shell ---------- */
section { padding: 82px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 42px; }
.section-head .eyebrow-plain {
  display: block; font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 13px;
}
.section-head h2 { font-size: clamp(27px, 3.4vw, 37px); margin-bottom: 13px; }
.section-head p { color: var(--ink-soft); font-size: 17px; max-width: 52ch; margin: 0 auto; }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 28px; } }
.about-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 50px -28px rgba(34,27,24,0.35);
  aspect-ratio: 4/5;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-body .eyebrow-plain {
  display: block; font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 13px;
}
.about-body h2 { font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 16px; }
.about-body p { color: var(--ink-soft); margin: 0 0 16px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.about-tags span {
  font-size: 13px; font-weight: 600;
  padding: 7px 14px; border-radius: 100px;
  background: var(--accent-soft); color: var(--ink);
  border: 1px solid var(--line);
}

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-grid img {
  width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--radius-sm); cursor: pointer;
  transition: transform 400ms var(--ease-out);
}
.gallery-grid img:hover { transform: scale(1.03); }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

.gallery-more { text-align: center; margin-top: 34px; }
.gallery-more-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.gallery-more-links a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  border: 1px solid var(--line); border-radius: 100px;
  padding: 10px 18px; text-decoration: none;
  transition: border-color 200ms, background-color 200ms;
}
.gallery-more-links a:hover { border-color: var(--ink); background: var(--surface); }
.gallery-more-links svg { width: 17px; height: 17px; flex-shrink: 0; }

/* ---------- trust band (honest — real Facebook figure, no invented quotes) ---------- */
.trust-band { background: var(--paper-alt); text-align: center; }
.trust-inner { max-width: 620px; margin: 0 auto; }
.trust-stars { display: flex; justify-content: center; gap: 4px; color: var(--gold); margin-bottom: 18px; }
.trust-stars svg { width: 22px; height: 22px; }
.trust-band .big {
  font-family: 'Gloock', serif;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.25;
  margin: 0 0 14px;
}
.trust-band p { color: var(--ink-soft); margin: 0 0 22px; }
.trust-band a.trust-link {
  font-weight: 600; color: var(--ink);
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--line);
}
.trust-band a.trust-link:hover { text-decoration-color: var(--ink); }

/* ---------- find the studio ---------- */
.studio-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: stretch; }
@media (max-width: 860px) { .studio-grid { grid-template-columns: 1fr; } }
.studio-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 32px;
}
.studio-card h3 { font-size: 20px; margin-bottom: 18px; }
.studio-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0; border-top: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink-soft);
}
.studio-row:first-of-type { border-top: 0; padding-top: 0; }
.studio-row svg { width: 19px; height: 19px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.studio-row strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.studio-row a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); }
.studio-map {
  border-radius: var(--radius-md); overflow: hidden;
  min-height: 300px; border: 1px solid var(--line);
}
.studio-map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* ---------- book (glass CTA card) ---------- */
.book-section { text-align: center; }
.book-glass {
  max-width: 620px; margin: 0 auto;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--radius-lg);
  padding: 54px 44px;
  box-shadow: 0 30px 60px -30px rgba(34,27,24,0.28);
}
.book-glass .eyebrow-plain {
  display: block; font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 10px;
}
.book-glass h2 { margin: 6px 0 14px; }
.book-glass p { color: var(--ink-soft); margin: 0 0 26px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 20px 24px;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; font-size: 16px; color: var(--ink);
  list-style: none; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 22px; color: var(--brand);
  font-weight: 400; flex-shrink: 0;
  transition: transform 200ms ease-out;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 14px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 54px 0 38px; background: var(--paper-alt); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 34px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo { margin-bottom: 12px; }
.footer-note { font-size: 14px; color: var(--ink-soft); max-width: 30ch; margin: 0; }
.footer-col .k {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink); font-weight: 700; margin-bottom: 10px;
}
.footer-col .v { font-size: 15px; color: var(--ink-soft); margin-bottom: 8px; }
.footer-col .v a { color: var(--ink-soft); text-decoration: none; }
.footer-col .v a:hover { color: var(--ink); }
.foot-fine {
  font-size: 13px; color: var(--ink-mute); text-align: center;
  padding-top: 24px; border-top: 1px solid var(--line); margin: 0;
}
.foot-fine a { color: var(--ink-mute); text-decoration: underline; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16,12,10,0.92);
  opacity: 0; visibility: hidden;
  transition: opacity 250ms ease-out;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: 86vw; max-height: 82vh; object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.3); border-radius: 50%;
  background: rgba(15,12,10,0.6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; cursor: pointer; transition: background-color 200ms;
}
.lightbox-close { top: 18px; right: 18px; width: 44px; height: 44px; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(15,12,10,0.85); }
.lightbox-close svg { width: 20px; height: 20px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }
.lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
@media (max-width: 640px) {
  .lightbox-img { max-width: 92vw; max-height: 74vh; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
}

/* ---------- focus states ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
