/* ==========================================================================
   Blue Fox Cafe — Design System
   Direction: Vintage Diner x Modern Editorial
   ========================================================================== */

:root {
  --navy: #14344a;
  --navy-deep: #0d2436;
  --ink: #17232e;
  --cream: #f6efe0;
  --cream-2: #fbf6ea;
  --paper: #ede3cd;
  --orange: #e9612b;
  --orange-ink: #c2410c;
  --tomato: #c63c22;
  --gold: #b8860b;
  --line: #e4d8bf;
  --line-soft: #ece3cf;
  --muted: #6f624f;
  --white: #fffdf6;

  --font-display: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20, 44, 74, 0.06), 0 8px 24px rgba(20, 44, 74, 0.08);
  --shadow-md: 0 2px 4px rgba(20, 44, 74, 0.08), 0 18px 40px rgba(20, 44, 74, 0.14);

  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --header-h: 76px;
  --bottomnav-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  line-height: 1.55;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  /* subtle paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

button {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}

::selection {
  background: var(--orange);
  color: var(--white);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 16px;
}

/* --------------------------------------------------------------------------
   Typography & utilities
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  color: var(--ink);
  margin: 0;
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-ink);
}

.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.kicker--center::before {
  display: none;
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-title {
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 0.98;
  margin-top: 16px;
  text-wrap: balance;
}

.section-sub {
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 19px);
  margin-top: 16px;
  max-width: 560px;
  text-wrap: pretty;
}

.text-orange {
  color: var(--orange);
}

.text-cream {
  color: var(--cream);
}

.squiggle {
  display: block;
  width: 120px;
  height: 12px;
  color: var(--orange-ink);
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 16px 24px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out),
    color 0.25s var(--ease-out);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(233, 97, 43, 0.28);
}

.btn-primary:hover {
  background: var(--tomato);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(198, 60, 34, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--cream);
  color: var(--navy);
}

.btn-light:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 12px 18px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 30px;
  font-size: 16px;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 3px;
  transition: gap 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.arrow-link:hover {
  gap: 14px;
  color: var(--orange-ink);
}

.arrow-link .arrow {
  transition: transform 0.3s var(--ease-out);
}

.arrow-link:hover .arrow {
  transform: translateX(2px);
}

.arrow-link svg.arrow {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 239, 224, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.35s var(--ease-out);
}

.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(20, 44, 74, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  transition: height 0.35s var(--ease-out);
}

.site-header.scrolled .header-inner {
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--navy);
  border-radius: 50%;
  transition: transform 0.4s var(--ease-out);
}

.brand:hover .brand-mark {
  transform: rotate(-8deg);
}

.brand-mark img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--navy);
}

.brand-wordmark em {
  font-style: normal;
  color: var(--orange-ink);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  border-radius: 8px;
  transition: color 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav-link:hover {
  color: var(--orange-ink);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: var(--navy);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--cream-2);
  border-radius: 12px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out),
    opacity 0.25s var(--ease-out);
}

.nav-toggle span:nth-child(1) {
  top: 16px;
}

.nav-toggle span:nth-child(2) {
  top: 22px;
}

.nav-toggle span:nth-child(3) {
  top: 28px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--cream);
  z-index: 55;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out),
    visibility 0.35s;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-link {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  padding: 14px 4px;
  color: var(--navy);
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.25s var(--ease-out), padding-left 0.3s var(--ease-out);
}

.mobile-menu-link:hover,
.mobile-menu-link[aria-current="page"] {
  color: var(--orange-ink);
  padding-left: 12px;
}

/* --------------------------------------------------------------------------
   Mobile bottom navigation
   -------------------------------------------------------------------------- */

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(13, 36, 54, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 253, 246, 0.12);
  padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: var(--bottomnav-h);
  color: var(--cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.25s var(--ease-out);
}

.bottom-nav a:hover,
.bottom-nav a:active {
  background: rgba(233, 97, 43, 0.2);
}

.bottom-nav a svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.bottom-nav a.accent {
  color: #ffb08a;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--cream);
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -140px;
  width: 440px;
  height: 440px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0.1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(48px, 8vw, 112px) 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: 22px;
}

.hero-kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.hero-title {
  font-size: clamp(58px, 11vw, 152px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.hero-title .block {
  display: block;
}

.hero-sub {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.02;
  color: var(--ink);
  letter-spacing: -0.01em;
  max-width: 560px;
  text-wrap: balance;
}

.hero-sub .accent {
  color: var(--orange-ink);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.hero-meta .sep {
  color: var(--orange-ink);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 12px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  box-shadow: var(--shadow-sm);
}

.open-badge .pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3fa66a;
  box-shadow: 0 0 0 0 rgba(63, 166, 106, 0.5);
  animation: pulse 2.2s infinite;
}

.open-badge.closed .pulse {
  background: var(--tomato);
  animation: none;
}

.open-badge .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.open-badge .time {
  font-weight: 700;
  color: var(--ink);
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transform: rotate(1.5deg);
  aspect-ratio: 4 / 3;
}

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

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 253, 246, 0.4);
  border-radius: inherit;
  pointer-events: none;
}

.hero-photo--small {
  position: absolute;
  width: 46%;
  right: -18px;
  bottom: -30px;
  transform: rotate(-3deg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}

.sticker {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 50%;
  z-index: 2;
}

.sticker--orange {
  background: var(--orange);
  color: var(--white);
  width: 116px;
  height: 116px;
  top: -30px;
  left: -30px;
  font-size: 16px;
  line-height: 1.05;
  transform: rotate(-10deg);
  box-shadow: var(--shadow-md);
}

.sticker--orange span {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 4px;
}

.sticker--cream {
  background: var(--cream-2);
  color: var(--navy);
  border: 2px dashed var(--navy);
  width: 92px;
  height: 92px;
  top: 18px;
  right: 18px;
  font-size: 13px;
  transform: rotate(8deg);
}

.marquee {
  overflow: hidden;
  background: var(--navy);
  color: var(--cream);
  padding: 14px 0;
  border-top: 1px solid rgba(255, 253, 246, 0.1);
  border-bottom: 1px solid rgba(255, 253, 246, 0.1);
}

.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.03em;
}

.marquee-item .star {
  color: var(--orange);
  margin: 0 18px;
  display: inline-flex;
  align-items: center;
}

.marquee-item .star svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   Sections (shared)
   -------------------------------------------------------------------------- */

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}

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

.section--cream2 {
  background: var(--cream-2);
}

.section--paper {
  background: var(--paper);
}

.section--navy {
  background: var(--navy);
  color: var(--cream);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--cream);
}

.section--navy .section-sub {
  color: rgba(246, 239, 224, 0.78);
}

.section--navy .kicker,
.menu-preview .kicker {
  color: #ffb08a;
}

.section--navy .kicker::before,
.menu-preview .kicker::before {
  background: #ffb08a;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* --------------------------------------------------------------------------
   Brand intro
   -------------------------------------------------------------------------- */

.brand-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.brand-intro-copy .section-title {
  font-size: clamp(38px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-intro-copy .section-title .wavy {
  position: relative;
  display: inline-block;
  color: var(--orange-ink);
}

.brand-intro-aside {
  position: relative;
}

.brand-intro-aside .photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 6;
}

.brand-intro-aside .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-intro-aside .note {
  position: absolute;
  left: -22px;
  bottom: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  max-width: 220px;
  box-shadow: var(--shadow-md);
  transform: rotate(-2deg);
}

.brand-intro-aside .note strong {
  font-family: var(--font-display);
  font-size: 22px;
  display: block;
  color: var(--navy);
}

.brand-intro-aside .note span {
  color: var(--muted);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Signature dishes
   -------------------------------------------------------------------------- */

.dish-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.dish-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.dish-card .photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.dish-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.dish-card:hover .photo img {
  transform: scale(1.05);
}

.dish-card .body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.dish-card h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.05;
}

.dish-card .desc {
  color: var(--muted);
  font-size: 15px;
  flex: 1;
}

.dish-card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dish-card .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--orange-ink);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--cream-2);
}

/* --------------------------------------------------------------------------
   Menu preview
   -------------------------------------------------------------------------- */

.menu-preview {
  background: var(--navy);
  color: var(--cream);
}

.menu-preview .section-title,
.menu-preview .section-sub {
  color: var(--cream);
}

.menu-preview .section-sub {
  color: rgba(246, 239, 224, 0.72);
}

.cat-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 2px 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.cat-pills::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  flex: 0 0 auto;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 253, 246, 0.4);
  color: var(--cream);
  background: transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out),
    color 0.25s var(--ease-out);
}

.cat-pill:hover,
.cat-pill.active {
  background: var(--orange);
  border-color: var(--orange-ink);
  color: var(--white);
}

.preview-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 32px;
  margin-top: 8px;
}

.preview-item {
  border-bottom: 1px dashed rgba(255, 253, 246, 0.22);
  padding: 18px 0;
}

.preview-item .row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.preview-item .name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
}

.preview-item .price {
  font-family: var(--font-display);
  color: #ffb08a;
  font-weight: 600;
  font-size: 18px;
  white-space: nowrap;
}

.preview-item .desc {
  color: rgba(246, 239, 224, 0.68);
  font-size: 14px;
  margin-top: 6px;
}

.preview-cta {
  margin-top: 36px;
}

/* --------------------------------------------------------------------------
   Why Blue Fox
   -------------------------------------------------------------------------- */

.feature-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.feature-card .num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--orange-ink);
  letter-spacing: 0.08em;
}

.feature-card h3 {
  font-size: 26px;
  margin-top: 18px;
  line-height: 1.05;
}

.feature-card p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 16px;
}

.feature-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--orange-ink);
  margin-bottom: 6px;
}

.feature-card .icon svg {
  width: 26px;
  height: 26px;
}

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */

.reviews {
  background: var(--cream-2);
}

.reviews-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.review-score {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stars {
  display: inline-flex;
  gap: 3px;
}

.stars svg {
  width: 26px;
  height: 26px;
  fill: var(--gold);
}

.stars-sm svg {
  width: 16px;
  height: 16px;
}

.review-score .big {
  font-family: var(--font-display);
  font-size: 92px;
  font-weight: 700;
  line-height: 0.9;
  color: var(--navy);
}

.review-score .big small {
  font-size: 34px;
  color: var(--muted);
  font-weight: 500;
}

.review-score .source {
  color: var(--muted);
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.review-card::before {
  content: "\201C";
  position: absolute;
  top: -18px;
  right: 8px;
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 1;
  color: var(--orange);
  opacity: 0.12;
  pointer-events: none;
}

.review-card:hover {
  border-color: var(--orange-ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.review-card .quote {
  position: relative;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.35;
  color: var(--ink);
}

.review-card .stars-sm {
  margin-top: 12px;
}

.review-card .attr {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}

.review-card .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange-ink);
  font-weight: 700;
  font-size: 13px;
  margin-top: 12px;
}

.review-card .link svg {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   Come hungry (experience)
   -------------------------------------------------------------------------- */

.experience {
  background: var(--paper);
}

.experience-head {
  text-align: center;
  margin-bottom: 48px;
}

.experience-head .section-title {
  font-size: clamp(48px, 9vw, 112px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.experience-head .section-sub {
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(20px, 3vw, 30px);
}

.collage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.collage .c {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.collage .c:nth-child(1) {
  grid-row: span 2;
  aspect-ratio: 3 / 4;
}

.collage .c:nth-child(2) {
  aspect-ratio: 4 / 3;
}

.collage .c:nth-child(3) {
  aspect-ratio: 1 / 1;
}

.collage .c:nth-child(4) {
  grid-row: span 2;
  aspect-ratio: 3 / 4;
}

/* --------------------------------------------------------------------------
   Visit strip
   -------------------------------------------------------------------------- */

.visit-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.hours-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 15px;
}

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

.hours-row .day {
  font-weight: 700;
}

.hours-row .hours {
  color: var(--muted);
}

.hours-row.today {
  color: var(--orange-ink);
}

.hours-row.today .day {
  color: var(--orange-ink);
}

.hours-row.closed .hours {
  color: var(--tomato);
  font-weight: 700;
}

.address-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
}

.address-line svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--orange-ink);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 64px 0 96px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .wordmark img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

.footer-brand .tagline {
  color: rgba(246, 239, 224, 0.7);
  margin-top: 16px;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--cream);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: rgba(246, 239, 224, 0.78);
  transition: color 0.25s var(--ease-out);
}

.footer-col a:hover {
  color: #ffb08a;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 246, 0.22);
  display: grid;
  place-items: center;
  transition: background-color 0.25s var(--ease-out), transform 0.3s var(--ease-out);
}

.social-row a:hover {
  background: var(--orange);
  border-color: var(--orange-ink);
  transform: translateY(-2px);
}

.social-row svg {
  width: 18px;
  height: 18px;
  fill: var(--cream);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 253, 246, 0.14);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(246, 239, 224, 0.55);
  font-size: 13px;
}

.footer-bottom a {
  color: rgba(246, 239, 224, 0.7);
}

/* --------------------------------------------------------------------------
   Page hero (interior pages)
   -------------------------------------------------------------------------- */

.page-hero {
  background: var(--cream);
  border-bottom: 1px solid var(--line-soft);
  padding: clamp(48px, 7vw, 88px) 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(46px, 8vw, 96px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-wrap: balance;
}

.page-hero .lede {
  color: var(--muted);
  max-width: 560px;
  margin: 18px auto 0;
  font-size: 17px;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Menu page
   -------------------------------------------------------------------------- */

.menu-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.menu-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-sidebar a {
  padding: 11px 14px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  border: 1px solid transparent;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out);
}

.menu-sidebar a:hover,
.menu-sidebar a.active {
  background: var(--white);
  border-color: var(--line);
  color: var(--orange-ink);
}

.menu-content {
  min-width: 0;
}

.menu-category {
  margin-bottom: 56px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.menu-category-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}

.menu-category-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  color: var(--navy);
}

.menu-category-head .count {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-category .intro {
  color: var(--muted);
  font-size: 15px;
  max-width: 640px;
  margin: -8px 0 24px;
}

.menu-item {
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}

.menu-item-top {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.menu-item .name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.15;
}

.menu-item .leader {
  flex: 1;
  border-bottom: 2px dotted var(--line);
  transform: translateY(-5px);
}

.menu-item .desc {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 6px;
  max-width: 640px;
}

.menu-item .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--orange-ink);
  white-space: nowrap;
}

.menu-item .note {
  color: var(--orange-ink);
  font-size: 13px;
  margin-top: 6px;
}

.menu-note {
  background: var(--cream-2);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   Gallery page
   -------------------------------------------------------------------------- */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--cream-2);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}

.gallery-grid {
  columns: 3 260px;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.7s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(13, 36, 54, 0.72));
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.gallery-item:hover .cap {
  opacity: 1;
}

.gallery-item {
  cursor: pointer;
}

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(13, 36, 54, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-figure {
  margin: 0;
  max-width: min(1080px, 100%);
  text-align: center;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.lightbox-figure figcaption {
  color: var(--cream);
  margin-top: 16px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.lightbox-count {
  color: rgba(246, 239, 224, 0.6);
  font-size: 13px;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 253, 246, 0.1);
  color: var(--cream);
  border: 1px solid rgba(255, 253, 246, 0.22);
  display: grid;
  place-items: center;
  transition: background-color 0.25s var(--ease-out);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 253, 246, 0.22);
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-close svg,
.lightbox-nav svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

@media (max-width: 640px) {
  .lightbox {
    padding: 12px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lightbox-prev {
    left: 20px;
  }

  .lightbox-next {
    right: 20px;
  }

  .lightbox-figure img {
    max-height: calc(100vh - 170px);
  }
}

/* --------------------------------------------------------------------------
   Our story page
   -------------------------------------------------------------------------- */

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.story-layout .photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}

.story-layout .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  padding: 0 0 40px 48px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  border: 4px solid var(--cream);
  box-shadow: 0 0 0 2px var(--orange);
}

.timeline-item .year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--orange-ink);
}

.timeline-item h3 {
  font-size: 28px;
  margin-top: 6px;
}

.timeline-item p {
  color: var(--muted);
  margin-top: 8px;
  max-width: 480px;
}

/* --------------------------------------------------------------------------
   Visit page
   -------------------------------------------------------------------------- */

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: start;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.info-card + .info-card {
  margin-top: 20px;
}

.info-card h3 {
  font-size: 24px;
}

.info-card p {
  color: var(--muted);
  margin-top: 8px;
}

.info-card .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
  line-height: 0;
  background: var(--paper);
}

.map-wrap iframe {
  width: 100%;
  height: 480px;
  border: 0;
}

.good-to-know {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.know-card {
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 20px;
}

.know-card strong {
  font-family: var(--font-display);
  font-size: 19px;
  display: block;
}

.know-card span {
  color: var(--muted);
  font-size: 14px;
  display: block;
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out),
    filter 0.8s var(--ease-out);
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(63, 166, 106, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(63, 166, 106, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(63, 166, 106, 0);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .good-to-know {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .menu-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
  }

  .menu-sidebar::-webkit-scrollbar {
    display: none;
  }

  .menu-sidebar a {
    flex: 0 0 auto;
  }
}

@media (max-width: 820px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .bottom-nav {
    display: grid;
  }

  .hero-grid,
  .brand-intro,
  .reviews-layout,
  .visit-strip,
  .story-layout,
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 44px;
  }

  .hero-visual {
    max-width: 440px;
  }

  .brand-intro-aside {
    max-width: 420px;
  }

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

  .collage .c:nth-child(1),
  .collage .c:nth-child(4) {
    grid-row: span 1;
  }

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

  .site-footer {
    padding-bottom: calc(96px + var(--bottomnav-h));
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 66px;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .grid-3,
  .grid-2,
  .preview-list,
  .footer-top {
    grid-template-columns: 1fr;
  }

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

  .hero-title {
    font-size: clamp(52px, 19vw, 86px);
  }

  .hero-sub {
    font-size: 25px;
  }

  .hero-photo--small {
    right: -6px;
    bottom: -20px;
  }

  .sticker--orange {
    width: 94px;
    height: 94px;
    top: -22px;
    left: -16px;
    font-size: 14px;
  }

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

  .good-to-know {
    grid-template-columns: 1fr;
  }

  .brand-intro-aside .note {
    left: 12px;
  }

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

  .menu-item-top {
    flex-wrap: wrap;
    gap: 2px 12px;
  }

  .menu-item .leader {
    display: none;
  }

  .gallery-grid {
    columns: 1;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .marquee-track {
    animation: none;
  }
}
