/* =========================================================
   PHOTOS BY MADEEHA — Shared Design System
   Warm, feminine, editorial. Light theme only.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --cream:      #FAF6F0;
  --blush:      #F4E7E0;
  --rose:       #E0A18F;
  --deep-rose:  #CE8B79;
  --gold:       #D9B25A;
  --ink:        #463E38;
  --ink-soft:   #8C8079;
  --white:      #FFFFFF;

  --rose-tint:  rgba(224, 161, 143, 0.12);
  --gold-line:  rgba(217, 178, 90, 0.55);
  --ink-line:   rgba(70, 62, 56, 0.12);

  --shadow-sm:  0 6px 20px rgba(70, 62, 56, 0.06);
  --shadow-md:  0 16px 40px rgba(70, 62, 56, 0.10);
  --shadow-lg:  0 30px 70px rgba(70, 62, 56, 0.14);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-label:   "Jost", system-ui, sans-serif;
  --font-body:    "Jost", system-ui, sans-serif;
  --font-script:  "Dancing Script", cursive;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; color: var(--ink); }
.display-xl { font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 300; letter-spacing: -0.01em; }
.display-lg { font-size: clamp(2.4rem, 5.5vw, 4.25rem); font-weight: 300; }
.display-md { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 400; }
.display-sm { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; }

.script { font-family: var(--font-script); color: var(--rose); font-weight: 600; line-height: 1; }

.eyebrow {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
}
.eyebrow.rose { color: var(--deep-rose); }
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: currentColor;
  opacity: 0.8;
}
.eyebrow.center::after {
  content: "";
  width: 34px; height: 1px;
  background: currentColor;
  opacity: 0.8;
}
.eyebrow.center { justify-content: center; }
.eyebrow.no-line::before, .eyebrow.no-line::after { display: none; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.75;
  font-weight: 300;
  max-width: 56ch;
}
.muted { color: var(--ink-soft); }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 880px; }
.section { padding-block: clamp(72px, 11vw, 150px); }
.section-sm { padding-block: clamp(54px, 7vw, 96px); }
.bg-blush { background: var(--blush); }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }

.section-head { max-width: 680px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 { margin-bottom: 20px; }

.hairline { height: 1px; background: var(--gold-line); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 500;
  padding: 1.05em 2em;
  border-radius: 40px;
  transition: transform .4s var(--ease), background-color .4s var(--ease),
              box-shadow .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  will-change: transform;
}
.btn .ar { transition: transform .4s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }

.btn-primary {
  background: var(--rose);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(224, 161, 143, 0.35);
}
.btn-primary:hover { background: var(--deep-rose); transform: translateY(-3px); box-shadow: 0 18px 34px rgba(206, 139, 121, 0.42); }
.btn-primary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink-line);
}
.btn-ghost:hover { border-color: var(--rose); color: var(--deep-rose); transform: translateY(-3px); }
.btn-ghost:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

.btn-light {
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(4px);
}
.btn-light:hover { background: var(--white); color: var(--ink); transform: translateY(-3px); }

.link-underline {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--deep-rose);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding-bottom: 4px;
  position: relative;
}
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); }
.link-underline .ar { transition: transform .4s var(--ease); }
.link-underline:hover .ar { transform: translateX(4px); }

/* ---------- Placeholder imagery ---------- */
/* Toned, brand-coloured placeholder until Madeeha's real photos drop in. */
.ph {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.5) 0 2px,
      transparent 2px 22px),
    linear-gradient(150deg, var(--blush), #e7d3c8 60%, #dcc0b4);
  color: var(--ink-soft);
}
.ph.alt { background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.5) 0 2px, transparent 2px 22px),
    linear-gradient(150deg, #f0ddd4, #e3c9bf 55%, #d8b3a4); }
.ph.deep { background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.4) 0 2px, transparent 2px 22px),
    linear-gradient(150deg, #e7c9bc, var(--rose) 70%, var(--deep-rose)); color: #fff7f3; }
.ph.gold { background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.45) 0 2px, transparent 2px 22px),
    linear-gradient(150deg, #f1e6cf, #e6d3a4 60%, var(--gold)); }
.ph-tag {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.5em 0.9em;
  border: 1px dashed currentColor;
  border-radius: 6px;
  background: rgba(255,255,255,0.28);
  max-width: 80%;
  line-height: 1.4;
}
.ph-cam {
  position: absolute; left: 50%; top: calc(50% - 34px);
  transform: translate(-50%, -50%);
  width: 30px; height: 30px; opacity: 0.55;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.card-img { position: relative; overflow: hidden; }
.card-img .ph, .card-img img { transition: transform .8s var(--ease); }
.card:hover .card-img .ph, .card:hover .card-img img { transform: scale(1.06); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), height .4s var(--ease);
}
.site-header.solid {
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--ink-line), var(--shadow-sm);
  height: 70px;
}
.header-inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* logo lockup (real logo image) */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 58px; width: auto; display: block; }
.site-header.solid .logo-img { height: 50px; }
.footer-brand .logo-img { height: 76px; }
@media (max-width: 980px) { .logo-img { height: 46px; } }
.logo .mark { width: 34px; height: 34px; flex: none; color: var(--rose); }
.logo .wordmark { display: flex; flex-direction: column; line-height: 1; }
.logo .wm-top { font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.42em;
  font-size: 0.56rem; font-weight: 500; color: var(--ink-soft); padding-left: 2px; }
.logo .wm-name { font-family: var(--font-script); font-size: 1.55rem; color: var(--rose); font-weight: 600; }
.site-header.over .wm-top { color: rgba(255,255,255,0.85); }
.site-header.over .wm-name { color: #fff; }
.site-header.over .mark { color: #fff; }

.nav { display: flex; align-items: center; gap: 38px; }
.nav a {
  font-family: var(--font-label);
  text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.74rem; font-weight: 400; color: var(--ink);
  position: relative; padding: 6px 0;
  transition: color .35s var(--ease);
}
.site-header.over .nav a { color: rgba(255,255,255,0.92); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:hover { color: var(--deep-rose); }
.site-header.over .nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: var(--deep-rose); }
.site-header.over .nav a[aria-current="page"] { color: #fff; }

.header-cta { display: flex; align-items: center; gap: 18px; }
.hamburger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
.site-header.over .hamburger span { background: #fff; }

/* mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 110; background: rgba(70,62,56,0.4);
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
  backdrop-filter: blur(2px);
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 120; height: 100%;
  width: min(360px, 86vw); background: var(--cream);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .5s var(--ease);
  display: flex; flex-direction: column; padding: 30px 32px;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.drawer-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--ink); }
.drawer nav { display: flex; flex-direction: column; gap: 4px; }
.drawer nav a {
  font-family: var(--font-display); font-size: 1.7rem; color: var(--ink);
  padding: 12px 0; border-bottom: 1px solid var(--ink-line);
  transition: color .3s, padding-left .3s var(--ease);
}
.drawer nav a:hover { color: var(--deep-rose); padding-left: 8px; }
.drawer .btn { margin-top: 30px; justify-content: center; }
.drawer-foot { margin-top: auto; font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .ph { position: absolute; inset: -4% ; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(70,62,56,0.45) 0%, rgba(70,62,56,0.2) 40%, rgba(70,62,56,0.55) 100%);
}
.hero-content { position: relative; z-index: 2; padding-block: var(--header-h); }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,0.88); }

/* Ken Burns */
@media (prefers-reduced-motion: no-preference) {
  .kenburns { animation: kenburns 22s ease-out forwards; }
  @keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1.0); } }
}

/* ---------- Page hero (interior) ---------- */
.page-hero { padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(40px, 6vw, 80px); }
.page-hero .eyebrow { margin-bottom: 22px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 4vw, 50px); }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 300; color: var(--deep-rose); line-height: 1; }
.stat .label { font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.7rem; color: var(--ink-soft); margin-top: 12px; }

/* ---------- Testimonials ---------- */
.testi { position: relative; }
.testi-track { position: relative; display: grid; }
.testi-slide {
  grid-area: 1 / 1; opacity: 0; transform: translateY(12px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  pointer-events: none; text-align: center; display: flex; flex-direction: column; align-items: center;
}
.testi-slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.testi-quote { font-family: var(--font-display); font-weight: 300; font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.45; color: var(--ink); max-width: 40ch; }
.testi-name { font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.72rem; color: var(--deep-rose); margin-top: 26px; }
.testi-role { color: var(--ink-soft); font-size: 0.92rem; margin-top: 4px; }
.testi-dots { display: flex; gap: 10px; justify-content: center; margin-top: 40px; }
.testi-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-line); transition: background .3s, transform .3s; }
.testi-dots button.active { background: var(--rose); transform: scale(1.25); }
.quote-mark { font-family: var(--font-display); font-size: 4rem; color: var(--gold); line-height: 0.6; opacity: 0.6; margin-bottom: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: #efe3da; color: var(--ink); padding-top: clamp(64px, 8vw, 100px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 60px; }
.footer-brand .logo { margin-bottom: 22px; }
.footer-brand p { color: var(--ink-soft); max-width: 30ch; font-size: 0.95rem; }
.footer-col h4 { font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.72rem; font-weight: 500; color: var(--ink); margin-bottom: 22px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { color: var(--ink-soft); font-size: 0.95rem; transition: color .3s; }
.footer-col a:hover { color: var(--deep-rose); }
.footer-social { display: flex; gap: 14px; margin-top: 6px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink-line); display: flex; align-items: center; justify-content: center; transition: all .35s var(--ease); }
.footer-social a:hover { border-color: var(--rose); background: var(--rose); color: #fff; transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid var(--ink-line); padding-block: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: var(--ink-soft); }
.footer-bottom a { color: var(--deep-rose); }

/* ---------- Floating actions ---------- */
.floats { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.fab {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: transform .4s var(--ease), background-color .3s, opacity .4s, visibility .4s;
}
.fab svg { width: 26px; height: 26px; }
.fab-wa { background: #25D366; color: #fff; }
.fab-wa:hover { transform: scale(1.08) translateY(-2px); }
.fab-top { background: var(--white); color: var(--ink); border: 1px solid var(--ink-line); width: 46px; height: 46px;
  opacity: 0; visibility: hidden; }
.fab-top.show { opacity: 1; visibility: visible; }
.fab-top:hover { transform: translateY(-3px); color: var(--deep-rose); }
.fab-top svg { width: 18px; height: 18px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(54,48,43,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); padding: 4vw; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-stage { position: relative; max-width: 1000px; width: 100%; }
.lightbox-figure { aspect-ratio: 3/2; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-lg); }
.lightbox-cap { color: rgba(255,255,255,0.8); text-align: center; margin-top: 18px; font-size: 0.9rem; font-family: var(--font-label); letter-spacing: 0.06em; }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.3); transition: background .3s; }
.lb-btn:hover { background: rgba(255,255,255,0.25); }
.lb-prev { left: -72px; } .lb-next { right: -72px; }
.lb-close { position: absolute; top: -54px; right: 0; width: 44px; height: 44px; color: #fff; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) { .lb-prev { left: 8px; } .lb-next { right: 8px; } .lb-btn { width: 44px; height: 44px; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Utilities ---------- */
.grid { display: grid; gap: clamp(20px, 3vw, 34px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.center { text-align: center; }
.mt-s { margin-top: 18px; } .mt-m { margin-top: 30px; } .mt-l { margin-top: 48px; }
.flex-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.flex-cta.center { justify-content: center; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 999; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--deep-rose); outline-offset: 3px; }

.replace-note { font-family: ui-monospace, Menlo, monospace; font-size: 0.72rem; color: var(--gold); background: rgba(217,178,90,0.12); border: 1px dashed var(--gold-line); border-radius: 5px; padding: 2px 7px; display: inline-block; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav, .header-cta .btn { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .split { grid-template-columns: 1fr; }
  .cols-3, .cols-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}
