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

:root {
  --bg: #04070B;
  --bg-2: #060B10;
  --bg-card: #08101A;
  --bg-hover: #0C1620;
  --line: #1C2A36;
  --line-2: #2C3E4C;
  --cyan: #5CE1E6;
  --cyan-soft: #A8F3F5;
  --red: #E5484D;
  --red-soft: #FF8A8E;
  --green: #3DDC84;
  --text: #D8E3EA;
  --text-2: #C3D0DA;
  --muted: #9FB0BD;
  --dim: #7C8C99;
  --serif: 'Italiana', serif;
  --serif-italic: 'Cormorant Garamond', serif;
  --display: 'Chakra Petch', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(92, 225, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 225, 230, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--cyan); }
a:hover { color: var(--cyan-soft); }
button { font: inherit; }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.blink { animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

.scan { position: relative; }
.scan::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px);
}

/* CLASSIFICATION BANNER */
.banner {
  background-color: var(--red);
  color: var(--bg);
  text-align: center;
  padding: 6px 16px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4em;
}

/* HEADER */
.site-header { border-bottom: 1px solid var(--line); background-color: rgba(4, 7, 11, 0.92); }

.site-header .wrap {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }

.brand-mark {
  width: 40px;
  height: 40px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 22px; }
.brand-name em, .hero-title em { color: var(--cyan); font-family: var(--serif-italic); font-weight: 300; }
.brand-sub { font-size: 10px; letter-spacing: 0.3em; color: var(--dim); }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav a { padding: 10px 14px; text-decoration: none; color: var(--text); }
.site-nav a:hover { color: var(--cyan); }

.status-chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.chip-dot { width: 7px; height: 7px; background-color: var(--cyan); }
.chip-dot.online { background-color: var(--green); }
.chip.clock { color: var(--cyan); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid var(--line-2);
  color: var(--cyan);
  cursor: pointer;
}

.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }

.menu-panel {
  display: none;
  border-bottom: 1px solid var(--cyan);
  background-color: var(--bg-card);
  padding: 8px 16px 18px;
  flex-direction: column;
}

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

.menu-panel-label { font-size: 10px; letter-spacing: 0.24em; color: var(--dim); padding: 8px 0; }

.menu-panel a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-panel a .op { color: var(--cyan); font-size: 13px; margin-right: 10px; }
.menu-panel a .total { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.menu-panel .status-chips { padding-top: 14px; font-size: 10px; }

/* HERO */
.hero { border-bottom: 1px solid var(--line); overflow: hidden; }

.hero .wrap {
  padding-top: 72px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  grid-template-areas:
    "eyebrow scope"
    "badges  scope"
    "title   scope"
    "text    scope"
    "cta     stats";
  column-gap: 56px;
  row-gap: 22px;
  align-items: center;
}

.hero-eyebrow { grid-area: eyebrow; font-size: 12px; letter-spacing: 0.24em; color: var(--cyan); align-self: end; }

.hero-badges {
  grid-area: badges;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.hero-badges > span { padding: 4px 10px; border: 1px solid var(--line); color: var(--muted); }
.hero-badges .clearance { border-color: var(--red); color: var(--red-soft); }

.hero-title {
  grid-area: title;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 116px);
  line-height: 0.92;
  letter-spacing: -0.01em;
}

.hero-text { grid-area: text; max-width: 500px; font-size: 15px; color: var(--muted); }

.hero-cta { grid-area: cta; display: flex; flex-wrap: wrap; gap: 12px; align-self: start; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.btn-primary { background-color: var(--cyan); color: var(--bg); }
.btn-primary:hover { background-color: var(--cyan-soft); color: var(--bg); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); font-weight: 600; }
.btn-ghost:hover { border-color: var(--cyan); color: var(--text); }

.scope-wrap { grid-area: scope; justify-self: center; align-self: end; }

.scope {
  position: relative;
  width: 380px;
  height: 380px;
  max-width: 82vw;
  max-height: 82vw;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  overflow: hidden;
  background-color: var(--bg-2);
  --ring: 46px;
}

.scope-rings, .scope-sweep { position: absolute; inset: 0; border-radius: 50%; }
.scope-rings { background: repeating-radial-gradient(circle at 50% 50%, transparent 0 var(--ring), rgba(92, 225, 230, 0.28) var(--ring) calc(var(--ring) + 1px)); }
.scope-sweep { background: conic-gradient(from 0deg, rgba(92, 225, 230, 0.38), rgba(92, 225, 230, 0) 70deg, rgba(92, 225, 230, 0) 360deg); animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.scope-v, .scope-h { position: absolute; background-color: rgba(92, 225, 230, 0.35); }
.scope-v { left: 50%; top: 0; bottom: 0; width: 1px; }
.scope-h { top: 50%; left: 0; right: 0; height: 1px; }

.scope-core { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

.scope-glass {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(216, 227, 234, 0.12);
}

.scope-glass svg { width: 64px; height: 64px; }

.scope-target {
  position: absolute;
  top: 22%;
  left: 70%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--red);
  box-shadow: 0 0 10px var(--red);
}

.stats {
  grid-area: stats;
  justify-self: center;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  max-width: 380px;
  background-color: var(--line);
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.12em;
  align-self: start;
}

.stats > div { background-color: var(--bg-2); padding: 10px 12px; }
.stat-label { color: var(--dim); }
.stat-value { font-family: var(--display); font-size: 22px; color: var(--text); }
.stat-value.cyan { color: var(--cyan); }
.stat-value.red { color: var(--red-soft); }

/* TICKER */
.ticker-bar {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: var(--bg-2);
  padding: 10px 0;
  white-space: nowrap;
}

.ticker {
  display: inline-flex;
  gap: 48px;
  padding-right: 48px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--cyan);
  animation: tick 38s linear infinite;
}

.ticker .x { color: var(--red); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* QUOTE */
.quote .wrap { padding-top: 40px; }
.quote figure { display: flex; flex-direction: column; gap: 8px; max-width: 780px; }
.quote-label { font-size: 11px; letter-spacing: 0.24em; color: var(--dim); }
.quote blockquote { font-family: var(--serif-italic); font-style: italic; font-size: 24px; line-height: 1.35; color: var(--text); }
.quote figcaption { font-size: 11px; letter-spacing: 0.2em; color: var(--cyan); text-transform: uppercase; }

/* CONTROLS (mobile category tabs) */
.controls { display: none; }
.tab {
  min-height: 44px;
  padding: 0 18px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--line-2);
  background-color: transparent;
  color: var(--text);
}

.tab:hover { border-color: var(--cyan); }

/* SECTIONS */
main.wrap { padding-top: 16px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 64px; }

.drink-section { display: flex; flex-direction: column; gap: 24px; padding-top: 32px; scroll-margin-top: 16px; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.section-op {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--bg);
  background-color: var(--cyan);
  padding: 4px 10px;
}

.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-count { margin-left: auto; font-size: 11px; letter-spacing: 0.2em; color: var(--dim); }

.drink-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }


/* CARDS */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 132px;
  padding: 16px 18px;
  text-align: left;
  background-color: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: inherit;
  transition: border-color .2s, background-color .2s;
}

.card::before, .card::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--cyan);
  border-style: solid;
  opacity: .55;
  transition: all .2s;
}

.card::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.card::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

button.card { cursor: pointer; }
button.card:hover { border-color: var(--cyan); background-color: var(--bg-hover); }
button.card:hover::before, button.card:hover::after { width: 22px; height: 22px; opacity: 1; }

.card-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.card-file { color: var(--dim); }

.suggestie-label {
  flex-shrink: 0;
  padding: 2px 8px;
  border: 1px solid var(--red);
  color: var(--red-soft);
  font-family: var(--display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.5;
}

.card-name { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.15; letter-spacing: 0.02em; overflow-wrap: anywhere; }

.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-action { color: var(--cyan); }
.card-action.off { color: var(--dim); }

.m-only { display: none; }

/* FOOTER */
.site-footer { border-top: 1px solid var(--line); background-color: var(--bg-2); }

.site-footer .wrap {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

/* STATES */
.menu-state {
  padding: 48px 24px;
  border: 1px dashed var(--line-2);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.menu-state.error { border-color: var(--red); color: var(--red-soft); }

/* DOSSIER MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: rgba(2, 4, 7, 0.86);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active { display: flex; }

.modal {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  background-color: var(--bg-card);
  border: 1px solid var(--cyan);
  overscroll-behavior: contain;
}

.modal-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  background-color: var(--cyan);
  color: var(--bg);
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.modal-head-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.modal-kicker { font-size: 11px; letter-spacing: 0.22em; color: var(--cyan); }

.modal-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.decrypt { animation: reveal .7s steps(14) both; }
@keyframes reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.modal-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.16em; }

.modal-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }

.modal-close {
  min-height: 44px;
  padding: 0 18px;
  background-color: transparent;
  border: 1px solid var(--red);
  color: var(--red-soft);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  cursor: pointer;
  white-space: nowrap;
}

.modal-close:hover { background-color: var(--red); color: var(--bg); }

.stamp {
  transform: rotate(-8deg);
  padding: 6px 12px;
  border: 2px solid var(--red);
  color: var(--red-soft);
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.stamp.m-only { margin-left: auto; transform: rotate(-6deg); padding: 3px 8px; font-size: 11px; letter-spacing: 0.16em; }

.modal-image-wrap { display: none; border-bottom: 1px solid var(--line); background-color: var(--bg-2); }
.modal-image-wrap.visible { display: block; }
.modal-image { display: block; width: 100%; max-height: 420px; object-fit: contain; }

.modal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.modal-block { padding: 24px 28px; display: flex; flex-direction: column; gap: 14px; }
.modal-grid .modal-block:first-child { border-right: 1px solid var(--line); }
.modal-block h4 { font-size: 12px; font-weight: 400; letter-spacing: 0.24em; color: var(--cyan); }

.modal-ingredients, .modal-steps { list-style: none; display: flex; flex-direction: column; }
.modal-ingredients { gap: 8px; }
.modal-steps { gap: 10px; }
.modal-ingredients li { display: flex; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.modal-ingredients .q { min-width: 76px; flex-shrink: 0; color: var(--cyan); }
.modal-steps li { display: flex; gap: 12px; }
.modal-steps .n { color: var(--red-soft); flex-shrink: 0; }

.modal-notes-block { padding: 22px 28px 28px; border-top: 1px solid var(--line); gap: 10px; }
.modal-notes { display: flex; flex-direction: column; gap: 6px; font-family: var(--serif-italic); font-style: italic; font-size: 18px; line-height: 1.5; color: var(--text-2); }
.modal-burn { margin-top: 8px; font-size: 11px; letter-spacing: 0.14em; color: var(--dim); }

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

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(92, 225, 230, 0.25); }

/* MOBILE */
@media (max-width: 767px) {
  body { background-size: 40px 40px; line-height: 1.55; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .d-only { display: none !important; }
  .m-only { display: initial; }

  .banner { padding: 5px 12px; font-size: 10px; letter-spacing: 0.3em; }

  .site-header { position: relative; background-color: rgba(4, 7, 11, 0.95); }
  .site-header .wrap { padding-top: 12px; padding-bottom: 12px; flex-wrap: nowrap; gap: 10px; }
  .brand { gap: 10px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark svg { width: 18px; height: 18px; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 9px; letter-spacing: 0.24em; }
  .site-nav, .site-header .status-chips { display: none; }
  .menu-toggle { display: flex; }

  .hero .wrap {
    padding-top: 28px;
    padding-bottom: 32px;
    grid-template-columns: minmax(0, 1fr) 132px;
    grid-template-areas:
      "eyebrow eyebrow"
      "badges  scope"
      "title   scope"
      "text    text"
      "stats   stats"
      "cta     cta";
    column-gap: 16px;
    row-gap: 10px;
  }

  .hero-eyebrow { font-size: 10px; letter-spacing: 0.18em; margin-bottom: 8px; }
  .hero-badges { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; align-self: end; }
  .hero-badges > span { padding: 3px 8px; }
  .hero-title { font-size: 50px; align-self: start; }
  .hero-text { font-size: 13px; margin-top: 8px; }
  .scope-wrap { align-self: center; }
  .scope { width: 132px; height: 132px; --ring: 30px; }
  .scope-glass { width: 46px; height: 46px; box-shadow: none; }
  .scope-glass svg { width: 26px; height: 26px; }
  .scope-glass .garnish { display: none; }
  .scope-target { left: 68%; width: 6px; height: 6px; box-shadow: 0 0 8px var(--red); }
  .stats { max-width: none; font-size: 10px; margin-top: 8px; }
  .stats > div { padding: 8px 10px; }
  .stat-value { font-size: 20px; }
  .hero-cta { margin-top: 8px; }
  .hero-cta .btn-primary { width: 100%; min-height: 50px; }

  .ticker-bar { padding: 8px 0; }
  .ticker { gap: 32px; padding-right: 32px; font-size: 11px; letter-spacing: 0.26em; animation-duration: 30s; }

  .quote .wrap { padding-top: 24px; padding-bottom: 20px; }
  .quote figure { gap: 6px; }
  .quote-label { font-size: 10px; letter-spacing: 0.18em; }
  .quote blockquote { font-size: 18px; line-height: 1.4; }
  .quote figcaption { font-size: 10px; letter-spacing: 0.16em; }

  .controls {
    display: block;
    position: sticky;
    top: 0;
    z-index: 5;
    background-color: rgba(4, 7, 11, 0.97);
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 0;
  }

  .controls .wrap { padding-top: 12px; padding-bottom: 12px; }

  .tabs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(max-content, 1fr);
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar { display: none; }

  .tab {
    min-height: 52px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    white-space: nowrap;
    background-color: var(--bg-card);
  }

  .tab .op { display: block; font-size: 9px; letter-spacing: 0.2em; opacity: 0.8; }
  .tab[aria-selected="true"] { border-color: var(--cyan); background-color: var(--cyan); color: var(--bg); }


  main.wrap { padding-top: 16px; padding-bottom: 32px; gap: 0; }
  .drink-section { display: none; gap: 8px; padding-top: 0; }
  .drink-section.is-active { display: flex; }
  .section-head { border-bottom: 0; padding-bottom: 6px; align-items: baseline; justify-content: space-between; }
  .section-op { display: none; }
  .section-title { font-size: 26px; }
  .section-count { margin-left: 0; font-size: 10px; letter-spacing: 0.18em; }

  .drink-grid { display: flex; flex-direction: column; gap: 8px; }

  .card {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 64px;
    padding: 10px 12px;
    border-left: 2px solid var(--line-2);
  }

  .card.favorite { border-left-color: var(--red); }
  .card::before, .card::after { display: none; }
  button.card:hover { border-color: var(--line); border-left-color: var(--line-2); background-color: var(--bg-card); }
  button.card.favorite:hover { border-left-color: var(--red); }
  button.card:active { background-color: var(--bg-hover); border-color: var(--cyan); }

  .card-main { flex: 1 1 auto; gap: 2px; }
  .card-meta { font-size: 10px; letter-spacing: 0.14em; }
  .card-name { font-size: 17px; line-height: 1.2; }
  .card .suggestie-label { padding: 2px 6px; font-size: 9px; letter-spacing: 0.14em; }
  .chevron { flex-shrink: 0; }

  .site-footer .wrap { padding-top: 20px; padding-bottom: 20px; flex-direction: column; gap: 6px; font-size: 10px; letter-spacing: 0.14em; }
  .site-footer .banner { letter-spacing: 0.26em; }

  .modal-overlay { padding: 0; align-items: stretch; justify-content: flex-end; flex-direction: column; background-color: rgba(2, 4, 7, 0.8); }
  .modal { max-width: none; max-height: 92%; max-height: 92dvh; border: 0; border-top: 1px solid var(--cyan); animation: up .28s ease-out both; }
  @keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .modal-bar { padding: 6px 16px; font-size: 10px; letter-spacing: 0.2em; }
  .modal-head { flex-direction: column; align-items: stretch; gap: 10px; padding: 18px 16px; }
  .modal-head-main { display: contents; }
  .modal-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
  .modal-kicker { font-size: 10px; letter-spacing: 0.18em; padding-top: 4px; }
  .modal-title { font-size: 30px; }
  .modal-tags { font-size: 10px; letter-spacing: 0.14em; }
  .modal-close { flex-shrink: 0; padding: 0 14px; font-size: 12px; letter-spacing: 0.2em; }
  .modal-grid { display: block; }
  .modal-block { padding: 18px 16px; gap: 12px; border-bottom: 1px solid var(--line); }
  .modal-grid .modal-block:first-child { border-right: 0; }
  .modal-block h4 { font-size: 11px; letter-spacing: 0.22em; }
  .modal-ingredients li, .modal-steps li { font-size: 13px; }
  .modal-ingredients .q { min-width: 72px; }
  .modal-notes-block { padding: 18px 16px 28px; border-top: 0; border-bottom: 0; }
  .modal-notes { font-size: 17px; }
  .modal-burn { margin-top: 6px; font-size: 10px; letter-spacing: 0.12em; }
}

@media (max-width: 359px) {
  .tab { padding: 6px 6px; font-size: 12px; letter-spacing: 0.02em; }
}

@media (min-width: 768px) {
  .modal-top { display: contents; }
  .modal-top .modal-close { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scope-sweep, .ticker, .blink, .decrypt, .modal { animation: none !important; }
}

/* GENERIC PAGES (index.php / page.php / 404) */
.page-content { padding-top: 48px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 24px; max-width: 820px; }
.page-content .entry-title { font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 1.05; letter-spacing: 0.04em; text-transform: uppercase; }
.page-content .entry-content { display: flex; flex-direction: column; gap: 14px; color: var(--text-2); }
.page-content .entry-content img { max-width: 100%; height: auto; }

/* Keep sticky mobile tabs below the WP admin bar for logged-in users */
@media (max-width: 767px) {
  .admin-bar .controls { top: 0; }
}
