@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url("../assets/fonts/playfair-display-italic-900.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/playfair-display-italic-600.woff2") format("woff2");
}

:root {
  --red: #e10600;
  --red-dark: #b30500;
  --yellow: #ffc20e;
  --ink: #1c120c;
  --muted: #5e5148;
  --paper: #fff8f1;
  --card: #ffffff;
  --line: #f0e0d2;
  --dark: #1a100c;
  --shadow: 0 10px 28px rgba(80, 24, 8, 0.12);
  --header: 0px;
  --header-stack: 140px;
  --sticky-offset: 200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Nunito, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.45;
  /* Space for the mobile Call/Order bar at the bottom edge. */
  padding-bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px));
}

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

a { color: var(--red-dark); }

h1, h2, h3, .btn, .price, .cat strong, .deal .price, .app-bar a {
  font-family: Oswald, "Arial Narrow", Impact, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.skip {
  position: absolute;
  left: 8px;
  top: -40px;
  background: #fff;
  padding: 8px;
  z-index: 80;
}

.skip:focus { top: 8px; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.draft-banner {
  margin: 0;
  background: var(--yellow);
  color: var(--ink);
  text-align: center;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 12px;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
  padding: 8px 16px 10px;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand-mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  flex: none;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--ink);
  line-height: 0.85;
}

.brand-pirates,
.brand-landing,
.wm-pirates,
.wm-landing,
.wm-tag,
.brand-tag {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0;
}

.brand-pirates {
  display: block;
  font-size: 0.95rem;
  line-height: 0.9;
}

.brand-landing {
  display: block;
  font-size: 1.55rem;
  line-height: 0.82;
  margin-top: -0.08em;
}

.brand-tag {
  display: block;
  font-weight: 600;
  font-size: 0.62rem;
  color: var(--ink);
  margin-top: 0.2em;
  letter-spacing: 0.01em;
}


.header-phone {
  display: none;
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.nav {
  grid-column: 1 / -1;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  min-width: 0;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav a[aria-current="page"] { color: var(--red); }

.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  text-decoration: none;
  cursor: pointer;
  font-size: 1.15rem;
  text-align: center;
}

.btn-order, .btn-ink {
  background: var(--red);
  color: #fff;
}

.btn-order:hover, .btn-ink:hover { background: var(--red-dark); }

.btn-call, .btn-gold {
  background: var(--yellow);
  color: var(--ink);
}

.btn-line {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
}

.header-order { padding: 10px 18px; }

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: #3a140c;
}

.page-home .hero {
  min-height: 0;
  align-items: start;
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  /* Mobile: text spans the whole width, so darken evenly (top a bit more for the logo). */
  background: linear-gradient(180deg, rgba(15, 5, 2, 0.74) 0%, rgba(15, 5, 2, 0.66) 55%, rgba(15, 5, 2, 0.78) 100%);
}

@media (min-width: 760px) {
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(15, 5, 2, 0.86) 0%, rgba(15, 5, 2, 0.74) 42%, rgba(15, 5, 2, 0.28) 75%, rgba(15, 5, 2, 0.1) 100%),
      linear-gradient(0deg, rgba(15, 5, 2, 0.35) 0%, rgba(15, 5, 2, 0) 40%);
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
  /* Clear the mobile Call/Order bar at the bottom edge. */
  padding: 14px 0 88px;
}

.hero-logo-panel {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  width: 100%;
  color: #fff8ec;
  margin: 0 0 14px;
}

.hero-emblem {
  width: 34%;
  max-width: 170px;
  height: auto;
  flex: none;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.65)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.7));
}

.hero-wordmark {
  min-width: 0;
  flex: 1;
  line-height: 0.85;
}

.wm-pirates,
.wm-landing,
.wm-tag {
  color: #fff8ec;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.7), 0 4px 18px rgba(0, 0, 0, 0.75);
}

.wm-pirates {
  margin: 0;
  font-size: clamp(1.55rem, 8.2vw, 2.7rem);
  line-height: 0.9;
}

.wm-landing {
  margin: -0.06em 0 0;
  font-size: clamp(2.15rem, 12vw, 4.1rem);
  line-height: 0.82;
}

.wm-tag {
  margin: 0.3em 0 0;
  font-weight: 600;
  font-size: clamp(0.72rem, 3.3vw, 1.15rem);
  line-height: 1.1;
}

.page-home .hero h1 {
  font-size: clamp(1.9rem, 8.2vw, 3.6rem);
  line-height: 0.92;
  max-width: none;
}
.page-home .hero h1 span {
  display: block;
  white-space: nowrap;
}

.page-home .lede { margin: 8px 0 12px; }

@media (max-width: 979px) {
  .page-home .lede { display: none; }
}


.page-home .price-pill { margin-top: 10px; }


.eyebrow {
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--yellow);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.1rem, 10vw, 6rem);
  text-transform: uppercase;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.35);
}

.service-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.service-badges li {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 12px;
}

.lede {
  max-width: 36rem;
  font-size: 1.15rem;
  margin: 12px 0 18px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.price-pill {
  display: inline-block;
  margin-top: 16px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  border-radius: 999px;
  padding: 8px 14px;
}

.section, .mitem, .subhead, .deals, #hours { scroll-margin-top: var(--sticky-offset); }
.section { padding: 28px 0; }

.section h2, .band h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 8px;
  text-transform: uppercase;
}

.sub {
  margin: 0 0 16px;
  color: var(--muted);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cat {
  position: relative;
  min-height: 132px;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  background: var(--red);
  box-shadow: var(--shadow);
}

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

.cat .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
}

.cat div { position: relative; z-index: 1; }

.cat strong {
  display: block;
  font-size: 1.55rem;
  text-transform: uppercase;
}

.cat em {
  display: block;
  font-style: normal;
  font-weight: 800;
  font-size: 0.92rem;
}

.cat.plain-wings { background: #24160f; }
.cat.plain-apps { background: #c44712; }
.cat.plain-fish { background: #0e5c6b; }
.cat.plain-salad { background: #2f6b32; }

.deals {
  background: var(--red);
  color: #fff;
  padding: 28px 0 32px;
}

.deals h2 { text-transform: uppercase; }

.deals .sub { color: #ffe8e4; }

.deal-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.deal-photos figure { margin: 0; }

.deal-photos img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.deal-photos figcaption {
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 4px;
}

.deal-grid {
  display: grid;
  gap: 12px;
}

.deal {
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.deal h3 { margin: 0 0 6px; font-size: 1.45rem; text-transform: uppercase; }

.deal p { margin: 0 0 8px; }

.deal .price,
.deal .price-note {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 12px;
  font-family: Oswald, "Arial Narrow", Impact, sans-serif;
  font-weight: 600;
  font-size: 2.3rem;
  line-height: 1.05;
  color: var(--red);
  text-transform: none;
}

.picks {
  display: grid;
  gap: 12px;
}

.pick {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  text-decoration: none;
  color: var(--ink);
  gap: 6px;
}

.pick strong { font-family: Oswald, Impact, sans-serif; font-size: 1.4rem; text-transform: uppercase; }

.pick .price {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 10px;
  color: var(--red);
  font-size: 1.7rem;
  line-height: 1.05;
}

.film {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 12px;
  overflow-x: auto;
  min-width: 0;
  max-width: 100%;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.film figure {
  margin: 0;
  scroll-snap-align: start;
}

.film img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.film figcaption { font-weight: 800; margin-top: 6px; }

.rooms {
  display: grid;
  gap: 12px;
}

.rooms img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.rooms figcaption, .note { color: var(--muted); font-size: 0.92rem; }

.rooms figure { margin: 0; }

.locstrip {
  background: var(--dark);
  color: #fff8ee;
  padding: 22px 0;
}

.locstrip .wrap {
  display: grid;
  gap: 18px;
}

.locstrip h2 { color: var(--yellow); font-size: 1.3rem; text-transform: uppercase; margin: 0 0 6px; }

.locstrip a { color: var(--yellow); }

.locstrip address { font-style: normal; }

.locstrip .service-line {
  margin: 10px 0 4px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.locstrip .small { margin: 0 0 10px; }

.hours { width: 100%; border-collapse: collapse; }

.hours th, .hours td { text-align: left; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }

.hours th { font-weight: 800; padding-right: 16px; }

.quote {
  background: #fff;
  border-left: 8px solid var(--red);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0;
}

.quote p { margin: 0 0 6px; font-size: 1.2rem; font-weight: 800; }

.quote cite { color: var(--muted); font-style: normal; font-size: 0.92rem; }

.site-footer {
  background: #120c09;
  color: #f6e7d8;
  padding: 22px 0 28px;
  font-size: 0.95rem;
}

.site-footer .wrap { display: grid; gap: 6px; }

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

.site-footer .brand-mark { width: 42px; height: 42px; }

.menu-flag {
  background: #fff4e8;
  border-left: 6px solid var(--red);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 10px 0 0;
}

.page-head { padding: 18px 0 0; }

.page-head h1 { font-size: clamp(2.6rem, 8vw, 4.2rem); margin: 0; text-transform: uppercase; }

.menu-cats { margin-top: 16px; }

.section-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  overflow: visible;
  min-width: 0;
  padding: 8px 0;
  margin: 8px 0 4px;
  background: var(--paper);
}

.section-nav a {
  background: var(--dark);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 0.88rem;
  white-space: nowrap;
}

.section-nav a.is-active,
.section-nav a[aria-current="true"] {
  background: var(--red);
}

@media (max-width: 979px) {
  .section-nav {
    gap: 5px;
    padding: 6px 0;
  }
  .section-nav a {
    font-size: 0.7rem;
    padding: 4px 8px;
  }
  /* PLW-10: on the mobile order page, drop the header Order button
     and pin the category chips under the sticky header. */
  body[data-page="order"] .header-order { display: none; }
  body[data-page="order"] .site-header { grid-template-columns: 1fr; }
  body[data-page="order"] .section-nav {
    position: sticky;
    top: var(--header-stack);
    z-index: 20;
    background: var(--paper);
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    box-shadow: 0 6px 14px rgba(80, 24, 8, 0.08);
  }
}

@media (min-width: 980px) {
  .section-nav {
    position: sticky;
    top: var(--header-stack);
    z-index: 5;
    justify-content: center;
  }
  .section-nav a {
    flex: 1 1 calc((100% - 8px * 6) / 7);
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
    min-width: max-content;
    max-width: 100%;
  }
}

.section-photo {
  position: relative;
  height: 150px;
  border-radius: 16px;
  overflow: hidden;
  margin: 22px 0 8px;
}

.section-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-photo h2 {
  position: absolute;
  left: 14px;
  bottom: 10px;
  margin: 0;
  color: #fff;
  font-size: 2.4rem;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.rule-title { margin: 26px 0 8px; }

.rule-title h2 {
  display: inline-block;
  margin: 0;
  background: var(--dark);
  color: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  text-transform: uppercase;
  font-size: 1.7rem;
}

.section-note { color: var(--muted); margin: 0 0 8px; }

.mitem {
  background: var(--card);
  border-radius: 16px;
  padding: 14px 14px 12px;
  margin: 10px 0;
  box-shadow: var(--shadow);
}

.mitem-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.mitem-top h3 { margin: 0; font-size: 1.45rem; text-transform: uppercase; }

.price { color: var(--red); font-size: 1.55rem; white-space: nowrap; }

.price.unknown { color: var(--muted); font-family: Nunito, sans-serif; font-size: 1.2rem; }

.desc { margin: 6px 0; color: #3d332c; }

.price-table { margin-top: 8px; }

.price-table div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 7px 0;
  border-top: 1px dashed var(--line);
}

.footnotes { margin: 8px 0 0; padding-left: 1.1rem; color: var(--muted); }

.order-layout { padding-bottom: 12px; }

.cart {
  background: #fff;
  border-radius: 16px;
  border-top: 8px solid var(--red);
  box-shadow: var(--shadow);
  padding: 14px;
  margin-top: 16px;
}

.cart h2 { margin: 0 0 8px; text-transform: uppercase; }

.notice, .placeholder-line {
  background: #fff1ee;
  border: 2px solid var(--red);
  border-radius: 12px;
  padding: 10px;
}

.placeholder-line { margin: 0; font-weight: 800; }

.line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.line .who { margin: 0; font-weight: 800; }

.line .desc { grid-column: 1 / -1; margin: 0; }

.qty { display: flex; gap: 6px; align-items: center; }

.qty button, .text-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  min-width: 32px;
  min-height: 32px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.text-btn { color: var(--red); padding: 0 8px; }

.totals {
  display: flex;
  justify-content: space-between;
  font-family: Oswald, Impact, sans-serif;
  font-size: 1.8rem;
  padding-top: 8px;
}

.field, .check { display: flex; flex-direction: column; gap: 4px; font-weight: 800; font-size: 0.92rem; }

.controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-top: 8px; }

.field input, .field select, .check input {
  font: inherit;
  min-height: 44px;
}

.field input, .field select {
  border: 1px solid #e3d3c4;
  border-radius: 10px;
  padding: 8px 10px;
  background: #fff;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 10px 0 0;
  padding: 8px 10px;
}

.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 700; padding: 4px 0; }

.form-error { color: var(--red-dark); font-weight: 800; }

.cart-actions { display: grid; gap: 8px; margin-top: 8px; }

.preview-price { font-weight: 800; }

.dialog {
  border: 0;
  border-radius: 16px;
  padding: 18px;
  max-width: min(440px, calc(100% - 24px));
  box-shadow: var(--shadow);
}

.dialog::backdrop { background: rgba(20, 8, 4, 0.55); }

.app-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.18);
}

.app-bar a, .mobile-cart-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  min-height: 58px;
  padding: 8px 10px;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.app-call { background: var(--yellow); color: var(--ink); }

.app-order, .mobile-cart-tab { background: var(--red); color: #fff; }

.small { font-size: 0.88rem; }

.muted { color: var(--muted); }

@media (min-width: 760px) {
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rooms { grid-template-columns: 1fr 1fr; }
  .film { grid-auto-columns: 32%; }
  .deal-photos img { height: 160px; }
  .hero { min-height: 640px; }
}

@media (min-width: 980px) {
  body { padding-bottom: 0; }
  .hero-copy { padding-bottom: 88px; }
  .brand-mark { width: 80px; height: 80px; }
  .brand-pirates { font-size: 1.15rem; }
  .brand-landing { font-size: 1.9rem; }
  .brand-tag { font-size: 0.72rem; }
  .hero-logo-panel {
    width: min(100%, 880px);
    gap: 26px;
    margin-bottom: 16px;
  }
  .hero-emblem { max-width: 270px; width: 34%; }
  .wm-pirates { font-size: 3.2rem; }
  .wm-landing { font-size: 4.9rem; }
  .wm-tag { font-size: 1.4rem; }
  .page-home .hero { min-height: 0; align-items: start; }
  .page-home .hero-copy { padding-top: calc(var(--home-nav-h) + 16px); padding-bottom: 48px; }
  .page-home .hero h1 { font-size: clamp(2.6rem, 4.2vw, 3.7rem); }
  .site-header {
    grid-template-columns: auto 1fr auto auto auto;
    padding: 10px 22px;
  }
  body[data-page="order"] .site-header {
    grid-template-columns: 1fr auto auto;
  }
  .nav { grid-column: auto; overflow: visible; justify-content: flex-end; }
  .header-phone { display: inline; }
  .app-bar { display: none; }
  .deal-grid, .picks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .locstrip .wrap { grid-template-columns: 1.2fr 1fr 0.9fr; align-items: start; }
  .order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: start;
  }
  .cart {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 112px);
    overflow: auto;
    margin-top: 8px;
  }
}


/* Home: no logo in the header (it is big in the hero). Nav on the left, phone + Order on the right. */
.page-home .site-header { grid-template-columns: 1fr auto; padding: 10px 16px; }
.page-home .nav { grid-column: auto; gap: 18px; }
.page-home .nav a { font-size: 1rem; }
@media (min-width: 980px) {
  .page-home .site-header { grid-template-columns: 1fr auto auto; padding: 12px 22px; }
  .page-home .nav { justify-content: flex-start; gap: 28px; }
  .page-home .nav a { font-size: 1.1rem; }
}

/* Legibility on the hero photo. */
.hero .eyebrow { color: #ffd43b; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 2px 12px rgba(0, 0, 0, 0.7); }
.hero h1 { text-shadow: 0 2px 4px rgba(0, 0, 0, 0.75), 0 4px 22px rgba(0, 0, 0, 0.7); }
.hero .lede { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 2px 12px rgba(0, 0, 0, 0.6); font-weight: 600; }

@media (max-width: 479px) {
  .hero .price-pill { font-size: 0.9rem; padding: 8px 12px; }
}


/* ---- Home: transparent header over the hero photo (no white bar) ---- */
.page-home {
  --home-nav-h: 64px;
}
@media (min-width: 980px) {
  .page-home { --home-nav-h: 72px; }
}

.page-home .topbar {
  background: transparent;
  box-shadow: none;
}

.page-home .site-header {
  background: transparent;
  min-height: var(--home-nav-h);
  box-sizing: border-box;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .hero {
  margin-top: calc(-1 * var(--home-nav-h));
}

.page-home .hero-copy {
  padding-top: calc(var(--home-nav-h) + 10px);
}

.page-home .nav a,
.page-home .header-phone {
  color: #fff;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 2px 10px rgba(0, 0, 0, 0.75);
}

.page-home .nav a:hover,
.page-home .nav a:focus,
.page-home .header-phone:hover,
.page-home .header-phone:focus {
  color: #ffd43b;
}

.page-home .header-order {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

/* Dark top band so overlaid nav/phone pass WCAG AA over the pizza. */
.page-home .hero-shade {
  background:
    linear-gradient(180deg, rgba(15, 5, 2, 0.92) 0%, rgba(15, 5, 2, 0.8) 80px, rgba(15, 5, 2, 0.74) 55%, rgba(15, 5, 2, 0.82) 100%);
}

@media (min-width: 760px) {
  .page-home .hero-shade {
    background:
      linear-gradient(180deg, rgba(15, 5, 2, 0.92) 0%, rgba(15, 5, 2, 0.62) 90px, rgba(15, 5, 2, 0.2) 170px, rgba(15, 5, 2, 0) 240px),
      linear-gradient(90deg, rgba(15, 5, 2, 0.86) 0%, rgba(15, 5, 2, 0.74) 42%, rgba(15, 5, 2, 0.28) 75%, rgba(15, 5, 2, 0.1) 100%),
      linear-gradient(0deg, rgba(15, 5, 2, 0.35) 0%, rgba(15, 5, 2, 0) 40%);
  }
}

/* After scroll, solid dark bar — never white. */
.page-home.is-scrolled .site-header {
  background: #160c08;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}



.subhead {
  margin: 28px 0 10px;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.menu-order-line { margin: 10px 0 0; }
.menu-order-btn { padding: 8px 16px; font-size: 1rem; }

a.deal {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
a.deal:hover { transform: translateY(-2px); }
a.deal h3,
a.deal p { color: var(--ink); }
.pick { color: var(--ink); text-decoration: none; }

.mitem:target {
  outline: 3px solid var(--yellow);
  outline-offset: 6px;
  border-radius: 12px;
}

.cat strong {
  max-width: 14ch;
}

.deal .price-note { text-transform: uppercase; }

/* ---- Customize panel ---- */
.customize-dialog {
  padding: 0;
  max-width: min(680px, calc(100% - 24px));
  width: 680px;
  border-radius: 16px;
  border: 0;
  z-index: 80;
}
.customize-dialog::backdrop { background: rgba(20, 8, 4, 0.55); }
.customize-form {
  display: flex;
  flex-direction: column;
  max-height: min(88vh, 780px);
}
.customize-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  z-index: 2;
  border-radius: 16px 16px 0 0;
  flex: 0 0 auto;
}
.customize-head h2 {
  margin: 0;
  font-size: 1.35rem;
  text-transform: uppercase;
}
.customize-body {
  padding: 10px 14px 6px;
  overflow-x: hidden;
  overflow-y: auto;
  flex: 1 1 auto;
  min-width: 0;
}
.customize-note { padding: 0 14px; margin: 0 0 4px; font-size: 0.78rem; flex: 0 0 auto; }
.customize-footer {
  padding: 8px 14px 12px;
  border-top: 1px solid var(--line);
  background: #fff;
  position: sticky;
  bottom: 0;
  z-index: 2;
  flex: 0 0 auto;
  border-radius: 0 0 16px 16px;
}
.customize-actions { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; }
.customize-footer .preview-price { margin: 0 0 6px; font-size: 1.1rem; }
.choice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin: 0 0 8px;
  min-width: 0;
  width: 100%;
}
.choice-grid .field {
  margin: 0;
  font-size: 0.8rem;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
}
.choice-grid .field select,
.choice-grid .field input {
  min-height: 40px;
  padding: 6px 8px;
  font-size: 0.92rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.acc {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 0 0 8px;
  background: #fff;
  overflow: hidden;
}
.acc-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: start;
  gap: 8px 10px;
  background: var(--dark);
  color: #fff;
  border: 0;
  padding: 8px 10px;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  min-height: 48px;
}
.acc-toggle:hover { background: #2c211c; }
.acc-toggle:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}
.acc-toggle[aria-expanded="true"] { background: var(--red); }
.acc-toggle[aria-expanded="true"]:hover { background: #b42318; }
.acc-copy { min-width: 0; display: grid; gap: 1px; }
.acc-toggle .acc-title {
  font-family: Oswald, Impact, sans-serif;
  text-transform: uppercase;
  font-size: 0.95rem;
  line-height: 1.15;
  overflow: visible;
  white-space: normal;
}
.acc-toggle .acc-title.acc-title-cta { text-transform: none; letter-spacing: 0; }
.acc-toggle .acc-summary {
  font-weight: 700;
  font-size: 0.78rem;
  color: #ffe8e4;
  line-height: 1.35;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  display: block;
}
.acc-toggle .acc-summary[hidden],
.acc-toggle .acc-summary:empty { display: none; }
.acc-pill {
  flex: 0 0 auto;
  align-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--yellow);
  color: var(--dark);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  min-height: 24px;
  margin-top: 1px;
}
.acc-pill:not(.is-edit)::before { content: "+"; font-size: 0.9rem; font-weight: 800; line-height: 1; }
.acc-toggle[aria-expanded="true"] .acc-pill { background: #fff; }
.acc-chevron {
  flex: 0 0 auto;
  align-self: start;
  padding-top: 2px;
  width: 1.1em;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1;
  color: #fff;
}
.acc-chevron::before { content: "▾"; }
.acc-toggle[aria-expanded="true"] .acc-chevron::before { content: "▴"; }
.acc-panel { display: none; padding: 4px 8px 6px; }
.acc.is-open .acc-panel { display: block; }
.topping-row, .mod-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 6px;
  align-items: center;
  padding: 5px 0;
  border-top: 1px dashed var(--line);
}
.topping-row:first-child, .mod-row:first-child { border-top: 0; }
.topping-name, .mod-name {
  font-weight: 800;
  font-size: 0.88rem;
  min-width: 0;
}
.topping-row.is-none .topping-half { visibility: hidden; }
.seg {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 3px;
}
.seg label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  color: #fff;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  min-height: 28px;
  margin: 0;
}
.seg label:has(input:focus-visible) {
  outline: 3px solid var(--yellow);
  outline-offset: 1px;
}
.seg input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.seg label:has(input:checked) { background: var(--red); }
.topping-half {
  min-width: 88px;
  min-height: 28px;
  padding: 2px 6px;
  font-size: 0.78rem;
  border-radius: 8px;
  border: 1px solid #e3d3c4;
  background: #fff;
}
.included-tag, .nochg-tag { color: var(--muted); font-size: 0.7rem; font-weight: 700; }
.charge-tag { color: var(--red); font-weight: 800; font-size: 0.72rem; }
.checkout-ticket { margin: 10px 0; }
.checkout-ticket li { margin: 0 0 8px; }
.line .mods { grid-column: 1 / -1; margin: 0; color: #3d332c; }
.line .edit-line { color: var(--dark); }
.customize-btn { margin-top: 8px; }

@media (max-width: 979px) {
  .customize-dialog {
    width: 100%;
    max-width: 100%;
    margin: 0;
    position: fixed;
    inset: auto 0 0 0;
    border-radius: 16px 16px 0 0;
    max-height: 88vh;
  }
  .customize-form { max-height: 88vh; }
  .customize-head { border-radius: 16px 16px 0 0; }
  .choice-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
  .topping-row, .mod-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .topping-row .seg, .mod-row .seg { grid-column: 1 / -1; }
  .acc-toggle { gap: 6px 8px; padding: 8px 8px; }
  .acc-toggle .acc-title { font-size: 0.9rem; }
  .acc-toggle .acc-summary { font-size: 0.72rem; }
  .acc-pill { font-size: 0.65rem; padding: 4px 7px; }
}

@media (max-width: 360px) {
  .choice-grid { grid-template-columns: minmax(0, 1fr); }
  .acc-pill:not(.is-edit) {
    font-size: 0;
    letter-spacing: 0;
    padding: 4px 8px;
    min-width: 26px;
    gap: 0;
  }
  .acc-pill:not(.is-edit)::before { font-size: 1rem; }
}
