/* ==========================================================================
   Moss&Glow Makeup — one-page site
   Palette: rich olive (moss) + warm brass (glow) + soft cream
   ========================================================================== */

:root {
  /* Olive ramp */
  --olive-900: #1A2113;
  --olive-800: #232C19;
  --olive-700: #2F3A22;
  --olive-600: #3F4E2D;
  --olive-500: #55683C;   /* primary rich olive */
  --olive-400: #74874F;
  --olive-300: #9AAB78;
  --olive-200: #C2CEA9;
  --olive-100: #E2E8D4;

  /* Glow accent — warm brass */
  --gold-600: #A8853F;
  --gold-500: #C3A162;
  --gold-400: #D9BE88;
  --gold-200: #EFE2C4;

  /* Neutrals */
  --cream:      #F8F5ED;
  --cream-deep: #EFE9DA;
  --ink:        #191E12;
  --ink-soft:   #4A5140;

  /* Type */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --max: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 11vw, 9rem);

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

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--olive-800); color: var(--cream);
  padding: 0.75rem 1.25rem; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ── Shared type ─────────────────────────────────────────────────────────── */
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--olive-800);
}
.h2--light { color: var(--cream); }

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: var(--gold-400); }

em { font-style: italic; }

.stars { color: var(--gold-500); letter-spacing: 0.15em; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2.25rem;
  font-size: 0.8125rem; font-weight: 400;
  letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: var(--gold-500);
  color: var(--olive-900);
  border-color: var(--gold-500);
}
.btn--gold:hover { background: var(--gold-400); border-color: var(--gold-400); }

.btn--ghost {
  color: var(--cream);
  border-color: rgba(248, 245, 237, 0.4);
}
.btn--ghost:hover { background: rgba(248, 245, 237, 0.1); border-color: var(--cream); }

/* ── Navigation ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease),
              padding .4s var(--ease);
  padding: 1.5rem 0;
}
.nav.is-stuck {
  background: rgba(35, 44, 25, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 rgba(248, 245, 237, 0.1);
}

.nav__inner {
  max-width: var(--max); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}

/* Sit above the fixed mobile menu panel, which would otherwise paint over the
   wordmark and the close button once the menu opens. */
.nav__brand,
.nav__toggle { position: relative; z-index: 2; }

.nav__brand { text-decoration: none; color: var(--cream); line-height: 1; }
.nav__brand-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 500;
  letter-spacing: 0.01em;
}
.nav__brand-mark em { color: var(--gold-500); font-style: italic; }
.nav__brand-sub {
  display: block;
  font-size: 0.5625rem; letter-spacing: 0.42em;
  text-transform: uppercase; opacity: 0.75;
  margin-top: 0.3rem;
}

.nav__menu { display: flex; align-items: center; gap: 2.25rem; }
.nav__menu a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding-block: 0.25rem;
  transition: color .3s var(--ease);
}
.nav__menu a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__menu a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  border: 1px solid rgba(248, 245, 237, 0.45);
  border-radius: 999px;
  padding: 0.6rem 1.5rem !important;
}
.nav__cta:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--olive-900); }

.nav__toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  padding: 0;
}
.nav__toggle span {
  display: block; height: 1.5px; width: 26px;
  background: var(--cream);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 8rem var(--gutter) 5rem;
  background: var(--olive-800);
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  opacity: 0.55;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(26,33,19,.92) 0%, rgba(26,33,19,.65) 45%, rgba(26,33,19,.35) 100%),
    linear-gradient(to top, rgba(26,33,19,.85) 0%, transparent 55%);
}

.hero__content {
  position: relative;
  max-width: var(--max);
  margin-inline: auto;
  width: 100%;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.75rem, 1.4rem + 6vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--cream);
  max-width: 22ch;
  text-wrap: balance;
}
.hero__title em { color: var(--gold-400); }

.hero__lede {
  margin-top: 1.75rem;
  max-width: 46ch;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  color: rgba(248, 245, 237, 0.82);
}

.hero__actions {
  margin-top: 2.75rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
}

.hero__proof {
  margin-top: 3rem;
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: rgba(248, 245, 237, 0.7);
}

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 2.25rem;
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(248,245,237,.55));
}
.hero__scroll::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 5px; height: 5px; margin-left: -2px;
  border-radius: 50%; background: var(--gold-500);
  animation: drift 2.4s var(--ease) infinite;
}
@keyframes drift {
  0%   { transform: translateY(-52px); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ── Section scaffolding ─────────────────────────────────────────────────── */
.section {
  padding: var(--section-y) var(--gutter);
}
.section > * { max-width: var(--max); margin-inline: auto; }

.section--dark { background: var(--olive-800); color: rgba(248,245,237,.75); }
.section--cream { background: var(--cream-deep); }

.section__head { margin-bottom: clamp(3rem, 6vw, 5rem); max-width: 46rem; }
.section__lede {
  margin-top: 1.5rem;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  max-width: 52ch;
}

/* ── About ───────────────────────────────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.about__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(150deg, var(--olive-300), var(--olive-500));
  border-radius: 2px;
  overflow: hidden;
}
.about__portrait img { width: 100%; height: 100%; object-fit: cover; }
.about__portrait::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(248, 245, 237, 0.25);
  margin: 0.9rem;
  pointer-events: none;
  z-index: 2;
}

.about__body p + p { margin-top: 1.25rem; }
.about__body .h2 { margin-bottom: 1.75rem; }

.about__points {
  list-style: none; padding: 0;
  margin-top: 2rem;
  display: grid; gap: 0.85rem;
}
.about__points li {
  position: relative;
  padding-left: 1.85rem;
  font-size: 0.9375rem;
}
.about__points li::before {
  content: ""; position: absolute;
  left: 0; top: 0.72em;
  width: 1.1rem; height: 1px;
  background: var(--gold-500);
}

.about__sign {
  margin-top: 2.25rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.75rem;
  color: var(--olive-600);
}

/* ── Services ────────────────────────────────────────────────────────────── */
/* The 1px gaps are the hairline rules — they are the container background
   showing through, not borders. That means an unfilled cell isn't empty space,
   it's a pale block that reads as a broken card. Five cards never tile evenly,
   so every column count below explicitly rehomes the odd one out. */
.services__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  background: rgba(248, 245, 237, 0.14);
  border-block: 1px solid rgba(248, 245, 237, 0.14);
}

/* 2-up: cards 1–4 pair off, the fifth runs full width. */
@media (min-width: 40rem) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:nth-child(5) { grid-column: 1 / -1; }
}

/* 3-up: six tracks, so the last row splits half-and-half instead of 1 + hole. */
@media (min-width: 64rem) {
  .services__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .service { grid-column: span 2; }
  .service:nth-child(4),
  .service:nth-child(5) { grid-column: span 3; }
}

.service {
  background: var(--olive-800);
  padding: clamp(2rem, 3.5vw, 3rem);
  transition: background .45s var(--ease);
}
.service:hover { background: var(--olive-700); }

.service__num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: var(--gold-500);
}

.service__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
  line-height: 1.15;
  color: var(--cream);
  margin: 1rem 0 0.5rem;
}
.service__title-alt { color: var(--olive-200); }

.service__price {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--gold-400);
  margin-bottom: 1.1rem;
}
.service__price span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-200);
  margin-left: 0.45rem;
}

.service__label {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(248, 245, 237, 0.14);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-200);
}

.service__list {
  list-style: none; padding: 0;
  margin-top: 1.1rem;
  display: grid; gap: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.service__list li {
  position: relative;
  padding-left: 1.5rem;
}
.service__list li::before {
  content: ""; position: absolute;
  left: 0; top: 0.72em;
  width: 0.85rem; height: 1px;
  background: var(--gold-500);
}

/* Twelve occasions stacked one-per-row tower over the three-item card beside
   them, and a third-width card is too narrow for two fixed columns. Let the
   dashed entries wrap as a run instead — short ones share a line, long ones
   take their own, and the height roughly halves. */
.service__list--flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.35rem;
}

/* Two columns only once the card is genuinely wide — these entries are phrases,
   not one-word tags, and they turn ragged in a narrow track. */
@media (min-width: 48rem) {
  .service__list--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
  }
}

.services__note {
  margin-top: 2.5rem;
  font-size: 0.9375rem;
  text-align: center;
}
.services__note a { color: var(--gold-400); text-underline-offset: 4px; }

/* ── Portfolio ───────────────────────────────────────────────────────────── */
/* Uniform 4:5 grid. Mixed row-spans were tried and rejected — with auto-fit
   columns they leave holes at several viewport widths, which reads as broken
   rather than as intentional masonry. */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}

/* Every tile is a side-by-side before/after, so each face only gets half the
   tile width. Shed a column earlier than a normal gallery would — at three
   columns on a tablet the faces are too small to read as a comparison. */
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .gallery { grid-template-columns: minmax(0, 1fr); } }

.gallery__item {
  position: relative;
  margin: 0;
  /* Square, not 4:5 — a portrait frame would crop the pair down the sides. */
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  background: linear-gradient(150deg, var(--olive-200), var(--olive-400));
}

.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.gallery__item:hover img { transform: scale(1.045); }

.portfolio__more {
  margin-top: 2.75rem;
  text-align: center;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
}
.portfolio__more a {
  color: var(--olive-600);
  font-weight: 400;
  text-underline-offset: 4px;
}

/* Placeholder label — visible only while the real image is missing */
.ph-label {
  position: absolute; inset: auto 0 0 0;
  padding: 0.6rem;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-align: center;
  color: rgba(26, 33, 19, 0.55);
  background: rgba(248, 245, 237, 0.55);
  pointer-events: none;
  display: none;
}
.has-missing-img .ph-label { display: block; }
img.is-missing { opacity: 0; }

/* ── Reviews ─────────────────────────────────────────────────────────────── */
.reviews__badge {
  margin-top: 1.5rem;
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.7rem;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.review {
  background: var(--cream);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 2px;
  border-top: 2px solid var(--gold-500);
  margin: 0;
}
.review p {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--olive-700);
}
.review cite {
  display: block;
  margin-top: 1.5rem;
  font-style: normal;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive-600);
}
.review cite span {
  display: block;
  margin-top: 0.3rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--ink-soft);
  opacity: 0.7;
}

/* ── Booking ─────────────────────────────────────────────────────────────── */
.book__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.book__actions { display: grid; gap: 1rem; }

.contact-card {
  display: block;
  padding: 1.5rem 1.75rem;
  text-decoration: none;
  border: 1px solid rgba(248, 245, 237, 0.2);
  border-radius: 2px;
  transition: border-color .35s var(--ease), background .35s var(--ease),
              transform .35s var(--ease);
}
.contact-card:hover {
  border-color: var(--gold-500);
  background: rgba(195, 161, 98, 0.07);
  transform: translateX(4px);
}

.contact-card__label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.contact-card__value {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.625rem;
  color: var(--cream);
  line-height: 1.2;
}
.contact-card__note {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8125rem;
  color: rgba(248, 245, 237, 0.55);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--olive-900);
  color: rgba(248, 245, 237, 0.6);
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2.5rem;
}
.footer__inner {
  max-width: var(--max); margin-inline: auto;
  display: grid; gap: 2.5rem;
}
.footer__brand .nav__brand-mark { color: var(--cream); }
.footer__brand p { margin-top: 0.6rem; font-size: 0.875rem; }

.footer__links {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2rem;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer__links a { text-decoration: none; transition: color .3s var(--ease); }
.footer__links a:hover { color: var(--gold-400); }

.footer__legal {
  padding-top: 2rem;
  border-top: 1px solid rgba(248, 245, 237, 0.12);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

/* ── Scroll reveal ────────────────────────────────────────────────────────
   Scoped to .js-reveal, which main.js puts on <html> immediately before it
   starts marking elements. If the script fails to load or throws, the class
   is never added and every section renders plainly visible — rather than the
   whole page below the hero staying blank forever.                        */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about__grid,
  .book__grid { grid-template-columns: 1fr; }
  .about__portrait { max-width: 26rem; }
}

@media (max-width: 780px) {
  .nav__toggle { display: flex; }

  .nav__menu {
    position: fixed;
    inset: 0 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6rem var(--gutter) 2.5rem;
    background: var(--olive-800);
    transform: translateY(-100%);
    transition: transform .5s var(--ease);
    box-shadow: 0 20px 40px rgba(0,0,0,.25);
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__menu a {
    padding: 1.1rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(248, 245, 237, 0.12);
  }
  .nav__cta {
    margin-top: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(248, 245, 237, 0.45) !important;
  }

  .hero__scroll { display: none; }

  /* The hard break is tuned for the two-line desktop headline. At phone widths
     it strands "your" on a line by itself — let the text wrap on its own. */
  .hero__title br { display: none; }
  .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js-reveal .reveal { opacity: 1; transform: none; }
}
