/* Be.YOU.tiful by Mona — independent concept
   Tokens: OBSERVED = sampled from the salon's own assets; CHOSEN = concept decision. */
@font-face { font-family: "Young Serif"; src: url("assets/fonts/young-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("assets/fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("assets/fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("assets/fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --cream: #F4EDE4;      /* CHOSEN: warm paper ground */
  --paper: #FBF8F3;      /* CHOSEN */
  --burgundy: #662C24;   /* OBSERVED: watermark lettering on the salon's Instagram photos */
  --burgundy-deep: #4A1D18; /* CHOSEN: darker step of the burgundy */
  --tan: #B68C6A;        /* OBSERVED: logo colour (Linktree profile artwork) */
  --tan-soft: #E6D6C5;   /* CHOSEN: tint of the logo tan */
  --mist: #DEDDD5;       /* OBSERVED: salon wall tone behind the bridal portrait */
  --ink: #2B1714;        /* CHOSEN: near-black pulled toward burgundy */
  --ink-soft: #5E4A44;   /* CHOSEN: secondary text, 7:1 on cream */
  --line: rgba(102, 44, 36, .22);

  --serif: "Young Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.65, .02, .2, 1);
  --slide: 760ms;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1rem/1.6 var(--sans); text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--ink); color: var(--paper); text-decoration: none; }
.skip:focus { top: 12px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 0 22px; border-radius: 2px;
  font: 500 .95rem/1 var(--sans); letter-spacing: .01em; text-decoration: none;
  cursor: pointer; border: 1px solid transparent; background: none;
  transition: background-color .18s, color .18s, border-color .18s, transform .12s;
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--burgundy); color: var(--paper); }
.btn--solid:hover { background: var(--burgundy-deep); }
.btn--line { border-color: var(--burgundy); color: var(--burgundy); }
.btn--line:hover { background: rgba(102, 44, 36, .07); }
.btn--line[aria-pressed="true"] { background: var(--burgundy); color: var(--paper); }
.btn--text { padding: 0 6px; color: var(--burgundy); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.btn--text:hover { text-decoration-thickness: 2px; }

/* Header ----------------------------------------------------------------- */
.top {
  max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter) 6px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
}
.top__brand img { width: 74px; height: auto; }
.top__nav { display: flex; gap: 28px; justify-content: center; }
.top__nav a { text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 0; border-bottom: 1px solid transparent; }
.top__nav a:hover { border-bottom-color: var(--burgundy); }
.count { display: inline-grid; place-items: center; min-width: 1.45em; height: 1.45em; margin-left: 4px; border-radius: 1em; background: var(--burgundy); color: var(--paper); font-size: .72rem; vertical-align: 1px; }

/* Lookbook (hero) -------------------------------------------------------- */
.look {
  max-width: var(--max); margin: 0 auto; padding: clamp(8px, 2vw, 28px) var(--gutter) clamp(48px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(300px, .78fr) minmax(0, 1.5fr); gap: clamp(28px, 4vw, 64px); align-items: center;
}
.look__copy { container-type: inline-size; min-width: 0; }
.look__place { color: var(--ink-soft); font-size: .95rem; max-width: 34ch; }
.look__title { margin-top: 14px; font-size: clamp(1.9rem, 3.1vw, 3rem); line-height: 1.08; letter-spacing: -.01em; color: var(--ink); }

.look__state { margin-top: clamp(28px, 4vw, 52px); min-height: 11.5rem; }
.look__name {
  font-size: min(7.2rem, 23cqi); line-height: .92; letter-spacing: -.02em; color: var(--burgundy);
  overflow: hidden; padding-bottom: .06em;
}
.look__name span { display: inline-block; }
.look__caption { margin-top: 14px; max-width: 36ch; color: var(--ink-soft); font-size: 1.02rem; }
.is-swapping .look__name span { animation: rise var(--slide) var(--ease) both; }
.is-swapping .look__caption { animation: settle var(--slide) var(--ease) both; }
@keyframes rise { from { transform: translateY(100%); } to { transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(8px); } 40% { opacity: 0; } to { opacity: 1; transform: none; } }

.look__tabs { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-top: 26px; border-bottom: 1px solid var(--line); }
.look__tabs [role="tab"] {
  position: relative; padding: 12px 0 14px; border: 0; background: none; cursor: pointer;
  font: 500 1rem/1 var(--sans); color: var(--ink-soft);
}
.look__tabs [role="tab"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--burgundy);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.look__tabs [role="tab"]:hover { color: var(--ink); }
.look__tabs [role="tab"][aria-selected="true"] { color: var(--burgundy); }
.look__tabs [role="tab"][aria-selected="true"]::after { transform: scaleX(1); }

.look__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.look__hint { margin-top: 16px; font-size: .85rem; color: var(--ink-soft); }

/* Stage: overlapping photo sheets --------------------------------------- */
.stage {
  position: relative; width: 100%; aspect-ratio: 5 / 4;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
  outline-offset: 6px;
}
.stage__wall {
  position: absolute; z-index: 0; left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  background: var(--mist);
  transition: left var(--slide) var(--ease), top var(--slide) var(--ease), width var(--slide) var(--ease), height var(--slide) var(--ease), background-color var(--slide) var(--ease);
}
.stage[data-state="curls"] .stage__wall { background: var(--tan-soft); }
.stage[data-state="occasion"] .stage__wall { background: var(--paper); }
.stage[data-state="nails"] .stage__wall { background: var(--burgundy); }

.sheet {
  position: absolute; margin: 0; left: var(--x); top: var(--y); width: var(--w); height: var(--h); z-index: var(--z, 1);
  overflow: hidden; background: var(--mist); border-radius: 1px;
  box-shadow: 0 1px 0 rgba(43, 23, 20, .06), 0 18px 40px -24px rgba(43, 23, 20, .45);
  transition: left var(--slide) var(--ease), top var(--slide) var(--ease), width var(--slide) var(--ease), height var(--slide) var(--ease), opacity .45s var(--ease), box-shadow .3s;
}
.sheet img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); pointer-events: none; -webkit-user-drag: none; }
.sheet.is-tucked { opacity: 0; box-shadow: none; }
.sheet.is-sliver { cursor: pointer; }
.sheet.is-sliver::before { content: ""; position: absolute; inset: 0; background: rgba(74, 29, 24, .42); transition: background-color .2s; }
.sheet.is-sliver::after {
  content: attr(data-label); position: absolute; left: 50%; top: 14px; transform: translateX(-50%);
  writing-mode: vertical-rl; color: var(--paper); font: 500 .82rem/1 var(--sans); letter-spacing: .04em; white-space: nowrap;
}
.sheet.is-sliver:hover::before { background: rgba(74, 29, 24, .22); }
.sheet.is-sliver:hover { box-shadow: 0 1px 0 rgba(43,23,20,.06), 0 22px 44px -20px rgba(43,23,20,.55); }

.stage__nav { position: absolute; z-index: 6; left: 0; bottom: 0; display: flex; gap: 6px; }
.arrow {
  width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer;
  background: var(--paper); border: 1px solid var(--line); border-radius: 2px; transition: background-color .18s, transform .12s;
}
.arrow:hover { background: #fff; }
.arrow:active { transform: scale(.96); }
.arrow svg { width: 20px; height: 20px; fill: none; stroke: var(--burgundy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.stage.no-anim .sheet, .stage.no-anim .stage__wall { transition: none; }

/* Services --------------------------------------------------------------- */
.services { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter); border-top: 1px solid var(--line); }
.services__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.services__head h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; color: var(--burgundy); max-width: 14ch; }
.services__head p { color: var(--ink-soft); max-width: 46ch; }
.services__list { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; }
.services__list li { border-top: 1px solid var(--line); }
.services__list li:last-child { border-bottom: 1px solid var(--line); }
.services__list a {
  display: grid; grid-template-columns: minmax(150px, 1fr) 1.4fr 13rem; gap: 24px; align-items: baseline;
  padding: clamp(18px, 2.4vw, 28px) 8px; text-decoration: none; transition: background-color .2s, padding .3s var(--ease);
}
.services__list a:hover { background: rgba(182, 140, 106, .14); padding-left: 18px; }
.s-name { font: 400 clamp(1.9rem, 3.6vw, 3rem)/1 var(--serif); color: var(--ink); }
.s-note { color: var(--ink-soft); }
.s-go { justify-self: end; color: var(--burgundy); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; white-space: nowrap; }

/* Shortlist -------------------------------------------------------------- */
.shortlist { background: var(--paper); padding: clamp(48px, 7vw, 88px) var(--gutter); }
.shortlist > * { max-width: calc(var(--max) - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.shortlist__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.shortlist__head h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--burgundy); }
.shortlist__note { color: var(--ink-soft); max-width: 46ch; }
.shortlist__note strong { color: var(--ink); font-weight: 600; }
.shortlist__empty { margin-top: 28px; padding: 22px 0; border-top: 1px dashed var(--line); color: var(--ink-soft); }
.shortlist__items { list-style: none; padding: 0; margin-top: 28px; display: flex; flex-wrap: wrap; gap: 20px; }
.shortlist__items li { width: 168px; }
.shortlist__items .thumb { width: 168px; aspect-ratio: 3 / 4; overflow: hidden; background: var(--mist); }
.shortlist__items .thumb img { width: 100%; height: 100%; object-fit: cover; }
.shortlist__items .row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; }
.shortlist__items .name { font: 400 1.3rem/1 var(--serif); }
.shortlist__items button { border: 0; background: none; cursor: pointer; color: var(--burgundy); text-decoration: underline; text-underline-offset: 3px; font-size: .9rem; padding: 10px 2px; }
.shortlist__items li.is-new .thumb { animation: drop .5s var(--ease) both; }
@keyframes drop { from { transform: translateY(-10px); opacity: 0; } to { transform: none; opacity: 1; } }
.shortlist__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.shortlist__actions[hidden], .shortlist__actions [hidden] { display: none; }

/* Visit ------------------------------------------------------------------ */
.visit {
  max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 112px) var(--gutter);
  display: grid; grid-template-columns: minmax(200px, 360px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: center;
}
.visit__logo { width: 100%; max-width: 340px; height: auto; }
.visit h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--burgundy); }
.visit address { margin-top: 18px; font: normal 400 clamp(1.25rem, 2vw, 1.6rem)/1.35 var(--serif); }
.visit p { margin-top: 16px; color: var(--ink-soft); max-width: 44ch; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }

/* Footer ----------------------------------------------------------------- */
.foot { border-top: 1px solid var(--line); padding: 32px var(--gutter) 44px; }
.foot p { max-width: 980px; margin: 0 auto; font-size: .86rem; color: var(--ink-soft); }
.foot p + p { margin-top: 10px; }
.foot strong { color: var(--ink); font-weight: 600; }
.foot__small { font-size: .8rem !important; }

/* Toast ------------------------------------------------------------------ */
.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 40; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: calc(100vw - 32px); padding: 12px 18px; background: var(--ink); color: var(--paper); font-size: .92rem; border-radius: 2px;
  transition: opacity .25s, transform .25s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 980px) {
  .look { grid-template-columns: 1fr; }
  .look__state { min-height: 0; }
  .look__title { max-width: 18ch; }
  .look__copy { display: contents; }
  .look__title { order: 1; } .look__place { order: 2; }
  .look__tabs { order: 3; } .stage { order: 4; }
  .look__state { order: 5; } .look__actions { order: 6; } .look__hint { order: 7; }
  .look__tabs { margin-top: 0; }
  .look__state { margin-top: 4px; }
  .look__name { font-size: min(6rem, 15vw); }
}
@media (max-width: 760px) {
  .top { grid-template-columns: auto 1fr; gap: 12px 16px; padding-top: 10px; }
  .top__brand img { width: 62px; }
  .top__cta { justify-self: end; min-height: 42px; padding: 0 14px; font-size: .88rem; }
  .top__nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 22px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); padding-top: 2px; }
  .top__nav::-webkit-scrollbar { display: none; }
  .look { gap: 18px; padding-top: 18px; }
  .look { row-gap: 14px; }
  .look__title { margin-top: 0; font-size: clamp(1.7rem, 8vw, 2.3rem); }
  .look__place { font-size: .88rem; margin-top: -6px; }
  .look__name { font-size: min(4.2rem, 17vw); }
  .look__caption { margin-top: 8px; }
  .look__tabs { gap: 2px 20px; }
  .look__actions { margin-top: 4px; }
  .look__actions .btn { flex: 1 1 auto; }
  .stage { aspect-ratio: 350 / 470; }
  .sheet.is-sliver::after { font-size: .72rem; top: 10px; }
  .services__head, .shortlist__head { grid-template-columns: 1fr; gap: 14px; }
  .services__list a { grid-template-columns: 1fr; gap: 6px; }
  .s-go { justify-self: start; }
  .visit { grid-template-columns: 1fr; }
  .visit__logo { max-width: 200px; }
}
@media (max-width: 360px) {
  .top__nav { gap: 14px; }
  .top__nav a { font-size: .88rem; }
  .top__cta { padding: 0 10px; font-size: .82rem; }
  .look__tabs { gap: 2px 14px; }
  .look__tabs [role="tab"] { font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { --slide: 1ms; }
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
  .services__list a:hover { padding-left: 8px; }
}
