/* =========================================================
   Elite Mens — "Usta atölyesi" design system (Oct 2026)
   Dark workshop ground, bone paper reading sections,
   brass reserved for actions. See the approved proposal.
   ========================================================= */

:root {
  --ink: #100e0c;
  --ink-2: #191613;
  --ink-3: #221e1a;
  --bone: #ede6da;
  --bone-dim: #b3a998;
  --bone-faint: #8a8172;
  --brass: #c9a45a;
  --brass-hover: #d8b56c;
  --brass-deep: #8f6e2e;
  --green: #5fae75;
  --line: rgba(237, 230, 218, 0.12);
  --line-strong: rgba(237, 230, 218, 0.24);

  --paper: #efe8dc;
  --paper-2: #e6ddcd;
  --paper-ink: #1a1612;
  --paper-muted: #62584c;
  --paper-line: rgba(26, 22, 18, 0.14);

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(18px, 4.5vw, 56px);
  --max: 1280px;
  --header-h: 68px;
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink);
  font-optical-sizing: auto;
  color: var(--bone);
  font: 400 16px/1.6 var(--f-body);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.skip-link {
  background: var(--brass);
  color: var(--ink);
  font-weight: 600;
  left: 12px;
  padding: 10px 14px;
  position: absolute;
  top: -60px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

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

.mono {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  color: var(--brass);
  display: inline-block;
  font: 500 12px/1.3 var(--f-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.paper .eyebrow {
  color: var(--brass-deep);
}

.display {
  font: 400 clamp(38px, 6vw, 84px) / 0.98 var(--f-display);
  letter-spacing: -0.02em;
}

.display em,
.h2 em {
  color: var(--brass);
  font-style: italic;
}

.paper .display em,
.paper .h2 em {
  color: var(--brass-deep);
}

.h2 {
  font: 400 clamp(32px, 4.6vw, 60px) / 1.02 var(--f-display);
  letter-spacing: -0.015em;
}

.lede {
  color: var(--bone-dim);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
  max-width: 58ch;
}

.paper .lede {
  color: var(--paper-muted);
}

/* ---------- Surfaces ---------- */
.section {
  padding-block: clamp(72px, 10vw, 136px);
}

.paper {
  background: var(--paper);
  color: var(--paper-ink);
}

.paper-2 {
  background: var(--paper-2);
}

.section-head {
  align-items: end;
  display: grid;
  gap: 20px 48px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head > div {
  display: grid;
  gap: 16px;
}

.section-head > .section-head-action {
  display: block;
  justify-self: end;
}

/* ---------- Buttons ---------- */
.btn {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font: 600 15px/1 var(--f-body);
  gap: 10px;
  justify-content: center;
  letter-spacing: 0.01em;
  min-height: 52px;
  padding: 0 24px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}

.btn .arr {
  transition: transform 200ms var(--ease);
}

.btn:hover .arr {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--brass);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--brass-hover);
}

.btn-secondary {
  border-color: var(--line-strong);
  color: var(--bone);
}

.btn-secondary:hover {
  border-color: var(--bone);
}

.paper .btn-secondary {
  border-color: rgba(26, 22, 18, 0.3);
  color: var(--paper-ink);
}

.paper .btn-secondary:hover {
  border-color: var(--paper-ink);
}

.btn-sm {
  font-size: 13px;
  min-height: 44px;
  padding: 0 16px;
}

.btn-block {
  width: 100%;
}

.btn[aria-disabled="true"] {
  background: var(--ink-3);
  color: var(--bone-faint);
  cursor: not-allowed;
}

.text-link {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: text-decoration-color 160ms ease;
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.paper .text-link {
  text-decoration-color: var(--brass-deep);
}

/* Booking CTAs ("Randevu Al"): polished brass with a bevel, a point of
   light that keeps circling the edge, and a small pair of scissors that
   snips now and then. Hover lifts the button, sweeps a sheen, snips and
   loops the arrow. script.js adds .cta and the scissors icon. */
@property --cta-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.btn.cta,
.mobile-bar .mobile-bar-cta.cta {
  background: linear-gradient(180deg, #e6c682 0%, var(--brass) 46%, #b08940 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 224, 0.65),
    inset 0 -1px 0 rgba(70, 48, 12, 0.35),
    0 10px 26px -14px rgba(201, 164, 90, 0.95);
  color: var(--ink);
  isolation: isolate;
  overflow: hidden;
  position: relative;
  transition: transform 260ms var(--ease), box-shadow 260ms ease, filter 260ms ease;
}

.btn.cta:hover,
.mobile-bar .mobile-bar-cta.cta:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 224, 0.8),
    inset 0 -1px 0 rgba(70, 48, 12, 0.35),
    0 16px 34px -12px rgba(216, 181, 108, 1);
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.btn.cta:active,
.mobile-bar .mobile-bar-cta.cta:active {
  filter: brightness(0.97);
  transform: translateY(0) scale(0.98);
  transition-duration: 90ms;
}

/* Edge light circling the button. */
.cta::before {
  animation: cta-orbit 4.8s linear infinite;
  background: conic-gradient(
    from var(--cta-angle),
    rgba(255, 250, 236, 0) 0deg 250deg,
    rgba(255, 250, 236, 0.95) 300deg,
    rgba(255, 250, 236, 0) 340deg 360deg
  );
  border-radius: inherit;
  content: "";
  inset: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  padding: 1.5px;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

/* Sheen that crosses the brass on hover. */
.cta::after {
  background: linear-gradient(
    105deg,
    rgba(255, 248, 230, 0) 30%,
    rgba(255, 248, 230, 0.6) 50%,
    rgba(255, 248, 230, 0) 70%
  );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-120%);
  z-index: -1;
}

.cta:hover::after {
  animation: cta-sheen 0.9s ease-out;
}

/* The header and mobile bar sit on screen together: shift their phase. */
.site-header .cta::before,
.mobile-bar .cta::before {
  animation-delay: -2.4s;
}

.cta-ico {
  display: inline-grid;
  flex: none;
  height: 18px;
  place-items: center;
  width: 18px;
}

.btn-sm .cta-ico {
  height: 16px;
  width: 16px;
}

.cta-ico svg {
  fill: none;
  height: 100%;
  overflow: visible;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
  width: 100%;
}

.cta-ico .blade {
  transform-box: view-box;
  transform-origin: 12px 12px;
}

.cta-ico .blade-a {
  animation: snip-a 6s ease-in-out infinite;
}

.cta-ico .blade-b {
  animation: snip-b 6s ease-in-out infinite;
}

.site-header .cta-ico .blade,
.mobile-bar .cta-ico .blade {
  animation-delay: 3s;
}

.cta:hover .cta-ico .blade-a {
  animation: snip-a-fast 0.55s ease-in-out 2;
}

.cta:hover .cta-ico .blade-b {
  animation: snip-b-fast 0.55s ease-in-out 2;
}

.btn.cta .arr,
.mobile-bar .cta .arr {
  display: inline-block;
  transform: none;
}

.cta:hover .arr {
  animation: arr-loop 560ms var(--ease);
}

@keyframes cta-orbit {
  to { --cta-angle: 360deg; }
}

@keyframes cta-sheen {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

@keyframes snip-a {
  0%, 80%, 100% { transform: rotate(0deg); }
  84%, 92% { transform: rotate(-16deg); }
  88%, 96% { transform: rotate(0deg); }
}

@keyframes snip-b {
  0%, 80%, 100% { transform: rotate(0deg); }
  84%, 92% { transform: rotate(16deg); }
  88%, 96% { transform: rotate(0deg); }
}

@keyframes snip-a-fast {
  50% { transform: rotate(-18deg); }
}

@keyframes snip-b-fast {
  50% { transform: rotate(18deg); }
}

@keyframes arr-loop {
  0% { opacity: 1; transform: translateX(0); }
  45% { opacity: 0; transform: translateX(16px); }
  46% { opacity: 0; transform: translateX(-14px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Directions button: the map pin hops every few seconds and drops a ripple;
   hovering speeds it up and warms the frame to brass. */
.btn-directions .pin {
  display: inline-grid;
  height: 20px;
  place-items: center;
  position: relative;
  width: 18px;
}

.btn-directions .pin svg {
  animation: pin-hop 3.2s var(--ease) infinite;
  height: 18px;
  position: relative;
  transform-origin: 50% 100%;
  width: 18px;
  z-index: 1;
}

.btn-directions .pin::after {
  animation: pin-ripple 3.2s ease-out infinite;
  border: 1px solid var(--brass);
  border-radius: 50%;
  bottom: -3px;
  content: "";
  height: 6px;
  left: 50%;
  opacity: 0;
  position: absolute;
  transform: translateX(-50%) scale(0.4);
  width: 14px;
}

.btn-directions:hover {
  border-color: var(--brass);
}

.btn-directions:hover .pin svg,
.btn-directions:hover .pin::after {
  animation-duration: 1.1s;
}

.btn-directions:hover .pin svg {
  color: var(--brass);
}

@keyframes pin-hop {
  0%, 62%, 100% { transform: translateY(0) scale(1, 1); }
  70% { transform: translateY(1px) scale(1.12, 0.88); }
  78% { transform: translateY(-6px) scale(0.94, 1.06); }
  86% { transform: translateY(0) scale(1.06, 0.94); }
  92% { transform: translateY(-1.5px) scale(1, 1); }
}

@keyframes pin-ripple {
  0%, 84% { opacity: 0; transform: translateX(-50%) scale(0.4); }
  86% { opacity: 0.9; transform: translateX(-50%) scale(0.5); }
  100% { opacity: 0; transform: translateX(-50%) scale(2.2); }
}

/* Instagram button: the lens closes like a shutter every few seconds;
   hover warms it to brass. */
.btn-ig .ig {
  display: inline-grid;
  height: 18px;
  place-items: center;
  width: 18px;
}

.btn-ig .ig svg {
  height: 18px;
  overflow: visible;
  width: 18px;
}

.btn-ig .ig circle:not(.ig-dot) {
  animation: ig-shutter 4.4s var(--ease) infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.btn-ig .ig-dot {
  animation: ig-flash 4.4s ease-out infinite;
}

.btn-ig:hover {
  border-color: var(--brass);
}

.btn-ig:hover .ig {
  color: var(--brass);
}

.btn-ig:hover .ig circle:not(.ig-dot),
.btn-ig:hover .ig-dot {
  animation-duration: 1.4s;
}

@keyframes ig-shutter {
  0%, 70%, 100% { transform: scale(1); }
  76% { transform: scale(0.35); }
  84% { transform: scale(1.12); }
  90% { transform: scale(1); }
}

@keyframes ig-flash {
  0%, 74%, 100% { fill: currentColor; }
  78% { fill: #fff6dc; }
}

/* ---------- Open status ---------- */
.open-status {
  align-items: center;
  color: var(--bone-dim);
  display: inline-flex;
  font: 500 12px/1.2 var(--f-mono);
  gap: 8px;
  white-space: nowrap;
}

.open-status:empty {
  display: none;
}

.open-status::before {
  background: var(--bone-faint);
  border-radius: 50%;
  content: "";
  flex: none;
  height: 7px;
  width: 7px;
}

.open-status.is-open::before {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(95, 174, 117, 0.18);
}

.open-status.is-closed::before {
  background: #c97a6e;
}

.paper .open-status {
  color: var(--paper-muted);
}

/* ---------- Header ---------- */
.site-header {
  background: rgba(16, 14, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: background 200ms ease, border-color 200ms ease;
  z-index: 50;
}

.site-header.is-scrolled {
  background: rgba(16, 14, 12, 0.94);
  border-bottom-color: var(--line);
}

/* Signboard header: links left, logo centred, booking right. */
.header-inner {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto 1fr;
  height: var(--header-h);
}

.menu-toggle {
  display: none;
}

.brand {
  display: inline-flex;
  flex: none;
  justify-self: center;
}

/* Home: the big hero logo carries the brand; the header mark appears once
   the hero logo has scrolled under the header (script adds .logo-docked). */
.site-header--home .brand {
  transition: opacity 240ms ease;
}

.site-header--home:not(.logo-docked) .brand {
  opacity: 0;
  pointer-events: none;
}

.brand img {
  filter: invert(1) brightness(1.08);
  height: 34px;
  width: auto;
}

.nav {
  display: flex;
  gap: 28px;
  justify-self: start;
}

.nav a {
  color: var(--bone-dim);
  font-size: 14px;
  font-weight: 500;
  padding-block: 8px;
  position: relative;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--bone);
}

.nav a[aria-current="page"]::after {
  background: var(--brass);
  bottom: 2px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.header-right {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-self: end;
}

.status-short {
  display: none;
}

/* ---------- Full-screen menu (phones) ---------- */
html.menu-open {
  overflow: hidden;
}

.site-menu {
  animation: menu-in 220ms ease;
  background: #0c0a09;
  display: grid;
  grid-template-rows: auto 1fr auto;
  inset: 0;
  overflow-y: auto;
  padding-top: env(safe-area-inset-top, 0px);
  position: fixed;
  z-index: 70;
}

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

/* Grid items with auto inline margins would shrink to their content. */
.site-menu > .wrap {
  width: 100%;
}

.site-menu-top {
  align-items: center;
  display: flex;
  height: var(--header-h);
  justify-content: space-between;
}

.site-menu-top img {
  filter: invert(1) brightness(1.08);
  height: 30px;
  width: auto;
}

.site-menu-body {
  align-content: center;
  display: grid;
  gap: 40px;
  padding-block: 24px;
}

.site-menu-links {
  display: grid;
  list-style: none;
}

.site-menu-links a {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  color: var(--bone);
  display: flex;
  font: 400 clamp(34px, 10vw, 52px) / 1.1 var(--f-display);
  gap: 14px;
  padding: 12px 0;
  text-decoration: none;
}

.site-menu-links small {
  color: var(--brass);
  font: 500 11px/1 var(--f-mono);
  letter-spacing: 0.1em;
}

.site-menu-links em {
  color: var(--brass);
  font-style: italic;
}

.site-menu-links a[aria-current="page"] {
  color: var(--brass);
}

.site-menu-info {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
  margin: 0;
}

.site-menu-info dt {
  color: var(--bone-faint);
  font: 500 11px/1.4 var(--f-mono);
  letter-spacing: 0.14em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.site-menu-info dd {
  color: var(--bone-dim);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.site-menu-info a {
  color: var(--bone);
}

.site-menu-foot {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 16px;
  padding-block: 18px calc(18px + env(safe-area-inset-bottom, 0px));
}

.site-menu-foot .btn {
  flex: 1 1 auto;
}

/* ---------- Hero: full-bleed salon, logo centred, copy bottom-left ---------- */
.hero {
  display: grid;
  grid-template-rows: 1fr auto;
  isolation: isolate;
  min-height: min(100svh, 980px);
  position: relative;
}

.hero-media {
  inset: 0;
  margin: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.hero-media picture {
  display: block;
  height: 100%;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  width: 100%;
}

/* Soft pool of shadow behind the logo, dark header band, dark foot. */
.hero-media::after {
  background:
    radial-gradient(42% 34% at 50% 46%, rgba(16, 14, 12, 0.55), rgba(16, 14, 12, 0) 100%),
    linear-gradient(
      180deg,
      rgba(16, 14, 12, 0.75) 0%,
      rgba(16, 14, 12, 0.25) 22%,
      rgba(16, 14, 12, 0.25) 52%,
      rgba(16, 14, 12, 0.82) 78%,
      var(--ink) 100%
    );
  content: "";
  inset: 0;
  position: absolute;
}

.hero-logo {
  align-self: center;
  justify-self: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 24px;
  width: 100%;
}

.hero-logo img {
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.55));
  margin-inline: auto;
  width: clamp(280px, 40vw, 600px);
}

.hero-foot {
  display: grid;
  gap: 24px;
  padding-bottom: clamp(24px, 3vw, 36px);
  width: 100%;
}

.hero-foot-main {
  align-items: end;
  display: flex;
  gap: 24px 48px;
  justify-content: space-between;
}

.hero-copy {
  display: grid;
  gap: 14px;
}

.hero-title {
  font: 400 clamp(34px, 3.8vw, 58px) / 1.02 var(--f-display);
  letter-spacing: -0.015em;
  max-width: 14ch;
}

.hero-title em {
  color: var(--brass);
  font-style: italic;
}

.hero-actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-facts {
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding-top: 18px;
}

.hero-facts > div {
  border-right: 1px solid var(--line);
  display: grid;
  gap: 6px;
  padding: 0 24px 0 0;
}

.hero-facts > div + div {
  padding-left: 24px;
}

.hero-facts > div:last-child {
  border-right: 0;
}

.hero-facts dt {
  font: 500 14px/1.2 var(--f-mono);
}

.hero-facts dd {
  color: var(--bone-dim);
  font-size: 13px;
  margin: 0;
}

/* ---------- Trust strip ---------- */
.trust {
  border-bottom: 1px solid var(--paper-line);
}

.trust-grid {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  list-style: none;
}

.trust-item {
  border-right: 1px solid var(--paper-line);
  display: grid;
  gap: 8px;
  padding: clamp(26px, 3.4vw, 40px) clamp(16px, 2.4vw, 32px);
}

.trust-item:first-child {
  padding-left: 0;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item b {
  font: 400 clamp(28px, 3.4vw, 44px) / 1 var(--f-display);
  letter-spacing: -0.01em;
}

.trust-item span {
  color: var(--paper-muted);
  font-size: 14px;
  line-height: 1.45;
}

/* ---------- Art of Zeg ---------- */
.zeg-grid {
  align-items: start;
  display: grid;
  gap: clamp(32px, 6vw, 96px);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
}

/* Real award photo shown like a museum label card (no AI-drawn people). */
.zeg-visual {
  display: grid;
  gap: 12px;
}

.award-case {
  background: var(--paper);
  color: var(--paper-ink);
  display: grid;
  gap: 18px;
  justify-items: center;
  margin: 0;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 48px) clamp(22px, 3vw, 32px);
}

.award-case img {
  height: auto;
  max-height: min(64vh, 560px);
  width: auto;
}

.award-case figcaption {
  display: grid;
  gap: 4px;
  text-align: center;
}

.award-case strong {
  font: 400 clamp(22px, 2.2vw, 28px) / 1.1 var(--f-display);
}

.award-case span {
  color: var(--paper-muted);
  font: 500 13px/1.45 var(--f-body);
}

.award-side {
  align-items: center;
  border: 1px solid var(--line);
  color: var(--bone-dim);
  display: flex;
  gap: 16px;
  padding: 12px;
  text-decoration: none;
  transition: border-color 160ms ease;
}

.award-side:hover {
  border-color: var(--line-strong);
}

.award-side img {
  border: 1px solid var(--line);
  flex: none;
  height: 76px;
  object-fit: cover;
  width: 58px;
}

.award-side span {
  display: grid;
  font-size: 13px;
  gap: 2px;
  line-height: 1.4;
}

.award-side b {
  color: var(--bone);
  font-weight: 600;
}

.zeg-copy {
  display: grid;
  gap: 28px;
}

/* Upright serif, calmer size and a brass rule: the italic display cut
   was hard to read at this length. */
.zeg-statement {
  border-left: 2px solid var(--brass);
  color: var(--bone);
  font: 400 clamp(20px, 1.9vw, 25px) / 1.5 var(--f-display);
  font-variation-settings: "opsz" 24;
  max-width: 34ch;
  padding-left: 20px;
}

.timeline {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.timeline li {
  display: grid;
  gap: 6px;
  padding: 18px 16px 0 0;
}

.timeline b {
  color: var(--brass);
  font: 500 18px/1 var(--f-mono);
}

.timeline span {
  color: var(--bone-dim);
  font-size: 14px;
  line-height: 1.4;
}

.zeg-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

/* ---------- Art of Zeg: lit vitrine ----------
   The award sits in a backlit display case under a brass lamp, on a
   plinth with a plate; a huge outlined "1998" sits behind; the master's
   signature is drawn by hand when the section arrives; the timeline
   runs along the bottom like a ruler. */
.zeg-stage {
  overflow: hidden;
  position: relative;
}

.zeg-year {
  color: transparent;
  font: 400 clamp(180px, 30vw, 420px) / 0.8 var(--f-display);
  left: -0.04em;
  letter-spacing: -0.04em;
  pointer-events: none;
  position: absolute;
  top: clamp(40px, 6vw, 80px);
  -webkit-text-stroke: 1px rgba(201, 164, 90, 0.16);
  user-select: none;
}

.zeg-stage-grid {
  align-items: center;
  display: grid;
  gap: clamp(40px, 7vw, 110px);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  position: relative;
}

.vitrine {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.vitrine-case {
  display: grid;
  justify-items: center;
  margin: 0;
  padding-top: 34px;
  position: relative;
  width: min(100%, 380px);
}

/* Brass shade and its warm cone over the case. */
.vitrine-lamp {
  height: 100%;
  inset: 0 0 auto;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.vitrine-lamp::before {
  background: linear-gradient(180deg, #e3c27c, #8f6e2e);
  border-radius: 14px 14px 3px 3px;
  content: "";
  height: 10px;
  left: 50%;
  position: absolute;
  top: 8px;
  transform: translateX(-50%);
  width: 64px;
}

.vitrine-lamp::after {
  background: radial-gradient(48% 42% at 50% 0%, rgba(255, 220, 160, 0.42), rgba(255, 220, 160, 0) 100%);
  content: "";
  height: 70%;
  left: -12%;
  mix-blend-mode: screen;
  position: absolute;
  right: -12%;
  top: 14px;
}

/* Backlit glass box. */
.vitrine-glass {
  aspect-ratio: 900 / 1180;
  background: #f1ece3;
  border: 1px solid rgba(237, 230, 218, 0.35);
  box-shadow:
    inset 0 0 0 6px rgba(16, 14, 12, 0.92),
    inset 0 0 0 7px rgba(201, 164, 90, 0.55),
    0 30px 60px -30px rgba(0, 0, 0, 0.95),
    0 0 80px -20px rgba(255, 214, 150, 0.18);
  display: block;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.vitrine-glass img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  width: 100%;
}

.vitrine-glass::after {
  background: linear-gradient(
    105deg,
    rgba(255, 252, 244, 0) 35%,
    rgba(255, 252, 244, 0.55) 48%,
    rgba(255, 252, 244, 0.15) 52%,
    rgba(255, 252, 244, 0) 62%
  );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-110%);
}

.vitrine-case.is-in .vitrine-glass::after {
  animation: glass-sweep 1.6s var(--ease) 400ms;
}

.vitrine-case:hover .vitrine-glass::after {
  animation: glass-sweep 1.1s var(--ease);
}

.vitrine-plinth {
  background: linear-gradient(180deg, #2a241e, #15120f);
  border-top: 2px solid var(--brass);
  display: block;
  height: 26px;
  width: 112%;
}

.vitrine-plate {
  border: 1px solid rgba(201, 164, 90, 0.55);
  border-radius: var(--radius);
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 10px 16px;
  text-align: center;
}

.vitrine-plate b {
  color: var(--brass);
  font: 500 12px/1.2 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vitrine-plate span {
  color: var(--bone-dim);
  font-size: 13px;
}

.vitrine .award-side {
  width: min(100%, 380px);
}

/* Lamp switches on when the case arrives. */
.motion .vitrine-lamp::after {
  opacity: 0;
  transition: opacity 900ms ease 200ms;
}

.motion .vitrine-case.is-in .vitrine-lamp::after {
  opacity: 1;
}

.zeg-stage blockquote.zeg-statement {
  margin: 0;
}

/* Signature: the outline is drawn, then the ink fills in. */
.zeg-sign {
  display: grid;
  gap: 2px;
}

.signature {
  height: auto;
  overflow: visible;
  width: min(100%, 340px);
}

.signature text {
  fill: var(--brass);
  font: 400 88px/1 "Mrs Saint Delafield", "Snell Roundhand", cursive;
  stroke: var(--brass);
  stroke-width: 0.6;
}

.motion .signature text {
  fill: rgba(201, 164, 90, 0);
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}

.motion .signature.is-in text {
  animation: sign-draw 2.6s cubic-bezier(0.45, 0, 0.3, 1) 300ms forwards;
}

@keyframes sign-draw {
  70% { fill: rgba(201, 164, 90, 0); stroke-dashoffset: 0; }
  100% { fill: rgba(201, 164, 90, 1); stroke-dashoffset: 0; }
}

.zeg-sign-name {
  color: var(--bone-faint);
  font: 500 12px/1.3 var(--f-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Timeline as a ruler along the foot of the section. */
.timeline-ruler {
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: 26px;
}

.timeline-ruler::after {
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 24px);
  content: "";
  height: 10px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.timeline-ruler b {
  font: 400 clamp(30px, 3.4vw, 44px) / 1 var(--f-display);
}

.timeline-ruler li {
  padding-top: 0;
}

@supports (animation-timeline: view()) {
  .motion .zeg-year {
    animation: year-drift linear both;
    animation-range: entry 0% exit 100%;
    animation-timeline: view();
  }

  @keyframes year-drift {
    from { transform: translateX(-6%); }
    to { transform: translateX(10%); }
  }
}

/* ---------- Service board: barbershop menu board ----------
   Dark panel in a double brass frame, dotted leaders running to the
   duration, a stamp to pick each service and a chair-time bar. */
.board-dur,
.board-price {
  font: 500 14px/1 var(--f-mono);
  white-space: nowrap;
}

.board-dur {
  color: var(--paper-muted);
}

.menu-section {
  background: var(--ink-2);
}

.menu-board {
  margin-inline: auto;
  max-width: 920px;
  padding: 7px;
  position: relative;
}

/* Outer and inner frame lines, drawn on reveal. */
.menu-board::before,
.menu-board::after {
  background:
    linear-gradient(var(--fc), var(--fc)) top center / 100% 1px no-repeat,
    linear-gradient(var(--fc), var(--fc)) bottom center / 100% 1px no-repeat,
    linear-gradient(var(--fc), var(--fc)) left center / 1px 100% no-repeat,
    linear-gradient(var(--fc), var(--fc)) right center / 1px 100% no-repeat;
  content: "";
  pointer-events: none;
  position: absolute;
}

.menu-board::before {
  --fc: var(--brass);
  inset: 0;
}

.menu-board::after {
  --fc: rgba(201, 164, 90, 0.42);
  inset: 7px;
}

.motion .menu-board::before,
.motion .menu-board::after {
  background-size: 0 1px, 0 1px, 1px 0, 1px 0;
}

.motion .menu-board.is-in::before {
  animation: frame-draw 1.1s var(--ease) forwards;
}

.motion .menu-board.is-in::after {
  animation: frame-draw 1.1s var(--ease) 0.25s forwards;
}

@keyframes frame-draw {
  to { background-size: 100% 1px, 100% 1px, 1px 100%, 1px 100%; }
}

.menu-board-inner {
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(201, 164, 90, 0.07), rgba(201, 164, 90, 0) 70%),
    var(--ink);
  display: grid;
  gap: 8px;
  padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px) clamp(24px, 4vw, 44px);
}

.menu-head {
  display: grid;
  gap: 10px;
  justify-items: center;
  margin-bottom: clamp(18px, 3vw, 30px);
  text-align: center;
}

.menu-head .eyebrow {
  letter-spacing: 0.28em;
}

.menu-title {
  font: 400 clamp(38px, 5vw, 62px) / 1 var(--f-display);
  letter-spacing: -0.01em;
}

.menu-note {
  color: var(--bone-dim);
  font-size: 15px;
  max-width: 44ch;
}

.menu-board .board {
  display: grid;
  list-style: none;
}

.menu-board .board-row {
  align-items: center;
  border-radius: var(--radius);
  column-gap: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-inline: -12px;
  padding: 16px 12px;
  transition: background 220ms ease;
}

.menu-board .board-row:hover {
  background: rgba(201, 164, 90, 0.05);
}

.menu-line {
  align-items: baseline;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.menu-name {
  color: var(--bone);
  flex: none;
  font: 400 clamp(22px, 2.4vw, 30px) / 1.15 var(--f-display);
  max-width: 70%;
  transition: color 240ms ease, transform 240ms var(--ease);
}

.menu-board .board-row:hover .menu-name {
  transform: translateX(4px);
}

.board-row.is-featured .menu-name {
  font-style: italic;
}

.board-badge {
  border: 1px solid rgba(201, 164, 90, 0.55);
  border-radius: var(--radius);
  color: var(--brass);
  display: inline-block;
  font: 500 11px/1 var(--f-mono);
  font-style: normal;
  letter-spacing: 0.08em;
  margin-left: 12px;
  padding: 5px 8px;
  text-transform: uppercase;
  vertical-align: middle;
}

.leader {
  align-self: flex-end;
  background-image: radial-gradient(circle, rgba(237, 230, 218, 0.38) 1px, transparent 1.4px);
  background-position: 0 50%;
  background-repeat: repeat-x;
  background-size: 8px 4px;
  flex: 1 1 auto;
  height: 4px;
  margin-bottom: 7px;
  min-width: 24px;
  transition: filter 240ms ease;
}

.menu-board .board-dur {
  color: var(--bone-dim);
  font-size: 15px;
}

.menu-board .board-price {
  color: var(--bone);
  font-size: 16px;
}

.menu-desc {
  color: var(--bone-faint);
  font-size: 15px;
  grid-column: 1;
  line-height: 1.5;
  margin-top: 6px;
  max-width: 56ch;
}

.stamp {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--bone);
  cursor: pointer;
  display: inline-flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  height: 46px;
  justify-content: center;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 240ms var(--ease);
  width: 46px;
}

.stamp svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 20px;
}

.stamp:hover {
  border-color: var(--brass);
  color: var(--brass);
}

/* Picked: the row turns brass and the stamp is pressed in, slightly askew. */
.board-row.is-picked .menu-name {
  color: var(--brass);
}

.board-row.is-picked .leader {
  background-image: radial-gradient(circle, rgba(201, 164, 90, 0.85) 1px, transparent 1.4px);
}

.board-row.is-picked .board-dur {
  color: var(--brass);
}

.stamp[aria-pressed="true"] {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ink);
  transform: rotate(-6deg);
}

.board-row.just-picked .stamp {
  animation: stamp-in 420ms cubic-bezier(0.3, 1.4, 0.5, 1);
}

.board-row.just-picked .stamp svg path {
  animation: tick-draw 380ms ease-out 120ms both;
  stroke-dasharray: 24;
}

@keyframes stamp-in {
  0% { opacity: 0; transform: scale(1.7) rotate(-18deg); }
  60% { opacity: 1; transform: scale(0.92) rotate(-4deg); }
  100% { transform: scale(1) rotate(-6deg); }
}

@keyframes tick-draw {
  from { stroke-dashoffset: 24; }
  to { stroke-dashoffset: 0; }
}

/* Rows arrive one by one when the board is revealed; leaders run out
   towards the duration. */
.motion .menu-board .board-row {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 600ms ease, transform 700ms var(--ease), background 220ms ease;
}

.motion .menu-board .leader {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 800ms var(--ease);
}

.motion .menu-board .board-dur {
  opacity: 0;
  transition: opacity 400ms ease;
}

.motion .menu-board.is-in .board-row {
  opacity: 1;
  transform: none;
}

.motion .menu-board.is-in .leader {
  clip-path: inset(0 0 0 0);
}

.motion .menu-board.is-in .board-dur {
  opacity: 1;
}

.motion .menu-board.is-in .board-row:nth-child(1) { transition-delay: 350ms; }
.motion .menu-board.is-in .board-row:nth-child(2) { transition-delay: 480ms; }
.motion .menu-board.is-in .board-row:nth-child(3) { transition-delay: 610ms; }
.motion .menu-board.is-in .board-row:nth-child(4) { transition-delay: 740ms; }
.motion .menu-board.is-in .board-row:nth-child(1) .leader { transition-delay: 600ms; }
.motion .menu-board.is-in .board-row:nth-child(2) .leader { transition-delay: 730ms; }
.motion .menu-board.is-in .board-row:nth-child(3) .leader { transition-delay: 860ms; }
.motion .menu-board.is-in .board-row:nth-child(4) .leader { transition-delay: 990ms; }
.motion .menu-board.is-in .board-row:nth-child(1) .board-dur { transition-delay: 1100ms; }
.motion .menu-board.is-in .board-row:nth-child(2) .board-dur { transition-delay: 1230ms; }
.motion .menu-board.is-in .board-row:nth-child(3) .board-dur { transition-delay: 1360ms; }
.motion .menu-board.is-in .board-row:nth-child(4) .board-dur { transition-delay: 1490ms; }

/* Chair time: how long the picked services keep you in the chair. */
.menu-time {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 14px;
  margin-top: 14px;
  padding-top: 20px;
}

.menu-time-label,
.menu-time-value {
  color: var(--bone-dim);
  font: 500 13px/1 var(--f-mono);
  white-space: nowrap;
}

.menu-time-value {
  color: var(--brass);
  min-width: 7ch;
  text-align: right;
}

.menu-time-track {
  background: rgba(237, 230, 218, 0.1);
  flex: 1;
  height: 4px;
  overflow: hidden;
  position: relative;
}

.menu-time-track span {
  background: linear-gradient(90deg, var(--brass-deep), var(--brass));
  inset: 0 auto 0 0;
  position: absolute;
  transition: width 600ms var(--ease);
  width: 0;
}

.board-foot {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin-top: 18px;
}

.board-sum {
  color: var(--bone-dim);
  font-size: 15px;
}

.board-sum.is-swap {
  animation: sum-in 320ms var(--ease);
}

@keyframes sum-in {
  from { opacity: 0.1; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}

.board-foot-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

/* Atelier sits right above Art of Zeg (both dark): tighten the seam and
   mark it with a hairline. */
#atolye {
  padding-bottom: clamp(48px, 7vw, 88px);
}

#atolye + #art-of-zeg {
  border-top: 1px solid var(--line);
}

/* ---------- Atelier: mirror wall ----------
   Each photo hangs in an arched brass mirror like the one in the salon
   (4:5, the Instagram post ratio). The wall drifts; hovering a mirror
   switches on its lamp and a reflection crosses the glass. */
.mirror-wall {
  --mirror-w: clamp(210px, 21vw, 260px);
  cursor: grab;
  margin-top: clamp(8px, 2vw, 20px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  overflow: hidden;
  padding: 46px var(--gutter) 8px;
  touch-action: pan-y;
  user-select: none;
}

.mirror-wall.is-dragging {
  cursor: grabbing;
}

.mirror-track {
  column-gap: clamp(22px, 3vw, 40px);
  display: flex;
  position: relative;
  width: max-content;
  will-change: transform;
}

.mirror {
  color: var(--bone);
  display: grid;
  flex: none;
  gap: 14px;
  justify-items: center;
  position: relative;
  text-decoration: none;
  width: var(--mirror-w);
}

/* Lamp: a small brass shade above each mirror and its warm cone. */
.mirror::before {
  background: linear-gradient(180deg, #d8b56c, #8f6e2e);
  border-radius: 10px 10px 2px 2px;
  content: "";
  height: 8px;
  left: 50%;
  position: absolute;
  top: -30px;
  transform: translateX(-50%);
  width: 34px;
}

.mirror::after {
  background: radial-gradient(50% 55% at 50% 0%, rgba(255, 214, 150, 0.32), rgba(255, 214, 150, 0) 100%);
  content: "";
  height: 70%;
  left: -10%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: -10%;
  top: -22px;
  transition: opacity 400ms ease;
  z-index: 2;
}

.mirror-frame {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #e3c27c, var(--brass) 40%, #8f6e2e);
  border-radius: 999px 999px 6px 6px;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
  display: block;
  padding: 5px;
  width: 100%;
}

.mirror-glass {
  background: var(--ink-3);
  border-radius: 999px 999px 3px 3px;
  box-shadow: inset 0 0 0 1px rgba(16, 14, 12, 0.6);
  display: block;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.mirror-glass img {
  filter: brightness(0.62) saturate(0.85);
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: filter 500ms ease, transform 900ms var(--ease);
  width: 100%;
}

/* Reflection that crosses the glass. */
.mirror-glass::after {
  background: linear-gradient(
    115deg,
    rgba(255, 250, 236, 0) 38%,
    rgba(255, 250, 236, 0.28) 48%,
    rgba(255, 250, 236, 0.08) 53%,
    rgba(255, 250, 236, 0) 62%
  );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-110%);
}

.mirror-play {
  align-items: center;
  background: rgba(16, 14, 12, 0.72);
  border: 1px solid rgba(201, 164, 90, 0.5);
  border-radius: 50%;
  bottom: 12px;
  color: var(--bone);
  display: flex;
  height: 30px;
  justify-content: center;
  position: absolute;
  right: 50%;
  transform: translateX(50%);
  width: 30px;
}

.mirror-play svg {
  height: 12px;
  margin-left: 2px;
  width: 12px;
}

.mirror-plate {
  align-items: baseline;
  border: 1px solid rgba(201, 164, 90, 0.45);
  border-radius: var(--radius);
  color: var(--bone-dim);
  display: inline-flex;
  font: 500 13px/1 var(--f-body);
  gap: 8px;
  padding: 7px 12px;
}

.mirror-plate b {
  color: var(--brass);
  font: 500 12px/1 var(--f-mono);
}

.mirror:hover::after,
.mirror:focus-visible::after {
  opacity: 1;
}

.mirror:hover .mirror-glass img,
.mirror:focus-visible .mirror-glass img {
  filter: none;
  transform: scale(1.04);
}

.mirror:hover .mirror-glass::after,
.mirror:focus-visible .mirror-glass::after {
  animation: glass-sweep 1.2s var(--ease);
}

.mirror:hover .mirror-plate,
.mirror:focus-visible .mirror-plate {
  border-color: var(--brass);
  color: var(--bone);
}

.mirror:focus-visible {
  outline: none;
}

.mirror:focus-visible .mirror-frame {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
}

/* Touch screens have no hover: keep the photos lit. */
@media (hover: none) {
  .mirror-glass img {
    filter: none;
  }
}

/* No motion: a normal horizontal scroller that snaps to each mirror. */
.mirror-wall.is-static {
  cursor: auto;
  -webkit-mask-image: none;
  mask-image: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.mirror-wall.is-static .mirror {
  scroll-snap-align: center;
}

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr);
}

.score b {
  display: block;
  font: 400 clamp(64px, 8vw, 104px) / 0.9 var(--f-display);
}

.score .stars {
  color: var(--brass-deep);
  letter-spacing: 4px;
}

.score p {
  color: var(--paper-muted);
  font-size: 14px;
  margin-block: 8px 18px;
}

.review-cards {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
  align-content: start;
  background: #f7f2e9;
  border: 1px solid var(--paper-line);
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 22px;
}

.review-card blockquote {
  font: italic 400 18px/1.4 var(--f-display);
  margin: 0;
}

.review-card figcaption {
  color: var(--paper-muted);
  font: 500 12px/1.3 var(--f-mono);
}

/* ---------- Brands ---------- */
.brands {
  padding-block: clamp(48px, 6vw, 80px);
}

.brands-row {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
}

.brands-row p {
  color: var(--paper-ink);
  font: 400 clamp(20px, 2vw, 26px) / 1.3 var(--f-display);
  margin-top: 10px;
}

.brand-logos {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.brand-logos img {
  filter: grayscale(1) contrast(1.1);
  margin-inline: auto;
  max-height: 40px;
  max-width: 100%;
  opacity: 0.82;
  width: auto;
}

/* ---------- Booking ---------- */
.book-grid {
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.book-form-wrap {
  background: var(--ink-2);
  border-right: 1px solid var(--line);
  padding: clamp(22px, 3.4vw, 44px);
}

.book-info {
  align-content: start;
  display: grid;
  gap: 24px;
  padding: clamp(22px, 3.4vw, 44px);
}

.book-form {
  display: grid;
  gap: 24px;
}

.book-step {
  border: 0;
  display: grid;
  gap: 12px;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.book-step legend {
  align-items: baseline;
  display: flex;
  font-size: 15px;
  font-weight: 600;
  gap: 10px;
  margin-bottom: 12px;
  padding: 0;
}

.book-step legend b {
  color: var(--brass);
  font: 500 12px/1 var(--f-mono);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  align-items: center;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--bone);
  cursor: pointer;
  display: inline-flex;
  font: 500 14px/1 var(--f-body);
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.chip small {
  color: var(--bone-faint);
  font: 400 11px/1 var(--f-mono);
}

.chip:hover {
  border-color: var(--line-strong);
}

.chip[aria-pressed="true"] {
  background: var(--bone);
  border-color: var(--bone);
  color: var(--ink);
}

.chip[aria-pressed="true"] small {
  color: #5d554a;
}

.chip:disabled {
  cursor: not-allowed;
  opacity: 0.38;
  text-decoration: line-through;
}

.book-msg {
  background: #0b1410;
  border: 1px solid rgba(95, 174, 117, 0.3);
  border-radius: var(--radius);
  color: #cfe6d6;
  font: 400 13px/1.55 var(--f-mono);
  margin: 0;
  padding: 14px;
  white-space: pre-wrap;
}

.book-hint {
  color: var(--bone-dim);
  font-size: 14px;
}

.book-alt {
  color: var(--bone-dim);
  font-size: 14px;
}

.book-alt a {
  color: var(--bone);
}

.map-card {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(90deg, transparent 48%, rgba(237, 230, 218, 0.06) 48% 52%, transparent 52%) 0 0 / 64px 64px,
    linear-gradient(0deg, transparent 48%, rgba(237, 230, 218, 0.06) 48% 52%, transparent 52%) 0 0 / 64px 64px,
    var(--ink-3);
  border: 1px solid var(--line);
  display: block;
  position: relative;
  text-decoration: none;
}

.map-card::after {
  background: var(--brass);
  border: 3px solid var(--ink);
  border-radius: 50% 50% 50% 0;
  content: "";
  height: 22px;
  left: 52%;
  position: absolute;
  top: 40%;
  transform: rotate(-45deg);
  width: 22px;
}

.map-card span {
  background: rgba(16, 14, 12, 0.86);
  bottom: 12px;
  color: var(--bone);
  font: 500 12px/1 var(--f-mono);
  left: 12px;
  padding: 8px 10px;
  position: absolute;
}

.book-info address {
  color: var(--bone);
  font-style: normal;
  line-height: 1.6;
}

.hours {
  border-top: 1px solid var(--line);
  display: grid;
  margin: 0;
}

.hours > div {
  border-bottom: 1px solid var(--line);
  display: flex;
  font: 400 14px/1 var(--f-mono);
  justify-content: space-between;
  padding: 12px 0;
}

.hours dt,
.hours dd {
  margin: 0;
}

.hours .closed {
  color: #d48a7e;
}

.book-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
}

.faq-intro {
  align-content: start;
  display: grid;
  gap: 16px;
}

.faq-list details {
  border-top: 1px solid var(--paper-line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--paper-line);
}

.faq-list summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font: 400 clamp(19px, 1.8vw, 23px) / 1.3 var(--f-display);
  gap: 16px;
  justify-content: space-between;
  list-style: none;
  min-height: 64px;
  padding: 16px 0;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--brass-deep);
  content: "+";
  flex: none;
  font: 400 20px/1 var(--f-mono);
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  color: var(--paper-muted);
  max-width: 62ch;
  padding-bottom: 20px;
}

.faq-list a {
  color: var(--paper-ink);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
}

.closing {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  justify-items: start;
  padding-block: clamp(64px, 9vw, 120px);
}

.closing .display {
  font-size: clamp(44px, 7vw, 104px);
}

.closing-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.footer-cols {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  padding-block: 48px;
}

.footer-col {
  align-content: start;
  display: grid;
  gap: 10px;
}

.footer-col h2 {
  color: var(--bone-faint);
  font: 500 11px/1.3 var(--f-mono);
  letter-spacing: 0.16em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span,
.footer-col address {
  color: var(--bone-dim);
  font-size: 14px;
  font-style: normal;
  line-height: 1.6;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--bone);
}

.footer-col ul {
  display: grid;
  gap: 8px;
  list-style: none;
}

.footer-brand img {
  filter: invert(1) brightness(1.08);
  height: 40px;
  width: auto;
}

.footer-legal {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--bone-faint);
  display: flex;
  flex-wrap: wrap;
  font: 400 13px/1.4 var(--f-body);
  gap: 12px 24px;
  justify-content: space-between;
  padding-block: 18px;
}

.footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.footer-legal button,
.footer-legal a {
  align-items: center;
  background: none;
  border: 0;
  color: var(--bone-faint);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  min-height: 44px;
  padding: 0;
  text-decoration: none;
}

.footer-legal button:hover,
.footer-legal a:hover {
  color: var(--bone);
}

/* ---------- Dialogs ---------- */
.dialog {
  background: var(--ink-2);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--bone);
  max-height: min(90svh, 880px);
  max-width: min(640px, calc(100vw - 20px));
  padding: 0;
  width: 100%;
}

.dialog::backdrop {
  background: rgba(5, 4, 3, 0.72);
  backdrop-filter: blur(3px);
}

.dialog-head {
  align-items: start;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 20px;
  position: sticky;
  top: 0;
  z-index: 1;
}

.dialog-head h2 {
  font: 400 28px/1.1 var(--f-display);
  margin-top: 6px;
}

.dialog-close {
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--bone);
  cursor: pointer;
  flex: none;
  font-size: 22px;
  height: 44px;
  line-height: 1;
  width: 44px;
}

.dialog-close:hover {
  border-color: var(--bone);
}

.dialog-body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.dialog-body p {
  color: var(--bone-dim);
}

/* ---------- Mobile bar ---------- */
.mobile-bar {
  display: none;
}

/* ---------- Subpages ---------- */
.page-hero {
  padding-bottom: clamp(40px, 6vw, 72px);
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px));
}

.crumbs {
  color: var(--bone-faint);
  display: flex;
  flex-wrap: wrap;
  font: 500 11px/1.4 var(--f-mono);
  gap: 8px;
  letter-spacing: 0.1em;
  list-style: none;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.crumbs a {
  color: var(--bone-dim);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--bone);
}

.page-hero-grid {
  align-items: end;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

.page-hero-grid > div {
  display: grid;
  gap: 22px;
}

.page-hero .display {
  font-size: clamp(42px, 6vw, 88px);
}

.page-hero-media {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
}

.page-hero-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.page-body {
  align-items: start;
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
}

.prose {
  display: grid;
  gap: 18px;
  max-width: 68ch;
}

.prose h2 {
  font: 400 clamp(26px, 2.6vw, 34px) / 1.12 var(--f-display);
  margin-top: 22px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--paper-muted);
  font-size: 17px;
  line-height: 1.7;
}

.prose strong {
  color: var(--paper-ink);
}

.prose ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.prose a {
  color: var(--paper-ink);
}

.side-card {
  background: var(--paper-ink);
  color: var(--paper);
  display: grid;
  gap: 16px;
  padding: 26px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.side-card .eyebrow {
  color: var(--brass);
}

.side-card p,
.side-card .open-status,
.side-card .mono {
  color: #b9ae9e;
}

.side-card p {
  font-size: 15px;
}

.side-card .mono {
  font-size: 13px;
}

.service-list {
  border-top: 1px solid var(--paper-line);
  display: grid;
}

.service-item {
  border-bottom: 1px solid var(--paper-line);
  display: grid;
  gap: 10px 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 28px 0;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.service-item h2 {
  font: 400 clamp(26px, 2.6vw, 34px) / 1.1 var(--f-display);
}

.service-item .board-dur {
  align-self: center;
}

.service-item p {
  color: var(--paper-muted);
  font-size: 16px;
  grid-column: 1 / -1;
  max-width: 62ch;
}

.service-item .btn {
  grid-column: 1 / -1;
  justify-self: start;
}

.related {
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 80px);
}

.related a {
  background: var(--paper);
  color: var(--paper-ink);
  display: grid;
  font: 400 20px/1.2 var(--f-display);
  gap: 8px;
  padding: 22px;
  text-decoration: none;
  transition: background 160ms ease;
}

.related a:hover {
  background: #f7f2e9;
}

.related span {
  color: var(--brass-deep);
  font: 500 11px/1 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Art of Zeg page */
.zeg-hero {
  align-items: end;
  display: grid;
  min-height: min(82svh, 760px);
  padding-top: var(--header-h);
  position: relative;
}

.zeg-hero > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0.55;
  position: absolute;
  width: 100%;
}

.zeg-hero::after {
  background: linear-gradient(0deg, var(--ink) 4%, rgba(16, 14, 12, 0.35) 70%);
  content: "";
  inset: 0;
  position: absolute;
}

.zeg-hero .wrap {
  display: grid;
  gap: 22px;
  padding-block: clamp(56px, 8vw, 96px);
  position: relative;
  width: 100%;
  z-index: 1;
}

.zeg-hero .display {
  font-size: clamp(56px, 10vw, 152px);
}

.zeg-hero .crumbs {
  margin-bottom: 0;
}

.principles {
  background: var(--line);
  border: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin-top: clamp(40px, 6vw, 72px);
}

.principles li {
  background: var(--ink);
  display: grid;
  gap: 10px;
  padding: clamp(22px, 3vw, 36px);
}

.principles b {
  font: 400 26px/1.1 var(--f-display);
}

.principles span {
  color: var(--bone-dim);
  font-size: 15px;
}

.story {
  display: grid;
  gap: 18px;
  max-width: 64ch;
}

.story p {
  color: var(--bone-dim);
  font-size: 17px;
  line-height: 1.75;
}

.cred-grid {
  display: grid;
  gap: clamp(16px, 3vw, 40px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cred-grid figure {
  display: grid;
  gap: 14px;
  margin: 0;
}

.cred-grid img {
  aspect-ratio: 3 / 4;
  border: 1px solid var(--paper-line);
  object-fit: cover;
  width: 100%;
}

.cred-grid figcaption {
  display: grid;
  gap: 4px;
}

.cred-grid strong {
  font: 400 24px/1.1 var(--f-display);
}

.cred-grid span {
  color: var(--paper-muted);
  font-size: 14px;
}

.page-faq {
  margin-top: 56px;
}

.page-faq .h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 18px;
}

/* =========================================================
   Motion. Everything here is decorative; script.js adds
   html.motion only when the visitor has not asked for
   reduced motion, so hidden-until-revealed states never
   strand content.
   ========================================================= */

/* Signboard: the hero logo flickers on like a shop sign at dusk. */
.motion .hero-logo img {
  animation: sign-on 1.9s linear both;
}

@keyframes sign-on {
  0% { filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 0 rgba(255, 214, 150, 0)); opacity: 0; }
  6% { opacity: 0.85; }
  9% { opacity: 0.1; }
  16% { opacity: 0.9; }
  19% { opacity: 0.25; }
  27% { filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 22px rgba(255, 214, 150, 0.55)); opacity: 1; }
  31% { opacity: 0.7; }
  34% { opacity: 1; }
  100% { filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 0 rgba(255, 214, 150, 0)); opacity: 1; }
}

/* Razor stroke: a thin brass line is drawn under section titles. */
.razor {
  position: relative;
}

.razor::after,
.razor::before {
  bottom: -12px;
  content: "";
  height: 1px;
  left: 0;
  pointer-events: none;
  position: absolute;
}

.razor::after {
  background: linear-gradient(90deg, var(--brass), rgba(201, 164, 90, 0));
  transform: scaleX(0);
  transform-origin: left;
  width: min(140px, 45%);
}

.razor::before {
  background: linear-gradient(90deg, rgba(255, 244, 214, 0), #fff4d6, rgba(255, 244, 214, 0));
  height: 3px;
  margin-bottom: -1px;
  opacity: 0;
  width: 28px;
  z-index: 1;
}

.paper .razor::after {
  background: linear-gradient(90deg, var(--brass-deep), rgba(143, 110, 46, 0));
}

.razor.is-in::after {
  animation: razor-draw 700ms var(--ease) forwards;
}

.razor.is-in::before {
  animation: razor-glint 700ms var(--ease) forwards;
}


@keyframes razor-draw {
  to { transform: scaleX(1); }
}

@keyframes razor-glint {
  0% { opacity: 0; transform: translateX(-10px); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translateX(min(130px, 40vw)); }
}

/* Brass mirror: light crosses the award case like glass in a vitrine. */
.award-case {
  overflow: hidden;
  position: relative;
}

.award-case::after {
  background: linear-gradient(
    105deg,
    rgba(255, 252, 244, 0) 35%,
    rgba(255, 252, 244, 0.55) 48%,
    rgba(255, 252, 244, 0.15) 52%,
    rgba(255, 252, 244, 0) 62%
  );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transform: translateX(-110%);
}

.award-case.is-in::after {
  animation: glass-sweep 1.6s var(--ease) 200ms;
}

.award-case:hover::after {
  animation: glass-sweep 1.1s var(--ease);
}

@keyframes glass-sweep {
  from { transform: translateX(-110%); }
  to { transform: translateX(110%); }
}

/* Timeline: the line draws itself and the years tick in. */
.timeline {
  border-top: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
}

.timeline::before {
  background: var(--line-strong);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform-origin: left;
}

.timeline b {
  font-variant-numeric: tabular-nums;
}

.timeline li:last-child b {
  color: var(--bone);
}

.motion .timeline::before {
  transform: scaleX(0);
  transition: transform 1.1s var(--ease);
}

.motion .timeline li {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 500ms ease, transform 500ms var(--ease);
}

.motion .timeline.is-in::before {
  transform: scaleX(1);
}

.motion .timeline.is-in li {
  opacity: 1;
  transform: none;
}

.motion .timeline.is-in li:nth-child(2) { transition-delay: 180ms; }
.motion .timeline.is-in li:nth-child(3) { transition-delay: 360ms; }
.motion .timeline.is-in li:nth-child(4) { transition-delay: 540ms; }

/* Ready message types itself out; a caret blinks while it does. */
.book-msg[aria-busy="true"]::after {
  animation: caret 0.7s steps(1) infinite;
  color: var(--green);
  content: "▍";
}

@keyframes caret {
  50% { opacity: 0; }
}

/* Barber pole: while the shop is open the status dot is a turning pole. */
.open-status.is-open::before {
  animation: pole-turn 1.4s linear infinite;
  background: repeating-linear-gradient(
    -45deg,
    #b8433a 0 2px,
    #f3ece0 2px 4px,
    #2d4270 4px 6px,
    #f3ece0 6px 8px
  );
  background-size: 6px 113.137px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(237, 230, 218, 0.28), 0 0 10px rgba(95, 174, 117, 0.25);
  height: 14px;
  width: 6px;
}

@keyframes pole-turn {
  to { background-position: 0 -11.3137px; }
}

/* Section reveal: content rises out of a soft blur as it enters. */
.motion .rv {
  filter: blur(6px);
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 800ms ease,
    transform 1000ms var(--ease),
    filter 800ms ease;
  transition-delay: calc(var(--rv-i, 0) * 90ms);
}

.motion .rv.is-in {
  filter: none;
  opacity: 1;
  transform: none;
}

/* Scroll-linked transitions where the browser supports them: the hero
   photo drifts and the logo lifts away; paper sections open out from a
   rounded sheet to full bleed as they arrive. */
@supports (animation-timeline: view()) {
  .motion .hero-media img {
    animation: hero-drift linear both;
    animation-range: 0 100vh;
    animation-timeline: scroll(root);
  }

  .motion .hero-logo {
    animation: hero-lift linear both;
    animation-range: 0 70vh;
    animation-timeline: scroll(root);
  }

  .motion main > .paper {
    animation: sheet-open linear both;
    animation-range: entry 0% entry 70%;
    animation-timeline: view();
  }

  .motion main > section:not(.paper):not(.hero) > .wrap {
    animation: dark-settle linear both;
    animation-range: entry 0% entry 60%;
    animation-timeline: view();
  }

  @keyframes hero-drift {
    to { transform: scale(1.08) translateY(3%); }
  }

  @keyframes hero-lift {
    to { opacity: 0.15; transform: translateY(-48px) scale(0.96); }
  }

  @keyframes sheet-open {
    from { clip-path: inset(0 4% 0 4% round 24px); }
    to { clip-path: inset(0 0 0 0 round 0); }
  }

  @keyframes dark-settle {
    from { opacity: 0.4; transform: scale(0.98); }
    to { opacity: 1; transform: none; }
  }
}

/* ---------- Rituals (home cards) ---------- */
.rituals {
  display: grid;
  gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.ritual {
  background: var(--paper);
  color: var(--paper-ink);
  display: grid;
  gap: 14px;
  grid-template-rows: auto auto 1fr auto;
  padding: clamp(24px, 3vw, 36px);
  position: relative;
  text-decoration: none;
  transition: background 200ms ease;
}

.ritual::before {
  background: var(--brass-deep);
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
  top: -1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms var(--ease);
}

.ritual:hover {
  background: #f7f2e9;
}

.ritual:hover::before,
.ritual:focus-visible::before {
  transform: scaleX(1);
}

.ritual small {
  color: var(--brass-deep);
  font: 500 11px/1 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ritual h3 {
  font: 400 clamp(24px, 2.4vw, 32px) / 1.08 var(--f-display);
}

.ritual h3 em {
  color: var(--brass-deep);
  font-style: italic;
}

.ritual p {
  color: var(--paper-muted);
  font-size: 15px;
}

.ritual .go {
  font-weight: 600;
  font-size: 14px;
}

.ritual .go span {
  display: inline-block;
  transition: transform 200ms var(--ease);
}

.ritual:hover .go span {
  transform: translateX(4px);
}

/* ---------- Before / after ---------- */
.ba-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  margin-top: clamp(32px, 4vw, 48px);
}

.ba-item {
  display: grid;
  gap: 10px;
  margin: 0;
}

.ba-frame {
  --pos: 50%;
  aspect-ratio: 4 / 5;
  background: var(--ink-3);
  overflow: hidden;
  position: relative;
  user-select: none;
}

.ba-frame img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.ba-frame .ba-before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-frame::after {
  background: var(--bone);
  bottom: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  content: "";
  left: var(--pos);
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
}

.ba-knob {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--bone);
  border-radius: 50%;
  color: var(--bone);
  display: flex;
  font: 500 12px/1 var(--f-mono);
  height: 40px;
  justify-content: center;
  left: var(--pos);
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  z-index: 2;
}

.ba-tag {
  background: rgba(16, 14, 12, 0.8);
  bottom: 10px;
  color: var(--bone);
  font: 500 11px/1 var(--f-mono);
  letter-spacing: 0.12em;
  padding: 6px 8px;
  position: absolute;
  text-transform: uppercase;
  z-index: 1;
}

.ba-tag-before { left: 10px; }
.ba-tag-after { right: 10px; }

.ba-frame input {
  cursor: ew-resize;
  height: 100%;
  inset: 0;
  margin: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
  z-index: 3;
}

.ba-frame:has(input:focus-visible) {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.ba-item figcaption {
  color: var(--bone-dim);
  font: 500 14px/1.4 var(--f-body);
}

/* ---------- Composer forms (special day, gift) ---------- */
.composer-grid {
  border: 1px solid var(--paper-line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}

.composer-intro {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(22px, 3.4vw, 44px);
}

.composer-intro ul {
  color: var(--paper-muted);
  display: grid;
  gap: 8px;
  font-size: 15px;
  padding-left: 18px;
}

.composer-form-wrap {
  background: var(--ink-2);
  color: var(--bone);
  padding: clamp(22px, 3.4vw, 44px);
}

.field-text,
.field-date {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--bone);
  color-scheme: dark;
  font: 500 15px/1 var(--f-body);
  min-height: 44px;
  padding: 0 14px;
  width: 100%;
}

.field-text:focus,
.field-date:focus {
  border-color: var(--line-strong);
  outline: none;
}

.field-text:focus-visible,
.field-date:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

.book-hint.is-warn {
  color: #d9a28f;
}

/* ---------- Face-shape guide ---------- */
.page-hero-grid.is-top {
  align-items: start;
}

.quiz {
  background: var(--ink-2);
  border: 1px solid var(--line);
  color: var(--bone);
  display: grid;
  gap: 24px;
  padding: clamp(22px, 3.4vw, 44px);
}

.quiz-progress {
  background: var(--line);
  height: 2px;
  position: relative;
}

.quiz-progress span {
  background: var(--brass);
  inset: 0 auto 0 0;
  position: absolute;
  transition: width 400ms var(--ease);
}

.quiz-q {
  font: 400 clamp(24px, 2.6vw, 34px) / 1.15 var(--f-display);
}

.quiz-step-label {
  color: var(--bone-faint);
  font: 500 11px/1 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quiz .chips {
  gap: 10px;
}

.quiz .chip {
  min-height: 52px;
  padding: 0 18px;
}

.quiz-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.quiz-back {
  background: none;
  border: 0;
  color: var(--bone-dim);
  cursor: pointer;
  min-height: 44px;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.quiz-result {
  display: grid;
  gap: 18px;
}

.quiz-result h2 {
  font: 400 clamp(28px, 3vw, 40px) / 1.05 var(--f-display);
}

.quiz-result h2 em {
  color: var(--brass);
  font-style: italic;
}

.quiz-result dl {
  border-top: 1px solid var(--line);
  display: grid;
  margin: 0;
}

.quiz-result dl > div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 6px 24px;
  grid-template-columns: 9ch minmax(0, 1fr);
  padding: 14px 0;
}

.quiz-result dt {
  color: var(--brass);
  font: 500 12px/1.5 var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quiz-result dd {
  color: var(--bone-dim);
  margin: 0;
}

.motion .quiz-panel {
  animation: quiz-in 380ms var(--ease);
}

@keyframes quiz-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: none; }
}

.shape-grid {
  display: grid;
  gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin-top: clamp(28px, 4vw, 48px);
}

.shape-card {
  background: var(--paper);
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(20px, 2.6vw, 30px);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.shape-card svg {
  height: 54px;
  width: 44px;
  fill: none;
  stroke: var(--brass-deep);
  stroke-width: 1.5;
}

.shape-card h3 {
  font: 400 26px/1.1 var(--f-display);
}

.shape-card p {
  color: var(--paper-muted);
  font-size: 15px;
}

.shape-card p b {
  color: var(--paper-ink);
  font-weight: 600;
}

/* ---------- Review bridge, 404 ---------- */
.center-card {
  display: grid;
  gap: 22px;
  justify-items: start;
  max-width: 640px;
}

.qr-card {
  align-items: center;
  background: var(--paper);
  color: var(--paper-ink);
  display: flex;
  gap: 20px;
  padding: 18px;
}

.qr-card img {
  height: 132px;
  width: 132px;
}

.qr-card span {
  color: var(--paper-muted);
  font-size: 14px;
}

.qr-card b {
  color: var(--paper-ink);
  display: block;
  font: 400 22px/1.15 var(--f-display);
  margin-bottom: 6px;
}

@media print {
  .site-header,
  .mobile-bar,
  .site-footer,
  .no-print {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero-fact-place {
    display: none !important;
  }
}

@media (max-width: 1080px) {
  .nav {
    gap: 20px;
  }

  .header-right .status-long {
    display: none;
  }

}

@media (max-width: 900px) {
  :root {
    --header-h: 60px;
  }

  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  .header-inner {
    gap: 12px;
    grid-template-columns: 44px 1fr auto;
  }

  .nav,
  .header-right .btn,
  .header-right .status-long {
    display: none;
  }

  .header-right .status-short {
    display: inline-flex;
  }

  .menu-toggle {
    align-items: center;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    color: var(--bone);
    cursor: pointer;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    padding: 0;
    width: 44px;
  }

  .menu-icon {
    display: grid;
    gap: 6px;
    width: 18px;
  }

  .menu-icon::before,
  .menu-icon::after {
    background: currentColor;
    content: "";
    height: 1.5px;
  }

  .brand img {
    height: 30px;
  }

  /* Phone: photo with the logo on the top part of the screen; copy,
     buttons and facts follow below the photo. */
  .hero {
    --hero-img-h: min(70svh, 600px);
    display: block;
    min-height: 0;
  }

  .hero-media {
    bottom: auto;
    height: var(--hero-img-h);
  }

  .hero-media img {
    object-position: 45% 45%;
  }

  .hero-media::after {
    background:
      radial-gradient(60% 30% at 50% 50%, rgba(16, 14, 12, 0.55), rgba(16, 14, 12, 0) 100%),
      linear-gradient(180deg, rgba(16, 14, 12, 0.7) 0%, rgba(16, 14, 12, 0.15) 26%, rgba(16, 14, 12, 0.2) 60%, var(--ink) 100%);
  }

  .hero-logo {
    align-items: center;
    display: flex;
    height: var(--hero-img-h);
    padding: var(--header-h) var(--gutter) 40px;
  }

  .hero-logo img {
    width: min(82vw, 400px);
  }

  .hero-foot {
    gap: 22px;
    margin-top: -24px;
    padding-bottom: 28px;
    position: relative;
  }

  .hero-foot-main {
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
  }

  .hero-title {
    font-size: clamp(32px, 9vw, 44px);
  }

  .hero-actions .btn {
    flex: 1 1 0;
  }

  .hero-facts {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 14px 0;
    grid-template-columns: 1fr 1fr;
    padding-top: 16px;
  }

  .hero-facts > div,
  .hero-facts > div + div {
    padding: 0 12px 0 0;
  }

  .hero-facts > div:nth-child(2) {
    border-right: 0;
    padding-left: 12px;
  }

  .hero-facts > div:nth-child(3) {
    border-right: 0;
    grid-column: 1 / -1;
  }

  .hero-fact-place {
    display: none !important;
  }

  .section-head,
  .zeg-grid,
  .zeg-stage-grid,
  .reviews-grid,
  .brands-row,
  .book-grid,
  .faq-grid,
  .page-hero-grid,
  .page-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head > .section-head-action {
    justify-self: start;
    text-align: left;
  }

  .book-form-wrap {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .review-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .side-card {
    position: static;
  }

  .related,
  .principles,
  .rituals,
  .shape-grid,
  .composer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mobile-bar {
    background: rgba(11, 10, 8, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    bottom: 0;
    display: grid;
    gap: 6px;
    grid-template-columns: 1fr 1fr 2fr;
    left: 0;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    position: fixed;
    right: 0;
    z-index: 45;
  }

  .mobile-bar a {
    align-items: center;
    color: var(--bone-dim);
    display: flex;
    flex-direction: column;
    font: 600 11px/1 var(--f-body);
    gap: 5px;
    justify-content: center;
    letter-spacing: 0.04em;
    min-height: 52px;
    text-decoration: none;
    text-transform: uppercase;
  }

  .mobile-bar svg {
    height: 18px;
    width: 18px;
  }

  .mobile-bar .mobile-bar-cta {
    background: var(--brass);
    border-radius: var(--radius);
    color: var(--ink);
    flex-direction: row;
    font-size: 15px;
    gap: 8px;
    letter-spacing: 0.01em;
    text-transform: none;
  }
}

@media (max-width: 640px) {
  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero .hero-actions .btn-primary {
    flex-basis: 100%;
  }

  .trust-grid {
    grid-auto-flow: row;
    grid-template-columns: minmax(0, 1fr);
  }

  .trust-item,
  .trust-item:first-child {
    align-items: baseline;
    border-bottom: 1px solid var(--paper-line);
    border-right: 0;
    gap: 16px;
    grid-template-columns: minmax(0, 8.5ch) minmax(0, 1fr);
    padding: 18px 0;
  }

  .trust-item:last-of-type {
    border-bottom: 0;
  }

  .trust-item b {
    font-size: 26px;
  }

  .menu-line {
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .menu-name {
    max-width: 100%;
  }

  .menu-name .board-badge {
    display: block;
    margin: 8px 0 0;
    width: max-content;
  }

  .leader {
    display: none;
  }

  .menu-line .board-dur {
    flex-basis: 100%;
  }

  .menu-time-label {
    display: none;
  }

  .mirror-wall {
    --mirror-w: 64vw;
  }

  .vitrine-case {
    width: min(78%, 300px);
  }

  .brand-logos {
    grid-template-columns: 1fr 1fr;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 14px;
  }

  .timeline li {
    padding-right: 8px;
  }

  .quiz-result dl > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .cred-grid,
  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .book-info-actions .btn,
  .closing-actions .btn,
  .board-foot-actions .btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
