/* Palette sampled from the CRAZE brand board (MCCAY LOGO.pdf).
   Layout and motion follow the One Hair reference: full-bleed hero slider,
   centred light headings, tall frames, an overlapping collage, square buttons. */
:root {
  --cream: #efeae2;
  --paper: #f7f4ef;
  --taupe: #9f836c;
  --taupe-deep: #7a6352;
  --espresso: #312621;
  --green: #525b3c; /* Dulux 10GY 14/135 Holiday Bough, the studio's wall paint; from the chip photo, 2026-10-12 */
  --line: rgba(49, 38, 33, 0.16);
  --gutter: 16px;
  --max: 1160px;
  --bar-h: 5rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Jost", "Avenir Next", "Avenir", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font: 300 1.0625rem/1.65 var(--sans);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
h1, h2, h3 { font-weight: 300; line-height: 1.1; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.125rem, 5.5vw, 3.25rem); letter-spacing: -0.015em; text-align: center; margin-bottom: 56px; }
h3 { font-size: 1.5rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--espresso); outline-offset: 3px; }
::selection { background: var(--green); color: var(--cream); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--espresso); color: var(--cream); padding: 8px 12px; z-index: 30; }
.skip:focus { left: 8px; }
.center { text-align: center; }

/* Placeholder copy: loud on purpose, and `npm run release` refuses to ship it. */
.ph {
  display: inline-block;
  outline: 1.5px dashed var(--taupe);
  outline-offset: 2px;
  background: rgba(159, 131, 108, 0.12);
  color: #5e4a3e;
  font-size: 0.9em;
  padding: 2px 6px;
}

/* The logo is a transparent PNG used as a mask, so it takes the colour of its context. */
.logo-mark {
  display: block;
  aspect-ratio: 888 / 267;
  background: currentColor;
  -webkit-mask: url(assets/logo.png) center / contain no-repeat;
  mask: url(assets/logo.png) center / contain no-repeat;
}

/* Buttons: square corners, as on the reference. Every one opens WhatsApp. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px;
  background: var(--espresso); color: var(--cream);
  border: 1px solid var(--espresso);
  font: 400 0.9375rem/1 var(--sans); letter-spacing: 0.03em;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn { position: relative; overflow: hidden; transform: translateZ(0); }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%); transform: translateX(-120%); transition: transform 0.7s var(--ease); pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(1px) scale(0.985); transition-duration: 0.1s; }
.btn:hover { background: transparent; color: var(--espresso); }
.btn.outline { background: transparent; color: var(--espresso); }
.btn.outline:hover { background: var(--espresso); color: var(--cream); }
.btn.light { background: var(--cream); color: var(--espresso); border-color: var(--cream); }
.btn.light:hover { background: transparent; color: var(--cream); }
.btn.small { min-height: 40px; padding: 8px 18px; font-size: 0.875rem; }
.wa-icon { width: 18px; height: 18px; flex: none; }

/* Header: see-through over the hero, solid once the hero has scrolled away. */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 72px; padding: 0 var(--gutter);
  color: var(--cream);
  transition: background-color 0.4s, color 0.4s, border-color 0.4s;
  border-bottom: 1px solid rgba(239, 234, 226, 0.22);
}
.bar.is-solid {
  background: rgba(239, 234, 226, 0.96);
  color: var(--espresso);
  border-bottom-color: var(--line);
}
.bar-logo { grid-column: 2; display: block; }
.bar-logo .logo-mark { width: 116px; }
.bar-end { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 12px; }
.bar .btn.outline { color: inherit; border-color: currentColor; }
.bar .btn.outline:hover { background: currentColor; }
.bar .btn.outline:hover span, .bar .btn.outline:hover .wa-icon { color: var(--espresso); }
.bar.is-solid .btn.outline:hover span, .bar.is-solid .btn.outline:hover .wa-icon { color: var(--cream); }
.site-menu { grid-column: 1; grid-row: 1; }
.site-menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.site-menu a { font-size: 0.875rem; font-weight: 400; letter-spacing: 0.04em; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.site-menu a:hover { border-bottom-color: currentColor; }
.menu-book { display: none; }

.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
}
.menu-lines, .menu-lines::before { display: block; width: 26px; height: 1px; background: currentColor; margin: 0 auto; position: relative; transition: transform 0.3s var(--ease); }
.menu-lines { top: -4px; }
.menu-lines::before { content: ""; position: absolute; top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-lines { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines::before { transform: translateY(-8px) rotate(-90deg); }

@media (max-width: 859px) {
  .bar { grid-template-columns: auto 1fr; height: 64px; }
  .bar-logo { grid-column: 1; }
  .bar-logo .logo-mark { width: 104px; }
  .bar-end { grid-column: 2; }
  .bar-end .btn { display: none; }
  .menu-toggle { display: block; }
  .site-menu {
    position: fixed; inset: 0; z-index: -1;
    display: grid; place-items: center;
    background: var(--cream); color: var(--espresso);
    opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
  }
  .site-menu ul { flex-direction: column; align-items: center; gap: 12px; }
  .site-menu a { font-size: 2rem; font-weight: 300; letter-spacing: 0; }
  .site-menu { align-content: center; gap: 40px; }
  .menu-book { display: block; }
  .menu-book .btn { font-size: 1rem; border-bottom: 1px solid var(--espresso); padding: 12px 28px; }
  body.menu-open .site-menu { opacity: 1; visibility: visible; }
  body.menu-open .bar { color: var(--espresso); border-bottom-color: var(--line); }
}

/* Hero slider */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; color: var(--cream); background: var(--espresso); perspective: 900px; }
/* --sy: how far the hero has scrolled (0 to 1); --tx/--ty: pointer tilt on desktop. */
.hero { --sy: 0; --tx: 0; --ty: 0; }
.slides { inset: -6% -8%; transform: translate3d(calc(var(--tx) * -28px), calc(var(--ty) * -20px + var(--sy) * 24vh), 0) scale(calc(1 + var(--sy) * 0.06)) rotateX(calc(var(--ty) * 7deg)) rotateY(calc(var(--tx) * -7deg)); transform-origin: 50% 45%; will-change: transform; transition: transform 0.12s linear; }
.hero::after { opacity: calc(1 + var(--sy) * 1.2); }
.hero-text { transform: translate3d(calc(var(--tx) * 22px), calc(var(--ty) * 24px + var(--sy) * -22vh), 80px) rotateX(calc(var(--ty) * -12deg)) rotateY(calc(var(--tx) * 12deg)); opacity: calc(1 - var(--sy) * 1.6); will-change: transform, opacity; transition: transform 0.12s linear; }
.slider-ui { transform: translate3d(0, calc(var(--sy) * -12vh), 30px); opacity: calc(1 - var(--sy) * 2); }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 1.6s ease; }
.slide.is-active { opacity: 1; }
.slide picture { display: contents; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); transform: scale(1.08); transition: transform 7s linear; }
.slide.is-active img { transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(49, 38, 33, 0.45) 0%, rgba(49, 38, 33, 0.08) 32%, rgba(49, 38, 33, 0.1) 52%, rgba(49, 38, 33, 0.72) 100%);
}
.hero-text {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 14%; transform-style: preserve-3d;
  padding: 0 var(--gutter); text-align: center;
  display: grid; justify-items: center;
}
.hero h1 { margin-bottom: 20px; font-size: 4rem; line-height: 1; }
.hero-logo { width: min(78vw, 560px); color: var(--cream); }
/* Shop-sign slide: the sign's own logo is the title, so the overlay logo fades out, with or
   without JS. Leaving the slide drops `animation: none`, and the logo replays its entrance. */
.js .hero-logo { transition: opacity 1.6s var(--ease); }
.hero.on-sign .hero-logo { opacity: 0; }
.js .hero.on-sign .hero-logo { animation: none; }
/* Leaving the sign, the drop-in waits until the sign's own logo has half faded. */
.js .hero:has(.slide-sign) .hero-logo { animation-delay: 0.8s; }
@media (min-width: 860px) { .slide img { object-position: var(--focus-wide, 50% 50%); } }
.hero-note { font-size: 1rem; letter-spacing: 0.03em; opacity: 0.9; margin-bottom: 28px; max-width: 30ch; text-wrap: balance; }
.slider-ui { position: absolute; z-index: 2; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; align-items: center; gap: 20px; }
.slide-lines { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.slide-lines li { width: 32px; height: 2px; background: rgba(239, 234, 226, 0.35); overflow: hidden; }
.slide-lines li.is-active::after { content: ""; display: block; height: 100%; background: var(--cream); animation: progress 6s linear forwards; }
.hero.is-paused .slide-lines li.is-active::after { animation-play-state: paused; }
@keyframes progress { from { width: 0; } to { width: 100%; } }
.tilt-btn { min-height: 36px; padding: 0 12px; border: 1px solid rgba(239, 234, 226, 0.5); background: none; color: var(--cream); font: 400 0.8125rem/1 var(--sans); letter-spacing: 0.04em; cursor: pointer; }
.tilt-btn[aria-pressed="true"] { background: var(--cream); color: var(--espresso); }
.slider-pause { width: 36px; height: 36px; border: 1px solid rgba(239, 234, 226, 0.5); background: none; color: var(--cream); cursor: pointer; display: grid; place-items: center; }
.slider-pause span { width: 8px; height: 10px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.slider-pause[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }

/* One orchestrated load: the logo, then the note and button, fall into place from above. */
.js .hero-logo, .js .hero-note, .js .hero-text .btn { animation: drop 1.1s var(--ease) backwards; }
.js .hero-note { animation-delay: 0.25s; }
.js .hero-text .btn { animation-delay: 0.42s; }
@keyframes drop { from { opacity: 0; transform: translateY(-28px); } to { opacity: 1; transform: none; } }

@media (max-width: 859px) {
  .hero-text { bottom: calc(var(--bar-h) + 64px); }
  .hero-btn { display: none; }
  .slider-ui { bottom: calc(var(--bar-h) + 16px); }
}

/* Sections */
section { padding: 72px max(var(--gutter), calc((100% - var(--max)) / 2)); perspective: 1400px; }
@media (min-width: 600px) { section { padding-top: 96px; padding-bottom: 96px; } }
@media (min-width: 860px) { section { padding-top: 128px; padding-bottom: 128px; } }
.hero { padding: 0; }

/* Pointer tilt, desktop only: --rx/--ry are set by site.js while the pointer is over the card. */
@media (hover: hover) and (pointer: fine) {
  .tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); transition: transform 0.5s var(--ease); transform-style: preserve-3d; }
  .tilt.is-tilting { transition: transform 0.08s linear; will-change: transform; }
  .js .reveal.in.tilt, .js .reveal.in .frame.tilt { transition: transform 0.5s var(--ease), opacity 1s var(--ease); transition-delay: 0s; }
  .js .reveal.in.tilt.is-tilting, .js .reveal.in .frame.tilt.is-tilting { transition: transform 0.08s linear; }
  .tilt .frame { position: relative; }
  .tilt .frame::after, .tilt.frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.22), transparent 60%); }
  .tilt.is-tilting .frame::after, .tilt.is-tilting.frame::after { opacity: 1; }
}
/* Phones: a press instead of a tilt. */
@media (hover: none) {
  .frame:active :is(img, video) { transform: scale(0.97); transition-duration: 0.15s; }
}
/* Frames: images sit in fixed boxes and grow slightly inside them on hover. */
.frame { margin: 0; overflow: hidden; background: var(--paper); }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame video { display: block; background: var(--espresso); }
.frame:hover :is(img, video) { transform: scale(1.045); }
.frame.tall { aspect-ratio: 4 / 5; }
.frame.wide { aspect-ratio: 4 / 3; }
.frame.wide img { object-position: 50% 22%; }

/* Scroll reveal: blocks come down from above; images open like a curtain from the top.
   Content is visible without JS; site.js adds .in as each block enters. */
.js .reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(-28px); }
.js .reveal .frame { transition: opacity 0.9s var(--ease) 0.1s, transform 1.2s var(--ease) 0.1s; transform-origin: 0% 50%; }
.js .reveal:not(.in) .frame { opacity: 0; transform: perspective(1000px) rotateY(-38deg) translateZ(-160px) translateX(-40px); }
.js .reveal .frame:nth-child(even), .js .reveal .why-card:nth-child(even) .frame { transform-origin: 100% 50%; }
.js .reveal:not(.in) .frame:nth-child(even), .js .reveal:not(.in) .why-card:nth-child(even) .frame { transform: perspective(1000px) rotateY(38deg) translateZ(-160px) translateX(40px); }
/* Headings tip up from flat. */
.js h2.reveal { transform-origin: 50% 100%; transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js h2.reveal:not(.in) { transform: perspective(700px) rotateX(72deg); }
/* A short stagger when several frames arrive together. */
.js .why-grid.reveal .why-card:nth-child(2) .frame, .js .works-grid.reveal li:nth-child(3n+2) { transition-delay: 0.25s; }
.js .why-grid.reveal .why-card:nth-child(3) .frame, .js .works-grid.reveal li:nth-child(3n+3) { transition-delay: 0.4s; }

/* Stylists: two tall portrait cards, centred, as the reference's two-up cards. */
.people { display: grid; gap: 80px; max-width: 1000px; margin: 0 auto; }
.person { text-align: center; perspective: 1400px; }
.person .card { position: relative; transform-style: preserve-3d; transition: transform 0.9s var(--ease); }
.person.is-flipped .card { transform: rotateY(180deg); }
.face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face.back { display: flex; flex-direction: column; justify-content: safe center; gap: 16px; padding: 28px 22px; background: var(--green); color: var(--cream); border: 1px solid var(--green); }
.face.back .flip-btn { color: var(--cream); border-bottom-color: var(--cream); }
.face.back .flip-btn:hover { background: rgba(239, 234, 226, 0.1); }
.face.back .ph { color: var(--cream); border-color: rgba(239, 234, 226, 0.5); background: rgba(239, 234, 226, 0.08); }
.js .face.back {
  position: absolute; inset: 0; transform: rotateY(180deg); overflow: auto;
  visibility: hidden; transition: visibility 0s 0.45s;
}
.face.back .back-btn { display: none; }
.js .face.back .back-btn { display: inline-block; }
.flip-btn:not(.back-btn) { display: none; }
.js .flip-btn:not(.back-btn) { display: inline-block; }
.person.is-flipped .face.front { visibility: hidden; transition: visibility 0s 0.45s; }
.person.is-flipped .face.back { visibility: visible; transition-delay: 0s; }
.face.back .person-story { margin-bottom: 0; }
.face.back .btn { align-self: center; }
.flip-btn { align-self: center; min-height: 44px; padding: 10px 16px; border: 0; border-bottom: 1px solid var(--espresso); background: none; color: var(--espresso); font: 400 0.9375rem/1 var(--sans); letter-spacing: 0.03em; cursor: pointer; }
.flip-btn:hover { background: rgba(49, 38, 33, 0.06); }
.back-btn { font-size: 0.875rem; color: var(--taupe-deep); border-bottom-color: var(--taupe); }
.person .frame { margin-bottom: 28px; }
.person h3 { font-size: clamp(1.75rem, 3.6vw, 2.25rem); margin-bottom: 6px; }
.role { color: var(--taupe-deep); margin-bottom: 14px; }
.person-story { max-width: 46ch; margin: 0 auto 24px; }
/* Stacked placeholders share one width so the card edge stays straight. */
.person .role .ph, .person-story .ph { display: block; width: 100%; max-width: 46ch; margin: 0 auto; }
.person .role { max-width: 46ch; margin-left: auto; margin-right: auto; }
@media (min-width: 860px) { .people { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* Works */
/* Recent work sits on the studio's green wall colour; everything on it is cream. */
.works { background: var(--green); color: var(--cream); text-align: center; }
/* Cover-flow: slides scroll and snap; site.js sets --ry/--tz/--s per slide from its distance to the centre. */
.flow-wrap { display: flex; align-items: center; gap: 12px; margin: 0 calc(-1 * var(--gutter)) 32px; }
.works-flow {
  --slide: 56vw; --overlap: 9vw;
  list-style: none; margin: 0; padding: 24px calc((100% - var(--slide)) / 2 + var(--overlap)); flex: 1; min-width: 0;
  display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; text-align: left;
}
.works-flow::-webkit-scrollbar { display: none; }
.works-flow li {
  flex: 0 0 var(--slide); aspect-ratio: 4 / 5; scroll-snap-align: center; overflow: hidden;
  margin-inline: calc(-1 * var(--overlap)); position: relative;
  box-shadow: 0 24px 40px -24px rgba(49, 38, 33, 0.45);
  transform: perspective(900px) translateZ(var(--tz, 0px)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
  transition: transform 0.15s linear, opacity 0.15s linear; opacity: var(--o, 1);
}
/* Carousel slides keep their own origin and timing; the block's entrance only fades them. */
.js .reveal .works-flow li.frame, .js .reveal .works-flow li.empty, .js .reveal:not(.in) .works-flow li.frame:nth-child(even) { transform-origin: 50% 50%; transition: transform 0.15s linear, opacity 0.15s linear; transform: perspective(900px) translateZ(var(--tz, 0px)) rotateY(var(--ry, 0deg)) scale(var(--s, 1)); opacity: var(--o, 1); }
.works-flow .empty { display: grid; place-items: center; padding: 12px; text-align: center; border: 1px dashed rgba(239, 234, 226, 0.55); font-size: 0.875rem; background: var(--card, var(--cream)); color: var(--espresso); }
.works-flow .empty .ph { outline: none; background: none; }
.works-flow:focus-visible { outline: 2px solid var(--cream); outline-offset: -2px; }
.flow-wrap .rail-btn { display: none; }
.more { margin-bottom: 24px; }
@media (min-width: 860px) {
  .flow-wrap { margin: 0 0 32px; }
  .works-flow { --slide: 300px; --overlap: 48px; padding: 32px calc((100% - var(--slide)) / 2 + var(--overlap)); }
  .flow-wrap .rail-btn { display: grid; }
}

/* Why Mccay: three landscape photo cards */
.why-grid { display: grid; gap: 56px; }
.why-card { text-align: center; }
.why-card .frame { margin-bottom: 24px; }
.why-card h3 { margin-bottom: 10px; }
.why-card p { color: var(--taupe-deep); font-size: 0.9375rem; max-width: 34ch; margin: 0 auto; }
@media (min-width: 860px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* Prices */
.prices { background: var(--paper); }
.prices .intro, .prices .levels { text-align: center; max-width: 52ch; margin-left: auto; margin-right: auto; color: var(--taupe-deep); }
.prices .intro { margin-bottom: 0.5em; }
.levels { font-size: 0.9375rem; }
.price-groups { display: grid; gap: 48px; margin: 56px 0; }
.price-group h3 { font-size: 1.375rem; padding-bottom: 12px; border-bottom: 1px solid var(--espresso); }
.price-group table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-group th, .price-group td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-group tbody th { text-align: left; font-weight: 300; padding-right: 12px; }
.price-group td { text-align: right; white-space: nowrap; padding-left: 12px; font-weight: 400; }
.price-group thead th { font-size: 0.8125rem; font-weight: 400; color: var(--taupe-deep); text-align: right; padding: 8px 0 6px 12px; }
.price-group table.split td { width: 5.5em; }
.price-group td.one { width: auto; }
/* One price for everyone: centre it across both columns so it does not read as Male only. */
.price-group td.one.span { text-align: center; padding-left: 0; }
.note { display: block; font-size: 0.9375rem; color: var(--taupe-deep); }
@media (max-width: 400px) { .price-group td { padding-left: 8px; } }
/* Two balanced columns, so short groups do not leave empty cells beside long ones. */
@media (min-width: 860px) {
  .price-groups { display: block; columns: 2; column-gap: 72px; }
  .price-group { break-inside: avoid; margin-bottom: 56px; }
}

/* About: two photos overlap on a pale panel that runs behind the text, as on the reference. */
.brand { position: relative; display: grid; gap: 72px; align-items: center; }
.brand::before { content: ""; position: absolute; z-index: -1; background: var(--paper); inset: 22% 0 8% 0; }
.collage { position: relative; padding-bottom: 12%; --py: 0; perspective: 1200px; }
.js .collage.reveal:not(.in) .frame { transform: translate3d(0, 40px, 0); }
.js .collage.reveal.in .frame { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .collage.reveal.in.settled .frame { transition: opacity 0.9s var(--ease); }
.collage .big { transform: translate3d(0, calc(var(--py) * -30px), 0); }
.collage .small { transform: translate3d(0, calc(var(--py) * 72px), 40px); }
.js .reveal .logo-figure .logo-mark.big { transition: clip-path 1.8s cubic-bezier(.5, 0, .2, 1) 0.3s; }
.js .reveal:not(.in) .logo-figure .logo-mark.big { clip-path: inset(0 100% 0 0); }
.js .reveal .logo-figure .logo-mark.big { clip-path: inset(0 0 0 0); }
.collage .big { width: 74%; aspect-ratio: 4 / 5; }
.collage .small { position: absolute; right: 0; bottom: 0; width: 58%; aspect-ratio: 712 / 310; z-index: 1; box-shadow: 0 18px 40px -18px rgba(49, 38, 33, 0.35); }
.brand h2 { text-align: left; margin-bottom: 36px; }
.logo-figure { margin: 0 0 40px; max-width: 420px; color: var(--taupe); }
.logo-mark.big { width: 100%; }
.logo-figure figcaption { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.callout { position: relative; padding-top: 40px; font-size: 0.9375rem; color: var(--taupe-deep); margin: 0; }
.callout .tick { position: absolute; top: 0; width: 1px; height: 32px; background: var(--green); }
.callout.loop .tick { left: 6%; }
.callout.tail { text-align: right; }
.callout.tail .tick { right: 10%; }
.prose { max-width: 56ch; }
@media (min-width: 860px) {
  .brand { grid-template-columns: 1fr 1fr; gap: 96px; }
  .brand::before { inset: 14% 0 14% 12%; }
}

/* Products: a rail with square arrow buttons, as the reference's product slider. */
.products { text-align: center; }
/* Credit package: the logo's loop drawn in one stroke, then two ledger rows. Sits after the
   logo story on the paper ground; the price list points here. */
.packages { background: var(--paper); }
.pack-wrap { display: grid; gap: 56px; }
.pack-lead h2 { text-align: left; margin-bottom: 20px; }
.pack-lead .intro { color: var(--taupe-deep); max-width: 40ch; margin: 0; }
.loop-draw { display: block; width: 160px; height: auto; color: var(--green); margin: 0 0 28px -8px; overflow: visible; }
.pack-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--green); }
.pack-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "amount amount" "saving button"; align-items: end; gap: 12px 24px; padding: 24px 0 28px; border-bottom: 1px solid var(--line); }
.pack-row .amount { grid-area: amount; font-size: 1rem; font-weight: 400; letter-spacing: 0.04em; }
.pack-row .saving { grid-area: saving; font-size: 0.9375rem; color: var(--taupe-deep); line-height: 1.2; }
.pack-row .pct { display: block; font-size: clamp(2.75rem, 9vw, 4rem); font-weight: 300; line-height: 1; letter-spacing: -0.03em; color: var(--green); font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.pack-row .btn { grid-area: button; }
.pack-terms { margin: 16px 0 0; font-size: 0.9375rem; color: var(--taupe-deep); max-width: 52ch; }
.js .pack-wrap.reveal:not(.in) { opacity: 1; transform: none; }
.js .pack-wrap.reveal .loop-draw path { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2s cubic-bezier(0.5, 0, 0.2, 1) 0.2s; }
.js .pack-wrap.reveal:not(.in) .loop-draw path { stroke-dashoffset: 1.02; }
.js .pack-wrap.reveal .pack-lead h2, .js .pack-wrap.reveal .pack-lead .intro, .js .pack-wrap.reveal .pack-row, .js .pack-wrap.reveal .pack-terms { transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
.js .pack-wrap.reveal:not(.in) .pack-lead h2, .js .pack-wrap.reveal:not(.in) .pack-lead .intro, .js .pack-wrap.reveal:not(.in) .pack-row, .js .pack-wrap.reveal:not(.in) .pack-terms { opacity: 0; transform: translateY(24px); }
.js .pack-wrap.reveal .pack-terms { transition-delay: 0.55s; }
.js .pack-wrap.reveal .pack-lead .intro { transition-delay: 0.1s; }
.js .pack-wrap.reveal .pack-row:nth-child(1) { transition-delay: 0.25s; }
.js .pack-wrap.reveal .pack-row:nth-child(2) { transition-delay: 0.4s; }
.regulars { color: var(--taupe-deep); font-size: 0.9375rem; margin-bottom: 20px; }
@media (min-width: 860px) {
  .pack-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 96px; align-items: center; }
  .loop-draw { width: 220px; }
}
@media (min-width: 1100px) {
  .pack-row { grid-template-columns: auto 1fr auto; grid-template-areas: "amount saving button"; align-items: center; gap: 40px; padding: 28px 0; }
  .pack-row .saving { white-space: nowrap; }
}

.products .intro { color: var(--taupe-deep); margin-top: -32px; margin-bottom: 48px; }
.product-rail { position: relative; display: flex; align-items: center; gap: 16px; }
.product-list {
  list-style: none; margin: 0; padding: 0 0 8px; flex: 1;
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.product-list::-webkit-scrollbar { display: none; }
.product { scroll-snap-align: start; }
@supports (animation-timeline: view()) {
  .product { animation: coverflow linear both; animation-timeline: view(inline); transform-origin: 50% 50%; }
  @keyframes coverflow { 0% { transform: perspective(1000px) rotateY(28deg) scale(0.9); opacity: 0.55; } 50% { transform: perspective(1000px) rotateY(0) scale(1); opacity: 1; } 100% { transform: perspective(1000px) rotateY(-28deg) scale(0.9); opacity: 0.55; } }
}
.product img, .product-empty, .product-brand { display: block; aspect-ratio: 1; width: 100%; object-fit: cover; margin-bottom: 14px; }
.product img.square { height: auto; }
/* A brand card: espresso ground, the wordmark in cream (Isaac 2026-10-20: paper on cream looked empty). */
.product-brand { display: grid; place-items: center; background: var(--espresso); color: var(--cream); padding: 16px; }
.product-brand span { font-size: clamp(1.5rem, 5vw, 1.75rem); font-weight: 300; line-height: 1.1; letter-spacing: 0.02em; text-wrap: balance; max-width: 9ch; }
/* A brand wordmark as a colour mask: the SVG's own fill is ignored and the cream shows through. */
.product-brand .brand-logo { display: block; width: 62%; aspect-ratio: var(--logo-ratio, 4); max-width: none; background: var(--cream); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.product .line { display: block; color: var(--taupe-deep); font-size: 0.875rem; margin-top: 4px; }
.product-empty { display: grid; place-items: center; padding: 12px; font-size: 0.875rem; }
.product-empty .ph { outline: none; background: none; }
.product-empty { border: 1px dashed var(--taupe); background: var(--paper); }
.product p { font-size: 0.9375rem; }
.rail-btn { flex: none; width: 44px; height: 44px; border: 1px solid var(--espresso); background: none; color: var(--espresso); cursor: pointer; display: none; place-items: center; transition: background-color 0.3s, color 0.3s; }
.rail-btn:hover { background: var(--espresso); color: var(--cream); }
.works .rail-btn { border-color: var(--cream); color: var(--cream); }
.works .rail-btn:hover { background: var(--cream); color: var(--green); }
.rail-btn span { width: 9px; height: 9px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin-left: 4px; }
.rail-btn.next span { transform: rotate(-135deg); margin: 0 4px 0 0; }
@media (min-width: 860px) {
  .product-list { grid-auto-columns: calc((100% - 48px) / 4); }
  .rail-btn { display: grid; }
}

/* Reviews */
.reviews { background: var(--espresso); color: var(--cream); }
.reviews .ph { color: var(--cream); background: rgba(239, 234, 226, 0.08); }
.rating { color: #cdbfb1; text-align: center; margin-top: -32px; }
.review-list { list-style: none; padding: 0; display: grid; gap: 40px; margin: 48px 0 0; }
.js .review-list li { transform-origin: 50% 0; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .review-list:not(.in) li { opacity: 0; transform: perspective(900px) rotateX(18deg) translateY(24px); }
.js .review-list.in li:nth-child(2) { transition-delay: 0.15s; }
.js .review-list.in li:nth-child(3) { transition-delay: 0.3s; }
.review-list blockquote { margin: 0; }
.review-list blockquote p { font-size: 1.1875rem; }
.who { color: #cdbfb1; font-size: 0.9375rem; }
.reviews .center { margin: 56px 0 0; }
.btn.outline.on-dark { color: var(--cream); border-color: var(--cream); }
.btn.outline.on-dark:hover { background: var(--cream); color: var(--espresso); }
@media (min-width: 860px) { .review-list { grid-template-columns: repeat(3, 1fr); gap: 56px; } }

/* Booking */
.book { text-align: center; }
.book h2 { margin-bottom: 20px; }
.book > p { color: var(--taupe-deep); margin-bottom: 32px; }
.book .phone { margin-top: 20px; font-size: 0.9375rem; color: var(--espresso); }

/* Footer */
.foot { background: var(--paper); border-top: 1px solid var(--line); }
.foot-grid { display: grid; gap: 40px; padding: 72px max(var(--gutter), calc((100% - var(--max)) / 2)) 56px; }
.foot-brand .logo-mark { width: 140px; margin-bottom: 18px; }
.foot .tagline { color: var(--taupe-deep); font-size: 0.9375rem; max-width: 26ch; }
.foot-h { font-size: 1.0625rem; font-weight: 500; margin: 0 0 12px; }
.foot-h + p + .foot-h, .hours + .foot-h { margin-top: 28px; }
.foot address { font-style: normal; margin-bottom: 0.75em; }
.foot a { text-decoration-color: var(--taupe); }
.follow a { margin-right: 18px; }
/* The map stays in Google's own colours (Isaac, 2026-10-20: "make sure this is colored"). */
.map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; }
.foot-small { margin: 0; padding: 16px var(--gutter); background: var(--espresso); color: #cdbfb1; font-size: 0.8125rem; text-align: center; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.2fr 1fr 1fr 1.4fr; gap: 48px; } }

/* Back to top, desktop only (phones have the booking bar). */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 15;
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--espresso); background: var(--cream); color: var(--espresso);
  font-size: 0.75rem; letter-spacing: 0.06em; text-decoration: none;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.to-top.is-on { opacity: 1; visibility: visible; }

/* Phones: booking lives in a bar at the bottom, in thumb reach. */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
  display: flex; align-items: center; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(239, 234, 226, 0.96);
  border-top: 1px solid var(--line);
}
.mobile-bar .btn { flex: 1; }
.mobile-bar .call { padding: 12px 8px; min-height: 48px; display: inline-flex; align-items: center; text-decoration-color: var(--taupe); }
body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
html { scroll-padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
.to-top { display: none; }
@media (min-width: 860px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
  html { scroll-padding-bottom: 0; }
  .to-top { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-logo, .js .hero-note, .js .hero-text .btn { animation: none; }
  .js .hero-logo { transition: none; }
  .js .reveal:not(.in), .js .reveal:not(.in) .frame, .js h2.reveal:not(.in), .js .review-list:not(.in) li, .js .reveal:not(.in) .logo-figure .logo-mark.big { opacity: 1; transform: none; clip-path: none; transition: none; }
  .hero { --sy: 0; --tx: 0; --ty: 0; }
  .slides, .hero-text, .slider-ui, .collage .big, .collage .small, .tilt, .works-flow li { transform: none; transition: none; }
  .js .pack-wrap.reveal .pack-row, .js .pack-wrap.reveal .pack-lead h2, .js .pack-wrap.reveal .pack-lead .intro { opacity: 1; transform: none; transition: none; }
  .js .pack-wrap.reveal .loop-draw path { stroke-dashoffset: 0 !important; transition: none; }
  .person .card { transition: none; }
  .tilt-btn { display: none; }
  .product { animation: none; }
  .btn::after { display: none; }
  .slide, .slide img { transition: none; transform: none; }
  .slide-lines li.is-active::after { animation: none; width: 100%; }
}

/* Touch screens: every control is at least 44px to the thumb. Inline text links grow their hit
   area with padding that does not move the line; stacked footer links take real height. */
@media (pointer: coarse) {
  .slider-pause { width: 44px; height: 44px; }
  .tilt-btn, .btn.small { min-height: 44px; }
  .bar-logo { padding-block: 7px; }
  .mobile-bar .call { min-width: 44px; justify-content: center; }
  .more a, .regulars a, .book .phone a { padding-block: 11px; }
  .follow a { margin-right: 14px; }
}
/* Stacked footer links take real height on phones only; the 4-column tablet footer keeps its
   baseline. Separate rules, so a browser without :has() still applies the first. */
@media (pointer: coarse) and (max-width: 859px) {
  .foot p > a { display: inline-block; padding-block: 10px; }
  .foot address + p { margin-block: 0; }
  .foot p:has(> a) { margin-block: 0; }
}

