@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

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

:root {
  --ink: #0e0d0b;
  --paper: #f7f3ec;
  --paper-warm: #f0ead9;
  --paper-dark: #e8e0cc;
  --red: #b5151f;
  --red-deep: #7a0d14;
  --red-muted: rgba(181, 21, 31, 0.08);
  --gold: #b5820a;
  --gold-light: rgba(181, 130, 10, 0.12);
  --mid: #52504a;
  --mid-light: #7a7870;
  --cream: #fff;
  --rule: rgba(14, 13, 11, 0.12);
  --rule-strong: rgba(14, 13, 11, 0.25);
  --ff-display: 'Instrument Serif', 'EB Garamond', Georgia, serif;
  --ff-body: 'Raleway', Georgia, serif;
  --ff-mono: 'JetBrains Mono', 'Courier New', monospace;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --max-w: 1280px;
  --col-pad: clamp(1.25rem, 5vw, 4rem);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 18px;
  font-weight: 400;
  text-align: justify;
  line-height: 1.75;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.028'/%3E%3C/svg%3E");
  opacity: 0.6;
}

/* ── NAVIGATION ──────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 500;
  height: 55px;
  background: var(--ink);
  border-bottom: 3px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
}

.nav-top-row button {
  display: none;
}

.nav-top-row a span {
  padding: 0;
}

.nav-logo {
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
}

.nav-logo span {
  color: var(--red);
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

nav ul a {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

nav ul a:hover {
  color: var(--red);
}

.nav-cta {
  background: var(--red) !important;
  color: var(--cream) !important;
  padding: 8px 20px;
  letter-spacing: 0.12em !important;
  opacity: 1 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--red-dark) !important;
}

/* ── TICKER ──────────────────────────────── */
.hero-ticker {
  background: var(--red);
  color: var(--paper);
  padding: 0px 0 4px 0;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid var(--red-deep);
}

.ticker-inner {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: ticker 70s linear infinite;
}

@keyframes ticker {
  from {
    transform: translateX(100vw);
  }

  to {
    transform: translateX(-100%);
  }
}

.ticker-sep {
  margin: 0 2rem;
  opacity: 0.4;
}

/* ── HERO ────────────────────────────────── */
.contact-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 5rem 7rem;
  border-bottom: 1px solid rgba(181, 21, 31, 0.5);
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: 'भारत्यम्';
  position: absolute;
  font-family: var(--ff-display);
  font-size: clamp(8rem, 20vw, 22rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(247, 243, 236, 0.018);
  right: -2rem;
  bottom: -3rem;
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
  letter-spacing: -0.03em;
}

.ch-label {
  font-family: var(--ff-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.75rem;
  display: block;
}

.ch-title {
  font-family: var(--ff-display);
  font-size: clamp(3.2rem, 8vw, 8.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.ch-title em {
  font-style: italic;
  color: var(--red);
}

.ch-sub {
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  color: rgba(247, 243, 236, 0.48);
  max-width: 52ch;
  line-height: 1.8;
  margin-bottom: 3rem;
}

/* Hero info bar */
.ch-info-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 3rem;
}

.chi-item {
  background: rgba(14, 13, 11, 0.85);
  padding: clamp(1.25rem, 3vw, 2rem);
  border-top: 2px solid transparent;
  backdrop-filter: blur(8px);
}

.chi-item:nth-child(1) {
  border-top-color: var(--red);
}

.chi-item:nth-child(2) {
  border-top-color: var(--gold);
}

.chi-item:nth-child(3) {
  border-top-color: rgba(247, 243, 236, 0.2);
}

.chi-icon {
  font-size: 1rem;
  margin-bottom: 0.65rem;
  display: block;
  opacity: 0.5;
}

.chi-label {
  font-family: var(--ff-mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.3);
  display: block;
  margin-bottom: 0.35rem;
}

.chi-value {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--paper);
  display: block;
  margin-bottom: 0.2rem;
}

.chi-sub {
  font-family: var(--ff-mono);
  font-size: 8px;
  font-weight: 300;
  color: rgba(247, 243, 236, 0.25);
  letter-spacing: 0.06em;
  display: block;
}

/* ── TOC ─────────────────────────────────── */
.toc-bar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 8px;
  background: rgba(14, 13, 11, 0.92);
  border-right: 1.5px solid var(--red);
  border-radius: 0 3px 3px 0;
}

.toc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(247, 243, 236, 0.18);
  cursor: pointer;
  transition: all 0.2s;
  display: block;
  text-decoration: none;
}

.toc-dot:hover,
.toc-dot.active {
  background: var(--red);
  transform: scale(1.6);
}

#btt {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--ff-mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.22em;
  padding: 9px 14px;
  border: 1px solid var(--red);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.2s;
}

#btt.show {
  opacity: 1;
  pointer-events: all;
}

#btt:hover {
  background: var(--red);
}

/* ── REVEAL ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── SECTION COMMONS ─────────────────────── */
.section-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1.5px solid var(--ink);
}

.section-number {
  font-family: var(--ff-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--red);
}

h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.02em;
}

/* ══════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════ */
.about-section {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 7vw, 6rem) var(--col-pad);
  border-bottom: 1px solid rgba(181, 21, 31, 0.4);
  position: relative;
  overflow: hidden;
}

.about-section::after {
  content: '2026';
  position: absolute;
  right: -2rem;
  bottom: -4rem;
  font-family: var(--ff-display);
  font-size: clamp(10rem, 22vw, 22rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  line-height: 1;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  max-width: var(--max-w);
  margin: 0 auto;
}

.about-divider {
  background: rgba(255, 255, 255, 0.06);
}

.about-left {
  padding-right: clamp(2rem, 5vw, 4rem);
}

.about-right {
  padding-left: clamp(2rem, 5vw, 4rem);
}

.about-eyebrow {
  font-family: var(--ff-mono);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.35rem;
  display: block;
}

.about-headline {
  font-family: var(--ff-display);
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin-bottom: 1.5rem;
}

.about-headline em {
  font-style: italic;
  color: var(--gold);
}

.about-body {
  font-size: 0.95rem;
  font-family: var(--ff-body);
  color: rgba(247, 243, 236, 0.58);
  line-height: 1.85;
}

.about-body p {
  margin-bottom: 1rem;
}

.about-body strong {
  color: rgba(247, 243, 236, 0.85);
  font-weight: 600;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--ff-mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(247, 243, 236, 0.1);
  padding: 5px 12px;
  margin-bottom: 1.5rem;
  color: rgba(247, 243, 236, 0.45);
}

.sp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: 0.35;
    transform: scale(0.8)
  }
}

.disclaimer-box {
  margin-top: 2rem;
  border: 1px solid rgba(181, 130, 10, 0.22);
  padding: 1.25rem 1.5rem;
  background: rgba(181, 130, 10, 0.045);
}

.disclaimer-box::before {
  content: '! LEGAL NOTICE';
  font-family: var(--ff-mono);
  font-size: 7.5px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.disclaimer-box p {
  font-family: var(--ff-mono);
  font-size: 8.5px;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: rgba(247, 243, 236, 0.38);
}

/* Milestones */
.milestone-list {
  margin-top: 1.5rem;
}

.milestone-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.milestone-item:last-child {
  border-bottom: none;
}

.ms-marker {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: 9px;
  font-weight: 500;
  margin-top: 2px;
}

.ms-marker.done {
  background: rgba(34, 137, 56, 0.12);
  border: 1.5px solid #22893a;
  color: #22893a;
}

.ms-marker.now {
  background: rgba(181, 130, 10, 0.12);
  border: 1.5px solid var(--gold);
  color: var(--gold);
}

.ms-marker.soon {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.2);
}

.ms-title {
  font-family: var(--ff-display);
  font-size: 0.97rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 0.15rem;
}

.ms-desc {
  font-family: var(--ff-mono);
  font-size: 8px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(247, 243, 236, 0.3);
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   LAWBOOK
══════════════════════════════════════════ */
.lawbook-section {
  padding: clamp(3rem, 7vw, 6rem) var(--col-pad);
  background: var(--paper);
  border-bottom: 1.5px solid var(--ink);
}

.lawbook-header {
  margin-bottom: 3rem;
}

.lb-eyebrow {
  font-family: var(--ff-mono);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.85rem;
  display: block;
}

.lb-title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.lb-sub {
  font-family: var(--ff-body);
  font-size: 1rem;
  font-style: italic;
  color: var(--mid);
  max-width: 62ch;
  line-height: 1.75;
}

/* Outer book frame */
.lawbook-doc {
  background: #fcf9f2;
  border: 1px solid rgba(14, 13, 11, 0.25);
  box-shadow:
    0 0 0 4px #fcf9f2,
    0 0 0 5px rgba(14, 13, 11, 0.12),
    6px 8px 0 rgba(14, 13, 11, 0.08),
    10px 14px 0 rgba(14, 13, 11, 0.04);
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
}

.lawbook-doc::before {
  content: '';
  position: absolute;
  top: 0;
  right: 3.5rem;
  bottom: -0.75rem;
  width: 2.25rem;
  background: linear-gradient(180deg, var(--red-deep) 0%, var(--red) 100%);
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 50% 100%, 0 calc(100% - 14px));
}

.lawbook-doc::after {
  content: 'B';
  position: absolute;
  top: 0.55rem;
  right: calc(3.5rem + 7px);
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(252, 249, 242, 0.7);
  z-index: 2;
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Document cover header — DESKTOP */
.lb-doc-header {
  background: #4b4b4b;
  color: var(--paper);
  padding: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4rem);
  border-bottom: 3px double var(--red);
  position: relative;
  overflow: hidden;
}

.lb-doc-header::before {
  content: 'भारत्यम्';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%) rotate(8deg);
  font-family: var(--ff-display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(247, 243, 236, 0.018);
  pointer-events: none;
  line-height: 1;
}

.lb-doc-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 0.5rem;
}

.lb-doc-seal {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px double var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--red);
  background: rgba(181, 21, 31, 0.06);
}

.lb-doc-divider-line {
  width: 100%;
  height: 1px;
  background: rgba(247, 243, 236, 0.1);
  margin: 0.5rem 0;
}

.lb-doc-title {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 2.5vw, 1.75rem);
  font-weight: 400;
  color: var(--paper);
  letter-spacing: 0.03em;
  text-align: center;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.lb-doc-subtitle {
  font-family: var(--ff-mono);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: rgba(247, 243, 236, 0.32);
  text-align: center;
  margin-bottom: 1.5rem;
}

.lb-doc-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0.5rem;
}

.lb-meta-item {
  background: rgba(14, 13, 11, 0.6);
  padding: 0.75rem 1rem;
  text-align: center;
}

.lb-meta-label {
  font-family: var(--ff-mono);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.28);
  margin-bottom: 0.25rem;
  display: block;
}

.lb-meta-val {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  color: rgba(247, 243, 236, 0.72);
}

/* Chapter tabs */
.lb-chapter-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  background: #f5f0e5;
  border-bottom: 1.5px solid rgba(14, 13, 11, 0.15);
}

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

.lb-tab {
  flex-shrink: 0;
  position: relative;
  font-family: var(--ff-mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 1.25rem;
  cursor: pointer;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(14, 13, 11, 0.07);
  border-bottom: 2px solid transparent;
  margin-bottom: -1.5px;
  color: var(--mid-light);
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.lb-tab::before {
  content: attr(data-roman);
  position: absolute;
  top: 0.35rem;
  left: 0.5rem;
  font-family: var(--ff-body);
  font-size: 7px;
  font-style: italic;
  color: rgba(14, 13, 11, 0.2);
}

.lb-tab:hover {
  color: var(--red);
  background: rgba(181, 21, 31, 0.025);
}

.lb-tab.active {
  color: var(--ink);
  font-weight: 500;
  border-bottom-color: var(--red);
  background: #fcf9f2;
}

/* Chapter body */
.lb-clauses {
  background:
    repeating-linear-gradient(transparent, transparent 34px,
      rgba(14, 13, 11, 0.04) 34px, rgba(14, 13, 11, 0.04) 35px);
  background-position: 0 58px;
}

.lb-chapter-content {
  display: none;
}

.lb-chapter-content.active {
  display: block;
}

/* Chapter title bar */
.lb-chapter-title-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 2rem 2rem;
  border-bottom: 1px solid rgba(14, 13, 11, 0.08);
  background: rgba(181, 21, 31, 0.025);
  text-align: center;
  position: relative;
}

.lb-chapter-title-bar::before,
.lb-chapter-title-bar::after {
  content: '─────────────────────────';
  display: block;
  font-family: var(--ff-mono);
  font-size: 8px;
  color: rgba(181, 21, 31, 0.3);
  letter-spacing: 0.1em;
  margin: 0.25rem 0;
}

.lb-chapter-num {
  font-family: var(--ff-mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.3rem;
  display: block;
}

.lb-chapter-name {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Individual clauses */
.lb-clause {
  display: grid;
  grid-template-columns: 72px 1fr;
  border-bottom: 1px solid rgba(14, 13, 11, 0.06);
  transition: background 0.15s;
  position: relative;
}

.lb-clause::before {
  content: '';
  position: absolute;
  left: 72px;
  top: 0;
  bottom: 0;
  border-left: 1.5px solid rgba(181, 21, 31, 0.15);
}

.lb-clause:hover {
  background: rgba(181, 21, 31, 0.018);
}

.lb-clause:last-child {
  border-bottom: none;
}

.lb-clause-num {
  padding: 2rem 0 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.25rem;
  background: rgba(248, 244, 236, 0.4);
}

.lb-clause-num-sym {
  font-family: var(--ff-body);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--red);
  font-weight: 400;
  line-height: 1;
}

.lb-clause-num-digit {
  font-family: var(--ff-mono);
  font-size: 7.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(14, 13, 11, 0.3);
}

.lb-clause-body {
  padding: 2rem 2.5rem 2rem 2rem;
}

.lb-clause-heading {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  color: var(--ink);
}

.lb-clause-heading::after {
  content: '.';
  color: var(--red);
}

.lb-clause-text {
  font-family: var(--ff-body);
  font-size: 0.94rem;
  color: var(--mid);
  line-height: 1.85;
}

.lb-clause-text strong {
  color: var(--ink);
  font-weight: 600;
}

.lb-sub-clauses {
  margin-top: 0.85rem;
  padding-left: 0;
}

.lb-sub-clause {
  display: flex;
  gap: 0.85rem;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.78;
  padding: 0.45rem 0;
  border-top: 1px solid rgba(14, 13, 11, 0.04);
}

.lb-sub-clause::before {
  content: '(' attr(data-sub) ')';
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--red);
  flex-shrink: 0;
  width: 26px;
  padding-top: 0.06rem;
}

/* Document footer — DESKTOP */
.lb-doc-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 1.5rem clamp(2rem, 5vw, 4rem);
  border-top: 3px double var(--red);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.lb-doc-footer span {
  font-family: var(--ff-mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(247, 243, 236, 0.22);
}

.lb-seal-footer {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(247, 243, 236, 0.08);
  letter-spacing: -0.01em;
}

/* ══════════════════════════════════════════
   MEMBERSHIP SECTION
══════════════════════════════════════════ */
.membership-section {
  padding: clamp(3rem, 7vw, 6rem) var(--col-pad);
  border-bottom: 1.5px solid var(--ink);
  background: var(--paper);
}

.coming-soon-banner {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid rgba(181, 21, 31, 0.4);
  padding: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 3rem;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.coming-soon-banner::after {
  content: 'COMING';
  position: absolute;
  right: -1rem;
  bottom: -2rem;
  font-family: var(--ff-display);
  font-size: clamp(6rem, 16vw, 14rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
}

.csb-icon {
  font-size: 2rem;
  flex-shrink: 0;
  opacity: 0.6;
  padding-top: 0.2rem;
}

.csb-label {
  font-family: var(--ff-mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
  display: block;
}

.csb-title {
  font-family: var(--ff-display);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 400;
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
}

.csb-desc {
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(247, 243, 236, 0.45);
  line-height: 1.75;
  max-width: 56ch;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(14, 13, 11, 0.15);
  margin-bottom: 3rem;
}

.feature-card {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
  overflow: hidden;
  border-top: 2.5px solid transparent;
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--paper-warm);
}

.feature-card.coming {
  border-top-color: rgba(74, 74, 68, 0.3);
}

.feature-card.highlighted {
  border-top-color: var(--red);
}

.feature-card.gold {
  border-top-color: var(--gold);
}

.fc-coming-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-family: var(--ff-mono);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--ink);
  color: var(--paper);
  opacity: 0.45;
}

.fc-coming-badge.live {
  background: #22893a;
  opacity: 1;
  color: #fff;
}

.fc-coming-badge.soon-badge {
  background: var(--gold);
  opacity: 1;
  color: var(--ink);
}

.fc-icon {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: block;
  opacity: 0.65;
}

.fc-title {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.fc-desc {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.fc-status {
  font-family: var(--ff-mono);
  font-size: 7.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: rgba(14, 13, 11, 0.28);
  border-top: 1px solid rgba(14, 13, 11, 0.08);
  padding-top: 0.75rem;
}

.fc-status.active-status {
  color: #22893a;
}

.fc-status.gold-status {
  color: var(--gold);
}

/* Stats strip */
.member-count-strip {
  background: rgba(14, 13, 11, 0.04);
  border: 1px solid rgba(14, 13, 11, 0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 3rem;
  overflow: hidden;
}

.mcs-item {
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(14, 13, 11, 0.07);
}

.mcs-item:last-child {
  border-right: none;
}

.mcs-num {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.03em;
}

.mcs-unit {
  font-size: 1.1rem;
  color: var(--red);
}

.mcs-label {
  font-family: var(--ff-mono);
  font-size: 7.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-light);
}

/* ══════════════════════════════════════════
   WAITLIST / FORM
══════════════════════════════════════════ */
.waitlist-wrap {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  background: rgba(14, 13, 11, 0.04);
  border: 1.5px solid var(--rule-strong);
}

.waitlist-divider {
  background: var(--rule-strong);
}

.waitlist-left {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.waitlist-right {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.wl-tag {
  font-family: var(--ff-mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
  display: block;
}

.wl-title {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: 0.85rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.wl-body {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

/* Form elements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mid-light);
  margin-bottom: 0.5rem;
}

.required {
  color: var(--red);
  margin-left: 2px;
}

.form-group input,
.form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  border-bottom: 1.5px solid rgba(14, 13, 11, 0.22);
  padding: 0.72rem 0.85rem;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group select:focus {
  border-bottom-color: var(--ink);
  background: white;
}

.form-group input::placeholder {
  color: rgba(14, 13, 11, 0.28);
  font-style: italic;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230e0d0b' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
  background-color: rgba(255, 255, 255, 0.6);
}

.form-group select option {
  background: white;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.35rem;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  appearance: none;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border: 1.5px solid rgba(14, 13, 11, 0.28);
  background: transparent;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  margin-top: 3px;
}

.checkbox-item input[type="checkbox"]:checked {
  background: var(--ink);
  border-color: var(--ink);
}

.checkbox-item input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: -1px;
  left: 1px;
  font-size: 9px;
  color: var(--paper);
  font-family: var(--ff-mono);
}

.checkbox-item span {
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.5;
  font-style: italic;
}

.btn-submit {
  display: block;
  width: 100%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--ff-mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  padding: 16px 28px;
  cursor: pointer;
  transition: background 0.2s, letter-spacing 0.2s;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
}

.btn-submit::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  bottom: 0;
  width: 100%;
  background: var(--red);
  transition: left 0.3s var(--ease);
}

.btn-submit:hover::after {
  left: 0;
}

.btn-submit span {
  position: relative;
  z-index: 1;
}

.form-success {
  display: none;
  text-align: center;
  padding: 4rem 2rem;
  border: 1px solid rgba(14, 13, 11, 0.12);
  background: rgba(14, 13, 11, 0.02);
}

.form-success.show {
  display: block;
}

.success-num {
  font-family: var(--ff-display);
  font-size: 5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--red);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.form-success h3 {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.form-success p {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--mid);
  max-width: 32ch;
  margin: 0 auto;
  line-height: 1.65;
}

.error-msg {
  font-family: var(--ff-mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-top: 4px;
  display: none;
}

.error-msg.show {
  display: block;
}

.form-group input.error,
.form-group select.error {
  border-bottom-color: var(--red);
}

/* Member preview card */
.mem-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.mem-card::before {
  content: 'PREVIEW — NOT YET ISSUED';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--ff-mono);
  font-size: 6.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: rgba(247, 243, 236, 0.1);
}

.mem-card-tricolor {
  height: 3px;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #FF6B00 33.33%, #fff 33.33% 66.66%, #138808 66.66%);
}

.mc-label {
  font-family: var(--ff-mono);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.25);
  margin-bottom: 0.4rem;
  display: block;
}

.mc-name {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
  color: var(--paper);
  margin-bottom: 1.5rem;
}

.mc-info-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}

.mc-field-label {
  font-family: var(--ff-mono);
  font-size: 6.5px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(247, 243, 236, 0.25);
  display: block;
  margin-bottom: 0.2rem;
}

.mc-field-val {
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--paper);
}

.mc-field-val.blurred {
  filter: blur(3.5px);
  user-select: none;
}

.mc-id-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.1rem;
  margin-top: 0.5rem;
}

.mc-id {
  font-family: var(--ff-mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: rgba(247, 243, 236, 0.15);
}

.mc-logo {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(247, 243, 236, 0.1);
  letter-spacing: -0.02em;
}

.mc-logo span {
  color: rgba(181, 21, 31, 0.4);
}

.mem-card-note {
  font-family: var(--ff-mono);
  font-size: 8px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--mid);
  line-height: 1.72;
  border-left: 2px solid var(--red);
  padding: 1rem 1.25rem;
  background: rgba(14, 13, 11, 0.03);
}

/* Integration callout */
.integration-callout {
  margin-bottom: 3rem;
  border: 1px solid rgba(181, 130, 10, 0.28);
  background: rgba(181, 130, 10, 0.04);
  padding: 1.5rem 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.integration-callout::before {
  content: '⚡';
  font-size: 1.1rem;
  flex-shrink: 0;
  opacity: 0.7;
  padding-top: 0.1rem;
}

.ic-label {
  font-family: var(--ff-mono);
  font-size: 8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
  display: block;
}

.ic-title {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.ic-desc {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--mid);
  line-height: 1.65;
}

.ic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.ic-chip {
  font-family: var(--ff-mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  border: 1px solid rgba(181, 130, 10, 0.3);
  color: var(--gold);
  background: rgba(181, 130, 10, 0.06);
}

/* ══════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════ */
.cta-section {
  padding: clamp(4rem, 8vw, 7.5rem) var(--col-pad);
  background: var(--red);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: 'JOIN';
  position: absolute;
  font-family: var(--ff-display);
  font-size: clamp(14rem, 38vw, 38rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(0, 0, 0, 0.04);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
}

.cta-section h2 {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--paper);
  margin-bottom: 1rem;
  position: relative;
  letter-spacing: -0.02em;
}

.cta-section h2 em {
  font-style: italic;
}

.cta-section p {
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(247, 243, 236, 0.72);
  max-width: 42ch;
  margin: 0 auto 2.75rem;
  position: relative;
}

.cta-btns {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.btn-cta {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 13px 28px;
  text-decoration: none;
  border: 1.5px solid;
  transition: all 0.22s;
  min-width: 160px;
  text-align: center;
}

.btn-cta.solid {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn-cta.solid:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn-cta.outline {
  background: transparent;
  color: var(--paper);
  border-color: rgba(247, 243, 236, 0.35);
}

.btn-cta.outline:hover {
  background: rgba(247, 243, 236, 0.1);
}

/* ── FOOTER ──────────────────────────────── */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  border-top: 3px solid var(--red);
}

.footer-brand {
  padding-right: 7rem;
}

.footer-brand h3 {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 0.35rem;
}

.ft-sub {
  font-family: var(--ff-mono);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.3);
  margin-bottom: 1.25rem;
  display: block;
}

.footer-brand p {
  font-family: Raleway, sans-serif;
  font-size: 0.84rem;
  text-align: justify;
  color: rgba(244, 239, 230, 0.4);
  line-height: 1.65;
  letter-spacing: 0.03em;
}

.ft-divider {
  height: 1px;
  background: var(--red-dark);
  margin: 1.5rem 0;
}

.ft-tricolor {
  height: 2px;
  width: 48px;
  background: linear-gradient(to right, #FF6B00 33%, #fff 33% 66%, #138808 66%);
}

.footer-col h4 {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: rgba(244, 239, 230, 0.45);
  padding: 5px 0;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-col ul li:hover {
  color: var(--cream);
}

.footer-bottom {
  background: #050503;
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom span {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: rgba(244, 239, 230, 0.22);
}

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ch-info-bar {
    grid-template-columns: 1fr 1fr;
  }

  .chi-item:nth-child(3) {
    grid-column: span 2;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-divider {
    display: none;
  }

  .about-left {
    padding-right: 0;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 3rem;
  }

  .about-right {
    padding-left: 0;
  }

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

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

  .mcs-item:nth-child(2) {
    border-right: none;
  }

  .mcs-item:nth-child(3) {
    border-top: 1px solid rgba(14, 13, 11, 0.07);
  }

  .mcs-item:nth-child(4) {
    border-top: 1px solid rgba(14, 13, 11, 0.07);
  }

  .waitlist-wrap {
    grid-template-columns: 1fr;
  }

  .waitlist-divider {
    width: 100%;
    height: 1.5px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .toc-bar {
    display: none;
  }

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

  .lb-meta-item:nth-child(3) {
    grid-column: span 2;
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤640px)
══════════════════════════════════════════ */
@media (max-width: 640px) {
  :root {
    --col-pad: 1.25rem;
    font-size: 15px;
  }

  /* Nav */
  nav {
    height: auto;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    position: sticky;
    top: 0;
    z-index: 200;
  }

  .nav-logo {
    color: white;
    display: flex;
    align-items: center;
    height: 46px;
    padding: 0 1.25rem;
    font-size: 11px;
    letter-spacing: 0.2em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex: 1;
  }

  .nav-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: none;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    cursor: pointer;
    font-size: 20px;
    flex-shrink: 0;
  }

  .nav-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-top-row button {
    display: inline;
  }

  .nav-top-row a span {
    padding: 10px;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.28s ease;
    padding: 0;
    gap: 0;
  }

  nav ul.nav-open {
    max-height: 400px;
  }

  nav ul li {
    flex-shrink: 0;
    width: 100%;
  }

  nav ul a {
    display: flex;
    align-items: center;
    height: 46px;
    padding: 0 1rem;
    font-size: 10px;
    letter-spacing: 0.15em;
    color: #fff !important;
    background: #191919 !important;
    justify-content: center;
    font-size: 10px !important;
    border-bottom: none !important;
    margin: 0.5rem 1.25rem 0;
    width: calc(100% - 2.5rem);
  }

  .nav-cta {
    background: var(--red) !important;
    color: var(--cream) !important;
    opacity: 1 !important;
    padding: 0 1.25rem !important;
    height: 46px !important;
    justify-content: center;
    font-size: 10px !important;
    border-bottom: none !important;
    margin: 0.5rem 1.25rem 0.75rem;
    width: calc(100% - 2.5rem);
  }

  /* Hero */
  .ch-info-bar {
    grid-template-columns: 1fr;
  }

  .chi-item:nth-child(3) {
    grid-column: span 1;
  }

  /* ─────────────────────────────────────────
     LAWBOOK — MOBILE REDESIGN
     Cream cover, no dark header, full-width clauses
  ───────────────────────────────────────── */

  /* Hide the bookmark ribbon on mobile — looks wrong at small size */
  .lawbook-doc::before,
  .lawbook-doc::after {
    display: none;
  }

  /* Remove the outer book shadow — too heavy on mobile */
  .lawbook-doc {
    box-shadow: none;
  }

  /* ── COVER HEADER: cream paper instead of dark charcoal ── */
  .lb-doc-header {
    background: var(--paper-warm);
    color: var(--ink);
    border-bottom: 1px solid rgba(14, 13, 11, 0.12);
    padding: 1.5rem 1.25rem 1.25rem;
  }

  /* Hide the ghost Devanagari watermark — unreadable at this size */
  .lb-doc-header::before {
    display: none;
  }

  /* Tricolor stripe at the very top of the cover */
  .lb-doc-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #FF6B00 33%, #fff 33% 66%, #138808 66%);
  }

  /* Seal stays, just smaller and red-on-cream instead of red-on-dark */
  .lb-doc-seal {
    width: 42px;
    height: 42px;
    font-size: 1rem;
    border-color: var(--red);
    color: var(--red);
    background: rgba(181, 21, 31, 0.06);
  }

  /* Title and subtitle readable on cream */
  .lb-doc-title {
    font-size: 1rem;
    color: var(--ink);
    letter-spacing: 0.02em;
  }

  .lb-doc-subtitle {
    font-size: 8px;
    color: var(--mid-light);
    margin-bottom: 1rem;
  }

  /* Divider line invisible on light bg — remove it */
  .lb-doc-divider-line {
    background: rgba(14, 13, 11, 0.1);
  }

  /* Meta grid: stack to 2 cols, all on cream bg */
  .lb-doc-meta-grid {
    grid-template-columns: 1fr 1fr;
    background: rgba(14, 13, 11, 0.06);
    border-color: rgba(14, 13, 11, 0.1);
    margin-top: 1rem;
  }

  .lb-meta-item {
    background: rgba(255, 255, 255, 0.5);
    padding: 0.6rem 0.75rem;
  }

  .lb-meta-item:last-child {
    grid-column: span 2;
  }

  .lb-meta-label {
    color: var(--mid-light);
  }

  .lb-meta-val {
    color: var(--ink);
    font-size: 0.82rem;
  }

  /* ── CHAPTER TABS: tighter, full-scroll ── */
  .lb-tab {
    padding: 0 0.85rem;
    min-height: 42px;
    font-size: 7.5px;
    letter-spacing: 0.12em;
  }

  .contact-hero{
    padding: 4rem 1.5rem;
  }
  /* Hide the roman numeral superscript — too cramped */
  .lb-tab::before {
    display: none;
  }

  /* ── CHAPTER TITLE BAR: left-aligned, no decorative dashes ── */
  .lb-chapter-title-bar {
    flex-direction: row;
    align-items: baseline;
    gap: 0.75rem;
    text-align: left;
    padding: 1rem 1.25rem;
    justify-content: flex-start;
  }

  .lb-chapter-title-bar::before,
  .lb-chapter-title-bar::after {
    display: none;
  }

  .lb-chapter-num {
    margin-bottom: 0;
  }

  .lb-chapter-name {
    font-size: 0.95rem;
  }

  /* ── CLAUSES: drop the gutter column entirely ── */
  .lb-clause {
    display: block;
    /* no more grid */
    padding: 0;
    position: relative;
  }

  /* The red margin line becomes a top border accent instead */
  .lb-clause::before {
    display: none;
  }

  /* Hide the numbered column */
  .lb-clause-num {
    display: none;
  }

  /* Full-width clause body */
  .lb-clause-body {
    padding: 1.1rem 1.25rem;
    display: block;
  }

  /* Clause number appears as a tiny inline label before the heading */
  .lb-clause-body[data-n]::before {
    content: '§ ' attr(data-n);
    display: block;
    font-family: var(--ff-body);
    font-style: italic;
    font-size: 0.76rem;
    color: var(--red);
    opacity: 0.7;
    margin-bottom: 0.25rem;
    line-height: 1;
  }

  .lb-clause-heading {
    font-size: 0.95rem;
  }

  .lb-clause-text {
    font-size: 0.86rem;
    line-height: 1.8;
  }

  .lb-sub-clause {
    font-size: 0.83rem;
    gap: 0.55rem;
  }

  .lb-sub-clause::before {
    width: 20px;
    font-size: 0.78rem;
  }

  /* ── DOCUMENT FOOTER: light cream, not black ── */
  .lb-doc-footer {
    background: var(--paper-warm);
    border-top: 1px solid rgba(14, 13, 11, 0.12);
    /* Override the desktop double-red rule */
    border-top-style: solid;
    border-top-width: 1px;
    padding: 1rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .lb-doc-footer span {
    color: var(--mid-light);
    font-size: 7.5px;
    line-height: 1.6;
  }

  .lb-seal-footer {
    color: rgba(181, 21, 31, 0.25);
    font-size: 1rem;
    margin-top: 0.25rem;
  }

  /* Features */
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .member-count-strip {
    grid-template-columns: 1fr 1fr;
  }

  .mcs-item:nth-child(2) {
    border-right: none;
  }

  .mcs-item:nth-child(3),
  .mcs-item:nth-child(4) {
    border-top: 1px solid rgba(14, 13, 11, 0.07);
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .coming-soon-banner {
    flex-direction: column;
  }

  /* CTA */
  .btn-cta {
    display: block;
    width: 100%;
    max-width: 280px;
  }

  /* Footer */
  footer {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.25rem 3rem;
    border-top-width: 2px;
  }

  .footer-brand {
    grid-column: auto;
    padding-right: 0;
  }

  .footer-brand h3 {
    font-size: 1.35rem;
    margin-bottom: 0.3rem;
    padding-right: 0;
  }

  .footer-brand p {
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .ft-sub {
    font-size: 7.5px;
    letter-spacing: 0.2em;
  }

  .ft-divider {
    margin: 1.25rem 0;
  }

  .ft-tricolor {
    height: 2px;
    width: 40px;
  }

  /* Two columns inside each footer section */
  .footer-col h4 {
    font-size: 9px;
    letter-spacing: 0.2em;
    margin-bottom: 0.85rem;
  }

  .footer-col ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 0.5rem;
  }

  .footer-col ul li {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    padding: 5px 0;
  }

  .footer-bottom {
    padding: 0.85rem 1.25rem;
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
  }

  .footer-bottom span {
    font-size: 8px;
    letter-spacing: 0.12em;
    color: rgba(245, 240, 232, 0.25);
  }
}

/* ══════════════════════════════════════════
   MICRO (≤380px)
══════════════════════════════════════════ */
@media (max-width: 380px) {
  .ch-title {
    font-size: 2.85rem;
  }

  .member-count-strip {
    grid-template-columns: 1fr;
  }

  .mcs-item {
    border-right: none !important;
  }
}