/* =========================================================
   ND Components — reusable atoms that power every screen.
   Each block maps to a production shortcode (see comments).
   ========================================================= */

/* =====================================================
   BUTTONS
   ===================================================== */
.nd-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--r-pill);
  font: var(--f-btn); text-transform: uppercase; letter-spacing: var(--tracked-s);
  transition: transform .15s ease, background .15s ease;
}
.nd-btn:hover { transform: translateY(-1px); }
.nd-btn.primary   { background: var(--champagne); color: var(--ink); }
.nd-btn.primary:hover { background: var(--champagne-light); }
.nd-btn.dark      { background: var(--ink); color: var(--fg-on-dark); }
.nd-btn.dark:hover{ background: var(--soft-ink); }
.nd-btn.ghost     { background: transparent; color: var(--ink); border: 1px solid var(--rule-strong); }
.nd-btn.ghost:hover{ border-color: var(--ink); }
.nd-btn.on-dark   { background: transparent; color: var(--fg-on-dark); border: 1px solid #3a3b34; }
.nd-btn.on-dark:hover { border-color: var(--champagne); color: var(--champagne-light); }
.nd-btn.sm { padding: 8px 14px; font-size: 11.5px; }
.nd-btn.lg { padding: 15px 28px; font-size: 14px; }

/* Icon-only inline arrow after label */
.nd-btn .arr {
  width: 14px; height: 14px; display: inline-block;
  border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor;
  transform: rotate(45deg); margin-left: 4px;
}

/* Chip / filter */
.nd-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--rule-strong);
  font: 600 12px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase;
  color: var(--soft-ink); background: var(--ivory);
}
.nd-chip.active { background: var(--ink); color: var(--fg-on-dark); border-color: var(--ink); }
.nd-chip.accent { background: var(--champagne); color: var(--ink); border-color: var(--champagne); }
.nd-chip .count { font: 600 10px/1 var(--mono); opacity: .65; margin-left: 2px; }

/* Tag (uppercase micro) */
.nd-tag {
  display: inline-block; padding: 4px 8px; border-radius: 3px;
  background: var(--linen); color: var(--soft-ink);
  font: 600 10px/1 var(--sans); text-transform: uppercase; letter-spacing: var(--tracked-s);
}
.nd-tag.dark  { background: rgba(220,201,157,.14); color: var(--champagne-light); }
.nd-tag.solid { background: var(--ink); color: var(--fg-on-dark); }

/* =====================================================
   SECTION HEADER (reusable across all Worlds)
   ===================================================== */
.nd-section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
  padding-bottom: 20px; margin-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.nd-section-head .lhs { max-width: 720px; }
.nd-section-head .eyebrow { margin-bottom: 10px; display: block; }
.nd-section-head h2 { font: var(--f-h2); color: var(--fg); }
.nd-section-head p  { color: var(--muted); margin-top: 8px; font: var(--f-lede); }
.nd-section-head .rhs {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
  font: 600 12px/1 var(--sans); text-transform: uppercase; letter-spacing: var(--tracked-s);
  color: var(--soft-ink);
}
.nd-section-head .rhs a:hover { color: var(--ink); }

/* =====================================================
   HERO (world-hero, editorial-hero, listing-hero)
   ===================================================== */
.nd-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--fg-on-dark);
  isolation: isolate;
}
.nd-hero .bg {
  position: absolute; inset: 0; z-index: -2;
}
.nd-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.nd-hero .bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(21,22,19,.15) 0%, rgba(21,22,19,.35) 45%, rgba(21,22,19,.85) 100%);
}
.nd-hero .inner {
  max-width: var(--page-max); margin: 0 auto;
  padding: clamp(64px, 9vw, 140px) var(--page-pad) clamp(48px, 6vw, 96px);
  display: grid; grid-template-columns: 1.35fr .9fr; gap: 60px; align-items: end;
  min-height: 620px;
}
.nd-hero .lhs { max-width: 640px; }
.nd-hero .kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--champagne-light);
  font: var(--f-eyebrow); text-transform: uppercase; letter-spacing: var(--tracked);
}
.nd-hero .kicker::before, .nd-hero .kicker::after {
  content: ""; width: 24px; height: 1px; background: currentColor; opacity: .6;
}
.nd-hero .kicker::before { display: none; }
.nd-hero h1 {
  font: var(--f-display); margin-top: 18px;
  color: var(--fg-on-dark);
  text-wrap: balance;
}
.nd-hero h1 em {
  font-style: italic; color: var(--champagne-light);
}
.nd-hero .lede {
  color: rgba(245,239,227,.86);
  margin-top: 22px; font: 400 clamp(16px, 1.2vw, 19px)/1.6 var(--sans);
  max-width: 520px;
}
.nd-hero .ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.nd-hero .meta {
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid rgba(220,201,157,.22);
  display: flex; gap: 32px; flex-wrap: wrap; color: var(--fg-on-dark-mute);
  font: var(--f-meta);
}
.nd-hero .meta b { color: var(--fg-on-dark); font-weight: 600; display: block; margin-bottom: 4px; letter-spacing: .04em; text-transform: uppercase; font-size: 10.5px; color: var(--champagne-light); }
.nd-hero .rhs { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.nd-hero .rhs .quote {
  background: rgba(21,22,19,.35);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(220,201,157,.18);
  padding: 24px 26px; border-radius: var(--r-3);
  max-width: 340px; color: var(--fg-on-dark);
  font: italic 400 18px/1.5 var(--serif);
}
.nd-hero .rhs .quote cite {
  display: block; font: 600 11px/1 var(--sans); text-transform: uppercase;
  letter-spacing: var(--tracked); margin-top: 14px; color: var(--champagne-light);
  font-style: normal;
}
.nd-hero.light {
  background: var(--pearl); color: var(--fg);
}
.nd-hero.light .bg::after {
  background: linear-gradient(180deg, rgba(247,243,237,.4) 0%, rgba(247,243,237,.75) 100%);
}
.nd-hero.light h1 { color: var(--ink); }
.nd-hero.light h1 em { color: var(--champagne-deep); }
.nd-hero.light .lede { color: var(--soft-ink); }
.nd-hero.light .kicker { color: var(--champagne-deep); }
.nd-hero.light .meta { color: var(--muted); border-top-color: var(--rule); }
.nd-hero.light .meta b { color: var(--soft-ink); }
.nd-hero.light .rhs .quote { background: var(--ivory); border-color: var(--rule); color: var(--soft-ink); }
.nd-hero.light .rhs .quote cite { color: var(--champagne-deep); }

@media (max-width: 900px) {
  .nd-hero .inner { grid-template-columns: 1fr; gap: 30px; min-height: 460px; }
  .nd-hero .rhs { align-items: flex-start; }
}

/* =====================================================
   EDITORIAL CARD (Story / Recipe / Article)
   ===================================================== */
.nd-editorial-card {
  display: flex; flex-direction: column;
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--r-3);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.nd-editorial-card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.nd-editorial-card .media {
  aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); position: relative;
}
.nd-editorial-card .media img { width: 100%; height: 100%; object-fit: cover; }
.nd-editorial-card .media .badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--ivory); color: var(--ink);
  padding: 6px 10px; border-radius: var(--r-1);
  font: 600 10.5px/1 var(--sans); letter-spacing: var(--tracked); text-transform: uppercase;
}
.nd-editorial-card .media .save {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(21,22,19,.55); color: var(--fg-on-dark);
  display: grid; place-items: center;
  backdrop-filter: blur(6px);
}
.nd-editorial-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.nd-editorial-card .kicker { font: var(--f-eyebrow); text-transform: uppercase; letter-spacing: var(--tracked); color: var(--champagne-deep); }
.nd-editorial-card h3 { font: 600 20px/1.25 var(--serif); color: var(--ink); }
.nd-editorial-card .dek { color: var(--muted); font: 400 13.5px/1.5 var(--sans); }
.nd-editorial-card .meta {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  font: var(--f-meta); color: var(--muted);
}
.nd-editorial-card .meta .by { color: var(--soft-ink); font-weight: 500; }
.nd-editorial-card.feature {
  grid-column: span 2;
}
.nd-editorial-card.feature .media { aspect-ratio: 16 / 9; }
.nd-editorial-card.feature h3 { font-size: 28px; line-height: 1.15; }

/* Editorial hero: split layout used in Story/Recipe first-fold + Home lede */
.nd-editorial-split {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: stretch;
}
.nd-editorial-split .media {
  aspect-ratio: 5 / 6; background: var(--stone); overflow: hidden; border-radius: var(--r-3);
  position: relative;
}
.nd-editorial-split .media img { width: 100%; height: 100%; object-fit: cover; }
.nd-editorial-split .txt { display: flex; flex-direction: column; justify-content: center; }
.nd-editorial-split .txt h1 { font: var(--f-h1); color: var(--ink); margin-top: 14px; }
.nd-editorial-split .txt .lede { font: var(--f-lede); color: var(--soft-ink); margin-top: 20px; max-width: 520px; }
@media (max-width: 900px) {
  .nd-editorial-split { grid-template-columns: 1fr; gap: 30px; }
}

/* =====================================================
   LISTING CARD — unified across Experience/Stay/Service/
   Business/Opportunity (variant classes toggle chrome).
   ===================================================== */
.nd-listing-card {
  background: var(--ivory); border: 1px solid var(--rule); border-radius: var(--r-3);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.nd-listing-card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.nd-listing-card .media {
  aspect-ratio: 4 / 3; background: var(--stone); position: relative; overflow: hidden;
}
.nd-listing-card .media img { width: 100%; height: 100%; object-fit: cover; }
.nd-listing-card .media .type {
  position: absolute; top: 12px; left: 12px;
  background: var(--ivory); color: var(--ink);
  padding: 5px 9px; border-radius: var(--r-1);
  font: 600 10px/1 var(--sans); letter-spacing: var(--tracked); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.nd-listing-card .media .type::before {
  content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--champagne);
}
.nd-listing-card .media .fav {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,253,248,.9); color: var(--soft-ink);
  display: grid; place-items: center;
  border: 1px solid rgba(21,22,19,.06);
}
.nd-listing-card .media .price-pill {
  position: absolute; bottom: 12px; right: 12px;
  background: var(--ink); color: var(--fg-on-dark);
  padding: 7px 11px; border-radius: var(--r-pill);
  font: 600 12px/1 var(--sans);
}
.nd-listing-card .media .price-pill small { font-weight: 400; opacity: .75; margin-left: 4px; }
.nd-listing-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nd-listing-card .location {
  font: 600 10.5px/1 var(--sans); text-transform: uppercase; letter-spacing: var(--tracked);
  color: var(--muted); display: inline-flex; align-items: center; gap: 6px;
}
.nd-listing-card h3 { font: 600 18px/1.25 var(--serif); color: var(--ink); }
.nd-listing-card .facets {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  color: var(--muted); font: var(--f-meta);
}
.nd-listing-card .facets span { display: inline-flex; align-items: center; gap: 5px; }
.nd-listing-card .meta {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
  font: var(--f-meta); color: var(--muted);
}
.nd-listing-card .meta .rating { color: var(--soft-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.nd-listing-card .meta .rating svg { color: var(--champagne-deep); }

/* Horizontal (list view) */
.nd-listing-card.row {
  flex-direction: row;
}
.nd-listing-card.row .media { flex: 0 0 34%; aspect-ratio: auto; min-height: 220px; }
.nd-listing-card.row .body  { padding: 20px 24px; }

/* =====================================================
   PRODUCT CARD (WooCommerce/Dokan)
   ===================================================== */
.nd-product-card {
  background: var(--ivory); border: 1px solid var(--rule); border-radius: var(--r-3);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.nd-product-card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.nd-product-card .media {
  aspect-ratio: 1 / 1; background: var(--linen); position: relative;
  display: grid; place-items: center;
}
.nd-product-card .media img { width: 88%; height: 88%; object-fit: contain; }
.nd-product-card .media .flag {
  position: absolute; top: 10px; left: 10px;
  background: var(--ink); color: var(--fg-on-dark);
  padding: 4px 8px; border-radius: var(--r-1);
  font: 600 9.5px/1 var(--sans); letter-spacing: var(--tracked); text-transform: uppercase;
}
.nd-product-card .media .flag.gold { background: var(--champagne); color: var(--ink); }
.nd-product-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.nd-product-card .vendor { font: 600 10.5px/1 var(--sans); text-transform: uppercase; letter-spacing: var(--tracked); color: var(--champagne-deep); }
.nd-product-card h4 { font: 500 14.5px/1.35 var(--sans); color: var(--ink); }
.nd-product-card .price-row {
  margin-top: auto; padding-top: 10px; display: flex; align-items: end; justify-content: space-between; gap: 8px;
}
.nd-product-card .price { font: 700 16px/1 var(--sans); color: var(--ink); }
.nd-product-card .price small { font-weight: 400; color: var(--muted); text-decoration: line-through; margin-left: 6px; }
.nd-product-card .add {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink); color: var(--fg-on-dark);
  display: grid; place-items: center;
}
.nd-product-card .add:hover { background: var(--champagne); color: var(--ink); }
.nd-product-card.mini .media { aspect-ratio: 4 / 3; }

/* =====================================================
   CREATOR CARD
   ===================================================== */
.nd-creator-card {
  background: var(--ivory); border: 1px solid var(--rule); border-radius: var(--r-3);
  padding: 22px; display: flex; flex-direction: column; gap: 14px;
  text-align: center; align-items: center;
}
.nd-creator-card .avatar {
  width: 88px; height: 88px; border-radius: 50%; overflow: hidden;
  background: var(--stone); border: 2px solid var(--ivory); box-shadow: var(--sh-1);
}
.nd-creator-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.nd-creator-card .name { font: 600 17px/1.15 var(--serif); color: var(--ink); }
.nd-creator-card .role { font: var(--f-eyebrow); text-transform: uppercase; letter-spacing: var(--tracked); color: var(--muted); }
.nd-creator-card .worlds { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.nd-creator-card .worlds .nd-tag { font-size: 9.5px; }
.nd-creator-card .actions { display: flex; gap: 8px; margin-top: 6px; }

.nd-creator-inline {
  display: flex; align-items: center; gap: 12px;
}
.nd-creator-inline .avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--stone); }
.nd-creator-inline .avatar img { width: 100%; height: 100%; object-fit: cover; }
.nd-creator-inline .name { font: 600 14px/1.15 var(--sans); color: var(--ink); }
.nd-creator-inline .role { font: 400 12px/1.2 var(--sans); color: var(--muted); }

/* =====================================================
   COMMUNITY TILE (feed / channel)
   ===================================================== */
.nd-community-tile {
  background: var(--ivory); border: 1px solid var(--rule); border-radius: var(--r-3);
  overflow: hidden; display: flex; flex-direction: column;
}
.nd-community-tile .media { aspect-ratio: 4 / 3; background: var(--stone); overflow: hidden; }
.nd-community-tile .media img { width: 100%; height: 100%; object-fit: cover; }
.nd-community-tile .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.nd-community-tile .by { display: flex; align-items: center; gap: 8px; }
.nd-community-tile .by .av { width: 26px; height: 26px; border-radius: 50%; background: var(--stone); overflow: hidden; }
.nd-community-tile .by .av img { width: 100%; height: 100%; object-fit: cover; }
.nd-community-tile .by .n { font: 600 12.5px/1 var(--sans); color: var(--ink); }
.nd-community-tile .by .t { font: 400 11.5px/1 var(--sans); color: var(--muted); }
.nd-community-tile p { font: 400 13.5px/1.5 var(--sans); color: var(--soft-ink); }
.nd-community-tile .acts { display: flex; gap: 14px; color: var(--muted); font: var(--f-meta); padding-top: 8px; border-top: 1px solid var(--rule); }
.nd-community-tile .acts span { display: inline-flex; align-items: center; gap: 5px; }

/* =====================================================
   VENDOR CARD (Dokan visual)
   ===================================================== */
.nd-vendor-card {
  background: var(--ivory); border: 1px solid var(--rule); border-radius: var(--r-3); overflow: hidden;
}
.nd-vendor-card .banner {
  aspect-ratio: 4 / 1.4; background: var(--stone); position: relative; overflow: hidden;
}
.nd-vendor-card .banner img { width: 100%; height: 100%; object-fit: cover; }
.nd-vendor-card .body { padding: 12px 18px 18px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.nd-vendor-card .logo {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--ivory); border: 3px solid var(--ivory);
  margin-top: -40px; position: relative; overflow: hidden; box-shadow: var(--sh-1);
}
.nd-vendor-card .logo img { width: 100%; height: 100%; object-fit: cover; }
.nd-vendor-card .name { font: 600 16px/1.2 var(--serif); color: var(--ink); }
.nd-vendor-card .tagline { font: 400 12.5px/1.4 var(--sans); color: var(--muted); }
.nd-vendor-card .row {
  display: flex; justify-content: space-between; align-items: center; padding-top: 10px;
  border-top: 1px solid var(--rule); margin-top: 6px;
  font: var(--f-meta); color: var(--muted);
}
.nd-vendor-card .row b { color: var(--soft-ink); }

/* =====================================================
   CONTEXTUAL RAIL (right-side rail on Recipe/Story/Listing)
   ===================================================== */
.nd-rail-module {
  background: var(--ivory); border: 1px solid var(--rule); border-radius: var(--r-3);
  padding: 20px; display: flex; flex-direction: column; gap: 14px;
}
.nd-rail-module h4 {
  font: 600 12px/1 var(--sans); text-transform: uppercase; letter-spacing: var(--tracked);
  color: var(--champagne-deep);
}
.nd-rail-module .title { font: 600 17px/1.25 var(--serif); color: var(--ink); }
.nd-rail-module.dark {
  background: var(--ink); color: var(--fg-on-dark); border-color: var(--ink);
}
.nd-rail-module.dark h4 { color: var(--champagne-light); }
.nd-rail-module.dark .title { color: var(--fg-on-dark); }
.nd-rail-module.dark p { color: var(--fg-on-dark-mute); }

.nd-rail-mini {
  display: grid; grid-template-columns: 60px 1fr; gap: 12px; align-items: center;
}
.nd-rail-mini .m { width: 60px; height: 60px; border-radius: var(--r-2); background: var(--stone); overflow: hidden; }
.nd-rail-mini .m img { width: 100%; height: 100%; object-fit: cover; }
.nd-rail-mini .t { font: 500 13.5px/1.3 var(--sans); color: var(--ink); }
.nd-rail-mini .k { font: var(--f-eyebrow); text-transform: uppercase; letter-spacing: var(--tracked-s); color: var(--muted); margin-bottom: 2px; }

/* =====================================================
   ADVANTAGE PANEL (dark CTA band per spec)
   ===================================================== */
.nd-advantage {
  background: var(--ink); color: var(--fg-on-dark); border-radius: var(--r-3);
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.nd-advantage .brand { display: flex; align-items: center; gap: 10px; }
.nd-advantage .brand .m {
  width: 30px; height: 30px; border-radius: 4px; background: var(--champagne);
  color: var(--ink); display: grid; place-items: center;
  font: 800 12px/1 var(--sans); letter-spacing: .05em;
}
.nd-advantage h4 { font: 600 20px/1.2 var(--serif); }
.nd-advantage ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.nd-advantage li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font: 400 13.5px/1.5 var(--sans); color: var(--fg-on-dark-mute); }
.nd-advantage li::before { content: ""; width: 6px; height: 6px; background: var(--champagne); border-radius: 50%; margin-top: 8px; }
.nd-advantage .cta { margin-top: 8px; }

/* =====================================================
   METRIC / FACET STRIP (Prep · Cook · Servings · Difficulty)
   ===================================================== */
.nd-facet-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 18px 0; margin: 22px 0;
}
.nd-facet-strip .cell { display: flex; flex-direction: column; gap: 4px; padding: 0 16px; border-right: 1px solid var(--rule); }
.nd-facet-strip .cell:last-child { border-right: 0; }
.nd-facet-strip .cell .k { font: var(--f-eyebrow); text-transform: uppercase; letter-spacing: var(--tracked); color: var(--muted); }
.nd-facet-strip .cell .v { font: 600 16px/1.15 var(--serif); color: var(--ink); }

/* =====================================================
   TAB BAR (Recipe/Story tabs)
   ===================================================== */
.nd-tabs {
  display: flex; gap: 4px; border-bottom: 1px solid var(--rule);
  margin: 24px 0; overflow-x: auto;
}
.nd-tabs a {
  padding: 12px 4px; margin-right: 22px;
  font: 600 12.5px/1 var(--sans); text-transform: uppercase; letter-spacing: var(--tracked-s);
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.nd-tabs a:hover { color: var(--soft-ink); }
.nd-tabs a.active { color: var(--ink); border-bottom-color: var(--ink); }

/* =====================================================
   STEP LIST (Instructions)
   ===================================================== */
.nd-steps { display: grid; gap: 20px; margin-top: 20px; }
.nd-step {
  display: grid; grid-template-columns: 44px 1fr 180px; gap: 20px;
  padding: 20px 0; border-top: 1px solid var(--rule);
  align-items: start;
}
.nd-step .n {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink); color: var(--fg-on-dark);
  display: grid; place-items: center;
  font: 600 13px/1 var(--sans);
}
.nd-step h5 { font: 600 15px/1.2 var(--sans); color: var(--ink); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
.nd-step p  { color: var(--soft-ink); font: 400 14.5px/1.55 var(--sans); }
.nd-step .m { width: 180px; height: 120px; border-radius: var(--r-2); background: var(--stone); overflow: hidden; }
.nd-step .m img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
  .nd-step { grid-template-columns: 32px 1fr; }
  .nd-step .m { display: none; }
}

/* =====================================================
   INGREDIENTS
   ===================================================== */
.nd-ingredients { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; }
.nd-ingredients li {
  display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start;
  padding: 10px 0; border-bottom: 1px dashed var(--rule);
  font: 400 14px/1.4 var(--sans); color: var(--soft-ink);
}
.nd-ingredients .chk {
  width: 16px; height: 16px; border-radius: 3px; border: 1.5px solid var(--rule-strong); margin-top: 2px;
}
@media (max-width: 700px) { .nd-ingredients { grid-template-columns: 1fr; } }

/* =====================================================
   LOAD BOARD ROW (specialized Opportunity view)
   ===================================================== */
.nd-load-row {
  display: grid;
  grid-template-columns: 80px 1.4fr 1.4fr 1fr 1fr 1fr 120px;
  gap: 20px; align-items: center;
  padding: 18px 20px;
  background: var(--ivory); border: 1px solid var(--rule); border-radius: var(--r-3);
  transition: box-shadow .15s ease;
}
.nd-load-row + .nd-load-row { margin-top: 8px; }
.nd-load-row:hover { box-shadow: var(--sh-2); }
.nd-load-row .id {
  font: 600 11px/1.1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .04em;
}
.nd-load-row .loc { font: 500 14px/1.2 var(--sans); color: var(--ink); }
.nd-load-row .loc small { display: block; color: var(--muted); font: 400 11.5px/1 var(--sans); margin-top: 3px; }
.nd-load-row .val { font: 600 14px/1 var(--sans); color: var(--ink); }
.nd-load-row .val small { display: block; font: 400 10.5px/1 var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: var(--tracked-s); margin-bottom: 4px; }
.nd-load-row .rate { font: 700 17px/1 var(--sans); color: var(--ink); }
.nd-load-row .rate small { display: block; color: var(--muted); font: 400 10.5px/1 var(--sans); text-transform: uppercase; letter-spacing: var(--tracked-s); margin-bottom: 4px; }
.nd-load-row .cta { justify-self: end; }
.nd-load-row .arrow { color: var(--champagne-deep); font: 700 18px/1 var(--sans); }
@media (max-width: 1100px) {
  .nd-load-row { grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; }
  .nd-load-row .cta { grid-column: 1 / -1; }
}

/* =====================================================
   GRIDS
   ===================================================== */
.nd-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.nd-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nd-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nd-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.nd-grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 1100px) {
  .nd-grid-4, .nd-grid-5, .nd-grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .nd-grid-2, .nd-grid-3, .nd-grid-4, .nd-grid-5, .nd-grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .nd-grid-2, .nd-grid-3, .nd-grid-4, .nd-grid-5, .nd-grid-6 { grid-template-columns: 1fr; }
}

/* Editorial mosaic (used on Home + World Landings) */
.nd-mosaic {
  display: grid; gap: 24px;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto auto;
}
.nd-mosaic > *:first-child { grid-row: span 2; }
@media (max-width: 900px) {
  .nd-mosaic { grid-template-columns: 1fr; }
  .nd-mosaic > *:first-child { grid-row: auto; }
}

/* Section spacing */
.nd-section        { padding: clamp(48px, 6vw, 88px) 0; }
.nd-section.tight  { padding: clamp(28px, 4vw, 56px) 0; }
.nd-section.dark   { background: var(--ink); color: var(--fg-on-dark); }
.nd-section.dark h2, .nd-section.dark .nd-section-head h2 { color: var(--fg-on-dark); }
.nd-section.dark .nd-section-head { border-bottom-color: var(--rule-dark); }
.nd-section.dark .nd-section-head p { color: var(--fg-on-dark-mute); }
.nd-section.dark .eyebrow { color: var(--champagne-light); }
.nd-section.inset { background: var(--linen); }

/* Section separator (thin gold rule) */
.nd-goldrule {
  height: 1px; background: linear-gradient(90deg, transparent, var(--champagne) 30%, var(--champagne) 70%, transparent);
  margin: 0 auto; max-width: 200px;
}

/* =====================================================
   BRIGHT BAND — sunny transition instead of dark rectangles.
   Uses a subtle gradient + optional edge photo strip so
   sections separate without going flat-dark.
   ===================================================== */
.nd-brightband {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--ivory) 40%, var(--pearl) 100%);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.nd-brightband.hasstrip::before {
  content:"";
  position: absolute; top:0; left:0; right:0; height:8px;
  background: linear-gradient(90deg, var(--champagne) 0%, var(--champagne-light) 40%, transparent 100%);
  opacity: .55;
}
.nd-brightband.warm {
  background:
    linear-gradient(180deg, #fffdf8 0%, #fbf5e8 60%, #f6ecd5 100%);
}

/* Refined light hero — for World Landings + Home.
   Softer gradient overlay so photography reads BRIGHT. */
.nd-hero.light .bg::after {
  background: linear-gradient(160deg,
    rgba(255,253,248, .3) 0%,
    rgba(247,243,237, .55) 45%,
    rgba(247,243,237, .82) 100%);
}
.nd-hero.light.image-strong .bg::after {
  background: linear-gradient(115deg,
    rgba(255,253,248, .95) 0%,
    rgba(255,253,248, .82) 32%,
    rgba(255,253,248, .35) 60%,
    rgba(255,253,248, .0) 100%);
}
.nd-hero.light .kicker { color: var(--champagne-deep); }
.nd-hero.light .meta { color: var(--muted); border-top-color: var(--rule); }
.nd-hero.light .meta b { color: var(--soft-ink); }

/* =====================================================
   CUISINE TILE — for A Seat at the Table
   ===================================================== */
.nd-cuisine-tile {
  position: relative; display:block;
  border-radius: var(--r-3); overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--stone);
  transition: transform .2s ease;
}
.nd-cuisine-tile:hover { transform: translateY(-3px); }
.nd-cuisine-tile img { width:100%; height:100%; object-fit: cover; }
.nd-cuisine-tile::after {
  content:""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(21,22,19,.15) 65%, rgba(21,22,19,.82) 100%);
}
.nd-cuisine-tile .caption {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2;
  color: var(--fg-on-dark);
}
.nd-cuisine-tile .caption .k {
  display: inline-block; font: 600 10px/1 var(--sans); letter-spacing: var(--tracked); text-transform: uppercase;
  background: var(--champagne); color: var(--ink);
  padding: 5px 8px; border-radius: 3px; margin-bottom: 10px;
}
.nd-cuisine-tile .caption h3 { font: 600 22px/1.15 var(--serif); color: var(--fg-on-dark); }
.nd-cuisine-tile .caption p  { font: 400 12.5px/1.4 var(--sans); color: rgba(245,239,227, .82); margin-top: 4px; }

/* =====================================================
   RECIPE 3-COLUMN SHELL — LEFT nav / MAIN / RIGHT rail
   ===================================================== */
.nd-recipe-shell {
  display: grid;
  grid-template-columns: 200px 1fr 340px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 1200px) {
  .nd-recipe-shell { grid-template-columns: 180px 1fr; }
  .nd-recipe-shell > aside.right { display:none; }
}
@media (max-width: 800px) {
  .nd-recipe-shell { grid-template-columns: 1fr; }
  .nd-recipe-shell > aside.left { display:none; }
}

/* Left journey nav */
.nd-journey-nav {
  position: sticky; top: 20px;
  padding: 8px 0;
}
.nd-journey-nav .lbl {
  font: 600 10px/1 var(--sans); text-transform: uppercase; letter-spacing: var(--tracked);
  color: var(--muted); margin: 0 12px 12px;
}
.nd-journey-nav a {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px; align-items: center;
  padding: 11px 12px;
  border-radius: var(--r-2);
  color: var(--soft-ink);
  font: 600 12.5px/1 var(--sans);
  text-transform: uppercase;
  letter-spacing: var(--tracked-s);
  border-left: 2px solid transparent;
}
.nd-journey-nav a:hover { background: var(--linen); color: var(--ink); }
.nd-journey-nav a.on {
  background: var(--ink); color: var(--fg-on-dark);
  border-left-color: var(--champagne);
}
.nd-journey-nav a .n {
  font: 600 10.5px/1 var(--mono); color: var(--muted);
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--linen);
}
.nd-journey-nav a.on .n { background: var(--champagne); color: var(--ink); }

/* =====================================================
   TASTE-THE-ART EDITORIAL MOSAIC — brighter alt to nd-mosaic
   ===================================================== */
.nd-mosaic-bright {
  display: grid; gap: 20px;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 260px;
}
.nd-mosaic-bright > * {
  position: relative; overflow: hidden; border-radius: var(--r-3);
  background: var(--stone);
}
.nd-mosaic-bright > *:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.nd-mosaic-bright > *:nth-child(2) { grid-column: span 2; }
.nd-mosaic-bright > *:nth-child(3) { grid-column: span 2; }
.nd-mosaic-bright > *:nth-child(4) { grid-column: span 3; }
.nd-mosaic-bright > *:nth-child(5) { grid-column: span 3; }
@media (max-width: 900px) {
  .nd-mosaic-bright { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .nd-mosaic-bright > * { grid-column: span 1 !important; grid-row: auto !important; aspect-ratio: 4/3; }
}
.nd-mosaic-bright > * > img { width:100%; height:100%; object-fit: cover; }
.nd-mosaic-bright > * .cap {
  position: absolute; inset: auto 0 0 0; padding: 18px 20px; z-index: 2; color: var(--fg-on-dark);
  background: linear-gradient(0deg, rgba(21,22,19,.78) 0%, rgba(21,22,19,.35) 60%, transparent 100%);
}
.nd-mosaic-bright > * .cap .k { display:inline-block; background: var(--champagne); color: var(--ink); padding: 4px 8px; border-radius: 3px; font: 600 10px/1 var(--sans); text-transform: uppercase; letter-spacing: var(--tracked); margin-bottom: 8px; }
.nd-mosaic-bright > * .cap h3 { font: 600 20px/1.2 var(--serif); color: var(--fg-on-dark); }
.nd-mosaic-bright > *:nth-child(1) .cap h3 { font-size: 28px; }
.nd-mosaic-bright > * .cap .by { font: 400 12px/1 var(--sans); color: rgba(245,239,227,.82); margin-top: 6px; }
