/* =========================================================
   Fig & Filter — shared styles
   Plain CSS, mobile-first. Breakpoint: 768px.
   ========================================================= */

:root {
  --fig: #4A2C4D;
  --fig-container: #5C3760;
  --amber: #D9A441;
  --offwhite: #FAF6F0;
  --ink: #221E1F;
  --surface: #F2ECE2;
  --surface-high: #E8E0D2;
  --outline: #6E6359;
  --outline-variant: #D6CBBF;
  --radius: 16px;
  --radius-sm: 8px;
  --font-heading: Georgia, "Times New Roman", Times, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition: 150ms ease-out;
}

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--offwhite);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.65;
  overflow-x: clip;
}

main {
  flex: 1;
}

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

h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--fig);
  line-height: 1.15;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
}

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

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

li + li {
  margin-top: 0.5em;
}

strong {
  color: var(--fig);
}

a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  color: var(--fig);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  overflow-wrap: anywhere;
  transition:
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition);
}

a:hover {
  color: var(--fig-container);
}

:focus-visible {
  outline: 3px solid var(--fig);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- Skip link ---------- */

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--fig);
  color: var(--offwhite);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
  color: var(--offwhite);
}

.skip-link:focus-visible {
  outline-color: var(--amber);
}

/* ---------- Header and navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--offwhite);
  border-bottom: 1px solid var(--outline-variant);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  min-height: 72px;
}

.brand {
  min-height: 44px;
  color: var(--fig);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.brand:hover {
  color: var(--fig);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--fig);
  cursor: pointer;
  transition:
    background-color var(--transition),
    border-color var(--transition);
}

.nav-toggle:hover {
  background: var(--surface);
  border-color: var(--outline-variant);
}

.nav-toggle-box {
  position: relative;
  display: block;
  width: 24px;
  height: 18px;
}

.nav-toggle-box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.nav-toggle-box span:nth-child(1) {
  top: 0;
}

.nav-toggle-box span:nth-child(2) {
  top: 8px;
}

.nav-toggle-box span:nth-child(3) {
  top: 16px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav {
  display: none;
  flex-basis: 100%;
  padding: 8px 0 12px;
  border-top: 1px solid var(--outline-variant);
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav li + li {
  margin-top: 0;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--fig);
  background: var(--surface);
}

.site-nav a[aria-current="page"] {
  color: var(--fig);
  background: var(--surface);
  box-shadow: inset 4px 0 0 var(--amber);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(420px, 62vh, 620px);
  overflow: hidden;
  background: var(--fig);
  color: var(--offwhite);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(74, 44, 77, 0.96) 0%,
    rgba(74, 44, 77, 0.84) 55%,
    rgba(74, 44, 77, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 48px;
}

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

.hero h1 {
  color: var(--offwhite);
  font-size: clamp(2.25rem, 7vw, 3.5rem);
  margin-bottom: 8px;
}

.hero-tagline {
  color: var(--offwhite);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: 1.4;
  margin: 0 0 16px;
}

.hero-meta {
  color: rgba(250, 246, 240, 0.92);
  font-size: 1.0625rem;
  margin: 0 0 24px;
}

.hero .btn {
  width: 100%;
  max-width: 320px;
}

.hero :focus-visible {
  outline-color: var(--amber);
}

/* ---------- Buttons and text links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--fig);
  border-color: var(--fig);
  color: var(--offwhite);
}

.btn-primary:hover {
  background: var(--fig-container);
  border-color: var(--fig-container);
  color: var(--offwhite);
}

.btn-on-dark {
  background: var(--offwhite);
  border: 2px solid var(--amber);
  color: var(--fig);
}

.btn-on-dark:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.text-link {
  color: var(--fig);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--fig-container);
}

/* ---------- Sections ---------- */

.section {
  padding-block: 24px;
}

.page-intro {
  padding-block: 32px 8px;
}

.page-intro h1 {
  margin-bottom: 0;
}

.page-intro .lede {
  max-width: 70ch;
  margin-top: 16px;
}

.section h2,
.panel h2 {
  position: relative;
  padding-top: 16px;
}

.section h2::before,
.panel h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: var(--amber);
}

.dietary-note {
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 1rem;
}

.teaser p {
  font-size: 1.125rem;
}

/* ---------- Cards and panels ---------- */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.card {
  padding: 24px;
  border: 1px solid var(--outline-variant);
  border-top: 3px solid var(--amber);
  border-radius: var(--radius);
  background: var(--surface);
}

.card h3 {
  margin-bottom: 8px;
}

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

.prose-panel,
.panel,
.visit-card,
.package,
.founder {
  padding: 24px;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius);
  background: var(--surface);
}

.prose-panel {
  max-width: 800px;
  margin-inline: auto;
}

.panel-stack {
  display: grid;
  gap: 24px;
}

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

/* ---------- Photographs ---------- */

figure {
  margin: 0;
}

.photo-band img,
.photo-square img {
  width: 100%;
  height: auto;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius);
  object-fit: cover;
}

.photo-band img {
  aspect-ratio: 16 / 9;
}

.photo-3-2 img {
  aspect-ratio: 3 / 2;
}

.photo-stack {
  display: grid;
  gap: 16px;
  padding-block: 8px 16px;
}

.photo-square {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}

.photo-square img {
  aspect-ratio: 1 / 1;
}

/* ---------- Menu tables ---------- */

.menu-table,
.hours-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.menu-table th,
.menu-table td,
.hours-table th,
.hours-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--outline-variant);
  text-align: left;
  vertical-align: top;
}

.menu-table thead th,
.hours-table thead th {
  background: var(--surface-high);
  color: var(--fig);
  font-size: 1rem;
  font-weight: 700;
}

.menu-table th:last-child,
.menu-table td:last-child {
  width: 96px;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.menu-table td:first-child {
  overflow-wrap: anywhere;
}

.hours-table th:last-child,
.hours-table td:last-child {
  width: 58%;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.menu-table tbody tr:last-child td,
.hours-table tbody tr:last-child td {
  border-bottom: 0;
}

.footnote {
  padding-top: 16px;
  border-top: 1px solid var(--outline-variant);
}

.menu-end .cta-row {
  margin-top: 24px;
}

/* ---------- Packages ---------- */

.package-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.package {
  border-top: 4px solid var(--amber);
}

.package h3 {
  margin-bottom: 8px;
}

.package > p {
  margin-bottom: 0;
}

.package ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.package li {
  position: relative;
  margin: 0;
  padding-left: 24px;
}

.package li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

/* ---------- About ---------- */

.founder-list {
  display: grid;
  gap: 24px;
}

.founder {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.founder img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-sm);
  justify-self: center;
}

.founder h3 {
  margin-bottom: 8px;
}

/* ---------- Visit ---------- */

.visit-grid {
  display: grid;
  gap: 24px;
}

.address-name {
  margin: 0 0 4px;
  color: var(--fig);
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.info-list {
  list-style: disc;
  padding-left: 1.25em;
}

.info-list li + li {
  margin-top: 0.75em;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

.contact-list li + li {
  margin-top: 8px;
}

/* ---------- CTA rows ---------- */

.cta-row {
  display: flex;
  justify-content: flex-start;
}

.cta-row .btn {
  width: 100%;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 48px;
  background: var(--fig);
  color: var(--offwhite);
}

.footer-grid {
  display: grid;
  gap: 32px;
}

.footer-brand {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
}

.footer-tagline {
  margin: 0;
  color: rgba(250, 246, 240, 0.9);
}

.footer-heading {
  margin: 0 0 8px;
  padding-top: 12px;
  border-top: 2px solid var(--amber);
  color: var(--offwhite);
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.site-footer p {
  margin: 0 0 4px;
}

.site-footer a {
  color: var(--offwhite);
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
}

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

.site-footer :focus-visible {
  outline-color: var(--amber);
}

/* ---------- Responsive ---------- */

@media (min-width: 600px) {
  .hero .btn {
    width: auto;
    min-width: 220px;
  }

  .cta-row .btn {
    width: auto;
    min-width: 240px;
  }
}

@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }

  .header-inner {
    flex-wrap: nowrap;
    gap: 24px;
  }

  .brand {
    font-size: 1.75rem;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    flex-basis: auto;
    padding: 0;
    border-top: 0;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 2px;
  }

  .site-nav a {
    min-height: 44px;
    padding: 10px 12px;
  }

  .site-nav a[aria-current="page"] {
    background: transparent;
    box-shadow: inset 0 -2px 0 var(--amber);
  }

  .site-nav a[aria-current="page"]:hover {
    background: var(--surface);
  }

  .section {
    padding-block: 48px;
  }

  .page-intro {
    padding-block: 40px 12px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .package-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prose-panel,
  .panel,
  .visit-card,
  .package,
  .founder {
    padding: 32px;
  }

  .founder {
    grid-template-columns: 260px 1fr;
    align-items: start;
    gap: 32px;
  }

  .founder img {
    max-width: none;
    justify-self: start;
  }

  .visit-grid {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 48px;
  }
}

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

  .package-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
