/* ============ Concept H — "Manifesto" ============
   Typographic essay: near-white paper, huge statements,
   numbered theses, zero mockups. The copy IS the design. */

:root {
  --paper: #fbfbf9;
  --ink: #101113;
  --ink-dim: #4c4f55;
  --ink-faint: #9a9da3;
  --accent: #2f6ae0;
  --rule: rgba(16, 17, 19, 0.12);
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2 { font-family: var(--font-display); letter-spacing: -0.03em; }

/* ---- top bar ---- */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 32px;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  text-decoration: none;
}
.wordmark .mark { width: 24px; height: 24px; color: var(--accent); }
.top-link {
  font-size: 14px; font-weight: 500; color: var(--ink-dim);
  text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 2px;
}
.top-link:hover { color: var(--ink); border-color: var(--ink); }

/* ---- opening ---- */
.open { max-width: 1060px; margin: 0 auto; padding: 110px 32px 130px; }
.kicker {
  font-size: 15px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--accent); margin-bottom: 26px;
}
.open h1 {
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.04; font-weight: 700;
}
.open h1 em { font-style: normal; color: var(--accent); }

/* ---- theses ---- */
.thesis {
  max-width: 1060px; margin: 0 auto; padding: 72px 32px;
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 130px 1fr; gap: 18px 40px;
}
.num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 19px; color: var(--accent);
  padding-top: 14px;
}
.thesis h2 {
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.08; font-weight: 700;
  grid-column: 2;
}
.thesis p {
  grid-column: 2;
  font-size: 18px; color: var(--ink-dim);
  max-width: 640px;
}

/* ---- close ---- */
.close {
  max-width: 1060px; margin: 0 auto; padding: 110px 32px 130px;
  border-top: 1px solid var(--rule);
}
.close h2 {
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.15; font-weight: 700; max-width: 880px;
  margin-bottom: 44px;
}
.close-ctas { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.btn-solid {
  display: inline-block; font-weight: 600; font-size: 16.5px;
  color: #fff; background: var(--ink); text-decoration: none;
  padding: 16px 32px; border-radius: 12px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-solid:hover { background: var(--accent); transform: translateY(-2px); }
.btn-quiet {
  font-weight: 600; font-size: 16px; color: var(--ink-dim);
  text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 3px;
}
.btn-quiet:hover { color: var(--ink); border-color: var(--ink); }
.close-sub { margin-top: 26px; font-size: 14px; color: var(--ink-faint); }

/* ---- footer ---- */
.footer {
  border-top: 1px solid var(--rule);
  padding: 34px 32px 46px;
  max-width: 1060px; margin: 0 auto;
}
.footer p { font-size: 13px; color: var(--ink-faint); margin-bottom: 6px; }
.footer a { text-decoration: none; color: var(--ink-dim); }

/* ---- reveal ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- design switcher ---- */
.dswitch {
  position: fixed; bottom: 18px; right: 18px; z-index: 999;
  display: flex; gap: 3px; align-items: center;
  padding: 7px 10px; border-radius: 99px;
  background: rgba(10, 12, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  font-size: 11.5px; font-weight: 600; color: #9aa1ac;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.dswitch span { padding: 0 7px; letter-spacing: 0.08em; text-transform: uppercase; font-size: 10px; }
.dswitch a { color: #cdd2da; text-decoration: none; padding: 4px 9px; border-radius: 99px; }
.dswitch a:hover { background: rgba(255, 255, 255, 0.1); }
.dswitch a.active { background: #3b82f6; color: #fff; }
@media (max-width: 600px) { .dswitch span { display: none; } }

/* ---- responsive ---- */
@media (max-width: 720px) {
  .open { padding: 70px 24px 84px; }
  .thesis { grid-template-columns: 1fr; padding: 52px 24px; gap: 8px; }
  .num { padding-top: 0; }
  .thesis h2, .thesis p { grid-column: 1; }
  .close { padding: 76px 24px 90px; }
}
