:root {
  --bg: #000000;
  --surface: #0d0d0d;
  --raised: #191919;
  --ink: #ffffff;
  --muted: #c4c4c4;
  --accent: #ffcb1f;
  --accent-ink: #111111;

  --edge: clamp(16px, 5vw, 72px);
  --gap: clamp(88px, 11vw, 168px);
  --radius: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --step-small: 0.9375rem;
  --step-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --step-head: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  --step-hero: clamp(3rem, 1.5rem + 4vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-body)/1.55 'Inter', system-ui, sans-serif;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, figure, blockquote, table { margin: 0; padding: 0; }
ul { list-style: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: var(--step-hero); line-height: 1.06; }
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-lead); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.page { max-width: 1600px; margin-inline: auto; }
.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; /* taste-skill-ignore */
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -80px; z-index: 30;
  padding: 12px 16px; background: var(--ink); color: #000;
}
.skip:focus { top: 8px; }

.kicker { color: var(--accent); font-weight: 500; font-size: var(--step-small); text-transform: uppercase; }

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 30px;
  border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: var(--step-body); text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease), background-color 180ms ease;
}
.pill.small { min-height: 44px; padding: 0 20px; font-size: var(--step-small); }
.pill:active { transform: scale(0.97); }

/* Bar */
.bar {
  position: absolute; z-index: 10; inset: 0 0 auto;
  max-width: 1600px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px var(--edge);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.brand img { width: 59px; height: 36px; }
.bar nav { display: flex; gap: clamp(20px, 3vw, 40px); }
.bar nav a {
  font-size: var(--step-small); text-decoration: none; padding: 8px 0; white-space: nowrap;
  text-underline-offset: 0.35em; text-decoration-line: underline; text-decoration-color: transparent;
  transition: text-decoration-color 180ms ease;
}

/* Hero: the cut-out stands in front of the name */
.hero {
  position: relative;
  min-height: max(100svh, 760px);
  padding: 140px var(--edge) 0;
  overflow: hidden;
  isolation: isolate;
}
.giant-back {
  position: absolute; z-index: 0; left: 0; right: 0; bottom: 3%;
  text-align: center; white-space: nowrap;
  font-size: min(23vw, 360px); font-weight: 700; line-height: 0.9; letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(180deg, #8a8a8a 0%, #2c2c2c 62%, #000 96%);
  -webkit-background-clip: text; background-clip: text;
}
.figure {
  position: absolute; z-index: 1;
  left: 50%; bottom: 0; translate: -30% 0;
  height: min(90%, 940px); width: auto; max-width: none;
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 99%);
  mask-image: linear-gradient(180deg, #000 80%, transparent 99%);
}
.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.hero-copy h1 { margin: 16px 0 28px; }
.note-card {
  max-width: 300px; margin-top: clamp(28px, 4svh, 44px); padding: 20px;
  border-radius: var(--radius); background: rgba(25, 25, 25, 0.94);
  font-size: var(--step-small); line-height: 1.5;
}
.note-mark { width: 35px; height: 40px; margin-bottom: 12px; }
.note-card strong { display: block; margin-top: 4px; font-weight: 600; }
.stat-card {
  position: absolute; z-index: 2; right: var(--edge); top: 30%;
  width: 250px; padding: 24px;
  border-radius: var(--radius); background: rgba(25, 25, 25, 0.94);
}
.stat-num { font-size: var(--step-head); font-weight: 500; line-height: 1; letter-spacing: -0.02em; margin-bottom: 14px; }
.faces { display: flex; margin-top: 16px; }
.faces img, .faces span {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; margin-right: -12px;
}
.faces span {
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  font-size: var(--step-small); font-weight: 700;
}

/* About: scattered prints */
.about {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; row-gap: 40px;
  padding: var(--gap) var(--edge) 0;
}
.about-head { grid-column: 1 / span 6; grid-row: 1; }
.about { grid-template-rows: auto auto 1fr; }
.about-head h2 { margin-top: 12px; }
.shot { border-radius: var(--radius); object-fit: cover; width: 100%; }
.shot.a { grid-column: 7 / span 3; grid-row: 1 / span 3; margin-top: 88px; aspect-ratio: 4 / 5; }
.shot.b { grid-column: 10 / span 3; grid-row: 1 / span 2; aspect-ratio: 3 / 4; }
.about-cta { grid-column: 1 / span 2; grid-row: 2; align-self: end; justify-self: start; }
.shot.c { grid-column: 3 / span 3; grid-row: 2; aspect-ratio: 1; align-self: end; }
.about-note { grid-column: 10 / span 3; grid-row: 3; }

/* Services */
.services { padding: var(--gap) var(--edge) 0; }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; }
.services-head h2 { margin: 12px 0 16px; max-width: 14em; }
.services-head p:last-child { max-width: 44ch; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; background: var(--raised); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.tile::after {
  content: ''; position: absolute; inset: 40% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.92));
}
.tile div { position: absolute; z-index: 1; inset: auto 0 0; padding: 28px; }
.tile p { margin-top: 6px; }

/* People */
.people { padding: var(--gap) var(--edge) 0; }
.centre { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.centre h2 { margin: 12px 0 16px; }
.portraits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.portraits img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); transition: transform 500ms var(--ease); }
.portraits figure:nth-child(3) img { object-position: 72% 50%; }
.portraits figcaption { margin-top: 16px; }
.logo-card { display: grid; place-items: center; aspect-ratio: 3 / 4; padding: 12%; border-radius: var(--radius); background: var(--surface); }
.portraits .logo-card img { width: 100%; height: auto; aspect-ratio: auto; border-radius: 0; }
.portraits strong { display: block; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; }
.portraits span { color: var(--muted); }

/* Membership panel */
.member {
  display: grid; grid-template-columns: 0.8fr 1fr; gap: 32px;
  margin: var(--gap) var(--edge) 0; padding: clamp(16px, 2.6vw, 36px);
  border-radius: var(--radius); background: var(--surface);
}
.member > img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 50% 62%; border-radius: var(--radius); }
.member > div { display: flex; flex-direction: column; padding: clamp(8px, 1.6vw, 24px) clamp(0px, 1.5vw, 20px); }
.member h2 { margin: 10px 0 16px; }
.member h3 { margin-top: 26px; font-size: var(--step-body); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 24px; }
.plans li { display: grid; gap: 2px; padding: 16px; border-radius: 16px; background: var(--raised); }
.plans span { font-size: var(--step-small); font-weight: 500; }
.plans strong { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plans small { font-size: 0.8125rem; color: var(--muted); }
.plans .best { background: var(--accent); color: var(--accent-ink); }
.plans .best small { color: var(--accent-ink); }
.offers { display: grid; gap: 4px; margin-top: 18px; }
.offers strong { font-weight: 600; color: var(--accent); }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 14px; }
.perks li { display: flex; align-items: center; gap: 12px; }
.perks li::before {
  content: ''; flex: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.member-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: auto; padding-top: 36px; }
.price { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; }

/* Hours and busy board */
.hours {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px);
  padding: var(--gap) var(--edge) 0;
}
.hours h2 { margin: 12px 0 16px; }
.hours table { width: 100%; margin-top: 32px; border-collapse: collapse; }
.hours th, .hours td { padding: 8px 0; text-align: left; font-weight: 400; }
.hours td { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.board { padding: clamp(16px, 2.6vw, 32px); border-radius: var(--radius); background: var(--surface); }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.days button {
  min-height: 46px; padding: 0; border: 0; border-radius: 999px;
  background: var(--raised); color: var(--ink);
  font: 600 var(--step-small)/1 'Inter', sans-serif; cursor: pointer;
  transition: background-color 160ms ease, transform 140ms var(--ease);
}
.days button:active { transform: scale(0.95); }
.days button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.reading { margin-top: 24px; min-height: 5.2em; }
.reading strong { display: block; font-size: var(--step-head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: clamp(150px, 16vw, 210px); margin-top: 16px; cursor: pointer; }
.bars span { flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; }
.bars i {
  display: block; width: 100%; height: var(--v, 0%); min-height: 3px;
  border-radius: 6px 6px 0 0; background: #3a3a3a;
  transition: height 420ms var(--ease), background-color 160ms ease;
}
.bars .on i { background: var(--accent); }
.scrub { display: block; margin-top: 8px; }
.scrub input { width: 100%; height: 40px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.note { font-size: var(--step-small); color: var(--muted); }

/* Review ringed by floating prints */
.voices {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: center;
  padding: var(--gap) var(--edge);
}
.float { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.float.one { grid-column: 1 / span 2; grid-row: 1; }
.float.two { grid-column: 11 / span 2; grid-row: 1; }
.float.three { grid-column: 3 / span 2; grid-row: 3; }
.float.four { grid-column: 9 / span 2; grid-row: 3; object-position: 62% 50%; }
.voice { grid-column: 3 / span 8; grid-row: 1 / span 3; text-align: center; padding-block: 72px; }
.voice blockquote { margin: 12px auto 16px; max-width: 27em; }
.voice blockquote p { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 600; line-height: 1.22; letter-spacing: -0.02em; }
.voice .kicker { letter-spacing: 0; line-height: 1.5; }
.who { color: var(--muted); margin-bottom: 24px; }

/* Footer */
.foot { padding: 0 var(--edge); overflow: hidden; }
.foot-top {
  display: grid; grid-template-columns: 2fr 1fr 1.2fr 1.4fr; gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid #fff; /* taste-skill-ignore */
}
.foot-logo { width: 132px; margin-bottom: 16px; }
.foot-brand .brand { display: block; font-size: var(--step-lead); margin-bottom: 12px; }
.foot-brand p:last-child { max-width: 34ch; }
.foot h2 { font-size: var(--step-body); margin-bottom: 14px; letter-spacing: -0.01em; }
.foot nav a { display: block; padding: 4px 0; text-decoration: none; }
.foot p + p { margin-top: 10px; }
.foot-top div:last-child a { text-underline-offset: 0.2em; }
.giant-foot {
  text-align: center; white-space: nowrap;
  font-size: min(calc((100vw - 2 * var(--edge)) / 3.92), 370px); font-weight: 600; line-height: 0.82; letter-spacing: -0.04em;
  margin: 18px 0 -7.5vw;
  color: transparent;
  background: linear-gradient(180deg, #d9d9d9 0%, #7c7c7c 55%, #1a1a1a 90%);
  -webkit-background-clip: text; background-clip: text;
}

@media (hover: hover) and (pointer: fine) {
  .pill:hover { background: #ffdb5c; transform: translateY(-2px); }
  .bar nav a:hover { text-decoration-color: currentColor; }
  .tile:hover img { transform: scale(1.05); }
  .portraits img:hover { transform: translateY(-6px); }
  .days button:not([aria-pressed="true"]):hover { background: #2a2a2a; }
}

/* Tablet */
@media (max-width: 1100px) {
  .stat-card { top: auto; bottom: 13%; left: var(--edge); right: auto; width: 220px; }
  .figure { translate: -16% 0; height: min(74%, 760px); }
  .about { grid-template-columns: repeat(6, 1fr); grid-template-rows: none; }
  .about-head { grid-column: 1 / -1; grid-row: auto; }
  .shot.a { grid-column: 1 / span 3; grid-row: auto; margin-top: 56px; }
  .shot.b { grid-column: 4 / span 3; grid-row: auto; }
  .shot.c { grid-column: 1 / span 2; grid-row: auto; }
  .about-note { grid-column: 3 / -1; grid-row: auto; }
  .about-cta { grid-column: 1 / -1; grid-row: auto; }
  .portraits { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile:last-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
  .member, .hours { grid-template-columns: 1fr; }
  .member > img { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .voices { grid-template-columns: repeat(4, 1fr); }
  .float.one { grid-column: 1; }
  .float.two { grid-column: 4; }
  .voice { grid-column: 1 / -1; grid-row: 2; padding-block: 24px; }
  .float.three { grid-column: 2; grid-row: 3; }
  .float.four { grid-column: 3; grid-row: 3; }
  .foot-top { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) and (min-width: 641px) {
  .brand span { display: none; }
}

@media (max-width: 370px) {
  .brand span { font-size: 1rem; }
}

/* Phone: copy first, then the figure, with the cards under it */
@media (max-width: 640px) {
  .bar { padding-block: 16px; }
  .bar nav { display: none; }
  .plans { grid-template-columns: 1fr 1fr; }
  .perks { grid-template-columns: 1fr; }
  .hero {
    min-height: 0; padding: 92px var(--edge) 24px;
    display: flex; flex-direction: column;
  }
  .hero-copy { max-width: none; display: contents; }
  .hero-copy .kicker { order: 1; }
  .hero-copy h1 { order: 2; }
  .hero-copy .pill { order: 3; align-self: flex-start; }
  .giant-back { top: 330px; bottom: auto; font-size: 23vw; }
  .figure {
    order: 4; position: relative; left: auto; bottom: auto; translate: none;
    align-self: center; width: 86%; height: auto; margin-top: 8px;
  }
  .note-card, .stat-card { position: relative; inset: auto; width: 100%; max-width: none; margin-top: 12px; order: 5; }
  .stat-card { order: 6; }
  .about { display: flex; flex-direction: column; row-gap: 24px; }
  .about .shot { width: 100%; margin-top: 0; }
  .shot.b { width: 72% !important; align-self: flex-end; }
  .shot.c { display: none; }
  .about-cta { align-self: flex-start; }
  .services-head { flex-direction: column; align-items: flex-start; }
  .tiles, .portraits { grid-template-columns: 1fr; }
  .portraits { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile:last-child { aspect-ratio: 1; }
  .member { margin-inline: var(--edge); }
  .member-foot .pill { width: 100%; }
  .days { gap: 3px; }
  .days button { font-size: 0.8125rem; }
  .bars { gap: 2px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-top > div:last-child { grid-column: 1 / -1; }
}

/* Motion: everything stays visible without the script or with reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .js .figure { opacity: 0; transform: translateY(40px) scale(1.03); transition: opacity 900ms ease, transform 1400ms var(--ease); }
  .js .hero.is-in .figure { opacity: 1; transform: none; }
  .js .giant-back { opacity: 0; transition: opacity 1400ms ease 200ms; }
  .js .hero.is-in .giant-back { opacity: 1; }

  .js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity 620ms ease var(--delay, 0ms), transform 820ms var(--ease) var(--delay, 0ms); }
  .js [data-rise].is-in { opacity: 1; transform: none; }
  .js .portraits figure:nth-child(2) { --delay: 80ms; }
  .js .portraits figure:nth-child(3) { --delay: 160ms; }
  .js .portraits figure:nth-child(4) { --delay: 240ms; }
  .js .tile:nth-child(2) { --delay: 90ms; }
  .js .tile:nth-child(3) { --delay: 180ms; }

  @supports (animation-timeline: view()) {
    @media (min-width: 1101px) { .figure { animation: drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; } }
    .float.one, .float.four { animation: bob-a linear both; animation-timeline: view(); }
    .float.two, .float.three { animation: bob-b linear both; animation-timeline: view(); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; }
}
@keyframes drift { to { translate: -30% -6%; } }
@keyframes bob-a { from { translate: 0 28px; } to { translate: 0 -28px; } }
@keyframes bob-b { from { translate: 0 -24px; } to { translate: 0 24px; } }
