/* ============================================================
   M11 STUDIO — site.css
   Hand-rolled. Sectioned for scanning. See DESIGN.md for the why.
   ============================================================ */


/* ============================================================
   01 · RESET
   ============================================================ */

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

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

body, h1, h2, h3, h4, h5, h6, p, ol, ul, dl, dd, figure, blockquote {
  margin: 0;
}
ul, ol { padding: 0; list-style: none; }

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}
button { background: none; border: 0; padding: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

table { border-collapse: collapse; width: 100%; }


/* ============================================================
   02 · TOKENS
   ============================================================ */

:root {
  /* Colour --------------------------------------------------- */
  --bg:         oklch(0.97 0.008 70);
  --bg-elev:    oklch(0.94 0.010 65);
  --bg-deep:    oklch(0.92 0.012 60);
  --ink:        oklch(0.22 0.012 50);
  --ink-mid:    oklch(0.45 0.012 50);
  --ink-soft:   oklch(0.62 0.012 55);
  --hairline:   oklch(0.88 0.008 60);
  --hairline-strong: oklch(0.80 0.010 60);
  --sienna:     oklch(0.42 0.13 32);
  --sienna-deep:oklch(0.32 0.11 30);
  --sienna-soft:oklch(0.55 0.10 34);

  /* Type ----------------------------------------------------- */
  /* Two display families:
     --font-brand → matches the logo register (heavy, architectural, all-caps energy).
                    Used on hero, page H1s, the M11 brand-voice moments.
     --font-display → Bricolage Grotesque for editorial-register subheads,
                      section titles, names, mid-tier display. Stays softer
                      so hierarchy reads against the brand font above it. */
  --font-brand:   "Big Shoulders Display", Impact, "Arial Black", sans-serif;
  --font-display: "Bricolage Grotesque", Georgia, "Times New Roman", serif;
  --font-text:    "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

  --step-hero:    clamp(4rem, 7vw + 2rem, 9rem);
  --step-display: clamp(2.75rem, 4vw + 1rem, 5.5rem);
  --step-1:       clamp(2rem, 1.5vw + 1rem, 2.75rem);
  --step-2:       clamp(1.5rem, 0.8vw + 1rem, 1.875rem);
  --step-3:       1.25rem;
  --step-body:    1.0625rem;
  --step-small:   0.9375rem;
  --step-kicker:  0.75rem;

  --lh-tight: 0.98;
  --lh-snug: 1.18;
  --lh-body: 1.55;

  /* Spacing -------------------------------------------------- */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1.25rem;
  --space-lg:  2rem;
  --space-xl:  3.25rem;
  --space-2xl: clamp(3.5rem, 5vw, 5.5rem);
  --space-3xl: clamp(4.5rem, 7vw, 7.5rem);

  /* Layout --------------------------------------------------- */
  --container:        1440px;
  --container-narrow: 760px;
  --gutter:           clamp(1.25rem, 4vw, 4.5rem);
  --header-height:    72px;

  /* Motion --------------------------------------------------- */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --dur-press: 160ms;
  --dur-fade:  220ms;
  --dur-entry: 600ms;
  --dur-hero:  900ms;

  /* Radii ---------------------------------------------------- */
  --r-sm: 4px;
  --r-md: 10px;
  --r-pill: 999px;
}


/* ============================================================
   03 · BASE
   ============================================================ */

html { background: var(--bg); }

/* Subtle paper-grain noise on the cream. Inline SVG so no extra request.
   Tuned to ~2–3% perceived contrast — reads as Mohawk Superfine stationery,
   not a "texture overlay" effect. Fixed so it doesn't shift on scroll. */
body {
  min-height: 100dvh;
  background-color: var(--bg);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch' seed='5'/><feColorMatrix values='0 0 0 0 0.14  0 0 0 0 0.09  0 0 0 0 0.05  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-repeat: repeat;
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

:focus-visible {
  outline: 2px solid var(--sienna-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.skip-link {
  position: absolute;
  top: -3rem;
  left: var(--gutter);
  background: var(--ink);
  color: var(--bg);
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  z-index: 100;
  transition: top var(--dur-fade) var(--ease-out);
}
.skip-link:focus { top: 1rem; }


/* ============================================================
   04 · TYPE
   ============================================================ */

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; }

.display {
  font-family: var(--font-brand);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: uppercase;
  text-wrap: balance;
}
.display--hero {
  font-size: var(--step-hero);
  letter-spacing: -0.02em;
  margin-block: 0.25em 0.4em;
}
.display--hero .display__word {
  display: block;
  overflow: hidden;
  padding-block-end: 0.08em;
  line-height: 0.94;
}
.display--hero .display__word--accent { color: var(--sienna); }

/* The two-stage entrance: outer wrapper sits, inner word rises from below.
   The h1 itself overrides the base [data-reveal] opacity/translate so the
   word-rise is the only motion the eye sees. */
.display--hero[data-reveal],
.display--hero[data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: none;
}
.display--hero .display__inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1100ms var(--ease-drawer);
  transition-delay: var(--rise-delay, 0ms);
  will-change: transform;
}
.display--hero[data-reveal].is-in .display__inner { transform: translateY(0); }
.display--hero .display__word--accent .display__inner { --rise-delay: 220ms; }
.display--page {
  font-size: var(--step-display);
  margin-block: 0 0.5em;
  letter-spacing: -0.015em;
}

/* Page H1s rise via clip-path when they scroll into view. The base [data-reveal]
   translate is overridden; opacity is kept so reduced-motion still sees a fade. */
.display--page[data-reveal] {
  opacity: 0;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition:
    opacity var(--dur-entry) var(--ease-out),
    clip-path 1000ms var(--ease-drawer);
}
.display--page[data-reveal].is-in {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

/* Same treatment, smaller scale, for the section heading on inside pages. */
.section-head__title[data-reveal] {
  opacity: 0;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition:
    opacity var(--dur-entry) var(--ease-out),
    clip-path 900ms var(--ease-drawer);
}
.section-head__title[data-reveal].is-in {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.kicker {
  font-family: var(--font-text);
  font-size: var(--step-kicker);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 1.75em;
  height: 1px;
  background: var(--sienna);
  flex-shrink: 0;
}

.lede {
  font-size: var(--step-3);
  line-height: 1.45;
  color: var(--ink);
  max-width: 38ch;
  margin-block: 0 1.25em;
  text-wrap: pretty;
}

p { max-width: 65ch; }
p + p { margin-top: 1em; }

a {
  color: var(--ink);
  text-decoration-color: color-mix(in oklch, var(--sienna) 60%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--sienna); text-decoration-color: var(--sienna); }

p a, .lede a, dd a, td a { text-decoration: underline; }

.link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  padding-block-end: 2px;
  border-bottom: 1px solid var(--ink);
  transition: color var(--dur-fade) var(--ease-out),
              border-color var(--dur-fade) var(--ease-out);
}
.link:hover { color: var(--sienna); border-color: var(--sienna); }
.link--arrow::after { content: "\2009\2192"; transition: transform var(--dur-fade) var(--ease-out); }
.link--arrow:hover::after { transform: translateX(2px); }


/* ============================================================
   05 · LAYOUT
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide   { max-width: calc(var(--container) - 80px); }

.section {
  position: relative;
  padding-block: var(--space-3xl);
}
/* Same-bg sections share a single gap; different-bg sections get full pad. */
.section + .section { padding-block-start: 0; }
.section[data-bg] + .section,
.section + .section[data-bg],
.section[data-bg] + .section[data-bg] { padding-block-start: var(--space-3xl); }

.section--hero { padding-block-start: calc(var(--header-height) + var(--space-2xl)); }
.section--page-hero { padding-block: calc(var(--header-height) + var(--space-2xl)) var(--space-2xl); }

/* Background variants. Apply with <section data-bg="elev|deep|ink">. */
.section[data-bg="elev"] { background: var(--bg-elev); }
.section[data-bg="deep"] { background: var(--bg-deep); }
.section[data-bg="ink"]  { background: var(--ink); color: var(--bg); }
.section[data-bg="ink"] .kicker { color: oklch(0.78 0.04 60); }
.section[data-bg="ink"] .kicker::before { background: var(--sienna-soft); }
.section[data-bg="ink"] a { color: var(--bg); text-decoration-color: var(--sienna-soft); }
/* Drenched press section — the feature-wall moment.
   Generous internal padding, quote centered in the band, with a
   thin cream rule between the quote and the source line. */
.section--press {
  padding-block: clamp(7rem, 12vw, 11rem);
  background: var(--sienna);
  color: var(--bg);
  display: flex;
  align-items: center;
  min-height: 60vh;
}
.section--press > .container { width: 100%; }
.section--press .pull-quote { color: var(--bg); }
.section--press .pull-quote__text::before,
.section--press .pull-quote__text::after {
  color: oklch(0.88 0.06 60);
}
.section--press .pull-quote__text {
  font-size: clamp(1.875rem, 1.8vw + 1.25rem, 3rem);
  margin-block-end: 2.5rem;
}
.section--press .pull-quote__cite {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section--press .pull-quote__cite::before {
  content: "";
  display: inline-block;
  width: 3rem;
  height: 1px;
  background: color-mix(in oklch, var(--bg) 60%, transparent);
}
.section--press .pull-quote__source {
  color: color-mix(in oklch, var(--bg) 85%, transparent);
}
.section--cta { padding-block: var(--space-3xl); text-align: left; }
/* Contact strip: deeper-cream band that closes the page before the footer.
   When directly after the drenched press section, its top padding is
   restored (the .section + .section reset would otherwise zero it). */
.section--contact-strip { padding-block: var(--space-2xl); background: var(--bg-elev); }
.section--press + .section--contact-strip { padding-block-start: var(--space-2xl); }
/* Last section before footer extends its bg fully, so there's no cream
   gap between the contact strip and the dark footer. */
.section--contact-strip:last-of-type { padding-block-end: var(--space-xl); }


/* ============================================================
   06 · HEADER · NAV
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--bg) 92%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fade) var(--ease-out),
              background var(--dur-fade) var(--ease-out);
}
.site-header[data-scrolled="true"] {
  border-bottom-color: var(--hairline);
  background: color-mix(in oklch, var(--bg) 96%, transparent);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: 1rem var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
  min-height: var(--header-height);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 88, "opsz" 24;
  letter-spacing: -0.04em;
  line-height: 1;
}
.wordmark__mark {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--sienna);
}
.wordmark__mark--img {
  height: 44px;
  width: auto;
  display: block;
}
.wordmark__mark--img.wordmark__mark--lg { height: 68px; }
.wordmark__sub {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.wordmark--footer .wordmark__mark { font-size: 2.5rem; }
.wordmark--footer .wordmark__sub  { font-size: 1.1rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.site-nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-block: 0.25rem;
  text-decoration: none;
  transition: color var(--dur-fade) var(--ease-out);
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--sienna);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fade) var(--ease-out);
}
.site-nav__link:hover { color: var(--sienna); }
.site-nav__link:hover::after,
.site-nav__link.is-current::after {
  transform: scaleX(1);
}
.site-nav__link.is-current { color: var(--sienna); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-inline-start: auto;
  align-items: center;
  justify-content: center;
}
.nav-toggle__lines {
  position: relative;
  width: 22px; height: 14px;
  display: inline-block;
}
.nav-toggle__lines span {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur-fade) var(--ease-out), opacity var(--dur-fade) var(--ease-out), top var(--dur-fade) var(--ease-out);
}
.nav-toggle__lines span:nth-child(1) { top: 2px; }
.nav-toggle__lines span:nth-child(2) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines span:nth-child(2) { top: 7px; transform: rotate(-45deg); }


/* ============================================================
   07 · BUTTONS
   ============================================================ */

/* Architectural buttons. Sharp 90° corners to match the logo language and
   the brand register (Aesop / Le Labo / Hermès, not Stripe / Allbirds). */
.button {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  padding: 0.95em 1.6em;
  border-radius: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-border);
  font-family: var(--font-text);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur-fade) var(--ease-out),
              color var(--dur-fade) var(--ease-out),
              border-color var(--dur-fade) var(--ease-out),
              transform var(--dur-press) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.button:active { transform: scale(0.97); }
.button__num {
  color: color-mix(in oklch, currentColor 70%, transparent);
  font-variant-numeric: tabular-nums;
  text-transform: none;
  letter-spacing: 0.02em;
}

.button--primary {
  --btn-bg: var(--ink);
  --btn-fg: var(--bg);
  --btn-border: var(--ink);
}
.button--primary:hover {
  --btn-bg: var(--sienna);
  --btn-border: var(--sienna);
  color: var(--bg);
}
.button--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: var(--ink);
}
.button--ghost:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--bg);
  --btn-border: var(--ink);
}
/* Sienna-bg sections: ghost buttons need cream borders to read. */
.section[data-bg="ink"] .button--ghost,
.section--press .button--ghost {
  --btn-fg: var(--bg);
  --btn-border: var(--bg);
}
.section[data-bg="ink"] .button--ghost:hover,
.section--press .button--ghost:hover {
  --btn-bg: var(--bg);
  --btn-fg: var(--ink);
}


/* ============================================================
   08 · HOME · HERO
   ============================================================ */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: end;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding-block-end: var(--space-lg);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-start: 1rem;
}
.hero__figure {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.hero__figcaption {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-block-start: 0.75rem;
  font-size: var(--step-small);
  color: var(--ink-mid);
}

@media (min-width: 960px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-3xl); }
  .hero__figure { aspect-ratio: 4 / 5; }
}


/* ============================================================
   09 · HOME · WHAT WE DO
   ============================================================ */

.what {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}
.what__intro { max-width: 60ch; }
.what__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-block-start: 1px solid var(--hairline);
}
.what__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 1rem 1.5rem;
  padding: 1.75rem 0;
  border-block-end: 1px solid var(--hairline);
}
.what__num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  min-width: 2.5ch;
}
.what__title {
  font-size: var(--step-2);
  font-variation-settings: "wdth" 92, "opsz" 36;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}
.what__body {
  grid-column: 2 / 3;
  color: var(--ink-mid);
  margin: 0.25rem 0 0;
  max-width: 60ch;
}
.what__link {
  font-family: var(--font-text);
  font-size: 0.9375rem;
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
  align-self: start;
  border-block-end: 1px solid var(--hairline-strong);
  transition: color var(--dur-fade) var(--ease-out), border-color var(--dur-fade) var(--ease-out);
}
.what__link:hover { color: var(--sienna); border-color: var(--sienna); }

@media (min-width: 960px) {
  .what { grid-template-columns: 0.42fr 0.58fr; gap: var(--space-3xl); align-items: start; }
  .what__intro { position: sticky; top: calc(var(--header-height) + 1rem); }
}


/* ============================================================
   10 · HOME · ROOM
   ============================================================ */

.room {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.room__figure {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.room__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }

@media (min-width: 960px) {
  .room { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-3xl); }
}


/* ============================================================
   11 · HOME · TEAM TEASER
   ============================================================ */

.team-teaser {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}
.team-teaser__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; max-width: 50ch; }
.team-teaser__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.team-teaser__tile {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.team-teaser__tile--offset { margin-block-start: var(--space-2xl); }
.team-teaser__media { border-radius: var(--r-md); aspect-ratio: 4 / 5; overflow: hidden; }
.team-teaser__caption {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: var(--step-small);
}
.team-teaser__name { font-weight: 600; }
.team-teaser__role { color: var(--ink-soft); }

@media (min-width: 960px) {
  .team-teaser { grid-template-columns: 0.45fr 0.55fr; gap: var(--space-3xl); align-items: center; }
}


/* ============================================================
   12 · HOME · BRIDAL TEASER
   ============================================================ */

.bridal-teaser {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.bridal-teaser__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.bridal-teaser__figure {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

@media (min-width: 960px) {
  .bridal-teaser { grid-template-columns: 0.55fr 0.45fr; gap: var(--space-3xl); }
}


/* ============================================================
   13 · PULL QUOTE
   ============================================================ */

.pull-quote {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 92, "opsz" 60;
  font-weight: 500;
  font-size: clamp(1.625rem, 1.5vw + 1rem, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.pull-quote__text { margin: 0 0 1.25rem; }
.pull-quote__text::before { content: "\201C"; color: var(--sienna); margin-inline-end: 0.05em; }
.pull-quote__text::after  { content: "\201D"; color: var(--sienna); margin-inline-start: 0.05em; }
.pull-quote__cite {
  font-family: var(--font-text);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-transform: uppercase;
}


/* ============================================================
   14 · HOME · CONTACT STRIP
   ============================================================ */

.contact-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: end;
}
.contact-strip__col { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-strip__line { font-size: var(--step-3); line-height: 1.4; color: var(--ink); margin: 0; }
.contact-strip__cta { justify-self: start; }

@media (min-width: 720px) {
  .contact-strip {
    grid-template-columns: repeat(3, 1fr) auto;
    gap: var(--space-xl);
  }
  .contact-strip__cta { justify-self: end; }
}


/* ============================================================
   15 · PAGE HERO (used on studio/services/team/bridal/contact)
   ============================================================ */

.page-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: end;
}
.page-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.page-hero__figure { border-radius: var(--r-md); overflow: hidden; }
.page-hero--centered {
  text-align: left;
  max-width: 56ch;
  /* Text-only hero stacks tight, not at the multi-column gap. */
  gap: var(--space-md);
}
.page-hero--centered .lede { max-width: none; }

@media (min-width: 960px) {
  .page-hero { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-3xl); }
  .page-hero--reverse { grid-template-columns: 0.95fr 1.05fr; }
  .page-hero--reverse .page-hero__figure { order: -1; }
  /* Centered (text-only) hero ignores the two-column setup. */
  .page-hero--centered { grid-template-columns: 1fr; gap: var(--space-md); }
}


/* ============================================================
   16 · ESSAY (studio essay text)
   ============================================================ */

.essay { display: flex; flex-direction: column; gap: 1.25rem; }
.essay p { font-size: var(--step-3); line-height: 1.55; color: var(--ink); max-width: 60ch; }


/* ============================================================
   17 · DETAILS (studio detail images)
   ============================================================ */

.details {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
.details__figure { display: flex; flex-direction: column; gap: 0.5rem; }
.details__figure .figure__media { border-radius: var(--r-md); overflow: hidden; }
.details__figure--offset { margin-block-start: var(--space-2xl); }
.figure__caption {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: var(--step-small);
  color: var(--ink-mid);
  margin-block-start: 0.5rem;
}

@media (min-width: 720px) {
  .details {
    grid-template-columns: 0.55fr 0.45fr;
    gap: var(--space-3xl);
  }
}


/* ============================================================
   18 · CTA SECTIONS
   ============================================================ */

.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block-start: 0.5rem; }


/* ============================================================
   19 · SERVICES · JUMP NAV
   ============================================================ */

.services-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin-block-start: 1.25rem;
  font-size: var(--step-small);
}
.services-jump a {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-pill);
  color: var(--ink);
  transition: background var(--dur-fade) var(--ease-out),
              color var(--dur-fade) var(--ease-out),
              border-color var(--dur-fade) var(--ease-out);
}
.services-jump a:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}


/* ============================================================
   20 · SERVICES · PRICE BOOK
   ============================================================ */

.price-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  padding-block-end: var(--space-xl);
  border-block-end: 1px solid var(--hairline);
}
.section--prices + .section--prices { padding-block-start: var(--space-2xl); }

.price-section--with-figure {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
.price-section__figure {
  border-radius: var(--r-md);
  overflow: hidden;
}
.price-section__figure .figure__media { aspect-ratio: 3 / 4; }

.price-section__header { max-width: 50ch; margin-block-end: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.price-section__note { color: var(--ink-mid); font-size: var(--step-small); max-width: 60ch; }

.price-group { margin-block: var(--space-xl) 0; }
.price-group__header { margin-block-end: 0.75rem; display: flex; flex-direction: column; gap: 0.25rem; }
.price-group__title { font-size: var(--step-2); font-variation-settings: "wdth" 92, "opsz" 32; letter-spacing: -0.015em; line-height: 1.1; }
.price-group__note { color: var(--ink-mid); font-size: var(--step-small); }

.price-list { display: flex; flex-direction: column; }
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.85rem;
  border-block-end: 1px solid var(--hairline);
}
.price-row:last-child { border-block-end: 0; }
.price-row__name {
  font-family: var(--font-text);
  font-weight: 400;
  color: var(--ink);
  font-size: var(--step-body);
}
.price-row__price {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--sienna);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  margin: 0;
}

@media (min-width: 720px) {
  .price-section--with-figure { grid-template-columns: 0.4fr 0.6fr; gap: var(--space-3xl); }
  .price-section--with-figure.price-section--flipped { grid-template-columns: 0.6fr 0.4fr; }
  .price-section--with-figure.price-section--flipped .price-section__figure { order: 2; }
}


/* ============================================================
   21 · TEAM
   ============================================================ */

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-block-end: var(--space-xl);
  max-width: 60ch;
}
.section-head__title {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 92, "opsz" 48;
  font-size: var(--step-1);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.section-head__lede { color: var(--ink-mid); font-size: var(--step-3); max-width: 60ch; }

.section--team + .section--team { padding-block-start: var(--space-2xl); }

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.team-tile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.team-tile__figure {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.team-tile__media { width: 100%; height: 100%; object-fit: cover; }
.team-tile__copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-block-end: 1rem;
  border-block-end: 1px solid var(--hairline);
}
.team-tile__name {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 92, "opsz" 36;
  font-size: var(--step-2);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}
.team-tile__role { color: var(--ink-soft); font-size: var(--step-small); margin: 0; }
.team-tile__tenure { color: var(--ink-soft); }
.team-tile__bio { color: var(--ink); font-size: var(--step-body); max-width: 50ch; margin: 0.25rem 0 0; }
.team-tile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-block-start: 0.5rem;
  font-size: 0.75rem;
  color: var(--ink-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.team-tile__tags li {
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
}

/* Directors: zig with size variation */
@media (min-width: 960px) {
  .team-grid--directors {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
  }
  .team-grid--directors .team-tile--large { grid-column: 1; padding-block-end: var(--space-xl); }
  .team-grid--directors .team-tile--wide  { grid-column: 2; margin-block-start: var(--space-2xl); }
  .team-grid--directors .team-tile--large .team-tile__figure { aspect-ratio: 4 / 5; }
  .team-grid--directors .team-tile--wide  .team-tile__figure { aspect-ratio: 3 / 4; }
}

/* Seniors / stylists / colourists — asymmetric stagger */
@media (min-width: 720px) {
  .team-grid--seniors,
  .team-grid--stylists {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
  .team-grid--seniors .team-tile:nth-child(2),
  .team-grid--stylists .team-tile:nth-child(2) {
    margin-block-start: var(--space-2xl);
  }

  .team-grid--colourists {
    grid-template-columns: 0.55fr 0.45fr;
    gap: var(--space-xl);
  }
  .team-grid--colourists .team-tile:nth-child(2) { margin-block-start: var(--space-2xl); }
}

.team-grid--foh { max-width: 460px; }


/* ============================================================
   22 · BRIDAL · PACKAGES
   ============================================================ */

.packages {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
.package {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.5rem;
  padding: var(--space-lg) 0;
  border-block-start: 1px solid var(--hairline-strong);
  align-items: baseline;
}
.package:last-child { border-block-end: 1px solid var(--hairline-strong); }
.package__index {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.package__header {
  grid-column: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.package__tier {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 92, "opsz" 48;
  font-size: var(--step-2);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}
.package__price {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  color: var(--sienna);
  margin: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.package__who {
  grid-column: 2;
  font-size: var(--step-3);
  color: var(--ink);
  margin: 0;
}
.package__staff {
  grid-column: 2;
  font-size: var(--step-small);
  color: var(--ink-mid);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.package__incl {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mid);
}
.package__incl li {
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
}
.packages__note {
  margin-block-start: var(--space-xl);
  color: var(--ink-mid);
  font-size: var(--step-small);
  max-width: 60ch;
}

@media (min-width: 720px) {
  .package { grid-template-columns: 4ch 1fr; gap: 1rem 2rem; }
}


/* ============================================================
   23 · BRIDAL · PROCESS
   ============================================================ */

.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  counter-reset: process;
}
.process__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1.5rem;
  padding-block-end: var(--space-lg);
  border-block-end: 1px solid var(--hairline);
}
.process__step:last-child { border-block-end: 0; }
.process__num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.process__title {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 92, "opsz" 36;
  font-size: var(--step-2);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  grid-column: 2;
}
.process__step p {
  grid-column: 2;
  color: var(--ink);
  margin: 0.4rem 0 0;
  max-width: 60ch;
}

@media (min-width: 720px) {
  .process { grid-template-columns: repeat(2, 1fr); gap: var(--space-xl) var(--space-2xl); }
}


/* ============================================================
   24 · CONTACT · FACTS · MAP · ENQUIRY
   ============================================================ */

.contact-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
.contact-facts__line { font-size: var(--step-3); line-height: 1.4; margin: 0; }
.contact-facts__line--xl {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 92, "opsz" 48;
  font-size: var(--step-1);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.contact-facts__list { display: flex; flex-direction: column; gap: 0.4rem; font-size: var(--step-3); }

.hours-table { font-size: var(--step-small); }
.hours-table th { text-align: left; font-weight: 500; color: var(--ink); padding: 0.55rem 0; }
.hours-table td { padding: 0.55rem 0 0.55rem 1rem; color: var(--ink-mid); font-variant-numeric: tabular-nums; }
.hours-table tr { border-block-end: 1px solid var(--hairline); }
.hours-table tr:last-child { border-block-end: 0; }
.hours-table__note { color: var(--ink-soft); font-size: 0.8125rem; }

.map {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-elev);
}
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(0.95); }

@media (min-width: 720px) {
  .contact-facts {
    grid-template-columns: 1.2fr 0.9fr 1fr;
    gap: var(--space-xl);
  }
}

/* Enquiry form */
.enquiry-form { display: flex; flex-direction: column; gap: 1.25rem; margin-block-start: var(--space-lg); }
.enquiry-form__row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field__label {
  font-size: var(--step-kicker);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.field__input {
  font-family: var(--font-text);
  font-size: var(--step-body);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-block-end: 1px solid var(--hairline-strong);
  padding: 0.65rem 0;
  transition: border-color var(--dur-fade) var(--ease-out);
}
.field__input:focus { border-color: var(--sienna); outline: none; }
.field__input--textarea { resize: vertical; min-height: 8rem; }
.field__hint { font-size: var(--step-small); color: var(--ink-mid); }

@media (min-width: 600px) {
  .enquiry-form__row { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   25 · FIGURE / PLACEHOLDER
   ============================================================ */

.figure__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg-elev);
}
.figure__media--placeholder { display: block; }


/* ============================================================
   26 · FOOTER
   ============================================================ */

.site-footer {
  /* No top margin: previous section's bottom padding handles spacing.
     A margin here would expose the page bg as a "white stripe" between
     the last section and the footer. */
  padding: var(--space-2xl) 0 var(--space-xl);
  background: var(--ink);
  color: var(--bg);
}
.site-footer .kicker { color: color-mix(in oklch, var(--bg) 60%, transparent); }
.site-footer a { color: var(--bg); text-decoration-color: color-mix(in oklch, var(--sienna-soft) 80%, transparent); }
.site-footer a:hover { color: var(--sienna-soft); text-decoration-color: var(--sienna-soft); }
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 1.25rem; }
.site-footer .wordmark__mark { color: var(--sienna-soft); }
.site-footer .wordmark__sub { color: var(--bg); }
.site-footer__address { font-style: normal; color: var(--bg); font-size: var(--step-3); line-height: 1.4; }
.site-footer__col { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__list { display: flex; flex-direction: column; gap: 0.5rem; font-size: var(--step-small); color: color-mix(in oklch, var(--bg) 85%, transparent); }
.site-footer__base {
  max-width: var(--container);
  margin: var(--space-xl) auto 0;
  padding: 1.25rem var(--gutter) 0;
  border-block-start: 1px solid color-mix(in oklch, var(--bg) 12%, transparent);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.8125rem;
  color: color-mix(in oklch, var(--bg) 70%, transparent);
}
.site-footer__sep { color: color-mix(in oklch, var(--bg) 40%, transparent); }

@media (min-width: 720px) {
  .site-footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
  }
}


/* ============================================================
   27 · MOTION · REVEAL
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-entry) var(--ease-out),
              transform var(--dur-entry) var(--ease-out);
  transition-delay: calc(var(--stagger, 0) * 80ms);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-clip] {
  clip-path: inset(0 0 100% 0);
  transition: clip-path var(--dur-hero) var(--ease-drawer);
}
[data-reveal-clip].is-in {
  clip-path: inset(0 0 0 0);
}

/* Stagger by element order via attribute (set manually on hero items) */
[data-stagger="0"] { --stagger: 0; }
[data-stagger="1"] { --stagger: 1; }
[data-stagger="2"] { --stagger: 2; }
[data-stagger="3"] { --stagger: 3; }
[data-stagger="4"] { --stagger: 4; }


/* ============================================================
   28 · NAV · MOBILE
   ============================================================ */

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: var(--space-xl) var(--gutter) var(--space-xl);
    transform: translateY(-110%);
    transition: transform var(--dur-fade) var(--ease-drawer);
    overflow-y: auto;
  }
  .site-nav[data-open="true"] {
    transform: translateY(0);
  }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav__item { border-block-end: 1px solid var(--hairline); }
  .site-nav__link {
    display: block;
    padding-block: 1.1rem;
    font-size: 1.25rem;
    font-family: var(--font-display);
    font-variation-settings: "wdth" 92, "opsz" 28;
    letter-spacing: -0.01em;
  }
  .site-nav__cta { margin-block-start: var(--space-lg); }
  body[data-nav-open="true"] { overflow: hidden; }
}


/* ============================================================
   29 · REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  [data-reveal-clip] { clip-path: none; }
  .button:active { transform: none; }
}


/* ============================================================
   30 · HOVER GATE (touch devices)
   ============================================================ */

@media not (hover: hover) {
  .site-nav__link::after { display: none; }
  .button:hover {
    background: var(--btn-bg);
    color: var(--btn-fg);
    border-color: var(--btn-border);
  }
}


/* ============================================================
   31a · HAIR-CURVE BRAND GRAPHIC
   A thin sienna sine wave used sparingly between sections.
   Treated as a brand mark, not section grammar — never decorate
   every break, only the two or three that earn it.
   ============================================================ */

.curve {
  color: var(--sienna);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  user-select: none;
  padding-block: var(--space-md);
}
.curve svg { display: block; opacity: 0.7; }
.curve--narrow { width: 100%; }
.curve--narrow svg { width: min(420px, 60%); height: auto; }
.curve--wide { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.curve--wide svg { width: 100%; height: 56px; }
.curve--corner { display: inline-flex; padding: 0; }
.curve--corner svg { width: 160px; height: 64px; opacity: 0.55; }

.section[data-bg="ink"] .curve,
.section[data-bg="sienna"] .curve { color: var(--bg); }
.section[data-bg="ink"] .curve svg,
.section[data-bg="sienna"] .curve svg { opacity: 0.5; }


/* ============================================================
   32 · MARQUEE (home page kinetic typography)
   ============================================================ */

.section--marquee {
  padding-block: var(--space-xl);
  padding-inline: 0;
}
.marquee {
  overflow: hidden;
  border-block-start: 1px solid var(--hairline);
  border-block-end: 1px solid var(--hairline);
  padding-block: clamp(0.9rem, 1.5vw, 1.5rem);
  background: var(--bg);
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 80px,
    #000 calc(100% - 80px),
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 80px,
    #000 calc(100% - 80px),
    transparent 100%
  );
}
.marquee__track {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  width: max-content;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 4.5rem);
  font-variation-settings: "wdth" 88, "opsz" 72;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  animation: marquee 65s linear infinite;
  will-change: transform;
}
.marquee__word { white-space: nowrap; }
.marquee__sep {
  color: var(--sienna);
  margin-inline: 0.1em;
  font-variation-settings: "wdth" 88, "opsz" 72;
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}


/* ============================================================
   33 · SCROLL PROGRESS
   ============================================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 100;
  pointer-events: none;
  background: var(--sienna);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 80ms linear;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .marquee__track { animation: none; transform: translate3d(0, 0, 0); }
}


/* ============================================================
   31 · PRINT
   ============================================================ */

@media print {
  .site-header, .site-footer, .nav-toggle, .skip-link, [data-reveal-clip], .map iframe { display: none !important; }
  body { background: #fff; color: #000; }
  .page-hero__figure, .hero__figure { display: none; }
  a::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #555; }
}
