:root {
  --bg: #070606;
  --bg-elevated: rgba(18, 14, 14, 0.9);
  --surface: rgba(24, 18, 18, 0.9);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --ink: #f7efe9;
  --muted: rgba(247, 239, 233, 0.72);
  --accent: #e11d2e;
  --accent-strong: #ff3344;
  --accent-soft: rgba(225, 29, 46, 0.18);
  --edge: rgba(255, 255, 255, 0.08);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 15%, rgba(225, 29, 46, 0.28), transparent 18%),
    radial-gradient(circle at 85% 10%, rgba(255, 51, 68, 0.16), transparent 14%),
    radial-gradient(circle at 50% 90%, rgba(225, 29, 46, 0.12), transparent 22%),
    linear-gradient(180deg, #0f0d0d 0%, #070606 40%, #050404 100%);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
}

.page-shell {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.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;
}

.page-shell {
  width: min(1220px, calc(100% - 28px));
  margin: 0 auto 40px;
}

.burger-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bg-burger {
  position: absolute;
  width: var(--size);
  height: calc(var(--size) * 0.78);
  left: var(--left);
  top: var(--top);
  opacity: 0.14;
  filter: blur(0.3px) drop-shadow(0 18px 28px rgba(0, 0, 0, 0.18));
  transform: translate3d(0, 0, 0) rotate(var(--rotation));
  will-change: transform;
}

@media (max-width: 640px) {
  .burger-background .bg-burger {
    opacity: 0.08;
    filter: blur(0.6px) drop-shadow(0 12px 18px rgba(0, 0, 0, 0.12));
  }

  .burger-background .bg-burger:nth-child(n + 5) {
    display: none;
  }
}

.bg-burger .bun.top {
  height: 36%;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.18), transparent 14%),
    linear-gradient(180deg, #ffb14a 0%, #b94f15 100%);
}

.bg-burger .bun.bottom {
  height: 24%;
  background: linear-gradient(180deg, #e07c25 0%, #7f2d12 100%);
}

.bg-burger .lettuce {
  top: 36%;
  height: 12%;
  background: linear-gradient(180deg, #41b94a, #207a35);
}

.bg-burger .tomato {
  top: 45%;
  height: 8%;
  background: linear-gradient(180deg, #ff6a73, #af1624);
}

.bg-burger .cheese {
  top: 48%;
  height: 12%;
  background: linear-gradient(180deg, #ffd14d, #cc8400);
}

.bg-burger .patty {
  top: 56%;
  height: 16%;
  background: linear-gradient(180deg, #5a2d18, #23110b);
}

.bg-burger .bacon {
  top: 53%;
  height: 8%;
  background:
    repeating-linear-gradient(135deg, rgba(255, 59, 76, 0.95) 0 16px, rgba(105, 16, 22, 0.96) 16px 28px);
}

.bg-burger .seed {
  top: 8%;
  width: 6px;
  height: 3px;
}

.bg-burger .seed-b {
  left: 50%;
}

.bg-burger .seed-c {
  left: 74%;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #2a1515, #8c111d 72%, #ff3344);
  color: #fff8f3;
  box-shadow: 0 18px 36px rgba(225, 29, 46, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-logo {
  padding: 0;
  overflow: hidden;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.brand-text strong {
  display: block;
  font-size: 0.92rem;
}

.brand-text small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--edge);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.16);
}

.nav a {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 239, 233, 0.9);
}

.nav a:hover,
.contact-card a:hover,
.btn:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--edge);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 999px;
}

.hero,
.history-section,
.locations-section,
.burger-grid,
.footer {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    var(--bg-elevated);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 44px;
  min-height: 640px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(225, 29, 46, 0.24), transparent 18%),
    radial-gradient(circle at 82% 26%, rgba(255, 255, 255, 0.08), transparent 16%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 48%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -120px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 29, 46, 0.18), transparent 68%);
  filter: blur(6px);
  pointer-events: none;
}

.hero-copy,
.burger-card,
.footer > div,
.contact-card {
  position: relative;
  z-index: 1;
}

.eyebrow,
.card-kicker,
.section-eyebrow {
  margin: 0 0 14px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ff5b67;
}

.hero h1 {
  margin: 0;
  display: grid;
  line-height: 0.84;
  font-size: clamp(4.2rem, 8vw, 8.2rem);
  letter-spacing: -0.08em;
  text-transform: uppercase;
  color: #fff8f5;
  font-family: "Georgia", "Times New Roman", serif;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.42);
}

.hero h1 span:last-child {
  color: #ff3c4d;
}

.hero-description {
  margin: 18px 0 0;
  max-width: 560px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, #e11d2e, #8f1018);
  color: #fff7f2;
  box-shadow: 0 18px 34px rgba(225, 29, 46, 0.24);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border: 1px solid var(--edge);
}

.btn-franchise {
  background: linear-gradient(135deg, rgba(255, 51, 68, 0.16), rgba(225, 29, 46, 0.08));
}

.locations-section {
  margin-top: 24px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    var(--bg-elevated);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
}

.history-section {
  margin-top: 24px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 24px;
  align-items: stretch;
}

.history-copy {
  display: grid;
  align-content: start;
  gap: 16px;
}

.history-copy h2 {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(2.1rem, 3.4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.history-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1.02rem;
}

.history-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.history-highlight {
  padding: 16px 16px 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(18, 14, 14, 0.9);
  border: 1px solid var(--edge);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.history-highlight span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ff5b67;
}

.history-highlight strong {
  display: block;
  color: #fff8f5;
  font-size: 1rem;
  line-height: 1.45;
}

.history-panel {
  display: grid;
  gap: 16px;
}

.history-card {
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(18, 14, 14, 0.92);
  border: 1px solid var(--edge);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.history-card-accent {
  background:
    radial-gradient(circle at top left, rgba(225, 29, 46, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(225, 29, 46, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(18, 14, 14, 0.92);
}

.history-card h3 {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.7rem;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: #fff8f5;
}

.history-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.location-card {
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(18, 14, 14, 0.92);
  border: 1px solid var(--edge);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.location-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #130f0f;
}

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

.location-copy {
  padding: 18px 18px 20px;
}

.location-copy h3 {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.45rem;
  color: #fff8f5;
  letter-spacing: -0.04em;
}

.location-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.section-heading h2,
.footer h2,
.burger-copy h3 {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  letter-spacing: -0.04em;
}

.menu-section {
  padding: 42px 12px 0;
}

.section-heading {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 28px;
}

.section-heading h2,
.events-copy h2,
.footer h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.section-heading p,
.events-copy > p,
.footer p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.burger-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.burger-card {
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(18, 14, 14, 0.92);
  border: 1px solid var(--edge);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.burger-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #130f0f;
}

.burger-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

.burger-copy {
  padding: 20px 20px 22px;
}

.burger-label {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ff5b67;
}

.burger-copy h3 {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: #fff8f5;
}

.burger-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.menu-footnote {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer {
  margin-top: 24px;
  padding: 42px 48px;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: start;
}

.footer h2 {
  font-size: clamp(2.6rem, 4.2vw, 4.4rem);
  line-height: 0.95;
}

.footer > div:first-child {
  max-width: 560px;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 26px 24px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(18, 14, 14, 0.92);
  border: 1px solid var(--edge);
  border-radius: 28px;
  min-width: 0;
  min-height: 210px;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #e11d2e, #ff5b67, #ffd14d);
  opacity: 0.95;
}

.contact-card:nth-child(2)::before {
  background: linear-gradient(90deg, #ff5b67, #e11d2e, #8f1018);
}

.contact-card:nth-child(3)::before {
  background: linear-gradient(90deg, #ffd14d, #ff5b67, #e11d2e);
}

.contact-label {
  margin: 0 0 2px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 239, 233, 0.78);
}

.contact-card a {
  display: inline-block;
  font-size: 1.08rem;
  font-weight: 900;
  color: #fff8f5;
}

.contact-card span {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.96rem;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 91, 103, 0.28);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.26);
}

.franchise-page {
  min-height: 100vh;
}

.franchise-shell {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto 40px;
}

.franchise-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    var(--bg-elevated);
  border: 1px solid var(--edge);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.franchise-copy {
  display: grid;
  align-content: start;
  gap: 18px;
}

.franchise-copy h1 {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.franchise-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.franchise-panel {
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 24%),
    linear-gradient(135deg, #1a1111, #0a0808);
  border: 1px solid var(--edge);
  padding: 24px;
  display: grid;
  gap: 18px;
}

.franchise-panel h2 {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.8rem;
}

.franchise-form {
  display: grid;
  gap: 16px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff5b67;
}

.field input,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  color: var(--ink);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 24px rgba(0, 0, 0, 0.16);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.field input::placeholder {
  color: rgba(247, 239, 233, 0.42);
}

.field select {
  padding-right: 48px;
  background-image:
    radial-gradient(circle at right 18px center, rgba(255, 91, 103, 0.16), transparent 16px),
    linear-gradient(45deg, transparent 50%, #ff5b67 50%),
    linear-gradient(135deg, #ff5b67 50%, transparent 50%);
  background-position:
    0 0,
    calc(100% - 18px) 22px,
    calc(100% - 12px) 22px;
  background-size: 100% 100%, 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field select:hover {
  border-color: rgba(255, 91, 103, 0.32);
  transform: translateY(-1px);
}

.field select option {
  background: #130f0f;
  color: #fff8f5;
}

.field input:focus,
.field select:focus {
  border-color: rgba(255, 91, 103, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 3px rgba(255, 91, 103, 0.12),
    0 14px 28px rgba(0, 0, 0, 0.2);
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.form-status {
  margin: 0;
  min-height: 1.5em;
  color: #7dffb2;
  font-size: 0.96rem;
  line-height: 1.6;
}

.form-status.is-error {
  color: #ff9aa3;
}

.franchise-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.franchise-story {
  margin-top: 24px;
  padding: 34px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    var(--bg-elevated);
  border: 1px solid var(--edge);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.story-copy {
  display: grid;
  align-content: start;
  gap: 16px;
}

.story-copy h2 {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.story-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1.02rem;
}

.story-copy strong {
  color: #fff8f5;
}

.story-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.story-card {
  min-height: 100%;
  overflow: hidden;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(18, 14, 14, 0.92);
  border: 1px solid var(--edge);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
}

.story-label {
  margin: 0;
  padding: 16px 16px 0;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff5b67;
}

.story-card img {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 0;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center;
  margin-top: 12px;
  padding: 0 16px 16px;
  box-sizing: border-box;
  background: #130f0f;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 24px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .hero,
  .history-section,
  .locations-section,
  .burger-grid,
  .footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero {
    min-height: auto;
    padding: 28px;
  }

  .locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .history-section {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .history-highlights {
    grid-template-columns: 1fr;
  }

  .burger-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .franchise-hero {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .franchise-story {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .story-gallery {
    grid-template-columns: 1fr;
  }

  .story-card img {
    flex: none;
    height: auto;
    aspect-ratio: auto;
    object-fit: initial;
    padding: 0;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 18px, 1220px);
  }

  .hero,
  .history-section,
  .locations-section,
  .burger-grid,
  .footer {
    padding: 18px;
    border-radius: 26px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 17vw, 5.2rem);
  }

  .hero-description,
  .section-heading p,
  .events-copy > p,
  .footer p {
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .burger-copy {
    padding: 18px 18px 20px;
  }

  .burger-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .history-section {
    padding: 18px;
  }

  .locations-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-card {
    min-width: 0;
  }

  .franchise-shell {
    width: min(100% - 18px, 1120px);
  }

  .franchise-hero {
    padding: 18px;
  }

  .franchise-panel {
    padding: 18px;
  }

  .franchise-story {
    padding: 18px;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .topbar {
    gap: 12px;
  }

  .brand {
    gap: 10px;
    max-width: calc(100% - 64px);
  }

  .brand-text strong {
    font-size: 0.82rem;
  }

  .brand-text small {
    font-size: 0.6rem;
  }

  .locations-section {
    padding: 16px;
  }

  .history-section {
    padding: 16px;
  }

  .location-copy h3 {
    font-size: 1.2rem;
  }

  .nav {
    padding: 10px 12px;
    gap: 10px;
  }

  .nav a {
    font-size: 0.78rem;
  }

  .hero {
    padding: 16px;
  }

  .hero-description {
    font-size: 0.96rem;
  }

  .burger-copy h3 {
    font-size: 1.35rem;
  }
}
