/* ============================================================
   THE EDIT BY SARAH — shared stylesheet
   Refined luxury aesthetic: warm neutrals, elegant serif,
   gold accents, generous negative space.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Colour */
  --ink: #0e0d0b;
  --ink-soft: #1a1712;
  --cream: #f4efe6;
  --cream-2: #ece4d6;
  --sand: #e0d5c4;
  --mushroom: #d3c5b2;
  --taupe: #8f7a63;
  --gold: #a98b5b;
  --gold-light: #c4a878;
  --line: rgba(14, 13, 11, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);
  --white: #fdfaf4;

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  --script: "Great Vibes", "Segoe Script", cursive;

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0.14, 0.2, 1);
}

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

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

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.005em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}

.script {
  font-family: var(--script);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(4rem, 9vw, 8rem);
}

.center { text-align: center; }
.lead { font-size: 1.05rem; max-width: 46ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 1.05rem 2.2rem;
  border: 1px solid var(--ink);
  border-radius: 100px;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  transition: background 0.45s var(--ease), color 0.45s var(--ease),
    border-color 0.45s var(--ease), transform 0.45s var(--ease);
}

.btn--solid {
  background: var(--ink);
  color: var(--white);
}

.btn--solid:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--light {
  border-color: var(--line-light);
  color: var(--white);
}

.btn--light:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn__arrow {
  transition: transform 0.4s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announce {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
  font-weight: 300;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  transition: background 0.4s var(--ease);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.15rem;
}

/* Logo lockup */
.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  color: var(--white);
}
.logo__main {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.28em;
  font-weight: 500;
  padding-left: 0.28em;
}
.logo__script {
  font-family: var(--script);
  font-size: 1.7rem;
  color: var(--gold-light);
  margin-top: -0.15rem;
  align-self: flex-start;
  padding-left: 0.4em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.4rem);
  list-style: none;
}
.nav__links a {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-block: 0.4rem;
  opacity: 0.85;
  transition: opacity 0.3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current="page"] {
  opacity: 1;
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__cta { flex-shrink: 0; }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
}
.nav__toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  background: var(--cream-2);
  min-height: min(78vh, 720px);
}
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(2rem, 5vw, 5rem);
}
.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02;
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
  display: block;
}
.hero__rule {
  width: 62px;
  height: 1px;
  background: var(--ink);
  opacity: 0.4;
  margin: 2rem 0;
}
.hero__text {
  max-width: 34ch;
  margin-bottom: 2.4rem;
  color: rgba(14, 13, 11, 0.78);
}
.hero__media {
  position: relative;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   VALUE PILLARS
   ============================================================ */
.pillars {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.pillar {
  text-align: center;
  padding: clamp(2.4rem, 4vw, 3.4rem) 1.6rem;
  border-left: 1px solid var(--line);
}
.pillar:first-child { border-left: 0; }
.pillar__icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 1.4rem;
  stroke: var(--gold);
  stroke-width: 1.3;
  fill: none;
}
.pillar h3 {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 1rem;
}
.pillar p {
  font-size: 0.92rem;
  color: rgba(14, 13, 11, 0.66);
  max-width: 24ch;
  margin-inline: auto;
}

/* ============================================================
   ABOUT (home preview + about page)
   ============================================================ */
.about { background: var(--cream-2); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.about__text { padding-block: clamp(3.5rem, 8vw, 7rem); }
.about__text .eyebrow { display: block; margin-bottom: 0.8rem; }
.about__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.8rem 0 0.2rem;
}
.about__greeting {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 1.8rem;
}
.about__body p {
  color: rgba(14, 13, 11, 0.76);
  margin-bottom: 1.1rem;
  max-width: 46ch;
}
.about__body p:last-of-type { margin-bottom: 2rem; }

.about__media {
  position: relative;
  align-self: stretch;
  min-height: 500px;
}
/* The signature arched image from the mockup */
.arch {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 50% 50% 0 0 / 32% 32% 0 0;
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   TREATMENTS grid
   ============================================================ */
.treatments {
  background: var(--sand);
}
.treatments__head { margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.treatments__title {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
}
.treatments__title em { font-style: italic; color: var(--gold); }

.tcards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.tcard {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
  isolation: isolate;
}
.tcard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.9s var(--ease);
}
.tcard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(20, 15, 10, 0.82) 0%,
    rgba(20, 15, 10, 0.28) 55%,
    rgba(20, 15, 10, 0.12) 100%
  );
  transition: opacity 0.6s var(--ease);
}
.tcard:hover img { transform: scale(1.06); }
.tcard h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.tcard p {
  font-size: 0.86rem;
  opacity: 0.86;
  margin-bottom: 1rem;
  max-width: 26ch;
}
.tcard__link {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.tcard__link .btn__arrow { transition: transform 0.4s var(--ease); }
.tcard:hover .tcard__link .btn__arrow { transform: translateX(5px); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/cta-texture.svg") center/cover;
  opacity: 0.5;
}
.cta__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-block: clamp(2.6rem, 5vw, 4rem);
}
.cta__title { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
.cta__sub { color: rgba(255, 255, 255, 0.72); margin-top: 0.4rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--mushroom);
  color: var(--ink);
  padding-block: clamp(3rem, 6vw, 5rem) 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 3rem;
}
.footer__badge {
  width: 128px;
  height: 128px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
}
.footer__badge .logo__main { color: var(--ink); font-size: 1rem; letter-spacing: 0.18em; }
.footer__badge .logo__script { color: var(--gold); font-size: 1.3rem; }
.footer__badge small {
  font-size: 0.54rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  opacity: 0.7;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.3rem;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.6rem; }
.footer a { font-size: 0.9rem; opacity: 0.8; transition: opacity 0.3s var(--ease); }
.footer a:hover { opacity: 1; color: var(--gold); }
.footer__contact li {
  font-size: 0.9rem;
  display: flex;
  gap: 0.6rem;
  opacity: 0.85;
}
.footer__social {
  display: flex;
  gap: 0.7rem;
}
.footer__social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(14, 13, 11, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.footer__social a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.footer__social svg { width: 16px; height: 16px; fill: currentColor; }
.footer__bottom {
  border-top: 1px solid rgba(14, 13, 11, 0.18);
  text-align: center;
  padding-block: 1.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.pagehead {
  background: var(--cream-2);
  text-align: center;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.pagehead h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 0.9rem 0 0.6rem;
}
.pagehead h1 em { font-style: italic; color: var(--gold); }
.pagehead p { color: rgba(14, 13, 11, 0.7); max-width: 52ch; margin-inline: auto; }

/* ============================================================
   TREATMENTS PAGE — detail rows
   ============================================================ */
.trow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.trow:nth-child(even) .trow__media { order: -1; }
.trow__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
}
.trow__media img { width: 100%; height: 100%; object-fit: cover; }
.trow h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0.6rem 0 1rem; }
.trow__list { list-style: none; margin-top: 1.5rem; }
.trow__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.trow__list li span:last-child { color: var(--gold); white-space: nowrap; font-family: var(--serif); font-size: 1.15rem; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-group { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.pricing-group__title {
  font-size: 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.pricing-group__title span { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.price-row__name { font-size: 1.05rem; }
.price-row__name small { display: block; font-size: 0.85rem; color: rgba(14, 13, 11, 0.6); margin-top: 0.2rem; }
.price-row__price { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); }
.pricing-note {
  background: var(--cream-2);
  border-left: 2px solid var(--gold);
  padding: 1.4rem 1.6rem;
  font-size: 0.9rem;
  color: rgba(14, 13, 11, 0.72);
  margin-top: 2rem;
}

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { max-width: 780px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: var(--ink);
  padding: 1.6rem 3rem 1.6rem 0;
  position: relative;
  display: flex;
}
.faq__q::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--gold), var(--gold)) center/2px 14px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center/14px 2px no-repeat;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.4s var(--ease);
}
.faq__item.is-open .faq__q::after { transform: translateY(-50%) rotate(135deg); }
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease);
}
.faq__a-inner {
  padding: 0 0 1.7rem;
  color: rgba(14, 13, 11, 0.72);
  max-width: 62ch;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 1.2rem; }
.contact-info__list { list-style: none; margin: 2rem 0; }
.contact-info__list li {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 1rem;
}
.contact-info__list li:last-child { border-bottom: 1px solid var(--line); }
.contact-info__list strong {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  min-width: 90px;
  padding-top: 0.15rem;
}
.contact-info__media { margin-top: 2rem; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius); }
.contact-info__media img { width: 100%; height: 100%; object-fit: cover; }

.form { background: var(--cream-2); padding: clamp(1.8rem, 4vw, 2.8rem); border-radius: var(--radius); }
.form__row { margin-bottom: 1.3rem; }
.form label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  color: rgba(14, 13, 11, 0.7);
}
.form input,
.form select,
.form textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(169, 139, 91, 0.14);
}
.form textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; justify-content: center; }
.form__note { font-size: 0.82rem; color: rgba(14,13,11,0.6); margin-top: 1rem; text-align: center; }
.form__status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  background: rgba(169, 139, 91, 0.12);
  border: 1px solid var(--gold);
  color: var(--ink);
  display: none;
}
.form__status.is-visible { display: block; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; }
  .tcards { grid-template-columns: repeat(2, 1fr); }
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(3) { border-left: 0; }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    background: var(--ink-soft);
    padding: 3rem 2.5rem;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
  }
  .nav.is-open .nav__links { transform: translateX(0); }
  .nav__links a { font-size: 0.9rem; }
  .nav__toggle { display: flex; z-index: 10; }
  .nav__cta { display: none; }

  .hero { grid-template-columns: 1fr; }
  .hero__media { min-height: 380px; order: -1; }
  .about { grid-template-columns: 1fr; }
  .about__media { min-height: 380px; }
  .trow { grid-template-columns: 1fr; }
  .trow:nth-child(even) .trow__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .tcards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; text-align: center; align-items: center; }
}
