/* =========================================================
   2Rivers Church — Brand Guide Styles
   Dark editorial canvas + signature gradient as hero motif
   ========================================================= */

:root {
  /* ----- Neutrals (cool) ----- */
  --ink:        #0a0a0d;     /* near-black, primary canvas */
  --ink-elev:   #15151a;     /* elevated dark surface */
  --graphite:   #2a2d33;
  --slate:      #58595b;     /* original 2RC dark gray */
  --mist:       #c6cdd4;
  --stone:      #f4f5f7;     /* cool off-white */
  --paper:      #ffffff;

  /* ----- Brand blue ramp ----- */
  --blue:        #00a5e5;    /* primary 2RC blue */
  --blue-bright: #4ec3f0;
  --blue-deep:   #0066a3;
  --navy:        #001b2e;

  /* ----- Signature gradient stops ----- */
  --grad-1: #6cb4f0;   /* sky */
  --grad-2: #6a4cff;   /* electric purple */
  --grad-3: #b53de8;   /* magenta */
  --grad-4: #ff3d8a;   /* hot pink */
  --grad-5: #ff2935;   /* signal red */

  /* The signature gradient itself */
  --signature: linear-gradient(135deg,
    var(--grad-1) 0%,
    var(--grad-2) 25%,
    var(--grad-3) 50%,
    var(--grad-4) 75%,
    var(--grad-5) 100%);

  /* Type */
  --f-display: 'Archivo', 'Inter Tight', system-ui, sans-serif;
  --f-body:    'Host Grotesk', system-ui, -apple-system, sans-serif;
  --f-serif:   'Instrument Serif', 'Times New Roman', serif;
  --f-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Rhythm */
  --gutter: clamp(20px, 4vw, 72px);
  --rule: 1px solid rgba(255,255,255,0.12);
  --rule-soft: 1px solid rgba(255,255,255,0.06);
  --rule-dark: 1px solid rgba(10,10,13,0.14);
  --rule-dark-soft: 1px solid rgba(10,10,13,0.08);
}

/* =========================================================
   Reset / base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--stone);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--grad-3); color: var(--paper); }

/* =========================================================
   Type primitives
   ========================================================= */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--blue);
}
.eyebrow.muted { color: var(--slate); }
.eyebrow.mist  { color: var(--mist); }
.h-display {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(72px, 14vw, 240px);
  line-height: 0.86;
  letter-spacing: -0.04em;
}
.h-1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.h-2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0;
}
.h-3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}
.serif {
  font-family: var(--f-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}
.body-lg { font-size: 20px; line-height: 1.5; letter-spacing: -0.005em; }
.body-md { font-size: 16px; line-height: 1.6; }
.caption {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}
.num { font-family: var(--f-mono); font-feature-settings: "tnum" 1; }

/* Gradient text */
.grad-text {
  background: var(--signature);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* =========================================================
   Theme blocks
   ========================================================= */
.bg-ink   { background: var(--ink);   color: var(--stone); }
.bg-paper { background: var(--stone); color: var(--ink); }
.bg-grad  { background: var(--signature); color: var(--paper); }
.bg-navy  { background: var(--navy);  color: var(--stone); }
section { position: relative; }

/* =========================================================
   Layout
   ========================================================= */
.shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
@media (max-width: 760px) {
  .grid-12 { grid-template-columns: repeat(6, 1fr); gap: 16px; }
}

/* =========================================================
   Top navigation
   ========================================================= */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  background: rgba(10,10,13,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: var(--rule);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.topnav .brand { display: flex; align-items: center; gap: 14px; }
.topnav .brand svg { display: block; }
.topnav .brand strong { color: var(--stone); font-weight: 500; letter-spacing: 0.16em; }
.topnav .links { display: flex; gap: 22px; }
.topnav .links a { opacity: 0.55; transition: opacity 0.15s, color 0.15s; }
.topnav .links a:hover { opacity: 1; color: var(--grad-4); }
.topnav .badge {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--mist);
}
.topnav .badge::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--signature);
  border-radius: 50%;
}
@media (max-width: 760px) {
  .topnav .links { display: none; }
}

/* =========================================================
   00 — Cover
   ========================================================= */
.cover {
  min-height: 96vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 64px var(--gutter) 48px;
  position: relative;
  overflow: hidden;
}
.cover .meta-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 24px;
  border-bottom: var(--rule);
}
.cover .meta-top div span { display: block; color: var(--slate); margin-bottom: 6px; }
.cover .meta-top div strong { color: var(--stone); font-weight: 500; }
.cover .center {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  flex: 1;
  padding: 80px 0;
}
.cover .center .mark-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 460px;
}
.cover .center .mark-stage img {
  max-width: 70%;
  max-height: 540px;
  filter: drop-shadow(0 30px 80px rgba(107,76,255,0.35))
          drop-shadow(0 0 60px rgba(255,61,138,0.25));
}
.cover .title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(72px, 11vw, 180px);
  line-height: 0.84;
  letter-spacing: -0.045em;
  margin: 0;
}
.cover .title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.cover .title .grad { background: var(--signature); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cover .cover-lede {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.3;
  color: var(--mist);
  margin: 32px 0 0;
  max-width: 22ch;
}
.cover .meta-bot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: var(--rule);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cover .meta-bot div span { display: block; color: var(--slate); margin-bottom: 6px; }
.cover .meta-bot div strong { color: var(--stone); font-weight: 500; }
.cover .glow-bg {
  position: absolute;
  width: 900px; height: 900px;
  right: -300px; top: 5%;
  background: radial-gradient(circle, rgba(107,76,255,0.18) 0%, rgba(255,61,138,0.12) 40%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.cover > * { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .cover .center { grid-template-columns: 1fr; gap: 24px; }
  .cover .center .mark-stage { min-height: 280px; }
  .cover .meta-top, .cover .meta-bot { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Index / TOC
   ========================================================= */
.toc { padding: 100px 0 120px; }
.toc-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 32px;
}
.toc-row {
  display: grid;
  grid-template-columns: 64px 1fr 1.2fr 60px;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-top: var(--rule);
  transition: background 0.15s, padding 0.15s;
}
.toc-row:last-child { border-bottom: var(--rule); }
.toc-row:hover { background: rgba(255,255,255,0.02); padding-left: 12px; }
.toc-row:hover .toc-title { color: transparent; background: var(--signature); -webkit-background-clip: text; background-clip: text; }
.toc-num { font-family: var(--f-mono); font-size: 13px; color: var(--slate); }
.toc-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color 0.15s;
}
.toc-desc { color: var(--mist); font-size: 14px; }
.toc-page { font-family: var(--f-mono); font-size: 12px; color: var(--slate); text-align: right; }
@media (max-width: 760px) {
  .toc-row { grid-template-columns: 40px 1fr 40px; }
  .toc-desc { display: none; }
}

/* =========================================================
   Section header
   ========================================================= */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 120px 0 64px;
  align-items: end;
}
.section-head .index {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section-head .index .num {
  background: var(--signature);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  margin-right: 12px;
}
.section-head h2 { margin: 16px 0 0; }
.section-head .lede {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--mist);
  max-width: 44ch;
}
.section-head.light .lede { color: var(--slate); }
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; padding-top: 80px; }
}

/* =========================================================
   01 — Foundation / Mission
   ========================================================= */
.foundation { padding-bottom: 120px; }
.foundation .mission-block {
  padding: 48px 0;
  border-top: var(--rule-dark);
  border-bottom: var(--rule-dark);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: baseline;
}
.foundation .mission-block .label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}
.foundation .mission-block .statement {
  font-family: var(--f-display);
  font-weight: 200;
  font-size: clamp(36px, 5.5vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
}
.foundation .mission-block .statement b { font-weight: 900; }
.foundation .mission-block .statement em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  background: var(--signature);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 900px) {
  .foundation .mission-block { grid-template-columns: 1fr; gap: 16px; }
}

/* Style spectrum (TREND / TIMELESS, FORM / FUNCTION) */
.spectrum-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-top: 80px;
}
@media (max-width: 760px) { .spectrum-grid { grid-template-columns: 1fr; } }
.spectrum { border-top: var(--rule-dark); padding-top: 24px; }
.spectrum .label {
  display: flex; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 18px;
}
.spectrum .track {
  position: relative;
  height: 6px;
  background: rgba(10,10,13,0.08);
}
.spectrum .dot {
  position: absolute;
  top: 50%;
  width: 20px; height: 20px;
  background: var(--signature);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(181,61,232,0.15);
}
.spectrum .scale-num {
  display: flex; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--slate);
  margin-top: 12px;
}

/* =========================================================
   02 — 8 Values
   ========================================================= */
.values-section { padding-bottom: 140px; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
}
.value-cell {
  padding: 48px 32px 40px;
  border-bottom: var(--rule);
  border-right: var(--rule);
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.value-cell:nth-child(2n) { border-right: none; }
.value-cell:nth-last-child(-n+2) { border-bottom: none; }
.value-cell .vnum {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--slate);
  margin-bottom: 28px;
}
.value-cell .vnum .accent {
  background: var(--signature);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  margin-right: 8px;
}
.value-cell .vstatement {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--stone);
  margin: 0 0 14px;
  text-wrap: balance;
}
.value-cell .vstatement em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.value-cell .vnote {
  margin-top: auto;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  padding-top: 24px;
}
@media (max-width: 760px) {
  .values-grid { grid-template-columns: 1fr; }
  .value-cell { border-right: none; }
  .value-cell:nth-last-child(2) { border-bottom: var(--rule); }
}

/* =========================================================
   03 — Tone Words
   ========================================================= */
.tone-section { padding-bottom: 120px; }
.tone-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .tone-pillars { grid-template-columns: 1fr; } }
.tone-card {
  padding: 36px 30px;
  border: var(--rule);
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.tone-card .marker {
  width: 56px; height: 6px;
  background: var(--signature);
  margin-bottom: 28px;
}
.tone-card .tone-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--slate);
  margin-bottom: 12px;
}
.tone-card h4 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
}
.tone-card h4 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}
.tone-card .desc {
  color: var(--mist);
  font-size: 15px;
  line-height: 1.55;
  flex: 1;
}
.tone-card .pull {
  margin-top: 28px;
  padding-top: 20px;
  border-top: var(--rule);
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--mist);
}
.tone-card .pull::before {
  content: "“";
  font-size: 32px;
  line-height: 0;
  vertical-align: -10px;
  margin-right: 4px;
  background: var(--signature);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Voice writing examples */
.write-examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 80px 0 0;
}
@media (max-width: 760px) { .write-examples { grid-template-columns: 1fr; } }
.we-card {
  padding: 32px;
  border: var(--rule);
  position: relative;
}
.we-card.good { border-image: var(--signature) 1; }
.we-card.bad  { border-color: rgba(255,90,90,0.3); }
.we-card .tag {
  position: absolute; top: -10px; left: 24px;
  background: var(--ink);
  padding: 0 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.we-card.good .tag { color: var(--grad-4); }
.we-card.bad  .tag { color: #ff8a8a; }
.we-card h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 16px;
}
.we-card .ex {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--stone);
  margin: 0;
}
.we-card .why {
  margin-top: 22px;
  padding-top: 18px;
  border-top: var(--rule);
  color: var(--mist);
  font-size: 13px;
}

.wordlist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 100px;
  padding-top: 32px;
  border-top: var(--rule);
}
@media (max-width: 760px) { .wordlist { grid-template-columns: 1fr; } }
.wordlist .col h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 20px;
}
.wordlist .col.use h5 {
  background: var(--signature);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.wordlist .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wordlist .chips span {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  padding: 8px 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
}
.wordlist .use .chips span { color: var(--stone); border-color: rgba(255,255,255,0.2); }
.wordlist .avoid .chips span { color: var(--slate); text-decoration: line-through; text-decoration-thickness: 1.5px; }

/* =========================================================
   04 — Logo system
   ========================================================= */
.logo-hero {
  padding: 40px 0 80px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: stretch;
}
@media (max-width: 900px) { .logo-hero { grid-template-columns: 1fr; } }
.logo-hero .display {
  background: var(--paper);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 480px;
}
.logo-hero .display::before {
  content: "PRIMARY · GRADIENT MARK";
  position: absolute;
  top: 24px; left: 24px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--slate);
}
.logo-hero .display img { width: 60%; max-width: 320px; }
.logo-hero .description {
  background: var(--ink-elev);
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.logo-hero .description h3 { margin-bottom: 24px; color: var(--stone); }
.logo-hero .description p {
  color: var(--mist);
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 18px;
  max-width: 44ch;
}

.lockup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
@media (max-width: 900px) { .lockup-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lockup-grid { grid-template-columns: 1fr; } }
.lockup-card {
  background: var(--paper);
  padding: 40px 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  position: relative;
}
.lockup-card.dark { background: var(--ink); }
.lockup-card .lockup {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 18px 0;
}
.lockup-card .lockup-label {
  display: flex; justify-content: space-between;
  border-top: var(--rule-dark);
  padding-top: 12px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}
.lockup-card.dark .lockup-label { border-color: rgba(255,255,255,0.1); color: var(--mist); }
.lockup-card .lockup-label strong { color: inherit; font-weight: 500; }
.lockup-card.dark .lockup-label strong { color: var(--stone); }

.logo-rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
@media (max-width: 900px) { .logo-rules-grid { grid-template-columns: 1fr; } }
.rule-card {
  background: var(--paper);
  padding: 28px;
}
.rule-card h5 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.rule-card p { color: var(--slate); font-size: 13px; line-height: 1.55; margin: 0; }
.rule-card .viz {
  margin-top: 24px;
  background: var(--stone);
  padding: 24px;
  display: flex; align-items: center; justify-content: center;
  min-height: 180px;
  position: relative;
}

/* Clearspace visualization */
.clearspace-viz {
  position: relative;
  width: 200px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.clearspace-frame {
  position: absolute;
  inset: 28px 40px;
  border: 1px dashed rgba(10,10,13,0.3);
  pointer-events: none;
}
.clearspace-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.clearspace-viz .x {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--slate);
  font-weight: 500;
}
.clearspace-viz .x-t { top: 8px;    left: 50%; transform: translateX(-50%); }
.clearspace-viz .x-b { bottom: 8px; left: 50%; transform: translateX(-50%); }
.clearspace-viz .x-l { left: 14px;  top: 50%; transform: translateY(-50%); }
.clearspace-viz .x-r { right: 14px; top: 50%; transform: translateY(-50%); }

/* Min-size visualization */
.minsize-viz {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 40px;
  width: 100%;
  height: 100%;
}
.minsize-viz .ms-large,
.minsize-viz .ms-small {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.minsize-viz .ms-large img { width: 72px; height: 72px; object-fit: contain; }
.minsize-viz .ms-small img { width: 22px; height: 22px; object-fit: contain; }
.minsize-viz .caption {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

/* Contrast visualization */
.contrast-viz {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  width: 100%;
  min-height: 180px;
}
.contrast-viz .cv-light,
.contrast-viz .cv-dark {
  display: flex;
  align-items: center;
  justify-content: center;
}
.contrast-viz .cv-light { background: var(--paper); }
.contrast-viz .cv-dark  { background: var(--ink); }
.contrast-viz img { width: 52px; height: 52px; object-fit: contain; }

/* Misuse cards — unified icon sizing */
.misuse-card .mu-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.misuse-section {
  margin-top: 12px;
  padding: 40px 32px;
  background: var(--paper);
}
.misuse-section h4 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  margin: 0 0 24px;
  letter-spacing: -0.015em;
}
.misuse-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 900px) { .misuse-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .misuse-grid { grid-template-columns: repeat(2, 1fr); } }
.misuse-card {
  background: var(--stone);
  aspect-ratio: 1 / 1;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  overflow: hidden;
}
.misuse-card .cross::before,
.misuse-card .cross::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top right, transparent calc(50% - 0.6px), rgba(220,40,40,0.55) calc(50% - 0.6px), rgba(220,40,40,0.55) calc(50% + 0.6px), transparent calc(50% + 0.6px));
  pointer-events: none;
}
.misuse-card .label {
  position: absolute;
  bottom: 10px; left: 10px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.misuse-card .label::before { content: "✕  "; color: #c8262c; font-weight: 700; }

/* =========================================================
   05 — Signature gradient
   ========================================================= */
.gradient-feature {
  position: relative;
  min-height: 70vh;
  background: var(--signature);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 80px var(--gutter);
  color: var(--paper);
  overflow: hidden;
}
.gradient-feature .grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.gradient-feature .label-top {
  position: relative;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.85;
}
.gradient-feature .massive {
  position: relative;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(80px, 14vw, 220px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: var(--paper);
  margin: 0;
}
.gradient-feature .massive em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.gradient-feature .meta-bot {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.3);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.gradient-feature .meta-bot div span { display: block; opacity: 0.7; margin-bottom: 6px; }
.gradient-feature .meta-bot div strong { font-weight: 500; }
@media (max-width: 760px) {
  .gradient-feature .meta-bot { grid-template-columns: repeat(2, 1fr); }
}

.gradient-rules {
  padding: 100px 0 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .gradient-rules { grid-template-columns: 1fr; } }
.gradient-rules .rule h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 16px;
}
.gradient-rules .rule p {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--stone);
  text-wrap: pretty;
}
.gradient-rules .rule.do p::before { content: "✓ "; background: var(--signature); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 900; }
.gradient-rules .rule.dont p { color: var(--slate); }
.gradient-rules .rule.dont p::before { content: "✕ "; color: #ff7a7a; font-weight: 900; }

.gradient-variations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 24px 0 80px;
}
@media (max-width: 760px) { .gradient-variations { grid-template-columns: repeat(2, 1fr); } }
.gv {
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gv .nm {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.gv-1 { background: var(--signature); }
.gv-2 { background: linear-gradient(135deg, var(--grad-1) 0%, var(--grad-2) 60%, var(--grad-3) 100%); }
.gv-3 { background: linear-gradient(135deg, var(--grad-3) 0%, var(--grad-4) 50%, var(--grad-5) 100%); }
.gv-4 { background: linear-gradient(180deg, var(--ink) 0%, var(--grad-2) 60%, var(--grad-4) 100%); }
.gv-5 { background: radial-gradient(circle at 30% 30%, var(--grad-1), transparent 50%), radial-gradient(circle at 70% 70%, var(--grad-5), transparent 60%), var(--navy); }
.gv-6 { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); }
.gv-7 { background: linear-gradient(180deg, var(--ink) 0%, var(--blue-deep) 70%, var(--blue-bright) 100%); }
.gv-8 { background: linear-gradient(135deg, var(--grad-1), var(--grad-5)); filter: saturate(0.4); }

/* =========================================================
   06 — Color
   ========================================================= */
.color-section { padding-bottom: 60px; }

.swatch-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
@media (max-width: 760px) { .swatch-row { grid-template-columns: 1fr; } }
.swatch {
  padding: 240px 28px 28px;
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.swatch .name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.swatch .role {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
  opacity: 0.6;
}
.swatch .codes {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  border-top: 1px solid currentColor;
  padding-top: 14px;
}
.swatch .codes .k { opacity: 0.55; }
.sw-blue   { background: var(--blue);  color: var(--ink); }
.sw-ink    { background: var(--ink);   color: var(--stone); }
.sw-stone  { background: var(--stone); color: var(--ink); border: var(--rule-dark); }

.extended-swatch-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 12px;
}
@media (max-width: 760px) { .extended-swatch-row { grid-template-columns: repeat(2, 1fr); } }
.ext-sw {
  min-height: 180px;
  padding: 20px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.ext-sw .role {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 8px;
}
.ext-sw .name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.ext-sw .hex { font-family: var(--f-mono); font-size: 11px; opacity: 0.65; }
.sw-navy   { background: var(--navy);     color: var(--stone); }
.sw-graphite { background: var(--graphite); color: var(--stone); }
.sw-slate  { background: var(--slate);    color: var(--stone); }
.sw-mist   { background: var(--mist);     color: var(--ink); }
.sw-paper  { background: var(--paper);    color: var(--ink); border: var(--rule-dark); }
.sw-bright { background: var(--blue-bright); color: var(--ink); }
.sw-deep   { background: var(--blue-deep);   color: var(--stone); }

/* Gradient hue swatches */
.grad-swatch-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 12px;
}
@media (max-width: 760px) { .grad-swatch-row { grid-template-columns: repeat(2, 1fr); } }
.gsw {
  min-height: 200px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--paper);
  position: relative;
}
.gsw .pos {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}
.gsw .nm {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.gsw .hx { font-family: var(--f-mono); font-size: 11px; opacity: 0.75; }
.gsw-1 { background: var(--grad-1); color: var(--ink); }
.gsw-2 { background: var(--grad-2); }
.gsw-3 { background: var(--grad-3); }
.gsw-4 { background: var(--grad-4); }
.gsw-5 { background: var(--grad-5); }

/* Combos */
.combo-block {
  padding: 60px 0 0;
}
.combo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 760px) { .combo-grid { grid-template-columns: repeat(2, 1fr); } }
.combo {
  aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(36px, 4vw, 64px);
  letter-spacing: -0.045em;
  line-height: 1;
  padding: 24px;
  text-align: center;
}

/* =========================================================
   07 — Typography
   ========================================================= */
.type-section { padding-bottom: 60px; }
.type-spec {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 64px 0;
  border-top: var(--rule-dark);
}
.type-spec:last-of-type { border-bottom: var(--rule-dark); }
@media (max-width: 760px) { .type-spec { grid-template-columns: 1fr; gap: 24px; } }
.type-spec .meta .role {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 18px;
}
.type-spec .meta .family {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--ink);
}
.type-spec .meta .family em {
  font-family: var(--f-serif);
  font-weight: 400;
  font-style: italic;
}
.type-spec .meta .details {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.6;
}
.type-spec .specimen .big {
  font-size: clamp(64px, 10vw, 160px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  color: var(--ink);
}
.type-spec .specimen .row {
  display: flex; align-items: baseline; justify-content: space-between;
  border-top: var(--rule-dark-soft);
  padding: 14px 0 12px;
  font-size: 22px;
  color: var(--ink);
}
.type-spec .specimen .row .label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  flex-shrink: 0;
  margin-right: 24px;
  font-weight: 500;
}
.tf-cmg .specimen .big, .tf-cmg .specimen .row .sample { font-family: var(--f-display); font-weight: 900; }
.tf-serif .specimen .big, .tf-serif .specimen .row .sample { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.tf-body .specimen .big, .tf-body .specimen .row .sample { font-family: var(--f-body); font-weight: 600; }
.tf-mono .specimen .big, .tf-mono .specimen .row .sample { font-family: var(--f-mono); font-weight: 500; }

.type-scale {
  padding: 80px 0 40px;
}
.scale-row {
  display: grid;
  grid-template-columns: 140px 90px 90px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-top: var(--rule-dark);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
.scale-row .preview {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.022em;
  text-transform: none;
  color: var(--ink);
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =========================================================
   08 — Photography
   ========================================================= */
.photo-section { padding-bottom: 60px; }
.photo-hero {
  margin: 40px 0 0;
  height: clamp(360px, 56vh, 560px);
  background-image:
    linear-gradient(180deg, transparent 30%, rgba(10,10,13,0.85) 100%),
    url('assets/photo-worship-bw.png');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 40px;
}
.photo-hero .caption {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}
.photo-hero .overlay {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--stone);
  max-width: 22ch;
  margin: 0;
}

.photo-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
  margin-top: 80px;
}
@media (max-width: 900px) { .photo-principles { grid-template-columns: repeat(2, 1fr); } }
.photo-principles .cell {
  padding: 32px 24px;
  border-right: var(--rule);
}
.photo-principles .cell:last-child { border-right: none; }
.photo-principles .cell .num {
  background: var(--signature);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 22px;
  display: block;
  letter-spacing: 0.1em;
}
.photo-principles .cell h5 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.photo-principles .cell p {
  color: var(--mist);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin-top: 60px;
}
.photo-gallery .tile {
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.photo-gallery .tile::after {
  content: attr(data-tag);
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  background: rgba(10,10,13,0.62);
  padding: 4px 8px;
  backdrop-filter: blur(4px);
}
.pg-1 { grid-column: span 8; aspect-ratio: 16/9; background-image: url('assets/photo-worship-color.png'); }
.pg-2 { grid-column: span 4; aspect-ratio: 8/9; background-image: url('assets/photo-night.png'); }
.pg-3 { grid-column: span 4; aspect-ratio: 4/5; background-image: url('assets/photo-stage.png'); }
.pg-4 { grid-column: span 4; aspect-ratio: 4/5; background-image: url('assets/photo-celestial.png'); background-position: center top; }
.pg-5 { grid-column: span 4; aspect-ratio: 4/5; background-image: url('assets/photo-worship-bw.png'); }
@media (max-width: 760px) {
  .photo-gallery { grid-template-columns: 1fr 1fr; }
  .photo-gallery .tile { grid-column: span 1 !important; aspect-ratio: 1/1; }
}

.do-dont {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 80px;
}
@media (max-width: 760px) { .do-dont { grid-template-columns: 1fr; } }
.do-dont .col h4 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  margin: 0 0 18px;
}
.do-dont .do h4   { color: var(--stone); }
.do-dont .do h4::before    { content: "+ "; background: var(--signature); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 900; }
.do-dont .dont h4::before  { content: "− "; color: #ff8a8a; }
.do-dont ul { list-style: none; margin: 0; padding: 0; }
.do-dont li {
  border-top: var(--rule);
  padding: 14px 0;
  font-size: 14px;
  color: var(--mist);
  line-height: 1.5;
}
.do-dont li:last-child { border-bottom: var(--rule); }

/* =========================================================
   09 — Layout principles
   ========================================================= */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
@media (max-width: 900px) { .principle-grid { grid-template-columns: 1fr; } }
.principle-card {
  background: var(--paper);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.principle-card .visual {
  background: var(--stone);
  height: 200px;
  margin: -28px -28px 28px;
  border-bottom: var(--rule-dark);
  position: relative;
  overflow: hidden;
}
.principle-card h5 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}
.principle-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0;
}
.principle-card .pnum {
  font-family: var(--f-mono);
  font-size: 11px;
  background: var(--signature);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
}

/* Principle visuals */
.hier-visual {
  display: flex; align-items: flex-end; gap: 6px;
  padding: 24px;
  height: 100%;
}
.hier-visual i {
  background: var(--ink);
  width: 18%;
  display: block;
}
.hier-visual i:nth-child(1) { height: 90%; }
.hier-visual i:nth-child(2) { height: 60%; background: var(--signature); }
.hier-visual i:nth-child(3) { height: 38%; }
.hier-visual i:nth-child(4) { height: 22%; opacity: 0.4; }
.hier-visual i:nth-child(5) { height: 15%; opacity: 0.4; }

.grid-visual {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 5px;
  padding: 22px;
  height: 100%;
}
.grid-visual .b { background: rgba(10,10,13,0.07); }
.grid-visual .acc { background: var(--signature); }

.whitespace-visual {
  position: relative;
  height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.whitespace-visual .dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--signature);
  position: relative;
}
.whitespace-visual .dot::before, .whitespace-visual .dot::after {
  content: "";
  position: absolute;
  border: 1px dashed var(--slate);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.whitespace-visual .dot::before { width: 60px; height: 60px; }
.whitespace-visual .dot::after { width: 130px; height: 130px; opacity: 0.5; }

/* =========================================================
   10 — Sermon series flex
   ========================================================= */
.flex-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 40px 0 60px;
}
@media (max-width: 900px) { .flex-rules { grid-template-columns: 1fr; gap: 24px; } }
.flex-rules .col h4 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.flex-rules .col h4 .accent {
  background: var(--signature);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.flex-rules .col p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mist);
  margin: 0 0 14px;
}
.flex-rules .col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.flex-rules .col li {
  padding: 12px 0;
  border-top: var(--rule);
  font-size: 14px;
  color: var(--mist);
}
.flex-rules .col li::before {
  content: "→ ";
  background: var(--signature);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
@media (max-width: 900px) { .series-grid { grid-template-columns: 1fr; } }
.series-card {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 32px;
}
.series-card .name {
  position: relative;
  z-index: 2;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--stone);
  margin: 0;
}
.series-card .meta {
  position: absolute;
  top: 22px; left: 22px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
  z-index: 2;
}
.series-card .meta::before {
  content: "● ";
  background: var(--signature);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.series-card.meaningless {
  background:
    linear-gradient(180deg, transparent 30%, rgba(10,10,13,0.75) 100%),
    url('assets/photo-night.png');
  background-size: cover;
  background-position: center;
}
.series-card.meaningless .name {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.series-card.refresh {
  background: var(--signature);
}
.series-card.refresh .name { color: var(--paper); }
.series-card.refresh::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.18;
  mix-blend-mode: overlay;
}
.series-card.deep-end {
  background:
    linear-gradient(180deg, transparent 0%, rgba(10,10,13,0.9) 100%),
    url('assets/photo-stage.png');
  background-size: cover;
  background-position: center;
}
.series-card.deep-end .name {
  font-size: clamp(54px, 6vw, 88px);
  letter-spacing: -0.05em;
}
.series-card.unafraid {
  background: var(--ink);
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
}
.series-card.unafraid .inner {
  padding: 32px;
  display: flex;
  align-items: flex-end;
  width: 100%;
}
.series-card.unafraid .name {
  font-size: clamp(56px, 7vw, 104px);
  background: var(--signature);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.series-card.holy {
  background:
    linear-gradient(180deg, transparent 30%, rgba(0,27,46,0.7) 100%),
    url('assets/photo-celestial.png');
  background-size: cover;
  background-position: center top;
}
.series-card.holy .name {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 7vw, 96px);
  letter-spacing: -0.02em;
}
.series-card.generosity {
  background: var(--paper);
}
.series-card.generosity .name { color: var(--ink); }
.series-card.generosity .meta { color: var(--slate); }
.series-card.generosity::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 2px solid;
  border-image: var(--signature) 1;
  pointer-events: none;
}

/* =========================================================
   11 — In the wild (applications)
   ========================================================= */
.wild-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.tile-base {
  position: relative;
  overflow: hidden;
  display: flex;
}
.tile-base .tag {
  position: absolute;
  top: -8px; left: 0;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  transform: translateY(-18px);
}

.tile-wrap { position: relative; }
.tile-wrap .tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
  display: block;
}

/* Tile: HD Slide 1920×1080 */
.tile-hdslide-wrap { grid-column: span 8; }
.tile-hdslide {
  aspect-ratio: 16/9;
  background: var(--ink);
  border: var(--rule);
  padding: 48px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  overflow: hidden;
}
.tile-hdslide::before {
  content: "";
  position: absolute;
  top: 48px; left: 48px;
  width: 36px; height: 44px;
  background: var(--signature);
  clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
}
.tile-hdslide .ttl {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--stone);
  margin: 0;
}
.tile-hdslide .ttl em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  background: var(--signature);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}
.tile-hdslide .num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

/* Tile: Subsplash Banner 1920×692 */
.tile-banner-wrap { grid-column: span 4; }
.tile-banner {
  aspect-ratio: 1920/692;
  background:
    linear-gradient(90deg, rgba(10,10,13,0.85) 30%, rgba(10,10,13,0.3) 100%),
    url('assets/photo-worship-color.png');
  background-size: cover;
  background-position: center;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: var(--rule);
}
.tile-banner h6 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(20px, 2.6vw, 32px);
  letter-spacing: -0.025em;
  line-height: 0.95;
  margin: 0;
  color: var(--stone);
}
.tile-banner span {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grad-1);
  margin-bottom: 8px;
}

/* Tile: 1080×1080 Square Social */
.tile-square-wrap { grid-column: span 4; }
.tile-square {
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
}

.tile-sq-1 {
  background: var(--ink);
  padding: 32px;
  border: var(--rule);
  display: flex;
  align-items: flex-end;
}
.tile-sq-1 .massive {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--stone);
}
.tile-sq-1 .massive em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  background: var(--signature);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tile-sq-1 .footer {
  position: absolute;
  bottom: 24px; right: 32px;
  display: flex; gap: 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.tile-sq-2 {
  background:
    linear-gradient(180deg, transparent 30%, rgba(10,10,13,0.95) 100%),
    url('assets/photo-worship-bw.png');
  background-size: cover;
  background-position: center top;
  padding: 28px;
  display: flex;
  align-items: flex-end;
}
.tile-sq-2 .copy {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--stone);
}

.tile-sq-3 {
  background: var(--signature);
  color: var(--paper);
  padding: 32px;
  display: flex;
  align-items: flex-end;
}
.tile-sq-3 .number {
  position: absolute;
  top: 18px; right: 24px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(80px, 12vw, 160px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: var(--paper);
  opacity: 0.95;
}
.tile-sq-3 .label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
}
.tile-sq-3 .copy {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin-top: 8px;
  max-width: 12ch;
}

/* Tile: Reel 1080×1920 */
.tile-reel-wrap { grid-column: span 3; }
.tile-reel { aspect-ratio: 9/16; padding: 24px; position: relative; overflow: hidden; }

.tile-reel-a {
  background:
    linear-gradient(0deg, rgba(10,10,13,0.7) 0%, transparent 60%),
    url('assets/photo-celestial.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.tile-reel-a .stack {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--stone);
}
.tile-reel-b {
  background: var(--ink);
  border: var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tile-reel-b .top {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}
.tile-reel-b .center {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(52px, 7vw, 100px);
  line-height: 0.82;
  letter-spacing: -0.045em;
  color: var(--stone);
}
.tile-reel-b .center b {
  background: var(--signature);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tile-reel-b .bottom {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  border-top: var(--rule);
  padding-top: 14px;
}
.tile-reel-c {
  background: var(--signature);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.tile-reel-c::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.2;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.tile-reel-c .verse {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0;
  position: relative; z-index: 2;
}
.tile-reel-c .ref {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.9;
  margin-top: 22px;
  position: relative; z-index: 2;
}
.tile-reel-d {
  background: var(--ink);
  border: var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tile-reel-d .num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(80px, 11vw, 140px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  background: var(--signature);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tile-reel-d .label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}
.tile-reel-d .copy {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--stone);
  margin-top: 12px;
}

/* Tile: Lower third */
.tile-lower3-wrap { grid-column: span 12; }
.tile-lower3 {
  aspect-ratio: 1920/1080;
  background:
    linear-gradient(180deg, rgba(10,10,13,0.4) 0%, rgba(10,10,13,0.85) 80%),
    url('assets/photo-worship-color.png');
  background-size: cover;
  background-position: center;
  position: relative;
  border: var(--rule);
}
.tile-lower3 .l3 {
  position: absolute;
  bottom: 5%; left: 2.6%; right: 2.6%;
  height: 20%;
  background: rgba(10,10,13,0.78);
  backdrop-filter: blur(6px);
  border-left: 4px solid;
  border-image: var(--signature) 1;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tile-lower3 .l3 .title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(20px, 2.8vw, 36px);
  letter-spacing: -0.02em;
  color: var(--stone);
  line-height: 1;
}
.tile-lower3 .l3 .title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}
.tile-lower3 .l3 .ref {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grad-1);
}

/* Tile: Poster */
.tile-poster-wrap { grid-column: span 4; }
.tile-poster {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  padding: 32px;
}
.tile-poster.swiss {
  background: var(--blue);
  color: var(--ink);
}
.tile-poster.swiss .num {
  position: absolute;
  top: 50px; left: 32px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(72px, 9vw, 140px);
  letter-spacing: -0.045em;
  line-height: 0.85;
  color: var(--ink);
}
.tile-poster.swiss .stack {
  position: absolute;
  bottom: 40px; left: 32px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(48px, 5.5vw, 80px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.tile-poster.swiss .rotated {
  position: absolute;
  top: 70px; right: 24px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(64px, 7vw, 100px);
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--ink);
}
.tile-poster.swiss .meta {
  position: absolute;
  top: 32px; right: 32px;
  text-align: right;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.tile-poster.gradient {
  background: var(--signature);
  color: var(--paper);
}
.tile-poster.gradient::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.16;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.tile-poster.gradient .top {
  position: relative; z-index: 2;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
}
.tile-poster.gradient .center {
  position: absolute;
  top: 50%; left: 32px; right: 32px;
  transform: translateY(-50%);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 0.85;
  letter-spacing: -0.045em;
  color: var(--paper);
  z-index: 2;
}
.tile-poster.gradient .center em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}
.tile-poster.gradient .bottom {
  position: absolute;
  bottom: 32px; left: 32px; right: 32px;
  display: flex; justify-content: space-between;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
}

.tile-poster.editorial {
  background: var(--ink);
  border: var(--rule);
  color: var(--stone);
}
.tile-poster.editorial .pnum {
  position: absolute;
  top: 32px; left: 32px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}
.tile-poster.editorial .ph {
  position: absolute;
  inset: 70px 32px 50% 32px;
  background:
    linear-gradient(180deg, transparent 30%, rgba(10,10,13,0.7) 100%),
    url('assets/photo-stage.png');
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
}
.tile-poster.editorial .center {
  position: absolute;
  bottom: 70px; left: 32px; right: 32px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--stone);
}
.tile-poster.editorial .bottom {
  position: absolute;
  bottom: 32px; left: 32px; right: 32px;
  display: flex; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

/* Tile: Merch */
.tile-merch-wrap { grid-column: span 6; }
.tile-merch {
  aspect-ratio: 5/4;
  background: var(--ink);
  border: var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  overflow: hidden;
}
.tile-merch .tee-side {
  background: var(--ink);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: var(--rule);
}
.tile-merch .tee {
  width: 84%;
  aspect-ratio: 0.92;
  position: relative;
  background: #1c1c22;
  clip-path: polygon(
    14% 8%, 30% 0%, 35% 8%, 65% 8%, 70% 0%, 86% 8%,
    100% 18%, 92% 30%, 86% 26%, 86% 100%,
    14% 100%, 14% 26%, 8% 30%, 0% 18%);
}
.tile-merch .tee::after {
  content: "";
  position: absolute;
  top: 4%; left: 8%; right: 8%;
  height: 6%;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-radius: 50%;
}
.tile-merch .vert-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.7em;
  color: var(--stone);
  z-index: 2;
}
.tile-merch .grad-mark {
  position: absolute;
  top: 14%; left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 38px;
  background: var(--signature);
  clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
  z-index: 2;
}
.tile-merch .info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ink-elev);
}
.tile-merch .info .spec {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}
.tile-merch .info .name {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -0.025em;
  line-height: 0.92;
  color: var(--stone);
  margin: 24px 0 12px;
}
.tile-merch .info .name em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}
.tile-merch .info .desc {
  font-size: 13px;
  color: var(--mist);
  line-height: 1.5;
}

/* Tile: Email */
.tile-email-wrap { grid-column: span 6; }
.tile-email {
  aspect-ratio: 1.4;
  background: var(--ink);
  border: var(--rule);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.tile-email .header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 18px;
  border-bottom: var(--rule);
}
.tile-email .header .label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--signature);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.tile-email .body {
  flex: 1;
  display: flex;
  align-items: center;
}
.tile-email .body h5 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -0.025em;
  line-height: 0.95;
  color: var(--stone);
  margin: 0;
}
.tile-email .body h5 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  background: var(--signature);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tile-email .footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 18px;
  border-top: var(--rule);
}
.tile-email .footer .ts {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.tile-email .btn {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--stone);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

@media (max-width: 900px) {
  .wild-grid { grid-template-columns: repeat(6, 1fr); }
  .tile-hdslide-wrap, .tile-banner-wrap, .tile-square-wrap, .tile-reel-wrap,
  .tile-poster-wrap, .tile-merch-wrap, .tile-email-wrap { grid-column: span 6; }
  .tile-reel-wrap { grid-column: span 3; }
}

/* =========================================================
   12 — Sub-brands (Youth + Kids)
   ========================================================= */
.subbrand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 900px) { .subbrand-grid { grid-template-columns: 1fr; } }
.subbrand {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.subbrand .head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.subbrand .label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.subbrand h3 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(60px, 8vw, 120px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  margin: 32px 0 0;
}
.subbrand .meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid currentColor;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.subbrand .meta div span { display: block; opacity: 0.6; margin-bottom: 6px; }
.subbrand .meta div strong { font-weight: 500; }

.sub-youth {
  background:
    radial-gradient(circle at 20% 20%, #00ffd1 0%, transparent 40%),
    radial-gradient(circle at 80% 30%, #ff2bf0 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, #ffe51c 0%, transparent 35%),
    var(--ink);
  color: var(--paper);
}
.sub-youth h3 {
  background: linear-gradient(135deg, #00ffd1, #ff2bf0, #ffe51c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-kids {
  background: #fff7ed;
  color: #1b1b22;
}
.sub-kids h3 {
  color: var(--blue);
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.sub-kids .squiggle {
  position: absolute;
  bottom: -40px; right: -40px;
  width: 220px; height: 220px;
  background: var(--blue);
  border-radius: 50%;
  opacity: 0.9;
}
.sub-kids .squiggle2 {
  position: absolute;
  top: 100px; right: 80px;
  width: 90px; height: 90px;
  background: #ffd84d;
  border-radius: 50%;
}
.sub-kids .head, .sub-kids h3, .sub-kids .meta { position: relative; z-index: 2; }

/* =========================================================
   Closing
   ========================================================= */
.closing {
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}
.closing .glow-foot {
  position: absolute;
  width: 1100px; height: 1100px;
  left: 50%; bottom: -50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(107,76,255,0.12) 0%, rgba(255,61,138,0.08) 40%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.closing > * { position: relative; z-index: 1; }
.closing .big {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(64px, 12vw, 200px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  margin: 0;
}
.closing .big em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  background: var(--signature);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.closing .meta-foot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
  padding-top: 32px;
  border-top: var(--rule);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.closing .meta-foot div span { display: block; color: var(--slate); margin-bottom: 8px; }
.closing .meta-foot div strong { color: var(--stone); font-weight: 500; }
@media (max-width: 760px) { .closing .meta-foot { grid-template-columns: repeat(2, 1fr); } }

.colophon {
  border-top: var(--rule);
  padding: 24px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

/* =========================================================
   Grain overlay (toggleable)
   ========================================================= */
body.grain::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Utility */
.spacer-l { height: 80px; }
.spacer-xl { height: 120px; }
