/* ==========================================================================
   HAIR UP BY ELLA — Design System
   Luxury editorial hair artist website. Gradient + gold identity.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; border: none; background: none; }
button { cursor: pointer; }
svg { display: block; }

/* ---------- Design Tokens ---------- */
:root {
  /* base palette */
  --cream: #F8F2EA;
  --ivory: #FFFDF9;
  --champagne: #E8D4B8;
  --gold: #C9A45C;
  --soft-gold: #E4C98A;
  --gold-light: #F1E1BC;
  --nude: #D9BBA5;
  --blush: #EBD3D0;
  --mauve: #B99A9C;
  --caramel: #A97C50;
  --espresso: #2B211D;
  --charcoal: #252220;
  --ink: #1C1714;
  --white: #FFFFFF;
  --line: rgba(43, 33, 29, 0.12);
  --line-light: rgba(255, 253, 249, 0.25);

  /* gradients */
  --grad-hero: linear-gradient(135deg, #F5E7D8 0%, #E7C69B 48%, #BFA08F 100%);
  --grad-blush: linear-gradient(135deg, #F3E0DE 0%, #E8D4B8 55%, #C9A45C 100%);
  --grad-mauve: linear-gradient(120deg, #C9AFAE 0%, #D9BBA5 50%, #E4C98A 100%);
  --grad-espresso: linear-gradient(135deg, #2B211D 0%, #4A362B 55%, #C9A45C 100%);
  --grad-caramel: linear-gradient(135deg, #F8F2EA 0%, #E8D4B8 50%, #A97C50 100%);
  --grad-gold-line: linear-gradient(90deg, transparent, #C9A45C, transparent);
  --grad-gold-solid: linear-gradient(120deg, #E4C98A, #C9A45C 45%, #A97C50);
  --grad-overlay: linear-gradient(180deg, rgba(28,23,20,0) 0%, rgba(28,23,20,0.55) 100%);

  /* type */
  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'DM Sans', -apple-system, 'Segoe UI', sans-serif;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-m: 0.8s;
  --dur-l: 1.1s;

  /* layout */
  --container: 1240px;
  --header-h: 84px;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.08;
  color: var(--espresso);
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); font-weight: 400; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 400; }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h4 { font-size: 1.25rem; }
p { color: var(--charcoal); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
main { display: block; }
section { position: relative; }
section[id] { scroll-margin-top: var(--header-h); }
.italic { font-style: italic; }

::selection { background: var(--gold); color: var(--ivory); }

/* focus states */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--espresso); color: var(--ivory); padding: 14px 22px;
  font-family: var(--font-sans); font-size: 0.85rem; letter-spacing: 0.08em;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Labels / eyebrow text ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.label::before {
  content: ''; width: 26px; height: 1px; background: var(--gold);
  display: inline-block;
}
.label--center { justify-content: center; }
.label--center::before { display: none; }
.label--dark { color: var(--soft-gold); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 17px 34px; border-radius: 999px; white-space: nowrap;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn-primary {
  background: var(--grad-gold-solid); color: var(--ink);
  box-shadow: 0 8px 24px -8px rgba(169, 124, 80, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(169, 124, 80, 0.65); }
.btn-outline {
  border: 1px solid var(--line); color: var(--charcoal); background: transparent;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-outline--light { border-color: var(--line-light); color: var(--ivory); }
.btn-outline--light:hover { border-color: var(--soft-gold); color: var(--soft-gold); }
.btn-text {
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--espresso);
  display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: gap 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.btn-text:hover { gap: 14px; border-color: var(--gold); color: var(--gold); }
.btn-text svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 500;
  padding: 22px 0;
  transition: padding 0.4s var(--ease-soft), background 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-header.is-scrolled {
  padding: 12px 0; background: rgba(255, 253, 249, 0.9); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.on-dark:not(.is-scrolled) .nav-link,
.site-header.on-dark:not(.is-scrolled) .logo,
.site-header.on-dark:not(.is-scrolled) .logo span { color: var(--ivory); }
.site-header.on-dark:not(.is-scrolled) .hamburger span { background: var(--ivory); }
.site-header.on-dark:not(.is-scrolled) .btn-outline { border-color: var(--line-light); color: var(--ivory); }

.logo {
  font-family: var(--font-serif); font-size: 1.35rem; letter-spacing: 0.03em;
  color: var(--espresso); display: flex; flex-direction: column; line-height: 1.05;
  z-index: 10; position: relative;
}
.logo span { font-size: 0.58rem; font-family: var(--font-sans); letter-spacing: 0.28em; color: var(--gold); font-weight: 600; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-link {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; color: var(--charcoal);
  position: relative; padding: 4px 0;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width 0.35s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 22px; }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; padding: 8px; z-index: 620; position: relative;
  margin-right: -8px;
}
.hamburger span { display: block; width: 100%; height: 1px; background: var(--charcoal); transition: transform 0.35s var(--ease), opacity 0.35s var(--ease); }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; background: var(--espresso); z-index: 600;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px clamp(24px, 8vw, 60px) 50px;
  transform: translateY(-100%); transition: transform 0.6s var(--ease);
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu-links a {
  font-family: var(--font-serif); font-size: clamp(2rem, 9vw, 2.8rem); color: var(--ivory);
  display: flex; align-items: baseline; gap: 16px; padding: 10px 0;
  border-bottom: 1px solid rgba(255,253,249,0.08);
  opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mobile-menu.is-open .mobile-menu-links a { opacity: 1; transform: translateY(0); }
.mobile-menu-links a small { font-family: var(--font-sans); font-size: 0.7rem; color: var(--gold); letter-spacing: 0.1em; }
.mobile-menu-foot { display: flex; flex-direction: column; gap: 18px; }
.mobile-menu-foot .btn-primary { align-self: flex-start; }
.mobile-menu-foot .socials { display: flex; gap: 18px; }
.mobile-menu-foot a.social-link { color: var(--soft-gold); font-size: 0.78rem; letter-spacing: 0.1em; }
body.menu-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav-links, .nav-right .btn-outline { display: none; }
  .hamburger { display: flex; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 18px 0; background: var(--cream);
}
.marquee__track { display: inline-flex; animation: marquee 32s linear infinite; }
.marquee__track span {
  font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--charcoal);
  padding: 0 28px; display: inline-flex; align-items: center; gap: 28px;
}
.marquee__track span::after { content: '\2726'; color: var(--gold); font-style: normal; font-size: 0.8rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 60px; overflow: hidden;
  background: var(--grad-hero);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.35), transparent 45%),
              radial-gradient(circle at 85% 85%, rgba(169,124,80,0.25), transparent 50%);
  pointer-events: none;
}
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; position: relative; z-index: 2; }
.hero-copy { max-width: 560px; }
.hero-copy .label { margin-bottom: 22px; opacity: 0; animation: fadeUp 0.8s var(--ease) 0.2s forwards; }
.hero-title { color: var(--espresso); margin-bottom: 26px; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span { display: block; transform: translateY(110%); animation: lineUp 0.9s var(--ease) forwards; }
.hero-title .line:nth-child(1) span { animation-delay: 0.35s; }
.hero-title .line:nth-child(2) span { animation-delay: 0.5s; }
.hero-title .line:nth-child(3) span { animation-delay: 0.65s; }
.hero-sub {
  font-size: 1.08rem; color: var(--charcoal); max-width: 460px; margin-bottom: 34px;
  opacity: 0; transform: translateY(18px); animation: fadeUp 0.9s var(--ease) 0.85s forwards;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 18px; opacity: 0; transform: translateY(14px); animation: fadeUp 0.8s var(--ease) 1.05s forwards; }
.hero-locations { display: flex; gap: 26px; margin-top: 46px; opacity: 0; animation: fadeUp 0.8s var(--ease) 1.25s forwards; }
.hero-locations span { font-size: 0.72rem; letter-spacing: 0.2em; color: var(--caramel); font-weight: 600; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-visual-glow {
  position: absolute; width: 120%; height: 120%; border-radius: 50%;
  background: radial-gradient(circle, rgba(228,201,138,0.55), transparent 65%);
  filter: blur(30px); opacity: 0; animation: fadeIn 1.4s var(--ease) 0.1s forwards;
}
.hero-frame {
  position: relative; width: min(360px, 78vw); aspect-ratio: 3/4; border-radius: 6px 60px 6px 60px;
  overflow: hidden; box-shadow: 0 40px 70px -30px rgba(43,33,29,0.45);
  clip-path: inset(0 0 100% 0); animation: revealMask 1.2s var(--ease) 0.4s forwards;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-frame::after { content: ''; position: absolute; inset: 0; background: var(--grad-overlay); opacity: 0.35; }
.hero-frame-border {
  position: absolute; top: 18px; left: -18px; right: 18px; bottom: -18px;
  border: 1px solid var(--gold); border-radius: 6px 60px 6px 60px;
  opacity: 0; animation: fadeIn 1s var(--ease) 1s forwards;
}
.hero-badge {
  position: absolute; bottom: -6%; left: -12%; width: 128px; height: 128px;
  opacity: 0; animation: fadeIn 1s var(--ease) 1.3s forwards;
}
.hero-badge svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.hero-badge-center {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--grad-gold-solid);
}
.hero-badge-center svg { width: 16px; height: 16px; animation: none; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes revealMask { to { clip-path: inset(0 0 0 0); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { margin-top: 50px; order: -1; }
  .hero-frame { width: min(300px, 70vw); }
}
@media (max-width: 560px) {
  .hero { padding-top: calc(var(--header-h) + 20px); }
  .hero-locations { display: none; }
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 90px) 0 90px; overflow: hidden;
  background: var(--grad-hero); color: var(--espresso);
}
.page-hero.dark { background: var(--grad-espresso); color: var(--ivory); }
.page-hero.dark h1, .page-hero.dark p { color: var(--ivory); }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(255,255,255,0.3), transparent 50%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: end; }
.page-hero-media { position: relative; }
.page-hero-media img { width: 100%; border-radius: 6px 48px 6px 48px; box-shadow: 0 30px 60px -25px rgba(43,33,29,0.4); }
.page-hero h1 { margin: 18px 0 20px; max-width: 720px; }
.page-hero p.lede { font-size: 1.1rem; max-width: 520px; opacity: 0.92; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--caramel); margin-bottom: 20px; }
.page-hero.dark .breadcrumb { color: var(--soft-gold); }
.breadcrumb a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Sections generic ---------- */
.section { padding: clamp(70px, 10vw, 130px) 0; }
.section--cream { background: var(--cream); }
.section--ivory { background: var(--ivory); }
.section--espresso { background: var(--grad-espresso); color: var(--ivory); }
.section--espresso h2, .section--espresso h3, .section--espresso h4 { color: var(--ivory); }
.section--espresso p { color: rgba(255,253,249,0.82); }
.section--blush { background: var(--grad-blush); }
.section--caramel { background: var(--grad-caramel); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 16px; }
.eyebrow-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 56px; flex-wrap: wrap; }

/* ---------- Intro editorial typography (scroll split text) ---------- */
.intro-type { padding: clamp(60px,10vw,110px) 0 30px; text-align: center; overflow: hidden; }
.intro-type h2 {
  font-size: clamp(2.4rem, 8vw, 6.2rem); line-height: 1; font-weight: 400;
  letter-spacing: 0.01em;
}
.intro-type .split-line { display: block; will-change: transform; transition: transform 0.1s linear; }
.intro-type .split-line:nth-child(2) { color: var(--gold); font-style: italic; }
.intro-para {
  max-width: 620px; margin: 46px auto 0; text-align: center; font-size: 1.15rem; color: var(--caramel);
  font-family: var(--font-serif); font-style: italic; line-height: 1.6;
}

/* ---------- Split text helper ---------- */
.split-text .serif { font-family: var(--font-serif); font-style: italic; }
.split-text .sans { font-family: var(--font-sans); font-weight: 600; text-transform: uppercase; font-size: 0.75em; letter-spacing: 0.05em; vertical-align: middle; }

/* ---------- About / editorial image+text blocks ---------- */
.edit-block { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.edit-block--reverse { grid-template-columns: 1.15fr 0.85fr; }
.edit-block--reverse .edit-block-media { order: 2; }
.edit-block-media { position: relative; }
.edit-block-media img { width: 100%; border-radius: 4px 56px 4px 56px; }
.edit-block-media .gold-frame {
  position: absolute; top: 16px; left: -16px; right: -16px; bottom: -16px;
  border: 1px solid var(--gold); border-radius: 4px 56px 4px 56px; z-index: -1;
}
.edit-block-text .label { margin-bottom: 18px; }
.edit-block-text h2, .edit-block-text h3 { margin-bottom: 22px; }
.edit-block-text p { margin-bottom: 18px; max-width: 480px; color: var(--charcoal); }
.edit-block-text p:last-of-type { margin-bottom: 0; }
.edit-block-list { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.edit-block-list li { display: flex; gap: 12px; font-size: 0.92rem; align-items: baseline; }
.edit-block-list li::before { content: '\2726'; color: var(--gold); font-size: 0.7em; }

@media (max-width: 900px) {
  .edit-block, .edit-block--reverse { grid-template-columns: 1fr; }
  .edit-block--reverse .edit-block-media { order: 0; }
}

/* Floating overlap image */
.floating-image { position: relative; }
.floating-image .float-el {
  position: absolute; width: 46%; border-radius: 4px 40px 4px 40px; box-shadow: 0 24px 50px -20px rgba(43,33,29,0.4);
  border: 4px solid var(--ivory);
}

/* Gold line reveal */
.gold-line { height: 1px; background: var(--gold); width: 100%; transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.gold-line.in-view { transform: scaleX(1); }
.gold-line-v { width: 1px; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform 1s var(--ease); }
.gold-line-v.in-view { transform: scaleY(1); }

/* Number block */
.number-block { display: flex; align-items: baseline; gap: 20px; }
.number-block .num { font-family: var(--font-serif); font-size: clamp(3.5rem, 9vw, 7rem); color: var(--champagne); line-height: 1; font-weight: 400; }

/* Gradient panel */
.gradient-panel {
  border-radius: 24px; padding: clamp(40px, 6vw, 80px); position: relative; overflow: hidden;
  background: var(--grad-mauve); color: var(--espresso);
}
.gradient-panel h2, .gradient-panel h3 { color: var(--espresso); }
.gradient-panel::after {
  content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 90% 100%, rgba(255,255,255,0.35), transparent 55%);
}

/* Full bleed */
.full-bleed { width: 100%; }
.full-bleed img { width: 100%; height: clamp(280px, 46vw, 560px); object-fit: cover; }
.full-bleed-caption {
  display: flex; justify-content: space-between; align-items: center; padding: 20px clamp(20px,5vw,64px);
  background: var(--espresso); color: var(--ivory); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.full-bleed-caption span.gold { color: var(--soft-gold); }

/* ---------- Rotating badge (standalone use) ---------- */
.rotating-badge { width: 108px; height: 108px; position: relative; }
.rotating-badge svg { animation: spin 20s linear infinite; }
.rotating-badge .badge-dot { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.rotating-badge .badge-dot span { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* ---------- Services interactive list ---------- */
.services-list { border-top: 1px solid var(--line); }
.service-item {
  border-bottom: 1px solid var(--line); position: relative; overflow: hidden;
}
.service-row {
  display: grid; grid-template-columns: 90px 1fr 200px 40px; align-items: center; gap: 24px;
  padding: 34px 4px; position: relative; z-index: 2; cursor: pointer;
}
.service-row .idx { font-family: var(--font-serif); font-size: 1.1rem; color: var(--gold); }
.service-row h3 {
  font-size: clamp(1.7rem, 3.6vw, 2.9rem); transition: transform 0.5s var(--ease), color 0.5s var(--ease); transform-origin: left;
}
.service-row .desc { font-size: 0.9rem; color: var(--caramel); max-width: 320px; opacity: 0; transform: translateY(8px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.service-row .arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: all 0.4s var(--ease); }
.service-row .arrow svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.service-item:hover .service-row h3, .service-item.is-active .service-row h3 { transform: translateX(10px); color: var(--gold); }
.service-item:hover .service-row .desc, .service-item.is-active .service-row .desc { opacity: 1; transform: translateY(0); }
.service-item:hover .service-row .arrow, .service-item.is-active .service-row .arrow { background: var(--gold); border-color: var(--gold); }
.service-item:hover .service-row .arrow svg, .service-item.is-active .service-row .arrow svg { transform: rotate(45deg); stroke: var(--ivory); }
.service-item-bg {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s var(--ease); z-index: 0;
}
.service-item:hover .service-item-bg, .service-item.is-active .service-item-bg { opacity: 1; }
.service-item-image {
  position: absolute; right: 40px; top: 50%; width: 200px; height: 260px; border-radius: 4px 40px 4px 40px;
  overflow: hidden; transform: translateY(-50%) scale(0.9) rotate(3deg); opacity: 0; pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); z-index: 1; box-shadow: 0 30px 50px -20px rgba(43,33,29,0.4);
}
.service-item-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.service-item:hover .service-item-image, .service-item.is-active .service-item-image { opacity: 1; transform: translateY(-50%) scale(1) rotate(0deg); }

@media (max-width: 900px) {
  .service-row { grid-template-columns: 50px 1fr 40px; padding: 26px 2px; }
  .service-row .desc { display: none; }
  .service-item-image { display: none; }
  .service-row h3 { font-size: clamp(1.5rem, 7vw, 2rem); }
}

/* ---------- Detail trio (extensions) ---------- */
.detail-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.detail-card {
  padding: 40px 28px; border-radius: 18px; background: var(--ivory); border: 1px solid var(--line);
  text-align: center; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.detail-card:hover { transform: translateY(-8px); box-shadow: 0 24px 40px -20px rgba(43,33,29,0.25); border-color: var(--gold); }
.detail-card .icon { width: 46px; height: 46px; margin: 0 auto 20px; color: var(--gold); }
.detail-card h4 { letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--font-sans); font-size: 0.85rem; font-weight: 700; color: var(--espresso); margin-bottom: 12px; }
.detail-card p { font-size: 0.9rem; color: var(--caramel); }
@media (max-width: 760px) { .detail-trio { grid-template-columns: 1fr; } }

/* ---------- Journey / Experience steps ---------- */
.journey { position: relative; }
.journey-step {
  display: grid; grid-template-columns: 140px 1fr; gap: 30px; padding: 46px 0; border-top: 1px solid var(--line);
  align-items: start;
}
.journey-step:last-child { border-bottom: 1px solid var(--line); }
.journey-step .num { font-family: var(--font-serif); font-size: 3rem; color: var(--champagne); }
.journey-step h3 { margin-bottom: 10px; }
.journey-step p { max-width: 520px; color: var(--caramel); font-size: 1.02rem; }
@media (max-width: 700px) {
  .journey-step { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Gallery masonry ----------
   Every tile keeps the photos' real ~3:4 portrait ratio, so "big" tiles are
   simply larger versions of the same uncropped frame — never a distorted
   or over-zoomed crop, on any screen width. */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: 10px; cursor: pointer;
  aspect-ratio: 3 / 4; grid-column: span 1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: transform 0.7s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item .tag {
  position: absolute; top: 16px; left: 16px; padding: 6px 14px; border-radius: 999px;
  background: rgba(28,23,20,0.55); backdrop-filter: blur(6px); color: var(--soft-gold);
  font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0; transform: translateY(-6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gallery-item:hover .tag { opacity: 1; transform: translateY(0); }
.gallery-item .view {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(28,23,20,0.28); opacity: 0; transition: opacity 0.4s var(--ease);
}
.gallery-item:hover .view { opacity: 1; }
.gallery-item .view span {
  font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.2em; color: var(--ivory);
  border: 1px solid var(--ivory); border-radius: 999px; padding: 10px 22px;
}
.gallery-item--big, .gallery-item--wide { grid-column: span 2; }
.gallery-item--tall, .gallery-item--small { grid-column: span 1; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item--big, .gallery-item--wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-item--big, .gallery-item--wide { grid-column: span 2; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 900; background: rgba(20, 16, 14, 0.94);
  display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure { max-width: min(86vw, 620px); max-height: 82vh; position: relative; text-align: center; }
.lightbox-figure img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 6px; transform: scale(0.94); transition: transform 0.4s var(--ease); }
.lightbox.is-open .lightbox-figure img { transform: scale(1); }
.lightbox-caption { color: var(--soft-gold); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 16px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; color: var(--ivory); width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,253,249,0.35); display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { border-color: var(--gold); background: rgba(201,164,92,0.15); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: clamp(10px,3vw,40px); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: clamp(10px,3vw,40px); top: 50%; transform: translateY(-50%); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 18px; height: 18px; }

/* ---------- Testimonial carousel ---------- */
.testimonial-carousel { position: relative; max-width: 780px; margin: 0 auto; text-align: center; }
.testimonial-track { position: relative; min-height: 260px; }
.testimonial-slide {
  position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.testimonial-slide.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.testimonial-slide blockquote {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--espresso); line-height: 1.4; margin-bottom: 24px;
}
.testimonial-slide cite { font-style: normal; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.testimonial-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background 0.3s, transform 0.3s; }
.testimonial-dots button.is-active { background: var(--gold); transform: scale(1.3); }

/* ---------- Instagram section ----------
   3:4 matches the source photos' real proportions, so the crop stays gentle
   and the styled hair (near the top of frame) never gets cut off. */
.instagram-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.instagram-grid a { position: relative; display: block; overflow: hidden; border-radius: 8px; aspect-ratio: 3 / 4; }
.instagram-grid a:first-child { grid-column: span 2; }
.instagram-grid img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: transform 0.6s var(--ease); }
.instagram-grid a:hover img { transform: scale(1.08); }
.instagram-grid a::after {
  content: '\2726'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(28,23,20,0.4); color: var(--soft-gold); font-size: 1.3rem; opacity: 0; transition: opacity 0.35s var(--ease);
}
.instagram-grid a:hover::after { opacity: 1; }
@media (max-width: 760px) { .instagram-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .instagram-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.location-cities { display: flex; gap: 8px; flex-wrap: wrap; font-family: var(--font-serif); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--ivory); }
.location-cities .amp { color: var(--soft-gold); font-style: italic; }
.map-placeholder {
  aspect-ratio: 4/3; border-radius: 16px; background: var(--grad-mauve); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,253,249,0.15);
}
.map-placeholder svg { width: 40px; height: 40px; color: var(--espresso); opacity: 0.6; }
.map-placeholder span { position: absolute; bottom: 20px; left: 20px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--espresso); }
@media (max-width: 800px) { .location-grid { grid-template-columns: 1fr; } }

/* ---------- Booking / CTA section ---------- */
.cta-block { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-block .btn-primary { margin-top: 8px; }
.cta-ctas { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* ---------- Accordion (FAQ) ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 28px 4px; text-align: left; font-family: var(--font-serif); font-size: clamp(1.1rem, 2.4vw, 1.5rem); color: var(--espresso);
}
.accordion-trigger .plus { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gold); flex-shrink: 0; position: relative; }
.accordion-trigger .plus::before, .accordion-trigger .plus::after { content: ''; position: absolute; background: var(--gold); top: 50%; left: 50%; }
.accordion-trigger .plus::before { width: 10px; height: 1px; transform: translate(-50%,-50%); }
.accordion-trigger .plus::after { width: 1px; height: 10px; transform: translate(-50%,-50%); transition: transform 0.35s var(--ease); }
.accordion-item.is-open .plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.accordion-panel-inner { padding: 0 4px 28px; max-width: 640px; color: var(--caramel); }

/* ---------- Forms ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { margin-bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--caramel); }
.form-group input, .form-group select, .form-group textarea {
  border: 1px solid var(--line); border-radius: 8px; padding: 15px 16px; background: var(--ivory);
  font-size: 0.98rem; transition: border-color 0.3s var(--ease);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--mauve); margin-top: 18px; }
.form-success { display: none; text-align: center; padding: 60px 20px; }
.form-success.is-visible { display: block; }
.form-success .icon { width: 54px; height: 54px; margin: 0 auto 20px; color: var(--gold); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: var(--ivory); padding: 90px 0 30px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 0.6fr 0.6fr 0.8fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,253,249,0.12); }
.footer-brand h2 { color: var(--ivory); font-size: clamp(2.4rem, 6vw, 4rem); line-height: 0.98; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,253,249,0.7); max-width: 320px; margin-bottom: 4px; }
.footer-col h5 { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft-gold); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(255,253,249,0.75); font-size: 0.92rem; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--soft-gold); }
.footer-cta .btn-primary { margin-bottom: 20px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; flex-wrap: wrap; gap: 14px; }
.footer-bottom p, .footer-bottom a { font-size: 0.78rem; color: rgba(255,253,249,0.55); }
.footer-legal { display: flex; gap: 20px; }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- Sticky mobile booking bar ---------- */
.mobile-sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 400;
  padding: 14px 18px; background: rgba(255,253,249,0.92); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) { .mobile-sticky-cta { display: block; } body { padding-bottom: 70px; } }

/* ---------- Reveal animation system ---------- */
.reveal, .reveal-up, .reveal-left, .reveal-right, .scale-reveal, .text-reveal, .image-reveal {
  opacity: 0; transition: opacity var(--dur-m) var(--ease), transform var(--dur-m) var(--ease);
}
.reveal { }
.reveal-up { transform: translateY(36px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.scale-reveal { transform: scale(0.94); }
.text-reveal { transform: translateY(24px); }
.image-reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease); opacity: 1; }
.image-reveal.in-view { clip-path: inset(0 0 0% 0); }
.reveal.in-view, .reveal-up.in-view, .reveal-left.in-view, .reveal-right.in-view, .scale-reveal.in-view, .text-reveal.in-view {
  opacity: 1; transform: none;
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ---------- Custom cursor (desktop only) ---------- */
.custom-cursor {
  position: fixed; top: 0; left: 0; width: 70px; height: 70px; border-radius: 50%;
  background: var(--espresso); color: var(--ivory); display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; pointer-events: none; z-index: 950;
  transform: translate(-50%, -50%) scale(0); opacity: 0; transition: transform 0.25s var(--ease-soft), opacity 0.25s var(--ease-soft);
  mix-blend-mode: normal;
}
.custom-cursor.is-active { transform: translate(-50%, -50%) scale(1); opacity: 1; }
@media (max-width: 900px), (hover: none) { .custom-cursor { display: none; } }

/* ---------- Parallax helper ---------- */
[data-parallax] { will-change: transform; }

/* ---------- Misc utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.gap-lg { gap: 60px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
