/*
  CLIENT: Freshh Family Salon & Spa
  TYPE: Local salon / spa (Coimbatore, est. 2011)
  ART DIRECTION: "Porcelain Bloom" — pulled directly from their real brand colours (peach/pink/blue
                 from the Freshh wordmark) and elevated. A porcelain-white base whispered with peach,
                 lipstick-rose primary, muted Aegean-blue secondary, deep aubergine text, burnished
                 gold for the smallest jewellery-touch accents. The result is rare — most salon sites
                 land on cream-sage-terracotta. This sits unmistakably on its own.
  PALETTE: Porcelain base / Rose primary / Aegean blue secondary / Aubergine text / Burnished gold
  TYPOGRAPHY: Boska (display) + General Sans (body) + Instrument Serif (italic flourishes)
  DENSITY: Spacious-editorial
  MOOD KEYWORDS: porcelain, blossom, jewellery, modern feminine, premium, magazine-editorial
*/

/* ============ TOKENS ============ */
:root {
  /* LIGHT (default) — Porcelain Bloom */
  --color-bg:           oklch(98.6% 0.006 28);   /* porcelain — white with a whisper of peach */
  --color-surface:      oklch(97.4% 0.011 22);   /* paper-petal */
  --color-surface-2:    oklch(94.5% 0.018 20);   /* soft blush */
  --color-surface-deep: oklch(90% 0.025 18);     /* warm wash, for variety */
  --color-text:         oklch(22% 0.045 340);    /* deep aubergine — luxurious, never harsh black */
  --color-text-muted:   oklch(48% 0.035 340);    /* dusty plum */
  --color-line:         oklch(88% 0.020 20);     /* warm hairline */
  --color-primary:      oklch(58% 0.150 8);      /* refined rose — lipstick, peony, not hot pink */
  --color-primary-hover:oklch(50% 0.165 6);
  --color-primary-soft: oklch(92% 0.055 10);
  --color-secondary:    oklch(52% 0.105 235);    /* Aegean blue — Mediterranean water */
  --color-secondary-soft: oklch(90% 0.045 230);
  --color-accent:       oklch(58% 0.150 8);      /* alias to rose */
  --color-accent-soft:  oklch(92% 0.055 10);
  --color-gold:         oklch(72% 0.125 78);     /* burnished, jewellery-warmth */

  --font-display: 'Boska', 'Instrument Serif', Georgia, serif;
  --font-italic:  'Instrument Serif', 'Boska', Georgia, serif;
  --font-body:    'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --fs-12: 12px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-20: clamp(18px, 1.6vw, 20px);
  --fs-h3: clamp(22px, 2.2vw, 28px);
  --fs-h2: clamp(34px, 5vw, 64px);
  --fs-h1: clamp(44px, 7.5vw, 110px);
  --fs-eyebrow: 12px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  --shadow-sm: 0 1px 2px rgba(34, 50, 40, 0.04), 0 2px 8px rgba(34, 50, 40, 0.04);
  --shadow-md: 0 8px 24px rgba(34, 50, 40, 0.08), 0 2px 6px rgba(34, 50, 40, 0.04);
  --shadow-lg: 0 24px 60px rgba(34, 50, 40, 0.14);

  --t-fast: 200ms cubic-bezier(.2,.7,.2,1);
  --t-base: 380ms cubic-bezier(.2,.7,.2,1);
  --t-slow: 700ms cubic-bezier(.2,.7,.2,1);

  --container: 1240px;
}

[data-theme="dark"] {
  /* DARK — Aubergine Velvet — feels like a jewellery box, not a forest */
  --color-bg:           oklch(15% 0.028 340);
  --color-surface:      oklch(19% 0.032 340);
  --color-surface-2:    oklch(24% 0.040 340);
  --color-surface-deep: oklch(28% 0.050 340);
  --color-text:         oklch(96% 0.012 22);
  --color-text-muted:   oklch(74% 0.025 20);
  --color-line:         oklch(32% 0.035 340);
  --color-primary:      oklch(78% 0.130 8);      /* soft rose for dark mode */
  --color-primary-hover:oklch(85% 0.110 8);
  --color-primary-soft: oklch(30% 0.080 8);
  --color-secondary:    oklch(72% 0.105 230);
  --color-secondary-soft:oklch(30% 0.070 230);
  --color-accent:       oklch(78% 0.130 8);
  --color-accent-soft:  oklch(30% 0.080 8);
  --color-gold:         oklch(80% 0.130 78);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.25), 0 2px 8px rgba(0,0,0,0.22);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.36);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.50);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
* { margin: 0; padding: 0; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: 1.55;
  color: var(--color-text);
  background:
    radial-gradient(ellipse 1400px 900px at 100% -5%, color-mix(in oklch, var(--color-primary-soft) 55%, transparent), transparent 60%),
    radial-gradient(ellipse 1100px 800px at -5% 35%, color-mix(in oklch, var(--color-primary-soft) 40%, transparent), transparent 60%),
    var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: color var(--t-base);
  position: relative;
}
@media (min-width: 1025px) {
  body { background-attachment: fixed; }
}
/* Subtle paper grain. position:fixed on mobile Safari + overflow:hidden can trigger
   horizontal-scroll bugs — use position:absolute on mobile, fixed only on desktop. */
body::before {
  content: ''; position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.20  0 0 0 0 0.16  0 0 0 0 0.22  0 0 0 0.035 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.6;
  mix-blend-mode: multiply;
}
@media (min-width: 1025px) {
  body::before { position: fixed; }
}
[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: 0.25; }
main, .nav, .footer { position: relative; z-index: 1; }
img, svg, video, iframe { max-width: 100%; display: block; }
section { max-width: 100%; }
.container { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; color: var(--color-text); }
em { font-family: var(--font-italic); font-style: italic; font-weight: 400; }

::selection { background: var(--color-primary); color: var(--color-bg); }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: var(--space-5);
}
.h2 { font-size: var(--fs-h2); letter-spacing: -0.02em; }

.section-head { max-width: 720px; margin-bottom: var(--space-8); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-sub { color: var(--color-text-muted); font-size: var(--fs-18); margin-top: var(--space-4); max-width: 56ch; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  font-size: var(--fs-14); font-weight: 500; letter-spacing: 0.02em;
  border-radius: 999px; min-height: 44px;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap; will-change: transform;
}
.btn--primary { background: var(--color-primary); color: var(--color-bg); }
.btn--primary:hover { background: var(--color-primary-hover); box-shadow: var(--shadow-md); }
.btn--ghost { color: var(--color-text); background: transparent; border: 1px solid var(--color-line); }
.btn--ghost:hover { background: var(--color-surface-2); border-color: var(--color-text); }
.btn--lg { padding: 18px 30px; font-size: var(--fs-16); min-height: 54px; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px 0;
  transition: background var(--t-base), backdrop-filter var(--t-base), padding var(--t-base), border-color var(--t-base);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 12px 0;
  background: color-mix(in oklch, var(--color-bg) 78%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--color-line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.nav__logo { display: flex; align-items: center; gap: 10px; color: var(--color-primary); }
.nav__logo-img {
  height: 46px; width: auto; display: block;
  transition: opacity var(--t-fast);
}
[data-theme="dark"] .nav__logo-img { filter: brightness(0) invert(1) opacity(0.92); }
.nav__links { display: flex; gap: var(--space-6); }
.nav__links a { font-size: var(--fs-14); font-weight: 500; color: var(--color-text); position: relative; padding: 6px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--color-primary); transition: width var(--t-base); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-line);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.theme-toggle:hover { background: var(--color-surface-2); transform: rotate(15deg); }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav__hamburger { display: none; width: 40px; height: 40px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--color-line); }
.nav__hamburger span { width: 16px; height: 1.5px; background: var(--color-text); transition: transform var(--t-fast), opacity var(--t-fast); }
.nav__hamburger.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.is-active span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--color-bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--space-7);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-base);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu__links { display: flex; flex-direction: column; gap: var(--space-5); align-items: center; text-align: center; }
.mobile-menu__links a { font-family: var(--font-display); font-size: 32px; color: var(--color-text); }
.mobile-menu__contact { margin-top: var(--space-7); text-align: center; color: var(--color-text-muted); line-height: 1.7; }
.mobile-menu__contact a { color: var(--color-text); font-weight: 500; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center;
  padding-top: 120px; padding-bottom: 80px;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  background:
    radial-gradient(ellipse 60% 80% at 90% 50%, color-mix(in oklch, var(--color-primary-soft) 55%, transparent), transparent 70%),
    radial-gradient(ellipse 40% 60% at 5% 90%, color-mix(in oklch, var(--color-primary-soft) 30%, transparent), transparent 70%),
    var(--color-bg);
}
.hero__ornament {
  position: absolute; top: 14%; right: 38%; z-index: 0;
  color: var(--color-primary); opacity: 0.5;
  pointer-events: none;
  animation: rotateSlow 60s linear infinite;
}
@keyframes rotateSlow { to { transform: rotate(360deg); } }
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: var(--space-8); align-items: center;
}
.hero__copy { color: var(--color-text); }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-12); text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--color-primary); font-weight: 600;
  padding: 9px 16px 9px 14px; border-radius: 999px;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-6);
}
.hero__eyebrow .dot { width: 7px; height: 7px; background: var(--color-primary); border-radius: 50%; animation: pulse 2.4s infinite; box-shadow: 0 0 0 4px color-mix(in oklch, var(--color-primary) 18%, transparent); }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(46px, 7vw, 96px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.028em;
  margin-bottom: var(--space-6);
  color: var(--color-text);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .word { display: inline-block; }
.hero__title em { color: var(--color-primary); font-style: italic; font-weight: 400; }

.hero__subtitle {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--color-text-muted);
  max-width: 50ch;
  line-height: 1.6;
  margin-bottom: var(--space-7);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-8); }

.hero__strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-line);
  max-width: 560px;
}
.hero__strip > div:not(.div) { display: flex; flex-direction: column; }
.hero__strip strong { font-family: var(--font-display); font-size: 30px; font-weight: 500; color: var(--color-text); line-height: 1; display: inline-flex; align-items: baseline; gap: 2px; }
.hero__strip strong sup { font-size: 16px; color: var(--color-primary); top: -10px; }
.hero__strip strong em { font-style: normal; color: var(--color-gold); font-size: 22px; margin-left: 2px; }
.hero__strip span { font-size: 11px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.14em; margin-top: 6px; }
.hero__strip .div { width: 1px; height: 34px; background: var(--color-line); }

/* The bridal visual on the right — editorial frame.
   Belt-and-suspenders: img tag + background-image fallback on the frame. */
.hero__visual {
  position: relative;
  display: block;
  width: 100%;
  max-width: 480px;
  margin: 0 0 0 auto;
  z-index: 1;
}
.hero__visual-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  /* Fallback for any browser that fails on aspect-ratio */
  min-height: 540px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, transparent 60%, color-mix(in oklch, var(--color-primary) 14%, transparent) 100%),
    url('assets/images/hero-bg.jpg') center/cover no-repeat,
    var(--color-surface-2);
  box-shadow:
    0 50px 100px -20px rgba(70, 30, 50, 0.30),
    0 30px 60px -30px rgba(70, 30, 50, 0.40),
    0 0 0 1px color-mix(in oklch, var(--color-primary) 8%, transparent);
}
@supports (aspect-ratio: 4/5) {
  .hero__visual-frame { min-height: 0; }
}
.hero__visual-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Editorial tag — sits over the bottom-left of the photo */
.hero__visual-tag {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--color-bg);
  padding: 12px 18px;
  border-radius: 14px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-line);
  z-index: 3;
}
.hero__visual-tag-num {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 500;
  color: var(--color-primary);
  line-height: 1;
}
.hero__visual-tag-lbl {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 500;
  color: var(--color-text);
  text-transform: uppercase; letter-spacing: 0.14em;
  border-left: 1px solid var(--color-line);
  padding-left: 14px;
}

/* "Since 2011" badge */
.hero__visual-badge {
  position: absolute; top: -22px; right: -22px;
  width: 96px; height: 96px;
  background: var(--color-text);
  color: var(--color-bg);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 3;
  transform: rotate(8deg);
}
.hero__visual-badge span {
  font-size: 9px; text-transform: uppercase; letter-spacing: 0.22em;
  color: color-mix(in oklch, var(--color-bg) 70%, transparent);
}
.hero__visual-badge strong {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 500;
  margin-top: 2px;
  color: var(--color-bg);
}

.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 40px; border: 1.5px solid var(--color-text-muted); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 6px; z-index: 2;
  opacity: 0.6;
}
.hero__scroll span { width: 3px; height: 8px; background: var(--color-primary); border-radius: 2px; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ============ BRANDS STRIP ============ */
.brands {
  padding: var(--space-7) 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background:
    linear-gradient(180deg, var(--color-surface-2) 0%, var(--color-surface) 100%);
  overflow: hidden;
  position: relative;
}
.brands__track span:nth-child(odd) { color: var(--color-text); }
.brands__track span:nth-child(even) { color: var(--color-primary); font-style: italic; font-family: var(--font-italic); }
.brands__label { text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-text-muted); margin-bottom: var(--space-5); }
.brands__row { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.brands__track { display: flex; gap: var(--space-8); width: max-content; animation: marquee 36s linear infinite; }
.brands__track span { font-family: var(--font-display); font-size: clamp(22px, 2.5vw, 32px); color: var(--color-text-muted); letter-spacing: 0.02em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ ABOUT ============ */
.about { padding: var(--space-10) 0; position: relative; overflow: hidden; }
.about::before {
  content: ''; position: absolute; top: 80px; right: -60px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, color-mix(in oklch, var(--color-primary-soft) 70%, transparent), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.about__grid { position: relative; z-index: 1; }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--space-9);
  align-items: center;
}
.about__media { position: relative; }
.about__img { border-radius: var(--radius-lg); overflow: hidden; position: relative; box-shadow: var(--shadow-md); }
.about__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__img--1 { aspect-ratio: 4/5; }
.about__img--2 { aspect-ratio: 1/1; width: 65%; margin-top: -22%; margin-left: 35%; }
.about__img .caption {
  position: absolute; left: 18px; bottom: 16px;
  font-size: 11px; color: oklch(98% 0.008 22); text-transform: uppercase; letter-spacing: 0.16em;
  background: oklch(22% 0.045 340 / 0.65); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}
.about__badge {
  position: absolute; top: 20px; right: -10px;
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--color-bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md), inset 0 0 0 1px color-mix(in oklch, var(--color-primary) 25%, transparent);
  border: 1px solid var(--color-line);
}
.about__badge .num { font-family: var(--font-display); font-size: 46px; font-weight: 500; line-height: 1; color: var(--color-primary); }
.about__badge .lbl { font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; text-align: center; color: var(--color-text-muted); margin-top: 6px; }

.about__text h2 { margin-bottom: var(--space-5); }
.about__text .lede { font-size: var(--fs-20); line-height: 1.55; margin-bottom: var(--space-4); color: var(--color-text); }
.about__text p { color: var(--color-text-muted); margin-bottom: var(--space-4); }
.about__text strong { color: var(--color-text); font-weight: 600; }
.about__signers { display: flex; gap: var(--space-7); margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--color-line); }
.about__signers > div { display: flex; flex-direction: column; }
.about__signers strong { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.about__signers span { font-size: 12px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.16em; margin-top: 2px; }

/* image placeholders (CSS art until real photos arrive) */
.ph { width: 100%; height: 100%; min-height: 280px; position: relative; }
.ph::before { content: ''; position: absolute; inset: 0; }
.ph--sage { background:
  radial-gradient(ellipse at 30% 30%, oklch(75% 0.05 145), oklch(45% 0.07 145)),
  linear-gradient(135deg, oklch(60% 0.05 145), oklch(35% 0.05 145));
}
.ph--terra { background:
  radial-gradient(ellipse at 70% 70%, oklch(75% 0.10 50), oklch(50% 0.13 45)),
  linear-gradient(135deg, oklch(65% 0.10 45), oklch(45% 0.13 40));
}
.ph--bride { background:
  radial-gradient(ellipse at 40% 30%, oklch(85% 0.04 25), oklch(55% 0.08 25)),
  linear-gradient(160deg, oklch(75% 0.04 30), oklch(40% 0.06 30));
}
.ph--gold { background:
  linear-gradient(135deg, oklch(78% 0.10 80), oklch(55% 0.12 70));
}
.ph--g1 { background: linear-gradient(160deg, oklch(60% 0.06 145), oklch(35% 0.06 145)); }
.ph--g2 { background: linear-gradient(135deg, oklch(85% 0.04 80), oklch(60% 0.08 65)); }
.ph--g3 { background: linear-gradient(150deg, oklch(70% 0.05 30), oklch(45% 0.09 30)); }
.ph--g4 { background: linear-gradient(120deg, oklch(50% 0.06 145), oklch(30% 0.05 145)); }
.ph--g5 { background: linear-gradient(140deg, oklch(80% 0.04 60), oklch(55% 0.07 50)); }
.ph--g6 { background: linear-gradient(135deg, oklch(65% 0.05 90), oklch(40% 0.05 110)); }

/* ============ SERVICES ============ */
.services {
  padding: var(--space-10) 0; position: relative; overflow: hidden;
  background:
    radial-gradient(circle 800px at 100% 0%, color-mix(in oklch, var(--color-primary-soft) 40%, transparent), transparent 60%),
    radial-gradient(circle 600px at 0% 100%, color-mix(in oklch, var(--color-primary-soft) 55%, transparent), transparent 60%),
    var(--color-surface);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.services__tabs { display: flex; gap: 4px; padding: 6px; background: var(--color-bg); border: 1px solid var(--color-line); border-radius: 999px; width: fit-content; margin-bottom: var(--space-7); flex-wrap: wrap; }
.tab {
  padding: 12px 24px; font-size: var(--fs-14); font-weight: 500;
  border-radius: 999px; color: var(--color-text-muted);
  transition: background var(--t-fast), color var(--t-fast);
  min-height: 44px;
}
.tab.is-active { background: var(--color-primary); color: var(--color-bg); }
.tab:hover:not(.is-active) { color: var(--color-text); }

.panel { display: none; }
.panel.is-active { display: block; }
.panel__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0;
  height: 2px; background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  transform: scaleX(0); transform-origin: center;
  transition: transform var(--t-base);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(34, 50, 40, 0.10), 0 4px 12px rgba(34, 50, 40, 0.05);
  border-color: color-mix(in oklch, var(--color-primary) 40%, var(--color-line));
}
.card:hover::after { transform: scaleX(1); }

.svc { display: flex; flex-direction: column; gap: 14px; min-height: 230px; }
.svc__num {
  font-family: var(--font-display); font-size: 13px;
  color: var(--color-primary); letter-spacing: 0.08em;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid color-mix(in oklch, var(--color-primary) 30%, var(--color-line));
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in oklch, var(--color-primary) 5%, transparent);
}
.svc h3 { font-size: var(--fs-h3); line-height: 1.15; color: var(--color-text); }
.svc p { color: var(--color-text-muted); font-size: var(--fs-16); line-height: 1.55; flex: 1; }
.svc__price {
  font-size: 12px; color: var(--color-accent); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding-top: 10px; border-top: 1px dashed var(--color-line);
}

/* ============ BRIDAL ============ */
.bridal { padding: var(--space-10) 0; position: relative; overflow: hidden; }
.bridal::before {
  content: ''; position: absolute; left: -120px; top: 50%;
  width: 420px; height: 420px; transform: translateY(-50%);
  background: radial-gradient(circle, color-mix(in oklch, var(--color-primary-soft) 80%, transparent), transparent 70%);
  filter: blur(90px); pointer-events: none;
}
.bridal::after {
  content: ''; position: absolute; right: -80px; top: 10%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, color-mix(in oklch, var(--color-primary-soft) 60%, transparent), transparent 70%);
  filter: blur(80px); pointer-events: none;
}
.bridal__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-9); align-items: center; position: relative; z-index: 1; }
.bridal__copy h2 { margin-bottom: var(--space-5); }
.bridal__copy p { color: var(--color-text-muted); font-size: var(--fs-18); line-height: 1.6; margin-bottom: var(--space-5); }
.bridal__list { display: flex; flex-direction: column; gap: 14px; margin-bottom: var(--space-6); }
.bridal__list li { display: flex; gap: 12px; font-size: var(--fs-16); }
.bridal__list span { color: var(--color-accent); font-weight: 700; }

.bridal__visual { position: relative; min-height: 540px; }
.bridal__frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: absolute; }
.bridal__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bridal__frame--big { width: 70%; aspect-ratio: 3/4; top: 0; right: 0; }
.bridal__frame--sm { width: 45%; aspect-ratio: 1/1; bottom: 60px; left: 0; border: 6px solid var(--color-bg); }
.bridal__quote {
  position: absolute; bottom: 0; right: 5%;
  background: var(--color-bg); padding: 22px 26px; border-radius: var(--radius-md);
  max-width: 320px; box-shadow: var(--shadow-md); border: 1px solid var(--color-line);
}
.bridal__quote p { font-family: var(--font-italic); font-style: italic; font-size: 18px; line-height: 1.4; }
.bridal__quote span { display: block; margin-top: 10px; font-size: 12px; color: var(--color-text-muted); letter-spacing: 0.06em; }

/* ============ GALLERY ============ */
.gallery {
  padding: var(--space-10) 0; position: relative; overflow: hidden;
  background:
    radial-gradient(circle 700px at 0% 100%, color-mix(in oklch, var(--color-primary-soft) 60%, transparent), transparent 60%),
    radial-gradient(circle 600px at 100% 0%, color-mix(in oklch, var(--color-primary-soft) 35%, transparent), transparent 60%),
    var(--color-surface);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: var(--space-3); }
.gallery__item {
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform var(--t-base), box-shadow var(--t-base);
  cursor: pointer; position: relative;
}
.gallery__item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(20, 30, 24, 0.5) 100%);
  opacity: 0; transition: opacity var(--t-base);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.gallery__item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ============ REVIEWS ============ */
.reviews { padding: var(--space-10) 0; position: relative; overflow: hidden; }
.reviews__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.review {
  display: flex; flex-direction: column; gap: var(--space-4);
  padding: var(--space-7);
  position: relative;
}
.review::before {
  content: '"';
  position: absolute; top: 10px; right: 28px;
  font-family: var(--font-italic); font-size: 110px; line-height: 1;
  color: color-mix(in oklch, var(--color-primary) 22%, transparent);
  pointer-events: none;
}
.review .stars { color: var(--color-gold); letter-spacing: 4px; font-size: 18px; position: relative; z-index: 1; filter: drop-shadow(0 1px 0 oklch(50% 0.10 78 / 0.3)); }
.review p { font-family: var(--font-italic); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--color-text); position: relative; z-index: 1; }
.review__by { display: flex; flex-direction: column; padding-top: var(--space-4); border-top: 1px solid var(--color-line); }
.review__by strong { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.review__by span { font-size: 12px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 2px; }

/* ============ CTA ============ */
.cta {
  padding: var(--space-10) 0;
  background:
    radial-gradient(ellipse 80% 60% at 85% 10%, oklch(38% 0.12 8 / 0.55), transparent 60%),
    radial-gradient(ellipse 60% 80% at 5% 90%, oklch(32% 0.09 340 / 0.45), transparent 60%),
    linear-gradient(135deg, oklch(18% 0.035 340) 0%, oklch(13% 0.030 340) 100%);
  color: oklch(96% 0.012 22);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: start; position: relative; z-index: 1; }
.cta__copy { color: oklch(96% 0.012 22); }
.cta__copy .eyebrow { color: oklch(82% 0.13 8); }
.cta__copy h2 { color: oklch(98% 0.008 22); margin-bottom: var(--space-5); }
.cta__copy h2 em { color: oklch(80% 0.130 8); }
.cta__copy p { color: oklch(86% 0.020 22); font-size: var(--fs-18); margin-bottom: var(--space-7); max-width: 50ch; }
.cta__contacts { display: flex; flex-direction: column; gap: var(--space-3); }
.cta__contact {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  border: 1px solid oklch(50% 0.04 340 / 0.4); border-radius: var(--radius-md);
  background: oklch(25% 0.04 340 / 0.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  color: oklch(96% 0.012 22);
}
.cta__contact:hover { background: oklch(32% 0.06 340 / 0.5); border-color: oklch(78% 0.13 8 / 0.5); transform: translateX(4px); }
.cta__contact svg { color: oklch(80% 0.130 8); flex-shrink: 0; }
.cta__contact .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: oklch(72% 0.025 22); display: block; margin-bottom: 2px; }
.cta__contact strong { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: oklch(98% 0.008 22); }

.cta__form {
  background: var(--color-bg);
  padding: var(--space-7);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  position: relative; z-index: 1;
}
.cta__form, .cta__form * { color: var(--color-text); }
.cta__form h3 { color: var(--color-text); font-family: var(--font-display); font-size: 26px; margin-bottom: 6px; }
.cta__form .muted { color: var(--color-text-muted); margin-bottom: var(--space-5); font-size: var(--fs-14); }
.cta__form label { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-4); }
.cta__form label span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-text-muted); font-weight: 500; }
.cta__form input, .cta__form select {
  font: inherit; font-size: var(--fs-16); color: var(--color-text);
  padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--color-line); background: var(--color-surface);
  transition: border-color var(--t-fast), background var(--t-fast);
  min-height: 48px;
}
.cta__form input:focus, .cta__form select:focus { outline: none; border-color: var(--color-primary); background: var(--color-bg); }
.cta__form .btn { width: 100%; margin-top: var(--space-3); color: var(--color-bg); }
.cta__success { margin-top: var(--space-4); padding: 12px; background: color-mix(in oklch, var(--color-primary) 12%, transparent); border-radius: var(--radius-sm); color: var(--color-primary); font-size: var(--fs-14); text-align: center; }

/* ============ VISIT ============ */
.visit { padding: var(--space-10) 0; overflow: hidden; }
.visit__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-7); align-items: stretch; }
.visit__map {
  position: relative;
  border-radius: var(--radius-lg); overflow: hidden;
  min-height: 460px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}
.visit__map iframe {
  display: block;
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  filter: contrast(1.02) saturate(0.92);
}
.visit__map-cta {
  position: absolute; bottom: 18px; left: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  background: var(--color-bg); color: var(--color-text);
  border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(34, 50, 40, 0.18), 0 1px 3px rgba(34, 50, 40, 0.10);
  border: 1px solid var(--color-line);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.visit__map-cta:hover { background: var(--color-primary); color: var(--color-bg); transform: translateY(-2px); border-color: var(--color-primary); }
.visit__map-cta svg { transition: transform var(--t-fast); }
.visit__map-cta:hover svg { transform: translate(2px, -2px); }
.visit__info h2 { margin-bottom: var(--space-5); }
.visit__info address { font-style: normal; font-size: var(--fs-18); line-height: 1.7; margin-bottom: var(--space-5); color: var(--color-text); }
.visit__hours { display: grid; grid-template-columns: auto 1fr; gap: 12px var(--space-5); padding: var(--space-5) 0; border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); margin-bottom: var(--space-5); }
.visit__hours dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--color-text-muted); padding-top: 4px; }
.visit__hours dd { font-size: var(--fs-16); color: var(--color-text); }

/* ============ FAQ ============ */
.faq { padding: var(--space-10) 0; background: var(--color-surface); border-top: 1px solid var(--color-line); overflow: hidden; }
.faq__list { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--space-2); }
.faq details { background: var(--color-bg); border: 1px solid var(--color-line); border-radius: var(--radius-md); transition: border-color var(--t-fast); }
.faq details[open] { border-color: color-mix(in oklch, var(--color-primary) 40%, var(--color-line)); }
.faq summary { padding: var(--space-5) var(--space-6); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); font-family: var(--font-display); font-size: 19px; font-weight: 500; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--color-primary); font-size: 22px; transition: transform var(--t-fast); flex-shrink: 0; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { padding: 0 var(--space-6) var(--space-5); color: var(--color-text-muted); line-height: 1.6; }

/* ============ FOOTER ============ */
.footer {
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, oklch(28% 0.06 8 / 0.4), transparent 60%),
    linear-gradient(135deg, oklch(16% 0.030 340) 0%, oklch(12% 0.025 340) 100%);
  color: oklch(96% 0.012 22);
  padding-top: var(--space-9);
  position: relative; overflow: hidden;
}
[data-theme="dark"] .footer { background: linear-gradient(135deg, oklch(10% 0.020 340), oklch(7% 0.015 340)); }
.footer * { color: inherit; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--space-7); padding-bottom: var(--space-8); }
.footer__brand svg { color: var(--color-accent); margin-bottom: var(--space-4); }
.footer__logo-img { height: 54px; width: auto; display: block; margin-bottom: var(--space-5); }
.footer__brand h3 { font-family: var(--font-display); font-size: 24px; font-weight: 500; margin-bottom: 10px; }
.footer__brand p { color: color-mix(in oklch, var(--color-bg) 65%, transparent); line-height: 1.6; max-width: 32ch; }
.footer h4 { font-family: var(--font-body); font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: color-mix(in oklch, var(--color-bg) 55%, transparent); margin-bottom: var(--space-4); font-weight: 500; }
.footer p, .footer ul { color: color-mix(in oklch, var(--color-bg) 80%, transparent); margin-bottom: 8px; line-height: 1.7; font-size: var(--fs-14); }
.footer a { transition: color var(--t-fast); }
.footer a:hover { color: var(--color-accent); }
.footer__social { display: flex; gap: 10px; margin-top: var(--space-4); }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid color-mix(in oklch, var(--color-bg) 18%, transparent); display: flex; align-items: center; justify-content: center; transition: border-color var(--t-fast), background var(--t-fast); }
.footer__social a:hover { border-color: var(--color-accent); background: color-mix(in oklch, var(--color-accent) 18%, transparent); }
.footer__base { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) 0; border-top: 1px solid color-mix(in oklch, var(--color-bg) 12%, transparent); font-size: 12px; color: color-mix(in oklch, var(--color-bg) 55%, transparent); }
.footer__credit a {
  color: color-mix(in oklch, var(--color-bg) 90%, transparent);
  border-bottom: 1px solid color-mix(in oklch, var(--color-accent) 60%, transparent);
  padding-bottom: 1px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.footer__credit a:hover { color: var(--color-accent); border-color: var(--color-accent); }

/* sticky mobile CTA */
.sticky-cta {
  position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 30;
  display: none; align-items: center; justify-content: center; gap: 10px;
  background: var(--color-primary); color: var(--color-bg);
  padding: 16px; border-radius: 999px; font-weight: 500;
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-16);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .hero__visual { max-width: 460px; width: 100%; margin: 0 auto; order: -1; }
  .hero__ornament { top: 8%; right: 5%; opacity: 0.3; }
  .about__grid, .bridal__grid, .visit__grid, .cta__grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .panel__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__cta { display: none; }
  .about__img--2 { width: 70%; }
  .about__badge { width: 110px; height: 110px; }
  .about__badge .num { font-size: 36px; }
  .bridal__visual { min-height: 460px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--container)); }
  .about, .services, .bridal, .gallery, .reviews, .cta, .visit, .faq { padding: var(--space-9) 0; }
  .panel__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .footer__base { flex-direction: column; gap: 6px; text-align: center; }
  .hero { padding-top: 96px; padding-bottom: 70px; }
  .hero__inner { gap: var(--space-6); }
  /* MOBILE HERO: image displays at its natural 1:1 ratio (source is 1024x1024).
     No aspect-ratio override, no padding hacks. Image is the size it wants to be. */
  .hero__visual {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }
  .hero__visual-frame {
    aspect-ratio: auto;       /* drop the desktop 4:5 ratio on mobile */
    min-height: 0;            /* drop the fallback min-height */
    width: 100%;
    max-width: 100%;
    background-image: none;   /* drop the background-image fallback on mobile */
    background-color: var(--color-surface-2);
  }
  .hero__visual-frame img {
    position: static;          /* take the img out of absolute positioning on mobile */
    width: 100%;
    height: auto;             /* let the image be its natural aspect */
    max-width: 100%;
    display: block;
    aspect-ratio: 1 / 1;       /* hint to browser before image loads */
    object-fit: cover;
  }
  /* Badge and tag — keep INSIDE the frame so nothing pushes past viewport */
  .hero__visual-badge {
    width: 68px; height: 68px;
    top: 12px; right: 12px;
    transform: rotate(8deg);
  }
  .hero__visual-badge strong { font-size: 17px; }
  .hero__visual-badge span { font-size: 8px; }
  .hero__visual-tag {
    left: 12px; bottom: 12px;
    padding: 8px 12px; gap: 10px;
    max-width: calc(100% - 24px);
  }
  .hero__visual-tag-num { font-size: 18px; }
  .hero__visual-tag-lbl { font-size: 10px; padding-left: 10px; }
  .hero__copy { padding-top: var(--space-4); }
  .hero__title { font-size: clamp(36px, 10vw, 52px); }
  .hero__strip strong { font-size: 24px; }
  .hero__ornament { display: none; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__strip { gap: var(--space-3); }
  .hero__strip .div { display: none; }
  .hero__strip > div:not(.div) { flex: 1 1 30%; }
  .about__signers { flex-direction: column; gap: var(--space-4); }
  .bridal__visual { min-height: 380px; }
  .bridal__frame--big { width: 78%; }
  .bridal__frame--sm { display: none; }
  .bridal__quote { position: static; max-width: none; margin-top: var(--space-4); }
  .reviews .h2 { font-size: 32px; }
  .review p { font-size: 18px; }
  .cta__form { padding: var(--space-5); }
  .visit__map { min-height: 320px; }
  .visit__map-cta { bottom: 12px; left: 12px; padding: 10px 14px; font-size: 12px; }
  .sticky-cta { display: flex; }
  .footer { padding-bottom: 90px; }
  .services__tabs { width: 100%; }
  .tab { flex: 1; padding: 12px 14px; }
}

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