/* Bitcoin Pakistan — site.css
   One file, no framework. Tokens first, then layout, then components. */

@font-face { font-family: "Geist"; src: url(fonts/geist.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(fonts/geist-mono.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(fonts/serif.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(fonts/serif-italic.woff2) format("woff2"); font-style: italic; font-display: swap; }
@font-face { font-family: "Nastaliq"; src: url(fonts/nastaliq.woff2) format("woff2"); font-display: swap; }

:root {
  --paper: #f3efe6;
  --paper-2: #ebe5d8;
  --paper-3: #e1d9c8;
  --ink: #141311;
  --ink-2: #4d4840;
  --ink-3: #7a7367;
  --line: rgba(20, 19, 17, .14);
  --line-strong: rgba(20, 19, 17, .9);
  --sig: #f7931a;
  --sig-ink: #a84a00;
  --ok: #2f7d4f;
  --err: #b3261e;
  --invert-bg: #141311;
  --invert-fg: #f3efe6;
  --invert-accent: #f7931a;

  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --f-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --f-urdu: "Nastaliq", "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;

  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 14px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f0e0c;
    --paper-2: #181613;
    --paper-3: #221f1b;
    --ink: #f1ece2;
    --ink-2: #b2ab9d;
    --ink-3: #847d70;
    --line: rgba(241, 236, 226, .14);
    --line-strong: rgba(241, 236, 226, .85);
    --sig-ink: #ffa640;
    --ok: #6fcf97;
    --err: #ff8a80;
    --invert-bg: #f1ece2;
    --invert-fg: #0f0e0c;
    --invert-accent: #a84a00;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--sig-ink); }
:focus-visible { outline: 2px solid var(--sig); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sig); color: #141311; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .02em; text-transform: uppercase; }
.ur { font-family: var(--f-urdu); direction: rtl; unicode-bidi: isolate; line-height: 2.1; font-weight: 400; letter-spacing: 0; }
.serif { font-family: var(--f-serif); }
em, .it { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand:hover { color: inherit; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand b { font-weight: 600; font-size: 15px; letter-spacing: -.01em; line-height: 1.05; display: block; }
.brand small { display: block; font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: 14.5px; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.btn { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1 var(--f-sans); padding: 13px 20px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { color: var(--paper); transform: translateY(-1px); }
.btn.sig { background: var(--sig); border-color: var(--sig); color: #141311; }
.btn.sig:hover { color: #141311; background: #ffa53d; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { color: var(--ink); background: var(--paper-2); }
.btn.sm { padding: 9px 15px; font-size: 14px; }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }
.menu-btn { display: none; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
  .nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 20px; background: var(--paper); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .18s ease; }
  .nav a { font-size: 20px; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:hover, .nav a[aria-current="page"] { background: transparent; }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom: 1px solid var(--ink); font-size: 16px; padding: 15px; border-radius: 999px; }
  .hdr.open .nav { transform: none; opacity: 1; visibility: visible; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--ink-2); margin-bottom: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: none; }
.dot.live { background: var(--sig); box-shadow: 0 0 0 0 rgba(247, 147, 26, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(247, 147, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(247, 147, 26, 0); } }
.hero h1 { font-family: var(--f-serif); font-size: clamp(52px, 8.6vw, 124px); line-height: .92; letter-spacing: -.035em; }
.hero h1 em { color: var(--sig-ink); }
.hero .ur-line { font-size: clamp(24px, 3.4vw, 40px); color: var(--ink-2); margin: 18px 0 0; text-align: left; }
.hero .lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 560px; margin: 28px 0 32px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* rupee → sats card */
.rupee { border: 1px solid var(--line-strong); border-radius: 22px; background: var(--paper); overflow: hidden; box-shadow: 8px 8px 0 var(--ink); }
.rupee-top { padding: 22px 22px 20px; border-bottom: 1px solid var(--line); }
.rupee-top .mono { color: var(--ink-3); display: flex; justify-content: space-between; gap: 12px; }
.conv { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 6px 10px; margin-top: 18px; }
.conv label { font: 500 13px/1 var(--f-mono); color: var(--ink-3); }
.conv .field { display: flex; align-items: baseline; gap: 6px; border-bottom: 1px dashed var(--line-strong); padding-bottom: 4px; }
.conv .field span { font-family: var(--f-mono); color: var(--ink-3); font-size: 18px; }
.conv input { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 400 clamp(28px, 3vw, 36px)/1.1 var(--f-mono); letter-spacing: -.03em; padding: 0; outline: none; }
.conv input::-webkit-inner-spin-button { display: none; }
.conv output { font: 400 clamp(40px, 4.4vw, 60px)/1 var(--f-serif); letter-spacing: -.03em; grid-column: 1 / -1; margin-top: 14px; display: block; overflow-wrap: anywhere; }
.conv output small { font: 500 14px var(--f-mono); color: var(--sig-ink); letter-spacing: .04em; margin-left: 6px; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.presets button { font: 500 12.5px/1 var(--f-mono); padding: 8px 11px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; }
.presets button:hover, .presets button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); background: var(--paper-2); }
.stats { display: grid; grid-template-columns: 1fr 1fr; }
.stat { padding: 16px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-last-child(-n+2) { border-bottom: 0; }
.stat .mono { color: var(--ink-3); font-size: 11px; display: block; margin-bottom: 4px; }
.stat b { font: 500 19px/1.2 var(--f-mono); letter-spacing: -.02em; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rupee-foot { padding: 10px 22px; border-top: 1px solid var(--line); font: 11px/1.4 var(--f-mono); color: var(--ink-3); background: var(--paper-2); }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; align-items: start; }
  .rupee { box-shadow: 6px 6px 0 var(--ink); }
}

/* ---------- blocks (sections) ---------- */
.block { padding: clamp(56px, 8vw, 112px) 0; border-bottom: 1px solid var(--line); }
.block-head { display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: start; margin-bottom: clamp(32px, 5vw, 56px); }
.chain { display: flex; align-items: center; gap: 0; padding-top: 12px; }
.chain i { width: 12px; height: 12px; border: 1.5px solid var(--ink); border-radius: 3px; display: block; }
.chain i + i { margin-left: 14px; position: relative; }
.chain i + i::before { content: ""; position: absolute; right: 100%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transform: translateY(-50%); }
.chain i.on { background: var(--sig); border-color: var(--sig); }
.chain + .mono { margin-top: 10px; color: var(--ink-3); }
.block-head h2 { font-family: var(--f-serif); font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -.03em; line-height: .95; }
.block-head h2 em { color: var(--sig-ink); }
.block-head .sub { color: var(--ink-2); font-size: 18px; max-width: 620px; margin-top: 16px; }
.block-head .ur { font-size: clamp(22px, 2.6vw, 30px); color: var(--ink-3); white-space: nowrap; }
@media (max-width: 860px) {
  .block-head { grid-template-columns: 1fr; gap: 12px; }
  .block-head .ur { order: -1; text-align: left; }
  .chain { padding-top: 0; }
}

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.pillar { padding: 28px 28px 8px 0; border-right: 1px solid var(--line); }
.pillar + .pillar { padding-left: 28px; }
.pillar:last-child { border-right: 0; }
.pillar .mono { color: var(--sig-ink); }
.pillar h3 { font-family: var(--f-serif); font-size: 34px; margin: 18px 0 12px; }
.pillar p { color: var(--ink-2); }
.pillar a { font-weight: 500; }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
}

/* article list */
.rows { border-top: 1px solid var(--line-strong); }
.row { display: grid; grid-template-columns: 64px 1fr 220px 40px; gap: 20px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; }
.row::before { content: ""; position: absolute; inset: 0 calc(var(--gut) * -1); background: var(--paper-2); opacity: 0; transition: opacity .15s ease; z-index: -1; }
.row:hover { color: var(--ink); }
.row:hover::before { opacity: 1; }
.row .mono { color: var(--ink-3); }
.row h3 { font-family: var(--f-serif); font-size: clamp(26px, 3vw, 38px); line-height: 1.05; }
.row p { margin: 6px 0 0; color: var(--ink-2); font-size: 15.5px; max-width: 640px; }
.row .meta { color: var(--ink-3); text-align: right; }
.row .go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: .15s ease; }
.row:hover .go { background: var(--sig); border-color: var(--sig); color: #141311; transform: rotate(-45deg); }
@media (max-width: 760px) {
  .row { grid-template-columns: 1fr 40px; gap: 10px 14px; }
  .row > .mono:first-child { grid-column: 1 / -1; }
  .row .meta { display: none; }
}

/* library */
.shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.book { display: flex; flex-direction: column; border: 1px solid var(--line-strong); border-radius: var(--r); padding: 18px; min-height: 380px; text-decoration: none; background: var(--paper); position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.book:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 6px 0 var(--ink); }
.book .spine { display: flex; justify-content: space-between; color: var(--ink-3); }
.book .ur { font-size: 30px; line-height: 1.9; margin: auto 0 0; text-align: right; }
.book h3 { font-family: var(--f-serif); font-size: 26px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.book .by { color: var(--ink-2); font-size: 14px; margin-top: 6px; }
.book .dl { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font: 500 12.5px var(--f-mono); color: var(--ink-3); }
.book .dl b { color: var(--ink); font-weight: 500; }
.book:nth-child(1) { background: var(--invert-bg); color: var(--invert-fg); border-color: var(--invert-bg); }
.book:nth-child(1) .spine, .book:nth-child(1) .by, .book:nth-child(1) .dl { color: color-mix(in srgb, var(--invert-fg) 65%, transparent); }
.book:nth-child(1) .dl b { color: var(--invert-accent); }
.book:nth-child(1) h3 { border-color: color-mix(in srgb, var(--invert-fg) 20%, transparent); }
.book:nth-child(1):hover { color: var(--invert-fg); box-shadow: 0 6px 0 var(--sig); }
.book:nth-child(3) { background: var(--sig); color: #141311; border-color: #141311; }
.book:nth-child(3) .spine, .book:nth-child(3) .by, .book:nth-child(3) .dl, .book:nth-child(3) .dl b { color: #141311; }
.book:nth-child(3) h3 { border-color: rgba(20, 19, 17, .25); }
.book:nth-child(3):hover { color: #141311; }
@media (max-width: 1040px) { .shelf { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .shelf { grid-template-columns: 1fr; } .book { min-height: 300px; } }

/* faq */
.faq { border-top: 1px solid var(--line-strong); max-width: 920px; margin-left: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 32px; gap: 16px; align-items: center; padding: 24px 0; font-family: var(--f-serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; transition: transform .2s ease, background .2s ease; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.faq details[open] summary i { background: var(--ink); color: var(--paper); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq .a { padding: 0 48px 26px 0; color: var(--ink-2); max-width: 720px; }
.faq .a p:last-child { margin-bottom: 0; }

/* join panel (inverted) */
.panel { background: var(--invert-bg); color: var(--invert-fg); border-radius: 28px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); position: relative; overflow: hidden; }
.panel h2 { font-family: var(--f-serif); font-size: clamp(44px, 6vw, 84px); line-height: .92; letter-spacing: -.03em; }
.panel h2 em { color: var(--invert-accent); }
.panel p { color: color-mix(in srgb, var(--invert-fg) 72%, transparent); }
.panel .promise { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.panel .promise li { display: flex; gap: 12px; align-items: baseline; font-size: 15.5px; }
.panel .promise li::before { content: "₿"; color: var(--invert-accent); font-family: var(--f-mono); }
.panel .form label span { color: color-mix(in srgb, var(--invert-fg) 60%, transparent); }
.panel .form input, .panel .form select, .panel .form textarea { color: var(--invert-fg); border-color: color-mix(in srgb, var(--invert-fg) 30%, transparent); }
.panel .form input:focus, .panel .form select:focus, .panel .form textarea:focus { border-color: var(--sig); }
.panel .form select option { color: #141311; }
.panel .check { color: color-mix(in srgb, var(--invert-fg) 75%, transparent); }
@media (max-width: 860px) { .panel { grid-template-columns: 1fr; border-radius: 20px; } }

/* forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; align-content: start; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 6px; min-width: 0; }
.form label span { font: 500 11.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.form input, .form select, .form textarea { width: 100%; font: 400 17px/1.4 var(--f-sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid var(--line-strong); border-radius: 0; padding: 10px 0; outline: none; transition: border-color .15s ease; appearance: none; -webkit-appearance: none; }
.form select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--sig); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; flex: none; margin: 2px 0 0; padding: 0; border: 1.5px solid currentColor; border-radius: 5px; display: grid; place-items: center; }
.check input:checked { background: var(--sig); border-color: var(--sig); }
.check input:checked::after { content: ""; width: 5px; height: 9px; border: solid #141311; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.form .actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form .note { font-size: 13.5px; color: var(--ink-3); margin: 0; }
.panel .form .note { color: color-mix(in srgb, var(--invert-fg) 55%, transparent); }
.status { font: 500 14px/1.4 var(--f-mono); margin: 0; }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }
.panel .status.ok { color: #6fcf97; }
.panel .status.err { color: #ff8a80; }
@media (prefers-color-scheme: dark) { .panel .status.ok { color: #2f7d4f; } .panel .status.err { color: #b3261e; } }
.form.sent > :not(.actions) { opacity: .45; pointer-events: none; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* notice */
.notice { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 40px 0; color: var(--ink-2); font-size: 15px; }
.notice .mono { color: var(--ink); padding-top: 3px; }
.notice p { max-width: 820px; }
@media (max-width: 760px) { .notice { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- inner pages ---------- */
.page-hero { padding: clamp(48px, 8vw, 104px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero .mono { color: var(--ink-3); display: flex; gap: 10px; align-items: center; margin-bottom: 22px; flex-wrap: wrap; }
.page-hero .mono a { text-decoration: none; }
.page-hero h1 { font-family: var(--f-serif); font-size: clamp(46px, 7.4vw, 104px); letter-spacing: -.035em; line-height: .94; max-width: 16ch; }
.page-hero h1 em { color: var(--sig-ink); }
.page-hero .ur { font-size: clamp(22px, 3vw, 34px); color: var(--ink-3); margin-top: 14px; }
.page-hero .lede { font-size: clamp(18px, 1.7vw, 21px); color: var(--ink-2); max-width: 680px; margin: 24px 0 0; }

.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); padding: clamp(48px, 7vw, 88px) 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split h2 { font-family: var(--f-serif); font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.benefits { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-strong); counter-reset: b; }
.benefits li { counter-increment: b; display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.benefits li::before { content: "0" counter(b); font: 500 12.5px/1.9 var(--f-mono); color: var(--sig-ink); }

.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); border-top: 1px solid var(--line-strong); }
.member { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.member b { font-weight: 500; }
.member .mono { color: var(--ink-3); font-size: 11px; }

/* article */
.article { display: grid; grid-template-columns: 180px minmax(0, 68ch) 1fr; gap: 24px; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.article aside { position: sticky; top: 96px; align-self: start; color: var(--ink-3); display: grid; gap: 18px; }
.article aside div { display: grid; gap: 4px; }
.article aside b { font-weight: 500; color: var(--ink); font-size: 14.5px; }
.prose { font-size: 18.5px; line-height: 1.7; }
.prose > * + * { margin-top: 1.05em; }
.prose p { margin: 0; }
.prose h2 { font-family: var(--f-serif); font-size: clamp(30px, 3.4vw, 40px); margin-top: 1.8em; }
.prose h3 { font-weight: 600; font-size: 20px; letter-spacing: -.01em; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; margin-bottom: 0; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--sig-ink); }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 22px; border-left: 3px solid var(--sig); font-family: var(--f-serif); font-size: 26px; line-height: 1.3; }
.prose .callout { border: 1px solid var(--line-strong); border-radius: var(--r); padding: 18px 20px; background: var(--paper-2); font-size: 16px; }
.prose .callout .mono { display: block; color: var(--sig-ink); margin-bottom: 6px; }
.prose .timeline { list-style: none; padding: 0; border-left: 1.5px solid var(--ink); margin-left: 6px; }
.prose .timeline li { position: relative; padding: 0 0 18px 24px; margin: 0; }
.prose .timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 3px; background: var(--paper); border: 1.5px solid var(--ink); }
.prose .timeline li:last-child::before { background: var(--sig); border-color: var(--sig); }
.prose .timeline b { font-family: var(--f-mono); font-weight: 500; font-size: 13px; letter-spacing: .04em; display: block; color: var(--ink-3); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 500 12px var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.next { border-top: 1px solid var(--line-strong); margin-top: 3em !important; padding-top: 1.2em; }
@media (max-width: 1040px) { .article { grid-template-columns: minmax(0, 1fr); } .article aside { position: static; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; border-bottom: 1px solid var(--line); padding-bottom: 20px; } .article > div:last-child { display: none; } }
@media (max-width: 520px) { .article aside { grid-template-columns: 1fr 1fr; } .prose { font-size: 17.5px; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); padding: clamp(48px, 7vw, 88px) 0; }
.contact-grid .ways { display: grid; gap: 0; border-top: 1px solid var(--line-strong); align-content: start; }
.contact-grid .ways a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 18px; }
.contact-grid .ways a .mono { color: var(--ink-3); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.ftr { padding: clamp(56px, 8vw, 96px) 0 32px; }
.ftr-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.ftr-top h4 { font: 500 11.5px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.ftr-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ftr-top a { text-decoration: none; color: var(--ink-2); }
.ftr-top a:hover { color: var(--ink); }
.ftr-top p { color: var(--ink-2); max-width: 340px; font-size: 15px; }
.ftr-mark { font-family: var(--f-serif); font-size: clamp(64px, 16.5vw, 232px); line-height: .8; letter-spacing: -.05em; border-top: 1px solid var(--line-strong); padding-top: 24px; white-space: nowrap; overflow: hidden; }
.ftr-mark em { color: var(--sig-ink); }
.ftr-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 28px; color: var(--ink-3); }
@media (max-width: 860px) { .ftr-top { grid-template-columns: 1fr 1fr; } .ftr-top > div:first-child { grid-column: 1 / -1; } }

/* reveal on scroll (JS adds .in) */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }

@media print {
  .hdr, .ftr, .rupee, .panel, .menu-btn { display: none !important; }
  body { background: #fff; color: #000; }
}
