/* Marino's Little Italy: styled after the printed menu.
   Black page, white serif capitals, script accents, red frame, flag stripe. */
:root {
  --bg: #0D0D0D;
  --bg-alt: #171616;
  --surface: #1F1E1E;
  --text: #F6F2EB;
  --muted: #B8B1A7;
  --red: #D9272E;          /* the menu border */
  --red-hover: #EA3E45;
  --on-red: #FFFFFF;
  --green: #1F9D4C;        /* flag green */
  --line: rgba(246, 242, 235, 0.14);
  --dots: rgba(246, 242, 235, 0.3);
  --open: #4CC777;
  --flag: linear-gradient(90deg, #1F9D4C 0 33.33%, #F6F2EB 33.33% 66.66%, #D9272E 66.66%);
  --font-caps: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --font-script: "Pinyon Script", "Edwardian Script ITC", "Snell Roundhand", cursive;
  --font-body: "Karla", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1.1rem, 4vw, 2.25rem);
  --bar-h: 4.25rem;
  /* The brand is a black menu, so the site stays dark in every mode */
  color-scheme: dark;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(4.5rem + env(safe-area-inset-top, 0px)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--font-caps); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: 0.03em; }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.band { background: var(--bg-alt); }
.script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; line-height: 1; }
.eyebrow { font-family: var(--font-script); font-size: clamp(2rem, 5vw, 2.7rem); color: var(--text); margin: 0 0 0.35rem; line-height: 1.1; }
.lead { font-size: clamp(1.1rem, 2vw, 1.22rem); max-width: 40rem; }
.flag { display: block; height: 6px; background: var(--flag); border-radius: 1px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  padding: 0.95rem 1.35rem; border-radius: 4px; border: 2px solid var(--red);
}
.btn-solid { background: var(--red); color: var(--on-red); }
.btn-solid:hover { background: var(--red-hover); border-color: var(--red-hover); }
.btn-line { color: var(--text); background: transparent; border-color: var(--text); }
.btn-line:hover { border-color: var(--red); color: var(--red-hover); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Preview banner: remove at launch */
.preview-bar { background: var(--text); color: var(--bg); font-size: 0.85rem; text-align: center; padding: 0.45rem var(--gutter); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--flag); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--bg); z-index: 31; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.logo { text-decoration: none; display: inline-flex; align-items: baseline; gap: 0.45rem; white-space: nowrap; }
.logo b { font-family: var(--font-caps); font-weight: 600; font-size: 1.3rem; letter-spacing: 0.06em; }
.logo i { font-family: var(--font-script); font-style: normal; font-size: 1.45rem; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; color: var(--muted); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
.nav .btn { padding: 0.65rem 1.05rem; }
.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--text); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.mobile-menu { border-top: 1px solid var(--line); }
.mobile-menu ul { list-style: none; margin: 0 auto; padding-top: 0.5rem; padding-bottom: 1.25rem; display: grid; }
.mobile-menu a { display: block; padding: 0.95rem 0; font-family: var(--font-caps); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.04em; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu a[aria-current="page"] { color: var(--red-hover); }
@media (max-width: 820px) {
  .nav a { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 821px) { .mobile-menu { display: none !important; } }

/* Status */
.status {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 700; font-size: 0.98rem; padding: 0.45rem 0.95rem; border-radius: 999px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line);
}
.status::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--muted); flex: none; }
.status.is-open::before { background: var(--open); box-shadow: 0 0 0 4px rgba(76, 199, 119, 0.22); }
.status.is-closed::before { background: var(--red); }
.tonight { font-weight: 700; color: var(--red-hover); margin: 1rem 0 0; }
.tonight:empty { display: none; }

/* Home hero: the menu's masthead, with the storefront in a red frame */
.hero { padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 7vw, 5rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; } }
.masthead { display: inline-grid; justify-items: center; text-align: center; margin-bottom: 1.25rem; }
.masthead h1 { display: grid; justify-items: center; width: 100%; font-weight: 600; letter-spacing: 0; }
.masthead .name { font-family: var(--font-caps); font-weight: 600; font-size: clamp(3.2rem, 13vw, 6.2rem); letter-spacing: 0.04em; line-height: 0.95; }
.masthead .flag { width: 100%; margin: 0.6rem 0 0.2rem; }
.masthead .sub { display: flex; align-items: center; gap: 0.75rem; width: 100%; }
.masthead .sub::before, .masthead .sub::after { content: ""; flex: 1; height: 1px; background: var(--text); opacity: 0.8; }
.masthead .little { font-family: var(--font-script); font-size: clamp(2.2rem, 8vw, 3.6rem); line-height: 1.15; }
.masthead .est { font-family: var(--font-script); font-size: clamp(1.4rem, 4vw, 1.9rem); margin-top: -0.2rem; }
.tagline { font-family: var(--font-caps); font-weight: 600; font-size: clamp(1.15rem, 2.6vw, 1.45rem); letter-spacing: 0.05em; margin: 1.25rem 0 0.75rem; }
.framed { border: 6px solid var(--red); }
.hero-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 52%; }
@media (min-width: 900px) { .hero-photo { aspect-ratio: 1 / 1; } .hero-photo img { object-position: 50% 74%; } }
@media (max-width: 820px) { .hero .btn-row .btn { flex: 1 1 100%; } }

/* Quick info strip */
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); max-width: var(--wrap); margin: 0 auto; border-block: 1px solid var(--line); }
.quick > div { padding: 1.25rem var(--gutter); border-bottom: 1px solid var(--line); }
.quick strong { display: block; font-size: 0.85rem; color: var(--muted); font-weight: 700; margin-bottom: 0.2rem; }
.quick a, .quick span { font-weight: 700; font-size: 1.1rem; text-decoration: none; }
@media (min-width: 700px) { .quick > div { border-bottom: 0; border-left: 1px solid var(--line); } .quick > div:first-child { border-left: 0; } }

/* Specials: set like the menu's "Weekly Specials" block */
.specials-list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 0; }
.specials-list li { display: grid; gap: 0.15rem 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .specials-list li { grid-template-columns: 1fr auto; align-items: baseline; } }
.specials-list h3 { font-size: clamp(1.25rem, 3vw, 1.6rem); }
.specials-list .when { font-weight: 700; color: var(--muted); }
.specials-list p { color: var(--muted); margin: 0; grid-column: 1 / -1; }
.specials-list li.is-today h3::after { content: "Tonight"; margin-left: 0.75rem; vertical-align: middle; font: 700 0.8rem/1 var(--font-body); letter-spacing: 0; background: var(--red); color: var(--on-red); padding: 0.3rem 0.6rem; border-radius: 3px; }

/* Owner's picks */
.picks { display: grid; gap: 1.25rem; margin-top: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.pick { background: var(--surface); border-top: 4px solid var(--red); padding: 1.35rem 1.4rem 1.5rem; }
.pick h3 { font-size: 1.2rem; }
.pick h3 span { display: block; margin-top: 0.35rem; font-family: var(--font-body); font-weight: 700; font-size: 1rem; letter-spacing: 0; color: var(--red-hover); }
.pick p { color: var(--muted); margin: 0.5rem 0 0; }

/* Press */
.press { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 860px) { .press { grid-template-columns: auto 1fr auto; gap: 3rem; } }
.press-mark { font-family: var(--font-caps); font-weight: 600; font-size: 1.3rem; letter-spacing: 0.04em; text-align: center; padding: 1rem 1.3rem; }
.press-mark .script { display: block; font-size: 1.7rem; letter-spacing: 0; margin-bottom: 0.2rem; }
.press p { margin: 0; font-size: 1.12rem; }

/* Ways to order */
.ways { display: grid; gap: 1.25rem; margin-top: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.way { background: var(--surface); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; border-top: 4px solid var(--red); }
.way h3 { font-size: 1.35rem; }
.way p { color: var(--muted); flex: 1; margin: 0; }
.way .btn-row { margin-top: 0.75rem; }
.way .btn { padding: 0.8rem 1.1rem; }

/* Menu page: reads like the printed menu */
.menu-sheet { padding: clamp(1.25rem, 4vw, 3rem); background: var(--bg); }
.menu-tabs {
  position: sticky; top: calc(4rem + env(safe-area-inset-top, 0px)); z-index: 20;
  background: var(--bg); padding: 0.75rem 0; margin-top: 1.5rem;
  display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line);
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tabs a { flex: none; text-decoration: none; font-weight: 700; font-size: 0.95rem; padding: 0.5rem 0.95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.menu-tabs a:hover { border-color: var(--red); }
.menu-cat { padding-top: 2.75rem; scroll-margin-top: calc(5.5rem + env(safe-area-inset-top, 0px)); }
.menu-cat h2 { font-family: var(--font-script); font-weight: 400; font-size: clamp(2.6rem, 7vw, 3.4rem); letter-spacing: 0; line-height: 1.1; }
.sub-head { font-family: var(--font-caps); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.04em; margin: 1.75rem 0 0.25rem; }
.cat-notes { color: var(--muted); font-size: 0.97rem; margin: 0.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.2rem; }
.items { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0 3rem; }
@media (min-width: 860px) { .items { grid-template-columns: 1fr 1fr; } }
.item { padding: 0.9rem 0; border-bottom: 1px dashed var(--line); }
.item-top { display: flex; align-items: baseline; gap: 0.5rem; }
.item-name { font-family: var(--font-caps); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.03em; }
.item-top .leader { flex: 1; border-bottom: 2px dotted var(--dots); transform: translateY(-0.3em); min-width: 1rem; }
.item-price { font-weight: 700; white-space: nowrap; }
.mark { color: var(--red-hover); font-weight: 700; font-size: 0.78rem; white-space: nowrap; border: 1px solid currentColor; border-radius: 3px; padding: 0.02rem 0.4rem; font-family: var(--font-body); letter-spacing: 0; }
.mark.spicy { color: #F29B38; }
.item-desc { color: var(--muted); margin: 0.25rem 0 0; font-size: 0.97rem; }
.sizes { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; margin-top: 0.35rem; font-weight: 700; font-size: 0.95rem; }
.sizes span span { color: var(--muted); font-weight: 600; margin-right: 0.3rem; }
.toppings { display: grid; gap: 1rem; margin-top: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.toppings div { background: var(--surface); padding: 1rem 1.2rem; }
.toppings strong { font-family: var(--font-caps); letter-spacing: 0.03em; display: block; margin-bottom: 0.3rem; }
.toppings p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.menu-legend { color: var(--muted); font-size: 0.92rem; margin-top: 2.5rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.menu-legend p { margin: 0 0 0.5rem; }

/* About */
.story { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 860px) { .story { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; } }
.story p:not(.eyebrow) { font-size: 1.12rem; }
.story-photo { aspect-ratio: 4 / 5; overflow: hidden; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.fill-in { border: 2px dashed rgba(217, 39, 46, 0.6); padding: 1.25rem 1.4rem; background: var(--surface); color: var(--muted); }
.fill-in strong { color: var(--text); display: block; margin-bottom: 0.35rem; }
.fill-in ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.note-box { background: var(--surface); border-left: 4px solid var(--red); padding: 1.25rem 1.4rem; }
.note-box strong { font-family: var(--font-caps); letter-spacing: 0.03em; display: block; margin-bottom: 0.3rem; }
.owner-photo { aspect-ratio: 1; border-radius: 50%; max-width: 12rem; display: grid; place-items: center; text-align: center; padding: 1.5rem; font-weight: 700; }

/* Visit */
.visit-grid { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 860px) { .visit-grid { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; } }
.hours { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.hours td { padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.is-today td { color: var(--red-hover); font-weight: 700; }
.contact-lines { margin-top: 1.5rem; display: grid; gap: 0.4rem; font-weight: 700; }
.map { overflow: hidden; min-height: 22rem; background: var(--surface); }
.map iframe { width: 100%; height: 100%; min-height: 22rem; border: 0; display: block; }

/* Inner page heading */
.page-head { padding: clamp(2.5rem, 7vw, 4.5rem) 0 0; }
.page-head h1 { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; font-size: clamp(3.4rem, 10vw, 5rem); line-height: 1.05; }
.page-head .flag { width: min(16rem, 60%); margin: 0.75rem 0 1rem; }
.page-head .lead { color: var(--muted); }

/* Footer */
.site-footer { background: #000; border-top: 6px solid var(--red); padding: 3rem 0 3.25rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.site-footer p { margin: 0 0 0.35rem; color: var(--muted); }
.site-footer .logo b { font-size: 1.5rem; }
.site-footer h3 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; margin-bottom: 0.6rem; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; color: var(--muted); }
.site-footer a { text-underline-offset: 0.2em; color: var(--text); }
.credit { font-size: 0.88rem; margin-top: 2rem !important; }

/* Phone action bar */
.action-bar { display: none; }
@media (max-width: 820px) {
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px)); }
  .action-bar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: #000; border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .action-bar a { height: var(--bar-h); display: grid; place-content: center; justify-items: center; gap: 0.2rem; text-decoration: none; font-weight: 700; font-size: 0.85rem; }
  .action-bar a:first-child { background: var(--red); color: var(--on-red); }
  .action-bar svg { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease; }
  .btn:hover { transform: translateY(-1px); }
  .masthead > * { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .masthead .flag { animation: draw 0.8s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both; transform-origin: left; }
  .masthead .sub { animation-delay: 0.45s; }
  .masthead .est { animation-delay: 0.55s; }
  .mobile-menu:not([hidden]) { animation: drop 0.2s ease-out both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(0.4em); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Phones and tablets: center the masthead logo */
@media (max-width: 899px) {
  .masthead { display: grid; width: fit-content; margin-inline: auto; }
}

/* ---------- Food-first hero, specials photo, story photo ---------- */
.hero-photo img { object-position: 50% 82%; }
@media (min-width: 900px) { .hero-photo { aspect-ratio: 4 / 5; } .hero-photo img { object-position: 50% 72%; } }
/* Phones: show the pizza right under the logo, before the text */
@media (max-width: 899px) {
  .hero-grid { gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy > * { justify-self: start; }
  .hero-copy > .masthead { order: 1; justify-self: center; }
  .hero-copy > .status { order: 2; justify-self: center; }
  .hero-grid > .hero-photo { order: 3; margin: 1.5rem 0 1.75rem; aspect-ratio: 1 / 1; width: 100%; }
  .hero-grid > .hero-photo img { object-position: 50% 100%; } /* square, anchored low: the whole pizza shows */
  .hero-copy > :not(.masthead):not(.status) { order: 4; }
  .hero-copy > .btn-row { width: 100%; }
}
.specials { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .specials { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; } }
.specials-photo { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.specials-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; } /* anchored to the bottom so the whole knife and plate show */
.specials-photo figcaption { position: absolute; left: 0; top: 0; padding: 0.4rem 0.9rem 0.5rem; background: var(--red); color: var(--on-red); font-family: var(--font-script); font-size: 1.6rem; line-height: 1.1; }
:where(img[width][height]) { height: auto; } /* zero specificity: photo frames below can still size their images */
.story-photo img, .hero-photo img, .specials-photo img { height: 100%; }

/* Menu tabs: the section you're reading */
.menu-tabs a[aria-current="true"] { background: var(--red); border-color: var(--red); color: var(--on-red); }

/* ---------- Gentle motion (only when JavaScript adds .motion and motion is allowed) ---------- */
.motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s); }
.motion .reveal.is-in { opacity: 1; transform: none; }
.motion .reveal-photo img { transform: scale(1.06); opacity: 0; transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.8s ease; }
.motion .reveal-photo.is-in img { transform: none; opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .site-header::after { animation: draw 0.9s 0.1s cubic-bezier(0.7, 0, 0.2, 1) both; transform-origin: left; }
  .page-head h1, .page-head .flag { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .page-head .flag { animation-name: draw; animation-delay: 0.2s; transform-origin: left; }
  .hero-photo { animation: rise 0.9s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .pick, .way { transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s; }
  .pick:hover, .way:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45); }
  .menu-tabs a { transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
}
/* Our Story: owner photo */
@media (min-width: 860px) { .story.owner { grid-template-columns: 0.9fr 1.1fr; align-items: center; } }
.owner-shot { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.owner-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* ================= Homepage v2: photo-led ================= */
/* Header floats over the hero photo, then turns solid once you scroll (site.js adds .is-solid) */
.home .site-header { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); background: transparent; border-bottom-color: transparent; transition: background-color .35s ease, border-color .35s ease; }
.home .site-header.is-solid, .home .site-header:has(.mobile-menu:not([hidden])) { background: var(--bg); border-bottom-color: var(--line); }
.home .site-header:not(.is-solid) .nav a:not(.btn) { color: var(--text); text-shadow: 0 1px 8px rgba(0,0,0,.6); }

/* Full-screen hero with crossfading photos */
.hero-full { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.slides { position: absolute; inset: 0; z-index: -2; background: #000; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); opacity: 0; transition: opacity 1.4s ease; }
.slide.is-on { opacity: 1; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse at center, rgba(13,13,13,.62) 0%, rgba(13,13,13,.38) 55%, rgba(13,13,13,.55) 100%),
  linear-gradient(180deg, rgba(13,13,13,.55) 0%, rgba(13,13,13,0) 22%, rgba(13,13,13,0) 70%, rgba(13,13,13,.85) 100%); }
.hero-content { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; padding-top: calc(5.5rem + env(safe-area-inset-top, 0px)); padding-bottom: 4.5rem; }
.hero-full .masthead { margin: 0; display: grid; width: fit-content; filter: drop-shadow(0 4px 24px rgba(0,0,0,.55)); }
.hero-full .masthead .name { font-size: clamp(3.4rem, 12vw, 7.5rem); }
.hero-message { margin: .4rem 0 0; font-family: var(--font-caps); font-weight: 600; font-size: clamp(1.45rem, 3.6vw, 2.6rem); letter-spacing: .04em; line-height: 1.15; max-width: 22ch; text-shadow: 0 2px 18px rgba(0,0,0,.7); }
.hero-live { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.hero-live p { margin: 0; }
.hero-full .status { background: rgba(13,13,13,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-full .tonight { display: inline-flex; align-items: center; padding: .45rem .95rem; border-radius: 999px; background: var(--red); color: var(--on-red); font-size: .98rem; }
.hero-full .btn-row { justify-content: center; margin-top: .4rem; }
.hero-full .btn-line { background: rgba(13,13,13,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.slide-dots { position: absolute; left: 0; right: 0; bottom: 1.4rem; display: flex; justify-content: center; gap: .55rem; }
.slide-dots button { width: 34px; height: 34px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.slide-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(246,242,235,.45); transition: background-color .3s, transform .3s; }
.slide-dots button[aria-pressed="true"]::before { background: var(--text); transform: scale(1.25); }
@media (max-width: 820px) {
  .hero-full { min-height: calc(100svh - var(--bar-h)); }
  .hero-content { padding-top: calc(5rem + env(safe-area-inset-top, 0px)); padding-bottom: 4rem; gap: .9rem; }
  .hero-full .btn-row { width: 100%; max-width: 22rem; }
  .hero-full .btn-row .btn { flex: 1 1 100%; }
}

/* Intro: one centered block, like a menu's first page */
.intro .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.intro h2 { max-width: 20ch; }
.intro .flag { width: min(14rem, 50%); margin: 1rem 0 1.25rem; }
.intro .lead { color: var(--muted); max-width: 44rem; }
.special-chips { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.special-chips li { display: flex; flex-direction: column; gap: .1rem; min-width: 12rem; padding: .85rem 1.3rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.special-chips b { font-family: var(--font-caps); font-weight: 600; font-size: 1.15rem; letter-spacing: .03em; }
.special-chips span { color: var(--muted); font-weight: 700; font-size: .95rem; }
.special-chips li.is-today { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.special-chips li.is-today b::after { content: "Tonight"; margin-left: .6rem; vertical-align: middle; font: 700 .75rem/1 var(--font-body); letter-spacing: 0; background: var(--red); color: var(--on-red); padding: .28rem .55rem; border-radius: 3px; }
.intro .btn-row { justify-content: center; }

/* Edge-to-edge photo mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 3px; background: var(--bg); aspect-ratio: 2 / 1; max-height: 92vh; width: 100%; }
.tile { position: relative; margin: 0; overflow: hidden; background: var(--surface); }
.tile a { display: block; height: 100%; color: inherit; text-decoration: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tile:hover img { transform: scale(1.05); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.1rem .9rem; background: linear-gradient(180deg, transparent, rgba(0,0,0,.75)); font-family: var(--font-script); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.1; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.tile-big { grid-column: 1 / 3; grid-row: 1 / 3; }
.tile-tall { grid-column: 3; grid-row: 1 / 3; }
@media (max-width: 820px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; max-height: none; }
  .tile { aspect-ratio: 1 / 1; }
  .tile-big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .tile-tall { grid-column: 1; grid-row: span 2; aspect-ratio: auto; }
  .tile figcaption { font-size: 1.35rem; padding: 2rem .8rem .7rem; }
  .tile-big figcaption { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .slide.is-on { animation: slow-zoom 9s ease-out both; }
  .hero-content > * { animation: rise .8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-content > :nth-child(2) { animation-delay: .12s; }
  .hero-content > :nth-child(3) { animation-delay: .22s; }
  .hero-content > :nth-child(4) { animation-delay: .32s; }
}
@keyframes slow-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---- Homepage v2, round 2: calmer hero, info strip, video card ---- */
/* Hero: just the photos, one bold line and two buttons (the logo is already in the header) */
.hero-full h1.hero-message { margin: 0; font-family: var(--font-caps); font-weight: 600; font-size: clamp(2.3rem, 6.2vw, 5rem); letter-spacing: .03em; line-height: 1.04; max-width: 15ch; text-shadow: 0 2px 22px rgba(0,0,0,.7); }
.hero-full h1.hero-message span { display: block; font-family: var(--font-script); font-weight: 400; letter-spacing: 0; font-size: .62em; line-height: 1.3; margin-top: .15em; }
.hero-full .flag { width: min(12rem, 45%); margin: .4rem 0 .3rem; box-shadow: 0 2px 12px rgba(0,0,0,.5); }
.hero-content { gap: 1.2rem; }

/* Info strip right under the hero: today, specials, phone, address */
.quick-info { border-bottom: 1px solid var(--line); background: var(--bg); }
.qi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.qi { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; padding: 1.5rem 1.5rem 1.6rem; border-left: 1px solid var(--line); }
.qi:first-child { border-left: 0; padding-left: 0; }
.qi strong { font-size: .85rem; color: var(--muted); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.qi .status { font-size: .95rem; padding: .35rem .8rem; margin: 0; }
.qi-sub { color: var(--muted); font-weight: 600; }
.qi-big { font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.qi-big:hover { color: var(--red-hover); }
.qi-specials { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; color: var(--muted); font-weight: 600; }
.qi-specials b { font-family: var(--font-caps); font-weight: 600; letter-spacing: .03em; color: var(--text); margin-right: .35rem; }
.qi-specials li.is-today b::after { content: "Tonight"; margin-left: .5rem; vertical-align: 1px; font: 700 .72rem/1 var(--font-body); letter-spacing: 0; background: var(--red); color: var(--on-red); padding: .25rem .5rem; border-radius: 3px; }
@media (max-width: 980px) {
  .qi-grid { grid-template-columns: 1fr 1fr; }
  .qi { padding: 1.25rem 1rem; border-left: 0; border-top: 1px solid var(--line); }
  .qi:nth-child(-n+2) { border-top: 0; }
  .qi:nth-child(even) { border-left: 1px solid var(--line); }
  .qi:first-child, .qi:nth-child(3) { padding-left: 0; }
}
@media (max-width: 520px) {
  /* Phones: stay a compact 2 × 2 grid */
  .qi { padding: 1rem .75rem 1.1rem; gap: .35rem; }
  .qi:first-child, .qi:nth-child(3) { padding-left: 0; }
  .qi strong { font-size: .74rem; }
  .qi .status { font-size: .8rem; padding: .3rem .6rem; gap: .4rem; }
  .qi-big { font-size: 1rem; }
  .qi-sub, .qi-specials { font-size: .9rem; }
  .qi-specials b { font-size: .95rem; }
}

/* FOX6: a video card that opens the segment (FOX6 doesn't allow embedding) */
.press-video { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .press-video { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; } }
.video-card { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 6px solid var(--red); background: #000; color: var(--text); text-decoration: none; }
.video-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; opacity: .7; transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1), opacity .3s; }
.video-card:hover img { transform: scale(1.04); opacity: .85; }
.video-card .play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 30px rgba(0,0,0,.5); transition: transform .25s; }
.video-card .play svg { width: 38px; height: 38px; margin-left: 5px; }
.video-card:hover .play { transform: scale(1.08); }
.video-label { position: absolute; left: 1rem; bottom: .8rem; font-family: var(--font-caps); font-weight: 600; letter-spacing: .05em; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.qi-specials li { display: flex; flex-direction: column; gap: .05rem; line-height: 1.3; }
.qi-specials li + li { margin-top: .35rem; }
.qi-specials b { margin-right: 0; }
@media (max-width: 520px) {
  .qi .status { border-radius: 10px; align-items: flex-start; line-height: 1.3; }
  .qi .status::before { margin-top: .3em; }
}

/* ---- Homepage v2, round 3 ---- */
/* The big logo is in the hero, so the header name stays hidden until you scroll past it */
.home .site-header .logo { transition: opacity .35s ease, transform .35s ease; }
.home .site-header:not(.is-solid):not(:has(.mobile-menu:not([hidden]))) .logo { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.hero-tagline { margin: .2rem 0 0; font-family: var(--font-caps); font-weight: 600; font-size: clamp(1.15rem, 2.6vw, 1.75rem); letter-spacing: .05em; line-height: 1.25; max-width: 26ch; text-shadow: 0 2px 16px rgba(0,0,0,.75); }

/* In the news: Educators Credit Union video plays in place; FOX6 opens on their site */
.news-head { text-align: center; margin-bottom: 2rem; }
.news-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); align-items: start; }
.news-item { margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.news-item figcaption { color: var(--muted); font-size: 1.02rem; line-height: 1.5; }
.news-item figcaption b { color: var(--text); font-family: var(--font-caps); font-weight: 600; letter-spacing: .03em; }
.video-embed { position: relative; aspect-ratio: 16 / 9; border: 6px solid var(--red); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.mark.new { color: var(--on-red); background: var(--red); border-color: var(--red); }
.qi-link { font-size: .9rem; font-weight: 700; color: var(--text); text-underline-offset: .2em; }
.qi-link:hover { color: var(--red-hover); }

/* Menu photos: a strip under each section heading (3 across on desktop, swipeable on phones) */
.cat-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 1.25rem 0 .5rem; }
.cat-photos.count-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.cat-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); border-radius: 4px; }
.cat-photos.count-1 .cat-photo { aspect-ratio: 16 / 10; }
.cat-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.cat-photo:hover img { transform: scale(1.04); }
.cat-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .7rem; background: linear-gradient(180deg, transparent, rgba(0,0,0,.78)); font-family: var(--font-script); font-size: 1.45rem; line-height: 1.1; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
@media (max-width: 700px) {
  .cat-photos, .cat-photos.count-1 { display: flex; gap: .6rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .cat-photos::-webkit-scrollbar { display: none; }
  .cat-photo { flex: 0 0 72%; scroll-snap-align: start; }
  .cat-photos.count-1 .cat-photo { flex-basis: 100%; aspect-ratio: 4 / 3; }
}

/* ---------- Club + Jobs forms ---------- */
.form-layout { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
.signup-form { display: grid; gap: 1.1rem; background: var(--surface); padding: clamp(1.25rem, 4vw, 2rem); border-top: 4px solid var(--red); }
.field { display: grid; gap: 0.35rem; }
.field-row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.field label { font-weight: 700; }
.field .opt { color: var(--muted); font-weight: 400; }
.signup-form input:not([type="checkbox"]), .signup-form select, .signup-form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 0.75rem 0.85rem;
}
.signup-form textarea { resize: vertical; }
.signup-form :is(input, select, textarea):focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: transparent; }
.signup-form [aria-invalid="true"] { border-color: var(--red-hover); }
.check { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.check input { width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; accent-color: var(--red); flex: none; }
.signup-form .btn { justify-self: start; }
.signup-form .btn[disabled] { opacity: 0.6; cursor: wait; }
.fine { font-size: 0.85rem; color: var(--muted); margin: 0; }
.form-msg { margin: 0; font-weight: 700; }
.form-msg:empty { display: none; }
.form-msg.is-error { color: var(--red-hover); }
.form-done { text-align: center; padding: 1.5rem 0; }
.form-done .eyebrow { color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.perks ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1.25rem; }
.perks li { border-left: 3px solid var(--green); padding-left: 1rem; color: var(--muted); }
.perks strong { display: block; color: var(--text); font-family: var(--font-caps); letter-spacing: 0.03em; }
.perks a { color: var(--text); }
.club-band { background: linear-gradient(rgba(13,13,13,.82), rgba(13,13,13,.82)), var(--bg-alt); border-top: 1px solid var(--line); }
.club-inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.club-inner p:not(.eyebrow) { color: var(--muted); max-width: 34rem; margin: 0.5rem 0 0; }
.club-inner .btn-row { margin-top: 0; }
@media (max-width: 800px) { .form-layout { grid-template-columns: 1fr; } .perks { order: -1; } }
