/* Happy Bagel Bakery — vanilla CSS; palette from storefront + mural + wood interiors */

:root {
  --red: #c8102e;
  --red-dark: #9e0b24;
  --cream: #f6f1e7;
  --cream-dark: #e8dfd0;
  --ink: #1c1917;
  --ink-muted: #57534e;
  --orange: #d9480f;
  --green-gf: #2f9e44;
  --stone-1: #9ca3af;
  --stone-2: #d6d3d1;
  --wood: #5c3d2e;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 18px 50px rgba(28, 25, 23, 0.12);
  --font-display: "Bebas Neue", system-ui, sans-serif;
  --font-body: "Newsreader", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(200, 16, 46, 0.06), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

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

a {
  color: var(--red-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
}

.wrap {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(28, 25, 23, 0.08);
}

.site-header__inner {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.logo {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: 0.04em;
  color: var(--red);
  text-decoration: none;
  line-height: 1;
}

.logo:hover {
  color: var(--red-dark);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.nav a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover {
  color: var(--red);
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: min(88vh, 920px);
  }
}

.hero__media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero__media {
    min-height: 100%;
  }
}

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

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28, 25, 23, 0.15) 0%, transparent 45%),
    linear-gradient(to top, rgba(246, 241, 231, 0.5), transparent 35%);
  pointer-events: none;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3rem);
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 2px,
      rgba(214, 211, 209, 0.35) 2px,
      rgba(214, 211, 209, 0.35) 3px
    ),
    linear-gradient(160deg, var(--white) 0%, var(--cream) 100%);
}

.hero__eyebrow {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 1rem;
  color: var(--ink-muted);
  margin: 0 0 0.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--red);
  margin: 0 0 1rem;
}

.hero__lede {
  max-width: 36ch;
  margin: 0 0 1.75rem;
  color: var(--ink);
  font-size: 1.2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline-offset: 4px;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red-dark);
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  background: var(--red-dark);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

.text-link {
  font-weight: 600;
}

/* Strip */

.strip {
  padding: clamp(2rem, 4vw, 3.25rem) 0;
}

.strip--stone {
  background:
    linear-gradient(180deg, rgba(214, 211, 209, 0.45) 0%, rgba(156, 163, 175, 0.25) 100%),
    var(--cream-dark);
  border-block: 1px solid rgba(28, 25, 23, 0.08);
}

.strip__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .strip__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.strip__big {
  font-size: 1.35rem;
  margin: 0.35rem 0 0;
}

.strip__big a {
  font-weight: 600;
  text-decoration: none;
}

.strip__big a:hover {
  text-decoration: underline;
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: 0.04em;
  margin: 0;
  line-height: 1.1;
}

.h2--red {
  color: var(--red);
}

.h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: 0.05em;
  margin: 0 0 0.75rem;
}

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

.small {
  font-size: 0.95rem;
}

/* Sections */

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section--warm {
  background: linear-gradient(180deg, var(--white) 0%, rgba(246, 241, 231, 0.9) 100%);
}

.section--pantry {
  background: linear-gradient(90deg, var(--cream) 0%, rgba(232, 223, 208, 0.6) 100%);
}

.section--mural {
  background: radial-gradient(ellipse at 30% 0%, rgba(217, 72, 15, 0.12), transparent 50%),
    linear-gradient(180deg, var(--wood) 0%, #3d281e 100%);
  color: var(--cream);
}

.section--mural a {
  color: #fecaca;
}

.section--mural .muted {
  color: rgba(246, 241, 231, 0.75);
}

.section__head {
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

.section__head--light .h2 {
  color: var(--cream);
}

.section__sub {
  margin: 0.75rem 0 0;
  color: var(--ink-muted);
}

.section--mural .section__sub {
  color: rgba(246, 241, 231, 0.85);
}

.section__split {
  margin-top: 2.5rem;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .split--reverse > :first-child {
    order: 2;
  }
}

.card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.card--photo img {
  display: block;
  width: 100%;
}

.card--tight {
  margin-top: 1.25rem;
}

.price-panel {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(28, 25, 23, 0.08);
  box-shadow: var(--shadow);
}

.price-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(28, 25, 23, 0.12);
  font-weight: 500;
}

.price-list--loose li {
  font-size: 1.15rem;
}

.tiles {
  display: grid;
  gap: 1.25rem;
}

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

.tile {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(28, 25, 23, 0.06);
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(28, 25, 23, 0.1);
}

.tile__price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--orange);
  margin: 0.25rem 0;
  letter-spacing: 0.04em;
}

/* Gallery */

.gallery {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .gallery {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
  }

  .gallery__item--wide {
    grid-row: span 2;
  }
}

.gallery__item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.gallery__item img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.gallery__item--wide img {
  min-height: 100%;
  object-fit: cover;
}

.gallery figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: rgba(246, 241, 231, 0.9);
  background: rgba(0, 0, 0, 0.25);
}

/* Visit */

.strip--visit {
  background: var(--white);
  border-top: 1px solid rgba(28, 25, 23, 0.08);
}

.visit {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 720px) {
  .visit {
    grid-template-columns: 1fr 1fr;
  }
}

.visit__address {
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 0.5rem 0 1.25rem;
}

.visit__map {
  min-height: 0;
}

.map-frame {
  display: block;
  width: 100%;
  max-width: 100%;
  height: min(42vw, 360px);
  min-height: 240px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.map-caption {
  margin: 0.65rem 0 0;
  text-align: center;
}

@media (min-width: 720px) {
  .map-caption {
    text-align: left;
  }
}

/* Footer */

.site-footer {
  padding: 2.5rem 0 3rem;
  background: var(--ink);
  color: var(--cream);
}

.site-footer a {
  color: #fecaca;
}

.site-footer__inner {
  text-align: center;
}

.logo--footer {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--cream);
}

.logo--footer:hover {
  color: #fecaca;
}

.site-footer .muted {
  color: rgba(246, 241, 231, 0.55);
}
