/*
 * Public website. Editorial, confident, calm.
 *
 * Rhythm (top to bottom):  ivory hero  ·  ivory selected work  ·  tinted services  ·  DARK about  ·  ivory visit
 * Every colour comes from the theme tokens in base.css, so nothing here is specific to one business or industry.
 *
 * Layout system
 *   .wrap          one container: --max wide, --gut side padding (20-24 phone, 32 tablet, 48 desktop).
 *                  Logo, headline, section headings, rows and buttons all sit on this same edge.
 *   Spacing        4 8 12 16 24 32 48 64 96  (--s-1 … --s-9). Sections breathe with --sec.
 *   Type           display = headings only. Sans = everything else. Sizes: 13 / 15 / 17 / 24 / h2 / hero.
 */
:root { --nav-h: 60px; --sec: var(--s-7); }
@media (min-width: 720px) { :root { --sec: var(--s-8); } }
@media (min-width: 1100px) { :root { --sec: 88px; } }
html { scroll-padding-top: calc(var(--nav-h) + var(--s-3)); }
body { font-size: var(--fs-m); line-height: 1.5; overflow-x: clip; }

.kicker { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.kicker::before { content: ""; width: var(--s-5); height: 1px; background: currentColor; flex: none; }
.on-dark { --focus: var(--bg); }
.on-dark .kicker { color: var(--accent-on-dark); }

/* ---------- upcoming-appointment notice (compact, dismissible, only when one exists) ---------- */
.notice-bar { background: var(--tint); font-size: var(--fs-s); border-bottom: 1px solid var(--line); }
.notice-in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 48px; }
.notice-in p { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-in p b { font-weight: 600; }
.n-short { display: none; }
@media (max-width: 379px) { .n-full { display: none; } .n-short { display: inline; } }
.notice-in .row { flex: none; gap: var(--s-2); flex-wrap: nowrap; }
.notice-in .link { font-size: var(--fs-s); min-height: 44px; display: inline-flex; align-items: center; }
.notice-in .x { width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--muted); margin-right: -12px; }
.notice-in .x:hover { background: var(--line); color: var(--ink); }

/* ---------- header ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: var(--s-5); }
.logo { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-family: var(--display); font-size: 27px; line-height: 44px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; display: block; min-height: 44px; }
.nav-links { display: flex; align-items: center; gap: var(--s-6); }
.nav-links a { text-decoration: none; font-size: var(--fs-s); color: var(--muted); padding: var(--s-2) 0; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.nav-links a:hover { color: var(--ink); border-color: var(--accent); }
.nav-links .only-m { display: none; }
.nav-cta { flex: none; display: flex; align-items: center; gap: var(--s-2); }
.menu-btn { display: none; margin-right: -12px; }
@media (max-width: 820px) {
  .nav { padding-top: env(safe-area-inset-top); }
  .menu-btn { display: inline-grid; }
  .nav-cta .btn { display: none; }
  .hero-gone .nav-cta .btn { display: inline-flex; animation: fade-in .25s var(--ease); }
  .nav-links { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + env(safe-area-inset-top)); flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); padding: 0 var(--gut) var(--s-5); border-bottom: 1px solid var(--line); box-shadow: 0 24px 32px -24px rgba(36,32,38,.25); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
  .nav-links.open { visibility: visible; opacity: 1; transform: none; }
  .nav-links a { font-family: var(--body); font-size: 19px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); padding: 0; display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); }
  .nav-links .only-m { display: flex; }
  .nav-links .btn.only-m { margin-top: var(--s-4); font-size: var(--fs-m); min-height: 48px; }
  .nav-links a.quiet { border: 0; font-size: var(--fs-s); font-weight: 400; letter-spacing: 0; color: var(--muted); min-height: 48px; }
}
@keyframes fade-in { from { opacity: 0; } }
/* very narrow viewports (heavy browser zoom): the header shrinks instead of overflowing */
.nav-in > * { min-width: 0; }
@media (max-width: 360px) {
  .nav-in { gap: var(--s-2); }
  .logo { font-size: 24px; overflow: hidden; text-overflow: ellipsis; }
  .nav-cta .btn.sm { padding-inline: var(--s-3); }
  .btn.lg { padding-inline: var(--s-4); white-space: normal; line-height: 1.2; text-align: center; }
}
.cta-view .nav-cta .btn { visibility: hidden; }   /* never two booking controls on screen at once */

/* ---------- hero ---------- */
.hero { overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); padding-top: var(--s-4); }
.hero-copy { display: grid; gap: var(--s-4); align-content: start; justify-items: start; }
.hero h1 { font-size: var(--fs-hero); }
.hero h1 em { font-style: italic; color: var(--accent-text); }
.hero .sub { font-size: var(--fs-m); line-height: 1.5; color: var(--muted); max-width: 32ch; }
.hero-cta { display: grid; gap: var(--s-3); justify-items: start; }
.btn.lg { min-height: 52px; padding-inline: var(--s-6); font-size: var(--fs-m); }
.next { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-s); color: var(--muted); }
.next::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.hero-art { position: relative; margin: 0; }
.hero-img { position: relative; z-index: 1; margin: 0; background: var(--surface-2); overflow: hidden; border-radius: var(--r-img); aspect-ratio: 4 / 5; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: var(--photo-grade); }
/* phones: identity, headline and the booking button land in the first screen; the photo runs edge to edge beneath and the next section starts straight after it */
@media (max-width: 719px) {
  .hero-art { margin-inline: calc(var(--gut) * -1); }
  .hero-img { border-radius: 0; aspect-ratio: 1 / .92; }
  .hero-copy, .hero-cta { justify-items: stretch; }
}
/* tablet and up: asymmetric, the photo bleeds off the right edge over a block of the secondary surface */
@media (min-width: 720px) {
  .hero-grid { grid-template-columns: 5fr 6fr; gap: var(--s-7); align-items: center; padding-block: var(--s-5) var(--s-7); --bleed: max(var(--gut), calc((100vw - var(--max)) / 2)); }
  .hero-art { margin-right: calc(var(--bleed) * -1); }
  .hero-art::before { content: ""; position: absolute; z-index: 0; left: calc(var(--s-5) * -1); bottom: calc(var(--s-5) * -1); width: 58%; height: 62%; background: var(--surface-2); }
  .hero-img { aspect-ratio: auto; height: clamp(440px, 68svh, 640px); border-radius: var(--r-img) 0 0 var(--r-img); }
}
@media (min-width: 1100px) {
  .hero-grid { grid-template-columns: 2fr 3fr; gap: var(--s-8); padding-top: var(--s-6); }
  .hero-img { height: clamp(520px, 74svh, 720px); }
}

/* ---------- sections ---------- */
.sec { padding-block: var(--sec) 0; }
.sec.pad { padding-block: var(--sec); }
.sec.tint { background: var(--tint); margin-top: var(--sec); }
.sec.dark { background: var(--brand); color: var(--on-brand); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-4); }
.sec-head > div { display: grid; gap: var(--s-2); }
.sec-head h2, .visit-head h2 { font-size: var(--fs-h2); line-height: 1.1; }
.textlink { font-size: var(--fs-s); font-weight: 500; color: var(--ink); background: none; border: 0; padding: 0; min-height: 44px; display: inline-flex; align-items: center; gap: var(--s-2); text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; text-underline-offset: 6px; white-space: nowrap; }
.textlink:hover { text-decoration-color: var(--accent); }
.dark .textlink { color: var(--on-brand); text-decoration-color: color-mix(in srgb, var(--on-brand) 40%, transparent); }

/* ---------- selected work ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); margin: calc(var(--s-3) * -1) 0 var(--s-5); }
.filter { background: none; border: 0; border-bottom: 2px solid transparent; padding: var(--s-2) 0; min-height: 44px; font-size: var(--fs-s); color: var(--muted); border-radius: 0; }
.filter:hover { color: var(--ink); } .filter[aria-pressed=true] { color: var(--ink); border-color: var(--accent); }
.work { display: grid; gap: var(--s-2); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shot { display: block; width: 100%; padding: 0; border: 0; background: var(--surface-2); border-radius: var(--r-img); overflow: hidden; aspect-ratio: 4 / 5; cursor: zoom-in; position: relative; }
.shot img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade); transition: transform .8s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.work.odd .shot:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }            /* never an orphan cell on phones */
.work.c-1 { grid-template-columns: minmax(0, 560px); }
@media (min-width: 720px) {
  .work { gap: var(--s-4); }
  .work.odd .shot:first-child { grid-column: auto; aspect-ratio: 4 / 5; }
  .work.c-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .work.c-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .work.c-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .work.c-2 .shot, .work.c-2.odd .shot:first-child { aspect-ratio: 1 / 1; }
}
.lightbox-img { background: var(--surface-2); border-radius: var(--r-img); overflow: hidden; display: grid; place-items: center; max-height: 64dvh; }
.lightbox-img img { max-height: 64dvh; width: auto; max-width: 100%; filter: var(--photo-grade); }
.lightbox-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-4); }
.lightbox-foot p { color: var(--muted); font-size: var(--fs-s); max-width: 46ch; }

/* ---------- services: compact editorial menu ----------
 * phone    row 1  name | price            (UI typeface, medium)
 *          row 2  duration · description  (small, quiet, max 2 lines)
 * desktop  name + description | duration | price, in fixed columns so prices line up row to row
 * Grid with minmax(0,1fr) + min-width:0 so long names wrap instead of pushing the price. Whole row is the booking button. */
.svc-groups { display: grid; gap: var(--s-6); }
.svc-group { display: grid; gap: var(--s-2); }
.cat { font-family: var(--body); font-weight: 500; font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.svc { border-bottom: 1px solid var(--line); }
.svc-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "meta meta"; column-gap: var(--s-4); row-gap: 2px; align-items: baseline; width: calc(100% + var(--s-4) * 2); margin-inline: calc(var(--s-4) * -1); padding: var(--s-3) var(--s-4); text-align: left; background: none; border: 0; border-radius: var(--r-s); transition: background .18s; }
.svc-main:hover { background: color-mix(in srgb, var(--surface-2) 45%, var(--tint)); }
.svc-main:focus-visible { outline-offset: -2px; }
.svc-name { grid-area: name; min-width: 0; font-size: 16.5px; font-weight: 500; line-height: 1.3; letter-spacing: -.005em; overflow-wrap: break-word; }
.svc-price { grid-area: price; font-size: 16.5px; font-weight: 500; line-height: 1.3; white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.svc-meta { grid-area: meta; min-width: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: var(--fs-s); line-height: 1.45; color: var(--muted); }
.svc-dur { white-space: nowrap; font-variant-numeric: tabular-nums; }
.svc-desc::before { content: " · "; white-space: pre; }
@media (max-width: 899px) { .svc-desc { display: none; } }   /* phones: scan name / price / duration; the description is shown in the booking sheet when a service is chosen */
@media (min-width: 900px) {
  .svc-group { grid-template-columns: 180px minmax(0, 1fr); gap: var(--s-7); align-items: start; }
  .cat { padding-top: var(--s-4); position: sticky; top: calc(var(--nav-h) + var(--s-4)); }
  .svc-main { grid-template-columns: minmax(0, 1fr) 6rem 6rem; grid-template-areas: "name dur price" "desc dur price"; align-items: center; column-gap: var(--s-6); padding-block: var(--s-4); }
  .svc-meta { display: contents; }
  .svc-desc::before { content: none; }
  .svc-desc { grid-area: desc; align-self: start; min-width: 0; font-size: var(--fs-s); line-height: 1.45; color: var(--muted); max-width: 52ch; }
  .svc-dur { grid-area: dur; text-align: right; font-size: var(--fs-s); color: var(--muted); }
  .svc-name { align-self: end; }
}

/* ---------- about (the one dark section) ---------- */
.about { display: grid; gap: var(--s-6); }
.about-copy { display: grid; gap: var(--s-3); align-content: start; }
.about h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.02; max-width: 14ch; margin-bottom: var(--s-1); }
.about-text { font-size: var(--fs-m); line-height: 1.55; max-width: 42ch; color: color-mix(in srgb, var(--on-brand) 84%, var(--brand)); }
.about details { max-width: 42ch; font-size: var(--fs-s); color: color-mix(in srgb, var(--on-brand) 78%, var(--brand)); }
.about summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; color: var(--on-brand); font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent-on-dark); text-underline-offset: 6px; text-decoration-thickness: 1px; }
.about details p { padding: 0 0 var(--s-2); line-height: 1.55; }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); max-width: 480px; }
.person { margin: 0; }
.person .ph { aspect-ratio: 1 / 1.12; background: color-mix(in srgb, var(--on-brand) 14%, var(--brand)); border-radius: var(--r-img); overflow: hidden; display: grid; place-items: center; font-family: var(--display); font-size: 44px; color: var(--accent-on-dark); }
.person img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: var(--photo-grade); }
.person figcaption { padding-top: var(--s-2); display: grid; gap: 1px; font-size: var(--fs-s); }
.person figcaption strong { font-weight: 500; }
.person figcaption span { color: color-mix(in srgb, var(--on-brand) 74%, var(--brand)); font-size: var(--fs-xs); line-height: 1.35; }
@media (min-width: 900px) { .about { grid-template-columns: 5fr 6fr; gap: var(--s-8); align-items: center; } .team { gap: var(--s-4); justify-self: end; width: 100%; } }

/* ---------- visit ---------- */
.visit-head { margin-bottom: var(--s-4); display: grid; gap: var(--s-2); }
.visit { display: grid; gap: var(--s-4); padding-bottom: var(--s-6); }
.v-addr { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-4); flex-wrap: wrap; }   /* address left, directions on the right: uses the full row on phones */
.v-addr address { margin-bottom: 0; }
.lab { font-family: var(--body); font-weight: 500; font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: var(--s-2); }
.visit address { font-style: normal; font-size: var(--fs-m); line-height: 1.45; margin-bottom: var(--s-2); }
.visit .note { color: var(--muted); font-size: var(--fs-s); max-width: 32ch; margin-top: var(--s-3); }
.hours { margin: 0; display: grid; gap: var(--s-2); font-size: var(--fs-s); }
.hours div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-4); padding-bottom: var(--s-2); border-bottom: 1px solid var(--line); }
.hours dt { color: var(--muted); } .hours dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.hours .today dt, .hours .today dd { color: var(--ink); font-weight: 500; }
/* Call / Text / Email as three scannable rows, built like the Hours rows: muted label left, the value right, one tap target each */
.clinks { list-style: none; margin: 0; padding: 0; display: grid; }
.clinks a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-4); align-items: center; min-height: 46px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: var(--fs-s); }
.clinks .ck { color: var(--muted); }
.clinks .cv { text-align: right; font-size: var(--fs-m); font-weight: 500; overflow-wrap: anywhere; }
.clinks a:hover .cv { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
.clinks a:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.visit .textlink { margin-top: 0; }
/* tablets: Studio and Contact stack on the left, Hours sits beside them; phones keep one column so rows never wrap awkwardly */
@media (min-width: 640px) { .visit { grid-template-columns: 1fr 1fr; grid-template-areas: "s h" "c h"; column-gap: var(--s-7); align-items: start; } .visit > :nth-child(1) { grid-area: s; } .visit > :nth-child(2) { grid-area: h; } .visit > :nth-child(3) { grid-area: c; } }
@media (min-width: 900px) { .visit { grid-template-columns: 1.1fr 1fr 1fr; grid-template-areas: "s h c"; gap: var(--s-7); padding-bottom: var(--sec); } }

/* ---------- closing invitation + footer: one dark band that ends the page ---------- */
.close { background: var(--brand); color: var(--on-brand); }
.close-in { display: grid; gap: var(--s-4); justify-items: start; padding-block: var(--s-8) var(--s-7); }
.close h2 { font-size: clamp(40px, 7.4vw, 76px); line-height: .96; max-width: 12ch; }
.close p { color: color-mix(in srgb, var(--on-brand) 82%, var(--brand)); max-width: 32ch; font-size: var(--fs-m); }
.close .btn { margin-top: var(--s-2); }
.btn.light { background: var(--on-brand); color: var(--brand); border-color: var(--on-brand); }
.btn.light:hover { background: color-mix(in srgb, var(--on-brand) 86%, var(--accent-on-dark)); border-color: color-mix(in srgb, var(--on-brand) 86%, var(--accent-on-dark)); }
@media (max-width: 719px) { .close-in .btn { width: 100%; } }
@media (min-width: 900px) {
  .close-in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "h btn" "p btn"; align-items: end; column-gap: var(--s-8); row-gap: var(--s-3); padding-block: var(--s-9) var(--s-8); }
  .close h2 { grid-area: h; } .close p { grid-area: p; } .close .btn { grid-area: btn; margin: 0; }
}

.foot { background: var(--brand); color: color-mix(in srgb, var(--on-brand) 80%, var(--brand)); font-size: var(--fs-s); }
.foot > .wrap { border-top: 1px solid color-mix(in srgb, var(--on-brand) 16%, var(--brand)); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); padding-block: var(--s-6) var(--s-3); }
.foot .foot-logo { font-size: 32px; line-height: 1; color: var(--on-brand); text-decoration: none; min-height: 0; }
.foot-brand p { margin-top: var(--s-2); max-width: 32ch; line-height: 1.45; }
.foot-h { font-family: var(--body); font-size: var(--fs-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-on-dark); margin-bottom: var(--s-1); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }   /* phones: links run in a row instead of a tall stack */
.foot a, .foot .link { color: inherit; font-size: var(--fs-s); font-weight: 400; text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.foot-col a:hover, .foot a:hover, .foot .link:hover { color: var(--on-brand); text-decoration: underline; text-decoration-color: var(--accent-on-dark); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.foot-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--s-5); padding-block: var(--s-2) var(--s-3); border-top: 1px solid color-mix(in srgb, var(--on-brand) 16%, var(--brand)); font-size: var(--fs-xs); }
.foot-util { display: inline-flex; gap: var(--s-5); }
.foot-base .link { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--on-brand) 30%, var(--brand)); text-underline-offset: 4px; text-decoration-thickness: 1px; font-size: var(--fs-xs); }
.foot-util a { color: color-mix(in srgb, var(--on-brand) 66%, var(--brand)); font-size: var(--fs-xs); }
@media (min-width: 900px) {
  .foot-grid { grid-template-columns: 1.1fr 1fr 1fr; gap: var(--s-7); padding-block: var(--s-7) var(--s-6); }   /* same columns as Visit above, so Explore sits under Hours and Follow under Contact */
  .foot-col ul { display: grid; gap: 0; }
}
.demo-strip { background: color-mix(in srgb, var(--brand) 62%, #000); color: color-mix(in srgb, var(--on-brand) 72%, var(--brand)); font-size: var(--fs-xs); line-height: 1.5; padding: var(--s-3) 0; }
.demo-strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-1) var(--s-5); }
.demo-strip a { color: var(--on-brand); text-underline-offset: 3px; }
.loading { padding: var(--s-9) 0; color: var(--muted); }
