:root {
  --orange: #F05B23;
  --orange-hover: #D94A18;
  --green: #60803A;
  --green-hover: #4F6B30;
  --ink: #1F1F1F;
  --muted: #6B6B6B;
  --muted-green: #667066;
  --bg: #F8F9FA;
  --tinted-bg: #F5F7F3;
  --paper: #FFFFFF;
  --line: #DDE3DD;
  --input-line: #D2D9D2;
  --orange-rgb: 240 91 35;
  --orange-hover-rgb: 217 74 24;
  --green-rgb: 96 128 58;
  --green-hover-rgb: 79 107 48;
  --ink-rgb: 31 31 31;
  --muted-green-rgb: 102 112 102;
  --bg-rgb: 248 249 250;
  --paper-rgb: 255 255 255;
  --line-rgb: 221 227 221;
  --red: var(--orange);
  --red-dark: var(--orange-hover);
  --red-soft: rgb(var(--orange-rgb) / 0.08);
  --cream: var(--tinted-bg);
  --green-dark: var(--green-hover);
  --green-soft: var(--tinted-bg);
  --shadow: 0 14px 34px rgb(var(--ink-rgb) / 0.08);
  --font-display: Futura, Avenir Next, Trebuchet MS, Helvetica, Arial, sans-serif;
  --font-body: Avenir Next, Segoe UI, Helvetica Neue, Helvetica, Arial, sans-serif;
  --text-xs: 1rem;
  --text-sm: 1rem;
  --text-body: 1.3125rem;
  --text-lead: 1.5rem;
  --text-subhead: 1.35rem;
  --text-title: 1.8rem;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    linear-gradient(180deg, rgb(var(--paper-rgb) / 0.96), rgb(var(--bg-rgb) / 0.98)),
    radial-gradient(circle at 88% 12%, rgb(var(--orange-rgb) / 0.06), transparent 18rem),
    radial-gradient(circle at 4% 38%, rgb(var(--green-rgb) / 0.055), transparent 18rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-kerning: normal;
  line-height: 1.5;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 28px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-header {
  min-height: 64px;
  border-bottom: 1px solid rgb(var(--ink-rgb) / 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgb(var(--ink-rgb) / 0.08);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 8px 18px rgb(var(--orange-rgb) / 0.1);
}

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

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: var(--text-lead);
  font-weight: 900;
  line-height: 1.1;
}

.brand-subtitle,
.field-label,
.eyebrow {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: none;
}

.hero {
  display: grid;
  grid-template-areas:
    "copy card"
    "photo card";
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.72fr);
  align-items: start;
  gap: 38px;
  min-height: calc(100dvh - 112px);
  padding: 34px 0 52px;
}

.hero-copy {
  grid-area: copy;
  display: grid;
  gap: 16px;
  align-self: end;
  padding-top: clamp(32px, 7vw, 84px);
}

.hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.38rem, 5.1vw, 4.15rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.hero-photo {
  grid-area: photo;
  position: relative;
  overflow: hidden;
  margin: 8px 0 0;
  border: 1px solid rgb(var(--ink-rgb) / 0.1);
  border-radius: 8px;
  background: var(--paper) url("assets/breakfast-hero.jpg") 70% 50% / cover no-repeat;
  box-shadow: 0 14px 32px rgb(var(--ink-rgb) / 0.09);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: clamp(180px, 24vw, 260px);
  object-fit: cover;
  object-position: 70% 50%;
}

.quick-card {
  grid-area: card;
  align-self: center;
  position: relative;
  display: grid;
  min-width: 0;
  gap: var(--space-md);
  overflow: hidden;
  padding: 30px 24px 24px;
  border: 1px solid rgb(var(--ink-rgb) / 0.1);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.quick-card::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--orange) 0 62%, var(--green) 62%);
}

body.is-order-view .hero {
  grid-template-areas: "card photo";
  grid-template-columns: minmax(380px, 0.82fr) minmax(0, 0.9fr);
  min-height: auto;
  padding-top: 34px;
}

body.is-order-view .hero-copy,
body.is-order-view .finder-view {
  display: none;
}

body.is-order-view .hero-photo {
  align-self: start;
  margin-top: 0;
}

body.is-order-view .store-panel {
  border-top: 0;
  padding-top: 0;
}

.store-topline {
  display: grid;
  gap: var(--space-xs);
}

.store-topline h2,
.panel-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 1;
}

.finder-actions {
  display: grid;
  gap: var(--space-xs);
}

.near-me-button,
.location-card,
.last-selected button {
  min-height: 44px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 850;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease,
    color 150ms ease;
}

.near-me-button {
  border: 1px solid var(--red-dark);
  border-radius: 8px;
  background: var(--red);
  color: var(--paper);
  font-size: var(--text-sm);
  box-shadow: 0 8px 18px rgb(var(--orange-hover-rgb) / 0.16);
}

.near-me-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.near-me-button:hover,
.location-card:hover,
.last-selected button:hover {
  border-color: rgb(var(--orange-rgb) / 0.42);
  box-shadow: 0 8px 20px rgb(var(--ink-rgb) / 0.06);
}

.near-me-button:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
  box-shadow: 0 10px 22px rgb(var(--orange-hover-rgb) / 0.2);
}

.near-me-button:active,
.location-card:active,
.last-selected button:active {
  transform: translateY(1px);
}

.location-card[aria-pressed="true"] {
  border-color: rgb(var(--orange-rgb) / 0.52);
  background: var(--red-soft);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgb(var(--orange-rgb) / 0.12);
}

.finder-status,
.empty-state {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.location-list {
  display: grid;
  gap: var(--space-xs);
}

.location-card {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: var(--cream);
  color: var(--ink);
  text-align: left;
}

.location-card--fl {
  border-color: rgb(var(--orange-rgb) / 0.26);
  background: linear-gradient(90deg, rgb(var(--orange-rgb) / 0.16) 0 6px, var(--cream) 6px);
}

.location-card--ga {
  border-color: rgb(var(--green-rgb) / 0.28);
  background: linear-gradient(90deg, rgb(var(--green-rgb) / 0.18) 0 6px, var(--cream) 6px);
}

.location-card strong,
.location-card small,
.location-card span {
  display: block;
}

.location-card strong {
  color: var(--ink);
  font-size: var(--text-body);
  line-height: 1;
}

.location-card small,
.location-card > span:last-child {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.35;
}

.location-card[aria-pressed="true"] small,
.location-card[aria-pressed="true"] strong,
.location-card[aria-pressed="true"] > span:last-child {
  color: var(--red-dark);
}

.last-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  border: 1px solid rgb(var(--green-rgb) / 0.26);
  border-radius: 8px;
  padding: 12px;
  background: var(--green-soft);
  color: var(--ink);
  font-size: var(--text-sm);
}

.last-selected[hidden] {
  display: none;
}

.last-selected strong {
  color: var(--green-dark);
  font-size: 1.12rem;
  line-height: 1.1;
}

.last-selected-copy {
  display: grid;
  gap: 4px;
}

.last-selected-label {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1;
}

.last-selected--compact {
  padding: 10px 12px;
}

.last-selected button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 9px 11px;
  background: var(--green-dark);
  color: var(--paper);
  font-size: var(--text-xs);
  text-transform: uppercase;
}

.store-panel {
  display: grid;
  min-width: 0;
  gap: var(--space-md);
  border-top: 1px solid var(--line);
  padding-top: var(--space-lg);
}

.store-panel[hidden] {
  display: none;
}

.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: var(--space-md);
}

.panel-heading > div {
  display: grid;
  gap: var(--space-xs);
}

.change-cafe-button {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.change-cafe-button:hover {
  border-color: rgb(var(--orange-rgb) / 0.36);
}

.store-details {
  display: grid;
  min-width: 0;
  max-width: 100%;
  gap: var(--space-xs);
  color: var(--muted);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.45;
}

.store-details span {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.store-details strong {
  color: var(--ink);
}

.store-details a {
  color: var(--ink);
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-decoration-color: rgb(var(--orange-rgb) / 0.36);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.service-grid {
  display: grid;
  min-width: 0;
  gap: var(--space-md);
}

.primary-order,
.choice-group {
  display: grid;
  min-width: 0;
  gap: var(--space-xs);
}

.choice-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}

.choice-heading > div {
  display: grid;
  gap: 4px;
}

.choice-heading h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-lead);
  font-weight: 850;
  line-height: 1;
}

.choice-heading span {
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 750;
}

.delivery-links {
  display: grid;
  min-width: 0;
  gap: var(--space-xs);
}

.service-link {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  text-align: left;
  text-decoration: none;
}

.service-link {
  cursor: pointer;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    border-color 150ms ease;
}

.service-link:hover {
  border-color: rgb(var(--orange-rgb) / 0.34);
  box-shadow: 0 8px 20px rgb(var(--ink-rgb) / 0.06);
}

.service-link:active {
  transform: translateY(1px);
}

.service-link--direct {
  border-color: var(--red);
  background: var(--red);
  color: var(--paper);
}

.service-link--featured {
  min-height: 78px;
  padding: 18px;
}

.service-link--featured .service-title {
  font-size: var(--text-lead);
}

.service-link--featured .service-action {
  padding: 10px 13px;
}

.service-link--direct .service-meta {
  color: rgb(var(--paper-rgb) / 0.88);
}

.service-link--direct .service-action {
  background: var(--paper);
  color: var(--red-dark);
}

.service-link--catering {
  border-color: rgb(var(--green-rgb) / 0.3);
  background: var(--green-soft);
}

.service-link--catering .service-action {
  background: var(--green-dark);
}

.service-link--doordash {
  border-color: rgb(var(--orange-rgb) / 0.24);
  background: var(--paper);
}

.service-link--doordash .service-action {
  background: var(--orange);
}

.service-link--ubereats {
  border-color: rgb(var(--green-rgb) / 0.26);
  background: var(--paper);
}

.service-link--ubereats .service-action {
  background: var(--green-dark);
}

.service-link--google {
  min-height: 50px;
  border-color: rgb(var(--green-rgb) / 0.24);
  background: transparent;
}

.service-link--google .service-action {
  background: var(--green-dark);
}

.service-link--secondary {
  margin-top: -4px;
}

.service-name {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.service-title {
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-weight: 850;
  line-height: 1.12;
}

.service-logo {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-weight: 850;
  line-height: 1.12;
}

.service-logo::before {
  content: "";
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  background: var(--logo-color, var(--ink));
  mask: var(--logo-url) center / contain no-repeat;
  -webkit-mask: var(--logo-url) center / contain no-repeat;
}

.service-logo img {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.service-logo span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.service-logo--doordash {
  --logo-color: var(--orange);
  --logo-url: url("https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/doordash.svg");
}

.service-logo--ubereats {
  --logo-color: var(--green);
  --logo-url: url("https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/ubereats.svg");
}

.service-meta {
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.service-action {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 10px;
  background: var(--red);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.direction-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: -4px;
  border: 1px solid rgb(var(--green-rgb) / 0.24);
  border-radius: 8px;
  padding: 12px 13px;
  background: transparent;
}

.direction-title {
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-weight: 850;
  line-height: 1.12;
}

.direction-actions {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.map-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.map-link:hover {
  border-color: rgb(var(--orange-rgb) / 0.34);
  box-shadow: 0 8px 20px rgb(var(--ink-rgb) / 0.06);
}

.map-link:active {
  transform: translateY(1px);
}

.map-link::before {
  content: "";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background: var(--map-color, var(--ink));
  mask: var(--map-url) center / contain no-repeat;
  -webkit-mask: var(--map-url) center / contain no-repeat;
}

.map-link img {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.map-link--google {
  --map-color: var(--green);
  --map-url: url("https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/googlemaps.svg");
}

.map-link--apple {
  --map-color: var(--ink);
  --map-url: url("https://cdn.jsdelivr.net/npm/simple-icons@latest/icons/apple.svg");
}

.store-note {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 800;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .page-shell {
    width: min(calc(100% - 24px), 720px);
  }

  .hero {
    grid-template-areas:
      "copy"
      "card"
      "photo";
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
    padding: 30px 0 36px;
  }

  body.is-order-view .hero {
    grid-template-areas:
      "card"
      "photo";
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  .hero-copy {
    padding-top: 12px;
  }

  .hero-copy h1 {
    max-width: 560px;
  }

}

@media (max-width: 560px) {
  .page-shell {
    width: min(calc(100% - 18px), 440px);
    padding-top: 10px;
  }

  .site-header {
    align-items: flex-start;
  }

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

  .brand-name {
    font-size: var(--text-body);
  }

  .brand-subtitle {
    font-size: var(--text-xs);
  }

  .hero-copy h1 {
    font-size: clamp(2.18rem, 10.5vw, 3.05rem);
  }

  .quick-card {
    padding: 26px 16px 24px;
  }

  .panel-heading {
    align-items: start;
    flex-direction: column;
    gap: var(--space-sm);
  }

  .change-cafe-button {
    width: auto;
  }

  .last-selected {
    align-items: flex-start;
    flex-direction: column;
  }

  .last-selected--compact {
    flex-direction: row;
  }

  .last-selected button {
    width: 100%;
  }

  .service-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    min-height: 56px;
    padding: 13px;
  }

  .service-link--featured {
    min-height: auto;
  }

  .service-action {
    align-self: flex-start;
  }

  .store-details .detail-row {
    display: grid;
    gap: 2px;
  }

  .store-details .menu-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 4px;
  }

  .store-details .menu-links strong {
    flex: 0 0 100%;
  }

  .store-panel,
  .store-details,
  .service-grid,
  .primary-order,
  .choice-group,
  .delivery-links,
  .service-link,
  .direction-row {
    max-width: calc(100vw - 56px);
  }

  .detail-row--address a {
    display: block;
    max-width: calc(100vw - 56px);
  }

  .direction-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .direction-actions {
    display: grid;
    width: 100%;
    justify-content: stretch;
  }

  .map-link {
    width: 100%;
    justify-content: center;
  }

  .site-footer {
    display: grid;
    justify-content: stretch;
  }
}
