/* CONCEPT 'Editorial' - AESTHETIC: "late-night auto-show catalogue": a printed magazine spread under a showroom
   spotlight; blue-black paper, chrome hairlines, champagne as the one shop colour. FONTS: Fraunces (display: hairline 200
   roman against 800 'wonky' italic, optical size up to 144, set up to 128px) + Instrument Sans (body, condensed kicker caps).
   Minimal UI: no filled buttons except the form's send; booking is a list of links. */
/* md-pairs: ink:bg, ink-dim:bg, ink:bg-2, ink-dim:bg-2, brand:bg, brand:bg-2, on-brand:brand, chrome:bg */
/* MD-R01: kicker caps use .08em, the cap. */

@font-face { font-family: "Fraunces"; src: url("fonts/Fraunces-SOFT_WONK_opsz_wght.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/Fraunces-Italic-SOFT_WONK_opsz_wght.ttf") format("truetype"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-wdth_wght.ttf") format("truetype"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }

:root {
  --brand: #d6b36a;          /* THE shop colour (champagne); salon e.g. #e7a7b8, nails #d9a0c9 */
  --on-brand: #15110a;
  --bg: #0c0e12;
  --bg-2: #14171d;
  --ink: #ede9e2;
  --ink-dim: #a9a49c;
  --chrome: #c4cad3;
  --rule: #343a43;
  --edge: #7c838d;
  --spot: rgba(196, 202, 211, .10);
  --streak: rgba(196, 202, 211, .03);
  --shade: rgba(12, 14, 18, .92);
  --serif: "Fraunces", Georgia, serif;
  --caps: "Instrument Sans", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --mid: 220ms;
  --slow: 420ms;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font: 400 18px/1.65 var(--body);
  background:
    radial-gradient(ellipse 80% 40% at 50% 0, var(--spot), transparent 70%),
    repeating-linear-gradient(180deg, transparent 0 63px, var(--streak) 63px 64px),
    var(--bg);
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}
h1, h2, p, figure, blockquote { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -64px; z-index: 30; background: var(--brand); color: var(--on-brand); padding: 12px 16px; }
.skip:focus { top: 8px; }

.kicker { font: 600 15px/1.4 var(--caps); font-stretch: 80%; text-transform: uppercase; letter-spacing: .08em; color: var(--chrome); }
.fine { color: var(--ink-dim); font-size: 15px; }

/* masthead */
.mast { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 16px; padding: 8px 0; padding-top: calc(8px + env(safe-area-inset-top)); border-bottom: 1px solid var(--rule); }
.mast-name { font: italic 400 20px/1.2 var(--serif); }
.mast-nav { display: flex; gap: 4px; }
.mast-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font: 600 15px var(--caps); font-stretch: 80%; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }

/* cover */
main { display: grid; grid-template-columns: minmax(0, 1fr); }
.cover { padding: 32px 16px 0; overflow-x: clip; }   /* the photo's 1.04 settle-in never pokes past the screen edge */
.cover h1 { font: 200 64px/.95 var(--serif); font-variation-settings: "opsz" 144, "SOFT" 50; letter-spacing: -.02em; margin: 16px 0 -24px; position: relative; z-index: 1; }
.cover h1 span { display: block; }
.cover h1 .l2 { padding-left: 24%; color: var(--ink-dim); font-size: .6em; line-height: 1.3; }
.cover h1 .l3 { color: var(--brand); font-style: italic; font-weight: 800; font-size: 1.3em; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.cover h1 .l2 { font-style: italic; }
.cover-fig { margin: 0 -16px; }
.cover-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% 50%; }
.cover-fig figcaption { font: 500 14px/1.5 var(--caps); letter-spacing: .04em; color: var(--ink-dim); padding: 8px 16px 0; text-transform: uppercase; }
.lede { margin-top: 24px; font-size: 19px; }
.lede::first-letter { float: left; font: italic 400 72px/.8 var(--serif); color: var(--brand); padding: 8px 12px 0 0; }

/* booking as an inline list of times */
.times { margin: 48px 16px 0; padding: 24px 0; border-top: 1px solid var(--chrome); border-bottom: 1px solid var(--rule); }
.slots { margin: 16px 0 0; display: grid; gap: 12px; }
.slots div { display: grid; gap: 4px; }
.slots dt { font: italic 400 24px/1.3 var(--serif); }
.slots dd { margin: 0; display: flex; flex-wrap: wrap; gap: 0 24px; }
.slots dd a { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand); font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; }
.slots-more { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; }
.slots-more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.slots-more span { color: var(--ink-dim); }
.em { color: var(--brand); }

/* services as a table of contents */
.contents { margin: 48px 16px 0; }
.toc { list-style: none; margin: 16px 0 0; padding: 0; }
.toc a { display: flex; align-items: baseline; gap: 12px; min-height: 56px; padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.toc .no { font: italic 800 32px/1 var(--serif); color: var(--brand); min-width: 48px; font-variant-numeric: tabular-nums; }
.toc .t { font-size: 19px; }
.toc .dots { flex: 1; min-width: 16px; border-bottom: 2px dotted var(--edge); transform: translateY(-4px); }
.toc .p { color: var(--ink-dim); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* asymmetric spread */
.spread { margin: 64px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; padding: 0 16px; }
.spread img { width: 100%; object-fit: cover; }
.s1 { grid-column: 1 / 5; aspect-ratio: 3 / 4; object-position: 30% 50%; }
.pull { grid-column: 3 / 7; margin-top: -64px; position: relative; background: var(--bg-2); border-top: 2px solid var(--brand); padding: 24px 16px; }
.pull p { font: italic 400 24px/1.35 var(--serif); }
.score { display: block; font-weight: 800; font-style: normal; font-size: 112px; font-variation-settings: "opsz" 144, "SOFT" 100; line-height: .9; color: var(--brand); font-variant-numeric: tabular-nums; }
.pull a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-weight: 700; }
.s2 { grid-column: 2 / 7; aspect-ratio: 16 / 9; object-position: 85% 70%; }
.s3 { grid-column: 1 / 6; font: italic 400 18px/1.5 var(--serif); color: var(--ink-dim); }

/* colophon */
.colophon { margin: 64px 16px 0; padding-top: 24px; border-top: 1px solid var(--chrome); }
.hours { margin: 16px 0 0; display: grid; grid-template-columns: 1fr; gap: 0 24px; }
.hours div { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.hours dd { margin: 0; color: var(--ink-dim); }
.hours .is-today dt { color: var(--brand); font-weight: 700; }
.hours .is-today dd { color: var(--ink); }
.status { margin-top: 16px; font: italic 400 20px var(--serif); color: var(--brand); }
.area { margin-top: 16px; }
.area em { font-family: var(--serif); }

/* letter (text us), inline */
.letter { margin: 64px 16px 0; padding: 32px 0; border-top: 1px solid var(--rule); }
.letter h2 { font: italic 800 64px/1 var(--serif); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.letter form { display: grid; gap: 8px; margin-top: 24px; }
.letter label { font: 600 14px var(--caps); font-stretch: 80%; text-transform: uppercase; letter-spacing: .08em; color: var(--chrome); }
.letter input:not([type=checkbox]), .letter textarea { font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--edge); min-height: 48px; padding: 8px 0; width: 100%; }
.letter textarea { border: 1px solid var(--edge); padding: 8px 12px; }
.two { display: grid; gap: 8px; }
.two div { display: grid; gap: 8px; }
.check { display: flex; gap: 12px; align-items: flex-start; text-transform: none !important; letter-spacing: 0 !important; font: 400 15px/1.5 var(--body) !important; color: var(--ink-dim) !important; margin-top: 8px; min-height: 44px; }
.check input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--brand); }
.letter button { justify-self: start; min-height: 52px; padding: 0 32px; background: var(--brand); color: var(--on-brand); border: 0; font: 700 17px var(--body); cursor: pointer; margin-top: 8px; }

.foot { margin: 48px 16px 0; padding: 32px 0; border-top: 1px solid var(--chrome); display: grid; gap: 4px; color: var(--ink-dim); }
.foot .mast-name { color: var(--ink); font-size: 32px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 16px; }

/* the ribbon: a quiet two-link bar */
.ribbon { padding-bottom: calc(8px + env(safe-area-inset-bottom)) !important; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: 2fr 1fr; gap: 8px; padding: 8px 16px; background: var(--bg-2); border-top: 1px solid var(--rule); padding-bottom: env(safe-area-inset-bottom); }
.ribbon a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 12px; font: italic 600 20px var(--serif); text-decoration: none; border: 1px solid var(--edge); }
.ribbon .r-book { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }

/* the one page-load reveal: cover lines rise one by one, then the photo settles */
.cover h1 span, .kicker, .cover-fig, .lede { animation: lift 620ms cubic-bezier(.2, .7, .2, 1) both; }
.cover .kicker { animation-delay: 0ms; }
.cover h1 .l1 { animation-delay: 80ms; } .cover h1 .l2 { animation-delay: 180ms; } .cover h1 .l3 { animation-delay: 280ms; }
.cover-fig { animation-name: settle; animation-duration: 900ms; animation-delay: 120ms; }
.lede { animation-delay: 420ms; }
@keyframes lift { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .ribbon { display: none; }
  .mast, .times, .contents, .colophon, .letter, .foot { margin-left: 64px; margin-right: 64px; }
  .cover { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 32px; padding: 48px 64px 0; align-items: end; }
  .cover .kicker { grid-column: 1 / 6; grid-row: 1; align-self: start; }
  .cover h1 { grid-column: 1 / 7; grid-row: 2; font-size: 104px; margin: 0 -96px 48px 0; }
  .cover-fig { grid-column: 6 / 13; grid-row: 1 / 4; margin: 0; }
  .cover-fig img { aspect-ratio: 4 / 3; }
  .lede { grid-column: 1 / 6; grid-row: 3; }
  main { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  main > .cover, main > .spread, main > .letter { grid-column: 1 / -1; }
  .times { grid-column: 1 / 7; margin-right: 0; }
  .contents { grid-column: 7 / 13; margin-left: 32px; }
  .colophon { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
  .colophon .kicker { grid-column: 1 / -1; }
  .hours { grid-template-columns: 1fr 1fr; }
  .spread { padding: 0 64px; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
  .s1 { grid-column: 1 / 6; grid-row: 1 / 3; }
  .pull { grid-column: 6 / 10; grid-row: 1; margin: 64px 0 0 -64px; padding: 32px; }
  .s2 { grid-column: 7 / 13; grid-row: 2; }
  .s3 { grid-column: 10 / 13; grid-row: 1; align-self: end; }
  .two { grid-template-columns: 1fr 1fr; gap: 24px; }
  .letter { display: grid; grid-template-columns: 1fr 2fr; gap: 0 48px; }
  .letter form { margin-top: 0; grid-row: 1 / 3; grid-column: 2; }
}

@media (pointer: coarse) { .mast-nav a, .slots dd a, .slots-more a, .pull a, .foot a { min-height: 48px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cover h1 span, .kicker, .cover-fig, .lede { animation: none; }
}
