/* Self-hosted. Geist for everything; Newsreader used sparingly for feature lines. */
/* cyrillic-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/geist-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/geist-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/geist-2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/geist-3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/geist-4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* vietnamese */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url(../fonts/newsreader-0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url(../fonts/newsreader-1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url(../fonts/newsreader-2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/newsreader-3.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/newsreader-4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/newsreader-5.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



/* =========================================================================
   THE P2 COLLECTIVE
   Calm, understated, confident. Reference register: Apple, Aesop, COS,
   Soho House, Porsche. Photography and space do the work — not effects.

   Rules this sheet holds itself to:
   - mobile-first; every breakpoint is min-width
   - one accent-free palette; no gradients as decoration
   - opacity/translate fades only, 400-700ms, never bounce or scale-in
   - type does the hierarchy: size, weight and space, not colour or rules
   ========================================================================= */

:root {
  /* ---- Palette ---- */
  --bg: #f5f3ee;          /* warm off-white */
  --ink: #1e1e1e;         /* main text */
  --dark: #191919;        /* dark sections */
  --line: #d9d5cd;        /* dividers */

  /* Brief specifies #76736D for muted text. On #F5F3EE that measures 4.26:1,
     which fails WCAG AA (4.5:1) for body copy — and muted text is used for most
     of the running text on the site. Darkened by the smallest amount that
     clears the threshold (4.58:1); the difference is imperceptible in place. */
  --muted: #716e68;

  /* Derived, on dark surfaces */
  --on-dark: #f5f3ee;
  --on-dark-muted: #9a968e;
  --line-dark: #2e2e2e;

  /* Surface tokens — components read these, and dark sections rebind them,
     so a block behaves correctly wherever it is placed. */
  --fg: var(--ink);
  --fg-muted: var(--muted);
  --rule: var(--line);
  --surface: var(--bg);

  /* ---- Type ---- */
  --sans: Geist, Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --serif: Newsreader, Georgia, 'Times New Roman', serif;

  /* ---- Space ---- */
  --gutter: 1.5rem;
  --maxw: 1320px;
  --measure: 34rem;
  --section: 4.5rem;      /* vertical rhythm, grows at larger breakpoints */

  --header-h: 56px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --fade: 700ms;
}

@media (min-width: 48em) {
  :root { --gutter: 2.5rem; --section: 6.5rem; --header-h: 64px; }
}
@media (min-width: 64em) {
  :root { --gutter: 3.5rem; --section: 8.5rem; --header-h: 72px; }
}
@media (min-width: 90em) {
  :root { --gutter: 4.5rem; --section: 10rem; }
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

/* <picture> is inline by default, so a child img at height:100% would resolve
   against the picture rather than the fill container. Every wrapper that crops
   an image to a ratio needs the picture to inherit its box. */
.media picture,
.card__media picture,
.person__media picture,
.hero__media picture,
.bleed picture {
  display: block;
  width: 100%;
  height: 100%;
}

button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--ink); color: var(--bg); }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ---------- Type scale ----------
   Tight tracking on large sizes is what reads "considered" rather than
   "default". Every step is fluid so nothing needs per-breakpoint overrides. */

.h1, .h2, .h3, .h4 {
  font-weight: 450;
  line-height: 1.08;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.h1 { font-size: clamp(2.25rem, 1.35rem + 4.5vw, 5rem); }
.h2 { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3.25rem); }
.h3 { font-size: clamp(1.375rem, 1.15rem + 1.05vw, 2rem); line-height: 1.16; letter-spacing: -0.022em; }
.h4 { font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem); line-height: 1.25; letter-spacing: -0.016em; }

/* Rare editorial serif — feature statements only, never body or navigation. */
.feature {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 1.05rem + 2.1vw, 2.75rem);
  line-height: 1.3;
  letter-spacing: -0.014em;
  text-wrap: balance;
}
.feature em { font-style: italic; }

/* Small caps label — used sparingly, for section eyebrows and meta only. */
.label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  line-height: 1.4;
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  letter-spacing: -0.014em;
  color: var(--fg-muted);
  max-width: var(--measure);
}

.body { color: var(--fg-muted); max-width: var(--measure); }
.body p + p { margin-top: 1em; }
.body strong { font-weight: 500; color: var(--fg); }

.body a:not(.btn) {
  color: var(--fg);
  border-bottom: 1px solid var(--rule);
  transition: border-color 300ms var(--ease);
}
.body a:not(.btn):hover { border-bottom-color: currentColor; }

.num {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--text { max-width: 46rem; }

.section { padding-block: var(--section); }
.section--sm { padding-block: calc(var(--section) * 0.6); }
.section--flush { padding-top: 0; }

.rule { height: 1px; background: var(--rule); border: 0; }

/* Dark surface rebinds the tokens rather than overriding each component. */
.dark {
  background: var(--dark);
  --fg: var(--on-dark);
  --fg-muted: var(--on-dark-muted);
  --rule: var(--line-dark);
  --surface: var(--dark);
  color: var(--fg);
}

.dark ::selection { background: var(--on-dark); color: var(--dark); }

/* Stack: the default mobile-first arrangement for nearly everything. */
.stack { display: grid; gap: 1.5rem; }
.stack--sm { gap: 0.75rem; }
.stack--lg { gap: 2.5rem; }

.grid { display: grid; gap: 2rem; }

@media (min-width: 40em) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64em) {
  .grid { gap: 2.5rem; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Two-column editorial split: heading left, content right. */
.split { display: grid; gap: 2rem; }

@media (min-width: 64em) {
  .split {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: clamp(3rem, 7vw, 8rem);
    align-items: start;
  }
  .split__head { position: sticky; top: calc(var(--header-h) + 3rem); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 3rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 450;
  letter-spacing: -0.006em;
  border: 1px solid var(--fg);
  border-radius: 999px;
  color: var(--fg);
  background: transparent;
  transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease);
  text-align: center;
}

.btn:hover { background: var(--fg); color: var(--surface); }

.btn--primary { background: var(--fg); color: var(--surface); }
.btn--primary:hover { background: transparent; color: var(--fg); }

.btn--sm { min-height: 2.5rem; padding: 0.5rem 1.125rem; font-size: 0.875rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Quiet inline link with an arrow — the site's standard "more" affordance. */
.more {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.9375rem;
  font-weight: 450;
  color: var(--fg);
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--rule);
  transition: border-color 300ms var(--ease);
  width: fit-content;
}
.more:hover { border-bottom-color: currentColor; }
.more::after {
  content: '';
  width: 0.5em;
  height: 0.5em;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 300ms var(--ease);
}
.more:hover::after { transform: rotate(45deg) translate(2px, -2px); }

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--on-dark);
  transition: background-color 400ms var(--ease), color 400ms var(--ease), border-color 400ms var(--ease);
  border-bottom: 1px solid transparent;
}

/* Over the hero video the header is transparent; the video's own top scrim
   carries it. Everywhere else it is a solid bar from the first pixel. */
.header.is-solid,
body:not(.has-hero) .header {
  background: var(--bg);
  color: var(--ink);
  border-bottom-color: var(--line);
}

body:not(.has-hero) { padding-top: var(--header-h); }

.header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  /* Menu left, wordmark truly centred, Book right — at every width. */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.brand {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.header__end { display: flex; align-items: center; gap: 0.75rem; justify-self: end; }
.brand { justify-self: center; white-space: nowrap; }

.header .btn { border-color: currentColor; }

/* Over the hero the Book control has to hold against a moving image, so it is
   filled rather than outlined until the header goes solid. */
body.has-hero .header:not(.is-solid) .btn {
  background: var(--on-dark);
  color: var(--dark);
  border-color: var(--on-dark);
}
body.has-hero .header:not(.is-solid) .btn:hover {
  background: transparent;
  color: var(--on-dark);
}

/* Menu toggle — two rules, no icon font, no animation beyond a cross. */
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  padding: 0.5rem 0;
  margin-inline-start: -0.25rem;
}
.menu-btn { justify-self: start; }

.menu-btn__bars { display: grid; gap: 5px; width: 18px; }
.menu-btn__bars i {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 350ms var(--ease), opacity 250ms var(--ease);
}
body.menu-open .menu-btn__bars i:first-child { transform: translateY(3px) rotate(45deg); }
body.menu-open .menu-btn__bars i:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Menu panel ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--bg);
  color: var(--ink);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  display: grid;
  align-content: start;
  overflow-y: auto;
  gap: 0;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 350ms var(--ease), visibility 350ms;
}

body.menu-open .menu { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
body.menu-open .header { background: var(--bg); color: var(--ink); border-bottom-color: transparent; }

.menu__nav { display: grid; }

/* This is the site's primary navigation now, not a mobile fallback, so it gets
   room to breathe. Twelve items in one column would run past the fold on a
   laptop; two columns keep the whole site visible without scrolling. */
@media (min-width: 48em) {
  .menu__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* Fill down the first column before starting the second, so reading down a
       column follows the running order. Row-flow put Home above Experience
       above Team, which reads as an arbitrary half of the site. */
    grid-template-rows: repeat(6, auto);
    grid-auto-flow: column;
    column-gap: clamp(2.5rem, 7vw, 7rem);
  }
}

.menu__nav a {
  font-size: 1.5rem;
  font-weight: 450;
  letter-spacing: -0.024em;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu__nav a span { font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Where you are, without an icon or a colour. */
.menu__nav a[aria-current='page'] { color: var(--ink); }
.menu__nav a:not([aria-current='page']) { color: var(--muted); }
.menu__nav a:hover { color: var(--ink); }

.menu__foot { margin-top: 2.5rem; display: grid; gap: 0.5rem; }
/* :not(.btn), because this muted treatment is for the phone/email/Instagram
   lines only — unscoped it also won the specificity fight against
   .btn--primary and turned the Book button's text grey. */
.menu__foot a:not(.btn) { color: var(--muted); font-size: 0.9375rem; }
.menu__foot .btn { margin-top: 1rem; justify-self: start; }

@media (min-width: 48em) {
  .menu__foot { margin-top: 3.5rem; grid-auto-flow: column; justify-content: start; align-items: center; gap: 2rem; }
  .menu__foot .btn { margin-top: 0; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  background: var(--dark);
  color: var(--on-dark);
  overflow: hidden;
}

/* The hero comes up rather than snapping in. A CSS animation, not a JS class,
   so it still works with JavaScript off and cannot flash. */
.hero__media {
  position: absolute;
  inset: 0;
  animation: hero-in 800ms var(--ease) both;
}

@keyframes hero-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The video sits over its own first frame. Fading it out across the loop seam
   dissolves the closing shot into the opening one — see the seam watcher in
   site.js. Linear, because an eased dissolve reads as a swell. */
.hero__media video {
  position: absolute;
  inset: 0;
  transition: opacity 500ms linear;
}
.hero__media video.is-seam { opacity: 0; }

/* Just enough to hold the header and the caption over whatever frame the video
   happens to be on. Not a decorative gradient — it does a job. */
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.14) 18%, rgba(0,0,0,0) 32%),
    linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.12) 40%, rgba(0,0,0,0) 62%),
    /* Flat wash so the wording holds over any frame, not just the ones the
       gradients happen to cover. The gradients above are pulled back to
       compensate — stacked at their old strength this went muddy, and the
       footage is already dark. */
    rgba(0, 0, 0, 0.18);
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gutter) 3rem;
}

@media (min-width: 48em) { .hero__inner { padding-bottom: 4rem; } }
@media (min-width: 64em) { .hero__inner { padding-bottom: 5rem; } }

.hero__title {
  max-width: 18ch;
  font-weight: 450;
  letter-spacing: -0.03em;
}

.hero__meta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
}

.hero .btn { border-color: var(--on-dark); color: var(--on-dark); }
.hero .btn:hover { background: var(--on-dark); color: var(--dark); }
.hero .btn--primary { background: var(--on-dark); color: var(--dark); }
.hero .btn--primary:hover { background: transparent; color: var(--on-dark); }

/* Sound/motion control for the hero video — small, bottom-right, unobtrusive. */
.hero__toggle {
  position: absolute;
  right: var(--gutter);
  bottom: 3rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(245, 243, 238, 0.35);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--on-dark);
  transition: border-color 300ms var(--ease), background-color 300ms var(--ease);
}
.hero__toggle:hover { border-color: var(--on-dark); }
.hero__toggle svg { width: 12px; height: 12px; fill: currentColor; }
.hero__toggle .icon-play { display: none; }
.hero__toggle[aria-pressed='true'] .icon-play { display: block; }
.hero__toggle[aria-pressed='true'] .icon-pause { display: none; }

@media (min-width: 48em) { .hero__toggle { bottom: 4rem; } }
@media (min-width: 64em) { .hero__toggle { bottom: 5rem; } }

/* ---------- Page head (interior pages) ---------- */

.pagehead { padding-block: calc(var(--section) * 0.75) calc(var(--section) * 0.5); }
.pagehead__title { max-width: 20ch; }
.pagehead .lead { margin-top: 1.5rem; }

/* ---------- Media ---------- */

.media { position: relative; overflow: hidden; background: var(--line); }
.media img { width: 100%; height: 100%; object-fit: cover; }

.media--portrait { aspect-ratio: 3 / 4; }

/* Portraits crop from the centre by default, which cuts heads off when the
   subject sits high in the frame. Bias the crop upward for faces. */
.media--face img { object-position: center 20%; }
.media--square { aspect-ratio: 1 / 1; }
.media--landscape { aspect-ratio: 4 / 3; }
.media--wide { aspect-ratio: 16 / 9; }

.dark .media { background: #232323; }

/* Full-bleed image band */
.bleed { position: relative; overflow: hidden; height: 60svh; min-height: 320px; }
.bleed img { width: 100%; height: 100%; object-fit: cover; }
/* Anchor to the top so a tall crop keeps the team's heads in frame and sheds
   the bottom rather than the top. Only for the near-square team group photo;
   interior shots are composed for the default centre. */
.bleed--top img { object-position: center top; }
@media (min-width: 64em) { .bleed { height: 78svh; } }

/* ---------- Fade-in ---------- */

.fade {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--fade) var(--ease), transform var(--fade) var(--ease);
}
.fade.is-in { opacity: 1; transform: none; }

.fade-group > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--fade) var(--ease), transform var(--fade) var(--ease);
}
.fade-group.is-in > * { opacity: 1; transform: none; }
.fade-group.is-in > *:nth-child(2) { transition-delay: 70ms; }
.fade-group.is-in > *:nth-child(3) { transition-delay: 140ms; }
.fade-group.is-in > *:nth-child(4) { transition-delay: 210ms; }
.fade-group.is-in > *:nth-child(5) { transition-delay: 280ms; }
.fade-group.is-in > *:nth-child(6) { transition-delay: 350ms; }

/* ---------- Recognition (awards, kept as text — no badges) ---------- */

.awards { display: grid; }

.awards__year {
  display: grid;
  gap: 0.75rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--rule);
}
.awards__year:last-child { border-bottom: 1px solid var(--rule); }

/* Year sits alongside its awards once there is room for a second column. */
@media (min-width: 40em) {
  .awards__year {
    grid-template-columns: 5rem minmax(0, 1fr);
    gap: 0 2rem;
    padding-block: 1.75rem;
  }
}

.awards__label {
  font-size: 0.8125rem;
  font-weight: 450;
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
}

.awards__list { display: grid; gap: 0.875rem; margin: 0; padding: 0; }

.awards__item {
  list-style: none;
  display: grid;
  gap: 0.125rem;
}

.awards__name { font-size: 1rem; font-weight: 450; letter-spacing: -0.014em; }
.awards__meta { font-size: 0.875rem; color: var(--fg-muted); }

/* ---------- Numbered steps (Experience, Principles) ---------- */

.steps { display: grid; }

.step {
  display: grid;
  gap: 0.5rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--rule);
}
.step:last-child { border-bottom: 1px solid var(--rule); }

/* Number in a narrow first column, title and body stacked in the second.
   A three-column variant was tried and rejected: inside a .split the third
   column collapses to ~250px and the copy ends up badly ragged. */
@media (min-width: 48em) {
  .step {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 0.375rem 2rem;
    padding-block: 2.25rem;
  }
  .step__title { grid-column: 2; grid-row: 1; }
  .step__body { grid-column: 2; grid-row: 2; }
}

.step__num { font-size: 0.75rem; font-weight: 500; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.step__title { font-size: 1.125rem; font-weight: 450; letter-spacing: -0.016em; }
.step__body { color: var(--fg-muted); max-width: var(--measure); }

/* ---------- Services ----------
   Each service is its own block with room around it, rather than a row in a
   price table. The hairline is the only divider; space does the rest. */

.offer-grid { display: grid; gap: 2.5rem; }

@media (min-width: 48em) {
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 3.5rem; }
}
@media (min-width: 64em) {
  .offer-grid { gap: 4rem 5rem; }
}

.offer {
  display: grid;
  gap: 0.875rem;
  align-content: start;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
}

.offer__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
}

.offer__name {
  font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.4375rem);
  font-weight: 450;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.offer__age { color: var(--fg-muted); font-weight: 400; }

.offer__price {
  font-size: 1rem;
  font-weight: 450;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--fg-muted);
}

.offer__desc { color: var(--fg-muted); font-size: 0.9375rem; max-width: 34rem; }

.offer-note {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
}

/* ---------- Cards (services overview, products, journal) ---------- */

.card { display: grid; gap: 1rem; align-content: start; }
.card__media { overflow: hidden; background: var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.card:hover .card__media img { transform: scale(1.02); }
.dark .card__media { background: #232323; }
.card__title { font-size: 1.0625rem; font-weight: 450; letter-spacing: -0.016em; }
.card__text { color: var(--fg-muted); font-size: 0.9375rem; }

/* ---------- Team profiles ----------
   An editorial feature, not a staff directory: no cards, no boxes, no icons.
   Portrait and copy alternate sides down the page; on mobile the portrait sits
   above the text with room to breathe. */

.profiles { display: grid; gap: clamp(4rem, 10vw, 9rem); }

.profile { display: grid; gap: 2rem; }

@media (min-width: 64em) {
  .profile {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
  }
  /* Flip the columns without changing source order, so the reading order stays
     portrait-then-copy for screen readers and on mobile. */
  .profile--flip .profile__media { grid-column: 2; grid-row: 1; }
  .profile--flip .profile__body { grid-column: 1; grid-row: 1; }
}

.profile__name {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 450;
  letter-spacing: -0.024em;
  line-height: 1.1;
}

.profile__role {
  margin-top: 0.375rem;
  font-size: 0.9375rem;
  color: var(--fg-muted);
}

/* The closing line of each biography, lifted out. Larger and set in the
   editorial serif, but restrained — not a decorated quote block. */
.profile__statement {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.125rem, 1rem + 0.7vw, 1.4375rem);
  line-height: 1.4;
  letter-spacing: -0.012em;
  max-width: 34rem;
}

/* Shown until the edited portraits are supplied. Deliberately a labelled
   frame rather than a stand-in photograph — a wrong face is worse than none. */
.portrait-pending {
  aspect-ratio: 3 / 4;
  background: var(--line);
  display: grid;
  place-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 2rem;
}
.dark .portrait-pending { background: #232323; }

.portrait-pending__name {
  font-size: 1.0625rem;
  font-weight: 450;
  letter-spacing: -0.016em;
  color: var(--fg);
}
/* --fg rather than --fg-muted: the placeholder tint is darker than the page,
   and muted grey on it only reaches 3.5:1. */
.portrait-pending__note {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
}

/* ---------- Products ----------
   Each product gets a full editorial section rather than a tile in a grid, with
   the image side alternating down the page. Nothing here is e-commerce: no
   price, no basket, no quantity control — the products are sold in the salon. */

.product { display: grid; gap: 2rem; }

@media (min-width: 64em) {
  .product {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(3rem, 6vw, 7rem);
    align-items: center;
  }
  /* Source order stays image-then-text so the reading order is right without
     JS; only the visual column swaps. */
  .product--reverse .product__media { order: 2; }
}

/* Between 3/4 and 1/1: the supplied packshots are a mix of portrait and square
   and this crops neither of them tightly. The brief asks for space around the
   packaging, so nothing is cropped harder than this. */
.media--product { aspect-ratio: 4 / 5; }

.product__heading {
  margin-top: 0.5rem;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.4;
  letter-spacing: -0.014em;
  color: var(--fg-muted);
  max-width: 30ch;
}

.product__note { border-top: 1px solid var(--rule); padding-top: 1.25rem; }

/* Awaiting photography. Labelled rather than filled with an unrelated image —
   the same approach as the pending reviews and team portraits. */
.product-pending {
  background: var(--line);
  display: grid;
  place-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 2rem;
}
.dark .product-pending { background: #232323; }

.product-pending__name {
  font-size: 1.0625rem;
  font-weight: 450;
  letter-spacing: -0.016em;
  color: var(--fg);
}
/* --fg not --fg-muted: muted grey on the placeholder tint only reaches 3.5:1. */
.product-pending__note {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
}

/* ---------- Pull quote ----------
   A standout moment: the quote gets a section to itself with nothing competing
   for attention. Serif here is deliberate and rationed — one of only a few
   places it appears on the whole site. */

.pull {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.5rem;
  padding-block: calc(var(--section) * 0.6);
}

.pull__text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 1.2rem + 4vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 16ch;
  text-wrap: balance;
}

.pull__by {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ---------- Progression pathway ----------
   Typographic rather than a diagram: numbered stages separated by hairlines.
   No arrows, no connectors, no progress bar. */

.path { display: grid; }

.path__step {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0 1.5rem;
  align-items: baseline;
  padding-block: 1.125rem;
  border-top: 1px solid var(--rule);
}
.path__step:last-child { border-bottom: 1px solid var(--rule); }

@media (min-width: 48em) {
  .path__step { grid-template-columns: 3.5rem minmax(0, 1fr); padding-block: 1.375rem; }
}

.path__num {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
}

.path__label {
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.3125rem);
  font-weight: 450;
  letter-spacing: -0.018em;
}

/* ---------- Plain hairline list (promises, statements of intent) ---------- */

.linelist { display: grid; margin: 0; padding: 0; }

.linelist li {
  list-style: none;
  padding-block: 0.875rem;
  border-top: 1px solid var(--rule);
  color: var(--fg-muted);
  font-size: 0.9375rem;
}
.linelist li:last-child { border-bottom: 1px solid var(--rule); }

/* A run of short lines that belong together — set closer than paragraphs so
   they read as one thought rather than four separate ones. */
.lines { display: grid; gap: 0.375rem; }
.lines p { color: var(--fg); font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem); }

/* ---------- Reviews ----------
   Editorial quotes, not widgets. Two columns of generous blocks separated by
   space rather than borders or cards. */

.stars { display: inline-flex; gap: 0.25rem; }
.stars svg { width: 12px; height: 12px; fill: var(--fg); }
.stars--lg svg { width: 15px; height: 15px; }

.quotes { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 48em) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3rem, 6vw, 5rem); } }

.quote { display: grid; gap: 1.25rem; align-content: start; margin: 0; }

.quote__text {
  font-size: clamp(1.125rem, 1.02rem + 0.5vw, 1.375rem);
  line-height: 1.45;
  letter-spacing: -0.016em;
}

.quote__by { font-size: 0.875rem; color: var(--fg-muted); }

/* An unfilled slot. Deliberately obvious: no invented testimonials. */
.quote--pending {
  min-height: 12rem;
  background: var(--line);
  place-content: center;
  text-align: center;
  padding: 2rem;
}
.quote__pending {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
}

/* Rating summary in the hero */
.rating { display: grid; gap: 0.75rem; justify-items: start; }
.rating__line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem 0.75rem; }
.rating__score { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem); font-weight: 450; letter-spacing: -0.026em; }
.rating__meta { font-size: 0.9375rem; color: var(--fg-muted); }

/* ---------- Statistics ---------- */

/* Border on every cell's top plus one under the whole block, so the rules stay
   correct however many stats are shown — the live ones are hidden until the
   Google figures actually arrive. */
.stats { display: grid; gap: 0; border-bottom: 1px solid var(--rule); }

.stat {
  display: grid;
  gap: 0.25rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--rule);
}

@media (min-width: 40em) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
}
@media (min-width: 64em) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Nothing that depends on the live rating is shown until the real value is in.
   A dash or a made-up number would both be worse than showing nothing. */
[data-rating-block]:not([data-loaded]),
.stat[data-live-stat]:not([data-loaded]) { display: none; }

.stat__value {
  font-size: clamp(1.375rem, 1.2rem + 0.9vw, 1.875rem);
  font-weight: 450;
  letter-spacing: -0.024em;
  line-height: 1.1;
}
.stat__label { font-size: 0.875rem; color: var(--fg-muted); }

/* ---------- Reasons ---------- */

.reasons { display: grid; }

.reason {
  display: grid;
  gap: 0.5rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--rule);
}
.reason:last-child { border-bottom: 1px solid var(--rule); }

.reason__title { font-size: 1.125rem; font-weight: 450; letter-spacing: -0.018em; }
.reason__text { color: var(--fg-muted); font-size: 0.9375rem; max-width: 38rem; }

/* ---------- Accordion ---------- */

.acc { display: grid; }
.acc__item { border-top: 1px solid var(--rule); }
.acc__item:last-child { border-bottom: 1px solid var(--rule); }

.acc__btn {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1rem;
  gap: 1.5rem;
  align-items: center;
  text-align: left;
  padding-block: 1.25rem;
  font-size: 1rem;
  font-weight: 450;
  letter-spacing: -0.014em;
  line-height: 1.4;
}

.acc__sign { position: relative; width: 11px; height: 11px; justify-self: end; }
.acc__sign::before, .acc__sign::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: opacity 250ms var(--ease);
}
.acc__sign::before { left: 0; top: 5px; width: 11px; height: 1px; }
.acc__sign::after { top: 0; left: 5px; height: 11px; width: 1px; }
.acc__item.is-open .acc__sign::after { opacity: 0; }

.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 400ms var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding-bottom: 1.25rem; color: var(--fg-muted); max-width: var(--measure); }

/* ---------- Details / info lists ---------- */

.deflist { display: grid; gap: 0; }
.deflist__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
}
.deflist__row:first-child { border-top: 1px solid var(--rule); }
.deflist__row dd { margin: 0; color: var(--fg-muted); white-space: nowrap; }
.deflist__row.is-today dt,
.deflist__row.is-today dd { color: var(--fg); font-weight: 450; }

/* ---------- Form ---------- */

.form { display: grid; gap: 1.5rem; max-width: 36rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.875rem; color: var(--fg-muted); }

.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  min-height: 3rem;
  transition: border-color 250ms var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus { outline: none; border-color: var(--fg); }
.field textarea { resize: vertical; min-height: 8rem; }

.form__note { font-size: 0.875rem; color: var(--fg-muted); }

.form__status {
  font-size: 0.9375rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  display: none;
}
.form__status.is-shown { display: block; }
.form__status.is-err { border-color: #9a4a3f; color: #9a4a3f; }

.hp { position: absolute; left: -9999px; }

/* ---------- Map ---------- */

.map { aspect-ratio: 16 / 10; background: var(--line); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(0.95); }
@media (min-width: 64em) { .map { aspect-ratio: 21 / 9; } }

/* The parking map has to show the salon *and* the town-centre car parks, which
   is a squarer area than the 21/9 letterbox. Left wide and OSM zooms out far
   enough that street names stop being readable. */
.map--area { aspect-ratio: 16 / 10; }
@media (min-width: 64em) { .map--area { aspect-ratio: 16 / 10; } }

/* ---------- Booking ----------
   The Fresha panel sits in a plain frame with space around it so it reads as
   part of the page rather than something pasted in. Height is viewport-led
   because the widget holds a whole booking flow, not a fixed-size block.

   Nothing here depends on the frame actually filling. A third party refusing to
   be framed renders blank, and that is not detectable cross-origin, so the note
   and buttons below are always present rather than revealed on failure. */

.booking { display: grid; gap: 1.75rem; }

.booking__frame {
  height: clamp(34rem, 78svh, 52rem);
  background: var(--line);
  overflow: hidden;
}
.booking__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.dark .booking__frame { background: #232323; }

.booking__aside { display: grid; gap: 1rem; justify-items: start; }
.booking__note { color: var(--fg-muted); font-size: 0.9375rem; max-width: 44rem; }

/* The state the page is actually in: Fresha blocks framing, so booking is a
   panel that hands over to it rather than a widget. Bordered and generously
   padded so it reads as the centrepiece it is, not as a fallback. */
.booking__panel {
  padding: clamp(2.25rem, 6vw, 4.5rem);
  border: 1px solid var(--rule);
  text-align: center;
  display: grid;
  justify-items: center;
}
.booking__panel .booking__note { max-width: 32rem; }
.booking__panel .btn-row { justify-content: center; }

/* ---------- Gift cards ----------
   A quiet bordered note at the foot of the booking page — deliberately not a
   second call to action competing with the booking panel above it. */

.giftcard {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--rule);
}
.giftcard__note { color: var(--fg-muted); font-size: 0.9375rem; }

/* ---------- Partners ----------
   Text, not logos. That is how awards are handled everywhere else on this site,
   so it reads as consistent rather than as something missing. */

.partners { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }

.partner { padding-top: 1.75rem; border-top: 1px solid var(--rule); }
.partner__name { font-size: 1.125rem; font-weight: 450; letter-spacing: -0.018em; }

/* ---------- Gallery ----------
   Slots the client has not filled yet are labelled with what belongs there,
   rather than padded out with salon interiors that say nothing about the
   community this page is about. */

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
@media (min-width: 40em) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}

.gallery__item { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); }
.gallery__item picture { display: block; width: 100%; height: 100%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.dark .gallery__item { background: #232323; }

.gallery__item--pending { display: grid; place-content: center; gap: 0.375rem; text-align: center; padding: 1rem; }
.gallery__pending { font-size: 1rem; font-weight: 450; letter-spacing: -0.014em; color: var(--fg); }
.gallery__note {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
}

/* ---------- Visit Us ---------- */

.visit__address {
  font-style: normal;
  display: grid;
  gap: 0.125rem;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  letter-spacing: -0.014em;
}

/* Opening hours as a run of rows, not a table — the brief asks for it not to
   look like a spreadsheet. Times are tabular so the column stays aligned. */
.hours { display: grid; }

.hours__row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.125rem;
  border-top: 1px solid var(--rule);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
}
.hours__row:last-child { border-bottom: 1px solid var(--rule); }
.hours__day { font-weight: 450; }
.hours__time { color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.hours__row.is-today .hours__time { color: var(--fg); }

/* Contact details carry more weight than the form below them. */
.contactlist { display: grid; }

.contactlist__row {
  display: grid;
  gap: 0.25rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--rule);
}
.contactlist__row:last-child { border-bottom: 1px solid var(--rule); }

.contactlist__value {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  letter-spacing: -0.014em;
  border-bottom: 1px solid transparent;
  transition: border-color 300ms var(--ease);
  justify-self: start;
}
.contactlist__value:hover { border-bottom-color: currentColor; }

/* ---------- Instagram feed ----------
   Rendered from /api/instagram, hidden until it returns. Square crops in a
   short grid: the brief asks for a clean editorial feel, not a wall of posts. */

.ig { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
@media (min-width: 40em) { .ig { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ig__item { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--line); }
.ig__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.ig__item:hover img { transform: scale(1.03); }
.dark .ig__item { background: #232323; }

/* ---------- Journal ----------
   Editorial, image-led, no sidebars. Cards reuse the site card system; the
   featured article gets a split layout; article bodies get the one place on
   the site where rendered markdown needs typographic rules of its own. */

.jcard__meta { font-size: 0.8125rem; color: var(--fg-muted); }
.jcard__meta span { color: var(--fg); font-weight: 450; }
.jcard__meta a { border-bottom: 1px solid var(--rule); }
.jcard__meta a:hover { border-bottom-color: currentColor; }

.jfeature { display: grid; gap: 1.5rem; }
.jfeature__media { aspect-ratio: 16 / 9; }
@media (min-width: 64em) {
  .jfeature {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
  }
}
.jfeature:hover .card__title,
.jfeature:hover .h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Category filter chips — revealed by JS; without it all articles just show. */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  font-size: 0.8125rem;
  font-weight: 450;
  padding: 0.45rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--fg-muted);
  transition: color 250ms var(--ease), border-color 250ms var(--ease);
}
.chip:hover { color: var(--fg); border-color: var(--fg); }
.chip[aria-pressed='true'] { color: var(--bg); background: var(--ink); border-color: var(--ink); }

/* Rendered markdown. Measure comes from .wrap--text; this sets the rhythm. */
.prose { color: var(--fg-muted); }
.prose h2 {
  font-size: clamp(1.375rem, 1.15rem + 1.05vw, 1.75rem);
  font-weight: 450;
  letter-spacing: -0.022em;
  line-height: 1.2;
  color: var(--fg);
  margin: 2.5em 0 0.75em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.125rem; font-weight: 450; color: var(--fg); margin: 2em 0 0.5em; }
.prose p { margin: 0 0 1.1em; }
.prose strong { font-weight: 500; color: var(--fg); }
.prose a { color: var(--fg); border-bottom: 1px solid var(--rule); transition: border-color 300ms var(--ease); }
.prose a:hover { border-bottom-color: currentColor; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--fg-muted); }
.prose blockquote {
  margin: 2em 0;
  padding-left: 1.25rem;
  border-left: 1px solid var(--fg);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--fg);
}

/* The one quiet call to action at the foot of each article. */
.jcta { border-top: 1px solid var(--rule); padding-top: 2rem; }

/* ---------- Footer ---------- */

.footer { background: var(--dark); color: var(--on-dark); --fg: var(--on-dark); --fg-muted: var(--on-dark-muted); --rule: var(--line-dark); --surface: var(--dark); }
.footer a { color: var(--on-dark-muted); transition: color 250ms var(--ease); }
.footer a:hover { color: var(--on-dark); }

.footer__top { display: grid; gap: 2.5rem; padding-block: var(--section) 2.5rem; }
@media (min-width: 48em) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; } }
@media (min-width: 64em) { .footer__top { grid-template-columns: 1.4fr repeat(3, 1fr); } }

.footer h2 { font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 1.25rem; }
.footer__links { display: grid; gap: 0.625rem; font-size: 0.9375rem; }
.footer__brand { font-size: 1rem; font-weight: 500; letter-spacing: -0.012em; color: var(--on-dark); margin-bottom: 1rem; }
.footer address { font-style: normal; font-size: 0.9375rem; color: var(--on-dark-muted); line-height: 1.8; }

.footer__bar {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.5rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--on-dark-muted);
}
@media (min-width: 48em) { .footer__bar { grid-auto-flow: column; justify-content: space-between; align-items: center; } }

/* ---------- Utilities ---------- */

.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mt-6 { margin-top: 4rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.muted { color: var(--fg-muted); }

.skip {
  position: absolute;
  left: -9999px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 0.875rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9375rem;
}
.skip:focus { left: 1rem; top: 1rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Short viewports (phones in landscape) ---------- */

@media (max-height: 32.5em) and (orientation: landscape) {
  :root { --header-h: 48px; --section: 3.5rem; }
  .hero { min-height: 100svh; align-items: end; }
  .hero__inner { padding-bottom: 1.5rem; }
  .hero__title { font-size: clamp(1.5rem, 3.6vw, 2.25rem); max-width: 26ch; }
  .hero__meta { margin-top: 0.875rem; }
  .hero .btn { min-height: 2.5rem; padding: 0.5rem 1.25rem; font-size: 0.875rem; }
  .hero__toggle { bottom: 1.5rem; }
  .bleed { height: 80svh; }
  .menu { padding-top: calc(var(--header-h) + 1rem); }
  .menu__nav a { font-size: 1.125rem; padding-block: 0.6rem; }
  .menu__foot { margin-top: 1.5rem; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .fade, .fade-group > * { opacity: 1 !important; transform: none !important; }
  .card:hover .card__media img { transform: none; }
}

/* ---------- Print ---------- */

@media print {
  .header, .menu, .hero__toggle, .btn, .map, .booking__frame { display: none !important; }
  body { background: #fff; color: #000; padding-top: 0; }
  .dark, .footer { background: #fff !important; color: #000 !important; }
}
