/*
  AA Shine Nails
  Design language adapted from the Bugatti DESIGN.md in
  VoltAgent/awesome-design-md (MIT): uppercase, wide-tracked display at
  regular weight, outline/solid pill buttons, square photography, 120px
  section rhythm. Palette and type are the salon's own (porcelain, blush,
  plum-black ink, serif caps from the logo).

  Shape rule: every surface and photo is square (0 radius). Only
  interactive controls are pills (buttons) or circles (icon buttons),
  plus the round logo mark itself.

  Z-index scale: nav 50, mobile menu 49, lightbox (top layer).
*/

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-italic.woff2') format('woff2');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FBF8F8;
  --surface: #F4ECEC;
  --surface-2: #EFE3E4;
  --ink: #1E1719;
  --body: #3D3336;
  --muted: #6E6266;
  --line: #E4D7D9;
  --line-strong: #CDBDC0;
  --accent: #A8324F;
  --accent-soft: #F3DDE2;
  --on-ink: #FBF8F8;
  --on-accent: #FFFFFF;
  --on-photo: #FBF8F8;
  --glow: rgba(240, 190, 200, 0.55);
  --shadow: 0 30px 60px -30px rgba(110, 50, 66, 0.35);

  --font-display: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --font-body: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;

  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-xxl: 64px;
  --section: 120px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141012;
    --surface: #1C1619;
    --surface-2: #241C20;
    --ink: #F6EEF0;
    --body: #D9CDD0;
    --muted: #B0A2A6;
    --line: #2F2629;
    --line-strong: #4A3D41;
    --accent: #E68AA2;
    --accent-soft: #3A2129;
    --on-ink: #141012;
    --on-accent: #1E1719;
    --glow: rgba(200, 90, 120, 0.22);
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
a, button { touch-action: manipulation; }
@media (pointer: fine) {
  html { overscroll-behavior: none; }
}
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
figure { margin: 0; }

.tnum { font-variant-numeric: tabular-nums; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 60;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: 999px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: none;
}
.icon--lg { width: 30px; height: 30px; }

/* ---------- Type ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
  font-size: clamp(2.3rem, 4.4vw, 4.25rem);
  text-wrap: balance;
}
.display em {
  display: inline-block;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--accent);
  padding-bottom: 0.08em;
}
.display--lg {
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  margin-bottom: var(--space-lg);
}

.section-lead {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    transform 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--solid { background: var(--ink); color: var(--on-ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 22px; font-size: 0.74rem; }
.btn .icon { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }

@media (hover: hover) {
  .btn--solid:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--on-accent);
  }
  .btn--solid:hover .icon { transform: translate(2px, -2px); }
  .btn--ghost:hover { background: var(--ink); color: var(--on-ink); }
}

.btn-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.2s var(--ease);
}
.btn-icon:active { transform: scale(0.94); }
.btn-icon:disabled { opacity: 0.35; cursor: default; }
@media (hover: hover) {
  .btn-icon:not(:disabled):hover { background: var(--ink); color: var(--on-ink); }
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav[data-scrolled] {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  height: var(--nav-h);
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-right: auto;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.nav__links {
  display: flex;
  gap: 32px;
}
.nav__links a {
  position: relative;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding-block: 6px;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
@media (hover: hover) {
  .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
}
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav__toggle .icon { width: 24px; height: 24px; }

.mobile-menu {
  overscroll-behavior: contain;
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  display: grid;
  gap: 4px;
  padding: 8px var(--gutter) 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) {
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 16px; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-grid; }
  .nav__inner { gap: 8px; }
}
@media (max-width: 420px) {
  .nav__cta { display: none; }
  .brand { font-size: 0.86rem; letter-spacing: 0.18em; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute;
  z-index: -2;
  width: min(70vw, 980px);
  aspect-ratio: 1;
  right: -8vw;
  top: 50%;
  translate: 0 -50%;
  background: radial-gradient(closest-side, var(--glow), transparent 72%);
  pointer-events: none;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero__canvas.is-ready { opacity: 1; }
.hero__fallback { display: none; }

.hero__inner {
  position: relative;
  min-height: 100dvh;
  max-width: var(--max);
  margin-inline: auto;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.hero__copy { max-width: 600px; }
.hero__copy .display { margin-bottom: var(--space-lg); }
.hero__eyebrow {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.22em;
  line-height: 1.4;
  color: var(--accent);
}
.hero__lead {
  max-width: 40ch;
  font-size: 1.12rem;
  color: var(--body);
  margin-bottom: var(--space-xl);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__captions {
  position: absolute;
  /* Centred under the nail fan (main.js offsets the rig 24% right). */
  left: 74%;
  bottom: 44px;
  width: min(460px, 46vw);
  height: 124px;
  translate: -50% 0;
}
.caption {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
}
.caption::before {
  content: '';
  width: 48px;
  height: 1px;
  margin-bottom: 10px;
  background: var(--accent);
}
.caption__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 2.7vw, 2.75rem);
  line-height: 1.1;
  padding-bottom: 0.06em;
  color: var(--ink);
}
.caption__meta {
  font-size: 1.02rem;
  color: var(--muted);
}
.caption__meta b { font-weight: 500; color: var(--ink); }

.hero__stage { display: none; }
.hero__skip {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hero__skip[hidden] { display: none; }
.hero__skip:focus-visible { outline-offset: -8px; }
.hero__hint {
  position: absolute;
  left: 50%;
  bottom: 136px;
  translate: -50% 0;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.hero__hint[hidden] { display: none; }
.hero__hint.is-gone { opacity: 0; }

/* No WebGL or reduced motion: show a real photo instead of the canvas. */
.no-webgl .hero__canvas { display: none; }
.no-webgl .hero__fallback {
  display: block;
  position: absolute;
  z-index: -1;
  right: 0;
  top: 0;
  width: 46%;
  height: 100%;
  object-fit: cover;
}
.no-webgl .hero__glow,
.no-webgl .hero__captions { display: none; }

@media (max-width: 860px) {
  /* Phones: hug the content instead of filling a tall screen. The stage
     reserves room for the 3D nails right under the buttons. */
  .hero { min-height: 0; }
  .hero__inner {
    min-height: 0;
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: calc(var(--nav-h) + 24px);
    padding-bottom: 164px;
  }
  .hero__stage {
    display: block;
    position: relative;
    height: clamp(240px, 64vw, 380px);
    margin-top: 8px;
  }
  .hero__copy { max-width: none; }
  .hero__lead { margin-bottom: var(--space-lg); }
  .hero__glow {
    width: 120vw;
    right: -10vw;
    top: auto;
    bottom: 40px;
    translate: 0 0;
  }
  .hero__captions {
    left: 50%;
    bottom: 28px;
    width: calc(100% - 2 * var(--gutter));
    height: 104px;
  }
  .caption__name { font-size: 1.85rem; }
  .caption__meta { font-size: 0.95rem; }
  .no-webgl .hero__fallback {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 42%;
  }
}

/* ---------- Proof ---------- */

.proof { padding-block: var(--space-xxl) 0; }
.proof__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-xl);
}
.proof__item {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--line-strong);
}
.proof__value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  line-height: 1;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}
.proof__value span { font-size: 0.45em; color: var(--muted); margin-left: 4px; }
.proof__item--lead .proof__value { color: var(--accent); }
.proof__label { color: var(--muted); max-width: 30ch; }

@media (max-width: 760px) {
  .proof__grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .proof__item--lead { grid-column: 1 / -1; }
}

/* ---------- About ---------- */

.about { padding-top: var(--section); }
.about__statement {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  line-height: 1.18;
  color: var(--ink);
  max-width: 30ch;
  margin-bottom: var(--space-xxl);
  text-wrap: balance;
}
.about__statement em { font-style: italic; color: var(--accent); }
.about__grid {
  display: grid;
  grid-template-columns: 5fr 1fr 6fr;
  align-items: end;
}
.about__media { grid-column: 1; }
.about__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.about__text {
  grid-column: 3;
  display: grid;
  gap: var(--space-lg);
  max-width: 52ch;
  padding-bottom: var(--space-xl);
  font-size: 1.06rem;
}

.marquee {
  margin-top: var(--section);
  padding-block: 28px;
  border-block: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
}
.marquee__track li {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--ink);
  white-space: nowrap;
}
.marquee__track li::after {
  content: '✦';
  font-style: normal;
  font-size: 0.5em;
  color: var(--accent);
  margin-inline: 0.9em;
}
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee__track,
  .marquee:focus-within .marquee__track { animation-play-state: paused; }
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .about__media, .about__text { grid-column: 1; }
  .about__text { padding-bottom: 0; }
}

/* ---------- Services ---------- */

.services { padding-top: var(--section); }
.services .section-lead { margin-bottom: var(--space-xl); }

.tabs__list {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--space-xl);
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
  mask-image: linear-gradient(90deg, #000 85%, transparent);
}
@media (min-width: 1100px) {
  .tabs__list { -webkit-mask-image: none; mask-image: none; }
}
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list [role='tab'] {
  position: relative;
  flex: none;
  padding: 14px 0 16px;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.tabs__list [role='tab']::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.45s var(--ease);
}
.tabs__list [role='tab'][aria-selected='true'] { color: var(--ink); }
.tabs__list [role='tab'][aria-selected='true']::after { transform: scaleX(1); }
@media (hover: hover) {
  .tabs__list [role='tab']:hover { color: var(--ink); }
}

.tabs__panel:focus-visible { outline-offset: 8px; }
.tabs__panel:not([hidden]) { animation: panel-in 0.5s var(--ease); }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px); }
}
.tabs__note { color: var(--muted); margin-bottom: var(--space-lg); }

.menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-xxl);
}
.menu a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding: 16px 0;
  text-decoration: none;
  color: var(--ink);
}
.menu__name {
  display: grid;
  gap: 2px;
  font-size: 1.02rem;
  transition: color 0.3s var(--ease);
}
.menu__time {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.menu__leader {
  align-self: center;
  translate: 0 -0.35em;
  border-bottom: 1px dotted var(--line-strong);
  min-width: 24px;
}
.menu__price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.menu__price .icon {
  width: 14px;
  height: 14px;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  color: var(--accent);
}
@media (hover: hover) {
  .menu a:hover .menu__name { color: var(--accent); }
  .menu a:hover .menu__price .icon { opacity: 1; transform: none; }
}

@media (max-width: 760px) {
  .menu { grid-template-columns: 1fr; }
  .menu a { grid-template-columns: 1fr auto; }
  .menu__leader { display: none; }
  .menu a + a, .menu li + li a { border-top: 1px solid var(--line); }
}

/* ---------- Gallery ---------- */

.gallery { padding-top: var(--section); }
.masonry {
  columns: 3 280px;
  column-gap: 16px;
}
.masonry figure {
  break-inside: avoid;
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--surface);
}
.masonry button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.masonry img {
  width: 100%;
  transition: transform 0.9s var(--ease), filter 0.9s var(--ease);
}
@media (hover: hover) {
  .masonry button:hover img { transform: scale(1.035); }
}
@media (max-width: 560px) {
  .masonry { columns: 2; column-gap: 10px; }
  .masonry figure { margin-bottom: 10px; }
}

/* ---------- Lashes ---------- */

.lashes { padding-top: var(--section); }
.lashes__grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: var(--space-xxl);
  align-items: center;
}
.lashes__media {
  position: relative;
  padding-bottom: 18%;
}
.lashes__main {
  width: 82%;
  aspect-ratio: 1;
  object-fit: cover;
}
.lashes__side {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 8px solid var(--bg);
  box-shadow: var(--shadow);
}
.lashes__copy .section-lead { margin-bottom: var(--space-xl); }

.mini-prices {
  display: grid;
  margin-bottom: var(--space-xl);
  border-top: 1px solid var(--line-strong);
}
.mini-prices div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.mini-prices dt { color: var(--ink); }
.mini-prices dd {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  white-space: nowrap;
}

@media (max-width: 860px) {
  .lashes__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
}

/* ---------- Salon (full bleed) ---------- */

.salon {
  position: relative;
  margin-top: var(--section);
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--on-photo);
}
.salon__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 40%;
  will-change: transform;
}
.salon__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(20, 14, 16, 0.78) 0%, rgba(20, 14, 16, 0.35) 45%, rgba(20, 14, 16, 0) 75%);
}
.salon__copy {
  position: relative;
  padding-block: var(--space-xxl) calc(var(--space-xxl) + 8px);
}
.salon__copy .display { color: var(--on-photo); max-width: 16ch; }
.salon__copy p { max-width: 44ch; font-size: 1.1rem; }

/* ---------- Reviews ---------- */

.reviews { padding-top: var(--section); }
.reviews__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}
.reviews__head .display { margin-bottom: 0; }
.reviews__nav { display: flex; gap: 10px; }
.reviews__track {
  --inset: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(420px, 84vw);
  gap: var(--space-xl);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--inset);
  padding-inline: var(--inset);
  padding-bottom: 8px;
  scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--line-strong);
}
.review figure {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: var(--space-lg);
}
.review blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.42rem;
  line-height: 1.35;
  color: var(--ink);
}
.review figcaption {
  margin-top: auto;
  display: grid;
  gap: 2px;
}
.review__name {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.review__src { font-size: 0.85rem; color: var(--muted); }
.reviews__more {
  display: inline-block;
  margin-top: var(--space-xl);
  color: var(--ink);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
@media (hover: hover) {
  .reviews__more:hover { color: var(--accent); }
}
@media (max-width: 560px) {
  .reviews__nav { display: none; }
  .review blockquote { font-size: 1.28rem; }
}

/* ---------- Perks (bento) ---------- */

.perks { padding-top: var(--section); }
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.bento__cell {
  padding: var(--space-xl);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.bento__cell h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: var(--space-md);
  overflow-wrap: anywhere;
}
.bento__cell .icon--lg { color: var(--accent); }
.bento__cell--stamp {
  grid-row: span 2;
  min-height: 460px;
  background:
    radial-gradient(120% 90% at 100% 0%, var(--accent-soft), transparent 60%),
    var(--surface-2);
  justify-content: flex-end;
}
.bento__cell--stamp h3 { font-size: 2.2rem; margin-bottom: var(--space-md); }
.bento__big {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.05;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.bento__big span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--muted);
}
.bento__cell--photo {
  grid-row: span 2;
  padding: 0;
  background: var(--surface);
}
.bento__cell--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bento__cell p { color: var(--body); }

@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__cell--stamp { grid-column: 1 / -1; grid-row: auto; min-height: 0; }
  .bento__cell--photo { grid-row: span 2; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento__cell { padding: var(--space-lg); }
  .bento__cell--photo { grid-row: auto; aspect-ratio: 4 / 5; }
}

/* ---------- Visit ---------- */

.visit { padding-block: var(--section); }
.visit__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-xxl);
  align-items: center;
}
.visit__list {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}
.visit__list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--line);
}
.visit__list dt {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}
.visit__list dd { font-size: 1.12rem; color: var(--ink); }
.visit__list a { text-underline-offset: 5px; text-decoration-thickness: 1px; }
@media (hover: hover) {
  .visit__list a:hover { color: var(--accent); }
}
.visit__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (max-width: 860px) {
  .visit__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .visit__list div { grid-template-columns: 1fr; gap: 4px; }
  .visit__media { order: -1; }
  .visit__media img { aspect-ratio: 16 / 11; }
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding-block: var(--space-xxl) var(--space-xl);
  font-size: 0.95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
}
.footer__brand { display: grid; gap: 8px; justify-items: start; color: var(--muted); }
.footer__brand img { border-radius: 50%; width: 56px; height: 56px; object-fit: cover; }
.footer__word {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 8px;
}
.footer__nap { font-style: normal; }
.footer nav, .footer__contact { display: grid; gap: 10px; align-content: start; }
.footer a { text-decoration: none; color: var(--ink); }
@media (hover: hover) {
  .footer a:hover { color: var(--accent); }
}
.footer__legal { margin-top: var(--space-xxl); color: var(--muted); font-size: 0.85rem; }
@media (max-width: 700px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- Lightbox ---------- */

.lightbox {
  overscroll-behavior: contain;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(16, 11, 13, 0.92);
  display: grid;
  place-items: center;
}
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: transparent; }
.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 88dvh;
  width: auto;
  object-fit: contain;
}
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #FBF8F8;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.lightbox[open] { animation: lb-in 0.4s var(--ease); }
@keyframes lb-in { from { opacity: 0; } }

/* ---------- Reveal on scroll ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: var(--d, 0ms);
  }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 760px) {
  :root { --section: 80px; }
  body { font-size: 16px; }
}
