/* ==========================================================================
   VEO MAKEUP STUDIO — Design System
   Palette: warm ivory + deep wine + antique gold + dusty rose
   Display: Fraunces (warm, editorial serif with real personality)
   Body/UI: Jost (clean geometric sans, quiet counterpart)
   Signature element: the "swatch strip" — a row of palette-pan dots used
   as section dividers, echoing an actual eyeshadow palette.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Jost:wght@300;400;500;600&display=swap');

:root {
  /* base */
  --bg: #FBF6F3;
  --bg-alt: #F4E9E4;
  --bg-deep: #2A1519;
  --panel: #FFFFFF;

  /* ink */
  --ink: #241417;
  --ink-soft: #6B565A;
  --ink-faint: #A6949650;

  /* brand */
  --wine: #7C2438;
  --wine-deep: #4E1522;
  --wine-tint: #F3E1E4;
  --gold: #AD8A4D;
  --gold-soft: #E4D3AC;
  --rose: #CC9A97;

  --line: rgba(124, 36, 56, 0.14);
  --shadow: 0 20px 60px -20px rgba(78, 21, 34, 0.25);
  --nav-h: 84px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--wine); color: var(--bg); }

/* grain */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.5;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--wine); }

/* ---------- type ---------- */
h1, h2, h3, h4, .display {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.08;
}
.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 26px; height: 1px;
  background: var(--gold);
}
p.lede { font-size: 18px; color: var(--ink-soft); font-weight: 300; line-height: 1.7; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 6vw; }
section { padding: 120px 0; position: relative; }
@media (max-width: 768px) { section { padding: 80px 0; } }

/* ---------- signature swatch-strip divider ---------- */
.swatch-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 0;
  margin: 0 auto;
}
.swatch-strip span {
  width: 13px; height: 13px; border-radius: 50%;
  display: inline-block;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}
.swatch-strip span:nth-child(1) { background: var(--gold-soft); }
.swatch-strip span:nth-child(2) { background: var(--gold); }
.swatch-strip span:nth-child(3) { background: var(--rose); }
.swatch-strip span:nth-child(4) { background: var(--wine); }
.swatch-strip span:nth-child(5) { background: var(--wine-deep); width: 22px; border-radius: 7px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--wine);
  color: var(--wine);
  transition: all 0.35s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--wine); color: #fff; }
.btn.solid { background: var(--wine); color: #fff; }
.btn.solid:hover { background: var(--wine-deep); border-color: var(--wine-deep); }
.btn.gold { border-color: var(--gold); color: var(--gold-soft); }
.btn.on-dark { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn.on-dark:hover { background: #fff; color: var(--wine-deep); }

/* ==========================================================================
   NAV
   ========================================================================== */
header.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.3s ease;
}
header.site-nav.scrolled {
  background: rgba(251,246,243,0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo .mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--wine-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; color: var(--gold-soft); font-size: 17px;
}
.nav-logo .word { font-family: 'Fraunces', serif; font-size: 19px; letter-spacing: 0.02em; }
.nav-logo .word b { color: var(--wine); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 500; color: var(--ink); position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 100%;
  height: 1px; background: var(--wine); transition: right 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--wine); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-social { display: flex; gap: 14px; }
.nav-social a { font-size: 14px; color: var(--ink-soft); }
.nav-social a:hover { color: var(--wine); }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 26px; z-index: 1200; }
.hamburger span { height: 1.5px; background: var(--ink); display: block; transition: 0.3s; }

.mobile-nav {
  position: fixed; inset: 0; background: var(--wine-deep);
  z-index: 1100; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 30px;
  transform: translateY(-100%); transition: transform 0.5s cubic-bezier(.7,0,.2,1);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a { font-family: 'Fraunces', serif; font-size: 28px; color: var(--gold-soft); }
.mobile-nav .mobile-social { display: flex; gap: 22px; margin-top: 20px; }
.mobile-nav .mobile-social a { font-size: 20px; }
.mobile-close { position: absolute; top: 30px; right: 30px; font-size: 26px; color: #fff; background: none; }

@media (max-width: 980px) {
  .nav-links, .nav-cta .btn, .nav-social { display: none; }
  .hamburger { display: flex; }
}

/* ==========================================================================
   HERO (per-page, page-specific height via modifier classes)
   ========================================================================== */
.page-hero {
  min-height: 60vh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 60px) 0 70px;
  position: relative;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(38px, 6vw, 74px); font-weight: 500; }
.page-hero.image-hero {
  min-height: 78vh;
  background-size: cover; background-position: center;
  align-items: center;
}
.page-hero.image-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42,21,25,0.45), rgba(42,21,25,0.75));
}
.page-hero.image-hero h1, .page-hero.image-hero .eyebrow, .page-hero.image-hero p { color: #fff; position: relative; z-index: 2; }
.page-hero.image-hero .eyebrow::before { background: var(--gold-soft); }

/* ==========================================================================
   CARDS / GRIDS
   ========================================================================== */
.grid { display: grid; gap: 30px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 40px 34px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .num { font-family: 'Fraunces', serif; font-style: italic; color: var(--gold); font-size: 15px; }
.card h3 { font-size: 22px; margin: 14px 0 10px; }
.card p { color: var(--ink-soft); font-size: 15px; }

/* team card */
.team-card { text-align: center; }
.team-card .photo {
  aspect-ratio: 4/5; background: var(--bg-alt); margin-bottom: 20px;
  background-size: cover; background-position: center;
  position: relative; overflow: hidden;
}
.team-card .photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(78,21,34,0.55));
}
.team-card h3 { font-size: 21px; margin-bottom: 2px; }
.team-card .role { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wine); margin-bottom: 12px; }
.team-card p { font-size: 14px; color: var(--ink-soft); }
.team-card .socials { display: flex; gap: 14px; justify-content: center; margin-top: 14px; }
.team-card .socials a { font-size: 14px; color: var(--ink-soft); }
.team-card .socials a:hover { color: var(--wine); }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.gallery-grid .tile {
  aspect-ratio: 3/4; background: var(--bg-alt); background-size: cover; background-position: center;
  position: relative; overflow: hidden; cursor: pointer;
}
.gallery-grid .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-grid .tile:hover img { transform: scale(1.08); }
.gallery-grid .tile .tag {
  position: absolute; left: 12px; bottom: 12px; color: #fff;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0; transition: opacity 0.3s ease; z-index: 2;
}
.gallery-grid .tile::before {
  content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55));
  opacity: 0; transition: opacity 0.3s ease;
}
.gallery-grid .tile:hover::before, .gallery-grid .tile:hover .tag { opacity: 1; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-bar button {
  padding: 9px 20px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--ink-soft);
}
.filter-bar button.active, .filter-bar button:hover { border-color: var(--wine); color: var(--wine); }

/* blog cards */
.blog-card { display: block; }
.blog-card .thumb { aspect-ratio: 16/10; background: var(--bg-alt); background-size: cover; background-position: center; margin-bottom: 20px; }
.blog-card .meta { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wine); margin-bottom: 10px; }
.blog-card h3 { font-size: 21px; margin-bottom: 10px; }
.blog-card p { color: var(--ink-soft); font-size: 14.5px; }

/* testimonials */
.testi-card {
  background: var(--wine-deep); color: #fff; padding: 44px 38px;
}
.testi-card .stars { color: var(--gold-soft); font-size: 14px; margin-bottom: 18px; letter-spacing: 3px; }
.testi-card p { font-family: 'Fraunces', serif; font-style: italic; font-size: 19px; line-height: 1.5; color: #F4E9E4; }
.testi-card .who { margin-top: 22px; font-family: 'Jost', sans-serif; font-style: normal; font-size: 13px; color: var(--gold-soft); letter-spacing: 0.05em; }

/* stat strip */
.stat-strip {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 44px 0;
}
.stat-strip .stat { text-align: center; flex: 1; min-width: 140px; }
.stat-strip .stat .n { font-family: 'Fraunces', serif; font-size: 40px; color: var(--wine); }
.stat-strip .stat .l { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }

/* section on dark */
.section-dark { background: var(--wine-deep); color: #fff; }
.section-dark .eyebrow { color: var(--gold-soft); }
.section-dark .eyebrow::before { background: var(--gold-soft); }
.section-dark h2 { color: #fff; }
.section-dark p { color: #E9D8DB; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-panel { background: var(--panel); border: 1px solid var(--line); padding: 50px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  border: none; border-bottom: 1px solid var(--line);
  background: transparent; padding: 12px 4px; font-family: 'Jost', sans-serif;
  font-size: 15px; color: var(--ink); font-weight: 300;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--wine);
}
.field textarea { resize: vertical; min-height: 100px; }
.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-group label {
  border: 1px solid var(--line); padding: 9px 18px; font-size: 12.5px;
  cursor: pointer; text-transform: none; letter-spacing: 0; color: var(--ink);
}
.pill-group input { display: none; }
.pill-group input:checked + span { color: var(--wine); }
.pill-group label:has(input:checked) { border-color: var(--wine); background: var(--wine-tint); }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.form-status { font-size: 14px; margin-top: 16px; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: #3F7A4A; }
.form-status.err { color: var(--wine); }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--wine); outline-offset: 3px;
}

/* ==========================================================================
   FAB / QUICK BOOK WIDGET
   ========================================================================== */
.fab { position: fixed; right: 26px; bottom: 26px; z-index: 900; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab-toggle {
  width: 60px; height: 60px; border-radius: 50%; background: var(--wine);
  color: #fff; font-size: 24px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(78,21,34,0.55);
  transition: transform 0.3s ease, background 0.3s ease;
}
.fab-toggle:hover { background: var(--wine-deep); transform: scale(1.05); }
.fab-options { display: flex; flex-direction: column; gap: 10px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: 0.3s ease; }
.fab-options.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab-options a {
  background: #fff; border: 1px solid var(--line); padding: 10px 18px;
  font-size: 13px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow);
  white-space: nowrap;
}
.fab-options a:hover { color: var(--wine); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer.site-footer { background: var(--wine-deep); color: #E9D8DB; padding: 90px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: var(--gold-soft); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 22px; font-family: 'Jost', sans-serif; font-weight: 500; }
.footer-grid a, .footer-grid p { font-size: 14.5px; color: #D9C3C6; display: block; margin-bottom: 12px; }
.footer-grid a:hover { color: #fff; }
.footer-brand .word { font-family: 'Fraunces', serif; font-size: 24px; color: #fff; margin-bottom: 14px; }
.footer-social { display: flex; gap: 16px; margin-top: 20px; }
.footer-social a { font-size: 17px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12.5px; color: #B9979B;
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* modal shared */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(42,21,25,0.72);
  z-index: 1300; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease; padding: 20px;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box { background: var(--bg); max-width: 480px; width: 100%; padding: 44px 36px; position: relative; max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: 18px; right: 18px; font-size: 18px; color: var(--ink-soft); }
