/* ==========================================================================
   Casa de Fehu — main stylesheet
   Plain CSS, no build step. Sections are ordered the way a WordPress theme
   would split them: tokens > base > layout > components > pages > utilities.
   ========================================================================== */

/* 1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --font-display: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  --fs-xl: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem);
  --fs-2xl: clamp(2.375rem, 1.6rem + 3.4vw, 4.25rem);
  --fs-hero: clamp(2.5rem, 1.5rem + 5vw, 6rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);

  --container: 1240px;
  --gutter: clamp(1.25rem, 0.8rem + 2.4vw, 2.75rem);
  --header-h: 76px;

  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 26px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Brand constants (same in both themes) */
  --espresso: #241814;
  --espresso-deep: #1a110e;
  --parchment: #f6ede1;
  --brand-gold: #e1b055;
  --brand-ember: #ee7f43;
  --open: #86b86f;
}

/* Light theme: limestone */
:root,
[data-theme="light"] {
  color-scheme: light;
  --bg: #eee8e1;
  --bg-alt: #e4dbd0;
  --surface: #f8f5f1;
  --surface-2: #fffdfa;
  --ink: #2a1d18;
  --ink-soft: #5f4e44;
  --line: rgba(42, 29, 24, 0.13);
  --line-strong: rgba(42, 29, 24, 0.26);
  --gold: #d9a441;
  --gold-ink: #7e560f;
  --ember: #b84d1b;
  --on-gold: #2a1d18;
  --shadow-s: 0 1px 2px rgba(42, 29, 24, 0.06), 0 6px 16px -8px rgba(42, 29, 24, 0.18);
  --shadow-m: 0 2px 4px rgba(42, 29, 24, 0.05), 0 22px 44px -20px rgba(42, 29, 24, 0.35);
  --map-filter: saturate(0.85) sepia(0.12);
}

/* Dark theme: espresso */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #241814;
  --bg-alt: #2c1e19;
  --surface: #33241e;
  --surface-2: #3b2a23;
  --ink: #f2e6d6;
  --ink-soft: #c4b19e;
  --line: rgba(242, 230, 214, 0.12);
  --line-strong: rgba(242, 230, 214, 0.24);
  --gold: #e1b055;
  --gold-ink: #e8be6a;
  --ember: #f08a52;
  --on-gold: #241814;
  --shadow-s: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 18px -10px rgba(0, 0, 0, 0.55);
  --shadow-m: 0 2px 4px rgba(0, 0, 0, 0.25), 0 26px 50px -22px rgba(0, 0, 0, 0.75);
  --map-filter: invert(0.9) hue-rotate(180deg) sepia(0.25) saturate(0.8) brightness(0.95);
}

/* 2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Textures for the brown surfaces: the faceted relief of the sculpted wall in the dining room
   (assets/img/texture, made by tools/gen_textures.py) and a fine plaster grain. */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .92 0 0 0 0 .82 0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --facets: url("../img/texture/facets.svg");
  --facets-soft: url("../img/texture/facets-soft.svg");
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}

body.is-locked {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

::selection {
  background: var(--gold);
  color: var(--on-gold);
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  padding: var(--space-3) var(--space-4);
  background: var(--gold);
  color: var(--on-gold);
  border-radius: var(--radius-s);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-4);
}

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

/* 3. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--space-section);
}

.section--alt {
  background: var(--bg-alt);
}

/* dark mode: the whole page gets a soft relief, the alternate bands a stronger one */
[data-theme="dark"] body,
[data-theme="dark"] .mobile-nav {
  background-image: var(--grain), var(--facets-soft);
  background-size: 220px 220px, 960px 960px;
}

[data-theme="dark"] .section--alt {
  background-image: var(--grain), radial-gradient(70% 60% at 100% 0%, rgba(225, 176, 85, 0.07), rgba(225, 176, 85, 0) 70%), var(--facets);
  background-size: 220px 220px, auto, 960px 960px;
  background-position: 0 0, 0 0, 380px 120px;
}

.section--menu {
  padding-top: 0;
}

.section--tight {
  padding-block: calc(var(--space-section) * 0.6);
}

.section-head {
  display: grid;
  gap: var(--space-4);
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.5rem);
}

.section-head__title {
  font-size: var(--fs-2xl);
  max-width: 16ch;
}

.section-head__lead {
  color: var(--ink-soft);
  max-width: 54ch;
  font-size: var(--fs-md);
  line-height: 1.55;
}

@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.rune-rule {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--gold-ink);
}

.rune-rule::before,
.rune-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.rune-rule svg {
  width: 22px;
  height: 26px;
}

/* 4. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-ink: inherit;
  --btn-border: currentColor;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.85em 1.6em;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn--gold {
  --btn-bg: var(--gold);
  --btn-ink: var(--on-gold);
  --btn-border: var(--gold);
  box-shadow: 0 10px 24px -12px rgba(225, 176, 85, 0.7);
}

/* light sweep across the gold button */
.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 246, 220, 0.65) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}

.btn--gold:hover {
  box-shadow: 0 16px 32px -14px rgba(225, 176, 85, 0.85);
}

.btn--gold:hover::after {
  transform: translateX(120%);
}

.btn--ghost {
  --btn-border: var(--line-strong);
}

.btn--ghost:hover {
  --btn-border: var(--gold);
  --btn-bg: color-mix(in srgb, var(--gold) 12%, transparent);
}

.btn--on-dark {
  --btn-ink: var(--parchment);
  --btn-border: rgba(246, 237, 225, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  --btn-bg: rgba(26, 17, 14, 0.25);
}

.btn--on-dark:hover {
  --btn-border: var(--brand-gold);
  --btn-bg: rgba(225, 176, 85, 0.16);
}

.btn--lg {
  min-height: 58px;
  padding-inline: 2em;
  font-size: var(--fs-base);
}

.btn--block {
  width: 100%;
}

.btn:hover .icon-pin {
  transform: translateY(-2px);
}

.btn:hover .icon-phone {
  animation: ring 0.6s var(--ease);
}

@keyframes ring {
  0%,
  100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-14deg);
  }
  50% {
    transform: rotate(10deg);
  }
  75% {
    transform: rotate(-6deg);
  }
}

.link-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding-block: 0.25em;
  color: var(--gold-ink);
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size 0.4s var(--ease);
}

.link-line:hover {
  background-size: 35% 1px;
}

.link-line svg {
  width: 16px;
  height: 16px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* 5. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  --header-ink: var(--parchment);
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: var(--header-ink);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(20, 12, 9, 0.55), rgba(20, 12, 9, 0));
  transition: opacity 0.4s var(--ease);
}

.site-header.is-solid {
  --header-ink: var(--ink);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-solid::before {
  opacity: 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  height: 100%;
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-ember));
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
  opacity: 0;
  transition: opacity 0.3s;
}

.site-header.is-solid .scroll-progress {
  opacity: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  margin-right: auto;
}

.brand__mark {
  width: 30px;
  height: 36px;
  color: var(--brand-gold);
  transition: transform 0.6s var(--ease);
}

.brand:hover .brand__mark {
  transform: translateY(-2px) rotate(-4deg);
}

.brand__word {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.brand__word i {
  font-weight: 400;
  font-size: 0.82em;
  padding-inline: 0.06em;
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  gap: clamp(1rem, 0.4rem + 1.4vw, 2.25rem);
}

.nav__link {
  position: relative;
  display: inline-block;
  padding-block: 0.5rem;
  color: inherit;
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 1px;
  background: var(--brand-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-tools .btn {
  display: none;
  min-height: 44px;
  padding-inline: 1.25em;
}

.status-pill {
  display: none;
  align-items: center;
  gap: 0.5em;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0.92;
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-ember);
  box-shadow: 0 0 0 0 currentColor;
}

.status-pill.is-open::before {
  background: var(--open);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(134, 184, 111, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(134, 184, 111, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(134, 184, 111, 0);
  }
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid color-mix(in srgb, currentColor 28%, transparent);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.icon-btn:hover {
  border-color: var(--brand-gold);
  background: color-mix(in srgb, var(--brand-gold) 14%, transparent);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

/* theme toggle: sun <-> moon */
.theme-toggle svg {
  overflow: visible;
  transition: transform 0.6s var(--ease);
}

.theme-toggle .sun-rays {
  transform-origin: 12px 12px;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}

.theme-toggle .moon-mask {
  transition: transform 0.6s var(--ease);
}

[data-theme="dark"] .theme-toggle svg {
  transform: rotate(-35deg);
}

[data-theme="dark"] .theme-toggle .sun-rays {
  transform: scale(0.4) rotate(45deg);
  opacity: 0;
}

[data-theme="dark"] .theme-toggle .moon-mask {
  transform: translate(-6px, 3px);
}

/* burger */
.burger {
  position: relative;
}

.burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}

.burger span:nth-child(1) {
  top: 17px;
}

.burger span:nth-child(2) {
  top: 25px;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  top: 21px;
  transform: rotate(-45deg);
}

@media (min-width: 640px) {
  .header-tools .btn {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .nav {
    display: block;
  }

  .burger {
    display: none;
  }
}

@media (min-width: 1200px) {
  .status-pill {
    display: inline-flex;
  }
}

/* mobile navigation overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + var(--space-6)) var(--gutter) var(--space-6);
  background: var(--bg);
  color: var(--ink);
  overflow-y: auto;
  visibility: hidden;
  clip-path: circle(0% at calc(100% - 44px) 38px);
  transition: clip-path 0.7s var(--ease-in-out), visibility 0s linear 0.7s;
}

.mobile-nav.is-open {
  visibility: visible;
  clip-path: circle(150% at calc(100% - 44px) 38px);
  transition: clip-path 0.7s var(--ease-in-out), visibility 0s;
}

.mobile-nav__list {
  display: grid;
  gap: var(--space-2);
}

.mobile-nav__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 3vw, 2.75rem);
  line-height: 1.15;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}

.mobile-nav__link[aria-current="page"] {
  color: var(--gold-ink);
}

.mobile-nav.is-open .mobile-nav__link {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.25s + var(--i, 0) * 0.06s);
}

.mobile-nav__foot {
  display: grid;
  gap: var(--space-4);
  margin-top: auto;
  padding-top: var(--space-6);
  color: var(--ink-soft);
}

.mobile-nav__foot a {
  color: var(--ink);
}

.mobile-nav__foot .status-pill {
  display: inline-flex;
  color: var(--ink);
}

/* 6. Hero slider (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 600px;
  height: 100vh;
  height: 100svh;
  max-height: 1100px;
  overflow: hidden;
  background: var(--espresso-deep);
  color: var(--parchment);
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease), visibility 0s linear 1s;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1s var(--ease), visibility 0s;
}

.hero__slide img,
.hero__slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
  transition: transform 5s cubic-bezier(0.2, 0.6, 0.3, 1);
}

.hero__slide.is-active img,
.hero__slide.is-active video {
  transform: scale(1.02);
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 10, 7, 0.9) 0%, rgba(18, 10, 7, 0.48) 38%, rgba(18, 10, 7, 0.1) 70%, rgba(18, 10, 7, 0.4) 100%),
    linear-gradient(to right, rgba(18, 10, 7, 0.5), rgba(18, 10, 7, 0) 62%);
}

.hero__embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding-top: calc(var(--header-h) + var(--space-6));
  padding-bottom: calc(clamp(2rem, 1.2rem + 3vw, 3.75rem) + 64px);
}

@media (min-width: 1024px) {
  .hero__inner {
    padding-bottom: clamp(2rem, 1.2rem + 3vw, 3.75rem);
  }
}

.hero__captions {
  display: grid;
}

.hero__caption {
  grid-area: 1 / 1;
  align-self: end;
  max-width: 920px;
  visibility: hidden;
}

.hero__caption.is-active {
  visibility: visible;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero__title .line > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.1s var(--ease);
}

.hero__caption.is-active .hero__title .line > span {
  transform: none;
}

.hero__caption.is-active .hero__title .line:nth-child(2) > span {
  transition-delay: 0.12s;
}

.hero__caption.is-active .hero__title .line:nth-child(3) > span {
  transition-delay: 0.24s;
}

.hero__lead {
  max-width: 40ch;
  margin-top: var(--space-5);
  font-size: var(--fs-md);
  line-height: 1.5;
  color: rgba(246, 237, 225, 0.86);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s var(--ease) 0.35s, transform 0.9s var(--ease) 0.35s;
}

.hero__caption.is-active .hero__lead {
  opacity: 1;
  transform: none;
}

.hero__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.hero__actions .btn {
  padding-inline: 1em;
}

.hero__actions .btn:first-child {
  grid-column: 1 / -1;
}

.label-long {
  display: none;
}

@media (min-width: 560px) {
  .hero__actions {
    display: flex;
    flex-wrap: wrap;
  }

  .hero__actions .btn {
    padding-inline: 1.8em;
  }

  .label-long {
    display: inline;
  }

  .label-short {
    display: none;
  }
}

[data-hero-pause] .i-play,
[data-hero-pause][aria-pressed="true"] .i-pause {
  display: none;
}

[data-hero-pause][aria-pressed="true"] .i-play {
  display: inline;
}

.hero__controls {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: clamp(2rem, 1rem + 3vw, 3.5rem);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(246, 237, 225, 0.18);
}

.hero__dots {
  display: flex;
  flex: 1;
  gap: 4px;
}

@media (min-width: 760px) {
  .hero__dots {
    gap: 6px;
  }
}

.hero__dot {
  flex: 1;
  display: grid;
  gap: 0.55rem;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  color: rgba(246, 237, 225, 0.6);
  text-align: left;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.hero__dot:hover,
.hero__dot.is-active {
  color: var(--parchment);
}

.hero__dot-track {
  position: relative;
  height: 2px;
  background: rgba(246, 237, 225, 0.22);
  overflow: hidden;
  border-radius: 2px;
}

.hero__dot-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-gold);
  transform: scaleX(0);
  transform-origin: left;
}

.hero__dot.is-done .hero__dot-track::after {
  transform: scaleX(1);
}

.hero__dot.is-active .hero__dot-track::after {
  animation: dot-progress var(--hero-delay, 4s) linear forwards;
}

.hero.is-paused .hero__dot.is-active .hero__dot-track::after {
  animation-play-state: paused;
}

.hero.is-static .hero__dot.is-active .hero__dot-track::after {
  animation: none;
  transform: scaleX(1);
}

@keyframes dot-progress {
  to {
    transform: scaleX(1);
  }
}

.hero__arrows {
  display: flex;
  gap: var(--space-2);
}

.hero__arrows .icon-btn {
  border-color: rgba(246, 237, 225, 0.35);
}


/* 7. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 430px;
  height: 58vh;
  max-height: 640px;
  overflow: hidden;
  background: var(--espresso-deep);
  color: var(--parchment);
}

.page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-settle 2.4s var(--ease) both;
}

@keyframes hero-settle {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 10, 7, 0.86), rgba(18, 10, 7, 0.15) 60%, rgba(18, 10, 7, 0.45));
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}

.page-hero__title {
  font-size: var(--fs-2xl);
  max-width: 14ch;
}

.page-hero__lead {
  margin-top: var(--space-4);
  max-width: 46ch;
  font-size: var(--fs-md);
  color: rgba(246, 237, 225, 0.84);
}

/* 8. Home: intro statement
   -------------------------------------------------------------------------- */
.intro {
  display: grid;
  gap: var(--space-7);
}

.intro__quote {
  margin: 0;
}

.intro__quote p {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.intro__quote footer {
  margin-top: var(--space-5);
  color: var(--ink-soft);
  font-size: var(--fs-sm);
}

.intro__body {
  display: grid;
  gap: var(--space-5);
  align-content: start;
  color: var(--ink-soft);
}

.intro__body .rune-rule {
  max-width: 240px;
}

@media (min-width: 900px) {
  .intro {
    grid-template-columns: 1.35fr 1fr;
    gap: clamp(3rem, 6vw, 7rem);
    align-items: end;
  }
}

/* 9. House signatures (home) — text only, by the owner's request
   -------------------------------------------------------------------------- */
.sigs {
  display: grid;
  gap: var(--space-6) var(--space-5);
}

@media (min-width: 640px) {
  .sigs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .sigs {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sig {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid color-mix(in srgb, var(--gold) 70%, transparent);
  color: inherit;
  text-decoration: none;
}

.sig__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.sig__price {
  margin-left: auto;
  color: var(--gold-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sig__name {
  font-size: var(--fs-lg);
  line-height: 1.15;
  background: linear-gradient(var(--gold), var(--gold)) left 100% / 0 1px no-repeat;
  justify-self: start;
  transition: background-size 0.6s var(--ease), color 0.3s;
}

.sig:hover .sig__name {
  background-size: 100% 1px;
  color: var(--gold-ink);
}

.sig__desc {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

/* 10. Split feature (BYOB / story)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

.split__media {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.split__media img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: 999px 999px var(--radius-m) var(--radius-m);
  box-shadow: var(--shadow-m);
}

.split__badge {
  position: absolute;
  right: -6px;
  bottom: 12%;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--on-gold);
  box-shadow: var(--shadow-m);
}

.split__badge > svg:not(.split__ring) {
  width: 34px;
  height: 34px;
}

.split__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: currentColor;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  animation: badge-spin 24s linear infinite;
}

@keyframes badge-spin {
  to {
    transform: rotate(360deg);
  }
}

.split__body {
  display: grid;
  gap: var(--space-5);
}

.split__title {
  font-size: var(--fs-2xl);
  max-width: 14ch;
}

.split__text {
  color: var(--ink-soft);
  max-width: 52ch;
}

.split__list {
  display: grid;
  gap: var(--space-4);
  padding-top: var(--space-2);
}

.split__list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--space-4);
  align-items: start;
}

.split__list svg {
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold-ink);
}

.split__list strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
}

.split__list span {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(3rem, 7vw, 8rem);
  }

  .split--reverse .split__media {
    order: 2;
  }
}

/* 11. Menu
   -------------------------------------------------------------------------- */
.menu-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  margin-bottom: var(--space-6);
  padding-block: var(--space-3);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.menu-toolbar__inner {
  display: grid;
  gap: var(--space-3);
}

@media (min-width: 1024px) {
  .menu-toolbar__inner {
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
  }
}

.filter {
  position: relative;
  display: flex;
  gap: var(--space-1);
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
  mask-image: linear-gradient(to right, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);
}

.filter::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1240px) {
  .filter {
    margin-inline: 0;
    padding-inline: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.filter__indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--ink);
  transition: transform 0.5s var(--ease), width 0.5s var(--ease);
  pointer-events: none;
}

.filter__chip {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  flex: none;
  min-height: 42px;
  padding: 0.5em 1.05em;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.35s var(--ease), background-color 0.35s var(--ease);
}

.filter__chip:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}

.filter__chip[aria-pressed="true"] {
  color: var(--bg);
  background: transparent;
}

.no-indicator .filter__chip[aria-pressed="true"] {
  background: var(--ink);
}

.filter__count {
  font-size: 0.75em;
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
}

.search {
  position: relative;
}

.search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--ink-soft);
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 44px;
  padding: 0 1rem 0 2.6rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.search input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 22%, transparent);
}

.menu-note {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
  color: var(--ink-soft);
  font-size: var(--fs-sm);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  color: var(--ink);
}

.legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.legend .dish__raw {
  display: inline-grid;
  place-items: center;
  width: 15px;
  margin: 0;
  font-size: 1.2em;
  line-height: 1;
}

.menu-note a {
  color: var(--gold-ink);
}

.legend .dish__sig {
  margin-right: 0;
  width: 15px;
  height: 15px;
}

.menu-section {
  scroll-margin-top: calc(var(--header-h) + 140px);
}

.menu-section + .menu-section {
  margin-top: var(--space-8);
}

.menu-section[hidden] {
  display: none;
}

.menu-section__head {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.menu-section__title {
  font-size: var(--fs-xl);
}

.menu-section__head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-strong);
  transform: translateY(-0.3em);
}

.dish-grid {
  display: grid;
  gap: var(--space-5) clamp(2.5rem, 5vw, 5rem);
}

@media (min-width: 900px) {
  .dish-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dish {
  display: grid;
  align-content: start;
  gap: var(--space-2);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--line);
}

.dish.is-entering {
  animation: dish-in 0.6s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 40ms);
}

@keyframes dish-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.dish__head {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}

.dish__name {
  font-size: 1.35rem;
  line-height: 1.25;
  background: linear-gradient(var(--gold), var(--gold)) left 100% / 0 1px no-repeat;
  transition: background-size 0.6s var(--ease);
}

.dish:hover .dish__name {
  background-size: 100% 1px;
}

.dish__sig {
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-right: 0.4em;
  color: var(--gold);
  vertical-align: 0.05em;
}

.dish__sig svg {
  width: 100%;
  height: 100%;
}

.dish__leader {
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 1px dotted var(--line-strong);
  transform: translateY(-0.3em);
}

.dish__price {
  color: var(--gold-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.dish__desc {
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.dish__extra {
  color: var(--gold-ink);
  font-size: var(--fs-xs);
  font-weight: 500;
}

.menu-sub + .menu-sub {
  margin-top: var(--space-7);
}

.menu-sub__title {
  margin-bottom: var(--space-4);
  color: var(--gold-ink);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.dish-grid--compact {
  gap: 0 clamp(2.5rem, 5vw, 5rem);
}

.dish--compact {
  gap: 0;
  padding: 0.75rem 0;
}

.dish--compact .dish__name {
  font-size: 1.15rem;
}

.dish__raw {
  margin-left: 0.15em;
  color: var(--ember);
  font-family: var(--font-body);
  font-weight: 700;
}

/* allergen icons, as on the printed menus */
.allergens {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.allergen {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1.5px solid color-mix(in srgb, var(--gold) 85%, transparent);
  border-radius: 50%;
  color: var(--ember);
}

.allergen svg {
  width: 17px;
  height: 17px;
}

.dish--compact .allergens {
  margin-top: var(--space-2);
}

.allergen-key {
  display: grid;
  gap: var(--space-2);
}

.allergen-key__title {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.legend--allergens {
  gap: var(--space-2) var(--space-4);
}

/* printed menus */
.printed {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.sheets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5) var(--space-4);
}

@media (min-width: 900px) {
  .sheets {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
  }
}

.sheet {
  display: grid;
  gap: var(--space-3);
  margin: 0;
}

.sheet__thumb.g-item {
  height: auto;
  aspect-ratio: 3 / 4;
  background: #fff;
  box-shadow: var(--shadow-m);
}

.sheet__thumb img {
  height: 100%;
  object-position: top center;
}

.sheet figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2) var(--space-3);
}

.sheet figcaption > span {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  line-height: 1.2;
}

.sheet .link-line {
  font-size: var(--fs-xs);
}

.byob-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  align-items: center;
  margin-bottom: var(--space-6);
  padding: var(--space-5);
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  border-radius: var(--radius-m);
  background: color-mix(in srgb, var(--gold) 9%, transparent);
}

.byob-note svg {
  width: 44px;
  height: 44px;
  color: var(--gold-ink);
}

.byob-note p {
  color: var(--ink-soft);
}

.byob-note strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 500;
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: var(--space-4);
  padding: var(--space-8) var(--space-4);
  text-align: center;
  color: var(--ink-soft);
}

.empty-state[hidden] {
  display: none;
}

.empty-state h2 {
  color: var(--ink);
  font-size: var(--fs-xl);
}

/* 12. Gallery + lightbox
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 150px;
  grid-auto-flow: dense;
  gap: 10px;
}

@media (min-width: 720px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 14px;
  }
}

@media (min-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
  }
}

.g-item {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--surface);
  color: var(--parchment);
  text-align: left;
  cursor: zoom-in;
}

.g-item[hidden] {
  display: none;
}

.g-item--tall {
  grid-row: span 2;
}

.g-item--wide {
  grid-column: span 2;
}

.g-item--big {
  grid-column: span 2;
  grid-row: span 2;
}

.g-item img,
.g-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
}

/* video tiles: the poster photo sits underneath; the clip fades in once it plays */
.g-item video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease), opacity 0.6s var(--ease);
}

.g-item.is-playing video {
  opacity: 1;
}

.g-item__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(18, 10, 7, 0.55);
  color: var(--parchment);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.g-item__badge svg {
  width: 15px;
  height: 15px;
  margin-left: 2px;
}

.g-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(18, 10, 7, 0.78), rgba(18, 10, 7, 0) 55%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.g-item::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 1;
  border: 1px solid rgba(225, 176, 85, 0.85);
  border-radius: calc(var(--radius-m) - 6px);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}

.g-item__cap {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.g-item__cap svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--brand-gold);
}

.g-item:hover img,
.g-item:hover video,
.g-item:focus-visible img,
.g-item:focus-visible video {
  transform: scale(1.07);
  filter: saturate(1.1);
}

.g-item:hover::before,
.g-item:hover::after,
.g-item:hover .g-item__cap,
.g-item:focus-visible::before,
.g-item:focus-visible::after,
.g-item:focus-visible .g-item__cap {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .g-item::before {
    opacity: 0.8;
  }

  .g-item__cap {
    opacity: 1;
    transform: none;
    left: 14px;
    right: 14px;
    bottom: 10px;
    font-size: 0.95rem;
  }

  .g-item__cap svg {
    display: none;
  }
}

/* gallery page: masonry keeps each photo uncropped */
.gallery-masonry {
  columns: 2;
  column-gap: 10px;
}

.gallery-masonry .g-item {
  height: auto;
  margin-bottom: 10px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.gallery-masonry .g-item img {
  height: auto;
}

/* from tablet up: gap-free grid; portrait photos get tall tiles (2:3), the landscape one a big tile */
@media (min-width: 720px) {
  .gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    grid-auto-flow: dense;
    gap: 14px;
    columns: auto;
  }

  .gallery-masonry .g-item {
    height: 100%;
    margin-bottom: 0;
  }

  .gallery-masonry .g-item img {
    height: 100%;
  }
}

@media (min-width: 1100px) {
  .gallery-masonry {
    grid-auto-rows: 300px;
  }
}

.gallery-filter {
  margin-bottom: var(--space-6);
}

.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--parchment);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(14, 8, 6, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox[open] {
  display: grid;
  grid-template-rows: auto 1fr auto;
  animation: lb-in 0.45s var(--ease);
}

@keyframes lb-in {
  from {
    opacity: 0;
  }
}

.lightbox__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--gutter);
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
  color: rgba(246, 237, 225, 0.75);
}

.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding-inline: var(--gutter);
  touch-action: pan-y;
}

.lightbox__img,
.lightbox__video {
  grid-area: 1 / 1;
  max-width: min(100%, 1200px);
  max-height: calc(100vh - 170px);
  max-height: calc(100dvh - 170px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-m);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}

.lightbox__img[hidden],
.lightbox__video[hidden] {
  display: none;
}

.lightbox__img.is-swapping,
.lightbox__video.is-swapping {
  opacity: 0;
  transform: scale(0.97);
}

.lightbox__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--gutter) var(--space-5);
}

.lightbox__cap {
  font-family: var(--font-display);
  font-size: var(--fs-md);
}

.lightbox__nav {
  display: flex;
  gap: var(--space-2);
}

.lightbox .icon-btn {
  border-color: rgba(246, 237, 225, 0.3);
  color: var(--parchment);
}

@media (min-width: 900px) {
  .lightbox__nav {
    position: absolute;
    inset: 50% var(--gutter) auto;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .lightbox__nav .icon-btn {
    width: 56px;
    height: 56px;
    pointer-events: auto;
    background: rgba(26, 17, 14, 0.45);
  }

  .lightbox__stage {
    padding-inline: calc(var(--gutter) + 72px);
  }
}

/* 13. Reservation form
   -------------------------------------------------------------------------- */
.reserve-layout {
  display: grid;
  gap: var(--space-7);
}

@media (min-width: 1000px) {
  .reserve-layout {
    grid-template-columns: 1.45fr 1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
  }

  .reserve-aside {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

.form-card {
  position: relative;
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
  box-shadow: var(--shadow-m);
}

.form-card__title {
  font-size: var(--fs-xl);
}

.form-card__lead {
  margin-top: var(--space-3);
  color: var(--ink-soft);
}

.form {
  display: grid;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.form__row {
  display: grid;
  gap: var(--space-5);
}

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

.field {
  display: grid;
  gap: var(--space-2);
  align-content: start;
}

.field__label {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.field__hint {
  color: var(--ink-soft);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.field__control {
  width: 100%;
  min-height: 54px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: var(--fs-base);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}

[data-theme="dark"] .field__control {
  background: var(--bg);
}

.field__control::placeholder {
  color: color-mix(in srgb, var(--ink-soft) 70%, transparent);
}

.field__control:hover {
  border-color: color-mix(in srgb, var(--gold) 60%, var(--line-strong));
}

.field__control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 22%, transparent);
}

.field__control:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

textarea.field__control {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

select.field__control {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b48a3c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
}

input[type="date"].field__control {
  min-height: 54px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.85;
  cursor: pointer;
}

[data-theme="dark"] input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.9) sepia(0.6) saturate(2);
}

.field__error {
  display: none;
  align-items: center;
  gap: 0.4em;
  color: var(--ember);
  font-size: var(--fs-xs);
  font-weight: 500;
}

.field__error svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.field.is-invalid .field__control {
  border-color: var(--ember);
}

.field.is-invalid .field__control:focus {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ember) 20%, transparent);
}

.field.is-invalid .field__error {
  display: flex;
  animation: shake 0.4s var(--ease);
}

.field.is-valid .field__control {
  border-color: color-mix(in srgb, var(--open) 70%, var(--line-strong));
}

@keyframes shake {
  20%,
  60% {
    transform: translateX(-4px);
  }
  40%,
  80% {
    transform: translateX(4px);
  }
}

.field__note {
  color: var(--ink-soft);
  font-size: var(--fs-xs);
}

.field__note[hidden] {
  display: none;
}

.stepper {
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  align-items: center;
  min-height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-2);
  overflow: hidden;
}

[data-theme="dark"] .stepper {
  background: var(--bg);
}

.stepper:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 22%, transparent);
}

.stepper button {
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--gold-ink);
  font-size: 1.4rem;
  line-height: 1;
  transition: background-color 0.25s;
}

.stepper button:hover {
  background: color-mix(in srgb, var(--gold) 14%, transparent);
}

.stepper button:disabled {
  color: var(--line-strong);
  cursor: not-allowed;
  background: transparent;
}

.stepper input {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stepper input:focus {
  outline: none;
}

.stepper input.bump {
  animation: bump 0.3s var(--ease);
}

@keyframes bump {
  50% {
    transform: scale(1.18);
  }
}

.form__submit {
  margin-top: var(--space-2);
}

.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__error {
  padding: var(--space-3) var(--space-4);
  border: 1px solid color-mix(in srgb, var(--ember) 50%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--ember) 10%, transparent);
  color: var(--ember);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.form__submit .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.form__submit.is-loading .spinner {
  display: inline-block;
}

.form__submit.is-loading .form__submit-icon {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form__fine {
  color: var(--ink-soft);
  font-size: var(--fs-xs);
  text-align: center;
}

.form-success {
  display: grid;
  justify-items: center;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  text-align: center;
}

.form-success[hidden] {
  display: none;
}

.form-success h2 {
  font-size: var(--fs-xl);
  max-width: 16ch;
}

.form-success p {
  max-width: 44ch;
  color: var(--ink-soft);
}

.form-success__summary {
  display: grid;
  gap: var(--space-2);
  width: 100%;
  max-width: 380px;
  margin-block: var(--space-2);
  padding: var(--space-5);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-m);
  text-align: left;
}

.form-success__summary div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
}

.form-success__summary dt {
  color: var(--ink-soft);
}

.form-success__summary dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.check-anim {
  width: 84px;
  height: 84px;
  color: var(--gold);
}

.check-anim circle,
.check-anim path {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
}

.form-success.is-shown .check-anim circle {
  animation: draw 0.9s var(--ease) forwards;
}

.form-success.is-shown .check-anim path {
  animation: draw 0.6s var(--ease) 0.55s forwards;
}

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

.info-card {
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
}

.info-card + .info-card {
  margin-top: var(--space-4);
}

.info-card__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-4);
}

.info-list {
  display: grid;
  gap: var(--space-4);
}

.info-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: var(--space-3);
  color: var(--ink-soft);
  font-size: var(--fs-sm);
}

.info-list svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--gold-ink);
}

.info-list strong {
  color: var(--ink);
  font-weight: 600;
}

.phone-big {
  display: inline-block;
  margin-top: var(--space-2);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  text-decoration: none;
  transition: color 0.3s;
}

.phone-big:hover {
  color: var(--gold-ink);
}

/* 14. Hours, visit, contact, map
   -------------------------------------------------------------------------- */
.hours {
  display: grid;
  font-variant-numeric: tabular-nums;
}

.hours li {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: var(--fs-sm);
}

.hours li:last-child {
  border-bottom: 0;
}

.hours li.is-today {
  color: var(--ink);
  font-weight: 600;
}

.hours li.is-today::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}

.hours .is-closed {
  color: var(--ember);
}

.visit {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 900px) {
  .visit {
    grid-template-columns: repeat(3, 1fr);
  }
}

.visit__card {
  display: grid;
  align-content: start;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--line-strong);
}

@media (min-width: 900px) {
  .visit__card {
    padding-right: var(--space-6);
  }
}

.visit__card h3 {
  font-size: var(--fs-lg);
}

.visit__card p {
  color: var(--ink-soft);
}

.visit__card .btn-row {
  margin-top: auto;
  padding-top: var(--space-3);
}

.contact-layout {
  display: grid;
  gap: var(--space-7);
}

@media (min-width: 1000px) {
  .contact-layout {
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(2.5rem, 5vw, 5rem);
  }
}

.contact-block {
  display: grid;
  gap: var(--space-6);
}

.contact-block__item {
  display: grid;
  gap: var(--space-2);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--line);
}

.contact-block__item:last-child {
  border-bottom: 0;
}

.contact-block__label {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
}

.contact-block__value {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.25;
}

.contact-block__value a {
  text-decoration: none;
}

.contact-block__value a:hover {
  color: var(--gold-ink);
}

.contact-block .hours {
  padding-left: 14px;
}

.map-frame {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--surface) center / cover no-repeat;
  box-shadow: var(--shadow-m);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: var(--map-filter);
  transition: filter 0.5s var(--ease);
}

.map-frame__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-alt);
}

.map-frame__art .road--minor {
  stroke: var(--line-strong);
  stroke-width: 10;
}

.map-frame__art .road--main {
  stroke: color-mix(in srgb, var(--gold) 55%, var(--surface));
  stroke-width: 18;
}

.map-frame__art .road-label {
  fill: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.map-frame__art .pin-dot {
  fill: var(--ember);
  stroke: var(--surface);
  stroke-width: 4;
}

.map-frame__art .pin-pulse {
  fill: var(--ember);
  opacity: 0.35;
  transform-origin: 300px 300px;
  animation: map-pulse 2.4s var(--ease) infinite;
}

@keyframes map-pulse {
  from {
    transform: scale(0.6);
    opacity: 0.5;
  }
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

.map-frame__open {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 1;
  min-height: 44px;
}

.map-frame.has-map .map-frame__open,
.map-frame.has-map .map-frame__art {
  display: none;
}

.map-frame__pin {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-m);
  background: var(--surface);
  color: var(--ink);
  font-size: var(--fs-sm);
  box-shadow: var(--shadow-m);
}

.map-frame__pin strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}

.map-frame__pin svg {
  width: 26px;
  height: 26px;
  color: var(--gold-ink);
}

@media (min-width: 1000px) {
  .map-frame {
    min-height: 100%;
  }
}

/* 15. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 3rem + 6vw, 8rem);
  background: var(--grain), radial-gradient(120% 140% at 85% 110%, rgba(238, 127, 67, 0.32), rgba(238, 127, 67, 0) 55%),
    var(--facets) 200px -160px / 960px 960px, var(--espresso);
  background-size: 220px 220px, auto, 960px 960px;
  color: var(--parchment);
}

.cta-band__rune {
  position: absolute;
  right: -4%;
  top: 50%;
  width: clamp(260px, 36vw, 520px);
  height: auto;
  color: var(--brand-gold);
  opacity: 0.12;
  transform: translateY(-50%);
}

.cta-band__inner {
  position: relative;
  display: grid;
  gap: var(--space-5);
  max-width: 720px;
}

.cta-band__title {
  font-size: var(--fs-2xl);
}

.cta-band__text {
  color: rgba(246, 237, 225, 0.8);
  font-size: var(--fs-md);
  max-width: 46ch;
}

.cta-band .btn-row {
  margin-top: var(--space-3);
}

/* 16. About page
   -------------------------------------------------------------------------- */
.story {
  display: grid;
  gap: var(--space-7);
}

.story__text {
  display: grid;
  gap: var(--space-5);
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.125rem;
  line-height: 1.7;
}

.story__text p:first-child {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.35;
}

.story__figure {
  margin: 0;
}

.story__figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 999px 999px var(--radius-m) var(--radius-m);
  box-shadow: var(--shadow-m);
}

.story__figure figcaption {
  margin-top: var(--space-3);
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  text-align: center;
}

@media (min-width: 900px) {
  .story {
    grid-template-columns: 1fr 0.8fr;
    gap: clamp(3rem, 7vw, 8rem);
    align-items: center;
  }
}

.rune-explain {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

.rune-explain__glyph {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 360px;
  width: 100%;
  margin-inline: auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold-ink);
}

.rune-explain__glyph svg {
  width: 46%;
  height: auto;
}

.rune-explain__glyph path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 2.2s var(--ease);
}

.rune-explain__glyph.is-visible path {
  stroke-dashoffset: 0;
}

.rune-explain__glyph.is-visible path:nth-child(2) {
  transition-delay: 0.6s;
}

.rune-explain__body {
  display: grid;
  gap: var(--space-5);
}

.rune-explain__body h2 {
  font-size: var(--fs-2xl);
  max-width: 14ch;
}

.rune-explain__body p {
  color: var(--ink-soft);
  max-width: 54ch;
}

@media (min-width: 900px) {
  .rune-explain {
    grid-template-columns: 0.8fr 1fr;
    gap: clamp(3rem, 7vw, 8rem);
  }
}

.values {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 900px) {
  .values {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value {
  display: grid;
  gap: var(--space-3);
  align-content: start;
  padding: var(--space-6);
  border-radius: var(--radius-l);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}

.value:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
  border-color: color-mix(in srgb, var(--gold) 50%, transparent);
}

.value svg {
  width: 36px;
  height: 36px;
  color: var(--gold-ink);
  margin-bottom: var(--space-2);
}

.value h3 {
  font-size: var(--fs-lg);
}

.value p {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
}

/* 17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-top: var(--space-8);
  padding-bottom: calc(var(--space-6) + 76px);
  background: var(--grain), radial-gradient(55% 120% at 8% 0%, rgba(225, 176, 85, 0.09), rgba(225, 176, 85, 0) 70%),
    var(--facets) -240px 0 / 960px 960px, var(--espresso-deep);
  background-size: 220px 220px, auto, 960px 960px;
  color: rgba(246, 237, 225, 0.72);
  font-size: var(--fs-sm);
}

@media (min-width: 1024px) {
  .site-footer {
    padding-bottom: var(--space-6);
  }
}

.site-footer a {
  color: var(--parchment);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brand-gold);
}

.footer-top {
  display: grid;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(246, 237, 225, 0.12);
}

.footer-brand {
  display: grid;
  gap: var(--space-4);
  align-content: start;
  color: var(--parchment);
}

.footer-brand .brand__word {
  font-size: 1.9rem;
}

.footer-brand p {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--brand-gold);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: var(--space-6);
}

.footer-col h2 {
  margin-bottom: var(--space-3);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-col ul {
  display: grid;
  gap: var(--space-2);
}

.footer-col .hours li {
  white-space: nowrap;
  padding: 0.25rem 0;
  border: 0;
  color: rgba(246, 237, 225, 0.72);
  font-size: var(--fs-sm);
}

.footer-col .hours li.is-today {
  color: var(--parchment);
}

.footer-col .hours li.is-today::before {
  left: -12px;
}

.socials {
  display: flex;
  gap: var(--space-3);
}

.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(246, 237, 225, 0.25);
  border-radius: 50%;
  transition: background-color 0.35s var(--ease), border-color 0.35s, color 0.35s, transform 0.35s var(--ease);
}

.socials a:hover {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: var(--espresso);
  transform: translateY(-3px);
}

.socials--themed a {
  border-color: var(--line-strong);
  color: var(--ink);
}

.socials--themed a:hover {
  color: var(--espresso);
}

.socials svg {
  width: 19px;
  height: 19px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-5);
  font-size: var(--fs-xs);
  color: rgba(246, 237, 225, 0.55);
}

@media (min-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 2.2fr;
  }
}

/* 18. Mobile action bar
   -------------------------------------------------------------------------- */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-top: 1px solid var(--line);
  transition: transform 0.45s var(--ease);
}

.action-bar.is-hidden {
  transform: translateY(110%);
}

.action-bar a {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 7px 4px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 0.25s, transform 0.25s var(--ease);
}

.action-bar a:active {
  transform: scale(0.95);
}

.action-bar svg {
  width: 21px;
  height: 21px;
  color: var(--gold-ink);
}

.action-bar .is-primary {
  background: var(--gold);
  color: var(--on-gold);
}

.action-bar .is-primary svg {
  color: var(--on-gold);
}

@media (min-width: 1024px) {
  .action-bar {
    display: none;
  }
}

/* 18b. WordPress: admin bar, pages without a photo header, plain content
   -------------------------------------------------------------------------- */
.admin-bar .site-header {
  top: var(--wp-admin--admin-bar--height, 32px);
}

.admin-bar .menu-toolbar {
  top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 32px));
}

@media (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }

  .admin-bar .menu-toolbar {
    top: var(--header-h);
  }
}

.no-hero main {
  padding-top: calc(var(--header-h) + var(--space-6));
}

.entry {
  max-width: 70ch;
}

.entry > * + * {
  margin-top: var(--space-4);
}

.entry h1 {
  font-size: var(--fs-2xl);
}

.entry h2 {
  margin-top: var(--space-7);
  font-size: var(--fs-xl);
}

.entry a {
  color: var(--gold-ink);
}

/* 19. Scroll reveal
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.js [data-reveal="fade"] {
  transform: none;
}

.js [data-reveal="scale"] {
  transform: scale(0.94);
}

.js [data-reveal="left"] {
  transform: translateX(-32px);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* 20. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero__slide img,
  .hero__slide.is-active img,
  .hero__slide video,
  .hero__slide.is-active video {
    transform: none;
  }
}
