/* ===========================================================
   Golden Hour Salon: demo site styles
   Direction (2026-09-15 redesign): "The colour is the client."
   A cool gallery-white ground so the photography carries every
   bit of colour; near-black ink; one ultraviolet accent used for
   the booking action and the swatch wall. Syne for display (wide,
   fashion-editorial, set huge), Manrope for everything else.
   Motion comes from ../../assets/motion.css (loaded after this).
   =========================================================== */

:root {
  --paper: #f8f8f7;
  --paper-2: #eeeeec;
  --ink: #0f0f12;
  --ink-2: #4b4b52;
  --ink-3: #75757c;          /* 4.6:1 on paper */
  --line: rgba(15, 15, 18, 0.14);
  --uv: #4f3df2;             /* the one accent */
  --uv-ink: #3a2bd0;         /* accent as text on paper (6.0:1) */
  --on-ink: #f8f8f7;
  --on-ink-2: rgba(248, 248, 247, 0.72);

  --font-display: "Syne", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --w: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius: 6px;
  --pill: 999px;

  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.05rem + 0.7vw, 1.55rem);
  --step-2: clamp(1.8rem, 1.3rem + 2.2vw, 2.9rem);
  --step-3: clamp(2.5rem, 1.5rem + 4.6vw, 4.8rem);
  --step-4: clamp(2.7rem, 1rem + 7.2vw, 7rem); /* Syne is a wide face; sized below the bakery scale on purpose */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: var(--step-0); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--uv); outline-offset: 3px; }
.on-ink :focus-visible { outline-color: #ffd23f; }
.skip-link { display: inline-flex; align-items: center; min-height: 44px; padding: .6rem 1rem; }
.skip-link:focus { left: 1rem !important; top: 1rem; background: var(--ink); color: var(--on-ink); z-index: 100; }
.wrap { width: min(var(--w), 100% - 2 * var(--gutter)); margin-inline: auto; }
.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 248, 247, 0.84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.brand span { color: var(--uv); }
.nav-toggle-wrap { margin-left: auto; order: 3; }
.nav-toggle-wrap summary { list-style: none; cursor: pointer; }
.nav-toggle-wrap summary::-webkit-details-marker { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--pill); background: transparent; }
.nav-panel { margin-left: auto; display: flex; align-items: center; gap: 1.6rem; }
.nav-link { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); min-height: 40px; display: inline-flex; align-items: center; }
.nav-link:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1.35rem; border-radius: var(--pill); font-weight: 700; font-size: .95rem; text-decoration: none; border: 1px solid transparent; transition: transform var(--m-dur-fast, 160ms) var(--m-ease-out, ease-out), background var(--m-dur-base, 300ms) var(--m-ease-out, ease-out), color var(--m-dur-base, 300ms); }
.btn-uv { background: var(--uv); color: #fff; }
.btn-uv:hover { background: #3a2bd0; }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-ink:hover { background: #2a2a30; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--on-ink); }
.on-ink .btn-ghost { border-color: var(--on-ink); color: var(--on-ink); }
.on-ink .btn-ghost:hover { background: var(--on-ink); color: var(--ink); }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-panel { display: none; }
  .site-header:has(.nav-toggle-wrap[open]) .nav-panel { display: flex; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1rem; }
  .site-header:has(.nav-toggle-wrap[open]) .nav-link { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .site-header:has(.nav-toggle-wrap[open]) .btn { margin-top: .9rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 920px); display: grid; align-items: end; overflow: clip; background: var(--ink); color: var(--on-ink); isolation: isolate; }
.hero-media { position: absolute; inset: -8% 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,18,0.28) 0%, rgba(15,15,18,0.34) 40%, rgba(15,15,18,0.86) 100%), linear-gradient(90deg, rgba(15,15,18,0.45) 0%, rgba(15,15,18,0) 60%); }
.hero-inner { position: relative; padding: clamp(8rem, 22vh, 14rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.hero-kicker { font-weight: 600; color: var(--on-ink-2); margin-bottom: 1.2rem; }
.hero-title { font-family: var(--font-display); font-size: var(--step-4); line-height: 0.95; font-weight: 800; letter-spacing: -0.03em; max-width: 13ch; text-wrap: balance; }
.hero-lede { max-width: 44ch; font-size: var(--step-1); line-height: 1.4; color: var(--on-ink-2); margin-top: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 10vw, 8rem) 0; }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-title { font-family: var(--font-display); font-size: var(--step-3); line-height: 0.98; letter-spacing: -0.025em; font-weight: 800; max-width: 14ch; text-wrap: balance; }
.section-lede { color: var(--ink-2); max-width: 48ch; font-size: var(--step-1); line-height: 1.4; }
@media (min-width: 860px) { .section-head { grid-template-columns: 1.1fr 1fr; align-items: end; } }

/* Services: ruled ledger */
.ledger { border-top: 1px solid var(--ink); }
.ledger-group { padding: 1.6rem 0 .4rem; }
.ledger-group h3 { font-family: var(--font-display); font-size: var(--step-2); font-weight: 800; letter-spacing: -0.02em; margin-bottom: .6rem; }
.ledger-group .note { color: var(--ink-2); max-width: 56ch; margin-bottom: .8rem; }
.ledger-item { display: grid; grid-template-columns: 1fr auto; gap: .2rem 2rem; align-items: baseline; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.ledger-item strong { font-weight: 700; font-size: var(--step-1); letter-spacing: -0.01em; }
.ledger-item p { color: var(--ink-2); grid-column: 1; }
.ledger-item .price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger-foot { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; color: var(--ink-2); }

/* Colour band: dark, photo-led */
.band { background: var(--ink); color: var(--on-ink); overflow: clip; }
.band-grid { display: grid; gap: 2rem; align-items: center; }
.band .section-title { color: var(--on-ink); }
.band p { color: var(--on-ink-2); max-width: 46ch; font-size: var(--step-1); line-height: 1.4; margin-top: 1.2rem; }
.band-photo { border-radius: var(--radius); overflow: clip; aspect-ratio: 3 / 2; }
.band-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 860px) { .band-grid { grid-template-columns: 1.15fr 1fr; gap: 4rem; } .band-grid .band-photo { order: -1; } }

/* Swatch wall: the one pinned moment. Panels shift hue across the pin. */
.swatches { --m-pin-length: 320vh; }
.swatches .m-pin { min-height: 100svh; display: grid; align-items: center; }
.swatch-grid { display: grid; gap: 2rem; }
.swatch-copy .section-title { margin-bottom: 1rem; }
.swatch-copy p { color: var(--ink-2); max-width: 44ch; font-size: var(--step-1); line-height: 1.4; }
.swatch-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.swatch { aspect-ratio: 1; border-radius: var(--radius); display: grid; align-items: end; padding: .8rem; font-weight: 700; font-size: .85rem; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); background: var(--c, var(--uv)); }
.swatch-1 { --c: #e8b98a; } .swatch-2 { --c: #c0733c; } .swatch-3 { --c: #6d3f2a; }
.swatch-4 { --c: #b8b3ad; } .swatch-5 { --c: #d9c7a0; } .swatch-6 { --c: #2a1d18; }
.swatch-7 { --c: #b23a5f; } .swatch-8 { --c: #4f3df2; } .swatch-9 { --c: #1f8f7a; }
@media (min-width: 860px) { .swatch-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }
@supports (view-timeline-name: --m-pin) {
  @media (prefers-reduced-motion: no-preference) {
    .swatch { animation: swatch-turn linear both; animation-timeline: --m-pin; animation-range: 10% 80%; }
    .swatch:nth-child(2n) { animation-name: swatch-turn-b; }
    .swatch:nth-child(3n) { animation-name: swatch-turn-c; }
  }
}
@keyframes swatch-turn { from { filter: hue-rotate(-40deg) saturate(.6); transform: scale(.96); } to { filter: none; transform: none; } }
@keyframes swatch-turn-b { from { filter: hue-rotate(35deg) saturate(.7); transform: scale(.97); } to { filter: none; transform: none; } }
@keyframes swatch-turn-c { from { filter: hue-rotate(-20deg) brightness(1.15); transform: scale(.95); } to { filter: none; transform: none; } }
@media (max-width: 859px) { .swatches { --m-pin-length: 0; } .swatches .m-pin { position: static; min-height: 0; } }

/* Artists: names as type, no portraits */
.artists { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.artist { display: grid; gap: .4rem 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.artist h3 { font-family: var(--font-display); font-size: var(--step-2); font-weight: 800; letter-spacing: -0.02em; }
.artist .role { color: var(--uv-ink); font-weight: 700; }
.artist p { color: var(--ink-2); max-width: 52ch; }
.artist a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 860px) { .artist { grid-template-columns: 1.2fr 1.4fr auto; } }

/* Space */
.space-grid { display: grid; gap: 2rem; align-items: center; }
.space-photo { border-radius: var(--radius); overflow: clip; aspect-ratio: 3 / 2; }
.space-photo img { width: 100%; height: 100%; object-fit: cover; }
.space-copy p { color: var(--ink-2); font-size: var(--step-1); line-height: 1.45; margin-top: 1.2rem; max-width: 46ch; }
@media (min-width: 860px) { .space-grid { grid-template-columns: 1.15fr 0.85fr; gap: 5rem; } }

/* Book */
.book { background: var(--uv); color: #fff; }
.book .section-title { color: #fff; }
.book-grid { display: grid; gap: 2rem; align-items: end; }
.book p { color: rgba(255,255,255,.82); font-size: var(--step-1); line-height: 1.4; max-width: 44ch; margin-top: 1rem; }
.book .btn-ink { background: var(--ink); color: #fff; }
.book .btn-ghost { border-color: #fff; color: #fff; }
.book .btn-ghost:hover { background: #fff; color: var(--uv); }
.book :focus-visible { outline-color: #ffd23f; }
.book-policy { color: rgba(255,255,255,.82); border-top: 1px solid rgba(255,255,255,.3); }
.book-policy li { padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
@media (min-width: 860px) { .book-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }

/* Visit */
.visit-grid { display: grid; gap: 2.5rem; }
.visit-big { font-family: var(--font-display); font-size: var(--step-3); font-weight: 800; letter-spacing: -0.025em; line-height: 1; }
.visit-big small { display: block; font-family: var(--font-body); font-size: var(--step-1); font-weight: 500; letter-spacing: 0; color: var(--ink-2); margin-top: .8rem; }
.hours-list { border-top: 1px solid var(--ink); }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.hours-list .closed { color: var(--uv-ink); font-weight: 700; }
.addr { color: var(--ink-2); line-height: 1.55; }
.addr a { color: var(--ink); display: inline-flex; align-items: center; min-height: 40px; }
.visit-photo { border-radius: var(--radius); overflow: clip; aspect-ratio: 4 / 5; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 860px) { .visit-grid { grid-template-columns: 1.1fr 1fr 0.8fr; align-items: start; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; color: var(--ink-2); font-size: .95rem; }
.footer-grid { display: grid; gap: 1.2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-links a { min-height: 40px; min-width: 44px; padding: 0 .35rem; display: inline-flex; align-items: center; justify-content: center; }
.disclaimer { color: var(--ink-3); font-size: .85rem; max-width: 70ch; }
.disclaimer a { display: inline-block; padding: .7rem 0; margin: -.7rem 0; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1fr auto; align-items: start; } }
