/* =========================================================
   Esthetics With Jess — Brand Stylesheet
   Palette  : Ink #272727 · White · Sage #99B6B3 · Blush #CBBAC1 · Warm Grey #B4B4B4
   Type     : Playfair Display (display/serif) · Quicksand (body/sans)
   ========================================================= */

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

:root {
  --ink:        #272727;
  --white:      #ffffff;
  --sage:       #99b6b3;
  --sage-soft:  #c5d3d1;
  --sage-wash:  #e9efee;
  --blush:      #cbbac1;
  --blush-wash: #f3edef;
  --warm-grey:  #b4b4b4;
  --cream:      #faf8f6;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max:    1240px;
  --gutter: clamp(20px, 5vw, 56px);

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 24px;

  --shadow-soft: 0 8px 30px rgba(39, 39, 39, 0.06);
  --shadow-lift: 0 18px 50px rgba(39, 39, 39, 0.10);

  --ease: cubic-bezier(.2,.8,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease), opacity .25s var(--ease); }
a:hover { color: var(--sage); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.1rem; letter-spacing: 0.02em; }
p  { margin: 0 0 1em; }
.lede { font-size: 1.15rem; color: #4a4a4a; max-width: 58ch; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 1rem;
}
.eyebrow--blush { color: var(--blush); }
.eyebrow--ink   { color: var(--ink); }

em, .italic { font-style: italic; font-family: var(--serif); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 80px) 0; }
.section--sage  { background: var(--sage-wash); }
.section--blush { background: var(--blush-wash); }
.section--cream { background: var(--cream); }
.section--ink   { background: var(--ink); color: #eee; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.center      { text-align: center; }
.max-prose   { max-width: 62ch; margin-left: auto; margin-right: auto; }

.divider {
  display: block;
  width: 64px;
  height: 1px;
  background: var(--sage);
  margin: 1.25rem auto;
  border: 0;
}
.divider--left { margin-left: 0; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 34px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  transition: all .35s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--sage { background: var(--sage); border-color: var(--sage); color: #fff; }
.btn--sage:hover { background: transparent; color: var(--sage); }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn--sm { padding: 12px 24px; font-size: 0.72rem; }

.link-arrow {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.link-arrow:hover { color: var(--sage); border-color: var(--sage); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid #eee;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav__logo img, .nav__logo svg { height: 56px; width: 56px; }
.nav__links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.nav__links a:hover,
.nav__links a.is-active { border-color: var(--sage); color: var(--ink); }
.nav__cta { display: inline-flex; }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--ink);
  margin: 6px 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    padding: 24px var(--gutter) 32px;
    gap: 20px;
    border-bottom: 1px solid #eee;
  }
  .nav.is-open .nav__cta {
    display: inline-flex;
    position: absolute;
    top: calc(100% + 220px);
    left: var(--gutter);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--sage-wash);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero__copy h1 { margin-bottom: 0.3em; }
.hero__copy p  { font-size: 1.2rem; color: #444; max-width: 52ch; margin-bottom: 2rem; }
.hero__visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { aspect-ratio: 5 / 4; }
}

/* ---------- Page hero (secondary pages) ---------- */
.page-hero {
  background: var(--sage-wash);
  padding: clamp(72px, 12vw, 140px) 0 clamp(48px, 6vw, 80px);
  text-align: center;
}
.page-hero h1 { margin-top: 0.5rem; }
.page-hero p  { max-width: 58ch; margin: 0 auto; color: #444; }

/* ---------- Service index (clickable block) ---------- */
.service-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid #ece8e4;
  border-bottom: 1px solid #ece8e4;
}
.service-strip a {
  display: block;
  padding: 34px 20px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  border-right: 1px solid #ece8e4;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.service-strip a:last-child { border-right: 0; }
.service-strip a:hover { background: var(--sage-wash); color: var(--ink); }
@media (max-width: 900px) {
  .service-strip { grid-template-columns: repeat(2, 1fr); }
  .service-strip a { border-bottom: 1px solid #ece8e4; }
  .service-strip a:nth-child(odd) { border-right: 1px solid #ece8e4; }
  .service-strip a:nth-child(even) { border-right: 0; }
}

/* ---------- Card grids ---------- */
.grid {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card__media { aspect-ratio: 4 / 3; }
.card__body  { padding: 28px 28px 32px; }
.card h3 { margin-bottom: .4rem; }
.card p  { color: #555; margin-bottom: 1.2rem; }

/* ---------- About block (image + copy) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split--reverse { grid-template-columns: 1.1fr 1fr; }
.split--reverse .split__media { order: 2; }
@media (max-width: 900px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}
.split__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ---------- Service detail list (treatments) ---------- */
.treatment {
  padding: 32px 0;
  border-bottom: 1px solid #ece8e4;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(20px, 4vw, 60px);
  align-items: start;
}
.treatment:first-of-type { border-top: 1px solid #ece8e4; }
.treatment h3 { margin: 0 0 .2rem; }
.treatment .meta {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
}
.treatment p:last-child { margin-bottom: 0; }
.treatment ul { padding-left: 1.1em; margin: .5rem 0 0; }
.treatment ul li { margin-bottom: .7em; }
@media (max-width: 760px) {
  .treatment { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Reviews ---------- */
.review {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius-lg);
  padding: 40px 36px 32px;
  position: relative;
}
.review::before {
  content: "\201C";
  position: absolute;
  top: -14px;
  left: 28px;
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--sage);
  background: var(--cream);
  padding: 0 10px;
}
.review p   { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: #333; }
.review cite{ display: block; margin-top: 1.2rem; font-style: normal;
              font-family: var(--sans); font-weight: 500; letter-spacing: 0.22em;
              text-transform: uppercase; font-size: 0.78rem; color: var(--ink); }

/* ---------- Placeholder (branded image stand-in) ---------- */
.ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(153,182,179,0.32), rgba(203,186,193,0.32)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.35) 0 2px, transparent 2px 22px),
    var(--sage-wash);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  position: relative;
}
.ph::after {
  content: "";
  position: absolute; inset: 16px;
  border: 1px solid rgba(39,39,39,0.25);
  border-radius: calc(var(--radius-lg) - 4px);
  pointer-events: none;
}
.ph span { display: block; max-width: 28ch; line-height: 1.7; }
.ph--blush {
  background:
    linear-gradient(135deg, rgba(203,186,193,0.36), rgba(153,182,179,0.22)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.35) 0 2px, transparent 2px 22px),
    var(--blush-wash);
}
.ph--ink {
  background:
    linear-gradient(135deg, rgba(39,39,39,0.8), rgba(39,39,39,0.55)),
    var(--ink);
  color: #f3edef;
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: clamp(64px, 10vw, 110px) var(--gutter);
  background: var(--ink);
  color: #fff;
}
.cta-band h2 { color: #fff; font-family: var(--serif); margin-bottom: .6rem; }
.cta-band p  { color: #ccc; max-width: 52ch; margin: 0 auto 2rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #cfcfcf;
  padding: 72px 0 28px;
  font-size: 0.92rem;
}
.site-footer h4 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #fff;
  margin-bottom: 18px;
}
.site-footer a { color: #cfcfcf; }
.site-footer a:hover { color: var(--sage); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand p { color: #aaa; max-width: 36ch; }
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li { margin-bottom: 10px; }
.footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #3a3a3a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: #888;
  letter-spacing: 0.08em;
}
.footer__bottom a { color: #888; }
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid #555;
  border-radius: 999px;
  transition: all .3s var(--ease);
}
.social:hover { background: var(--sage); border-color: var(--sage); color: #fff; }
.social svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.hidden { display: none; }

/* ---------- Reveal-on-scroll (progressive enhancement, JS) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: all .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
