:root {
  --ground: #1A0F14;
  --ground-1: #24161c;
  --ground-2: #2e1e25;
  --ink: #F2ECE6;
  --accent: #D83A52;
  --second: #9DB5C7;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-text: 'Figtree', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 6px;
  --gap: 1.25rem;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--ground);
  color: var(--ink);
  font-family: var(--font-text);
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: var(--second);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover,
a:active,
a:focus-visible {
  color: var(--ink);
}

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: -9999px;
  background: var(--ink);
  color: var(--ground);
  padding: 0.5rem 1rem;
  z-index: 9999;
}

.skip-link:focus,
.skip-link:focus-visible {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
  position: relative;
}

.page-wrap {
  position: relative;
}

/* Smoke rail */
.smoke-rail {
  position: absolute;
  top: 0;
  left: 0;
  width: 3rem;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.smoke-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.smoke-path {
  fill: none;
  stroke: var(--second);
  stroke-width: 1.5;
  opacity: 0.35;
  vector-effect: non-scaling-stroke;
}

.smoke-markers {
  position: absolute;
  inset: 0;
}

.smoke-marker {
  position: absolute;
  left: 50%;
  width: 0.75rem;
  height: 0.75rem;
  margin-left: -0.375rem;
  border: 1px solid var(--second);
  border-radius: 50%;
  background: var(--ground);
  transform: translateY(-50%);
}

.smoke-marker::before,
.smoke-marker::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 1px;
  background: var(--second);
  transform: translate(-50%, -50%);
}

.smoke-marker.active {
  background: var(--accent);
  border-color: var(--accent);
}

.smoke-marker.active::before,
.smoke-marker.active::after {
  background: var(--ink);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 15, 20, 0.95);
  border-bottom: 1px solid rgba(157, 181, 199, 0.12);
  backdrop-filter: blur(4px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-block: 0.75rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.logo:hover,
.logo:active,
.logo:focus-visible {
  color: var(--ink);
}

.nav-tabs {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-tabs a {
  color: var(--second);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-tabs a:hover,
.nav-tabs a:active,
.nav-tabs a:focus-visible {
  color: var(--ink);
}

.header-address {
  width: 100%;
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--second);
  opacity: 0.8;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
  margin: 0 0 1rem;
}

/* Components */
.tile {
  background: var(--ground-1);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.tile__kicker,
.section__kicker {
  display: block;
  font-family: var(--font-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--second);
  margin-bottom: 0.5rem;
}

.lead {
  font-size: 1.15rem;
  max-width: 40ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--second);
  color: var(--ground);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  position: relative;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover,
.btn:active,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 -1px 0 1px var(--second);
  color: var(--ground);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 0 0 0 transparent;
}

.btn--outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--ink);
}

.btn--outline:hover,
.btn--outline:active,
.btn--outline:focus-visible {
  color: var(--ground);
  background: var(--second);
  border-color: var(--second);
}

.price {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-family: var(--font-text);
  font-weight: 600;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
  cursor: default;
}

.price:hover,
.price:active,
.price:focus-visible {
  background: var(--second);
  color: var(--ground);
}

/* Day dampers: indicator inside the disc, day letter below */
.day-dampers {
  display: flex;
  gap: 0.6rem;
  margin: 0.75rem 0 0.5rem;
  flex-wrap: wrap;
}

.damper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink);
  gap: 0.25rem;
}

.damper-line {
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid var(--second);
  border-radius: 50%;
  background: var(--ground);
  box-sizing: border-box;
  flex: none;
}

.damper-line::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 2px;
  background: var(--second);
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  border-radius: 1px;
}

.damper.open .damper-line {
  background: var(--accent);
  border-color: var(--accent);
}

.damper.open .damper-line::before {
  background: var(--ink);
}

.damper-label {
  line-height: 1;
}

.damper.today .damper-line {
  width: 2rem;
  height: 2rem;
}

.damper.today .damper-label {
  font-size: 0.85rem;
}

/* Override script-injected damper styles */
html.js .damper .damper-line {
  width: 1.5rem !important;
  height: 1.5rem !important;
  border: 1px solid var(--second) !important;
  background: var(--ground) !important;
  margin: 0 !important;
}

html.js .damper.open .damper-line {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}

html.js .damper-line::before {
  top: 50% !important;
  left: 50% !important;
  width: 60% !important;
  height: 2px !important;
  background: var(--second) !important;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg)) !important;
  border-radius: 1px !important;
}

html.js .damper.open .damper-line::before {
  background: var(--ink) !important;
}

html.js .damper.today .damper-line {
  transform: none !important;
  width: 2rem !important;
  height: 2rem !important;
}

/* Hero */
.hero {
  position: relative;
  padding-block: 2rem 4rem;
}

.smoke-connector {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

.smoke-connector path {
  fill: none;
  stroke: var(--second);
  stroke-width: 1.5;
  opacity: 0.85;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
}

/* Hero grid: lead in column 1, sidebar in column 2 */
.hero-grid {
  display: grid;
  gap: var(--gap);
  align-items: start;
}

@media (min-width: 901px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.9fr) minmax(220px, 0.9fr);
  }

  html.js .hero-grid {
    grid-template-columns: minmax(0, 1.9fr) minmax(220px, 0.9fr) !important;
  }

  .tile--lead {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-sidebar {
    grid-column: 2;
    grid-row: 1;
  }
}

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

  html.js .hero-grid {
    grid-template-columns: 1fr !important;
  }
}

.tile--lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: visible !important;
  position: relative !important;
  min-height: 0;
}

@media (min-width: 901px) {
  .tile--lead {
    min-height: 65vh;
  }

  html.js .tile--lead {
    min-height: 65vh !important;
  }
}

@media (max-width: 900px) {
  .tile--lead,
  .hero-sidebar {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  html.js .tile--lead {
    min-height: 0 !important;
  }
}

.lead-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 52%;
}

@media (max-width: 900px) {
  .lead-content {
    max-width: none;
  }

  html.js .lead-content {
    max-width: none !important;
  }
}

@media (min-width: 901px) {
  html.js .lead-content {
    max-width: 52% !important;
  }
}

.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-self: start;
}

html.js .hero-sidebar {
  gap: 0.75rem !important;
}

.hero-sidebar .tile {
  padding: 1rem;
}

.hero-sidebar .tile__kicker {
  font-size: 0.7rem;
  margin-bottom: 0.35rem;
}

.hero-sidebar .hours-text {
  font-size: 0.85rem;
}

.hero-sidebar .btn {
  margin-top: 0.5rem;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.rail {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

html.js .rail {
  gap: 0.5rem !important;
}

.note {
  background: transparent;
  border: 1px solid rgba(157, 181, 199, 0.12);
  border-radius: var(--radius);
  padding: 0.75rem;
}

.note h3 {
  margin: 0;
  font-size: 1rem;
}

.note p {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: var(--second);
}

.rail .note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.rail .note .price {
  font-size: 0.85rem;
  padding: 0.15rem 0.55rem;
}

.hours-text {
  font-size: 0.9rem;
  color: var(--second);
  margin: 0;
}

/* Scene framing: larger, wheel off the edge */
.scene {
  position: absolute;
  right: -12%;
  bottom: -20%;
  width: 88%;
  max-width: 720px;
  z-index: 1;
}

.scene img {
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .scene {
    position: relative;
    right: auto;
    bottom: auto;
    width: 110%;
    max-width: none;
    margin: 1.5rem -5% 0;
  }
}

@media (min-width: 901px) {
  html.js .scene {
    position: absolute !important;
    right: -12% !important;
    bottom: -20% !important;
    width: 88% !important;
    max-width: 720px !important;
    margin: 0 !important;
    z-index: 1;
  }
}

@media (max-width: 900px) {
  html.js .scene {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: 110% !important;
    max-width: none !important;
    margin: 1.5rem -5% 0 !important;
  }
}

/* Sections */
.section {
  position: relative;
  padding-block: 4rem;
  z-index: 1;
}

.section-header {
  margin-bottom: 2rem;
}

.section-lead {
  color: var(--second);
  max-width: 60ch;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.two-col--reverse .col-media {
  order: -1;
}

.col-media img {
  border-radius: var(--radius);
  width: 100%;
}

/* Menu */
.menu-stage {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.menu-slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.menu-slide__media img {
  border-radius: var(--radius);
  width: 100%;
}

.menu-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.menu-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(157, 181, 199, 0.1);
}

.item-name {
  font-weight: 600;
}

.menu-note {
  color: var(--second);
  font-size: 0.95rem;
}

/* Duotone break */
.duotone-break {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.duotone-break__text {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
}

.duotone-break__text p {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--ink);
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Sides */
.menu-list--two {
  grid-template-columns: 1fr 1fr;
}

/* Platters */
.platter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap);
  margin-bottom: 2rem;
}

.platter-card {
  background: var(--ground-1);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.platter-card h3 {
  margin: 0;
}

.platter-card p {
  margin: 0;
  color: var(--second);
  font-size: 0.95rem;
  flex-grow: 1;
}

.platter-card--large {
  grid-column: 1 / -1;
}

.platter-media img {
  width: 100%;
  border-radius: var(--radius);
}

/* Media */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
}

.media-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--ground-1);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, background 0.15s ease;
}

.media-card:hover,
.media-card:active,
.media-card:focus-visible {
  background: var(--ground-2);
  transform: translateY(-2px);
  color: var(--ink);
}

.media-source {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--second);
}

.media-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-block h3 {
  font-family: var(--font-text);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--second);
  margin: 0 0 0.5rem;
}

.address-block {
  font-style: normal;
}

.address-block p {
  margin: 0;
}

.contact-detail {
  color: var(--second);
  margin: 0.25rem 0;
}

.phone {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0.25rem 0;
}

.email {
  margin: 0.5rem 0 1rem;
}

/* Text link states in contacts and footer */
.footer-col a,
.contact-detail a,
.email a,
.address-block a,
.phone a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
  transition: color 0.15s ease, text-decoration-thickness 0.15s ease;
}

.footer-col a:hover,
.footer-col a:active,
.footer-col a:focus-visible,
.contact-detail a:hover,
.contact-detail a:active,
.contact-detail a:focus-visible,
.email a:hover,
.email a:active,
.email a:focus-visible,
.address-block a:hover,
.address-block a:active,
.address-block a:focus-visible,
.phone a:hover,
.phone a:active,
.phone a:focus-visible {
  color: var(--ink);
  text-decoration-thickness: 2px;
}

.footer-col a.is-pressed,
.contact-detail a.is-pressed,
.email a.is-pressed,
.address-block a.is-pressed,
.phone a.is-pressed {
  color: var(--ink);
  text-decoration-thickness: 2px;
}

/* Footer */
.site-footer {
  background: var(--ground);
  border-top: 1px solid rgba(157, 181, 199, 0.1);
  padding-block: 3rem 2rem;
  position: relative;
  z-index: 1;
}

.footer-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  margin: 0 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col p {
  margin: 0 0 1rem;
  color: var(--second);
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--second);
  border-radius: 50%;
  color: var(--second);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.social-list a:hover,
.social-list a:active,
.social-list a:focus-visible {
  background: var(--second);
  border-color: var(--second);
  color: var(--ground);
}

.social-list svg {
  width: 1rem;
  height: 1rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(157, 181, 199, 0.1);
}

.footer-legal a {
  color: var(--second);
  font-size: 0.9rem;
}

/* Reveal states (script-driven) */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: transform, opacity;
}

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

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

  .btn,
  .price,
  .media-card,
  .damper,
  .damper-line::before {
    transition: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .two-col,
  .menu-slide {
    grid-template-columns: 1fr;
  }

  .two-col--reverse .col-media {
    order: -1;
  }

  .menu-list--two {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 390px) {
  :root {
    --gap: 0.75rem;
  }

  .container {
    width: calc(100% - 1rem);
  }

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

  .nav-tabs {
    gap: 0.75rem;
  }

  .tile {
    padding: 1rem;
  }

  .day-dampers {
    gap: 0.35rem;
  }

  .damper {
    font-size: 0.65rem;
  }

  .damper-line {
    width: 1.35rem;
    height: 1.35rem;
  }

  .damper.today .damper-line {
    width: 1.75rem;
    height: 1.75rem;
  }

  .damper.today .damper-label {
    font-size: 0.75rem;
  }

  html.js .damper .damper-line {
    width: 1.35rem !important;
    height: 1.35rem !important;
  }

  html.js .damper.today .damper-line {
    width: 1.75rem !important;
    height: 1.75rem !important;
  }

  .platter-card--large {
    grid-column: auto;
  }

  .menu-list--two {
    grid-template-columns: 1fr;
  }

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