:root {
  --ink: #f3eee6;
  --ink-soft: #b8b0a4;
  --paper: #0c0b0a;
  --paper-dim: #161412;
  --surface: #1c1916;
  --lacquer: #a11e22;
  --lacquer-deep: #7a1619;
  --steam: #8a8176;
  --line: rgba(243, 238, 230, 0.12);
  --font-display: "Noto Serif KR", "Source Serif 4", Georgia, serif;
  --font-body: "Noto Sans KR", "Source Sans 3", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(161, 30, 34, 0.14), transparent 45%),
    radial-gradient(ellipse at 90% 20%, rgba(255, 255, 255, 0.04), transparent 40%),
    var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* —— Nav —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), backdrop-filter 0.4s;
}

.site-header.is-solid,
.site-header.theme-light {
  background: rgba(12, 11, 10, 0.9);
  backdrop-filter: blur(14px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.site-header.theme-dark {
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand img {
  height: clamp(1.65rem, 3.2vw, 2.15rem);
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid currentColor;
  opacity: 0.9;
  color: inherit;
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0.35rem 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  opacity: 0.55;
}

.lang-switch button[aria-pressed="true"] {
  opacity: 1;
  background: color-mix(in srgb, currentColor 12%, transparent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  background: var(--lacquer);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  background: var(--lacquer-deep);
}

.btn-ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.btn-ghost:hover {
  background: color-mix(in srgb, currentColor 10%, transparent);
}

.menu-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  margin: 0.3rem auto;
  background: currentColor;
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
    background: var(--paper);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }

  body.nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta-mobile-hide {
    display: none;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--ink);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-zoom 14s var(--ease) forwards;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 18, 16, 0.35) 0%, rgba(20, 18, 16, 0.2) 40%, rgba(20, 18, 16, 0.72) 100%),
    radial-gradient(ellipse at 30% 20%, rgba(158, 43, 43, 0.18), transparent 50%);
}

@keyframes hero-zoom {
  to {
    transform: scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 2rem) clamp(1.25rem, 5vw, 4rem) clamp(2.5rem, 8vh, 4.5rem);
  max-width: 42rem;
}

.hero-brand {
  margin: 0 0 1rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.15s forwards;
  line-height: 0;
}

.hero-brand img {
  width: min(22rem, 78vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.hero-line {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.6vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.28s forwards;
}

.hero-sub {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  font-size: 1.02rem;
  opacity: 0;
  color: color-mix(in srgb, var(--ink) 88%, transparent);
  animation: rise 0.9s var(--ease) 0.4s forwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.52s forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Sections —— */
.section {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 5vw, 4rem);
}

.section-narrow {
  max-width: 72rem;
  margin: 0 auto;
}

.section-head {
  max-width: 36rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lacquer);
  margin-bottom: 0.75rem;
}

.section-head h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

.section-head p,
.lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.page-hero {
  padding: calc(var(--nav-h) + 3rem) clamp(1.25rem, 5vw, 4rem) 2.5rem;
  background:
    linear-gradient(160deg, var(--paper-dim) 0%, var(--paper) 55%, #1a1210 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero--photo {
  position: relative;
  padding: 0;
  min-height: clamp(16rem, 42vw, 24rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #050505;
  color: var(--ink);
  border-bottom: 0;
}

.page-hero-media {
  position: absolute;
  inset: 0;
}

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

.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 18, 16, 0.25) 0%, rgba(20, 18, 16, 0.78) 100%);
}

.page-hero-copy {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 2.5rem) clamp(1.25rem, 5vw, 4rem) clamp(1.75rem, 4vw, 2.75rem);
  max-width: 42rem;
}

.page-hero-copy .eyebrow {
  color: color-mix(in srgb, #fff 70%, var(--lacquer));
}

.page-hero-copy h1 {
  color: #fff;
}

.page-hero-copy p,
.page-hero-copy .lede {
  color: color-mix(in srgb, #fff 88%, transparent);
  max-width: 36rem;
}

.page-hero p {
  max-width: 32rem;
  margin: 0;
  color: var(--ink-soft);
}

/* —— Home: pathways —— */
.pathways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.pathway {
  position: relative;
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.pathway img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s var(--ease);
}

.pathway::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 20%, rgba(20, 18, 16, 0.85) 100%);
}

.pathway:hover img {
  transform: scale(1.05);
}

.pathway h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 0.35rem;
}

.pathway span {
  font-size: 0.85rem;
  opacity: 0.85;
}

@media (max-width: 820px) {
  .pathways {
    grid-template-columns: 1fr;
  }

  .pathway {
    min-height: 16rem;
  }
}

/* —— Story band —— */
.story-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.story-band figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border: 1px solid var(--line);
}

.story-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hours-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

@media (max-width: 820px) {
  .story-band {
    grid-template-columns: 1fr;
  }

  .story-band figure {
    aspect-ratio: 16 / 11;
  }
}

/* —— Menu —— */
.menu-nav {
  position: sticky;
  top: calc(var(--nav-h) - 1px);
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  margin: 0 0 1.75rem;
  padding: 0.65rem 0 0.75rem;
  border-bottom: 1px solid var(--line);
}

.menu-nav-track {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.15rem 0.1rem;
}

.menu-nav-track::-webkit-scrollbar {
  display: none;
}

.menu-nav-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  padding: 0.55rem 0.9rem;
  font-size: 0.8rem;
  white-space: nowrap;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.menu-nav-chip:hover {
  border-color: color-mix(in srgb, var(--ink) 35%, transparent);
  color: var(--ink);
}

.menu-nav-chip[aria-current="true"] {
  background: var(--lacquer);
  border-color: var(--lacquer);
  color: #fff;
}

.menu-sections {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.5rem);
}

.menu-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600;
  margin: 0 0 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.01em;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2.5rem, 6vw, 4.5rem);
  row-gap: 0;
}

.menu-item {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1rem;
  row-gap: 0.35rem;
}

.menu-item.is-visible {
  opacity: 1;
  transform: none;
}

.menu-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  grid-column: 1;
  padding-right: 0.5rem;
  min-width: 0;
}

.menu-item .price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  grid-column: 2;
  grid-row: 1;
  white-space: nowrap;
  text-align: right;
}

.menu-item p {
  margin: 0;
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 36rem;
}

@media (max-width: 900px) {
  .menu-grid {
    column-gap: clamp(1.75rem, 4vw, 2.75rem);
  }
}

@media (max-width: 700px) {
  .menu-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
}

/* —— About —— */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.about-points {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-points div {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.about-points h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}

.about-points p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.about-photo {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 820px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    aspect-ratio: 16 / 11;
    order: -1;
  }
}

/* —— Reservation / Visit map —— */
.page-hero--compact {
  padding: calc(var(--nav-h) + clamp(1.75rem, 4vw, 2.75rem)) clamp(1.25rem, 5vw, 4rem)
    clamp(1.5rem, 3vw, 2.25rem);
}

.page-hero--compact h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin-bottom: 0.55rem;
}

.page-hero--compact p {
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.55;
  max-width: min(36rem, 100%);
}

.section--visit {
  padding-top: clamp(1.5rem, 3.5vw, 2.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.reserve-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(1.75rem, 4.5vw, 3.5rem);
  align-items: stretch;
}

.reserve-aside {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.reserve-aside h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  margin: 0 0 0.65rem;
  letter-spacing: -0.01em;
}

.reserve-aside__lede {
  margin: 0;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.reserve-aside a {
  color: color-mix(in srgb, var(--ink) 92%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.reserve-aside a:hover {
  color: var(--ink);
}

.reserve-meta {
  margin: clamp(1.1rem, 2.5vw, 1.6rem) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(0.85rem, 2vw, 1.15rem);
}

.reserve-meta dt {
  font-size: clamp(0.65rem, 1.1vw, 0.72rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 0.25rem;
}

.reserve-meta dd {
  margin: 0;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.45;
  font-weight: 500;
}

.btn--map {
  margin-top: auto;
  padding-top: clamp(1.15rem, 2.5vw, 1.6rem);
  width: fit-content;
  font-size: clamp(0.72rem, 1.2vw, 0.82rem);
}

.map-embed {
  position: relative;
  width: 100%;
  min-height: clamp(18rem, 52vh, 36rem);
  height: 100%;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

/* Tablet */
@media (max-width: 960px) {
  .reserve-layout {
    grid-template-columns: minmax(14rem, 0.95fr) minmax(0, 1.2fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
  }

  .map-embed {
    min-height: clamp(17rem, 46vh, 30rem);
  }
}

/* Mobile */
@media (max-width: 820px) {
  .reserve-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .reserve-aside {
    order: 1;
  }

  .map-embed {
    order: 0;
    min-height: min(58svh, 24rem);
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .map-embed iframe {
    position: absolute;
    inset: 0;
    min-height: 0;
    height: 100%;
  }

  .btn--map {
    width: 100%;
    justify-content: center;
    margin-top: 1.35rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .page-hero--compact {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section--visit {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .reserve-aside {
    padding: 1.15rem 1rem 1.25rem;
  }

  .map-embed {
    min-height: 16.5rem;
    aspect-ratio: 1 / 1;
  }
}

/* Large desktop */
@media (min-width: 1200px) {
  .reserve-layout {
    grid-template-columns: minmax(18rem, 22rem) minmax(0, 1fr);
    gap: 3.5rem;
  }

  .map-embed {
    min-height: clamp(26rem, 58vh, 40rem);
  }

  .reserve-aside h2 {
    font-size: 1.95rem;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.85rem 0.95rem;
  color: var(--ink);
}

.form-field textarea {
  min-height: 7rem;
  resize: vertical;
}

.form-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: color-mix(in srgb, var(--lacquer) 12%, var(--paper));
  border-left: 3px solid var(--lacquer);
}

.form-success.is-shown {
  display: block;
}

/* —— Footer —— */
.site-footer {
  background: #050505;
  color: var(--ink);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

.footer-credit {
  max-width: 72rem;
  margin: 2rem auto 0;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  opacity: 0.55;
}

.footer-credit a {
  color: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-credit a:hover {
  border-color: var(--ink);
}

.footer-brand {
  margin: 0 0 0.75rem;
  line-height: 0;
}

.footer-brand img {
  height: 2.25rem;
  width: auto;
  display: block;
}

.footer-meta {
  opacity: 0.75;
  font-size: 0.92rem;
  margin: 0;
}

.footer-meta a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  opacity: 0.8;
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-social a:hover {
  opacity: 1;
  border-color: var(--ink);
}

.footer-social__text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Leave room for the fixed accessibility button so it doesn't cover the social icons on mobile. */
@media (max-width: 820px) {
  .site-footer {
    padding-bottom: calc(clamp(2.5rem, 6vw, 4rem) + 4.75rem);
  }
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* —— Floating widgets —— */
#floating-widgets {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 80;
  pointer-events: none;
}

.fab {
  pointer-events: auto;
  position: fixed;
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 3.15rem;
  min-height: 3.15rem;
  padding: 0.7rem 0.95rem;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(20, 18, 16, 0.22);
  transition: transform 0.2s var(--ease), opacity 0.2s;
}

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

.fab-label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.fab--top {
  right: max(1.1rem, env(safe-area-inset-right));
  bottom: calc(max(1.1rem, env(safe-area-inset-bottom)) + 4.3rem);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.fab--top[hidden] {
  display: none !important;
}

body.ada-open .fab--top {
  display: none !important;
}

.fab-ada {
  pointer-events: none;
  position: fixed;
  right: max(1.1rem, env(safe-area-inset-right));
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  z-index: 81;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.fab--ada {
  pointer-events: auto;
  position: static;
  background: var(--lacquer);
  color: #fff;
  border-radius: 999px;
}

.ada-panel {
  pointer-events: auto;
  width: min(20.5rem, calc(100vw - 2.2rem));
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.ada-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  background: #050505;
  color: var(--ink);
}

.ada-panel__head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.ada-panel__head p {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  opacity: 0.75;
}

.ada-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}

.ada-panel__body {
  padding: 1rem;
}

.ada-panel__body > p {
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.ada-hours {
  margin: -0.35rem 0 0.95rem !important;
  font-size: 0.85rem !important;
  font-weight: 600;
  color: var(--ink) !important;
}

.ada-actions {
  display: grid;
  gap: 0.45rem;
}

.ada-action {
  display: block;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--paper-dim);
  font-size: 0.88rem;
  transition: background 0.2s, border-color 0.2s;
}

.ada-action:hover {
  border-color: var(--lacquer);
  background: color-mix(in srgb, var(--lacquer) 16%, var(--paper-dim));
}

@media (max-width: 480px) {
  .fab-label {
    display: none;
  }

  .fab--ada,
  .fab--top {
    min-width: 3rem;
    min-height: 3rem;
    padding: 0;
    border-radius: 999px;
  }

  .fab--ada .fab-label {
    display: inline;
    font-size: 0.72rem;
  }
}

/* —— Accessibility (ADA) widget —— */
#a11y-widget {
  position: fixed;
  left: max(1.1rem, env(safe-area-inset-left));
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.a11y-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border: 0;
  border-radius: 999px;
  background: #14539e;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(20, 18, 16, 0.28);
  transition: transform 0.2s var(--ease);
}

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

.a11y-fab svg {
  width: 1.75rem;
  height: 1.75rem;
}

.a11y-panel {
  width: min(19.5rem, calc(100vw - 2.2rem));
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.a11y-panel[hidden] {
  display: none;
}

.a11y-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #050505;
}

.a11y-panel__head strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.a11y-panel__close {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}

.a11y-panel__body {
  padding: 0.9rem 1rem 1rem;
}

.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.a11y-row__label {
  font-size: 0.85rem;
  font-weight: 600;
}

.a11y-steppers {
  display: inline-flex;
  gap: 0.35rem;
}

.a11y-step {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  background: var(--paper-dim);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
}

.a11y-step:hover {
  border-color: var(--lacquer);
}

.a11y-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.a11y-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.65rem;
  border: 1px solid var(--line);
  background: var(--paper-dim);
  color: var(--ink);
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.a11y-toggle:hover {
  border-color: var(--lacquer);
}

.a11y-toggle[aria-pressed="true"] {
  border-color: var(--lacquer);
  background: color-mix(in srgb, var(--lacquer) 18%, var(--paper-dim));
}

.a11y-toggle__dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  border: 1px solid var(--ink-soft);
  flex: none;
}

.a11y-toggle[aria-pressed="true"] .a11y-toggle__dot {
  background: var(--lacquer);
  border-color: var(--lacquer);
}

.a11y-reset {
  margin-top: 0.85rem;
  width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.a11y-reset:hover {
  border-color: var(--lacquer);
}

/* —— Applied accessibility states (scoped to page content wrapper) —— */
#a11y-root.a11y-readable,
#a11y-root.a11y-readable * {
  font-family: "Source Sans 3", Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.01em !important;
}

#a11y-root.a11y-links a {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

#a11y-root.a11y-cursor,
#a11y-root.a11y-cursor * {
  cursor: url('data:image/svg+xml;utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 32 32"%3E%3Cpath d="M8 4l16 12-7 1 4 9-3 1-4-9-6 5z" fill="white" stroke="black" stroke-width="1.5"/%3E%3C/svg%3E') 6 4, auto !important;
}

#a11y-root.a11y-invert img,
#a11y-root.a11y-invert video,
#a11y-root.a11y-invert iframe,
#a11y-root.a11y-invert .footer-social svg {
  filter: invert(1) hue-rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .a11y-fab,
  .a11y-fab:hover {
    transition: none;
    transform: none;
  }
}

