:root {
  color-scheme: dark;
  --ink: #160d0b;
  --ink-soft: #241411;
  --panel: #2b1814;
  --panel-light: #3a2019;
  --cream: #fff3d8;
  --cream-soft: #dcc8a0;
  --gold: #f1b84a;
  --gold-light: #ffd986;
  --terracotta: #a94b32;
  --line: rgba(241, 184, 74, 0.28);
  --line-strong: rgba(241, 184, 74, 0.62);
  --content: 1180px;
  --reading: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-width: 280px;
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #fff0c4;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-strong);
  background-color: #3a1d16;
  background-image: url("/art/medina-menu-landscape-v2.webp");
  background-position: center 42%;
  background-size: cover;
}

.site-header::before {
  position: absolute;
  inset: 0;
  background: rgba(20, 9, 7, 0.67);
  content: "";
}

.topbar,
.hero-inner,
.legal-layout,
.site-footer-inner {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 232, 180, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--cream);
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 232, 180, 0.4);
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.brand span {
  display: grid;
  line-height: 1.15;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.brand small {
  margin-top: 4px;
  color: var(--cream-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topnav a {
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid transparent;
  color: var(--cream-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.topnav a[aria-current="page"] {
  border-color: var(--line-strong);
  background: rgba(31, 14, 11, 0.72);
  color: var(--gold-light);
}

.topnav a:hover {
  border-color: var(--line);
  color: var(--cream);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 328px;
  align-items: flex-end;
  padding-block: 68px 58px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  letter-spacing: -0.045em;
}

.hero-copy > p {
  max-width: 670px;
  margin: 22px 0 0;
  color: #f2dfbc;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.55;
}

.effective-date {
  display: inline-flex;
  margin-top: 24px;
  padding: 7px 11px;
  border-left: 3px solid var(--gold);
  background: rgba(24, 11, 9, 0.7);
  color: var(--cream-soft);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, var(--reading));
  justify-content: space-between;
  gap: 72px;
  padding-block: 72px 100px;
}

.contents {
  position: sticky;
  top: 28px;
  align-self: start;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.contents strong {
  display: block;
  margin-bottom: 14px;
  color: var(--gold-light);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contents a {
  display: block;
  padding: 7px 0;
  color: var(--cream-soft);
  font-size: 0.82rem;
  line-height: 1.35;
  text-decoration: none;
}

.contents a:hover {
  color: var(--cream);
}

.legal-copy {
  min-width: 0;
}

.notice {
  margin: 0 0 48px;
  padding: 24px 26px;
  border: 1px solid var(--line-strong);
  border-left: 5px solid var(--gold);
  background: var(--panel);
}

.notice strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-light);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.notice p {
  margin: 0;
}

.legal-section {
  padding: 0 0 52px;
  scroll-margin-top: 28px;
}

.legal-section + .legal-section {
  padding-top: 52px;
  border-top: 1px solid var(--line);
}

.section-number {
  display: block;
  margin-bottom: 10px;
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  letter-spacing: -0.025em;
}

h3 {
  margin: 30px 0 10px;
  font-size: 1.15rem;
}

p,
li,
td,
th {
  color: var(--cream-soft);
}

p {
  margin: 0 0 18px;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 16px 0 20px;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 9px;
}

.data-list {
  display: grid;
  gap: 0;
  margin: 24px 0;
  border-top: 1px solid var(--line);
}

.data-item {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.data-item strong {
  color: var(--cream);
  font-size: 0.9rem;
}

.data-item p {
  margin: 0;
  font-size: 0.92rem;
}

.choice-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.choice-step:first-of-type {
  border-top: 1px solid var(--line);
}

.choice-step > b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.choice-step h3 {
  margin: 1px 0 8px;
}

.choice-step p {
  margin: 0;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.action-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  background: var(--panel-light);
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.action-link:hover {
  border-color: var(--gold-light);
  background: #4a281f;
}

.site-footer {
  border-top: 1px solid var(--line-strong);
  background: #100907;
}

.site-footer-inner {
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 28px;
}

.site-footer p {
  margin: 0;
  color: #ae9b7c;
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a {
  color: var(--cream-soft);
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-light);
}

@media (max-width: 820px) {
  .site-header {
    min-height: 390px;
    background-image: url("/art/medina-menu-portrait-v2.webp");
    background-position: center 36%;
  }

  .topbar,
  .hero-inner,
  .legal-layout,
  .site-footer-inner {
    width: min(calc(100% - 32px), var(--content));
  }

  .topbar {
    min-height: 78px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand small {
    display: none;
  }

  .topnav a:first-child {
    display: none;
  }

  .topnav a {
    padding-inline: 9px;
    font-size: 0.66rem;
  }

  .hero-inner {
    min-height: 312px;
    padding-block: 54px 44px;
  }

  .legal-layout {
    display: block;
    padding-block: 42px 72px;
  }

  .contents {
    position: static;
    display: flex;
    gap: 8px 18px;
    margin: 0 0 44px;
    padding: 0 0 20px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    border-left: 0;
    scrollbar-width: thin;
  }

  .contents strong {
    flex: 0 0 100%;
    margin-bottom: 5px;
  }

  .contents a {
    flex: 0 0 auto;
    padding: 5px 0;
    white-space: nowrap;
  }

  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .topbar,
  .hero-inner,
  .legal-layout,
  .site-footer-inner {
    width: min(calc(100% - 24px), var(--content));
  }

  .brand strong {
    max-width: 115px;
    font-size: 0.82rem;
  }

  .topnav {
    gap: 2px;
  }

  .topnav a {
    max-width: 104px;
    padding-inline: 6px;
    text-align: center;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.45rem);
  }

  .notice {
    padding: 20px;
  }

  .data-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .choice-step {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 13px;
  }

  .choice-step > b {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }
}

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