/* Sun Valley Cafe — concept redesign
   Brand: rust #E2533A, sun gold #F0B860, cream, ink.
   Official logo, hours, menu, and copy. */

:root {
  --rust: #c9442e;
  --rust-hot: #e2533a;
  --rust-deep: #9e3220;
  --sun: #f0b860;
  --sun-deep: #d4a04a;
  --sun-soft: #f6d9a0;
  --cream: #fbf6ec;
  --cream-2: #f3ead6;
  --paper: #fffdf8;
  --ink: #1c1410;
  --ink-2: #2a211c;
  --ink-soft: #5a4a40;
  --muted: #7a6a5e;
  --line: rgba(28, 20, 16, 0.12);
  --line-strong: rgba(28, 20, 16, 0.22);
  --white: #fffdf8;
  --shadow: 0 16px 40px rgba(28, 20, 16, 0.12);
  --radius: 14px;
  --header-h: 5rem;
  --concept-h: 2rem;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--concept-h) + 0.75rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust-deep); }
a:hover { color: var(--rust); }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.6em;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* Concept ribbon */
.concept-ribbon {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--concept-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--sun-soft);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 1rem;
}
.concept-ribbon strong { color: var(--sun); font-weight: 700; }

/* Header */
.site-header {
  position: sticky;
  top: var(--concept-h);
  z-index: 40;
  background: rgba(28, 20, 16, 0.94);
  backdrop-filter: blur(12px);
  color: var(--cream);
  border-bottom: 1px solid rgba(240, 184, 96, 0.2);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.45rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}
.logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
  overflow: visible;
}
.logo-link img {
  height: 3.85rem;
  width: auto;
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
}
.nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a:focus-visible {
  color: var(--sun);
  border-bottom-color: var(--sun);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }
.btn-primary {
  background: var(--rust);
  color: #fff;
  border-color: var(--rust);
}
.btn-primary:hover { background: var(--rust-hot); color: #fff; border-color: var(--rust-hot); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(251, 246, 236, 0.45);
}
.btn-ghost:hover { background: rgba(251, 246, 236, 0.08); color: #fff; border-color: var(--sun); }
.btn-ink {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn-ink:hover { background: var(--ink-2); color: var(--sun); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.nav .btn { margin-left: 0.4rem; color: #fff; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(251, 246, 236, 0.3);
  color: var(--cream);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--cream);
  position: relative;
  margin: 0 auto;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.site-header.is-open .nav-toggle span { background: transparent; }
.site-header.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.site-header.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
.site-header.is-open .nav-toggle span::before,
.site-header.is-open .nav-toggle span::after { transition: transform 0.15s, top 0.15s; }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--concept-h) - var(--header-h));
  display: grid;
  place-items: end stretch;
  color: var(--cream);
  isolation: isolate;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(28,20,16,0.25) 0%, rgba(28,20,16,0.35) 40%, rgba(28,20,16,0.88) 100%);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding: 5rem 1.25rem 3.5rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 0.75rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 650;
  max-width: 14ch;
  margin-bottom: 0.4rem;
}
.hero .tag {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 450;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  color: var(--sun-soft);
  margin-bottom: 1.1rem;
}
.hero p.lead {
  max-width: 38rem;
  font-size: 1.12rem;
  color: rgba(251, 246, 236, 0.9);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 1.25rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.95rem;
  color: rgba(251, 246, 236, 0.85);
}
.hero-meta strong { color: var(--sun); font-weight: 700; }

/* Layout */
.section { padding: 4.5rem 1.25rem; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.4rem;
}
.section h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 42rem; }
.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-ink { background: var(--ink); color: var(--cream); }
.bg-ink h2, .bg-ink h3 { color: var(--cream); }
.bg-warm { background: var(--cream-2); }

/* Feature cards / photos */
.photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
}
.photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--ink);
}
.photo-card img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}
.photo-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1rem 0.85rem;
  background: linear-gradient(transparent, rgba(28,20,16,0.85));
  color: #fff;
  font-weight: 650;
  font-size: 0.95rem;
}

/* Specials */
.specials-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.7rem;
  margin-top: 1.75rem;
}
.special-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 0.7rem 1.1rem;
  text-align: center;
  min-height: 8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}
.special-card .day {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
}
.special-card .dish {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.25;
}
.special-note { margin-top: 1.1rem; color: var(--ink-soft); font-size: 0.98rem; }

/* About / split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.split img {
  width: 100%;
  height: 100%;
  max-height: 28rem;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}
.stat {
  border-top: 2px solid var(--sun);
  padding-top: 0.7rem;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
  text-wrap: balance;
}
.stat span { color: var(--ink-soft); font-size: 0.92rem; }

/* Menu */
.menu-wrap { margin-top: 1.5rem; }
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.menu-tab {
  appearance: none;
  border: 1.5px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
}
.menu-tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.menu-tab:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }
.menu-panel[hidden] { display: none; }
.section-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.75rem;
}
.section-jump a {
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  color: var(--ink-soft);
  background: var(--cream-2);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}
.section-jump a:hover { color: var(--rust-deep); background: var(--sun-soft); }
.menu-section { margin: 0 0 2.4rem; }
.menu-section h3 {
  font-size: 1.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--sun);
  margin-bottom: 0.7rem;
}
.menu-section .sec-desc {
  color: var(--ink-soft);
  font-size: 0.98rem;
  white-space: pre-line;
  margin-bottom: 1rem;
  max-width: 48rem;
}
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.menu-item:last-child { border-bottom: 0; }
.item-name {
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
}
.popular {
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust-deep);
  background: rgba(233, 83, 58, 0.12);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
}
.item-price {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.item-desc {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: 0.95rem;
  white-space: pre-line;
  margin: 0;
}
.menu-footnote {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 48rem;
}
.kids-note {
  background: var(--cream-2);
  border-left: 3px solid var(--sun);
  padding: 0.85rem 1rem;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 14rem 14rem;
  gap: 0.75rem;
}
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure:first-child { grid-row: 1 / span 2; }

/* Visit / contact */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1.25rem;
}
.hours-table th, .hours-table td {
  text-align: left;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.hours-table td { font-variant-numeric: tabular-nums; font-weight: 500; }
.hours-table th { width: 42%; }
.map-frame {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--cream-2);
}
.contact-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.contact-list li { margin: 0 0 0.65rem; }
.contact-list a { font-weight: 700; text-decoration: none; color: var(--ink); }
.contact-list a:hover { color: var(--rust); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(251, 246, 236, 0.8);
  padding: 2.75rem 1.25rem 2rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: start;
}
.site-footer img { height: 5.2rem; width: auto; }
.site-footer a { color: var(--sun-soft); text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }
.footer-copy {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(240,184,96,0.18);
  font-size: 0.85rem;
  color: rgba(251, 246, 236, 0.6);
}
.footer-copy p { margin: 0 0 0.4rem; }

@media (max-width: 900px) {
  .photo-row, .specials-grid, .split, .visit-grid, .footer-inner, .stat-row, .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .specials-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-rows: auto; }
  .gallery figure:first-child { grid-row: auto; }
  .gallery img { height: 14rem; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--ink-2);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9rem 1.25rem 1.35rem;
    gap: 0.85rem;
    border-bottom: 1px solid rgba(240,184,96,0.2);
    box-shadow: 0 16px 24px rgba(0,0,0,0.25);
  }
  .site-header.is-open .nav { display: flex; }
  .nav .btn { margin-left: 0; }
  .photo-row, .stat-row, .split, .visit-grid, .gallery { grid-template-columns: 1fr; }
  .hero { min-height: 34rem; }
  .logo-link img { height: 2.9rem; }
  .photo-card img { height: 14rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
