/* ================================================================
   ATELIER STRAND (sample site) — monochrome editorial
   Ink #111 on paper #F6F5F2 · hairline rules · Playfair + Inter
   ================================================================ */

:root {
  --paper: #F6F5F2;
  --ink: #111111;
  --ink-60: rgba(17, 17, 17, .62);
  --ink-30: rgba(17, 17, 17, .3);
  --line: rgba(17, 17, 17, .16);
  --white: #F6F5F2;
  --white-60: rgba(246, 245, 242, .62);
  --white-line: rgba(246, 245, 242, .22);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pad: clamp(20px, 4vw, 56px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* NOTE: no `scroll-behavior: smooth` here — it double-animates against Lenis
   and can deadlock programmatic scrolling. Lenis handles smoothing. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth, html.lenis { scroll-behavior: auto !important; }

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

body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* 3D scissors — scoped to the hero, never follows the page down */
#bg3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
main { position: relative; z-index: 1; }
.hero > #bg3d { z-index: 2; } /* scissors sit above the reveal, below the intro phrase */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

/* all photography reads monochrome */
img { filter: grayscale(1) contrast(1.04); }

.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }

h1, h2, h3 { font-weight: 500; line-height: 1.05; }
h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -.01em;
}
h2 em { font-style: italic; }

.label {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 1.4rem;
}

.uline { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.uline:hover { opacity: .6; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1rem 2.2rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .25s ease, color .25s ease, opacity .25s ease;
}
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: transparent; color: var(--ink); }
.btn--solid:disabled { opacity: .35; cursor: not-allowed; background: var(--ink); color: var(--paper); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.btn--line:disabled { opacity: .35; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem var(--pad);
  color: #fff;
  mix-blend-mode: difference;
}
.nav:has(.nav__links.is-open) { mix-blend-mode: normal; color: #F6F5F2; }
.nav__brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .14em;
  display: flex; align-items: baseline; gap: .7rem;
}
.nav__brand span { font-family: var(--sans); font-size: .72rem; font-weight: 400; letter-spacing: .1em; opacity: .7; }
.nav__links { display: flex; gap: 2.2rem; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.nav__links a { opacity: .75; transition: opacity .2s ease; padding: .3rem 0; }
.nav__links a:hover { opacity: 1; }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__book {
  font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: .15rem;
  white-space: nowrap;
  transition: opacity .2s ease;
}
.nav__book i { font-style: normal; padding: 0 .15rem; }
.nav__book:hover { opacity: .6; }
.nav__burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
}
.nav__burger span { display: block; height: 1.5px; width: 24px; margin-inline: auto; background: currentColor; transition: transform .25s ease; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    inset: 0;
    background: #111;
    color: #F6F5F2;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 1.1rem;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__burger { display: flex; }
  .nav__brand { font-size: .95rem; letter-spacing: .1em; }
  .nav__brand span { display: none; }
  .nav__book { font-size: .7rem; }
}

/* ---------- hero (scroll-to-open) ---------- */
.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background: #adadad; /* matched to the portrait's wall */
}

/* header portrait — full-bleed against the left end, spans the whole header */
.hero__photo {
  position: absolute;
  left: 0;
  top: 0;
  /* oversized on purpose: the shoulder area falls below the header's own
     bottom edge, so the fabric is cut by the fold — no visible fade on it */
  height: 135%;
  width: auto;
  z-index: 0;
  /* full image width — the hair keeps its natural edge against its own wall;
     only the outer wall strip (rightmost ~12%, past the hair) fades into the
     matched background, so the blend is invisible */
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 87%, transparent 99.5%);
  mask-image: linear-gradient(90deg, #000 0, #000 87%, transparent 99.5%);
}
/* tall / narrow viewports: the full-width photo would sit under the text —
   ghost it instead of cropping the hair silhouette */
@media (max-aspect-ratio: 5/4), (max-width: 760px) {
  .hero__photo { opacity: .45; }
}

/* intro overlay — flies apart on scroll */
.hero__intro {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--pad);
  pointer-events: none;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.9rem, 9.5vw, 8.5rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: .01em;
  color: var(--ink);
}
.hero__word { display: block; overflow: hidden; will-change: transform; }
.hero__word i { display: inline-block; font-style: normal; }
.hero__word--serif i { font-style: italic; font-weight: 400; font-size: .46em; letter-spacing: .05em; }
.hero__hint {
  margin-top: 1.6rem;
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-60);
}
[data-fly] { will-change: transform; }

/* the original head — spreads open from the centre as you scroll */
.hero__reveal {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  padding: 16vh var(--pad) 10vh;
  clip-path: inset(50% 50%);
  opacity: 0;
  will-change: clip-path, opacity;
}
.hero__reveal > *:not(.hero__photo) { position: relative; z-index: 1; }
.hero__eyebrow {
  font-size: .78rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 3rem;
}
.hero__brand {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 12.5vw, 11.5rem);
  font-weight: 500;
  line-height: .92;
  letter-spacing: .01em;
}
.hero__bword { display: block; }
.hero__bword--indent { padding-right: clamp(2rem, 12vw, 14rem); }
.hero__bword--serif { font-style: italic; font-weight: 400; font-size: .42em; letter-spacing: .05em; }
.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 2rem 3rem;
  margin-top: 4rem;
}
.hero__sub { max-width: 44ch; color: var(--ink-60); font-size: 1.02rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
/* keep the foot clear of the full-bleed portrait on mid-size screens */
.hero__reveal .hero__foot { max-width: 48vw; justify-content: flex-end; }
@media (max-width: 760px) { .hero__reveal .hero__foot { max-width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .hero__intro { display: none; }
  .hero__reveal { clip-path: none; opacity: 1; }
}

/* floating real objects */
.float {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(17, 17, 17, .22);
  will-change: transform;
}
.float img { width: 100%; height: 100%; object-fit: cover; }
.float--scissors { width: clamp(140px, 17vw, 250px); aspect-ratio: 4 / 5; right: 7%; top: 12%; }
.float--comb     { width: clamp(110px, 13vw, 190px); aspect-ratio: 3 / 4; left: 24%; bottom: 2%; }
.float--shampoo  { width: clamp(120px, 15vw, 220px); aspect-ratio: 3 / 4; left: 58%; top: 6%; }
@media (max-width: 900px) {
  .float--shampoo { display: none; }
  .float--scissors { right: 4%; top: 21%; }
  .float--comb { left: auto; right: 8%; bottom: 6%; }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 1.1rem 0;
  background: var(--paper);
}
.marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  align-items: baseline;
  animation: marquee 30s linear infinite;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
}
.marquee__track i { font-style: normal; color: var(--ink-30); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- sections ---------- */
.section { padding: clamp(6rem, 12vh, 10rem) var(--pad); max-width: 1500px; margin-inline: auto; }

/* text reveal helpers (motion.js animates; these are safe defaults) */
.reveal-line, .reveal-lines { opacity: 1; }

/* ---------- about ---------- */
.about {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.about__media { position: relative; }
.mask { overflow: hidden; position: relative; }
.mask img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.about__media > .mask:first-child { aspect-ratio: 4 / 4.6; }
.about__inset {
  position: absolute;
  width: 46%;
  aspect-ratio: 3 / 4;
  right: -8%;
  bottom: -12%;
  border: 6px solid var(--paper);
  box-shadow: 0 24px 60px rgba(17, 17, 17, .25);
}
.about__copy { padding-top: 1rem; }
.about__copy h2 { margin-bottom: 1.8rem; }
.about__copy p { color: var(--ink-60); max-width: 52ch; margin-bottom: 1.1rem; }
.about__facts {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}
.about__facts dt {
  font-size: .68rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-60); margin-bottom: .5rem;
}
.about__facts dd { font-size: .92rem; line-height: 1.55; }
.about__facts a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) {
  .about { grid-template-columns: 1fr; }
  .about__inset { right: 4%; }
  .about__facts { grid-template-columns: 1fr 1fr; }
}

/* ---------- craft (pinned) ---------- */
.craft { background: #111; color: var(--white); }
.craft__pin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 7rem);
  padding: 0 var(--pad);
  max-width: 1500px;
  margin-inline: auto;
}
.craft__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.craft__stage::before {
  content: "";
  position: absolute;
  inset: auto;
  width: min(30vw, 430px);
  height: min(30vw, 430px);
  border: 1px solid var(--white-line);
  border-radius: 50%;
}
.craft__img {
  position: absolute;
  width: min(24vw, 340px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  opacity: 0;
  transform: scale(.92) rotate(-4deg);
  transition: opacity .5s ease, transform .6s ease;
}
.craft__img img { width: 100%; height: 100%; object-fit: cover; }
.craft__img.is-active { opacity: 1; transform: scale(1) rotate(0deg); }
.craft__count {
  position: absolute;
  bottom: 12%;
  font-size: .72rem;
  letter-spacing: .3em;
  color: var(--white-60);
}
.craft__count b { color: var(--white); font-weight: 500; }
.craft__panels { padding: 10vh 0 14vh; }
.craft__panel { min-height: 68svh; display: flex; flex-direction: column; justify-content: center; }
.craft__panel .label { color: var(--white-60); }
.craft__panel h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  margin-bottom: 1.4rem;
}
.craft__panel p { color: var(--white-60); max-width: 46ch; }
@media (max-width: 860px) {
  .craft__pin { grid-template-columns: 1fr; }
  .craft__stage { height: 52svh; position: sticky; top: 0; background: #111; z-index: 1; }
  .craft__img { width: min(46vw, 300px); }
  .craft__panel { min-height: 52svh; justify-content: flex-start; padding-top: 3vh; }
  .craft__panels { padding-top: 4vh; }
}

/* ---------- services / menu ---------- */
.services__head { max-width: 720px; margin-bottom: 4rem; }
.services__head h2 { margin-bottom: 1.6rem; }
.services__note { color: var(--ink-60); }
.menu { border-top: 1px solid var(--ink); }
.menu__group { padding: 2.4rem 0 1rem; border-bottom: 1px solid var(--line); }
.menu__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
}
.menu__row {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: .85rem 0;
}
.menu__row + .menu__row { border-top: 1px solid rgba(17, 17, 17, .07); }
.menu__name { font-weight: 500; font-size: .98rem; }
.menu__note { display: block; font-size: .8rem; color: var(--ink-60); font-weight: 400; margin-top: .15rem; }
.menu__dots { flex: 1; border-bottom: 1px dotted var(--ink-30); transform: translateY(-5px); }
.menu__price { font-family: var(--serif); font-size: 1.05rem; white-space: nowrap; }
.menu__price small { font-family: var(--sans); font-size: .7rem; color: var(--ink-60); letter-spacing: .08em; margin-right: .3rem; }

/* ---------- gallery ---------- */
.gallery h2 { margin-bottom: 3rem; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2.4rem);
  align-items: start;
}
.gallery__grid .mask { aspect-ratio: 3 / 4; }
.gallery__grid .mask:nth-child(2) { margin-top: 3.5rem; }
.gallery__grid .mask:nth-child(3) { margin-top: 7rem; }
.gallery__grid figcaption {
  position: static;
  font-size: .78rem;
  color: var(--ink-60);
  padding-top: .7rem;
  letter-spacing: .04em;
}
@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__grid .mask:nth-child(2), .gallery__grid .mask:nth-child(3) { margin-top: 0; }
}

/* ---------- portrait break ---------- */
.break {
  position: relative;
  padding: clamp(7rem, 16vh, 12rem) var(--pad);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.break__copy { position: relative; z-index: 2; }
.break__copy h2 { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: 2.2rem; }
.break__img {
  position: absolute;
  width: clamp(160px, 22vw, 330px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  left: 6%;
  top: 12%;
  z-index: 1;
  box-shadow: 0 30px 70px rgba(17, 17, 17, .2);
}
.break__img--right { left: auto; right: 6%; top: auto; bottom: 10%; }
.break__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .break__img { opacity: .35; }
}

/* ---------- booking ---------- */
.booking-section { padding-bottom: clamp(6rem, 12vh, 10rem); }
.demo-tag {
  display: inline-block;
  border: 1px solid var(--ink-30);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .12rem .55rem;
  vertical-align: 2px;
}
.booking { border: 1px solid var(--ink); background: var(--paper); }
.booking__steps {
  list-style: none;
  display: flex;
  border-bottom: 1px solid var(--ink);
}
.booking__steps li {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.1rem .5rem;
  font-size: .72rem; font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-60);
  border-left: 1px solid var(--line);
}
.booking__steps li:first-child { border-left: 0; }
.booking__steps li span { font-family: var(--serif); font-style: italic; font-size: .9rem; }
.booking__steps li.is-active { background: var(--ink); color: var(--paper); }
.booking__steps li.is-done { color: var(--ink); }
@media (max-width: 680px) {
  .booking__steps li { flex-direction: column; gap: .2rem; font-size: .58rem; padding: .7rem .2rem; }
}

.booking__body { display: grid; grid-template-columns: 1.7fr 1fr; }
@media (max-width: 900px) { .booking__body { grid-template-columns: 1fr; } }

.booking__panels { padding: clamp(1.4rem, 3vw, 2.6rem); min-height: 420px; }
.bpanel { display: none; border: 0; }
.bpanel.is-active { display: block; animation: panelIn .35s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .8rem; }
.pick {
  text-align: left;
  background: transparent;
  border: 1px solid var(--line);
  padding: 1.1rem 1.2rem;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
  display: flex; flex-direction: column; gap: .25rem;
}
.pick:hover { border-color: var(--ink); }
.pick.is-selected { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pick__name { font-weight: 500; font-size: .95rem; }
.pick__meta { font-size: .78rem; color: var(--ink-60); letter-spacing: .04em; }
.pick.is-selected .pick__meta, .pick.is-selected .pick__price { color: var(--white-60); }
.pick__price { font-family: var(--serif); font-size: 1rem; margin-top: .2rem; }
.pick--stylist { flex-direction: row; align-items: center; gap: 1rem; }
.pick__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  flex: none;
  display: grid; place-items: center;
  border: 1px solid currentColor;
  font-family: var(--serif); font-style: italic; font-size: .95rem;
}

.field { margin-bottom: 1.2rem; }
.field label, .field-label {
  display: block;
  font-size: .68rem; font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: .5rem;
  color: var(--ink-60);
}
.field-label { margin-top: 1.6rem; }
.field input {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
  transition: border-color .2s ease;
}
.field input:focus { border-color: var(--ink); outline: none; }
.field input.is-invalid { border-color: #8f1d1d; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.slots { display: flex; flex-wrap: wrap; gap: .55rem; }
.slot {
  padding: .55rem 1.05rem;
  border: 1px solid var(--line);
  background: transparent;
  font-size: .84rem;
  letter-spacing: .04em;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.slot:hover:not(:disabled) { border-color: var(--ink); }
.slot.is-selected { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.slot:disabled { opacity: .3; cursor: not-allowed; text-decoration: line-through; }
.slots__empty { color: var(--ink-60); font-size: .9rem; }

.paytabs { display: flex; gap: .6rem; flex-wrap: wrap; }
.paytab {
  flex: 1; min-width: 110px;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem .6rem;
  border: 1px solid var(--line);
  font-size: .8rem; font-weight: 500;
  letter-spacing: .06em;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
  position: relative;
}
.paytab svg { width: 18px; height: 18px; flex: none; }
.paytab:hover { border-color: var(--ink); }
.paytab input { position: absolute; opacity: 0; pointer-events: none; }
.paytab:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.paytab:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }

.paybox { margin-top: 1.3rem; }
.paybox.is-hidden { display: none; }
.paybox__note {
  font-size: .88rem; color: var(--ink-60);
  border: 1px dashed var(--line);
  padding: 1rem 1.2rem;
}
.applepay-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: #000; color: #fff;
  border: 0;
  padding: 1rem;
  font-size: .95rem; font-weight: 500;
  cursor: pointer;
  transition: opacity .2s ease;
}
.applepay-btn:hover { opacity: .82; }
.applepay-btn svg { width: 20px; height: 20px; }

.form-error {
  margin-top: 1.1rem;
  color: #8f1d1d;
  border: 1px solid rgba(143, 29, 29, .4);
  padding: .75rem 1rem;
  font-size: .88rem;
}

.booking__summary {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex; flex-direction: column;
}
.booking__summary h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 1.6rem;
}
.booking__summary dl { display: grid; gap: 1rem; flex: 1; align-content: start; }
.booking__summary dl > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.booking__summary dt { color: var(--white-60); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; padding-top: .15rem; }
.booking__summary dd { text-align: right; }
.sum-total { border-top: 1px solid var(--white-line); padding-top: 1rem; margin-top: .4rem; }
.sum-total dd { font-family: var(--serif); font-size: 1.5rem; }
.booking__navbtns { display: flex; gap: .7rem; margin-top: 1.8rem; }
.booking__navbtns .btn { flex: 1; padding-inline: 1rem; }
.booking__navbtns .btn--line { border-color: var(--white-line); color: var(--paper); }
.booking__navbtns .btn--line:hover:not(:disabled) { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.booking__navbtns .btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.booking__navbtns .btn--solid:hover:not(:disabled) { background: transparent; color: var(--paper); }
.booking__navbtns .btn--solid:disabled { background: var(--paper); color: var(--ink); }
.summary__hint { margin-top: 1.2rem; font-size: .74rem; color: var(--white-60); line-height: 1.6; }

.done { text-align: center; padding: 2.5rem 1rem; }
.done svg { width: 60px; height: 60px; margin: 0 auto 1.2rem; }
.done h3 { font-family: var(--serif); font-size: 2rem; margin-bottom: .8rem; }
.done p { color: var(--ink-60); max-width: 46ch; margin-inline: auto; }
.done__ref { margin-top: .8rem; }
.done__ref strong { letter-spacing: .1em; }
.done .btn { margin-top: 1.8rem; }

/* ---------- footer ---------- */
.footer { background: #111; color: var(--paper); }
.footer__marquee { overflow: hidden; border-bottom: 1px solid var(--white-line); padding: 1.2rem 0; }
.marquee__track--footer { font-size: 1.1rem; color: var(--white-60); }
.marquee__track--footer i { color: var(--white-60); }
.footer__grid {
  max-width: 1500px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 4.5rem var(--pad) 3rem;
}
.footer__word {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1;
}
.footer__hangul { margin-top: .8rem; font-size: .85rem; color: var(--white-60); letter-spacing: .12em; }
.footer h4 {
  font-size: .68rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--white-60); margin-bottom: 1rem; font-weight: 500;
}
.footer p { font-size: .92rem; line-height: 1.8; color: rgba(246, 245, 242, .85); margin-bottom: .6rem; }
.footer .uline:hover { opacity: .6; }
.paylogos { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.paylogos li {
  border: 1px solid var(--white-line);
  padding: .2rem .6rem;
  font-size: .68rem; letter-spacing: .08em;
}
.footer__legal {
  max-width: 1500px;
  margin-inline: auto;
  padding: 1.6rem var(--pad) 2.2rem;
  border-top: 1px solid var(--white-line);
  font-size: .74rem;
  color: var(--white-60);
  line-height: 1.7;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- staff: booking desk ---------- */
.is-hidden { display: none !important; }
.nav--staff { position: absolute; }
.staff-chip {
  font-size: .68rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  border: 1px solid currentColor; padding: .25rem .7rem;
}
.staff-main {
  min-height: 100svh;
  max-width: 1500px;
  margin-inline: auto;
  padding: 15vh var(--pad) 6rem;
}
.staff-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: .6rem;
}

.staff-login { display: flex; justify-content: center; padding-top: 6vh; }
.staff-login__card {
  width: min(430px, 100%);
  border: 1px solid var(--ink);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  background: var(--paper);
}
.staff-login__sub { color: var(--ink-60); font-size: .95rem; margin-bottom: 1.8rem; }
.staff-login__btn { width: 100%; margin-top: .4rem; }

.dash-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.6rem;
}
.dash-date { color: var(--ink-60); font-size: .95rem; }
.dash-stats { display: flex; flex-wrap: wrap; gap: 2.4rem; }
.dash-stats dt {
  font-size: .66rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-60); margin-bottom: .35rem;
}
.dash-stats dd { font-family: var(--serif); font-size: 2rem; line-height: 1; }

.dash-filters { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.6rem; }
.dash-filters select {
  padding: .6rem 2.2rem .6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  font: inherit; font-size: .85rem;
  cursor: pointer;
}
.dash-filters select:focus { border-color: var(--ink); outline: none; }

.dash-scroll { overflow-x: auto; }
.dash-table { border-top: 1px solid var(--ink); min-width: 980px; }
.dash-row {
  display: grid;
  grid-template-columns: 130px 1.35fr 1.1fr .9fr 70px 130px 170px;
  gap: 1.1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.dash-row--head {
  font-size: .66rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-60);
}
.dash-row--past { opacity: .5; }
.dash-row small { display: block; color: var(--ink-60); font-size: .78rem; line-height: 1.5; }
.dash-when b, .dash-client b { font-weight: 600; }
.dash-price { font-family: var(--serif); font-size: 1.05rem; }
.badge {
  display: inline-block;
  font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  padding: .28rem .7rem;
  margin-bottom: .3rem;
}
.badge--paid { background: var(--ink); color: var(--paper); }
.badge--unpaid { border: 1px solid var(--ink); color: var(--ink); }
.dash-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.rowbtn {
  font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink);
  padding: .35rem .8rem;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.rowbtn:hover { background: transparent; color: var(--ink); }
.rowbtn--ghost { background: transparent; color: var(--ink-60); border-color: var(--line); }
.rowbtn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.dash-empty { padding: 2rem 0; color: var(--ink-60); }
.dash-note { margin-top: 1.4rem; font-size: .8rem; color: var(--ink-60); max-width: 70ch; }

/* logout is a <button>: kill the UA background that turned into a black slab
   under the nav's mix-blend-mode */
button.nav__book {
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0 0 .15rem;
  cursor: pointer;
}

/* ---------- staff: designers & availability ---------- */
.dash-designers { margin-top: 4.5rem; }
.staff-title--sm { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-bottom: 1.6rem; }
.designer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}
.designer-card { border: 1px solid var(--line); padding: 1.5rem 1.6rem; background: var(--paper); }
.designer-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; }
.designer-card__role { font-size: .8rem; color: var(--ink-60); margin: .15rem 0 1.2rem; }
.designer-field { margin-bottom: 1.1rem; }
.designer-field > span {
  display: block;
  font-size: .66rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: .5rem;
}
.designer-hours { display: flex; align-items: center; gap: .6rem; }
.designer-hours input[type="time"] {
  padding: .45rem .6rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  font: inherit; font-size: .88rem;
}
.designer-hours input[type="time"]:focus { border-color: var(--ink); outline: none; }
.daychips { display: flex; gap: .35rem; }
.daychip {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  background: none;
  font-size: .72rem; font-weight: 500;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.daychip:hover { border-color: var(--ink); }
.daychip.is-off { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.leave-row { display: flex; gap: .5rem; }
.leave-row input[type="date"] {
  flex: 1;
  padding: .45rem .6rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  font: inherit; font-size: .88rem;
}
.leave-row input[type="date"]:focus { border-color: var(--ink); outline: none; }
.leave-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.leave-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  border: 1px solid var(--line);
  padding: .22rem .6rem;
  font-size: .76rem;
}
.leave-chip button { background: none; border: 0; cursor: pointer; font-size: .95rem; line-height: 1; color: var(--ink-60); }
.leave-chip button:hover { color: var(--ink); }
.leave-none { color: var(--ink-60); font-size: .78rem; }
.designer-card__foot {
  border-top: 1px dashed var(--line);
  margin-top: 1.2rem; padding-top: 1rem;
  display: flex; justify-content: flex-end;
}
.designer-add {
  border: 1px dashed var(--ink-30);
  padding: 1.4rem 1.6rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end;
}
.designer-add .field { margin: 0; flex: 1; min-width: 180px; }

/* staff: tabs */
.dash-tabs {
  display: flex;
  gap: .4rem;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 2rem;
}
.dash-tab {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: .85rem 1.3rem;
  font-size: .72rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-60);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.dash-tab:hover { color: var(--ink); }
.dash-tab.is-active { color: var(--ink); border-bottom-color: var(--ink); }
#tabDesigners .dash-designers { margin-top: .6rem; }

/* staff: leave range row */
.leave-dash { align-self: center; color: var(--ink-60); }
.leave-row { flex-wrap: wrap; }
.leave-row input[type="date"] { min-width: 130px; }

/* staff: range calendar (skyscanner-style pick start → pick end) */
.leave-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .6rem .9rem;
  border: 1px solid var(--line);
  background: var(--paper);
  font: inherit; font-size: .88rem;
  color: var(--ink-60);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.leave-trigger:hover { border-color: var(--ink); color: var(--ink); }
.leave-trigger svg { width: 16px; height: 16px; flex: none; }
.rangecal-holder { position: relative; }
.rangecal {
  position: absolute;
  top: .4rem; left: 0;
  z-index: 30;
  width: min(300px, calc(100vw - 2 * var(--pad)));
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 0 20px 50px rgba(17, 17, 17, .2);
  padding: .9rem;
}
.rangecal__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .7rem;
}
.rangecal__head b { font-family: var(--serif); font-weight: 500; font-size: 1rem; }
.rangecal__nav {
  width: 28px; height: 28px;
  border: 1px solid var(--line);
  background: none;
  cursor: pointer;
  transition: border-color .15s ease;
}
.rangecal__nav:hover { border-color: var(--ink); }
.rangecal__week {
  display: grid; grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: .6rem; font-weight: 500; letter-spacing: .08em;
  color: var(--ink-60);
  margin-bottom: .25rem;
}
.rangecal__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.rc-blank { aspect-ratio: 1; }
.rc-day {
  aspect-ratio: 1;
  border: 0;
  background: none;
  font-size: .8rem;
  cursor: pointer;
}
.rc-day:hover:not(:disabled) { outline: 1px solid var(--ink); outline-offset: -1px; }
.rc-day:disabled { color: var(--ink-30); cursor: default; }
.rc-day.is-in { background: rgba(17, 17, 17, .09); }
.rc-day.is-start, .rc-day.is-end { background: var(--ink); color: var(--paper); }
.rangecal__foot {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  border-top: 1px solid var(--line);
  margin-top: .7rem; padding-top: .75rem;
}
.rangecal__hint { font-size: .74rem; color: var(--ink-60); line-height: 1.4; }
.rangecal__btns { display: flex; gap: .4rem; flex: none; }
.rangecal__btns .rowbtn[disabled] { opacity: .35; cursor: not-allowed; }

/* staff: completed archive under the appointments list */
.dash-subsection { margin-top: 4rem; border-top: 1px solid var(--ink); padding-top: 2.2rem; }
.dash-subsection .staff-title--sm { margin-bottom: 1.2rem; }

/* staff: open / completed sub-tabs inside Appointments */
.dash-subtabs { display: flex; gap: .5rem; margin-bottom: 1.6rem; }
.dash-subtab {
  border: 1px solid var(--line);
  background: none;
  padding: .55rem 1.25rem;
  font-size: .68rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.dash-subtab:hover { border-color: var(--ink); }
.dash-subtab.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* booking: two-level service picker */
.pick--cat .pick__name { font-family: var(--serif); font-size: 1.2rem; }
.pick--cat .pick__price { color: var(--ink-60); font-family: var(--sans); font-size: .78rem; letter-spacing: .08em; }
.pick-back {
  grid-column: 1 / -1;
  justify-self: start;
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0 0 .15rem;
  font-size: .7rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-60);
  cursor: pointer;
  transition: color .2s ease;
}
.pick-back:hover { color: var(--ink); }
.pick-crumb {
  grid-column: 1 / -1;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  margin: -.2rem 0 .2rem;
}

/* booking: AM / PM slot groups */
.slots-wrap { display: grid; gap: 1.2rem; }
.slots-group__label {
  font-size: .66rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: .55rem;
}

/* staff: services & pricing editor */
.cat-block { margin-bottom: 2.6rem; }
.cat-block__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: .9rem;
}
.cat-rows { border-top: 1px solid var(--ink); margin-bottom: .8rem; }
.cat-row {
  display: grid;
  grid-template-columns: 1.4fr 110px 110px 1.8fr auto;
  gap: .7rem;
  align-items: center;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
}
.cat-row--head {
  font-size: .64rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-60);
}
.cat-row input {
  width: 100%;
  padding: .5rem .7rem;
  border: 1px solid transparent;
  background: transparent;
  font: inherit; font-size: .9rem;
  color: var(--ink);
  transition: border-color .15s ease, background-color .15s ease;
}
.cat-row input:hover { border-color: var(--line); }
.cat-row input:focus { border-color: var(--ink); background: var(--paper); outline: none; }
.cat-row input[type="number"] { text-align: right; }
.catalog-foot { display: flex; justify-content: flex-end; margin: .6rem 0 1rem; }
@media (max-width: 860px) {
  .cat-row { grid-template-columns: 1fr 80px 80px auto; }
  .cat-row [data-f="note"] { grid-column: 1 / -2; }
}

.catalog-foot { gap: .5rem; }
.catalog-foot .rowbtn[disabled] { opacity: .5; cursor: default; }

/* staff: call reservation panel */
.callres { margin-bottom: 1.4rem; }
.callres__form {
  margin-top: 1rem;
  border: 1px dashed var(--ink-30);
  padding: 1.4rem 1.6rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  align-items: end;
}
.callres__form .field { margin: 0; }
.callres__form select {
  width: 100%;
  padding: .85rem .7rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  font: inherit;
  color: var(--ink);
}
.callres__form select:focus { border-color: var(--ink); outline: none; }
.callres__error { grid-column: 1 / -1; margin: 0; }
.callres__actions { grid-column: 1 / -1; display: flex; gap: .7rem; }
.btn--sm-pad { padding: .8rem 1.6rem; }

/* ============ revenue tab ============ */
.rev-top {
  display: flex;
  flex-direction: column;   /* controls row on top, stats beneath — same at every width */
  align-items: flex-start;
  gap: 1.6rem;
  margin-bottom: 2rem;
}
.rev-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.6rem;
}
.rev-ranges { margin-bottom: 0; }
.rev-stats { gap: 2rem; }

.rev-custom { display: flex; align-items: center; gap: .5rem; }
.rev-custom input[type="date"] {
  padding: .5rem .8rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  font: inherit;
  font-size: .78rem;
  color: var(--ink);
}
.rev-custom input[type="date"]:focus { border-color: var(--ink); outline: none; }
.rev-custom__dash { color: var(--ink-30); font-size: .8rem; }

.rev-chart {
  position: relative;
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.2rem 1rem .6rem;
  margin-bottom: 1.8rem;
}
.rev-chart svg { display: block; width: 100%; height: auto; }

.rev-grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }
.rev-axis { stroke: var(--ink); stroke-width: 1; }
.rev-bar { fill: var(--ink); transition: opacity .15s ease; }
.rev-hit { fill: transparent; cursor: pointer; }
.rev-hit.is-hover { fill: rgba(17, 17, 17, .05); }
.rev-ylabel, .rev-xlabel {
  fill: var(--ink-60);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .08em;
}
.rev-ylabel { text-anchor: end; }
.rev-xlabel { text-anchor: middle; text-transform: uppercase; }
.rev-value {
  fill: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  text-anchor: middle;
}

.rev-tip {
  position: absolute;
  pointer-events: none;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: .72rem;
  line-height: 1.5;
  padding: .5rem .7rem;
  white-space: nowrap;
  z-index: 5;
}
.rev-tip strong {
  display: block;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .6rem;
  color: rgba(246, 245, 242, .7);
}

.rev-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink-60);
  font-size: .8rem;
  pointer-events: none;
}

.rev-tablewrap { overflow-x: auto; }
.rev-table { border-top: 1px solid var(--ink); min-width: 420px; }
.rev-trow {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: baseline;
  padding: .65rem .2rem;
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
}
.rev-trow span:nth-child(2) { color: var(--ink-60); }
.rev-trow span:last-child {
  font-family: var(--serif);
  font-size: 1rem;
  min-width: 6ch;
  text-align: right;
}
.rev-trow--head {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.rev-trow--head span:last-child { font-family: var(--sans); font-size: .62rem; }
.rev-trow.is-zero { opacity: .45; }

/* drill-down affordances */
.rev-hit.is-drill { cursor: pointer; }
.rev-trow.is-drill { cursor: pointer; transition: background-color .15s ease; }
.rev-trow.is-drill:hover { background: rgba(17, 17, 17, .04); }
.rev-zoom { color: var(--ink-30); font-size: .75em; margin-left: .35em; }
.rev-trow.is-drill:hover .rev-zoom { color: var(--ink); }
.rev-tip em {
  display: block;
  font-style: normal;
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(246, 245, 242, .55);
  margin-top: .2rem;
}

@media (max-width: 720px) {
  .rev-stats { gap: 1.4rem; }
}

/* ============ mobile performance ============
   Touch devices skip the scroll-scrub effects (js/motion.js), so the
   permanent GPU layers and oversized blur shadows are dropped too —
   they were the main cause of jank around the photo sections. */
@media (pointer: coarse), (max-width: 768px) {
  .mask img,
  .hero__reveal,
  [data-fly] { will-change: auto; }
  .break__img { box-shadow: 0 10px 24px rgba(17, 17, 17, .16); }
  .gallery .mask, .about__portrait { box-shadow: 0 12px 28px rgba(17, 17, 17, .15); }
}
