/* Willow Creek Bar & Grill — mobile-first preview */

:root {
  --pine: #1a3328;
  --pine-deep: #102119;
  --cream: #f6f1e6;
  --cream-2: #fffaf3;
  --paper: #f3ecdf;
  --sand: #e7dcc8;
  --ink: #241c14;
  --ink-soft: #4e453c;
  --ember: #b04a1e;
  --ember-bright: #c4622d;
  --ember-deep: #8a3816;
  --gold: #a97828;
  --line: rgba(36, 28, 20, 0.12);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --pad: 1.15rem;
  --shadow: 0 12px 32px rgba(36, 28, 20, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse at 0% 0%, rgba(196, 98, 45, 0.07), transparent 42%),
    radial-gradient(ellipse at 100% 8%, rgba(26, 51, 40, 0.05), transparent 34%);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

address {
  font-style: normal;
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 660;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 80;
  background: var(--cream);
  color: var(--pine);
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  font-weight: 700;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.kicker {
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember-deep);
}

.lede {
  margin-top: 0.7rem;
  max-width: 38rem;
  color: var(--ink-soft);
}

.section {
  padding: 3.25rem 0;
}

/* Preview strip */

.preview-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  margin: 0;
  padding: 0.35rem 0.75rem;
  background: var(--pine-deep);
  color: #e7dcc8;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 56px;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn svg {
  flex: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: 3px solid var(--pine);
  outline-offset: 3px;
}

.btn-ember {
  background: var(--ember);
  color: #fffaf4;
}

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

.btn-cream {
  background: var(--cream-2);
  color: var(--pine);
}

.btn-cream:hover {
  background: #fff;
}

/* Hero */

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100svh - 2rem);
  color: var(--cream);
  background: var(--pine);
  isolation: isolate;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(10, 22, 16, 0.94) 0%, rgba(10, 22, 16, 0.72) 32%, rgba(10, 22, 16, 0.18) 62%, rgba(10, 22, 16, 0.45) 100%);
}

.hero-inner {
  width: min(var(--wrap), calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
  padding: 2.5rem 0 1.7rem;
}

.mark {
  width: 46px;
  height: 32px;
  margin-bottom: 0.7rem;
  color: var(--cream);
}

.hero h1 {
  font-size: clamp(2.55rem, 10.4vw, 5.6rem);
  line-height: 0.9;
  font-weight: 660;
  max-width: 12ch;
}

.hero h1 em {
  font-style: italic;
  font-weight: 520;
  color: #f0b08a;
}

.tagline {
  margin-top: 0.9rem;
  max-width: 22rem;
  font-size: 1.15rem;
  line-height: 1.35;
  color: #f6f1e6;
  text-wrap: balance;
}

.hero-where {
  margin-top: 0.4rem;
  color: #e4d3bc;
  font-size: 1rem;
}

.hero-status {
  display: inline-block;
  margin-top: 0.95rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(246, 241, 230, 0.4);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-status[hidden] {
  display: none;
}

.hero-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.hero .btn:focus-visible {
  outline-color: #fffaf4;
}

/* Friday fish fry */

.fry {
  background-color: var(--ember);
  background-image: repeating-linear-gradient(
    -14deg,
    rgba(255, 248, 240, 0.07) 0 14px,
    rgba(80, 24, 6, 0.05) 14px 16px
  );
  color: #fffaf4;
  text-align: center;
  padding: 2.8rem var(--pad) 3rem;
}

.fry-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fry h2 {
  font-size: clamp(3.4rem, 16vw, 7rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
}

.fry-deck {
  max-width: 34rem;
  margin: 1rem auto 0;
  font-size: 1.2rem;
  line-height: 1.4;
}

.fry-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 0.85rem;
  padding: 0.4rem 0.2rem;
  color: #fffaf4;
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.fry-link:hover {
  text-decoration-thickness: 2px;
}

.fry-link:focus-visible {
  outline: 3px solid #fffaf4;
  outline-offset: 4px;
  border-radius: 6px;
}

/* Favorites */

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--cream-2);
  border: 1px solid rgba(26, 51, 40, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card-media {
  aspect-ratio: 3 / 2;
  background: var(--sand);
}

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

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.95rem 1rem 1.1rem;
}

.card h3 {
  font-size: 1.45rem;
  line-height: 1.1;
}

.card p {
  margin-top: 0.35rem;
  color: var(--ink-soft);
}

.price {
  color: var(--ember-deep);
  font-family: var(--serif);
  font-weight: 660;
  font-size: 1.25rem;
}

.card-body .price {
  margin-top: auto;
  padding-top: 0.55rem;
}

/* Menu */

.menu-section {
  background: #eadfcb;
}

.menu-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.menu-block {
  background: var(--cream-2);
  border-radius: 16px;
  padding: 1.1rem 1rem 0.4rem;
  border: 1px solid rgba(26, 51, 40, 0.06);
  scroll-margin-top: 0.75rem;
}

.menu-block h3 {
  font-size: 1.7rem;
  line-height: 1.05;
}

.menu-note {
  margin-top: 0.25rem;
  color: var(--ember-deep);
  font-size: 0.92rem;
  font-weight: 700;
}

.item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.item:last-child {
  border-bottom: 0;
}

.item h4 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
}

.item p {
  margin: 0.15rem 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.item .price {
  margin: 0 !important;
  font-size: 1.15rem;
}

/* Hours and map */

.visit-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.15rem;
}

.visit-address {
  display: grid;
  gap: 0.15rem;
  margin-top: 1rem;
}

.addr-link,
.phone-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  max-width: 100%;
}

.addr-link {
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.phone-link {
  color: var(--ember-deep);
  font-size: 1.25rem;
}

.hours {
  width: 100%;
  margin-top: 0.6rem;
  border-collapse: collapse;
}

.hours thead th {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hours th,
.hours td {
  padding: 0.8rem 0.35rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.hours th {
  text-align: left;
  font-weight: 700;
}

.hours td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.hours .note {
  display: block;
  margin-top: 0.1rem;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.hours tr.is-closed th,
.hours tr.is-closed td {
  color: var(--ink-soft);
}

.hours tr.is-today th,
.hours tr.is-today td {
  background: #f8e3d2;
}

.hours tr.is-today th {
  box-shadow: inset 4px 0 0 var(--ember);
  border-radius: 8px 0 0 8px;
}

.hours tr.is-today td {
  border-radius: 0 8px 8px 0;
  font-weight: 700;
}

.today-chip {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: var(--ember);
  color: #fffaf4;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.map-panel {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 280px;
}

.map-panel iframe {
  width: 100%;
  flex: 1;
  min-height: 280px;
  border: 0;
  border-radius: 16px;
  background: var(--sand);
}

.map-link {
  font-weight: 700;
  color: var(--pine);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.map-link:focus-visible,
.addr-link:focus-visible,
.phone-link:focus-visible,
.footer a:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reviews */

.reviews {
  background: var(--cream);
}

.reviews-intro {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.rating-badge {
  display: grid;
  justify-items: center;
  gap: 0.1rem;
  width: fit-content;
  min-width: 9.5rem;
  padding: 0.9rem 1.1rem 0.8rem;
  background: var(--pine);
  color: var(--cream);
  border-radius: 18px;
}

.rating-score {
  font-family: var(--serif);
  font-weight: 660;
  font-size: 3rem;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.rating-caption {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.stars {
  display: flex;
  gap: 2px;
  margin: 0.25rem 0;
}

.star,
.star-partial {
  width: 22px;
  height: 22px;
  display: block;
  flex: none;
}

.star {
  color: #e2b15a;
}

.star-partial {
  position: relative;
  color: rgba(246, 241, 230, 0.38);
}

.star-partial svg {
  width: 22px;
  height: 22px;
  display: block;
}

.star-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 100%;
  overflow: hidden;
  color: #e2b15a;
}

.review-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.review {
  margin: 0;
  padding: 1rem 1rem 1.05rem;
  background: var(--cream-2);
  border: 1px solid rgba(26, 51, 40, 0.08);
  border-radius: 16px;
}

.sample-flag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember-deep);
}

.review blockquote {
  margin: 0.55rem 0 0;
  font-family: var(--serif);
  font-weight: 520;
  font-size: 1.28rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* Facebook */

.social {
  background: var(--pine);
  color: var(--cream);
  text-align: center;
  padding: 3.2rem var(--pad) 3.4rem;
}

.social h2 {
  font-size: clamp(2rem, 6vw, 3rem);
}

.social .lede {
  margin-inline: auto;
  color: #e7dcc8;
}

.social .btn {
  width: min(100%, 28rem);
  margin-top: 1.15rem;
  white-space: normal;
}

.social .btn:focus-visible {
  outline-color: #fffaf4;
}

/* Footer */

.site-footer {
  background: var(--pine-deep);
  color: #e7dcc8;
  padding: 2.4rem 0 2rem;
}

.site-footer .wrap {
  display: grid;
  gap: 1.1rem;
}

.footer-name {
  font-family: var(--serif);
  font-weight: 660;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  color: var(--cream);
  line-height: 1;
}

.footer-owned {
  margin-top: 0.3rem;
  color: #cbbba6;
}

.site-footer a {
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
}

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

.footer-hours li + li {
  margin-top: 0.2rem;
}

.copy {
  margin: 0;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(246, 241, 230, 0.14);
  color: #cbbba6;
  font-size: 0.95rem;
}

.photo-credit {
  margin: 0;
  color: #a89884;
  font-size: 0.82rem;
}

/* Sticky call — mobile only */

.call-dock {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(246, 241, 230, 0.96);
  border-top: 3px solid var(--ember-bright);
  box-shadow: 0 -10px 28px rgba(36, 28, 20, 0.12);
  transition: transform 0.2s ease;
}

.js .call-dock {
  transform: translateY(110%);
}

.js .call-dock.is-shown {
  transform: none;
}

.call-dock .btn {
  width: 100%;
}

@media (min-width: 700px) {
  .cards,
  .menu-grid,
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 220px));
  }
}

@media (max-width: 799px) {
  html {
    scroll-padding-bottom: 6rem;
  }

  .site-footer {
    padding-bottom: calc(2rem + 5.4rem + env(safe-area-inset-bottom));
  }
}

@media (min-width: 800px) {
  .call-dock {
    display: none;
  }

  .section {
    padding: 4.5rem 0;
  }

  .visit-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: stretch;
    gap: 1.75rem;
  }

  .map-panel {
    min-height: 100%;
  }

  .reviews-intro {
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
  }

  .site-footer .wrap {
    grid-template-columns: 1.3fr 1fr 1fr;
    align-items: start;
  }

  .copy,
  .photo-credit {
    grid-column: 1 / -1;
  }
}

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

@media (min-width: 1020px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

  .btn,
  .call-dock {
    transition: none;
  }
}

@media print {
  .preview-banner,
  .call-dock,
  .hero-actions,
  .hero-shade,
  .hero-photo,
  .social {
    display: none;
  }

  body {
    padding: 0;
    background: white;
    color: black;
  }

  .hero {
    min-height: 0;
    color: black;
    background: white;
  }
}

/* Larger tap target for the Hours phone link */
.phone-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 999px; }
