/* Below-fold styles. Critical CSS (variables, reset, nav, hero) is inlined in <style> in index.html for render performance. */

/* ==========================================================================
   02 · PHILOSOPHY
   ========================================================================== */
.philosophy {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) var(--pad) clamp(3rem, 8vh, 6rem);
}

.philosophy__media { align-self: end; }

.arch {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4.2;
  border-radius: 50vw 50vw 0 0;
  background: var(--blush);
}
.arch img {
  position: absolute;
  top: -12%;
  left: 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  will-change: transform;
}

.philosophy__caption { display: block; margin-top: 1.1rem; }

.manifesto {
  font-size: clamp(2.5rem, 5.2vw, 5rem);
  max-width: 11em;
  margin-bottom: clamp(1.75rem, 4vh, 3rem);
}

.philosophy__sig {
  margin-top: clamp(1.5rem, 3vh, 2.5rem);
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
}

@media (max-width: 880px) {
  .philosophy { grid-template-columns: 1fr; }
  .philosophy__media { order: 2; max-width: 26rem; }
}

/* ==========================================================================
   03 · SERVICES & PRICES
   ========================================================================== */
.services {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(2.5rem, 6vw, 7rem);
  align-content: center;
  padding: clamp(5rem, 14vh, 9rem) var(--pad);
}

.services__intro { max-width: 22em; margin-top: 1.5rem; color: var(--ink-55); }

.price-list { margin-top: 0.5rem; }

.price-row {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.4rem, 3vh, 2.2rem) 0;
}
.price-row--end { padding: 0; }

.price-row__rule {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink-14);
  transform-origin: left center;
}

.price-row__name h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 500;
}
.price-row__name p {
  margin-top: 0.3rem;
  font-size: 0.95rem;
  color: var(--ink-55);
  max-width: 30em;
}

.price-row__price {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  color: var(--gold);
  white-space: nowrap;
}

.services__note {
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink-55);
}
.services__note + .services__note { margin-top: 0.4rem; }

@media (max-width: 880px) {
  .services { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ==========================================================================
   04 · THE RITUAL — pinned crossfade
   ========================================================================== */
.ritual {
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
}

.ritual__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 1rem) var(--pad) 4rem;
}

.ritual__stage { position: relative; flex: 0 0 auto; }

.ritual__step { max-width: 38rem; padding-top: clamp(2rem, 6vh, 4rem); }

/* JS-driven layout: steps stack and crossfade */
.js .ritual__stage { min-height: clamp(20rem, 52vh, 30rem); }
.js .ritual__step {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.ritual__num {
  display: block;
  position: absolute;
  top: -0.05em;
  right: -0.1em;
  z-index: 0;
  font-family: var(--serif);
  font-size: clamp(9rem, 24vw, 19rem);
  line-height: 0.8;
  color: rgba(217, 166, 160, 0.16);
  pointer-events: none;
  will-change: transform;
}

.ritual__step h3 {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.ritual__step p {
  position: relative;
  z-index: 1;
  max-width: 30em;
  color: var(--bone-55);
}

.ritual__progress {
  margin-top: clamp(2.5rem, 7vh, 4.5rem);
  height: 1px;
  background: var(--bone-14);
}
.ritual__bar {
  display: block;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
}

/* static fallback (no JS, or reduced motion) */
.reduced .ritual__step { position: static; width: auto; opacity: 1 !important; visibility: visible !important; }
.reduced .ritual__stage { min-height: 0; }
.reduced .ritual__num { font-size: clamp(4rem, 10vw, 8rem); position: static; display: inline-block; }

/* ==========================================================================
   05 · STYLISTS
   ========================================================================== */
.stylists {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(5rem, 14vh, 9rem) var(--pad);
}

.stylists__head { margin-bottom: clamp(2.5rem, 7vh, 5rem); }

.stylists__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

/* editorial asymmetry */
.stylist:nth-child(2) { margin-top: clamp(2rem, 8vh, 6rem); }
.stylist:nth-child(3) { margin-top: clamp(1rem, 4vh, 3rem); }

.duotone {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--blush);
  margin-bottom: 1.4rem;
}
.duotone img {
  position: absolute;
  top: -6%;
  left: 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(1.12);
  mix-blend-mode: multiply;
  will-change: transform;
}
.duotone--a img { object-position: 18% 30%; }
.duotone--b img { object-position: 52% 62%; }
.duotone--c img { object-position: 84% 42%; }

.stylist__role { display: block; margin-bottom: 0.6rem; }

.stylist h3 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 500;
  margin-bottom: 0.7rem;
}

.stylist p:not(.micro) { font-size: 0.98rem; color: var(--ink-55); max-width: 26em; }

@media (max-width: 880px) {
  .stylists__grid { grid-template-columns: 1fr; gap: 3rem; }
  .stylist:nth-child(2), .stylist:nth-child(3) { margin-top: 0; }
  .duotone { max-width: 24rem; }
}

/* ==========================================================================
   06 · KIND WORDS — pinned quotes
   ========================================================================== */
.quotes {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 1rem) var(--pad) 4rem;
  overflow: hidden;
}

.quotes .label { align-self: flex-start; }

.quotes__stage { position: relative; }

.quote { max-width: 46rem; padding-top: clamp(1.5rem, 4vh, 3rem); }

.js .quotes__stage { min-height: clamp(18rem, 46vh, 26rem); }
.js .quote {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.review-stars {
  color: #B08D57;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.7rem, 3.8vw, 3.4rem);
  font-weight: 400;
  line-height: 1.18;
}

.quote cite {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
}

.reduced .quote { position: static; width: auto; opacity: 1 !important; visibility: visible !important; }
.reduced .quotes__stage { min-height: 0; }

/* ==========================================================================
   07 · THE STUDIO — full-bleed parallax
   ========================================================================== */
.studio {
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--bone);
}

.studio__media {
  position: absolute;
  inset: 0;
}
.studio__media img {
  position: absolute;
  top: -12%;
  left: 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  will-change: transform;
}
.studio__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(8deg, rgba(22, 21, 26, 0.72) 0%, rgba(22, 21, 26, 0.25) 45%, rgba(22, 21, 26, 0.05) 75%);
}

.studio__caption {
  position: relative;
  z-index: 1;
  padding: var(--pad);
  max-width: 44rem;
}
.studio__caption p:not(.micro) { color: var(--bone-55); max-width: 34em; margin-top: 1.5rem; }

/* ==========================================================================
   08 · BOOK — CTA / contact / hours / areas
   ========================================================================== */
.book {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2.5rem, 6vh, 4.5rem);
  background: var(--ink);
  color: var(--bone);
  padding: clamp(5rem, 14vh, 8rem) var(--pad) 2rem;
  border-top: 1px solid var(--bone-14);
}

.book__cta h2 { max-width: 13em; }
.book__cta h2 em { color: var(--blush); }

.book__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: clamp(1.75rem, 4vh, 3rem);
}
.book__aside {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--bone-55);
}

.book__rule {
  display: block;
  height: 1px;
  background: var(--bone-14);
  transform-origin: left center;
}

.book__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}

.book__col .label { margin-bottom: 1rem; }
.book__col p { color: var(--bone-55); font-size: 0.98rem; }
.book__soft { display: inline-block; margin-top: 0.8rem; font-style: italic; font-family: var(--serif); }

.book__legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--bone-14);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-55);
}

@media (max-width: 720px) {
  .book__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- SplitText line masks ---------- */
.manifesto__line { will-change: transform; }

/* ---------- small screens ---------- */
@media (max-width: 420px) {
  :root { --pad: 1.1rem; }
  .hero__title { font-size: 3rem; }
  .price-row { flex-direction: column; gap: 0.4rem; }
}
