/* Santa Monica Pizza Kitchen — accessible rebuild
   Brand: red #E31F26 (display only), action red #C4161C (6.0:1 on cream), cream #FFFEF8, black #000 */
:root {
  --red: #e31f26;
  --red-action: #c4161c;
  --cream: #fffef8;
  --black: #111111;
  --white: #ffffff;
  --grey: #5a5a5a;
  --focus: #1a56db;
  --display: "Anton", "Agenda", "Arial Narrow", Impact, sans-serif;
  --body: "Poppins", "Avenir", "Helvetica Neue", Arial, sans-serif;
  --max: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--cream); color: var(--black);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.55; font-weight: 500;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-action); text-underline-offset: 3px; }
a:hover { color: var(--black); }
:focus-visible, iframe:focus { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--black); color: var(--white); padding: .75rem 1.25rem; font-weight: 700;
  text-decoration: none; border-radius: 0 0 6px 6px;
}
.skip-link:focus { top: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { width: min(var(--max), calc(100% - 3rem)); margin-inline: auto; }

/* Display type */
h1, h2, h3, .display {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  letter-spacing: .01em; line-height: 1.05; margin: 0 0 .5em;
}
h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); color: var(--red); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); color: var(--red); }
h3 { font-size: clamp(1.375rem, 2.2vw, 1.625rem); color: var(--black); }
h4 { font-family: var(--body); font-size: 1.0625rem; text-transform: uppercase; letter-spacing: .04em; margin: 1.25rem 0 .25rem; }
p { margin: 0 0 1rem; }

/* Top bar */
.topbar { background: var(--black); color: var(--white); text-align: center; font-size: .9375rem; padding: .55rem 1rem; }
.topbar a { color: var(--white); font-weight: 700; }

/* Header */
.site-header { background: var(--cream); border-bottom: 1px solid #e8e6dc; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 110px; }
.logo { display: inline-flex; align-items: center; }
.logo img { width: 260px; max-width: 60vw; }
.nav-toggle {
  display: none; background: none; border: 2px solid var(--black); border-radius: 6px;
  font: 700 .9375rem var(--body); text-transform: uppercase; padding: .6rem .9rem; cursor: pointer; color: var(--black);
}
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; align-items: center; }
.primary-nav a {
  display: inline-block; padding: .75rem .6rem; font-family: var(--display); font-size: 1.375rem;
  letter-spacing: .02em; text-transform: uppercase; text-decoration: none; color: var(--red-action);
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--black); }
.primary-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.primary-nav .icon-link { padding: .6rem; line-height: 0; color: var(--red-action); }
.primary-nav .icon-link svg { width: 24px; height: 24px; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; background: var(--cream); border-bottom: 2px solid var(--black); z-index: 50; }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; padding: .5rem 1.5rem 1rem; }
  .primary-nav a { display: block; padding: .9rem .5rem; font-size: 1.75rem; }
  .site-header { position: relative; }
}

/* Diamond divider + marquee */
.diamonds { text-align: center; overflow: hidden; white-space: nowrap; color: var(--black); font-size: 1.1rem; letter-spacing: .2em; line-height: 1; padding: 1.25rem 0; user-select: none; }
.marquee { background: var(--cream); border-block: 2px solid var(--black); overflow: hidden; position: relative; }
.marquee__track { display: flex; width: max-content; animation: scroll 38s linear infinite; }
.marquee__track span { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; padding: .75rem 1.25rem; white-space: nowrap; }
.marquee__track span::after { content: " ◆"; margin-left: 1.25rem; }
.marquee.paused .marquee__track, .marquee__track:hover { animation-play-state: paused; }
.marquee__pause {
  position: absolute; right: .5rem; top: 50%; transform: translateY(-50%);
  background: var(--black); color: var(--white); border: 0; border-radius: 4px; font: 700 .8125rem var(--body);
  padding: .45rem .7rem; cursor: pointer; min-width: 44px; min-height: 32px; font-size: .875rem;
}
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } .marquee__pause { display: none; } }

/* Buttons */
.btn {
  display: inline-block; background: var(--red-action); color: var(--white); text-decoration: none;
  font-family: var(--body); font-weight: 700; font-size: .9375rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .95rem 1.6rem; border: 2px solid var(--red-action); border-radius: 2px; min-height: 48px; line-height: 1.3; cursor: pointer; text-align: center;
}
.btn:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.btn--outline { background: transparent; color: var(--red-action); }
.btn--outline:hover { background: var(--red-action); color: var(--white); }
.btn--light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--light:hover { background: var(--red-action); border-color: var(--red-action); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }

/* Layout helpers */
.section { padding: 3rem 0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: 3rem; align-items: center; }
.lede { font-size: 1.25rem; }

/* Home hero */
.hero-media { position: relative; }
.hero-media .stamp { position: absolute; right: -2rem; bottom: -1rem; width: 160px; }
@media (max-width: 860px) { .hero-media .stamp { right: .5rem; width: 120px; } }
.hero-lockup { display: flex; gap: 1rem; align-items: center; margin-bottom: .5rem; }
.hero-lockup img { width: 180px; flex: none; }
.hero-lockup h1 { font-size: clamp(3rem, 6.5vw, 5rem); margin: 0; }
.hero-diamonds { color: var(--red); letter-spacing: .05em; font-size: 1.5rem; line-height: 1; margin: .25rem 0 1.25rem; }

/* Menu tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }
.tile { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; text-decoration: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.04); }
.tile span {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,.25); color: var(--white); font-family: var(--display); font-size: clamp(2.5rem, 5vw, 3.75rem); text-transform: uppercase;
}
.tile span b { font-weight: inherit; background: rgba(17,17,17,.88); padding: .1em .5em .05em; line-height: 1.1; }
.tile:hover span { background: rgba(0,0,0,.5); }

/* Gift cards band */
.band { background: var(--red-action); color: var(--white); text-align: center; padding: 2.5rem 0; }
.band h2 { color: var(--white); }
.band p { font-size: 1.125rem; max-width: 40ch; margin-inline: auto; }

/* Menu page */
.menu-intro { text-align: center; }
.menu-intro img { width: 120px; margin: 0 auto 1rem; }
.tabs { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin: 1rem 0 2rem; }
.tabs [role="tab"] {
  background: transparent; border: 2px solid var(--red-action); color: var(--red-action); border-radius: 2px;
  font: 700 .9375rem var(--body); letter-spacing: .08em; text-transform: uppercase; padding: .75rem 1.5rem; min-height: 48px; cursor: pointer;
}
.tabs [role="tab"][aria-selected="true"] { background: var(--red-action); color: var(--white); }
.tabs [role="tab"]:hover { background: var(--black); border-color: var(--black); color: var(--white); }
[role="tabpanel"][hidden] { display: none; }
.menu-section { margin: 0 0 3rem; }
.menu-section h2 { color: var(--red); text-align: center; font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: .25rem; }
.menu-note { text-align: center; color: var(--grey); font-size: .9375rem; margin-bottom: 1.5rem; }
.menu-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1.25rem 2.5rem; }
.menu-item { border-top: 2px solid var(--black); padding-top: .6rem; }
.menu-item__head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.menu-item__name { font-family: var(--display); font-size: 1.25rem; text-transform: uppercase; color: var(--red-action); margin: 0; }
.menu-item__price { font-weight: 700; font-size: .9375rem; text-align: right; }
.menu-item__desc { margin: .25rem 0 0; font-size: .9375rem; color: #2b2b2b; }
.menu-jump { text-align: center; margin-bottom: 2rem; font-size: .9375rem; }
.menu-jump a { margin: 0 .5rem; display: inline-block; padding: .3rem 0; }

/* About / Locations */
.info-block h2 { margin-top: 1.5rem; }
.map { width: 100%; aspect-ratio: 4/3; border: 0; }
.location-card { display: flex; flex-direction: column; gap: .25rem; }
.location-card h2 { color: var(--red); font-size: clamp(1.75rem, 3vw, 2.25rem); margin-top: 1.25rem; }
.location-card p { margin: 0; }
.location-card h3.sub { font-family: var(--body); font-size: 1.0625rem; text-transform: uppercase; letter-spacing: .04em; margin: 1.25rem 0 .25rem; color: var(--black); }
.location-card .btn { align-self: flex-start; margin-top: 1rem; }
.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; list-style: none; padding: 0; margin: .5rem 0 0; max-width: 420px; }
.apps .btn { width: 100%; }
address { font-style: normal; }
.delivery-area details { margin-top: 1rem; border: 2px solid var(--black); padding: 1rem; border-radius: 4px; background: var(--white); }
.delivery-area summary { cursor: pointer; font-weight: 700; }
.delivery-area ul { margin: .75rem 0; padding-left: 1.25rem; }

/* Forms */
.form { max-width: 640px; margin: 0 auto; }
.field { margin-bottom: 1.25rem; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: .35rem; }
.field label .req, legend .req { font-weight: 500; color: var(--grey); font-size: .9rem; }
.field input, .field textarea {
  width: 100%; font: inherit; padding: .8rem .9rem; border: 2px solid var(--black); border-radius: 3px; background: var(--white); color: var(--black); min-height: 48px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.field .hint { font-size: .9rem; color: var(--grey); margin: .25rem 0 0; }
.field .error { color: #b00020; font-weight: 700; font-size: .95rem; margin: .35rem 0 0; }
.field.invalid input, .field.invalid textarea { border-color: #b00020; }
fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .name-row { grid-template-columns: 1fr; } }
.form-status { margin-top: 1rem; font-weight: 700; }

/* Footer */
.site-footer { background: var(--black); color: var(--white); padding: 3rem 0 2rem; margin-top: 2rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #ffd3d4; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 2.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: var(--white); font-size: 1.75rem; margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .4rem 0; }
.site-footer p { margin: .35rem 0; }
.site-footer .field label .req, .site-footer .req { color: #d9d9d9; }
.newsletter { text-align: center; }
.newsletter label { display: block; font-weight: 700; margin-bottom: .5rem; }
.newsletter .row { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.newsletter input { flex: 1 1 220px; max-width: 360px; padding: .8rem .9rem; font: inherit; border: 2px solid var(--white); border-radius: 3px; min-height: 48px; }
.newsletter input:focus { outline: 3px solid #ffd34d; outline-offset: 2px; }
.footer-legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #444; font-size: .9375rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }

/* Cookie notice (non-blocking) */
.cookie { position: sticky; bottom: 0; background: var(--white); color: var(--black); border-top: 2px solid var(--black); padding: .75rem 0; font-size: .9375rem; z-index: 40; }
.cookie .wrap { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie[hidden] { display: none; }
.cookie .btn { min-height: 44px; padding: .6rem 1.2rem; }

/* Accessibility page */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.75rem; margin-top: 2rem; }

/* Mobile refinements */
@media (max-width: 600px) {
  .hero-lockup { gap: .5rem; }
  .hero-lockup img { width: 110px; }
  .hero-lockup h1 { font-size: 2.75rem; }
  .marquee__track span { font-size: 1.25rem; }
}
.marquee { padding-right: 0; }
.marquee__pause { right: .5rem; }

/* Focus ring on dark surfaces */
.site-footer :focus-visible, .topbar :focus-visible, .band :focus-visible, .marquee__pause:focus-visible { outline-color: #ffd34d; }
iframe:focus, iframe:focus-visible { outline: 4px solid var(--focus); outline-offset: 2px; }
