/* ================================================================
   MAKROS - Enhanced Stylesheet
   Classy, minimal, conversion-focused Mediterranean delivery
   ================================================================ */

/* ---------- Tokens ---------- */
:root {
  --paper: #FEFFFF;
  --cream: #F5EFE4;
  --cream-2: #EDE4D2;
  --forest: #2D4627;
  --forest-2: #1E3019;
  --olive: #97B536;
  --terra: #D07029;
  --terra-deep: #B85E1F;
  --terra-light: rgba(208, 112, 41, 0.12);
  /* Text-safe shades: --olive and --terra are under 4.5:1 for small text. */
  --olive-text: #56701A;
  --terra-text: #A9561C;
  --ink: #1A1A17;
  --ink-soft: #4A4A45;
  --ink-muted: #8A8A85;
  --hair: rgba(45, 70, 39, 0.12);
  --hair-2: rgba(45, 70, 39, 0.22);
  --shadow-soft: 0 1px 2px rgba(45, 70, 39, .06), 0 8px 24px -8px rgba(45, 70, 39, .10);
  --shadow-lift: 0 2px 4px rgba(45, 70, 39, .08), 0 24px 48px -16px rgba(45, 70, 39, .20);
  --shadow-card: 0 4px 12px rgba(45, 70, 39, .08), 0 16px 40px -12px rgba(45, 70, 39, .15);

  --display: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --serif: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 1320px;
  --gutter: 32px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 22px;
  --radius-xl: 999px;
}

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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
}

h1, h2, h3, .section-title {
  overflow-wrap: anywhere;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

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

input {
  font: inherit;
  color: inherit;
}

/* ---------- Typography ---------- */
.h-display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--forest);
}

.h-display em {
  font-style: italic;
  font-weight: 500;
  color: var(--terra);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra-text);
  font-weight: 600;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  font-weight: 700;
  color: var(--forest);
  margin: 0;
  letter-spacing: -0.02em;
}

.section-title em {
  font-style: italic;
  color: var(--terra);
}

.lede {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 56ch;
  text-wrap: pretty;
}

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  /* padding: clamp(72px, 9vw, 128px) 0; */
  position: relative;
}

.row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.stack {
  display: flex;
  flex-direction: column;
}

.section-header-center {
  text-align: center;
  margin-bottom: 56px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--terra);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 10px 24px -10px var(--terra);
}

.btn-primary:hover {
  background: var(--terra-deep);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 14px 32px -10px var(--terra);
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}

.btn-ghost:hover {
  background: var(--forest);
  color: var(--paper);
}

.btn-quiet {
  background: var(--cream);
  color: var(--forest);
}

.btn-quiet:hover {
  background: var(--cream-2);
}

.btn-on-dark {
  background: var(--paper);
  color: var(--forest);
}

.btn-on-dark:hover {
  background: var(--olive);
  color: var(--forest);
}

.btn-small {
  padding: 10px 16px;
  font-size: 13px;
}

/* ---------- Image placeholders ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      rgba(45, 70, 39, .04) 0 1px,
      transparent 1px 14px),
    linear-gradient(160deg, var(--cream) 0%, var(--cream-2) 100%);
  overflow: hidden;
}

.ph::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 12px 12px 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  opacity: .55;
}

.ph-warm {
  background:
    repeating-linear-gradient(135deg,
      rgba(208, 112, 41, .06) 0 1px,
      transparent 1px 14px),
    linear-gradient(160deg, #F4DCC1 0%, #E8B98C 100%);
}

.ph-green {
  background:
    repeating-linear-gradient(135deg,
      rgba(45, 70, 39, .06) 0 1px,
      transparent 1px 14px),
    linear-gradient(160deg, #DDE6C3 0%, #B7C77E 100%);
}

.ph-deep {
  background:
    repeating-linear-gradient(135deg,
      rgba(255, 255, 255, .05) 0 1px,
      transparent 1px 14px),
    linear-gradient(160deg, #3A5A30 0%, #1F3119 100%);
}

.ph-deep::after {
  color: var(--olive);
  opacity: .8;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(254, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.nav.scrolled {
  border-bottom-color: var(--hair);
  box-shadow: 0 1px 3px rgba(45, 70, 39, .04);
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: 84px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--forest);
}

.nav-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 14px;
  border-radius: var(--radius-xl);
  transition: background .25s ease, color .25s ease;
}

.nav-links a:hover {
  background: var(--terra);
  color: #fff;
}

.nav-right {
  display: flex;
  gap: 14px;
  align-items: center;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-xl);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  position: relative;
  transition: background .2s;
}

.icon-btn:hover {
  background: var(--cream-2);
}

.icon-btn .badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-xl);
  background: var(--terra);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 2px solid var(--paper);
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-sm);
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 84px;
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
  padding: 20px var(--gutter);
  flex-direction: column;
  gap: 8px;
  z-index: 49;
}

.mobile-menu a {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: background .2s;
}

.mobile-menu a:hover {
  background: var(--cream);
}

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

/* ---------- Hero ---------- */
.hero {
  padding-top: 48px;
  padding-bottom: 96px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-xl);
  background: var(--olive);
}

.hero h1 {
  font-size: clamp(56px, 4vw, 112px);
  margin: 0;
}

.hero p {
  margin: 24px 0 36px 0;
  max-width: 48ch;
}

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

.hero-meta {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--hair);
}

.hero-meta .k {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--forest);
  line-height: 1;
}

.hero-meta .l {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 6px;
  letter-spacing: 0.06em;
}

/* Hero image stack */
.hero-art {
  position: relative;
  aspect-ratio: 5 / 6;
  width: 100%;
}

.hero-art .ph-main {
  position: absolute;
  inset: 0;
  border-radius: 320px 320px 24px 24px;
  background-size: cover;
  background-position: center;
  transition: background-image .6s ease;
}

.hero-art .ph-side {
  position: absolute;
  bottom: -32px;
  left: -48px;
  width: 220px;
  height: 220px;
  border-radius: var(--radius-xl);
  box-shadow: 0 0 0 8px var(--paper);
  background-size: cover;
  background-position: center;
  transition: background-image .6s ease;
}

.hero-art .ph-chip {
  position: absolute;
  top: 24px;
  right: -24px;
  width: 168px;
  padding: 16px 18px;
  background: var(--paper);
  border-radius: 20px;
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--hair);
}

.hero-art .ph-chip .row1 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-art .ph-chip .swatch {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
}

.hero-art .ph-chip .name {
  font-weight: 600;
  font-size: 13px;
  color: var(--forest);
}

.hero-art .ph-chip .sub {
  font-size: 11px;
  color: var(--ink-soft);
}

.hero-art .ph-chip .bar {
  height: 4px;
  background: var(--cream);
  border-radius: var(--radius-xl);
  margin-top: 12px;
  overflow: hidden;
  position: relative;
}

.hero-art .ph-chip .bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 78%;
  background: var(--olive);
  border-radius: var(--radius-xl);
}

.hero-art .ph-chip .meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 10px;
  color: var(--ink-soft);
  font-family: var(--mono);
  letter-spacing: 0.08em;
}

/* Slide dots */
.slide-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.slide-dots button {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.5);
  transition: background .2s, width .2s;
}

.slide-dots button.active {
  background: var(--paper);
  width: 24px;
}

/* ---------- Categories ---------- */
.cats {
  padding: 56px 0;
  background: var(--cream);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.cats-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.cats-head h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  margin: 0;
  color: var(--forest);
  line-height: 1;
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.cat-pill {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: left;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  position: relative;
  min-height: 168px;
}

.cat-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--hair-2);
}

.cat-pill.active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--paper);
}

.cat-pill .glyph {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  background: var(--cream);
  color: var(--forest);
  margin-bottom: auto;
}

.cat-pill.active .glyph {
  background: var(--olive);
  color: var(--forest-2);
}

.cat-pill .name {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.05;
  margin-top: 16px;
}

.cat-pill .count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-top: 6px;
}

.cat-pill.active .count {
  color: var(--olive);
}

/* ---------- Dietary Filter Bar ---------- */
.dietary-bar {
  padding: 20px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
  /* position: sticky; */
  top: 84px;
  z-index: 40;
}

.dietary-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.dietary-scroll::-webkit-scrollbar {
  display: none;
}

.diet-pill {
  padding: 8px 18px;
  border-radius: var(--radius-xl);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--cream);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all .2s ease;
}

.diet-pill:hover {
  background: var(--cream-2);
  color: var(--forest);
}

.diet-pill.active {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
}

/* ---------- Featured dishes ---------- */
.dishes-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  padding-top: 32px;
}

.dishes-head .lede {
  margin-top: 0;
}

.dishes-count {
  text-align: right;
}

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

.dish {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}

.dish:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--hair-2);
}

/* Dish image wrapper */
.img-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--hair);
  overflow: hidden;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

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

.popular-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--terra);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.fav-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s, transform .2s, color .2s, background .2s;
}

.dish:hover .fav-overlay {
  opacity: 1;
  transform: translateY(0);
}

.fav-overlay:hover {
  color: var(--terra);
}

.fav-overlay.on {
  opacity: 1;
  transform: translateY(0);
  color: var(--terra);
  background: var(--terra-light);
}

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

.dish .top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}

.dish .name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--forest);
  line-height: 1.1;
}

.dish .price {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--terra);
  white-space: nowrap;
}

.dish .desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  min-height: 40px;
}

.dish .meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-top: 4px;
  flex-wrap: wrap;
}

.dish .meta .dot {
  width: 3px;
  height: 3px;
  border-radius: var(--radius-xl);
  background: var(--hair-2);
}

.dish .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  background: rgba(151, 181, 54, 0.16);
  color: var(--forest);
}

/* Macro bar */
.macro-bar {
  margin-top: 4px;
}

.macro-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  background: var(--cream);
  transition: background .2s;
}

.macro-toggle:hover {
  background: var(--cream-2);
}

.macro-details {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  animation: fadeIn .2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.macro-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.macro-val {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--forest);
  font-weight: 400;
}

.macro-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.dish .actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  align-items: center;
}

.dish .add {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--forest);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  transition: background .2s;
}

.dish .add:hover {
  background: var(--forest-2);
}

.dish .fav {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  transition: background .2s, color .2s;
  color: var(--ink-soft);
}

.dish .fav:hover {
  background: var(--cream-2);
  color: var(--terra);
}

.dish .fav.on {
  background: var(--terra-light);
  color: var(--terra);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 64px 20px;
  color: var(--ink-soft);
}

.empty-state h3 {
  font-family: var(--display);
  font-size: 28px;
  color: var(--forest);
  margin: 16px 0 8px;
}

.empty-state p {
  font-size: 15px;
  color: var(--ink-muted);
}

/* ---------- Meal Plans ---------- */
.meal-plans {
  background: var(--cream);
}

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

.plan-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .3s ease, border-color .2s ease;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: var(--hair-2);
}

.plan-card.popular {
  border-color: var(--olive);
  box-shadow: 0 0 0 1px var(--olive), var(--shadow-soft);
}

.plan-card.popular:hover {
  box-shadow: 0 0 0 1px var(--olive), var(--shadow-lift);
}

.plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--olive);
  color: var(--forest-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-xl);
  z-index: 2;
}

.plan-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.plan-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(30, 48, 25, 0.4));
}

.plan-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.plan-body h3 {
  font-family: var(--display);
  font-size: 28px;
  color: var(--forest);
  margin: 0 0 4px 0;
  font-weight: 400;
}

.plan-subtitle {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0 0 16px 0;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.price-num {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--forest);
  line-height: 1;
}

.price-period {
  font-size: 16px;
  color: var(--ink-muted);
}

.plan-per-meal {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--olive);
  letter-spacing: 0.08em;
  margin: 0 0 20px 0;
}

.plan-features {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}

.plan-cta {
  width: 100%;
  justify-content: center;
}

/* ---------- Delivery block ---------- */
.delivery {
  background: var(--forest);
  color: var(--paper);
  padding: clamp(64px, 8vw, 112px) 0;
}

.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.delivery h2 {
  color: var(--paper);
}

.delivery h2 em {
  color: var(--olive);
  font-style: italic;
}

.delivery .lede {
  color: rgba(254, 255, 255, 0.75);
}

.delivery-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(254, 255, 255, 0.10);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 36px;
}

.delivery-stats .cell {
  background: var(--forest);
  padding: 22px 24px;
}

.delivery-stats .cell .k {
  font-family: var(--serif);
  font-size: 38px;
  color: var(--olive);
  line-height: 1;
}

.delivery-stats .cell .l {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(254, 255, 255, 0.6);
}

.zip-form {
  margin-top: 32px;
  display: flex;
  gap: 8px;
  max-width: 460px;
  background: rgba(254, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 6px;
  border: 1px solid rgba(254, 255, 255, 0.15);
}

.zip-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--paper);
  padding: 12px 18px;
  font-size: 14px;
}

.zip-form input::placeholder {
  color: rgba(254, 255, 255, 0.55);
}

.zip-result {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--olive);
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 18px;
}

.zip-result[data-state="fail"] {
  color: rgba(254, 255, 255, 0.75);
}

.zip-result span {
  animation: zip-result-in 240ms cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes zip-result-in {
  from { opacity: 0; transform: translateY(4px); filter: blur(2px); }
}

.delivery-art {
  position: relative;
  aspect-ratio: 1 / 1;
}

.delivery-art .ring {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(151, 181, 54, 0.45);
  border-radius: var(--radius-xl);
}

.delivery-art .ring.r2 {
  inset: 12%;
  border-color: rgba(151, 181, 54, 0.30);
}

.delivery-art .ring.r3 {
  inset: 26%;
  border-color: rgba(151, 181, 54, 0.20);
}

.delivery-art .pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-xl);
  background: var(--terra);
  box-shadow: 0 0 0 6px rgba(208, 112, 41, .18);
}

/* One dot per delivery ZIP. */
.delivery-art .zone {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-xl);
  background: var(--terra);
  box-shadow: 0 0 0 4px rgba(208, 112, 41, .16);
  transform: translate(-50%, -50%);
}

.delivery-art .pin.center {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  background: var(--olive);
  box-shadow: 0 0 0 8px rgba(151, 181, 54, 0.25), 0 0 0 16px rgba(151, 181, 54, 0.08);
}

.delivery-art .legend {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + 30px));
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--olive);
  text-align: center;
}

/* The customer's ZIP, pinned after a successful check. The box is zero-size at the
   pin's centre; each child centres itself on it. */
.delivery-art .found {
  position: absolute;
  width: 0;
  height: 0;
}

.delivery-art .found > span {
  position: absolute;
  left: 0;
  top: 0;
}

.delivery-art .found-dot {
  width: 16px;
  height: 16px;
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: 0 0 0 4px var(--olive), 0 0 0 10px rgba(151, 181, 54, 0.2);
  transform: translate(-50%, -50%);
  animation: found-drop 320ms cubic-bezier(0.23, 1, 0.32, 1) 60ms both;
}

.delivery-art .found-ping {
  width: 16px;
  height: 16px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--olive);
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: found-ping 900ms cubic-bezier(0.23, 1, 0.32, 1) 240ms;
}

.delivery-art .found-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  /* Keeps the name readable where it sits over a zone dot. */
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--forest);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--olive);
  white-space: nowrap;
  transform: translate(-50%, 18px);
  animation: found-label-in 240ms cubic-bezier(0.23, 1, 0.32, 1) 180ms both;
}

.delivery-art .found-label strong {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--paper);
}

@keyframes found-drop {
  from { opacity: 0; transform: translate(-50%, calc(-50% - 12px)) scale(0.6); }
}

@keyframes found-ping {
  from { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(4); }
}

@keyframes found-label-in {
  from { opacity: 0; transform: translate(-50%, 14px); }
}

@media (prefers-reduced-motion: reduce) {
  .zip-result span,
  .delivery-art .found-dot,
  .delivery-art .found-label {
    animation-name: fade-in-only;
  }

  .delivery-art .found-ping {
    animation: none;
  }
}

@keyframes fade-in-only {
  from { opacity: 0; }
}

/* ---------- About ---------- */
/* One 1120px column for every block, so the photo row, the LOGIVITY panel,
   the closing row and the team all share the same edges. */
.about-wrap {
  max-width: 1120px;
  padding-bottom: clamp(64px, 8vw, 96px);
}

.about-title {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.about-grid,
.about-closing {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.about-art {
  position: relative;
}

.about-art .ph {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
}

.about-bio {
  margin: 0;
}

.about-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: var(--olive-text);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.02em;
  transform: rotate(-6deg);
}

.about-badge small {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* LOGIVITY panel: the approach on the left, the tracks it produces on the right. */
.about-logivity {
  margin-top: clamp(72px, 9vw, 112px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(28px, 5vw, 56px);
  background: var(--cream);
  border-radius: var(--radius-md);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.about-logivity p {
  margin: 0;
}

.about-logivity-text p + p {
  margin-top: 16px;
}

.about-logivity-label {
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.2;
  color: var(--forest);
  margin: 0 0 16px;
}

.about-tracks-intro {
  font-weight: 600;
  color: var(--ink);
}

.about-tracks {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.about-track {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hair-2);
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink);
}

.about-track svg {
  color: var(--olive-text);
}

.about-tracks-btn {
  margin-top: 24px;
}

/* Closing: the belief as a large statement, the reasons beside it.
   Same columns as the photo row, mirrored in weight. */
.about-closing {
  margin-top: clamp(72px, 9vw, 112px);
  align-items: start;
}

.about-tagline {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--forest);
  text-wrap: balance;
}

.about-closing-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.about-closing-text p {
  margin: 0;
}

.about-closing-text p + p {
  margin-top: 16px;
}

.about-team {
  margin-top: clamp(72px, 9vw, 112px);
  padding-top: clamp(72px, 9vw, 112px);
  border-top: 1px solid var(--hair);
}

@media (max-width: 900px) {
  .about-logivity,
  .about-closing {
    grid-template-columns: 1fr;
  }

  .about-closing {
    gap: 24px;
  }
}

/* ---------- Location ---------- */
/* .section has no padding, so the card needs its own space from the dark delivery block. */
#hours {
  padding: clamp(48px, 6vw, 80px) 0;
}

/* One card: the hours on the left, the contact on the right. */
.loc-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
}

.loc-label {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra-text);
}

.loc-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.loc-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-xl);
  background: var(--cream);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.loc-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: var(--radius-xl);
  background: var(--ink-muted);
}

.loc-status[data-open="true"] {
  background: rgba(151, 181, 54, 0.16);
  color: var(--forest);
}

.loc-status[data-open="true"]::before {
  background: var(--olive);
  box-shadow: 0 0 0 3px rgba(151, 181, 54, 0.25);
}

.hours-grid {
  display: grid;
  gap: 4px;
}

/* Today's row is a filled band; the negative margin keeps its text on the
   same edges as the other rows. */
.hours-row {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 -14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

/* Divider between rows, on the text edges; none next to today's band. */
.hours-row + .hours-row:not(.today)::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--hair);
}

.hours-row.today + .hours-row::before {
  display: none;
}

.hours-row.today {
  background: var(--cream);
}

.hours-row .d {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hours-row .t {
  color: var(--forest);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.hours-row.today .d {
  color: var(--forest);
}

.hours-row.today .d::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: var(--radius-xl);
  background: var(--olive);
}

.loc-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 56px;
  border-left: 1px solid var(--hair);
}

.contact-row {
  display: grid;
  gap: 10px;
}

.contact-row .btn-quiet {
  justify-content: flex-start;
  gap: 12px;
  padding: 16px 20px;
  font-size: 15px;
}

.loc-city {
  margin: auto 0 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .loc-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .loc-contact {
    padding-left: 0;
    padding-top: 36px;
    border-left: 0;
    border-top: 1px solid var(--hair);
  }
}

@media (max-width: 600px) {
  .loc-card {
    padding: 24px;
  }

  .contact-row .btn-quiet {
    min-width: 0;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--forest-2);
  color: rgba(254, 255, 255, 0.65);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(254, 255, 255, 0.10);
}

.footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 18px 0;
  font-weight: 500;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer ul a {
  color: rgba(254, 255, 255, 0.7);
  font-size: 14px;
}

.footer ul a:hover {
  color: var(--paper);
}

.footer .brand-line {
  font-family: var(--display);
  font-size: 28px;
  color: var(--paper);
  margin: 16px 0 14px;
  line-height: 1.1;
  max-width: 22ch;
}

.footer .brand-line em {
  color: var(--olive);
  font-style: italic;
}

.footer .signoff {
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer .socials {
  display: flex;
  gap: 10px;
}

.footer .socials a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(254, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
  color: rgba(254, 255, 255, 0.65);
}

.footer .socials a:hover {
  background: rgba(254, 255, 255, 0.08);
  border-color: rgba(254, 255, 255, 0.3);
  color: var(--paper);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
}

.footer-logo span {
  font-family: var(--display);
  font-size: 28px;
  color: var(--paper);
}

/* ---------- Cart drawer ---------- */
.cart-veil {
  position: fixed;
  inset: 0;
  background: rgba(30, 48, 25, 0.32);
  backdrop-filter: blur(2px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.cart-veil.open {
  opacity: 1;
  pointer-events: auto;
}

.cart {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 92vw);
  background: var(--paper);
  z-index: 100;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -24px 0 60px -20px rgba(45, 70, 39, .25);
}

.cart.open {
  transform: translateX(0);
}

.cart-head {
  padding: 26px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--hair);
}

.cart-head h3 {
  font-family: var(--display);
  font-size: 28px;
  margin: 0;
  color: var(--forest);
  font-weight: 400;
}

.cart-head .count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--terra);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 28px;
}

.cart-empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink-soft);
}

.cart-empty .h {
  font-family: var(--display);
  font-size: 26px;
  color: var(--forest);
  margin-bottom: 8px;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hair);
  align-items: center;
}

.cart-item .thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item .name {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--forest);
  line-height: 1.15;
}

.cart-item .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  gap: 8px;
}

.cart-item .price {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--terra);
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 2px;
}

.qty button {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xl);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--forest);
  font-size: 14px;
}

.qty button:hover {
  background: var(--paper);
}

.qty .n {
  width: 26px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 13px;
}

.cart-remove {
  color: var(--ink-soft);
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.06em;
}

.cart-remove:hover {
  color: var(--terra);
}

.cart-foot {
  border-top: 1px solid var(--hair);
  padding: 24px 28px;
  display: grid;
  gap: 14px;
}

.cart-foot .line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--ink-soft);
}

.cart-foot .total {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--forest);
}

.cart-foot .total-num {
  color: var(--terra);
}

.cart-foot .checkout {
  width: 100%;
  padding: 18px;
  font-size: 15px;
}

.cart-foot .note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  text-align: center;
}

/* Toast (added to cart) */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 30px);
  background: var(--forest);
  color: var(--paper);
  padding: 14px 22px;
  border-radius: var(--radius-xl);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 110;
  opacity: 0;
  transition: opacity .2s ease, transform .25s ease;
  box-shadow: var(--shadow-lift);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast .dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-xl);
  background: var(--olive);
}

/* ---------- Scroll animations ---------- */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: 480px;
    margin: 0 auto;
  }

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

  .cats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 48px auto 0;
  }

  .delivery-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  /* Nav improvements */
  .nav-inner {
    height: 72px;
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-right .btn-primary {
    display: none;
  }

  .mobile-menu .btn-lang {
    display: none;
  }

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

  .mobile-menu {
    top: 72px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
  }

  .nav-inner {
    height: 64px;
  }

  .nav-logo {
    font-size: 20px;
  }

  .nav-logo img {
    width: 32px;
    height: 32px;
  }

  .mobile-menu {
    top: 64px;
  }

  .dishes-grid,
  .cats-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero-art .ph-side {
    width: 140px;
    height: 140px;
    left: -16px;
    bottom: -16px;
  }

  .hero-art .ph-chip {
    right: -8px;
    width: 150px;
  }

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

  .about-badge {
    width: 112px;
    height: 112px;
    font-size: 14px;
    bottom: -16px;
    left: -10px;
  }

  .plan-image {
    height: 160px;
  }

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

  .hero h1 {
    font-size: clamp(34px, 12vw, 56px);
  }

  .section-title {
    font-size: clamp(28px, 9vw, 64px);
  }

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

  .zip-form input {
    width: 100%;
  }

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

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

/* .why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--hair-2);
} */

.why-num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--terra);
  font-weight: 500;
  display: block;
  margin-bottom: 16px;
}

.why-card h3 {
  font-family: var(--display);
  font-size: 26px;
  color: var(--forest);
  margin: 0 0 12px 0;
  line-height: 1.1;
  font-weight: 400;
}

.why-icon {
  font-size: 28px;
  color: var(--terra);
  margin-bottom: 20px;
  display: flex;
}

.why-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Reaffirming ---------- */
.reaffirming {
  background: var(--cream);
}

.reaffirming .wrap {
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(48px, 7vw, 88px);
}

.reaffirming-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 56px);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.reaffirming-card .section-header-center,
.reaffirming-card .eyebrow {
  text-align: center;
}

.reaffirming-points {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 32px;
  margin-top: 32px;
}

.reaffirming-points .point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--forest);
  text-transform: uppercase;
}

.reaffirming-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 48px auto 0;
  }

  .reaffirming-points {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
}

/* ---------- Team (inside About) ---------- */
.team-grid {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
}

/* Photo on the left at one fixed size for every member, text on the right. */
.team-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.team-card > .team-info:only-child {
  grid-column: 1 / -1;
}

.team-photo {
  display: block;
  width: 220px;
  height: 275px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

@media (max-width: 600px) {
  .team-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-photo {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 4 / 5;
  }
}

.team-name {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 26px);
  line-height: 1.2;
  color: var(--forest);
  margin: 0;
}

.team-role {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--olive-text);
}

.team-bio {
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  white-space: pre-line;
}

/* ---------- Back Button ---------- */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--hair);
  color: var(--forest);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.back-btn:hover {
  background: var(--cream);
  border-color: var(--forest);
  color: var(--forest);
}

/* ---------- Dish Detail Page ---------- */
.dish-detail {
  padding-top: clamp(24px, 3vw, 40px);
}

.dish-detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(32px, 4vw, 56px);
}

.dish-detail-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-card);
}

.dish-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dish-detail-media .popular-badge {
  position: absolute;
  top: 16px;
  left: 16px;
}

.dish-detail-media .fav-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
}

.dish-detail-body {
  padding-top: 8px;
}

.dish-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.dish-detail-tags .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--cream);
  color: var(--forest);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--hair-2);
}

.dish-detail-name {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  color: var(--forest);
  margin: 0 0 12px;
  letter-spacing: -0.015em;
}

.dish-detail-price {
  font-family: var(--mono);
  font-size: 22px;
  color: var(--terra);
  margin-bottom: 24px;
}

.dish-detail-desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 32px;
}

.dish-detail-macros {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  margin-bottom: 32px;
}

.macro-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.macro-block-val {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--forest);
  line-height: 1;
}

.macro-block-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

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

.dish-detail-actions .btn {
  flex: 1 1 auto;
  min-width: 180px;
  justify-content: center;
}

.dish-detail-actions .btn-quiet.on {
  color: var(--terra);
}

/* Make dish-card image cue clickable */
.dish .img-wrapper {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.dish .img-wrapper img {
  transition: transform 0.4s ease;
}

.dish .img-wrapper:hover img {
  transform: scale(1.04);
}

@media (max-width: 900px) {
  .dish-detail-grid {
    grid-template-columns: 1fr;
  }

  .dish-detail-macros {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .dish-detail-actions .btn {
    flex: 1 1 100%;
  }
}

/* ================================================================
   PLAN CARDS - Menu Page & Home Teaser
   ================================================================ */

/* ---------- Menu page header ---------- */
.menu-page-header {
  padding: clamp(48px, 7vw, 80px) 0 clamp(32px, 4vw, 48px);
  background: var(--cream);
  border-bottom: 1px solid var(--hair);
  text-align: center;
}

/* ---------- Menu plan picker (guided steps) ---------- */
.wiz-progress {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.wiz-progress span {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: var(--hair-2);
  transition: background-color 0.25s ease;
}

.wiz-progress span.done {
  background: var(--olive);
}

.wiz-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 0 32px;
}

.wiz-options--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
}

.wiz-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  padding: 24px;
  background: var(--paper);
  border: 1.5px solid var(--hair-2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.wiz-option:focus-visible {
  border-color: var(--forest);
  box-shadow: var(--shadow-lift);
}

/* Lift on hover only for a real pointer: a tap on a phone must not leave the card raised. */
@media (hover: hover) and (pointer: fine) {
  .wiz-option:hover {
    border-color: var(--forest);
    box-shadow: var(--shadow-lift);
    transform: translateY(-2px);
  }
}

/* Press feedback: the answer is one tap, so confirm the tap. */
.wiz-option:active {
  transform: scale(0.97);
}

.wiz-option.selected {
  /*border-color: var(--olive);*/
}

.wiz-option-title {
  font-family: var(--display);
  font-size: 20px;
  hyphens: auto;
  overflow-wrap: anywhere;
  font-weight: 700;
  line-height: 1.2;
  color: var(--forest);
}

.wiz-option-sub {
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.wiz-option-meta {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--terra);
}

/* Portion and days steps: centered title with the value below. */
.wiz-option--center {
  align-items: center;
  text-align: center;
}

.wiz-option--center .wiz-option-meta {
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.wiz-value-num {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.wiz-value-unit {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
}

/* Sticky price bar: the plan page is long, so the price and the button follow. */
.plan-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1.5px solid var(--terra);
  box-shadow: 0 -8px 24px -12px rgba(45, 70, 39, .25);
  transform: translateY(110%);
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

.plan-sticky.show {
  transform: translateY(0);
}

/* While the sticky bar shows, keep the end of the footer above it. */
body:has(.plan-sticky.show) footer {
  padding-bottom: 88px;
}

@media (prefers-reduced-motion: reduce) {
  .plan-sticky {
    transition: none;
  }
}

.plan-sticky-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.plan-sticky-amount {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--forest);
  font-variant-numeric: tabular-nums;
}

.plan-sticky-unit {
  margin-left: 6px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

.plan-sticky-plan {
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-muted);
}

@media (max-width: 480px) {
  .plan-sticky-plan {
    display: none;
  }
}

/* Checkout: the plan count is a count of people. */
.checkout-people {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.checkout-people-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.checkout-people .qty button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Checkout: cash on delivery is the only method, so it is a statement, not a choice. */
.checkout-payment-line {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 18px;
  margin-bottom: 24px;
  background: var(--cream);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--ink-soft);
}

.checkout-delivery-note {
  margin-top: 8px;
  padding: 16px 18px;
  border-left: 3px solid var(--terra);
  background: var(--cream);
  border-radius: var(--radius-md);
}

.checkout-delivery-note p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Plan screen: change the answers without leaving the screen. */
.wiz-edit {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
  padding: 20px 24px;
  background: var(--paper);
  border: 1.5px solid var(--hair-2);
  border-radius: var(--radius-md);
  animation: wiz-edit-in 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes wiz-edit-in {
  from { opacity: 0; transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .wiz-edit {
    animation: none;
  }
}

.wiz-edit-row {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}

/* The goal row holds five names: let it scroll inside the panel instead of widening the page. */
.wiz-edit-row .seg {
  min-width: 0;
  max-width: 100%;
}

.wiz-edit-label {
  min-width: 72px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Plan screen: price, billing toggle, and the subscribe button. */
.plan-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 20px 24px;
  background: var(--cream);
  border: 1.5px solid rgba(169, 112, 41, 0.3);
  border-radius: var(--radius-md);
}

.plan-bar-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.plan-bar-amount {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--forest);
  font-variant-numeric: tabular-nums;
  animation: plan-price-in 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes plan-price-in {
  from { opacity: 0; transform: translateY(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .plan-bar-amount {
    animation: none;
  }
}

.plan-bar-unit {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
}

.plan-bar-kcal {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--terra);
}

.plan-bar-saving {
  margin-top: 6px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
}

.plan-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* The toggle sits on the cream bar, so its own track must be lighter to stay visible. */
.plan-bar .seg {
  background: var(--paper);
}

@media (max-width: 640px) {
  .plan-bar-actions,
  .plan-bar-actions .seg,
  .plan-bar-actions .btn {
    width: 100%;
  }

  .plan-bar-actions .seg-btn {
    flex: 1;
  }
}

.wiz-option-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--olive);
  color: var(--forest-2);
}

.wiz-link {
  border: 0;
  background: none;
  padding: 4px 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.wiz-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.wiz-summary span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--forest);
  background: var(--cream);
  border-radius: 999px;
  padding: 6px 12px;
  border: 1.5px solid rgba(169, 112, 41, 0.2);
}

.wiz-summary .wiz-link {
  margin-left: 4px;
}

@media (max-width: 540px) {
  .wiz-options,
  .wiz-options--two {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }
}

/* ---------- Plan cards grid ---------- */
.plan-cards-deck {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding-bottom: 80px;
}

/* ---------- Plan card base ---------- */
.plan-card-gym {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease, transform .2s ease, border-color .2s ease;
}

.plan-card-gym:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
  border-color: var(--hair-2);
}

/* Featured card spans full width and has horizontal layout */
.plan-card-gym.featured {
  grid-column: span 2;
  flex-direction: row;
  border-color: var(--olive);
  box-shadow: 0 0 0 1px var(--olive), var(--shadow-soft);
}

.plan-card-gym.featured:hover {
  box-shadow: 0 0 0 1px var(--olive), var(--shadow-lift);
  transform: translateY(-4px);
}

/* ---------- Card media ---------- */
.plan-card-gym-media {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.plan-card-gym:not(.featured) .plan-card-gym-media {
  aspect-ratio: 16 / 9;
}

.plan-card-gym.featured .plan-card-gym-media {
  width: 38%;
  min-height: 520px;
}

.plan-card-gym-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.plan-card-gym:hover .plan-card-gym-media img {
  transform: scale(1.05);
}

/* Badges on image */
.plan-goal-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(26, 26, 23, 0.78);
  color: var(--olive);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.plan-coaches-pick {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--terra);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

/* ---------- Card body ---------- */
.plan-card-gym-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: 1;
}

.plan-card-gym.featured .plan-card-gym-body {
  padding: 40px 48px;
  justify-content: center;
}

.plan-card-gym-subtitle {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  margin: 0 0 6px;
}

.plan-card-gym-name {
  font-family: var(--display);
  font-size: clamp(26px, 2.5vw, 34px);
  color: var(--forest);
  margin: 0 0 10px;
  line-height: 1.05;
  font-weight: 400;
}

.plan-card-gym.featured .plan-card-gym-name {
  font-size: clamp(32px, 3.2vw, 46px);
}

.plan-card-gym-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Daily macros ---------- */
.plan-macros-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 10px;
}

.plan-macros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--hair);
}

.plan-macro-item {
  background: var(--cream);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  border-right: 1px solid var(--hair);
}

.plan-macro-item:last-child {
  border-right: 0;
}

.plan-macro-val {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--forest);
  line-height: 1;
}

.plan-card-gym.featured .plan-macro-val {
  font-size: 26px;
}

.plan-macro-key {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------- Includes list ---------- */
.plan-includes-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 12px;
}

.plan-includes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.plan-includes-list.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 28px;
}

.plan-includes-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* ---------- Coach note ---------- */
.plan-coach-note {
  background: var(--cream);
  border-left: 3px solid var(--terra);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.plan-coach-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.plan-coach-note p {
  margin: 0;
  font-size: 14px;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---------- Card footer ---------- */
.plan-card-gym-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--hair);
  margin-top: auto;
}

.plan-price-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price-num {
  font-family: var(--serif);
  font-size: 38px;
  color: var(--forest);
  line-height: 1;
}

.plan-card-gym.featured .plan-price-num {
  font-size: 52px;
}

.plan-price-period {
  font-size: 15px;
  color: var(--ink-muted);
}

/* ---------- Responsive plan cards ---------- */
@media (max-width: 1000px) {
  .plan-card-gym.featured {
    grid-column: span 2;
    flex-direction: column;
  }

  .plan-card-gym.featured .plan-card-gym-media {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 8;
  }

  .plan-card-gym.featured .plan-card-gym-body {
    padding: 28px 32px;
  }

  .plan-includes-list.two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .plan-cards-deck {
    grid-template-columns: 1fr;
  }

  .plan-card-gym.featured {
    grid-column: span 1;
  }
}

/* ================================================================
   PLANS HOME TEASER - compact tiles on landing page
   ================================================================ */

.plans-home-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.plan-home-tile {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}

.plan-home-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--hair-2);
}

.plan-home-tile.featured {
  border-color: var(--olive);
  box-shadow: 0 0 0 1px var(--olive);
}

.plan-home-tile.featured:hover {
  box-shadow: 0 0 0 1px var(--olive), var(--shadow-lift);
}

.plan-home-pick {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--terra);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}

.plan-home-media {
  height: 140px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform .4s ease;
}

.plan-home-tile:hover .plan-home-media {
  transform: scale(1.04);
}

.plan-home-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.plan-home-goal {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 600;
}

.plan-home-name {
  font-family: var(--display);
  font-size: 20px;
  color: var(--forest);
  margin: 0;
  line-height: 1.1;
  font-weight: 400;
}

.plan-home-sub {
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.4;
  margin: 0;
}

.plan-home-macros {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.plan-home-sep {
  color: var(--hair-2);
}

.plan-home-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--hair);
}

.plan-home-price {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--forest);
  line-height: 1;
}

.plan-home-price small {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-muted);
  font-style: normal;
  letter-spacing: 0.06em;
  margin-left: 2px;
}

@media (max-width: 1100px) {
  .plans-home-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (max-width: 480px) {
  .plans-home-grid {
    grid-template-columns: 1fr;
  }
}
/* ---------- Segmented Toggle Animations ---------- */
.seg {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--cream);
  border-radius: 999px;
  position: relative;
  isolation: isolate;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.seg-btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--mono);
  font-size: 13px;
  white-space: nowrap;
  background: transparent;
  color: var(--ink-soft);
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.seg-btn.active {
  color: var(--paper);
}

.seg-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background: var(--olive);
  border-radius: 999px;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* ---------- Checkout Page ---------- */
.checkout-page {
  min-height: 60vh;
}

.checkout-header {
  padding: clamp(48px, 7vw, 80px) 0 clamp(32px, 4vw, 48px);
  background: var(--cream);
  border-bottom: 1px solid var(--hair);
  text-align: center;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  padding: clamp(40px, 6vw, 64px) 0;
  align-items: flex-start;
}

@media (max-width: 860px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-fieldset {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
}

.checkout-section-title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  color: var(--forest);
  margin: 0 0 18px;
}

.checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 540px) {
  .checkout-row {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.field input,
.field select,
.field textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--hair-2);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s ease;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--olive);
}

.field-error input,
.field-error select,
.field-error textarea {
  border-color: var(--terra);
}

.field-msg {
  font-size: 12px;
  color: var(--terra-deep);
}

.payment-options {
  display: grid;
  gap: 12px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1.5px solid var(--hair-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  color: var(--ink-soft);
  transition: all .2s ease;
}

.payment-option:has(input:checked) {
  border-color: var(--olive);
  background: var(--cream);
  color: var(--forest);
}

.payment-option.disabled {
  cursor: not-allowed;
  opacity: .55;
}

.payment-soon {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.checkout-summary {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: 100px;
}

.checkout-summary-items {
  display: grid;
  margin-bottom: 8px;
}

.checkout-summary-foot {
  border-top: 1px solid var(--hair);
  margin-top: 16px;
  padding-top: 16px;
  display: grid;
  gap: 14px;
}

.checkout-summary-foot .line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--ink-soft);
}

.checkout-summary-foot .total {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--forest);
}

.checkout-summary-foot .total-num {
  color: var(--terra);
}

.checkout-summary-foot .checkout {
  width: 100%;
  padding: 18px;
  font-size: 15px;
}

.checkout-terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
}

.checkout-terms-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--olive);
  cursor: pointer;
}

.checkout-terms-check a {
  color: var(--olive);
  font-weight: 600;
  text-decoration: underline;
}

.checkout-terms-check.field-error input[type="checkbox"] {
  outline: 2px solid var(--terra);
  outline-offset: 2px;
}

/* Legal pages (Terms & Conditions, Privacy Policy) */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 0 72px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.legal-content > p {
  margin-bottom: 16px;
  font-size: 15px;
}

.legal-section {
  margin-top: 36px;
}

.legal-section h3 {
  font-family: var(--display);
  font-size: 20px;
  color: var(--forest);
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}

.legal-body {
  white-space: pre-wrap;
  line-height: 1.7;
  font-size: 15px;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.legal-agreement {
  margin-top: 44px;
  padding: 22px 26px;
  background: var(--cream);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-align: center;
  color: var(--forest);
  line-height: 1.6;
}

.legal-back {
  margin-top: 40px;
  text-align: center;
}

.checkout-empty {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink-soft);
}

.checkout-empty .h {
  font-family: var(--display);
  font-size: 26px;
  color: var(--forest);
  margin-bottom: 8px;
}

.checkout-success {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
}

.checkout-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--olive);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.checkout-success-ref {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 10px 22px;
}

.checkout-success-ref strong {
  color: var(--forest);
  letter-spacing: 0.06em;
}

/* ---------- WooCommerce pages (wc-page.php) ---------- */
.makros-wc .nav-inner {
  grid-template-columns: auto 1fr;
}

.wc-page {
  min-height: 60vh;
  padding-top: 48px;
  padding-bottom: 96px;
}

.wc-page-footer {
  background: var(--forest-2);
  color: rgba(254, 255, 255, 0.65);
  font-size: 14px;
  padding: 24px 0;
}

/* Remove button in the checkout order summary (makros-core assets/checkout.js) */
.makros-remove-item {
  display: inline-block;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--terra);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.makros-remove-item:hover {
  color: var(--forest);
}

.makros-remove-item:disabled {
  opacity: .5;
  cursor: wait;
}
