/* ============================================================
   iamNK brand stylesheet (combined: base + executive + noir).
   Dark theme (brand-modern.css) has been retired. Concatenation
   order preserves the original cascade (base -> executive -> noir).
   ============================================================ */


/* ============ brand.css (base) ============ */
/* ========================================
   iamNK — Brand mini-website styles
   Ultramodern, image-rich, per-brand themes.
   Each brand sets --brand-accent + --brand-accent-ink
   and a body[data-layout] for unique accents.
   ======================================== */

:root {
  --brand-accent: #2c80d4;
  --brand-accent-soft: #e8f1fb;
  --brand-accent-ink: #1f5fa8;
  --brand-radius: 20px;
  --brand-shadow: 0 10px 40px rgba(20, 30, 50, 0.08);
  --brand-shadow-lg: 0 24px 60px rgba(20, 30, 50, 0.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #1a2230;
  background: #f6f7fb;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
img { display: block; max-width: 100%; }

/* ── Top bar ─────────────────────────────────── */
.brand-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(20, 30, 50, 0.06);
}
.brand-topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-back {
  font-weight: 700;
  color: var(--brand-accent-ink);
  font-size: 0.95rem;
}
.brand-topbar-nav { display: flex; gap: 1.4rem; }
.brand-topbar-nav a { color: #566; font-weight: 600; font-size: 0.9rem; opacity: 0.8; }
.brand-topbar-nav a:hover { color: var(--brand-accent); opacity: 1; }

/* ── Hero ────────────────────────────────────── */
.brand-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 5rem 1.5rem 6rem;
}
.brand-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.18), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(0, 0, 0, 0.12), transparent 50%);
  pointer-events: none;
}
.brands-hero {
  background: linear-gradient(135deg, #0f1226 0%, #2b1b54 35%, #4f46e5 70%, #06b6d4 100%);
  background-size: 200% 200%;
  animation: brandsHeroShift 18s ease infinite;
  padding: 4.5rem 1.5rem 5rem;
}
@keyframes brandsHeroShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.brands-hero .brand-hero-name {
  background: linear-gradient(120deg, #fff, #c4b5fd 60%, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brands-hero .brand-hero-subtitle {
  color: rgba(255, 255, 255, 0.82);
}
.brands-hero::before {
  content: '';
  position: absolute;
  width: 50vw; height: 50vw;
  max-width: 480px; max-height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.45), transparent 70%);
  filter: blur(70px);
  top: -10%; right: -10%;
  z-index: 0;
  animation: floaty 9s ease-in-out infinite;
}
.brand-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.brand-hero-emoji {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 1rem;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.25));
  animation: floaty 4s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.brand-hero-name {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  margin: 0 0 0.5rem;
  letter-spacing: -1px;
  font-weight: 800;
}
.brand-hero-tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 600;
  margin: 0 0 0.7rem;
  opacity: 0.98;
}
.brand-hero-subtitle {
  font-size: 1.02rem;
  margin: 0 auto 2rem;
  max-width: 620px;
  opacity: 0.9;
}
.brand-hero-cta {
  display: inline-block;
  background: #fff;
  color: var(--brand-accent-ink);
  font-weight: 800;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-size: 1.02rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.brand-hero-cta:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28); }

/* ── Main / sections ─────────────────────────── */
.brand-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4.5rem;
}
.brand-section { margin-bottom: 3.5rem; }
.brand-section-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin: 0 0 1.2rem;
  letter-spacing: -0.5px;
  font-weight: 800;
}
.brand-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.brand-section-link {
  color: var(--brand-accent-ink);
  font-weight: 700;
  font-size: 0.95rem;
}
.brand-text {
  font-size: 1.05rem;
  color: #3c4658;
  margin: 0.6rem 0;
  max-width: 680px;
}
.brand-note {
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  background: var(--brand-accent-soft);
  border-left: 4px solid var(--brand-accent);
  border-radius: 12px;
  font-size: 0.96rem;
  color: #33404f;
}
.brand-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--brand-accent-ink);
  background: var(--brand-accent-soft);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.brand-ghost-btn {
  display: inline-block;
  margin-top: 1rem;
  border: 2px solid var(--brand-accent);
  color: var(--brand-accent-ink);
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  transition: background 0.18s, color 0.18s;
}
.brand-ghost-btn:hover { background: var(--brand-accent); color: #fff; }

/* ── Split (about + media) ────────────────────── */
.brand-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.brand-split-rev { direction: rtl; }
.brand-split-rev > * { direction: ltr; }
.brand-split-text { max-width: 520px; }
.brand-split-media img {
  width: 100%;
  border-radius: var(--brand-radius);
  box-shadow: var(--brand-shadow);
}

/* ── Masonry (farm) ───────────────────────────── */
.brand-masonry {
  column-count: 2;
  column-gap: 0.8rem;
}
.brand-masonry-item {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--brand-shadow);
  margin-bottom: 0.8rem;
  break-inside: avoid;
  display: block;
}
.brand-masonry-item img { width: 100%; height: auto; display: block; }

/* ── Highlights ──────────────────────────────── */
.brand-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.brand-highlight-card {
  background: #fff;
  border: 1px solid rgba(20, 30, 50, 0.07);
  border-radius: var(--brand-radius);
  padding: 1.4rem 1rem;
  text-align: center;
  box-shadow: var(--brand-shadow);
  transition: transform 0.18s ease;
}
.brand-highlight-card:hover { transform: translateY(-4px); }
.brand-highlight-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-accent-ink);
}
.brand-highlight-label {
  font-size: 0.82rem;
  color: #6b7585;
  margin-top: 0.3rem;
  font-weight: 600;
}

/* ── Features ────────────────────────────────── */
.brand-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
/* Force up to 5 tiles onto a single row */
.brand-features-row {
  grid-template-columns: repeat(5, 1fr);
}

.brand-feature-card {
  background: #fff;
  border: 1px solid rgba(20, 30, 50, 0.07);
  border-radius: var(--brand-radius);
  padding: 1.6rem;
  box-shadow: var(--brand-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.brand-feature-card:hover { transform: translateY(-5px); box-shadow: var(--brand-shadow-lg); }
.brand-feature-icon {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  display: inline-block;
}
.brand-feature-title { font-size: 1.15rem; margin: 0 0 0.4rem; font-weight: 700; }
.brand-feature-text { font-size: 0.94rem; color: #5b6470; margin: 0; }

/* Clickable feature cards → deep-link into the catalogue */
a.brand-feature-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
a.brand-feature-link:hover { border-color: var(--brand-accent); }
a.brand-feature-link:hover .brand-feature-title { color: var(--brand-accent-ink); }
.brand-feature-go {
  margin-top: auto;
  padding-top: 0.7rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-accent-ink);
  opacity: 0.85;
}
a.brand-feature-link:hover .brand-feature-go { opacity: 1; }

/* ── Gallery ─────────────────────────────────── */
.brand-gallery {
  column-count: 4;
  column-gap: 0.4rem;
}
.brand-gallery-item {
  position: relative;
  border-radius: calc(var(--brand-radius) * 0.7);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--brand-shadow);
  margin-bottom: 0.4rem;
  break-inside: avoid;
  display: block;
}
.brand-gallery-item img { width: 100%; height: auto; display: block; transition: transform 0.4s ease; }
.brand-gallery-item:hover img { transform: scale(1.06); }
.brand-gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.5rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.62));
  opacity: 0;
  transition: opacity 0.2s ease;
}
.brand-gallery-item:hover figcaption { opacity: 1; }

/* ── Full gallery viewer (lightbox) ──────────── */
.brand-gv {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(8, 12, 20, 0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; animation: brandGvFade 0.25s ease;
}
@keyframes brandGvFade { from { opacity: 0; } to { opacity: 1; } }
.brand-gv-inner {
  width: 100%; max-width: 920px; max-height: 94vh;
  display: flex; flex-direction: column; gap: 0.75rem;
  overflow-y: auto; border-radius: 16px;
}
.brand-gv-stage {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.4); border-radius: 16px; overflow: hidden;
}
.brand-gv-img {
  max-width: 100%; max-height: 56vh; object-fit: contain; display: block;
  border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.brand-gv-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: none; border-radius: 50%;
  background: rgba(255,255,255,0.18); color: #fff; font-size: 2rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  line-height: 1; transition: background 0.2s; backdrop-filter: blur(4px);
}
.brand-gv-nav:hover { background: rgba(255,255,255,0.35); }
.brand-gv-nav.prev { left: 12px; }
.brand-gv-nav.next { right: 12px; }
.brand-gv-cap {
  text-align: center; color: rgba(255,255,255,0.85); font-size: 0.95rem; margin: 0;
  text-transform: capitalize;
}
.brand-gv-dots { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
.brand-gv-dot {
  width: 9px; height: 9px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.3); transition: all 0.2s; padding: 0;
}
.brand-gv-dot.active { background: #fff; transform: scale(1.3); }
.brand-gv-thumbs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 0.5rem;
}
.brand-gv-thumb {
  border: 2px solid transparent; border-radius: 10px; overflow: hidden;
  cursor: pointer; padding: 0; background: none; line-height: 0; transition: border-color 0.2s;
}
.brand-gv-thumb img { width: 100%; height: 72px; object-fit: cover; display: block; }
.brand-gv-thumb.active { border-color: #fff; }
.brand-gv-close {
  position: fixed; top: 16px; right: 22px; z-index: 10000;
  width: 46px; height: 46px; border: none; border-radius: 50%;
  background: #ff2d2d; color: #000; font-size: 1.6rem; font-weight: 900; cursor: pointer;
  line-height: 1; box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: filter .2s, transform .15s;
  display: flex; align-items: center; justify-content: center;
}
.brand-gv-close:hover { filter: brightness(1.08); transform: scale(1.05); }
@media (max-width: 600px) {
  .brand-gv-nav { width: 38px; height: 38px; font-size: 1.5rem; }
  .brand-gv-img { max-height: 44vh; }
}

/* ── Category pills ──────────────────────────── */
.brand-cats { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.brand-cat-pill {
  background: #fff;
  border: 1.5px solid var(--brand-accent);
  color: var(--brand-accent-ink);
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--brand-shadow);
  transition: background 0.16s, color 0.16s, transform 0.16s;
}
.brand-cat-pill:hover { background: var(--brand-accent); color: #fff; transform: translateY(-2px); }
.brand-cat-count {
  background: var(--brand-accent-soft);
  color: var(--brand-accent-ink);
  border-radius: 999px;
  padding: 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
}
.brand-cat-pill:hover .brand-cat-count { background: rgba(255, 255, 255, 0.28); color: #fff; }

/* ── Featured products ───────────────────────── */
.brand-feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
}
.brand-feat-card {
  background: #fff;
  border: 1px solid rgba(20, 30, 50, 0.07);
  border-radius: var(--brand-radius);
  overflow: hidden;
  box-shadow: var(--brand-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.brand-feat-card:hover { transform: translateY(-4px); box-shadow: var(--brand-shadow-lg); }
.brand-feat-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f3f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-feat-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.brand-feat-ph { font-size: 2rem; color: #9aa3b0; }
.brand-feat-body { padding: 0.7rem 0.8rem 0.85rem; display: flex; flex-direction: column; gap: 0.18rem; }
.brand-feat-cat {
  font-size: 0.7rem; color: var(--brand-accent-ink); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.4px;
}
.brand-feat-name { font-size: 0.9rem; font-weight: 600; color: #28313c; line-height: 1.3; }
.brand-feat-price { font-size: 0.95rem; font-weight: 800; color: #1a2230; margin-top: 0.18rem; }

/* ── Quote (studio) ──────────────────────────── */
.brand-quote {
  text-align: center;
  background: var(--brand-accent-ink);
  border-radius: var(--brand-radius);
  padding: 2.5rem 2rem;
  color: #fff;
}
.brand-quote blockquote {
  margin: 0 auto;
  max-width: 720px;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
}

/* ── Scent notes grid (studio) ───────────────── */
.brand-scent-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  width: 100%;
}
.brand-scent-note {
  background: var(--brand-accent-soft);
  border-radius: 14px;
  padding: 1.1rem;
  text-align: center;
}
.brand-scent-note-v { display: block; font-weight: 800; font-size: 1.05rem; color: var(--brand-accent-ink); }
.brand-scent-note-l { display: block; font-size: 0.78rem; color: #6b7585; margin-top: 0.15rem; }

/* ── Tech stats (donkomi) ────────────────────── */
.brand-tech-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.brand-tech-stat {
  background: #fff;
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: var(--brand-shadow);
  border-top: 3px solid var(--brand-accent);
}
.brand-tech-stat-v { display: block; font-weight: 800; font-size: 1.1rem; color: var(--brand-accent-ink); }
.brand-tech-stat-l { display: block; font-size: 0.78rem; color: #6b7585; margin-top: 0.15rem; font-weight: 600; }

/* ── Photo stats (photokiosk) ────────────────── */
.brand-photo-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.7rem;
}
.brand-photo-stat {
  background: linear-gradient(160deg, var(--brand-accent-soft), #fff);
  border-radius: 14px;
  padding: 1rem 0.7rem;
  text-align: center;
  box-shadow: var(--brand-shadow);
}
.brand-photo-stat-v { display: block; font-weight: 800; font-size: 1rem; color: var(--brand-accent-ink); }
.brand-photo-stat-l { display: block; font-size: 0.72rem; color: #6b7585; margin-top: 0.15rem; }

/* ── Pre-order block (farms) ─────────────────── */
.brand-preorder .brand-preorder-card {
  background: linear-gradient(160deg, var(--brand-accent-soft), #fff);
  border: 1px solid rgba(20, 30, 50, 0.07);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--brand-shadow-lg);
}
.brand-preorder-head { margin-bottom: 1.5rem; }
.brand-preorder-badge {
  display: inline-block;
  background: var(--brand-accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}
.brand-preorder-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}
.brand-preorder-stat {
  flex: 1;
  min-width: 140px;
  background: #fff;
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  text-align: center;
  box-shadow: var(--brand-shadow);
  border-top: 3px solid var(--brand-accent);
}
.brand-preorder-stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-accent-ink);
}
.brand-preorder-stat-label {
  display: block;
  font-size: 0.8rem;
  color: #6b7585;
  margin-top: 0.2rem;
  font-weight: 600;
}
.brand-preorder-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.brand-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}
.brand-form-row { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.brand-form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #3c4658;
}
.brand-form-input {
  width: 100%;
  max-width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid rgba(20, 30, 50, 0.14);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: #1f2937;
  transition: border-color 0.16s, box-shadow 0.16s;
}
.brand-form-input::placeholder { color: #9aa4b2; }
select.brand-form-input { appearance: none; -webkit-appearance: none; color: #1f2937; }
select.brand-form-input option { color: #1f2937; }
.brand-form-input:focus {
  outline: none;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px var(--brand-accent-soft);
}
textarea.brand-form-input { resize: vertical; }
.brand-preorder-btn {
  align-self: center;
  width: auto;
  min-width: 240px;
  max-width: 100%;
  background: var(--brand-accent);
  color: #fff;
  border: none;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  margin-top: 0.4rem;
  transition: transform 0.16s, box-shadow 0.16s, opacity 0.16s;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}
.brand-preorder-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22); }
.brand-preorder-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.brand-preorder-note {
  font-size: 0.84rem;
  color: #6b7585;
  margin: 0;
  line-height: 1.5;
}
.brand-preorder-msg { font-weight: 700; font-size: 0.95rem; min-height: 1.2em; }
.brand-preorder-msg.success { color: #0f6b3c; }
.brand-preorder-msg.error { color: #c0392b; }

/* ── CTA block ───────────────────────────────── */
.brand-cta-block {
  text-align: center;
  background: linear-gradient(135deg, var(--brand-accent-soft), #fff);
  border: 1px solid rgba(20, 30, 50, 0.06);
  border-radius: 28px;
  padding: 3rem 1.5rem;
}
.brand-cta-title { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 0.5rem; }

/* ── Brands index grid ───────────────────────── */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}
.brand-card {
  position: relative;
  background: #fff;
  border-radius: var(--brand-radius);
  padding: 1.8rem;
  border: 1px solid rgba(20, 30, 50, 0.07);
  box-shadow: var(--brand-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
  animation: cardIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.brand-card:nth-child(1) { animation-delay: 0.05s; }
.brand-card:nth-child(2) { animation-delay: 0.10s; }
.brand-card:nth-child(3) { animation-delay: 0.15s; }
.brand-card:nth-child(4) { animation-delay: 0.20s; }
.brand-card:nth-child(5) { animation-delay: 0.25s; }
.brand-card:nth-child(6) { animation-delay: 0.30s; }
.brand-card:nth-child(n+7) { animation-delay: 0.35s; }
.brand-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--brand-accent);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand-card::after {
  content: '';
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--brand-accent);
  filter: blur(60px);
  opacity: 0;
  top: -60px; right: -60px;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.brand-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-accent);
  box-shadow: var(--brand-shadow-lg);
}
.brand-card:hover::before { transform: scaleX(1); }
.brand-card:hover::after { opacity: 0.18; }
.brand-card:hover .brand-card-emoji { transform: scale(1.12) rotate(-6deg); }
.brand-card-emoji { transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.brand-card:hover .brand-card-link { gap: 0.5rem; }
.brand-card-link { display: inline-flex; align-items: center; transition: gap 0.3s ease; }

/* ── Featured Software Services tile ─────────── */
.brand-card--services {
  color: #fff;
  background: linear-gradient(135deg, #1a103a 0%, #4f46e5 45%, #06b6d4 100%);
  background-size: 200% 200%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: cardIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both, svcShimmer 10s ease infinite;
  box-shadow: 0 14px 40px rgba(79, 70, 229, 0.35);
}
@keyframes svcShimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.brand-card--services::before { display: none; }
.brand-card--services::after {
  background: radial-gradient(circle, #ec4899, transparent 70%);
}
.brand-card--services:hover { border-color: rgba(255, 255, 255, 0.35); }
.brand-card--services .brand-card-name {
  background: linear-gradient(120deg, #fff, #c4b5fd 60%, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-card--services .brand-card-tagline { color: rgba(255, 255, 255, 0.85); }
.brand-card--services .brand-card-link { color: #fff; }
.brand-card-count--featured {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.brand-card-services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.2rem;
}
.brand-card-services-tags span {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.brand-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.brand-card-emoji { font-size: 2.6rem; }
.brand-card-count {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-accent-ink);
  background: var(--brand-accent-soft);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}
.brand-card-name { font-size: 1.4rem; margin: 0 0 0.4rem; font-weight: 800; }
.brand-card-tagline { font-size: 0.95rem; color: #5b6470; margin: 0 0 1.2rem; flex: 1; }
.brand-card-link { color: var(--brand-accent-ink); font-weight: 800; font-size: 0.96rem; }

/* ── Footer ──────────────────────────────────── */
.brand-footer {
  background: #161c28;
  color: #b8c2d0;
  padding: 2.2rem 1.5rem;
}
.brand-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand-footer-logo { font-weight: 800; font-size: 1.15rem; color: #fff; letter-spacing: -0.3px; }
.brand-footer-nav { display: flex; gap: 1.4rem; }
.brand-footer-nav a { color: #b8c2d0; font-size: 0.9rem; }
.brand-footer-nav a:hover { color: #fff; }
#brand-footer-count { font-size: 0.85rem; opacity: 0.75; }

/* ── Loading / error ─────────────────────────── */
.brand-loading, .brand-error {
  text-align: center;
  padding: 4rem 1rem;
  color: #6b7585;
}
.brand-error .brand-hero-cta { margin-top: 1.2rem; }
.spinner {
  width: 42px;
  height: 42px;
  border: 3px solid #e3e7ec;
  border-top-color: var(--brand-accent);
  border-radius: 50%;
  margin: 0 auto 1rem;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Per-layout body accents ─────────────────── */
/* Modern farm: layered organic blobs + subtle dot texture on a fresh green base */
body[data-layout='farm'] {
  background-color: #f4f9f2;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(27, 158, 90, 0.16) 0%, transparent 26%),
    radial-gradient(circle at 88% 6%, rgba(46, 204, 113, 0.14) 0%, transparent 30%),
    radial-gradient(circle at 92% 82%, rgba(15, 107, 60, 0.10) 0%, transparent 34%),
    radial-gradient(circle at 6% 90%, rgba(27, 158, 90, 0.10) 0%, transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.55) 0%, transparent 60%),
    repeating-radial-gradient(circle at 50% 50%, rgba(27, 158, 90, 0.035) 0 2px, transparent 2px 22px);
  background-attachment: fixed;
}
body[data-layout='farm'] .brand-main {
  background: transparent;
  border-radius: 0;
}
/* Frosted, slightly lifted cards on the textured backdrop */
body[data-layout='farm'] .brand-feature-card,
body[data-layout='farm'] .brand-highlight-card,
body[data-layout='farm'] .brand-recipe-card,
body[data-layout='farm'] .brand-cat-pill {
  backdrop-filter: saturate(140%) blur(2px);
}
body[data-layout='studio'] .brand-section-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
}
body[data-layout='tech'] .brand-feature-card {
  border-left: 4px solid var(--brand-accent);
}
body[data-layout='photo'] .brand-gallery-item {
  background: #0f1320;
}
body[data-layout='photo'] .brand-gallery-item img {
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.4));
}

/* ── Mission / Vision ────────────────────────── */
.brand-mv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.brand-mv-card {
  background: #fff;
  border-radius: var(--brand-radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--brand-shadow);
  border-top: 4px solid var(--brand-accent);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.brand-mv-card:hover { transform: translateY(-4px); box-shadow: var(--brand-shadow-lg); }
.brand-mv-emoji { font-size: 2rem; display: block; margin-bottom: 0.6rem; }
.brand-mv-title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-accent-ink);
}

/* ── Quail types grid ────────────────────────── */
.brand-quail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.1rem;
  margin-top: 1rem;
}
.brand-quail-card {
  background: var(--brand-accent-soft);
  border-radius: 16px;
  padding: 1.5rem 1.3rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.2s ease;
}
.brand-quail-card:hover { transform: translateY(-3px); }
.brand-quail-emoji { font-size: 2.2rem; display: block; margin-bottom: 0.4rem; }
.brand-quail-name { margin: 0 0 0.3rem; font-size: 1.05rem; font-weight: 700; color: var(--brand-accent-ink); }
.brand-quail-note { margin: 0; font-size: 0.9rem; color: #5a6478; line-height: 1.5; }

/* ── Recipes ─────────────────────────────────── */
.brand-recipes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.brand-recipe-card {
  background: #fff;
  border-radius: var(--brand-radius);
  padding: 1.8rem;
  box-shadow: var(--brand-shadow);
  border-left: 4px solid var(--brand-accent);
}
.brand-recipe-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 0.8rem; }
.brand-recipe-title { margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--brand-accent-ink); }
.brand-recipe-meta { display: flex; gap: 0.8rem; font-size: 0.8rem; color: #6b7688; white-space: nowrap; }
.brand-recipe-steps { margin: 0; padding-left: 1.2rem; font-size: 0.92rem; color: #3a4452; }
.brand-recipe-steps li { margin-bottom: 0.4rem; line-height: 1.5; }
.brand-recipe-tags { display: flex; gap: 0.4rem; margin-top: 0.3rem; }
.brand-recipe-tag { font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.03em; }
.brand-recipe-tag.egg { background: #fff4d6; color: #8a6a00; }
.brand-recipe-tag.meat { background: #fde0dc; color: #a83227; }
.brand-recipe-head { flex-wrap: wrap; }
.brand-recipe-meta { margin-top: 0.3rem; }

/* Community recipe submission form */
.brand-recipe-by {
  margin-top: 0.8rem; padding-top: 0.7rem; border-top: 1px dashed #e2e6ec;
  font-size: 0.78rem; color: #8a93a3; font-style: italic;
}
.brand-recipe-submit { margin-top: 1.5rem; }
.brand-recipe-submit-toggle {
  width: 100%; padding: 0.9rem 1rem; border: 1.5px dashed var(--brand-accent, #1b9e5a);
  background: var(--brand-accent-soft, #e7f7ee); color: var(--brand-accent-ink, #0f6b3c);
  border-radius: var(--brand-radius, 12px); font-size: 0.95rem; font-weight: 700; cursor: pointer;
  transition: all 0.2s;
}
.brand-recipe-submit-toggle:hover { background: var(--brand-accent, #1b9e5a); color: #fff; }
.brand-recipe-submit-body {
  margin-top: 1rem; padding: 1.3rem; background: #fff; border-radius: var(--brand-radius, 12px);
  box-shadow: var(--brand-shadow, 0 6px 20px rgba(20,30,50,0.06)); border: 1px solid #eef0f3;
}
/* Recipe-submit form rows (scoped — must not override the pre-order form) */
.brand-recipe-submit-body .brand-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.8rem; margin-bottom: 0.8rem; }
.brand-form-full { display: block; margin-bottom: 0.8rem; }
.brand-recipe-submit-body label { font-size: 0.8rem; font-weight: 600; color: #4a5568; display: flex; flex-direction: column; gap: 0.3rem; }
.brand-recipe-submit-body input,
.brand-recipe-submit-body select,
.brand-recipe-submit-body textarea {
  font-family: inherit; font-size: 0.92rem; padding: 0.55rem 0.7rem; border: 1px solid #d8dde5;
  border-radius: 8px; background: #fafbfc; color: #1a2230; transition: border-color 0.2s;
}
.brand-recipe-submit-body input:focus,
.brand-recipe-submit-body select:focus,
.brand-recipe-submit-body textarea:focus { outline: none; border-color: var(--brand-accent, #1b9e5a); background: #fff; }
.brand-recipe-submit-body textarea { resize: vertical; }
.brand-form-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.brand-recipe-submit-msg { font-size: 0.85rem; font-weight: 600; }

/* Section header: title on the left, action link on the right */
.brand-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.brand-view-all {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-accent-ink);
  text-decoration: none;
  white-space: nowrap;
  padding: 0 0 0.15rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}
.brand-view-all:hover { border-bottom-color: var(--brand-accent); }

/* Overflow recipes revealed on "view all" — seamless continuation grid */
.brand-recipes-extra { margin-top: 0.5rem; }

/* ── FAQ accordion ───────────────────────────── */
.brand-faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.brand-faq-item {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.brand-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-accent-ink);
  font-family: inherit;
}
.brand-faq-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-accent);
  background: var(--brand-accent-soft);
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.brand-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 1.25rem;
}
.brand-faq-item.open .brand-faq-a { max-height: 400px; padding-bottom: 1.1rem; }
.brand-faq-item.open .brand-faq-icon { transform: rotate(45deg); }

/* ── Manure section ──────────────────────────── */
.brand-manure {
  background: linear-gradient(135deg, var(--brand-accent-soft), #fff);
  border-radius: var(--brand-radius);
  padding: 0;
}
.brand-manure-inner {
  background: #fff;
  border-radius: var(--brand-radius);
  padding: 2.2rem 2rem;
  box-shadow: var(--brand-shadow);
}
.brand-manure-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
.brand-manure-perk {
  background: var(--brand-accent-soft);
  color: var(--brand-accent-ink);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ── Preorder capacity & help ────────────────── */
.brand-preorder-capacity {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--brand-accent-soft);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.2rem;
  font-size: 0.88rem;
  color: #3a4452;
}
.brand-preorder-capacity-ico { font-size: 1.4rem; }
.brand-preorder-help {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: #6b7688;
}
.brand-preorder-help strong { color: var(--brand-accent-ink); }
.brand-preorder-catalogue {
  margin: 0 0 1.1rem;
  font-size: 0.85rem;
  color: #5a6478;
  background: var(--brand-accent-soft);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
}
.brand-preorder-catalogue a {
  color: var(--brand-accent-ink);
  font-weight: 700;
  text-decoration: underline;
}

/* ── Offers section (promos + discounts) ─────────────────────────────── */
.brand-offers-section { max-width: 1180px; margin: 0 auto; padding: 3.5rem 1.5rem; }
.brand-offers-section .brand-section-title {
  text-align: center; font-size: 1.85rem; margin: 0 0 0.4rem; color: var(--brand-accent-ink);
}
.brand-offers-subtitle { text-align: center; color: #5a6478; margin: 0 0 2rem; font-size: 0.95rem; }
.brand-offers-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem;
}
.brand-offer-group { margin-bottom: 2.2rem; }
.brand-offer-group:last-child { margin-bottom: 0; }
.brand-offer-group-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin-bottom: 0.9rem; padding-bottom: 0.5rem; border-bottom: 2px solid #eef0f4;
}
.brand-offer-group-title {
  margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--brand-accent-ink);
  text-transform: capitalize; letter-spacing: 0.01em;
}
.brand-offer-group-link {
  font-size: 0.88rem; font-weight: 700; color: var(--brand-accent-ink);
  text-decoration: none; white-space: nowrap; opacity: 0.85; transition: opacity .15s;
}
.brand-offer-group-link:hover { opacity: 1; text-decoration: underline; }
.brand-offer-group-here {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: #fff; background: var(--brand-accent); padding: 0.25rem 0.6rem; border-radius: 99px;
  white-space: nowrap;
}

/* Film-roll: horizontal scroll for a brand's offers so the page stays tidy. */
.brand-offer-filmroll {
  display: flex; gap: 1rem; overflow-x: auto; padding: 0.4rem 0 1rem;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.brand-offer-filmroll::-webkit-scrollbar { height: 7px; }
.brand-offer-filmroll::-webkit-scrollbar-thumb { background: #cfd6e4; border-radius: 99px; }
.brand-offer-filmroll .brand-offer-card {
  flex: 0 0 280px; max-width: 280px; scroll-snap-align: start;
}
.brand-offer-card {
  position: relative; background: #fff; border: 1px solid #eef0f4; border-radius: 16px;
  padding: 1.6rem 1.5rem 1.5rem; box-shadow: 0 4px 18px rgba(0,0,0,0.04);
  display: flex; flex-direction: column; gap: 0.6rem; overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.brand-offer-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.brand-offer-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-accent-ink));
}
.brand-offer-badge {
  display: inline-block; align-self: flex-start; font-size: 0.7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em; color: #fff;
  background: var(--brand-accent-ink); border-radius: 20px; padding: 0.25rem 0.7rem;
}
.brand-offer-title { font-size: 1.15rem; font-weight: 800; color: #1a2233; margin: 0; }
.brand-offer-desc { font-size: 0.88rem; color: #5a6478; line-height: 1.5; margin: 0; }
.brand-offer-code {
  margin-top: auto; display: flex; align-items: center; gap: 0.5rem;
  background: var(--brand-accent-soft); border: 1px dashed var(--brand-accent-ink);
  border-radius: 10px; padding: 0.55rem 0.8rem; font-size: 0.85rem; color: var(--brand-accent-ink);
  font-weight: 700; font-family: 'Courier New', monospace; letter-spacing: 0.04em;
}
.brand-offer-code .brand-offer-code-lbl { font-size: 0.7rem; font-weight: 600; opacity: 0.7; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 860px) {
  .brand-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .brand-split-rev { direction: ltr; }
  .brand-gallery { column-count: 2; }
  .brand-masonry { column-count: 1; }
  .brand-photo-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .brand-hero { padding: 3.5rem 1.25rem 4rem; }
  .brand-main { padding: 2.5rem 1.1rem 3rem; }
  .brand-form-grid { grid-template-columns: 1fr; }
  .brand-preorder .brand-preorder-card { padding: 1.6rem; }
  .brand-masonry { column-count: 1; }
  /* Keep 5-tile row readable on phones: wrap to 2 columns */
  .brand-features-row { grid-template-columns: repeat(2, 1fr); }
}

/* ── Hero contact lines ───────────────────────── */
.brand-hero-contacts {
  margin: 0.4rem 0 0.6rem; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 0.4rem 1.1rem;
  font-size: 0.9rem; line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}
.brand-hero-contact-line {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px; padding: 0.25rem 0.75rem;
  backdrop-filter: blur(4px);
}
.brand-hero-contact-line a {
  color: #fff; text-decoration: none; font-weight: 600;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
}
.brand-hero-contact-line a:hover { border-bottom-style: solid; }
@media (max-width: 600px) {
  .brand-hero-contacts { font-size: 0.82rem; gap: 0.35rem 0.5rem; }
}

/* ── Theme toggle button (light/base) ────────────────────── */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 30, 50, 0.14);
  background: rgba(20, 30, 50, 0.04);
  color: #2a3344;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}
.theme-toggle:hover { transform: rotate(-12deg) scale(1.08); background: var(--brand-accent-soft); }
.brand-topbar-nav { align-items: center; }


/* ============ brand-executive.css ============ */
/* ========================================
   iamNK — Executive monochrome theme
   Loaded LAST to override brand.css / brand-modern.css.
   Palette lives strictly in the black ↔ white
   spectrum. Clean, restrained, "less is more".
   ======================================== */

/* ── Executive palette (greyscale only) ──────── */
:root {
  --ex-ink:      #0b0b0d;   /* near-black */
  --ex-graphite: #1c1c20;
  --ex-slate:    #3a3a42;
  --ex-steel:    #6b6b75;
  --ex-mist:     #9a9aa3;
  --ex-silver:   #d7d7db;
  --ex-cloud:    #ededee;
  --ex-paper:    #f6f6f7;
  --ex-white:    #ffffff;

  /* Neutralise the colourful brand accent variables so every
     card / pill / button inherits the executive tone. */
  --brand-accent:       var(--ex-ink);
  --brand-accent-soft:  var(--ex-cloud);
  --brand-accent-ink:   var(--ex-ink);
  --brand-radius: 6px;
  --brand-shadow:    0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);
  --brand-shadow-lg: 0 2px 6px rgba(0,0,0,.08), 0 24px 60px rgba(0,0,0,.14);

  --ex-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ex-sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  background: var(--ex-white);
  color: var(--ex-ink);
  font-family: var(--ex-sans);
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
}

/* ── Top bar: matte black, hairline divider ──── */
.brand-topbar {
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--ex-silver);
  backdrop-filter: blur(16px) saturate(120%);
}
.brand-back, .brand-topbar-nav a {
  color: var(--ex-ink);
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: .72rem;
  opacity: .75;
  transition: opacity .2s ease;
}
.brand-back:hover, .brand-topbar-nav a:hover { opacity: 1; color: var(--ex-ink); }

/* ── Section tab buttons inside the topbar nav (join the static links) ── */
.brand-topbar-nav .brand-tab {
  background: none;
  border: none;
  color: var(--ex-graphite);
  font-family: var(--ex-sans), sans-serif;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: .72rem;
  opacity: .55;
  padding: .25rem .55rem;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.brand-topbar-nav .brand-tab:hover {
  opacity: 1;
  color: var(--ex-ink);
  background: var(--ex-cloud);
}
.brand-topbar-nav .brand-tab.is-active {
  opacity: 1;
  color: var(--ex-white);
  background: var(--ex-ink);
}
/* Hide the underline pseudo-element — the nav uses background highlight instead */
.brand-topbar-nav .brand-tab::after { display: none; }

/* Allow the nav to scroll horizontally if the injected tabs make it overflow */
.brand-topbar-nav {
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 1;
}
.brand-topbar-nav::-webkit-scrollbar { display: none; }
.brand-topbar-nav .brand-tab { flex-shrink: 0; }

/* ── Hero: deep charcoal, services-inspired layout ── */
.brand-hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,.06), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,.04), transparent 50%),
    linear-gradient(180deg, var(--ex-ink) 0%, var(--ex-graphite) 100%) !important;
  padding: 4rem 1.5rem 4.5rem;
  border-bottom: 1px solid #000;
  overflow: hidden;
}
.brand-hero::after { display: none; }

.ex-hero { color: var(--ex-white); }
.ex-hero-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3.5rem;
  align-items: center;
}
.ex-hero-copy { animation: exFadeUp .8s ease both; }
.ex-hero-visual { display: grid; place-items: center; animation: exFadeUp 1s ease .15s both; }

/* Eyebrow badge pill */
.ex-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .45rem 1rem .45rem .5rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--ex-silver);
  backdrop-filter: blur(8px);
  margin-bottom: 1.4rem;
}
.ex-hero-badge #brand-emoji {
  font-size: 1rem;
  filter: grayscale(1) brightness(0) invert(1);
}

/* Title */
.ex-hero-title {
  font-family: var(--ex-serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0 0 1rem;
  color: var(--ex-white);
}
.ex-hero-tagline {
  font-family: var(--ex-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--ex-silver);
  margin: 0 0 .6rem;
}
.ex-hero-desc {
  color: var(--ex-mist);
  font-size: 1.02rem;
  max-width: 540px;
  margin: 0 0 1.8rem;
}

/* Actions */
.ex-hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.ex-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.ex-btn-primary {
  background: var(--ex-white);
  color: var(--ex-ink);
  border-color: var(--ex-white);
}
.ex-btn-primary:hover { transform: translateY(-3px); background: transparent; color: var(--ex-white); }
.ex-btn-ghost {
  background: rgba(255,255,255,.05);
  color: var(--ex-white);
  border-color: rgba(255,255,255,.3);
}
.ex-btn-ghost:hover { transform: translateY(-3px); background: rgba(255,255,255,.14); border-color: var(--ex-white); }

/* Stats strip */
.ex-hero-stats { display: flex; gap: 2.4rem; flex-wrap: wrap; }
.ex-stat-num {
  font-family: var(--ex-serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ex-white);
}
.ex-stat-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ex-mist);
}

/* Contacts line (below grid) */
.ex-hero-contacts { max-width: 1140px; margin: 2.6rem auto 0; }
.brand-hero-contact-line, .brand-hero-contact-line a {
  color: var(--ex-silver) !important;
  font-size: .82rem;
  letter-spacing: .02em;
}
.brand-hero-contact-line a { border-bottom: 1px solid var(--ex-steel); }

/* Monogram visual — concentric rings, greyscale */
.ex-monogram { position: relative; width: min(380px, 70vw); aspect-ratio: 1; }
.ex-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.14);
}
.ex-ring.r2 { inset: 12%; }
.ex-ring.r3 { inset: 26%; border-style: solid; border-color: rgba(255,255,255,.08); }
.ex-monogram-core {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 46%; height: 46%;
  border-radius: 28%;
  display: grid;
  place-items: center;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  background: linear-gradient(145deg, var(--ex-white), var(--ex-silver));
  color: var(--ex-ink);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  filter: grayscale(1);
  animation: exSpin 18s linear infinite;
}
@keyframes exSpin { to { transform: rotate(360deg); } }
@keyframes exFadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Hide legacy single-column brand-DETAIL hero pieces if any remain.
   The brands index uses its own .art-hero, so .brand-hero-inner there
   must NOT be hidden. */
.brand-hero-emoji { display: none; }
.brand-hero:not(.brands-hero) .brand-hero-inner { display: none; }
.brands-hero .brand-hero-inner { display: flex; }

@media (max-width: 880px) {
  .ex-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ex-hero-visual { order: -1; }
  .ex-monogram { width: min(260px, 60vw); }
}

/* ── Brands index hero (less dramatic) ───────── */
.brands-hero {
  background: linear-gradient(180deg, var(--ex-ink), var(--ex-graphite)) !important;
  animation: none !important;
  border-bottom: 1px solid #000;
}
.brands-hero::before { display: none; }
.brands-hero .brand-hero-name {
  background: none !important;
  -webkit-text-fill-color: var(--ex-white) !important;
  font-family: var(--ex-serif) !important;
  font-weight: 600;
  letter-spacing: -.02em;
}
.brands-hero .brand-hero-subtitle { color: var(--ex-mist) !important; }
.brands-hero .brand-hero-emoji { filter: grayscale(1) brightness(0) invert(1); animation: none; }

/* ── Section typography ──────────────────────── */
.brand-section-title {
  font-family: var(--ex-serif);
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--ex-ink);
}
.brand-eyebrow {
  font-family: var(--ex-sans);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .68rem;
  font-weight: 700;
  color: var(--ex-steel);
}
.brand-text { color: var(--ex-slate); }

/* ── Tabs ────────────────────────────────────── */
.brand-tabs-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.brand-tabs {
  position: sticky;
  top: 56px;
  z-index: 30;
  display: flex;
  gap: 0;
  overflow-x: auto;
  background: var(--ex-white);
  border-bottom: 1px solid var(--ex-silver);
  margin-bottom: 2.5rem;
  scrollbar-width: none;
}
.brand-tabs::-webkit-scrollbar { display: none; }
.brand-tab {
  position: relative;
  flex: 0 0 auto;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 1.1rem 1.6rem .95rem;
  font-family: var(--ex-sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ex-mist);
  transition: color .2s ease;
}
.brand-tab:hover { color: var(--ex-slate); }
.brand-tab.is-active { color: var(--ex-ink); }
.brand-tab.is-active::after {
  content: '';
  position: absolute;
  left: 1.6rem; right: 1.6rem; bottom: -1px;
  height: 2px;
  background: var(--ex-ink);
}
.brand-tab-panel { animation: exFade .25s ease; }
.brand-tab-panel[hidden] { display: none; }
@keyframes exFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* ── Cards: white, hairline borders, no colour ─ */
.brand-feature-card,
.brand-feat-card,
.brand-highlight-card,
.brand-quail-card,
.brand-offer-card,
.brand-recipe-card,
.brand-mv-card {
  background: var(--ex-white);
  border: 1px solid var(--ex-silver);
  border-radius: var(--brand-radius);
  box-shadow: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.brand-feature-card:hover,
.brand-feat-card:hover,
.brand-feature-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--brand-shadow);
  border-color: var(--ex-ink);
}
.brand-feature-icon { filter: grayscale(1); }
.brand-feature-go,
.brand-section-link,
.brand-view-all,
.brand-offer-group-link {
  color: var(--ex-ink);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .68rem;
  border-bottom: 1px solid var(--ex-ink);
}
.brand-feat-cat {
  color: var(--ex-steel);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .66rem;
  font-weight: 700;
}
.brand-feat-name { color: var(--ex-ink); font-family: var(--ex-serif); font-weight: 600; }
.brand-feat-price { color: var(--ex-slate); font-weight: 700; }

/* ── Category pills ──────────────────────────── */
.brand-cat-pill {
  background: var(--ex-white);
  border: 1px solid var(--ex-ink);
  color: var(--ex-ink);
  border-radius: 0;
  font-weight: 600;
  letter-spacing: .04em;
  transition: all .2s ease;
}
.brand-cat-pill:hover {
  background: var(--ex-ink);
  color: var(--ex-white);
}
.brand-cat-pill:hover .brand-cat-count { color: var(--ex-silver); }
.brand-cat-count {
  background: var(--ex-cloud);
  color: var(--ex-slate);
  border-radius: 0;
}

/* ── Buttons / CTAs ──────────────────────────── */
.brand-ghost-btn {
  border: 1px solid var(--ex-ink);
  color: var(--ex-ink);
  background: transparent;
  border-radius: 0;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .72rem;
  padding: .8rem 1.8rem;
  transition: all .2s ease;
}
.brand-ghost-btn:hover { background: var(--ex-ink); color: var(--ex-white); }
.brand-cta-block { border-top: 1px solid var(--ex-silver); }
.brand-cta-title { font-family: var(--ex-serif); color: var(--ex-ink); }

/* ── Highlights / stat blocks ────────────────── */
.brand-highlight-value,
.brand-scent-note-v,
.brand-tech-stat-v,
.brand-photo-stat-v {
  font-family: var(--ex-serif);
  font-weight: 600;
  color: var(--ex-ink);
}
.brand-highlight-label,
.brand-scent-note-l,
.brand-tech-stat-l,
.brand-photo-stat-l {
  color: var(--ex-steel);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .66rem;
  font-weight: 700;
}

/* ── Quote block ─────────────────────────────── */
.brand-quote blockquote {
  font-family: var(--ex-serif);
  font-style: italic;
  color: var(--ex-slate);
  border-left: 2px solid var(--ex-ink);
}

/* ── Gallery ─────────────────────────────────── */
.brand-gallery-item,
.brand-masonry-item {
  border-radius: var(--brand-radius);
  overflow: hidden;
}
.brand-gallery-item figcaption,
.brand-feat-ph {
  color: var(--ex-steel);
}
.brand-feat-img.no-img img { display: none; }
.brand-feat-img.no-img::after {
  content: '🛍';
  font-size: 2rem;
  color: var(--ex-steel);
}
.brand-feat-ph {
  background: var(--ex-cloud);
  filter: grayscale(1);
}

/* ── FAQ ─────────────────────────────────────── */
.brand-faq-q {
  font-family: var(--ex-serif);
  color: var(--ex-ink);
  border-bottom: 1px solid var(--ex-silver);
}
.brand-faq-item.open .brand-faq-q { color: var(--ex-ink); }
.brand-faq-icon { color: var(--ex-steel); }

/* ── Pre-order form ──────────────────────────── */
.brand-preorder-card {
  background: var(--ex-paper);
  border: 1px solid var(--ex-silver);
  border-radius: var(--brand-radius);
}
.brand-preorder-badge {
  background: var(--ex-ink);
  color: var(--ex-white);
  border-radius: 0;
  letter-spacing: .1em;
}
.brand-form-input {
  border: 1px solid var(--ex-silver);
  border-radius: var(--brand-radius);
  background: var(--ex-white);
  color: var(--ex-ink);
}
.brand-form-input:focus {
  border-color: var(--ex-ink);
  outline: none;
  box-shadow: 0 0 0 1px var(--ex-ink);
}
.brand-preorder-btn {
  background: var(--ex-ink);
  color: var(--ex-white);
  border-radius: 0;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ── Offers ──────────────────────────────────── */
.brand-offer-badge {
  background: var(--ex-ink);
  color: var(--ex-white);
  border-radius: 0;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: .66rem;
}
.brand-offer-code { color: var(--ex-slate); }
.brand-offer-group-here {
  color: var(--ex-steel);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .66rem;
  font-weight: 700;
}

/* ── Index brand cards ───────────────────────── */
.brand-card {
  background: var(--ex-white);
  border: 1px solid var(--ex-silver);
  border-radius: var(--brand-radius);
  box-shadow: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--brand-shadow);
  border-color: var(--ex-ink);
}
.brand-card-emoji { filter: grayscale(1); }
.brand-card-name {
  font-family: var(--ex-serif);
  font-weight: 600;
  color: var(--ex-ink);
}
.brand-card-tagline { color: var(--ex-slate); }
.brand-card-count,
.brand-card-count--featured {
  color: var(--ex-steel);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .64rem;
  font-weight: 700;
}
.brand-card-link {
  color: var(--ex-ink);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .68rem;
  border-bottom: 1px solid var(--ex-ink);
}
.brand-card--services {
  border-color: var(--ex-ink);
  background: var(--ex-paper);
}
.brand-card-services-tags span {
  border: 1px solid var(--ex-silver);
  color: var(--ex-slate);
  border-radius: 0;
  font-size: .68rem;
}

/* ── Footer ──────────────────────────────────── */
.brand-footer {
  background: var(--ex-ink);
  color: var(--ex-silver);
  border-top: 1px solid #000;
}
.brand-footer-logo { color: var(--ex-white); font-family: var(--ex-serif); }
.brand-footer-nav a { color: var(--ex-silver); }
.brand-footer-nav a:hover { color: var(--ex-white); }
#brand-footer-count { color: var(--ex-mist); }

/* ── Loading / error ─────────────────────────── */
.spinner { border-color: var(--ex-silver); border-top-color: var(--ex-ink); }
.brand-error { color: var(--ex-slate); }

/* ── Monogram logo (brand hero) ──────────────── */
.ex-monogram-logo {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
}
.ex-monogram-core.no-logo .ex-monogram-logo { display: none; }

/* ── Branches hub (/brands) ──────────────────── */
.ex-hub-badge {
  display: inline-flex;
  align-items: center;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .45rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--ex-silver);
  margin-bottom: 1.2rem;
}
.branches-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.branch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: 1.8rem 1.7rem 1.6rem;
  background: var(--ex-white);
  border: 1px solid var(--ex-silver);
  border-radius: var(--brand-radius);
  text-decoration: none;
  color: var(--ex-ink);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.branch-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--ex-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--brand-shadow-lg);
  border-color: var(--ex-ink);
}
.branch-card:hover::before { transform: scaleX(1); }
.branch-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.branch-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--ex-paper);
  border: 1px solid var(--ex-silver);
  overflow: hidden;
}
.branch-mark .branch-logo {
  width: 64%; height: 64%;
  object-fit: contain;
  filter: grayscale(1);
}
.branch-mark .branch-emoji { display: none; font-size: 1.5rem; filter: grayscale(1); }
.branch-mark.no-logo .branch-logo { display: none; }
.branch-mark.no-logo .branch-emoji { display: block; }
.branch-tag {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ex-steel);
  background: var(--ex-cloud);
  padding: .3rem .7rem;
  border-radius: 999px;
}
.branch-tag--featured { background: var(--ex-ink); color: var(--ex-white); }
.branch-name {
  font-family: var(--ex-serif);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -.01em;
  margin: .2rem 0 0;
}
.branch-tagline { color: var(--ex-slate); font-size: .92rem; margin: 0; flex: 1; }
.branch-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.branch-chips span {
  font-size: .7rem;
  border: 1px solid var(--ex-silver);
  color: var(--ex-slate);
  padding: .2rem .55rem;
  border-radius: 4px;
}
.branch-enter {
  margin-top: .4rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .68rem;
  color: var(--ex-ink);
  border-bottom: 1px solid var(--ex-ink);
  align-self: flex-start;
}
.branch-card--services { background: var(--ex-paper); border-style: dashed; }

/* ── Classic contact fields ──────────────────── */
.ex-hero-contacts .brand-hero-contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  padding: 0;
  margin: 0;
}
.ex-hero-contacts .brand-hero-contact-line {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem 1rem .6rem .8rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.16);
  border-left: 2px solid rgba(255,255,255,.55);
  border-radius: 4px;
  color: var(--ex-silver);
  font-size: .82rem;
  letter-spacing: .02em;
  backdrop-filter: blur(6px);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.ex-hero-contacts .brand-hero-contact-line:hover {
  border-left-color: var(--ex-white);
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}
.ex-hero-contacts .brand-hero-contact-line a {
  color: var(--ex-white) !important;
  border-bottom: 1px dotted rgba(255,255,255,.4);
}
.ex-hero-contacts .brand-hero-contact-line a:hover { border-bottom-style: solid; }

.brand-contact-card {
  background: var(--ex-paper);
  border: 1px solid var(--ex-silver);
  border-left: 3px solid var(--ex-ink);
  border-radius: 4px;
  padding: 1.1rem 1.3rem;
}

/* ── Subtle motion across brand sections ─────── */
.brand-section { animation: exFadeUp .5s ease both; }
.brand-feature-card,
.brand-feat-card,
.brand-highlight-card,
.brand-quail-card,
.brand-offer-card,
.brand-recipe-card,
.brand-cat-pill { transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease, border-color .28s ease, background .28s ease; }
.brand-highlight-card:hover,
.brand-quail-card:hover,
.brand-offer-card:hover,
.brand-recipe-card:hover { transform: translateY(-4px); box-shadow: var(--brand-shadow); }
.brand-cat-pill:hover { transform: translateY(-2px); }
.brand-tab-panel > .brand-section:nth-child(1) { animation-delay: 0s; }
.brand-tab-panel > .brand-section:nth-child(2) { animation-delay: .05s; }
.brand-tab-panel > .brand-section:nth-child(3) { animation-delay: .1s; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 640px) {
  .brand-tab { padding: 1rem 1.1rem .85rem; }
  .brand-hero { padding: 3rem 1.25rem 3.5rem; }
  .branches-grid { grid-template-columns: 1fr; padding: 2rem 1.25rem 3rem; }
  .ex-hero-stats { gap: 1.5rem; }
}

/* ════════════════════════════════════════════════════════════
   ARTISTIC BRANDS HUB (/brands)
   A full-bleed editorial statement — greyscale, dramatic, bold.
   ════════════════════════════════════════════════════════════ */

/* Hide the old plain hero on the brands index */
.brands-hero { display: none; }

/* ---- Full-screen cinematic hero ---- */
.art-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, #1c1c22 0%, var(--ex-ink) 60%, #000 100%);
  isolation: isolate;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
}

/* Film-grain texture overlay */
.art-hero-grain {
  position: absolute;
  inset: -50%;
  z-index: 0;
  opacity: .06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: artGrain 8s steps(4) infinite;
}
@keyframes artGrain {
  0%,100% { transform: translate(0,0); }
  25% { transform: translate(-3%,2%); }
  50% { transform: translate(2%,-3%); }
  75% { transform: translate(-2%,-2%); }
}

/* Soft radial glow */
.art-hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 70vw; height: 70vw;
  max-width: 800px; max-height: 800px;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 65%);
  z-index: 0;
  pointer-events: none;
  animation: artPulse 6s ease-in-out infinite;
}
@keyframes artPulse {
  0%,100% { opacity: .5; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: .8; transform: translate(-50%,-50%) scale(1.08); }
}

/* Oversized ghost wordmark behind everything */
.art-hero-ghost {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--ex-serif), serif;
  font-weight: 900;
  font-size: clamp(8rem, 28vw, 22rem);
  letter-spacing: -.05em;
  color: rgba(255,255,255,.035);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* ---- Hero content ---- */
.art-hero-canvas {
  position: relative;
  z-index: 3;
  max-width: 760px;
  animation: artFadeUp .9s cubic-bezier(.16,1,.3,1) both;
}

@keyframes artFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.art-hero-eyebrow {
  display: inline-block;
  font-family: var(--ex-sans), sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--ex-silver);
  padding: .5rem 1.1rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.art-hero-title {
  font-family: var(--ex-serif), serif;
  font-weight: 700;
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--ex-white);
  margin: 0 0 1.8rem;
}
.art-hero-title em {
  font-style: italic;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--ex-mist) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.art-hero-lead {
  font-family: var(--ex-sans), sans-serif;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ex-mist);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.art-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--ex-sans), sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ex-white);
  text-decoration: none;
  padding-bottom: .3rem;
  border-bottom: 1px solid rgba(255,255,255,.3);
  transition: border-color .3s ease, gap .3s ease;
}
.art-hero-cta:hover {
  border-bottom-color: var(--ex-white);
  gap: 1rem;
}
.art-hero-arrow {
  display: inline-block;
  animation: artBounce 2s ease-in-out infinite;
}
@keyframes artBounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ---- Orbiting brand marks ---- */
.art-orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: min(620px, 90vw);
  aspect-ratio: 1;
  transform: translate(-50%,-50%);
  z-index: 1;
  pointer-events: none;
}
.art-orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
}
.art-orbit-ring.r2 {
  inset: 12%;
  border-color: rgba(255,255,255,.05);
}
.art-orbit-rotor {
  position: absolute;
  inset: 0;
  animation: artSpin 40s linear infinite;
}
@keyframes artSpin {
  to { transform: rotate(360deg); }
}
.art-chip {
  position: absolute;
  transform: translate(-50%,-50%);
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: rgba(20,20,24,.85);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  /* counter-rotate to stay upright */
  animation: artSpinRev 40s linear infinite;
}
@keyframes artSpinRev {
  to { transform: translate(-50%,-50%) rotate(-360deg); }
}

/* ---- Side rails (vertical text) ---- */
.art-rail {
  position: absolute;
  top: 50%;
  z-index: 2;
  font-family: var(--ex-sans), sans-serif;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  pointer-events: none;
}
.art-rail--left { left: 1.5rem; }
.art-rail--right { right: 1.5rem; }

/* ---- Branches section ---- */
.art-main {
  padding: 5rem 1.5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.art-section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}
.art-section-num {
  display: block;
  font-family: var(--ex-serif), serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--ex-steel);
  margin-bottom: .5rem;
}
.art-section-title {
  font-family: var(--ex-serif), serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--ex-ink);
  letter-spacing: -.02em;
  margin: 0 0 .8rem;
}
.art-section-sub {
  font-family: var(--ex-sans), sans-serif;
  font-size: 1rem;
  color: var(--ex-steel);
  max-width: 440px;
  margin: 0 auto;
}

/* ---- Editorial branch index number ---- */
.branch-index {
  position: absolute;
  top: 1.3rem;
  right: 1.3rem;
  font-family: var(--ex-serif), serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ex-mist);
  transition: color .3s ease;
}
.branch-card:hover .branch-index {
  color: var(--ex-ink);
}

/* ---- Closing statement ---- */
.art-closing {
  text-align: center;
  padding: 5rem 1.5rem 6rem;
  border-top: 1px solid var(--ex-cloud);
}
.art-closing-mark {
  font-size: 1.5rem;
  color: var(--ex-steel);
  margin: 0 0 1rem;
}
.art-closing-text {
  font-family: var(--ex-serif), serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  line-height: 1.4;
  color: var(--ex-graphite);
  max-width: 580px;
  margin: 0 auto;
}

/* ---- Brands hub responsive ---- */
@media (max-width: 880px) {
  .art-rail { display: none; }
  .art-orbit { width: min(440px, 85vw); opacity: .5; }
  .art-chip { width: 42px; height: 42px; font-size: 1.1rem; }
  .art-hero-title { font-size: clamp(2.4rem, 13vw, 4rem); }
}
@media (max-width: 520px) {
  .art-hero { padding-top: 5rem; }
  .art-orbit { display: none; }
  .art-main { padding-top: 3.5rem; }
}

/* ════════════════════════════════════════════════
   BRANDS HUB — MOBILE OPTIMIZATION
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Compact sticky topbar */
  .brand-topbar { padding: 0.55rem 0; }
  .brand-topbar-inner { padding: 0 0.85rem; gap: 0.5rem; }
  .brand-back { font-size: 0.85rem; white-space: nowrap; }
  .brand-topbar-nav { gap: 0.15rem; scroll-padding-left: 0.5rem; }
  .brand-topbar-nav .brand-tab,
  .brand-topbar-nav a {
    font-size: 0.82rem;
    padding: 0.4rem 0.6rem;
  }

  /* Hero: larger readable lead, full-bleed padding */
  .art-hero { padding: 0 1.1rem; min-height: 70vh; }
  .art-hero-lead {
    font-size: clamp(1rem, 4.2vw, 1.15rem);
    max-width: 100%;
  }
  .art-hero-eyebrow { font-size: 0.78rem; }
  .art-hero-cta { font-size: 0.9rem; padding-bottom: 0.35rem; }

  /* Branches: single column, tighter spacing */
  .art-main { padding: 3rem 1rem 2.5rem; }
  .art-section-head { margin-bottom: 2rem; }
  .art-section-sub { font-size: 0.92rem; }

  .branches-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
    padding: 0 0 1rem;
  }
  .branch-card {
    padding: 1.25rem 1.15rem 1.2rem;
  }

  /* Footer stacks */
  .brand-footer { padding: 1.5rem 1rem; }
  .brand-footer-inner {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .branch-card { padding: 1.05rem 1rem; }
  .art-hero-title { font-size: clamp(2rem, 11vw, 3rem); }
}


/* ============ brand-noir.css ============ */
/* =====================================================================
   iamNK NOIR — adults-only (18+) brand theme.
   Palette: black · white · bloody red. This stylesheet forces a dark
   treatment for the NOIR brand regardless of the global theme toggle,
   and styles the 18+ age-gate, the in-page shop grid, the floating cart
   button, the private cart drawer and toasts.
   ===================================================================== */

:root {
  --noir-black: #050505;
  --noir-black-2: #0d0d0d;
  --noir-panel: #141414;
  --noir-panel-2: #1c1c1c;
  --noir-line: #2a2a2a;
  --noir-white: #f5f5f5;
  --noir-muted: #9a9a9a;
  --noir-red: #b3000c;        /* bloody red */
  --noir-red-bright: #ff2a2a; /* splash red */
  --noir-red-deep: #7f0000;
}

/* ── Force the NOIR page into a dark, blood-red world ─────────────── */
body[data-layout="noir"] {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(179, 0, 12, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(127, 0, 0, 0.22), transparent 55%),
    var(--noir-black);
  color: var(--noir-white);
}

/* ── Faint, tasteful female-silhouette watermark ─────────────────────
   Pure inline SVG (no external assets). Kept at very low opacity and
   pinned behind all content so it reads as elegant, subtly erotic
   background texture only. Two layers (blood-red + soft white) at
   different positions/sizes give an artistic, scattered effect. */
body[data-layout="noir"]::before,
body[data-layout="noir"]::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
}
body[data-layout="noir"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 300'%3E%3Cpath fill='%237f0000' d='M558,150c-5,-13-19,-21-35,-19c-7,-14-21,-23-39,-23c-3,-12-1,-24,7,-34c8,-11,5,-22-7,-25c-15,-4-27,7-26,21c0,8,5,15,11,18c-15,1-29,7-42,17c-31,24-66,35-107,33c-27,-1-51,-9-73,-21c-18,-10-39,-11-59,-5c-21,6-35,21-39,41c-3,14,5,22,19,21c10,0,18,-6,21,-16c13,-16,31,-23,53,-21c26,3,50,13,70,29c20,16,45,23,71,21c34,-3,62,-17,84,-41c14,-15,29,-25,47,-31c11,-4,17,-12,17,-23c0,-8-4,-13-9,-15z'/%3E%3C/svg%3E");
  background-position: 80% 14%;
  background-size: 48vw auto;
  opacity: 0.07;
  animation: noirBreathe 14s ease-in-out infinite;
}
body[data-layout="noir"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 300'%3E%3Cpath fill='%23f5f5f5' d='M558,150c-5,-13-19,-21-35,-19c-7,-14-21,-23-39,-23c-3,-12-1,-24,7,-34c8,-11,5,-22-7,-25c-15,-4-27,7-26,21c0,8,5,15,11,18c-15,1-29,7-42,17c-31,24-66,35-107,33c-27,-1-51,-9-73,-21c-18,-10-39,-11-59,-5c-21,6-35,21-39,41c-3,14,5,22,19,21c10,0,18,-6,21,-16c13,-16,31,-23,53,-21c26,3,50,13,70,29c20,16,45,23,71,21c34,-3,62,-17,84,-41c14,-15,29,-25,47,-31c11,-4,17,-12,17,-23c0,-8-4,-13-9,-15z'/%3E%3C/svg%3E");
  background-position: 6% 74%;
  background-size: 40vw auto;
  opacity: 0.045;
  animation: noirBreathe 18s ease-in-out infinite reverse;
}
/* gentle opacity "breathing" so the silhouettes feel alive but never distracting */
@keyframes noirBreathe {
  0%, 100% { opacity: var(--noir-breathe-low, 0.05); }
  50%      { opacity: var(--noir-breathe-high, 0.085); }
}
/* lift all real content above the watermark layer */
body[data-layout="noir"] .brand-topbar,
body[data-layout="noir"] .brand-hero,
body[data-layout="noir"] .brand-main,
body[data-layout="noir"] .brand-footer { position: relative; z-index: 1; }
/* NOTE: the cart FAB / scrim / drawer already use position:fixed with high
   z-index in their own rules below, which already sits them above the
   watermark (z-index:0). Do NOT force them to position:relative here — that
   breaks their off-screen transform and makes the drawer leak onto the page. */

body[data-layout="noir"] .brand-topbar,
body[data-layout="noir"] .brand-footer {
  background: rgba(5, 5, 5, 0.92);
  border-color: var(--noir-line);
}
/* Header separator: hidden at rest, revealed only once the page is scrolled
   (toggled via the .scrolled class in brand.js). The footer keeps its line. */
body[data-layout="noir"] .brand-topbar {
  border-color: transparent;
  transition: border-color 0.2s ease;
}
body[data-layout="noir"] .brand-topbar.scrolled {
  border-color: var(--noir-line);
}
body[data-layout="noir"] .brand-topbar a,
body[data-layout="noir"] .brand-footer a,
body[data-layout="noir"] .brand-back { color: var(--noir-white); }

/* Hero */
body[data-layout="noir"] .ex-hero {
  background:
    radial-gradient(700px 360px at 75% 18%, rgba(179, 0, 12, 0.30), transparent 60%),
    linear-gradient(180deg, #0a0a0a, #050505 70%);
  color: var(--noir-white);
  border-bottom: 1px solid var(--noir-line);
}
body[data-layout="noir"] .ex-hero-title { color: #fff; }
body[data-layout="noir"] .ex-hero-tagline { color: var(--noir-red-bright); font-weight: 600; }
body[data-layout="noir"] .ex-hero-desc { color: #cfcfcf; }
body[data-layout="noir"] .ex-hero-badge {
  background: var(--noir-black-2); border: 1px solid var(--noir-red); color: var(--noir-white);
}
body[data-layout="noir"] .ex-btn-primary {
  background: var(--noir-red); color: #fff; border: 1px solid var(--noir-red-bright);
}
body[data-layout="noir"] .ex-btn-primary:hover { background: var(--noir-red-bright); }
body[data-layout="noir"] .ex-btn-ghost {
  background: transparent; color: var(--noir-white); border: 1px solid var(--noir-line);
}
body[data-layout="noir"] .ex-btn-ghost:hover { border-color: var(--noir-red-bright); color: var(--noir-red-bright); }
body[data-layout="noir"] .ex-ring { border-color: rgba(179, 0, 12, 0.35); }
body[data-layout="noir"] .ex-monogram-core {
  background: radial-gradient(circle at 30% 25%, #1a1a1a, #050505);
  color: var(--noir-red-bright); border: 1px solid var(--noir-red);
}
body[data-layout="noir"] .ex-stat-num { color: #fff; }
body[data-layout="noir"] .ex-stat-label { color: var(--noir-muted); }
body[data-layout="noir"] .brand-hero-contact-line { color: #cfcfcf; }
body[data-layout="noir"] .brand-hero-contact-line a { color: var(--noir-red-bright); }

/* Tabs */
body[data-layout="noir"] .brand-tabs-wrap { border-top: 1px solid var(--noir-line); }
body[data-layout="noir"] .brand-tabs {
  background: var(--noir-black-2);
  /* The separator is hidden at rest and revealed only once the tab bar is
     scrolled (it is position: sticky), to avoid a redundant line floating
     over the content. */
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
body[data-layout="noir"] .brand-tabs.scrolled {
  border-bottom-color: var(--noir-line);
}
body[data-layout="noir"] .brand-tab {
  background: transparent; color: var(--noir-muted); border: none;
}
body[data-layout="noir"] .brand-tab:hover { color: var(--noir-white); }
body[data-layout="noir"] .brand-tab.is-active {
  color: #fff; box-shadow: inset 0 -3px 0 var(--noir-red);
}

/* Sections & cards */
body[data-layout="noir"] .brand-main,
body[data-layout="noir"] .brand-tab-panel { background: transparent; }
body[data-layout="noir"] .brand-section-title { color: #fff; }
body[data-layout="noir"] .brand-text,
body[data-layout="noir"] .brand-note { color: #c4c4c4; }
body[data-layout="noir"] .brand-eyebrow { color: var(--noir-red-bright); }
body[data-layout="noir"] .brand-highlight-card,
body[data-layout="noir"] .brand-feature-card {
  background: var(--noir-panel); border: 1px solid var(--noir-line);
}
body[data-layout="noir"] .brand-highlight-value { color: #fff; }
body[data-layout="noir"] .brand-highlight-label,
body[data-layout="noir"] .brand-feature-text { color: var(--noir-muted); }
body[data-layout="noir"] .brand-feature-icon { color: var(--noir-red-bright); }
body[data-layout="noir"] .brand-feature-title { color: #fff; }
body[data-layout="noir"] .brand-ghost-btn {
  border-color: var(--noir-red); color: var(--noir-red-bright);
}
body[data-layout="noir"] .brand-ghost-btn:hover { background: var(--noir-red); color: #fff; }

/* NOIR stats media helper */
.brand-noir-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.brand-noir-stat {
  background: var(--noir-panel); border: 1px solid var(--noir-line); padding: 1rem; border-radius: 10px;
}
.brand-noir-stat-v { display: block; font-size: 1.35rem; font-weight: 800; color: #fff; }
.brand-noir-stat-l { display: block; font-size: .78rem; color: var(--noir-muted); text-transform: uppercase; letter-spacing: .04em; }

/* FAQ */
body[data-layout="noir"] .brand-faq-item {
  background: var(--noir-panel); border: 1px solid var(--noir-line);
}
body[data-layout="noir"] [data-faq-toggle] { color: #fff; }
body[data-layout="noir"] .brand-faq-item.open { border-color: var(--noir-red); }

/* CTA block */
body[data-layout="noir"] .brand-cta-block {
  background: linear-gradient(135deg, #120000, #050505);
  border: 1px solid var(--noir-red-deep);
}
body[data-layout="noir"] .brand-cta-block .brand-ghost-btn {
  background: var(--noir-red); color: #fff; border-color: var(--noir-red-bright);
}

/* ── In-page shop grid ─────────────────────────────────────────────── */
.noir-shop-note { color: var(--noir-muted); font-style: italic; margin-top: -.4rem; }
.noir-cat-title {
  color: var(--noir-red-bright); text-transform: uppercase; letter-spacing: .12em;
  font-size: .85rem; margin: 1.6rem 0 .8rem; border-bottom: 1px solid var(--noir-line); padding-bottom: .4rem;
}
/* Per-category "View more" / "View less" toggle (two-row preview). */
.noir-cat-more-wrap { display: flex; justify-content: center; margin: .2rem 0 1.4rem; }
.noir-cat-more {
  cursor: pointer; font-size: .82rem; font-weight: 700; letter-spacing: .03em;
  padding: .55rem 1.15rem; border-radius: 999px;
  background: var(--noir-panel); color: var(--noir-white); border: 1px solid var(--noir-line);
  transition: background .15s, border-color .15s, color .15s;
}
.noir-cat-more:hover { border-color: var(--noir-red-bright); color: var(--noir-red-bright); }
.noir-cat-more:focus-visible { outline: 2px solid var(--noir-red-bright); outline-offset: 2px; }
.noir-cat-more[hidden] { display: none; }
/* Audience (Male / Female / Unisex) filter pills */
.noir-gender-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 .4rem; }
.noir-gender-pill {
  cursor: pointer; font-size: .82rem; font-weight: 700; padding: .45rem .85rem; border-radius: 999px;
  background: var(--noir-panel); color: var(--noir-white); border: 1px solid var(--noir-line);
  transition: background .15s, border-color .15s, color .15s;
}
.noir-gender-pill:hover { border-color: var(--noir-red-bright); color: #fff; }
.noir-gender-pill.is-active { background: var(--noir-red); border-color: var(--noir-red-bright); color: #fff; }
.noir-gender-count {
  display: inline-block; min-width: 1.1em; margin-left: .25rem; padding: 0 .35rem; border-radius: 999px;
  background: rgba(0, 0, 0, .35); font-size: .7rem; font-weight: 700;
}
.noir-gender-pill.is-active .noir-gender-count { background: rgba(255, 255, 255, .22); }
/* Per-card audience tag */
.noir-gender-tag {
  display: inline-block; align-self: flex-start; font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  padding: .15rem .5rem; border-radius: 6px; margin: .15rem 0 .35rem; border: 1px solid transparent;
}
.noir-gender-female { color: #ff5d8f; border-color: rgba(255, 93, 143, .45); background: rgba(255, 93, 143, .08); }
.noir-gender-male { color: #5db4ff; border-color: rgba(93, 180, 255, .45); background: rgba(93, 180, 255, .08); }
.noir-gender-unisex { color: var(--noir-red-bright); border-color: rgba(255, 42, 42, .4); background: rgba(179, 0, 12, .12); }
.noir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.noir-card {
  background: var(--noir-panel); border: 1px solid var(--noir-line); border-radius: 12px;
  overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s;
}
.noir-card:hover { border-color: var(--noir-red); transform: translateY(-2px); }
.noir-card.is-sold { opacity: .6; }
.noir-card-img {
  aspect-ratio: 1/1; background: #000; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.noir-card-img img { width: 100%; height: 100%; object-fit: cover; }
.noir-card-ph { font-size: 3rem; }
.noir-card-body { padding: .8rem .85rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.noir-card-name {
  font-size: 1rem; color: #fff; margin: 0;
  /* Clamp long names to 2 lines so tiles stay a uniform height. */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.5em;
}
.noir-card-sub {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--noir-red-bright);
  align-self: flex-start;
}
.noir-card-desc {
  font-size: .85rem; color: var(--noir-muted); margin: 0;
  /* Clamp the description to 3 lines (ellipsis); full text is in the detail modal. */
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; text-overflow: ellipsis;
}
.noir-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .5rem; gap: .5rem; }
.noir-price { font-weight: 800; color: #fff; }
.noir-sold { font-size: .8rem; color: var(--noir-muted); text-transform: uppercase; letter-spacing: .05em; }
.noir-add {
  background: var(--noir-red); color: #fff; border: 1px solid var(--noir-red-bright);
  padding: .45rem .8rem; border-radius: 8px; font-weight: 700; cursor: pointer; transition: background .15s;
}
.noir-add:hover { background: var(--noir-red-bright); }

/* ── Floating cart button ──────────────────────────────────────────── */
.noir-cart-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; cursor: pointer;
  background: var(--noir-red); color: #fff; border: 2px solid var(--noir-red-bright);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  box-shadow: 0 10px 30px rgba(179, 0, 12, .45);
}
.noir-cart-fab:hover { background: var(--noir-red-bright); }
.noir-cart-fab-icon { line-height: 1; }
.noir-cart-fab-badge {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  background: #fff; color: var(--noir-red); border-radius: 999px; font-size: .72rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ── Cart drawer + scrim ───────────────────────────────────────────── */
.noir-scrim {
  position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, .6); backdrop-filter: blur(2px);
}
.noir-drawer {
  position: fixed; top: 0; right: 0; z-index: 71; height: 100vh; width: min(420px, 92vw);
  background: var(--noir-black-2); border-left: 1px solid var(--noir-red-deep);
  transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(0, 0, 0, .6);
}
.noir-drawer.is-open { transform: translateX(0); }
.noir-drawer-head {
  display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--noir-line);
}
.noir-drawer-head h3 { margin: 0; color: #fff; font-size: 1.05rem; }
.noir-drawer-x {
  background: #ff2d2d; border: none; color: #000; font-weight: 900;
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; line-height: 1;
  box-shadow: 0 4px 12px rgba(0,0,0,.3); transition: filter .2s, transform .15s;
}
.noir-drawer-x:hover { filter: brightness(1.08); transform: scale(1.05); }
.noir-drawer-body { flex: 1; overflow-y: auto; padding: .8rem 1.1rem; }
.noir-drawer-empty { color: var(--noir-muted); text-align: center; margin-top: 2rem; }
.noir-line {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .7rem 0; border-bottom: 1px solid var(--noir-line);
}
.noir-line-info { display: flex; flex-direction: column; gap: .15rem; }
.noir-line-name { color: #fff; font-size: .92rem; }
.noir-line-price { color: var(--noir-muted); font-size: .8rem; }
.noir-line-qty { display: flex; align-items: center; gap: .35rem; }
.noir-line-qty button {
  width: 28px; height: 28px; border-radius: 6px; cursor: pointer;
  background: var(--noir-panel); border: 1px solid var(--noir-line); color: #fff; font-size: 1rem; line-height: 1;
}
.noir-line-qty button:hover { border-color: var(--noir-red-bright); }
.noir-line-qty span { min-width: 22px; text-align: center; color: #fff; }
.noir-line-rm { background: transparent !important; border-color: var(--noir-line) !important; }
.noir-drawer-foot { padding: 1rem 1.1rem; border-top: 1px solid var(--noir-line); background: var(--noir-black); }
.noir-checkout-fields { display: flex; flex-direction: column; gap: .5rem; margin-bottom: .8rem; }
.noir-checkout-fields input {
  width: 100%; padding: .6rem .7rem; border-radius: 8px; background: var(--noir-panel);
  border: 1px solid var(--noir-line); color: #fff; font-size: .9rem;
}
.noir-checkout-fields input::placeholder { color: var(--noir-muted); }
.noir-checkout-fields input:focus { outline: none; border-color: var(--noir-red-bright); }
.noir-drawer-total {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem;
  font-size: 1.1rem; font-weight: 800; color: #fff;
}
.noir-checkout-btn {
  width: 100%; padding: .8rem; border-radius: 9px; cursor: pointer; font-weight: 800; font-size: .95rem;
  background: var(--noir-red); color: #fff; border: 1px solid var(--noir-red-bright);
}
.noir-checkout-btn:hover { background: var(--noir-red-bright); }
.noir-checkout-btn:disabled { opacity: .6; cursor: default; }
.noir-drawer-fine { font-size: .72rem; color: var(--noir-muted); margin: .6rem 0 0; text-align: center; }
.noir-drawer-success {
  padding: 1rem 1.1rem; background: var(--noir-black); color: #fff; border-top: 1px solid var(--noir-red-deep);
}
.noir-drawer-success p { margin: .3rem 0; font-size: .9rem; color: #dcdcdc; }
.noir-drawer-success strong { color: var(--noir-red-bright); }

/* ── Toast ─────────────────────────────────────────────────────────── */
.noir-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 90;
  background: #fff; color: var(--noir-red); font-weight: 700; padding: .6rem 1rem; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35); opacity: 0; transition: opacity .2s, transform .2s;
}
.noir-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── 18+ age verification gate ─────────────────────────────────────── */
#noir-age-gate {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 1.2rem;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(179, 0, 12, .35), transparent 60%),
    linear-gradient(160deg, #0a0a0a, #000 75%);
  animation: noir-fade .25s ease both;
}
#noir-age-gate.noir-gate-leaving { animation: noir-fade-out .22s ease both; }
@keyframes noir-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes noir-fade-out { from { opacity: 1; } to { opacity: 0; } }
.noir-gate-card {
  max-width: 540px; width: 100%; text-align: center; padding: 2.2rem 1.8rem; border-radius: 16px;
  background: rgba(15, 15, 15, .9); border: 1px solid var(--noir-red-deep);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 0 1px rgba(179, 0, 12, .25);
}
.noir-gate-mark { font-size: 3rem; line-height: 1; }
.noir-gate-kicker {
  color: var(--noir-red-bright); font-weight: 800; letter-spacing: .22em; font-size: .8rem;
  margin: .6rem 0 .2rem;
}
.noir-gate-title { color: #fff; font-size: 2rem; margin: .2rem 0 .8rem; letter-spacing: .02em; }
.noir-gate-warn {
  color: #fff; font-weight: 700; background: var(--noir-red); border: 1px solid var(--noir-red-bright);
  padding: .6rem .8rem; border-radius: 9px; margin: 0 0 .8rem;
}
.noir-gate-text { color: #c4c4c4; font-size: .92rem; line-height: 1.55; margin: 0 0 1.2rem; }
.noir-gate-actions { display: flex; flex-direction: column; gap: .6rem; }
.noir-gate-enter {
  cursor: pointer; padding: .85rem 1rem; border-radius: 10px; font-weight: 800; font-size: 1rem;
  background: var(--noir-red); color: #fff; border: 1px solid var(--noir-red-bright);
}
.noir-gate-enter:hover { background: var(--noir-red-bright); }
.noir-gate-leave {
  cursor: pointer; padding: .85rem 1rem; border-radius: 10px; font-weight: 700; font-size: .95rem;
  background: transparent; color: #cfcfcf; border: 1px solid var(--noir-line);
}
.noir-gate-leave:hover { border-color: #fff; color: #fff; }
.noir-gate-fine { color: var(--noir-muted); font-size: .75rem; margin: 1rem 0 0; }

@media (max-width: 480px) {
  .noir-gate-title { font-size: 1.6rem; }
  .noir-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .noir-card-name { font-size: .9rem; }
  .noir-card-desc { display: none; }
}

/* ── Per-brand welcome popout ("Opening Soon") ──────────────────────── */
.brand-welcome-popup {
  position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 1.2rem;
  background: rgba(0, 0, 0, 0); backdrop-filter: blur(0); transition: background .25s ease, backdrop-filter .25s ease;
  --welcome-accent: #b3000c;
}
.brand-welcome-popup.show { background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); }
.brand-welcome-popup.leaving { background: rgba(0, 0, 0, 0); backdrop-filter: blur(0); }
.brand-welcome-card {
  position: relative; max-width: 460px; width: 100%; text-align: center; padding: 2.4rem 2rem 2rem; border-radius: 20px;
  background: linear-gradient(160deg, rgba(20,20,20,.97), rgba(5,5,5,.97)); color: #fff;
  border: 1px solid var(--welcome-accent); box-shadow: 0 30px 90px rgba(0,0,0,.7), 0 0 60px color-mix(in srgb, var(--welcome-accent) 35%, transparent);
  transform: translateY(18px) scale(.96); opacity: 0; transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
}
.brand-welcome-popup.show .brand-welcome-card { transform: translateY(0) scale(1); opacity: 1; }
.brand-welcome-popup.leaving .brand-welcome-card { transform: translateY(10px) scale(.97); opacity: 0; }
.brand-welcome-mark {
  width: 64px; height: 64px; margin: 0 auto .8rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--welcome-accent) 40%, #000), #050505);
  border: 1px solid var(--welcome-accent); box-shadow: 0 0 24px color-mix(in srgb, var(--welcome-accent) 50%, transparent);
}
.brand-welcome-kicker { margin: 0 0 .35rem; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--welcome-accent); filter: brightness(1.4); }
.brand-welcome-header { margin: 0 0 .6rem; color: #fff; font-size: 1.9rem; line-height: 1.1; font-weight: 800; }
.brand-welcome-message { margin: 0 auto 1.4rem; color: #e6e6e6; font-size: 1rem; max-width: 38ch; line-height: 1.5; }
.brand-welcome-close {
  cursor: pointer; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 800; font-size: .95rem;
  background: var(--welcome-accent); color: #fff; border: 1px solid color-mix(in srgb, var(--welcome-accent) 60%, #fff);
  transition: transform .15s ease, filter .15s ease;
}
.brand-welcome-close:hover { filter: brightness(1.15); transform: translateY(-1px); }
body:not([data-layout="noir"]) .brand-welcome-card { background: linear-gradient(160deg, #1a1a1a, #000); }
@media (max-width: 480px) { .brand-welcome-header { font-size: 1.5rem; } .brand-welcome-card { padding: 2rem 1.4rem 1.6rem; } }

/* ── Clickable cards + product detail modal ─────────────────────────── */
.noir-card { cursor: pointer; }
.noir-card:focus-visible { outline: 2px solid var(--noir-red-bright); outline-offset: 2px; }
.noir-product-modal {
  z-index: 95; display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; transition: opacity .18s ease;
}
.noir-product-modal.is-open { opacity: 1; }
.noir-product-card {
  position: relative; max-width: 440px; width: 100%; max-height: 90vh; overflow-y: auto;
  background: var(--noir-panel-2); border: 1px solid var(--noir-red-deep); border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.7); transform: translateY(12px); transition: transform .18s ease;
}
.noir-product-modal.is-open .noir-product-card { transform: translateY(0); }
/* Solid red, black ✕, pinned to the viewport top-right so it stays put even
   when the product card body is scrolled. */
.noir-product-x {
  position: fixed; top: 16px; right: 22px; z-index: 10002;
  width: 42px; height: 42px; border: none; border-radius: 50%;
  background: #ff2d2d; color: #000; font-size: 1.15rem; font-weight: 900;
  cursor: pointer; line-height: 1; box-shadow: 0 6px 18px rgba(0,0,0,.4);
  transition: filter .2s, transform .15s;
  display: flex; align-items: center; justify-content: center;
}
.noir-product-x:hover { filter: brightness(1.08); transform: scale(1.05); }
.noir-product-img { aspect-ratio: 1/1; background: #000; display: flex; align-items: center; justify-content: center; }
.noir-product-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── Out-of-stock badge + pre-order (NOIR) ──────────────────────────────── */
.noir-card-img { position: relative; }
.noir-card-oos {
  position: absolute; top: 8px; left: 8px; z-index: 1;
  background: #ff2d2d; color: #000; font-weight: 900; font-size: .62rem;
  letter-spacing: .04em; text-transform: uppercase; padding: .18rem .42rem; border-radius: 6px;
}
.noir-oos-badge {
  display: inline-block; background: rgba(255, 45, 45, .14); color: #ff6b6b;
  border: 1px solid rgba(255, 45, 45, .45); font-size: .7rem; font-weight: 800;
  padding: .2rem .5rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em;
}
.noir-preorder {
  background: var(--noir-red-bright, #e11); color: #fff; border: none; border-radius: 8px;
  padding: .45rem .7rem; font-weight: 800; font-size: .78rem; cursor: pointer; transition: filter .2s;
}
.noir-preorder:hover { filter: brightness(1.12); }
.noir-preorder-go {
  width: 100%; margin-top: .6rem; background: var(--noir-red-bright, #e11); color: #fff; border: none;
  border-radius: 10px; padding: .8rem; font-weight: 900; font-size: .95rem; cursor: pointer; transition: filter .2s;
}
.noir-preorder-go:hover { filter: brightness(1.12); }
.noir-preorder-calc {
  background: rgba(255, 255, 255, .05); border: 1px solid var(--noir-line);
  border-radius: 10px; padding: .6rem .7rem; margin: .5rem 0;
}
.noir-preorder-line { display: flex; justify-content: space-between; font-size: .85rem; color: #ddd; padding: .15rem 0; }
.noir-preorder-line.dep { color: #fff; font-weight: 800; }
.noir-preorder-line.dep span:last-child { color: var(--noir-red-bright, #ff5a5a); }
.noir-momo {
  background: rgba(255, 255, 255, .06); border: 1px dashed var(--noir-line); border-radius: 10px;
  padding: .7rem; margin: .6rem 0; font-size: .82rem; color: #ddd; line-height: 1.5;
}
.noir-preorder-msg { font-size: .82rem; margin-top: .5rem; }
.noir-preorder-msg.error { color: #ff6b6b; }
.noir-preorder-msg.success { color: #7CFC9A; }
.noir-product-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; }
.noir-product-name { color: #fff; font-size: 1.2rem; margin: .15rem 0 .25rem; }
.noir-product-foot { display: flex; align-items: center; justify-content: space-between; margin: .5rem 0 .8rem; gap: .6rem; }
.noir-link-row { display: flex; gap: .5rem; align-items: stretch; }
.noir-link-box {
  flex: 1; min-width: 0; padding: .5rem .6rem; border-radius: 8px; background: var(--noir-black);
  border: 1px solid var(--noir-line); color: var(--noir-muted); font-size: .78rem;
}
.noir-copy-link {
  cursor: pointer; padding: .5rem .8rem; border-radius: 8px; font-weight: 700; font-size: .82rem;
  background: var(--noir-panel); color: #fff; border: 1px solid var(--noir-red-bright); white-space: nowrap;
}
.noir-copy-link:hover { background: var(--noir-red); }

/* ── 18+ product warning interstitial (shared product links) ─────────── */
.noir-warn-card {
  max-width: 460px; width: 100%; text-align: center; padding: 1.8rem 1.6rem; border-radius: 14px;
  background: rgba(15, 15, 15, .96); border: 1px solid var(--noir-red-deep);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 0 1px rgba(179, 0, 12, .25);
}
.noir-warn-mark { font-size: 2.4rem; line-height: 1; }
.noir-warn-kicker {
  color: var(--noir-red-bright); font-weight: 800; letter-spacing: .18em; font-size: .78rem; margin: .5rem 0 .2rem;
}
.noir-warn-title { color: #fff; font-size: 1.4rem; margin: .15rem 0 .7rem; }
.noir-warn-text { color: #c4c4c4; font-size: .92rem; line-height: 1.5; margin: 0 0 .6rem; }
.noir-warn-text strong { color: #fff; }
.noir-warn-item { color: var(--noir-white); font-size: .85rem; margin: 0 0 .9rem; }
.noir-warn-actions { display: flex; flex-direction: column; gap: .55rem; }
.noir-warn-enter {
  cursor: pointer; padding: .8rem 1rem; border-radius: 10px; font-weight: 800; font-size: .98rem;
  background: var(--noir-red); color: #fff; border: 1px solid var(--noir-red-bright);
}
.noir-warn-enter:hover { background: var(--noir-red-bright); }
.noir-warn-cancel {
  cursor: pointer; padding: .7rem 1rem; border-radius: 10px; font-weight: 700; font-size: .92rem;
  background: transparent; color: #cfcfcf; border: 1px solid var(--noir-line);
}
.noir-warn-cancel:hover { border-color: #fff; color: #fff; }
@media (max-width: 480px) { .noir-warn-card { padding: 1.4rem 1.2rem; } .noir-warn-title { font-size: 1.2rem; } }
@media (max-width: 480px) {
  .noir-product-modal { padding: .5rem; }
  .brand-welcome-header { font-size: 1.2rem; }
}
