:root {
  --brand-blue: #005174;
  --brand-blue-dark: #00364d;
  --brand-blue-soft: #eef8fb;
  --cream: #ffffff;
  --cream-deep: #f2f8fb;
  --ink: #11252d;
  --coral: #ffffff;
  --mint: #ffffff;
  --line-light: rgba(255, 255, 255, 0.22);
  --line-dark: rgba(17, 37, 45, 0.14);
  --muted-light: rgba(255, 255, 255, 0.78);
  --muted-dark: rgba(17, 37, 45, 0.68);
  --shadow: 0 22px 70px rgba(0, 27, 39, 0.26);
  --radius: 14px;
  --radius-lg: 22px;
  --container: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: var(--cream);
  background: var(--brand-blue-dark);
  line-height: 1.45;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(var(--line-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-light);
  background: rgba(0, 72, 103, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand-link,
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: auto;
  height: 42px;
  display: block;
  border-radius: 12px;
  background: #ffffff;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 10px;
  background: var(--cream);
  color: var(--brand-blue);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.85;
  text-transform: uppercase;
}

.brand-name {
  display: grid;
  gap: 1px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.92;
  text-transform: uppercase;
}

.brand-name span:last-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted-light);
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--cream);
}

.nav-links a.is-active {
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 1px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 2px solid currentColor;
  border-radius: 999px;
  color: var(--cream);
  background: transparent;
  font-weight: 950;
  letter-spacing: 0;
  text-align: center;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 27, 39, 0.22);
}

.button-primary {
  color: var(--brand-blue);
  background: var(--cream);
  border-color: var(--cream);
}

.button-dark {
  color: var(--cream);
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.section {
  position: relative;
  padding: 76px 0;
  border-bottom: 1px solid var(--line-light);
}

.menu-only-main .section {
  min-height: calc(100vh - 72px);
}

.section-cream {
  color: var(--ink);
  background: var(--cream);
  border-bottom: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 700px;
  font-size: clamp(3.5rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  max-width: 820px;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  font-size: 1.38rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-section {
  overflow: hidden;
  padding: 56px 0 70px;
  background: linear-gradient(180deg, #004b6a 0%, var(--brand-blue-dark) 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 96px 96px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: min(700px, calc(100svh - 142px));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 34px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.hero-copy p {
  max-width: 560px;
  color: var(--muted-light);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 760;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-media {
  border-color: rgba(255, 255, 255, 0.34);
}

.hero-media::after {
  background: rgba(0, 54, 77, 0.88);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.nav-actions,
.admin-footer-actions {
  margin-top: 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.54fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head p {
  color: currentColor;
  opacity: 0.72;
  font-size: 1.04rem;
  font-weight: 760;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.statement {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 2px solid var(--brand-blue);
  background: var(--brand-blue);
  color: var(--cream);
}

.statement p {
  color: var(--muted-light);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-system,
.coffee-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.coffee-highlight {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(17, 37, 45, 0.1);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfc 100%);
}

.coffee-highlight > span {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--brand-blue);
  background: rgba(0, 81, 116, 0.08);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.coffee-highlight strong {
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}

.coffee-highlight p {
  color: var(--muted-dark);
  font-weight: 760;
}

.brand-tile {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 2px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.54);
}

.brand-tile strong {
  font-size: 2.1rem;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-tile span {
  color: var(--muted-dark);
  font-weight: 850;
}

.swatches {
  display: flex;
  gap: 8px;
}

.swatch {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
}

.swatch-blue {
  background: var(--brand-blue);
}

.swatch-cream {
  background: var(--cream);
}

.swatch-mint {
  background: var(--brand-blue-soft);
}

.swatch-coral {
  background: var(--cream);
}

.menu-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.menu-section {
  background: #f7fbfc;
}

.menu-section .section-head p {
  color: var(--muted-dark);
  opacity: 1;
}

.menu-tools {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(17, 37, 45, 0.12);
  border-radius: var(--radius-lg);
  background: #ffffff;
}

.search {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(17, 37, 45, 0.16);
  border-radius: var(--radius);
  color: var(--ink);
  background: #f7fbfc;
  outline: 0;
  font-weight: 850;
}

.search::placeholder {
  color: var(--muted-dark);
}

.category-list {
  display: grid;
  gap: 8px;
}

.category-button {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(17, 37, 45, 0.12);
  border-radius: var(--radius);
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-weight: 950;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.category-button.is-active {
  color: var(--cream);
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

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

.menu-card {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 22px;
  border: 1px solid rgba(17, 37, 45, 0.12);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: #ffffff;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 27, 39, 0.11);
  border-color: rgba(0, 81, 116, 0.26);
}

.menu-card.is-signature {
  border-color: rgba(17, 37, 45, 0.12);
  background: #ffffff;
}

.menu-image,
.menu-image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 16px;
  border: 1px solid rgba(17, 37, 45, 0.1);
  border-radius: 18px;
  background: #f2f8fb;
}

.menu-image {
  object-fit: cover;
}

.menu-image-placeholder {
  display: grid;
  place-items: center;
  color: currentColor;
  opacity: 0.72;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-card.is-signature .menu-image-placeholder {
  background: var(--brand-blue-soft);
}

.menu-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid rgba(0, 81, 116, 0.22);
  border-radius: 999px;
  color: var(--brand-blue);
  background: rgba(0, 81, 116, 0.06);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pick-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(162, 108, 0, 0.24);
  border-radius: 999px;
  color: #5f3b00;
  background: #ffe38a;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pick-badge span {
  color: #c28300;
  font-size: 0.92rem;
  line-height: 1;
}

.price {
  font-size: 1.12rem;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
}

.menu-card p {
  margin-top: 8px;
  color: var(--muted-dark);
  opacity: 1;
  font-weight: 780;
}

.menu-empty {
  display: none;
  min-height: 160px;
  padding: 24px;
  border: 1px solid rgba(17, 37, 45, 0.12);
  border-radius: var(--radius-lg);
  color: var(--muted-dark);
  background: #ffffff;
  font-weight: 850;
}

.menu-empty.is-visible {
  display: grid;
  place-items: center;
  text-align: center;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 1fr;
  gap: 12px;
}

.visual {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 2px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: var(--brand-blue-soft);
}

.visual.hero-media {
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 2;
}

.visual::before {
  content: "";
  position: absolute;
  inset: 22px;
  background:
    linear-gradient(135deg, rgba(0, 81, 116, 0.18), transparent),
    var(--cream);
}

.visual::after {
  content: attr(data-label);
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 7px 10px;
  color: var(--cream);
  background: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual.has-image::before {
  display: none;
}

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

.hero-media img {
  object-position: 50% 50%;
  transform: none;
  transform-origin: 50% 50%;
}

.visual.tall {
  min-height: 360px;
}

.visual.coral::before {
  background:
    linear-gradient(135deg, rgba(0, 81, 116, 0.12), transparent 55%),
    var(--cream);
}

.visual.mint::before {
  background:
    repeating-linear-gradient(90deg, rgba(0, 81, 116, 0.12) 0 2px, transparent 2px 20px),
    var(--cream);
}

.hours-grid,
.location-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 18px;
  align-items: stretch;
}

.panel {
  padding: 28px;
  border: 2px solid currentColor;
  border-radius: var(--radius-lg);
}

.hours-list {
  overflow: hidden;
  border: 2px solid currentColor;
  border-radius: var(--radius-lg);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 2px solid currentColor;
  font-weight: 950;
  text-transform: uppercase;
}

  .hours-row:last-child {
  border-bottom: 0;
}

.hours-row.is-today {
  background: var(--brand-blue);
  color: var(--cream);
}

.hours-row.is-today::after {
  content: "Today";
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.72;
}

.admin-open {
  color: var(--cream);
  background: transparent;
  cursor: pointer;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  color: var(--ink);
}

.admin-modal.is-open {
  display: block;
}

.admin-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 32, 0.68);
}

.admin-panel {
  position: absolute;
  top: 24px;
  right: 24px;
  bottom: 24px;
  width: min(1040px, calc(100% - 48px));
  display: flex;
  flex-direction: column;
  border: 2px solid var(--brand-blue);
  background: #f6fafb;
  box-shadow: var(--shadow);
}

.admin-header,
.admin-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 2px solid var(--line-dark);
  background: #ffffff;
}

.admin-footer {
  border-top: 2px solid var(--line-dark);
  border-bottom: 0;
  flex-wrap: wrap;
}

.admin-modal:not(.is-authed) .admin-footer {
  display: none;
}

.admin-header h2 {
  font-size: 1.8rem;
}

.admin-close {
  width: 42px;
  height: 42px;
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  background: transparent;
  font-weight: 950;
  cursor: pointer;
}

.admin-body {
  flex: 1;
  overflow: auto;
  padding: 18px;
}

.admin-login,
.admin-editor {
  display: grid;
  gap: 16px;
}

.admin-editor[hidden],
.admin-login[hidden] {
  display: none;
}

.admin-note {
  color: var(--muted-dark);
  font-weight: 760;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(17, 37, 45, 0.12);
  border-radius: var(--radius);
  background: #ffffff;
}

.admin-toolbar div {
  display: grid;
  gap: 3px;
}

.admin-toolbar strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.admin-toolbar span {
  color: var(--muted-dark);
  font-weight: 760;
}

.admin-toolbar .admin-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--brand-blue);
  background: rgba(0, 81, 116, 0.08);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-toolbar .admin-status[data-tone="dirty"] {
  color: #6a4300;
  background: #fff0bf;
}

.admin-toolbar .admin-status[data-tone="saved"] {
  color: #115d38;
  background: #dff8e9;
}

.admin-section {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(17, 37, 45, 0.12);
  border-radius: var(--radius);
  background: #ffffff;
}

.admin-section h3 {
  color: var(--brand-blue);
}

.admin-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-section-head div {
  display: grid;
  gap: 4px;
}

.admin-section-head p {
  color: var(--muted-dark);
  font-weight: 760;
}

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

.admin-field-wide {
  grid-column: 1 / -1;
}

.admin-field {
  display: grid;
  gap: 6px;
  font-weight: 850;
}

.admin-field label {
  color: var(--muted-dark);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%;
  min-height: 42px;
  padding: 10px;
  border: 1px solid rgba(17, 37, 45, 0.18);
  border-radius: var(--radius);
  color: var(--ink);
  background: #ffffff;
  outline: 0;
  font-weight: 760;
}

.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 81, 116, 0.12);
}

.admin-field textarea {
  min-height: 84px;
  resize: vertical;
}

.admin-list {
  display: grid;
  gap: 14px;
}

.admin-item {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(17, 37, 45, 0.12);
  border-radius: var(--radius);
  background: #ffffff;
}

.admin-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(17, 37, 45, 0.1);
}

.admin-item-header h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.admin-item-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--muted-dark);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-item-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-product-editor {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.admin-image-editor {
  display: grid;
  gap: 10px;
}

.admin-image-preview {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 37, 45, 0.14);
  border-radius: var(--radius);
  color: var(--muted-dark);
  background:
    linear-gradient(rgba(0, 81, 116, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 81, 116, 0.06) 1px, transparent 1px),
    #f7fbfc;
  background-size: 22px 22px;
  object-fit: cover;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-upload-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand-blue);
  border-radius: var(--radius);
  color: var(--brand-blue);
  background: #ffffff;
  font-weight: 950;
  cursor: pointer;
}

.admin-upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-small-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--brand-blue);
  border-radius: var(--radius);
  color: var(--brand-blue);
  background: transparent;
  font-weight: 950;
  cursor: pointer;
}

.admin-small-button.danger {
  border-color: rgba(160, 42, 42, 0.34);
  color: #8d2525;
  background: #fff7f7;
}

.admin-icon-button {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(17, 37, 45, 0.16);
  border-radius: var(--radius);
  color: var(--ink);
  background: #ffffff;
  font-weight: 950;
  cursor: pointer;
}

.map-panel {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 27, 39, 0.18);
}

.map-panel::before {
  display: none;
}

.map-panel::after {
  display: none;
}

.map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-fallback {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(460px, calc(100% - 44px));
  transform: translate(-50%, -50%);
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  border: 1px solid rgba(0, 81, 116, 0.1);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 50px rgba(0, 27, 39, 0.18);
  text-align: center;
  z-index: 1;
}

.map-pin {
  position: relative;
  width: 46px;
  height: 46px;
  display: block;
  justify-self: center;
  margin-bottom: 4px;
  border-radius: 50% 50% 50% 12px;
  background: var(--brand-blue);
  transform: rotate(45deg);
  box-shadow: 0 14px 30px rgba(0, 81, 116, 0.24);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: #ffffff;
}

.map-fallback strong {
  color: var(--brand-blue);
  font-size: 1.2rem;
}

.map-fallback span {
  color: var(--muted-dark);
  font-weight: 760;
}

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.location-copy p,
.contact p {
  color: var(--muted-light);
  font-weight: 780;
}

.contact {
  padding: 62px 0 72px;
  text-align: center;
}

.contact .container {
  display: grid;
  justify-items: center;
  gap: 20px;
}

.contact p {
  max-width: 620px;
}

.footer {
  padding: 28px 0 40px;
  color: var(--muted-light);
  font-size: 0.92rem;
  font-weight: 760;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero-stats {
  display: flex;
  gap: 28px;
  padding-top: 18px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stat strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  background: var(--brand-blue-dark);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.is-open {
  transform: none;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.mobile-nav nav a {
  font-size: clamp(2rem, 7vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--cream);
  transition: color 0.15s ease;
}

.mobile-nav nav a:hover {
  color: rgba(255, 255, 255, 0.66);
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: var(--cream);
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 40;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--cream);
  background: var(--brand-blue);
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.28s ease, transform 0.28s ease, background 0.18s ease;
  box-shadow: 0 8px 28px rgba(0, 27, 39, 0.36);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: none;
}

.back-to-top:hover {
  background: var(--brand-blue-dark);
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-section {
    padding: 46px 0 58px;
  }

  .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .visual.hero-media {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .section-head,
  .story-grid,
  .hours-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .menu-shell {
    grid-template-columns: 1fr;
  }

  .menu-tools {
    position: static;
  }

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

  .visual-grid,
  .brand-system,
  .coffee-highlights {
    grid-template-columns: 1fr 1fr;
  }

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

  .admin-product-editor {
    grid-template-columns: 150px minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100% - 24px, 1160px);
  }

  html {
    scroll-padding-top: 66px;
  }

  body {
    overflow-x: hidden;
  }

  .header .button {
    display: none;
  }

  .header .admin-open {
    display: inline-flex;
  }

  .nav {
    min-height: 58px;
    gap: 12px;
  }

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

  .brand-logo {
    height: 38px;
    border-radius: 10px;
  }

  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .section {
    padding: 46px 0;
  }

  .hero-section {
    padding: 32px 0 44px;
  }

  .hero-grid {
    gap: 22px;
  }

  h1 {
    font-size: 3.05rem;
    line-height: 0.94;
  }

  h2 {
    font-size: 2.42rem;
    line-height: 1;
  }

  .hero-copy {
    gap: 14px;
  }

  .hero-copy p {
    max-width: 34rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
  }

  .action-row {
    width: 100%;
    gap: 10px;
    margin-top: 18px;
  }

  .hero-copy .action-row .button,
  .location-copy .action-row .button,
  .contact .button {
    flex: 1 1 150px;
    min-width: 0;
  }

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

  .hero-stat {
    min-width: 0;
  }

  .hero-stat strong {
    font-size: 1.08rem;
  }

  .hero-stat span {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }

  .visual.hero-media {
    height: auto;
    min-height: 0;
    aspect-ratio: 1.1 / 1;
    border-radius: 18px;
  }

  .hero-media img {
    object-position: 44% 50%;
    transform: none;
  }

  .visual::after {
    left: 12px;
    bottom: 12px;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .section-head {
    gap: 14px;
    margin-bottom: 22px;
  }

  .section-head p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .coffee-highlight {
    min-height: 0;
    gap: 14px;
    padding: 18px;
    border-radius: 16px;
  }

  .brand-system,
  .coffee-highlights,
  .menu-grid,
  .visual-grid {
    grid-template-columns: 1fr;
  }

  .menu-section {
    padding-top: 42px;
  }

  .menu-shell {
    gap: 14px;
  }

  .menu-tools {
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }

  .search {
    min-height: 46px;
    border-radius: 12px;
  }

  .category-list {
    display: flex;
    gap: 8px;
    margin-inline: -12px;
    padding: 0 12px 2px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .category-list::-webkit-scrollbar {
    display: none;
  }

  .category-button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 999px;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .menu-card {
    min-height: 0;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
  }

  .menu-card:hover {
    transform: none;
  }

  .menu-image,
  .menu-image-placeholder {
    aspect-ratio: 4 / 3;
    margin-bottom: 12px;
    border-radius: 14px;
  }

  .menu-meta {
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
  }

  .tag {
    min-height: 22px;
    padding: 0 8px;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }

  .price {
    font-size: 1rem;
  }

  .menu-card h3 {
    font-size: 1.18rem;
    line-height: 1.05;
  }

  .menu-card p,
  .coffee-highlight p {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .pick-badge {
    min-height: 26px;
    font-size: 0.68rem;
  }

  .hours-row {
    flex-direction: column;
    gap: 6px;
    padding: 17px 18px;
    line-height: 1.2;
  }

  .hours-row.is-today::after {
    align-self: flex-start;
  }

  .panel {
    padding: 20px;
    border-radius: 16px;
  }

  .location-copy {
    gap: 16px;
  }

  .location-copy p,
  .contact p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .map-panel {
    min-height: 300px;
    border-radius: 16px;
  }

  .contact {
    padding: 48px 0 54px;
  }

  .mobile-nav {
    gap: 28px;
    padding: 76px 24px max(34px, env(safe-area-inset-bottom));
  }

  .mobile-nav nav {
    gap: 18px;
  }

  .mobile-nav nav a {
    font-size: 2.2rem;
    line-height: 1;
  }

  .mobile-nav .button {
    width: min(100%, 280px);
  }

  .admin-panel {
    inset: 10px;
    width: auto;
    max-height: calc(100svh - 20px);
    border-radius: 16px;
    overflow: hidden;
  }

  .admin-header,
  .admin-footer {
    padding: 12px;
  }

  .admin-header h2 {
    font-size: 1.42rem;
  }

  .admin-body {
    padding: 12px;
  }

  .admin-toolbar,
  .admin-section-head,
  .admin-item-header {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-product-editor {
    grid-template-columns: 1fr;
  }

  .admin-image-preview {
    aspect-ratio: 16 / 9;
  }

  .admin-footer {
    align-items: stretch;
  }

  .admin-footer .button,
  .admin-footer .admin-small-button {
    width: 100%;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 380px) {
  :root {
    --container: min(100% - 20px, 1160px);
  }

  h1 {
    font-size: 2.62rem;
  }

  h2 {
    font-size: 2.12rem;
  }

  .button {
    min-height: 42px;
    padding: 0 14px;
  }

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

  .hero-stat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
  }

  .hero-stat span {
    margin-top: 0;
    text-align: right;
  }

  .menu-meta {
    flex-direction: column;
  }

  .price {
    white-space: normal;
  }
}
