/* Pinwheel Kitchen — mobile-first static site */
@font-face {
  font-family: "Bowlby One";
  src: url("fonts/BowlbyOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "RLAqva";
  src: url("fonts/RLAqva-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/Roboto-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --orange: #F5821F;
  --orange-dark: #d96e0f;
  --orange-soft: #ffd9b0;
  --navy: #12233F;
  --navy-2: #1b3258;
  --cream: #EAE8E4;
  --cream-2: #f6f4f0;
  --white: #ffffff;
  --ink: #12233F;
  --muted: #5c6b80;
  --line: rgba(18, 35, 63, 0.12);
  --dash: #EB1700;
  --uber: #06C167;
  --shadow: 0 14px 40px rgba(18, 35, 63, 0.12);
  --radius: 18px;
  --header-h: 4.5rem;
  --font-display: "Bowlby One", "Trebuchet MS", sans-serif;
  --font-body: "Roboto", "Segoe UI", sans-serif;
  --max: 72rem;
}

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

html { scroll-behavior: smooth; }

html:focus-within { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream-2);
  min-height: 100vh;
}

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

a { color: var(--orange-dark); }

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

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--orange);
  color: var(--navy);
  font-weight: 800;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  z-index: 200;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 8px 24px rgba(18, 35, 63, 0.28);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
  width: min(100% - 1.25rem, var(--max));
  margin-inline: auto;
  padding: 0.9rem 0;
}

.site-header .order-bar__label {
  display: block;
  margin: 0 0 0.45rem;
}
.site-header .order-bar { padding-top: 0; }

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--cream);
  min-height: 44px;
}

.logo img {
  height: 68px;
  width: auto;
  border-radius: 0;
  background: transparent;
  display: block;
}

.logo-rule {
  width: 3px;
  height: 58px;
  background: var(--orange);
  border-radius: 99px;
  flex: 0 0 auto;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1;
  padding-left: 0;
  border-left: 0;
}

.logo-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}

.nav-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--cream);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 10px;
}
.nav-toggle:hover { background: rgba(255,255,255,0.08); }

.nav-toggle .bar,
.nav-toggle .bar::before,
.nav-toggle .bar::after {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--cream);
  border-radius: 99px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle .bar::before,
.nav-toggle .bar::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle .bar::before { top: -7px; }
.nav-toggle .bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar::after { top: 0; transform: rotate(-45deg); }

.header-row { flex-wrap: wrap; }

.site-nav {
  display: none;
  background: var(--navy-2);
  flex-basis: 100%;
}
.site-nav.is-open { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.4rem 1rem 1rem;
}

.site-nav a {
  display: block;
  color: var(--cream);
  text-decoration: none;
  font-weight: 800;
  padding: 0.85rem 0.4rem;
  border-bottom: 1px solid rgba(234, 232, 228, 0.1);
  min-height: 44px;
}
.site-nav a[aria-current="page"] { color: var(--orange); }
.site-nav a:hover { color: var(--orange); }

/* Order bar — always visible, three equal buttons */
.order-bar {
  background: var(--cream);
  color: var(--navy);
  border-top: 1px solid rgba(18, 35, 63, 0.08);
  padding: 0.65rem 0.85rem 0.8rem;
}

.order-bar--navy {
  background: var(--navy);
  color: var(--cream);
  border-top: 0;
}

.order-bar__inner {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.order-bar__label {
  margin: 0 0 0.45rem;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

.order-bar__hint {
  margin: 0.55rem 0 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}

.loc-switch {
  background: var(--orange);
  color: var(--navy);
  text-align: center;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.55rem 1rem;
}
.loc-switch a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.loc-switch a:hover { color: var(--navy-2); }

.order-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.order-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.82rem;
  line-height: 1.15;
  min-height: 48px;
  padding: 0.55rem 0.35rem;
  border-radius: 12px;
  border: 2px solid transparent;
  color: var(--white);
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}
.order-btn small {
  display: block;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.02em;
  opacity: 0.92;
}

.order-btn--pickup { background: var(--orange); color: var(--navy); }
.order-btn--dash { background: var(--dash); color: var(--white); }
.order-btn--soon {
  background: #2a3f5e;
  color: rgba(234, 232, 228, 0.78);
  cursor: not-allowed;
  border-color: rgba(234, 232, 228, 0.16);
}

.order-bar:not(.order-bar--navy) .order-btn--soon {
  background: #d7d3cc;
  color: #5a6470;
  border-color: #c9c4bb;
}

.order-btn--pickup:hover,
.order-btn--dash:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  color: inherit;
}

.how-list {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}
.how-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.how-list li:last-child { border-bottom: 0; }

@media (min-width: 720px) {
  .order-btn { font-size: 0.95rem; min-height: 52px; }
  .order-btns { gap: 0.7rem; }
  .logo img { height: 78px; }
  .logo-rule { height: 66px; }
  .logo-text { font-size: 1.55rem; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .header-row { min-height: 4.25rem; flex-wrap: nowrap; }
  .site-nav {
    display: block;
    background: transparent;
    flex-basis: auto;
  }
  .site-nav ul {
    display: flex;
    gap: 0.15rem;
    padding: 0;
  }
  .site-nav a {
    border: 0;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
  }
  .site-nav a[aria-current="page"] {
    background: rgba(245, 130, 31, 0.16);
  }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  text-align: center;
}
.btn--orange { background: var(--orange); color: var(--navy); }
.btn--orange:hover { background: #ff8f2e; color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--cream); }
.btn--navy:hover { color: var(--white); filter: brightness(1.15); }
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(234,232,228,0.45);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.btn--outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--cream); }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 78vh;
  color: var(--cream);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18,35,63,0.15) 0%, rgba(18,35,63,0.55) 45%, rgba(18,35,63,0.88) 100%),
    linear-gradient(90deg, rgba(18,35,63,0.45), transparent 55%);
}
.hero__inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 5.5rem 0 2.5rem;
}
.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.7rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 9vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0.025em;
  margin: 0 0 0.85rem;
  max-width: 12ch;
  font-weight: 600;
}
.lede {
  margin: 0 0 1.4rem;
  font-size: 1.12rem;
  max-width: 38rem;
  color: var(--cream);
}
.hero .btn-row { margin-bottom: 0.4rem; }

.hero-split {
  display: grid;
  gap: 0;
}
.hero-split img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

@media (min-width: 800px) {
  .hero-split {
    grid-template-columns: 1.2fr 1fr;
    min-height: 42vh;
  }
  .hero-split img { height: 100%; min-height: 360px; }
}

/* ----- Sections ----- */
.section { padding: 3.2rem 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--orange { background: var(--orange); color: var(--navy); }
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 2.9rem);
  line-height: 1;
  letter-spacing: 0.025em;
  margin: 0 0 0.7rem;
  font-weight: 600;
}
.section .intro {
  max-width: 40rem;
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.08rem;
}
.section--navy .intro,
.section--orange .intro { color: inherit; opacity: 0.9; }

.kicker {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.45rem;
}

/* Cards */
.cards {
  display: grid;
  gap: 1rem;
}
@media (min-width: 760px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
}
.card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  background: var(--cream-2);
  padding: 0;
}
.card__body { padding: 1.15rem 1.15rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  letter-spacing: 0.025em;
}
.card p { margin: 0 0 0.85rem; color: var(--muted); }
.price {
  font-weight: 800;
  color: var(--navy);
  margin-top: auto;
}
.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--orange-soft);
  color: var(--navy);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.story {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}
.story img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
}
.story p { margin: 0 0 0.9rem; }
@media (min-width: 800px) {
  .story { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
  .story img { height: 380px; }
  .story--flip img { order: 2; }
}

/* Location cards */
.loc {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: var(--ink);
}
.map-link { display: block; }
.map-link img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.loc__body { padding: 1.25rem 1.2rem 1.4rem; }
.loc h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0.15rem 0 0.5rem;
}
.status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--navy);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}
.status--soon { background: var(--navy); color: var(--cream); }
.hours {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 1rem;
  font-variant-numeric: tabular-nums;
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.28rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.addr { margin: 0.3rem 0; font-weight: 700; }
.addr a { color: var(--navy); text-decoration: none; }
.addr a:hover { color: var(--orange-dark); }

/* Mosaic */
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.mosaic img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
}
.mosaic img:first-child {
  grid-column: 1 / -1;
  height: 200px;
}
@media (min-width: 760px) {
  .mosaic { grid-template-columns: 1.4fr 1fr 1fr; gap: 0.65rem; }
  .mosaic img, .mosaic img:first-child { height: 280px; grid-column: auto; }
}

/* Texture band */
.texture {
  height: 110px;
  background:
    linear-gradient(180deg, rgba(18,35,63,0.18), rgba(18,35,63,0.18)),
    url("images/food-texture.png") center / cover;
}
@media (min-width: 760px) { .texture { height: 150px; } }

/* Menu */
.menu-nav {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.2rem 0 0.8rem;
  margin: 0 0 1.2rem;
  -webkit-overflow-scrolling: touch;
}
.menu-nav a {
  flex: 0 0 auto;
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 2px solid var(--navy);
  min-height: 44px;
  display: grid;
  place-items: center;
}
.menu-nav a:hover { background: var(--navy); color: var(--cream); }

.menu-group { margin-bottom: 2.2rem; }
.menu-group h2 {
  border-bottom: 4px solid var(--orange);
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}

.item {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}
.item-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}
.item h3 {
  margin: 0;
  font-size: 1.12rem;
  font-family: var(--font-display);
  letter-spacing: 0.025em;
}
.item p { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.98rem; }
.item .sizes {
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.sauce-grid, .drink-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1rem;
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .sauce-grid { grid-template-columns: repeat(3, 1fr); }
  .drink-grid { grid-template-columns: repeat(3, 1fr); }
}
.sauce-grid li, .drink-grid li {
  background: var(--white);
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  font-weight: 700;
}

.note {
  background: var(--navy);
  color: var(--cream);
  padding: 1rem 1.1rem;
  border-radius: 14px;
  font-weight: 700;
}

/* Order page cards */
.channel {
  text-align: center;
  padding: 1.6rem 1.2rem 1.5rem;
}
.channel .icon-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-display);
}
.icon-pickup { background: var(--orange); color: var(--navy); }
.icon-dash { background: var(--dash); color: white; }
.icon-uber { background: #c9c4bb; color: #44505c; }

/* Page header */
.page-hero {
  background: var(--navy);
  color: var(--cream);
  padding: 2.2rem 0 2.4rem;
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 0.98;
  margin: 0 0 0.6rem;
  letter-spacing: 0.025em;
  max-width: 16ch;
}
.page-hero p { margin: 0; max-width: 38rem; font-size: 1.08rem; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--cream);
  padding: 2.4rem 0 1.4rem;
}
.foot-grid {
  display: grid;
  gap: 2.2rem;
  margin-bottom: 2rem;
}
@media (min-width: 760px) {
  .foot-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
}
.site-footer h2,
.site-footer h3 {
  font-family: var(--font-display);
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
}
.site-footer p, .site-footer li { margin: 0.35rem 0; color: rgba(234,232,228,0.86); }
.site-footer a { color: var(--orange); text-decoration: none; font-weight: 800; }
.site-footer a:hover { color: var(--cream); }
.social { display: flex; gap: 1.25rem; margin-top: 0.85rem; }
.fineprint {
  border-top: 1px solid rgba(234,232,228,0.14);
  padding-top: 1rem;
  font-size: 0.9rem;
  color: rgba(234,232,228,0.75);
}
.fineprint p { margin: 0.35rem 0; }

.photo-wide {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
@media (min-width: 760px) { .photo-wide { height: 380px; } }

.hours-inline { font-weight: 800; }

/* Accessible visually hidden */
.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;
}

.card .btn { margin-top: 0.85rem; align-self: flex-start; }
.card .price { margin-top: auto; }
@media (min-width: 900px) {
  .logo img { height: 78px; }
  .logo-rule { height: 66px; }
  .logo-text { font-size: 1.55rem; }
}

/* display tracking */
h1, h2, h3, .logo-text { letter-spacing: 0.025em; }

/* Mobile: keep logo + menu button on one row (no orphaned hamburger row) */
@media (max-width: 419px) {
  .logo { gap: 0.5rem; }
  .logo img { height: 54px; }
  .logo-rule { height: 46px; }
  .logo-text { font-size: 1.05rem; }
}
@media (max-width: 359px) {
  .logo img { height: 46px; }
  .logo-rule { height: 40px; }
  .logo-text { font-size: 0.9rem; }
}

/* v4 catering sauces: calmer, straight cards */
.cm4-sauce-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.9rem}
@media(max-width:700px){.cm4-sauce-grid{grid-template-columns:repeat(2,1fr)}}
.cm4-sauce{background:#fff;border:2px solid var(--navy);border-top:6px solid var(--orange);border-radius:12px;padding:1.35rem .9rem;text-align:center;font-family:var(--font-display);font-size:1.05rem;letter-spacing:.02em;line-height:1.25;color:var(--navy);display:flex;align-items:center;justify-content:center;min-height:5.5rem}
.cm4-sauce:nth-child(4n+2),.cm4-sauce:nth-child(4n+4){background:var(--navy);color:var(--cream)}
