/* ============================================================
   YOUR STYLIST SYLVIA — Landing Page Styles
   Dark luxury aesthetic. Mobile-first, fully responsive.

   PALETTE
     --charcoal        #1A1A1A  page background
     --charcoal-soft   #222222  secondary section background
     --cream           #FAF6EE  primary text
     --gold            #C4956A  accent

   TYPE
     Playfair Display (italic) — brand, headlines, section titles
     Jost (200/300)            — body, nav, buttons, captions
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --charcoal:       #1A1A1A;
  --charcoal-soft:  #222222;
  --charcoal-ghost: #141414; /* tone-on-tone background text — subtle, darker than bg */
  --cream:          #FAF6EE;
  --cream-dim:      rgba(250, 246, 238, 0.72);
  --gold:           #C4956A;
  --gold-dim:       rgba(196, 149, 106, 0.45);

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);   /* responsive side padding */
  --section-y: clamp(4.5rem, 11vw, 9rem); /* vertical section rhythm */

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

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Lock scroll when mobile menu / modal is open */
body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

p { margin: 0 0 1.25rem; color: var(--cream-dim); }

/* ---------- Shared typographic helpers ---------- */

/* Gold eyebrow — small all-caps, wide tracking */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.4rem;
}

/* Playfair italic section / hero headings */
.heading {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  line-height: 1.18;
  color: var(--cream);
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem);
  margin: 0 0 1.6rem;
}
.heading--center { text-align: center; margin-left: auto; margin-right: auto; }

/* Thin gold rule */
.rule--gold {
  display: block;
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin-top: 2rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 1.05em 2.4em;
  border-radius: 999px;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.3s var(--ease);
}
.btn--gold {
  background: var(--gold);
  color: var(--charcoal);
}
.btn--gold:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
}
.btn--block { display: block; width: 100%; text-align: center; }

/* ---------- Image placeholders ----------
   Colored boxes standing in for real photography.
   The data-label is surfaced as centered caption text. */
.placeholder {
  position: relative;
  background:
    linear-gradient(135deg, #262626 0%, #1d1d1d 100%);
  border: 1px solid rgba(196, 149, 106, 0.22);
  border-radius: 18px;
  overflow: hidden;
}
.placeholder::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dim);
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
/* Solid charcoal once scrolled (toggled in JS) */
.nav.scrolled {
  background: var(--charcoal);
  box-shadow: 0 1px 0 rgba(196, 149, 106, 0.18);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.4rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Brand — small Jost light, wide tracking */
.nav__brand {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
}
.nav__links {
  display: flex;
  gap: 2.6rem;
  align-items: center;
}
.nav__links a {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color 0.3s var(--ease);
}
.nav__links a:hover { color: var(--gold); }
.nav__book {
  color: var(--gold) !important;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  padding: 0.6em 1.5em;
}
.nav__book:hover { background: var(--gold); color: var(--charcoal) !important; }

/* Hamburger (hidden on desktop) */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 120;
}
.nav__toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--cream);
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
}
/* Animate to an X when open */
.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Mobile full-screen overlay menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  text-align: center;
}
.mobile-menu__links a {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--cream);
  transition: color 0.3s var(--ease);
}
.mobile-menu__links a:hover { color: var(--gold); }
.mobile-menu__book { color: var(--gold) !important; }


/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* better mobile viewport handling */
  display: flex;
  align-items: center;
  padding: 7rem var(--gutter) 4rem;
  overflow: hidden;
}
/* Tone-on-tone giant background word */
.hero__ghost {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(6rem, 26vw, 24rem);
  letter-spacing: 0.02em;
  color: var(--charcoal-ghost);   /* just barely darker/lighter than bg */
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.hero__headline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  line-height: 1.12;
  font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.6rem);
  margin: 0 0 1.4rem;
  color: var(--cream);
}
.hero__sub {
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem);
  font-weight: 200;
  color: var(--cream-dim);
  margin: 0 0 2.4rem;
}


/* ============================================================
   SECTION 2 — ABOUT
   ============================================================ */
.about {
  background: var(--charcoal-soft);
  padding: var(--section-y) var(--gutter);
}
.about__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
/* Contained portrait in a rounded 4:5 frame. The img fills and crops
   to the frame via object-fit, so any portrait photo looks intentional. */
.about__photo {
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(196, 149, 106, 0.22); /* subtle gold frame */
}
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* fill the frame, crop overflow */
  object-position: center 25%; /* bias toward the face near the top */
  display: block;
}

@media (min-width: 850px) {
  .about__inner { grid-template-columns: 0.85fr 1.15fr; }
  .about__photo { margin: 0; }
}


/* ============================================================
   SECTION 3 — SERVICES
   ============================================================ */
.services {
  padding: var(--section-y) var(--gutter);
}
.services__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.services__cards {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.2rem);
  align-items: stretch;
}
@media (min-width: 820px) {
  .services__cards { grid-template-columns: 1fr 1fr; }
}

/* Pricing card */
.card {
  position: relative;
  background: var(--charcoal);
  border: 1px solid var(--gold-dim);
  border-radius: 22px;
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); }

/* Featured card — anchor (slightly larger, full gold border + glow) */
.card--featured {
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 0 1px rgba(196, 149, 106, 0.15), 0 24px 60px rgba(0, 0, 0, 0.45);
}
@media (min-width: 820px) {
  .card--featured { transform: scale(1.035); }
  .card--featured:hover { transform: scale(1.035) translateY(-4px); }
}

.card__tag {
  align-self: flex-start;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-dim);
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  padding: 0.5em 1.2em;
  margin-bottom: 1.6rem;
}
.card__tag--gold { color: var(--gold); border-color: var(--gold); }

.card__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  margin: 0 0 0.6rem;
  color: var(--cream);
}
.card__price {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 2.4rem;
  color: var(--gold);
  margin: 0 0 1.8rem;
}
.card__list {
  margin-bottom: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.card__list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--cream-dim);
  font-size: 0.98rem;
  line-height: 1.55;
}
/* Gold bullet */
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
/* Push CTA to the bottom so unequal-length cards align */
.card .btn { margin-top: auto; }


/* ============================================================
   SECTION 4 — HOW IT WORKS
   ============================================================ */
.how {
  background: var(--charcoal-soft);
  padding: var(--section-y) var(--gutter);
}
.how__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.how__steps {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 800px) {
  .how__steps { grid-template-columns: repeat(3, 1fr); }
}
.step__num {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.step__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--cream);
  margin: 0 0 0.9rem;
}
.step p { margin: 0; }


/* ============================================================
   SECTION 5 — TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: var(--section-y) var(--gutter);
}
.testimonials__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.testimonials__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.2rem);
}
@media (min-width: 780px) {
  .testimonials__grid { grid-template-columns: repeat(3, 1fr); }
}
.quote {
  margin: 0;
  background: var(--charcoal-soft);
  border: 1px solid rgba(196, 149, 106, 0.18);
  border-radius: 20px;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
}
.quote__mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3.4rem;
  line-height: 0.5;
  color: var(--gold);
  margin-bottom: 1rem;
}
.quote blockquote {
  margin: 0 0 1.8rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--cream);
}
.quote figcaption {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.quote__name {
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.quote__loc {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
}


/* ============================================================
   SECTION 6 — FINAL CTA
   ============================================================ */
.final-cta {
  position: relative;
  padding: clamp(5rem, 12vw, 9rem) var(--gutter);
  text-align: center;
  overflow: hidden;
}
.final-cta__ghost {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(6rem, 28vw, 22rem);
  color: var(--charcoal-ghost);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.final-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.final-cta__sub {
  font-weight: 200;
  font-size: 1.1rem;
  margin-bottom: 2.4rem;
}
.final-cta__contact {
  margin: 2rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: var(--cream-dim);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--gold);   /* thin gold rule at top */
  background: var(--charcoal);
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter);
  text-align: center;
}
.footer__inner { max-width: var(--maxw); margin: 0 auto; }
.footer__brand {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--cream);
  margin: 0 0 0.5rem;
}
.footer__tag {
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.6rem;
}
.footer__ig { margin: 0 0 1rem; font-size: 0.9rem; }
.footer__ig a { color: var(--cream-dim); transition: color 0.3s var(--ease); }
.footer__ig a:hover { color: var(--gold); }
.footer__copy {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: rgba(250, 246, 238, 0.4);
  margin: 0;
}


/* ============================================================
   MODAL — THE FULL EDIT APPLICATION FORM
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.modal.open { opacity: 1; visibility: visible; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(3px);
}
.modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--charcoal-soft);
  border: 1px solid var(--gold);
  border-radius: 22px;
  padding: clamp(2rem, 5vw, 3rem);
  transform: translateY(16px);
  transition: transform 0.35s var(--ease);
}
.modal.open .modal__panel { transform: translateY(0); }
.modal__close {
  position: absolute;
  top: 1rem; right: 1.2rem;
  background: none;
  border: none;
  color: var(--cream-dim);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}
.modal__close:hover { color: var(--gold); }
.modal__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--cream);
  margin: 0 0 0.6rem;
}
.modal__intro { font-size: 0.95rem; margin-bottom: 1.8rem; }

/* ---------- Form ---------- */
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form__field { display: flex; flex-direction: column; gap: 0.5rem; }
.form__field span {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.form__field input,
.form__field textarea {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  color: var(--cream);
  background: var(--charcoal);
  border: 1px solid var(--gold-dim);
  border-radius: 12px;
  padding: 0.85em 1em;
  transition: border-color 0.3s var(--ease);
  resize: vertical;
}
.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form .btn { margin-top: 0.6rem; }
.form__success {
  text-align: center;
  color: var(--gold);
  font-size: 0.92rem;
  margin: 0.5rem 0 0;
}


/* ============================================================
   MOBILE — show hamburger, hide desktop links
   ============================================================ */
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
}


/* ============================================================
   ACCESSIBILITY — respect reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
