/* PS Beauty Salon. One stylesheet, mobile first, no dependencies.
   The logo pink is #E72174. Buttons and links use a slightly deeper shade of the same
   hue (--pink) so that white button text and pink links stay readable (WCAG AA). */

@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-500.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-500-italic.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url(../fonts/work-sans-variable.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --cream: #f6f1ea;
  --sand: #ece3d8;
  --ink: #3a2e27;
  --taupe: #8a7b70;      /* rules and dotted leaders only: too light for small text */
  --taupe-text: #6e6055; /* secondary text, meets AA on cream and sand */
  --line: #d9cec1;
  --pink: #c2185c;       /* Book Now buttons, links, small details */
  --pink-dark: #a3124c;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --gap: clamp(3.5rem, 10vw, 8.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  padding-bottom: 78px; /* room for the mobile action bar */
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
}
img { display: block; max-width: 100%; height: auto; }
p, ul, dl, address, blockquote, figure { margin: 0 0 1.1em; }
address { font-style: normal; }
[id] { scroll-margin-top: 1.5rem; }

/* Type: one big serif, one step down, then small spaced labels */
h1, h2, h3 { margin: 0; font-weight: 500; }
h1, .title {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 7vw + 1rem, 5.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: .5em;
}
.title { font-size: clamp(2.25rem, 4vw + 1rem, 3.5rem); line-height: 1.05; margin-bottom: .4em; }
.statement { font: 500 clamp(1.75rem, 3vw + 1rem, 3rem)/1.18 var(--serif); letter-spacing: -0.01em; max-width: 22em; }
blockquote.statement { font-style: italic; }
blockquote.statement footer { margin-top: .8em; }
.label, blockquote footer {
  font: 500 .75rem/1.4 var(--sans);
  font-style: normal;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--taupe-text);
  margin-bottom: 1.4rem;
}
.lead { font-size: 1.1875rem; max-width: 34em; }
.muted { color: var(--taupe-text); font-size: .95rem; }
.figure { font: 500 4.5rem/1 var(--serif); letter-spacing: -0.02em; margin-bottom: .2em; }

a { color: var(--pink); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s; }
a:hover { color: var(--pink-dark); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 20; background: var(--ink); color: var(--cream); padding: .8rem 1.2rem; }
.skip:focus { left: .5rem; top: .5rem; }

/* [CONFIRM] markers: quiet, but always visible in the text */
.confirm { display: inline; font: 500 .8em/1.5 var(--sans); letter-spacing: .01em; color: var(--ink); border: 1px solid var(--taupe); padding: .05em .4em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Layout */
.wrap { width: min(100% - 2.5rem, 76rem); margin-inline: auto; }
.band { padding-block: var(--gap); }
.band.sand { background: var(--sand); }
.band.first { padding-top: clamp(2rem, 5vw, 4.5rem); }
.measure { max-width: 40rem; }
.cols { display: grid; gap: 2.5rem; margin-bottom: 3rem; }
.stack > * + * { margin-top: 2.5rem; }
.note { border-left: 1px solid var(--ink); padding-left: 1.25rem; max-width: 36em; }

@media (max-width: 51.99rem) { .split > * + * { margin-top: 2.5rem; } }
.pb { padding-bottom: var(--gap); }
.statement .confirm { font-size: .8rem; vertical-align: middle; }

/* Photo frames. Real photos are cropped to these shapes. */
.frame { display: block; overflow: hidden; background: var(--sand); }
.frame .photo { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.frame:hover .photo { transform: scale(1.045); }
.r45 { aspect-ratio: 4 / 5; }
.r34 { aspect-ratio: 3 / 4; }
.r32 { aspect-ratio: 3 / 2; }
.r11 { aspect-ratio: 1; }
.photo-small { width: 62%; margin-left: auto; }

/* Buttons: pink is for Book Now only */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: .5rem 1.75rem;
  background: var(--pink); color: #fff;
  border: 1px solid var(--pink); border-radius: 2px;
  font: 500 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--pink-dark); border-color: var(--pink-dark); color: #fff; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 0 var(--ink); transition: box-shadow .45s var(--ease), color .3s; }
.btn-quiet:hover { background: transparent; border-color: var(--ink); color: var(--cream); box-shadow: inset 0 -4rem 0 0 var(--ink); }
.btn-small { min-height: 44px; padding-inline: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 2rem 1.5rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 9; background: var(--cream); border-bottom: 1px solid var(--line); transition: transform .5s var(--ease); }
.site-header.hide { transform: translateY(-101%); }
.header-inner { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "logo book" "nav nav"; align-items: center; gap: .4rem 1rem; padding-top: .9rem; }
.logo { grid-area: logo; width: fit-content; display: flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font: 500 1.2rem/1 var(--serif); letter-spacing: -0.01em; white-space: nowrap; }
.logo:hover { color: var(--ink); }
.logo img { width: auto; height: 42px; }
.footer-logo { width: auto; height: 132px; margin-bottom: 2.5rem; }
.header-book { grid-area: book; }
.main-nav { grid-area: nav; }
.main-nav ul { list-style: none; display: flex; justify-content: space-between; margin: 0; padding: 0; }
.main-nav a { display: block; padding: .95rem 0; color: var(--ink); font: 500 .69rem/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; text-decoration: none; }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .55rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.main-nav a:hover { color: var(--pink); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Home hero */
.hero { display: grid; gap: 1.75rem; }
.hero h1 { margin: 0; }
.hero-media { position: relative; margin-bottom: 2.5rem; }
.hero-media .inset { position: absolute; right: -0.5rem; bottom: -2.5rem; width: 38%; border: 8px solid var(--cream); will-change: transform; }

/* Band of treatment names that slides sideways as the page scrolls */
.marquee { overflow: hidden; padding-block: clamp(1.5rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.marquee-track { white-space: nowrap; font: 500 clamp(3rem, 9vw, 7rem)/1.1 var(--serif); letter-spacing: -0.02em; color: var(--taupe); will-change: transform; }
.hero .actions { margin-top: 1.75rem; }

/* Treatment index: large serif links on thin rules */
.index { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.index a { display: block; padding: 1.05rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font: 500 clamp(1.6rem, 2vw + 1rem, 2.25rem)/1.15 var(--serif); letter-spacing: -0.01em; text-decoration: none; transition: color .2s, padding-left .3s; }
.index a { position: relative; }
.index a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.index a:hover { color: var(--pink); padding-left: .6rem; }
.index a:hover::after { transform: scaleX(1); }

.index.services a { display: grid; gap: .3rem; padding-block: 1.4rem; }
.index .sub { font: 400 1rem/1.5 var(--sans); letter-spacing: 0; color: var(--taupe-text); }
.text .label a { color: inherit; text-decoration: none; }
.text .label a:hover { color: var(--pink); }

/* Instagram: tight square grid */
.insta { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }

/* Hours and details */
.hours div, .details div { display: flex; flex-wrap: wrap; gap: .1rem 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.hours div:first-child, .details div:first-child { border-top: 1px solid var(--line); }
.hours dt, .details dt { min-width: 7.5rem; font-weight: 500; }
.hours dd, .details dd { margin: 0; flex: 1 1 11rem; }
.plain { list-style: none; padding: 0; }
.plain li { padding: .2rem 0; }

/* Price list, set like a printed menu */
.jump { list-style: none; padding: 0; margin: 2.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0 1.6rem; }
.jump a { display: inline-block; padding: .8rem 0; color: var(--ink); font: 500 .75rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; box-shadow: inset 0 -1px 0 var(--taupe); }
.jump a:hover { color: var(--pink); box-shadow: inset 0 -1px 0 var(--pink); }
.menu-section { border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 6vw, 5rem); }
.menu-group + .menu-group { margin-top: 3rem; }
.menu { list-style: none; padding: 0; margin: 0; }
.menu li { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.menu-group .label { margin-bottom: .6rem; }
.menu .row { display: flex; align-items: baseline; gap: .7rem; }
.menu .name { max-width: 78%; }
.menu .dots { flex: 1; min-width: 1.5rem; border-bottom: 1px dotted var(--taupe); transform: translateY(-.28em); }
.menu .dots { transition: border-color .3s; }
.menu li:hover .dots { border-bottom-color: var(--pink); }
.menu .price { white-space: nowrap; color: var(--taupe-text); font-variant-numeric: tabular-nums; }
.menu .tbc { font-weight: 400; font-size: .9rem; color: var(--taupe-text); }
.menu .sub, .menu .row-note { display: block; max-width: 34em; font-size: .92rem; line-height: 1.5; }
.menu .sub { color: var(--taupe-text); }
.menu .row-note { margin-top: .35rem; }
.closing { margin-top: 2.5rem; font-size: 1.1875rem; }
.main .note { margin-top: 2.5rem; }

/* Prose pages */
.prose h2 { font: 500 1.9rem/1.15 var(--serif); letter-spacing: -0.01em; margin: 2.2em 0 .5em; }

/* Map and form */
.map { display: block; width: 100%; height: 24rem; border: 1px solid var(--line); margin-bottom: 1rem; }
.form { max-width: 34rem; }
.form label { display: block; margin-bottom: .35rem; font: 500 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-text); }
.form input, .form textarea { width: 100%; padding: .8rem .9rem; font: inherit; color: var(--ink); background: transparent; border: 1px solid var(--taupe-text); border-radius: 0; }

/* Footer: quiet and plain */
.site-footer { border-top: 1px solid var(--line); padding-block: 3.5rem 1.5rem; font-size: .98rem; }
.footer-grid { display: grid; gap: 2.5rem; }
.site-footer .btn { margin-top: 1rem; }
.copyright { margin: 3rem auto 0; color: var(--taupe-text); font-size: .85rem; }

/* Mobile action bar: Book and Call within thumb reach */
.mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 10; display: flex; gap: .6rem; padding: .7rem 1.25rem calc(.7rem + env(safe-area-inset-bottom)); background: var(--cream); border-top: 1px solid var(--line); }
.mobile-bar .btn { flex: 1; }

/* ---------- Motion ----------
   Load-in animations run once. Scroll animations only apply when site.js has
   added .js, and everything is switched off for visitors who prefer reduced motion. */
@keyframes rise { from { opacity: 0; transform: translateY(2.5rem); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes settle { from { transform: scale(1.18); } to { transform: none; } }
.site-header { animation: fade .8s both; }
.band.first h1 { animation: rise 1.1s var(--ease) both; }
.band.first .lead, .band.first .actions, .band.first .jump, .band.first .cols, .hero-body, .band.first .text > :not(h1) { animation: rise 1.1s var(--ease) .25s both; }
.load-img { animation: wipe 1.4s cubic-bezier(.7, 0, .2, 1) .15s both; }
.load-img .photo { animation: settle 2.2s var(--ease) .15s both; }
.hero-media .inset { animation: fade 1.2s .9s both; }

.js .reveal { opacity: 0; transform: translateY(2rem); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s cubic-bezier(.7, 0, .2, 1); }
.js .reveal-img .photo { transform: scale(1.18); }
.js .reveal-img.in { clip-path: inset(0); }
.js .reveal-img.in .photo { transform: none; }
.js .reveal-img.in:hover .photo { transform: scale(1.045); }
.js .stagger > * { opacity: 0; transform: translateY(1.25rem); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .stagger.in > * { opacity: 1; transform: none; }

@media (min-width: 52rem) {
  body { padding-bottom: 0; font-size: 1.125rem; }
  .mobile-bar { display: none; }
  .wrap { width: min(100% - 6rem, 76rem); }
  .header-inner { grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav book"; gap: 2.5rem; padding-block: 1.1rem; }
  .logo { font-size: 1.5rem; gap: .7rem; }
  .btn-small { padding-inline: 1.3rem; }
  .logo img { height: 54px; }
  .main-nav ul { justify-content: flex-end; gap: 2.25rem; }
  .main-nav a { padding: .8rem 0; font-size: .74rem; letter-spacing: .13em; }

  /* Asymmetric, editorial grids */
  .hero { grid-template-columns: 5fr 6fr; grid-template-areas: "title photo" "body photo"; column-gap: clamp(3rem, 7vw, 7rem); row-gap: 2rem; }
  .hero h1 { grid-area: title; align-self: end; }
  .hero .hero-body { grid-area: body; }
  .hero .hero-media { grid-area: photo; margin-bottom: 0; }
  .hero-media .inset { right: auto; left: -18%; bottom: -3.5rem; width: 36%; border-width: 12px; }

  .split { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 2rem; align-items: start; }
  .split > .side { grid-column: 1 / span 3; }
  .split > .main { grid-column: 5 / -1; }
  .split > .side-photo { grid-column: 1 / span 4; grid-row: 1; margin-top: 7rem; }
  .split > .main-wide { grid-column: 6 / -1; grid-row: 1; }
  .split > .text { grid-column: 1 / span 6; }
  .split > .tall { grid-column: 8 / -1; grid-row: 1 / span 2; }
  .split > .lower { grid-column: 3 / span 3; margin-top: 4rem; }
  .split > .left { grid-column: 1 / span 5; }
  .split > .right { grid-column: 7 / -1; margin-top: 5rem; }
  .photo-small { width: 100%; }

  .cols { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .insta { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .index.services a { grid-template-columns: 5fr 7fr; align-items: baseline; gap: 2rem; }
  .menu-section { display: grid; grid-template-columns: 4fr 8fr; column-gap: 2rem; }
  .menu-head { position: sticky; top: 7rem; align-self: start; padding-right: 2rem; }
  .footer-grid { grid-template-columns: 4fr 5fr 3fr; gap: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .main-nav, .header-book, .mobile-bar, .map, .form, .jump { display: none; }
  body { padding: 0; }
  .js .reveal, .js .stagger > * { opacity: 1; transform: none; }
  .js .reveal-img { clip-path: none; }
  .site-header { position: static; }
}
