:root {
  --ink: #11110f;
  --paper: #f7f4eb;
  --paper-strong: #fffdf6;
  --muted: #6f6a5e;
  --gold: #caa35a;
  --green: #0f4d3d;
  --ruby: #8e2f2f;
  --line: rgba(17, 17, 15, 0.12);
  --soft-shadow: 0 18px 50px rgba(17, 17, 15, 0.14);
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(15, 77, 61, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(202, 163, 90, 0.08) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid rgba(202, 163, 90, 0.78);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 253, 246, 0.82), rgba(247, 244, 235, 0.64)),
    rgba(247, 244, 235, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand {
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
}

.header-credit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: max-content;
  padding: 7px 10px 7px 7px;
  border: 1px solid rgba(202, 163, 90, 0.36);
  border-radius: var(--radius);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 253, 246, 0.66), rgba(202, 163, 90, 0.18)),
    rgba(255, 253, 246, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 253, 246, 0.72),
    0 10px 28px rgba(17, 17, 15, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.header-credit:hover {
  border-color: rgba(202, 163, 90, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 253, 246, 0.82),
    0 14px 34px rgba(17, 17, 15, 0.12);
  transform: translateY(-1px);
}

.header-credit img {
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  object-fit: cover;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(760px, 82vh);
  padding: 86px 72px 36px;
  overflow: hidden;
  color: var(--paper-strong);
  background:
    linear-gradient(90deg, rgba(17, 17, 15, 0.97), rgba(17, 17, 15, 0.73) 58%, rgba(17, 17, 15, 0.42)),
    repeating-linear-gradient(90deg, rgba(202, 163, 90, 0.09) 0 1px, transparent 1px 78px),
    linear-gradient(135deg, #0f4d3d, #11110f 48%, #8e2f2f);
}

.hero::before {
  content: "CAPITAL · CASHFLOW · CAPITAL";
  position: absolute;
  right: -0.1em;
  bottom: -0.18em;
  color: rgba(247, 244, 235, 0.06);
  font-size: 15rem;
  font-weight: 900;
  line-height: 0.8;
}

.hero-media {
  position: absolute;
  right: clamp(18px, 7vw, 90px);
  bottom: 58px;
  width: min(34vw, 340px);
  min-width: 210px;
  z-index: 2;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px solid rgba(202, 163, 90, 0.65);
  border-radius: var(--radius);
  transform: rotate(-4deg);
}

.hero-portrait {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 8px solid rgba(247, 244, 235, 0.88);
  border-radius: var(--radius);
  filter: contrast(1.04) saturate(1.05);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
}

.instagram-link {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 14px auto 0;
  padding: 9px 12px;
  border: 1px solid rgba(202, 163, 90, 0.55);
  color: var(--paper-strong);
  background: rgba(17, 17, 15, 0.72);
  border-radius: var(--radius);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding-right: min(30vw, 360px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 7.4rem;
  line-height: 0.86;
}

h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(247, 244, 235, 0.86);
  font-size: 1.18rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--ink);
  border-color: rgba(255, 253, 246, 0.32);
  background:
    linear-gradient(135deg, #f1d992, var(--gold) 54%, #a8752e);
  box-shadow:
    inset 0 1px 0 rgba(255, 253, 246, 0.56),
    0 14px 30px rgba(202, 163, 90, 0.24);
}

.button-secondary {
  color: var(--paper-strong);
  border-color: rgba(247, 244, 235, 0.34);
  background:
    linear-gradient(135deg, rgba(247, 244, 235, 0.16), rgba(247, 244, 235, 0.04)),
    rgba(247, 244, 235, 0.08);
  box-shadow: inset 0 1px 0 rgba(247, 244, 235, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bio-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(247, 244, 235, 0.18);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.bio-strip span {
  padding: 8px 10px;
  border: 1px solid rgba(202, 163, 90, 0.42);
  border-radius: var(--radius);
  color: rgba(247, 244, 235, 0.84);
  background: rgba(17, 17, 15, 0.2);
}

.profile-band,
.manifest,
.club,
.method,
.consulting,
.calculator,
.forbes-board,
.khokh-coin,
.books,
.quotes,
.testimonials,
.moments,
.certificate,
.developer-signature,
.final-cta {
  padding: 76px 72px;
}

.profile-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: 34px;
  align-items: start;
  background: var(--paper-strong);
}

.profile-copy p {
  max-width: 760px;
  margin: 0;
  font-size: 2.15rem;
  line-height: 1.24;
}

.profile-stats {
  display: grid;
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.profile-stats div {
  padding: 18px;
  background: var(--paper);
}

.profile-stats dt {
  color: var(--muted);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-stats dd {
  margin: 8px 0 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.section-heading {
  max-width: 820px;
}

.section-heading h2,
.consulting h2 {
  margin: 0;
  font-size: 4.2rem;
  line-height: 0.98;
}

.section-heading p:not(.eyebrow),
.consulting-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.principle {
  min-height: 330px;
  padding: 24px;
  background: var(--paper-strong);
}

.principle-number {
  display: block;
  color: var(--gold);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
}

.principle h3 {
  margin: 64px 0 16px;
  font-size: 1.55rem;
  line-height: 1.08;
}

.principle p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.consulting {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 40px;
  align-items: center;
  color: var(--paper-strong);
  background: var(--ink);
}

.consulting-copy {
  max-width: 660px;
}

.consulting-copy p {
  color: rgba(247, 244, 235, 0.72);
}

.consulting-price {
  width: max-content;
  max-width: 100%;
  margin: 22px 0 18px;
  padding: 10px 14px;
  border: 1px solid rgba(202, 163, 90, 0.72);
  border-radius: var(--radius);
  color: var(--gold);
  background: rgba(202, 163, 90, 0.08);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.vehicle-card {
  margin: 0;
  border: 1px solid rgba(202, 163, 90, 0.35);
  border-radius: var(--radius);
  background: rgba(247, 244, 235, 0.05);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.vehicle-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f4f0e6;
}

.vehicle-card figcaption {
  padding: 14px 16px 16px;
  color: rgba(247, 244, 235, 0.72);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

.book-shelf {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 18px;
  margin-top: 34px;
}

.book-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: var(--soft-shadow);
}

.featured-book {
  grid-template-columns: 280px minmax(0, 1fr);
  border-color: rgba(202, 163, 90, 0.52);
}

.secondary-book {
  align-self: stretch;
  grid-template-columns: 210px minmax(0, 1fr);
  opacity: 0.88;
}

.book-card img {
  display: block;
  width: 100%;
  aspect-ratio: 0.72 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.book-label {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.book-card h3 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.05;
}

.book-card p:not(.book-label) {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.book-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 46px;
  margin-top: 18px;
  padding: 0 14px;
  border: 1px solid rgba(202, 163, 90, 0.62);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--gold);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.book-truth-button {
  cursor: pointer;
}

.book-download-disabled {
  cursor: not-allowed;
  color: rgba(17, 17, 15, 0.62);
  background: rgba(202, 163, 90, 0.18);
  border-color: rgba(17, 17, 15, 0.16);
}

.book-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.book-action-row .book-download {
  flex: 0 0 auto;
  margin-top: 0;
}

.book-action-note {
  color: var(--muted);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.35;
}

.club {
  color: var(--paper-strong);
  background:
    linear-gradient(90deg, rgba(202, 163, 90, 0.08), transparent 38%),
    var(--ink);
}

.club .section-heading p:not(.eyebrow),
.testimonials .section-heading p:not(.eyebrow) {
  color: rgba(247, 244, 235, 0.72);
}

.tier-grid,
.method-list,
.quote-grid,
.testimonial-grid,
.moment-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.moment-grid {
  align-items: start;
}

.tier-grid,
.quote-grid,
.testimonial-grid,
.moment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tier-card,
.method-list article,
.testimonial-grid article,
.moments figure {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: var(--soft-shadow);
}

.tier-card {
  min-height: 260px;
  border-color: rgba(202, 163, 90, 0.26);
  color: var(--paper-strong);
  background: rgba(247, 244, 235, 0.06);
}

.premium-tier {
  background: rgba(202, 163, 90, 0.14);
}

.tier-index {
  color: var(--gold);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 900;
}

.tier-card h3,
.method-list h3 {
  margin: 48px 0 12px;
  font-size: 1.55rem;
  line-height: 1.08;
}

.tier-card p,
.method-list p,
.testimonial-grid p {
  margin: 0;
  color: inherit;
  line-height: 1.6;
}

.method,
.calculator,
.quotes,
.moments,
.certificate {
  background: var(--paper-strong);
}

.method-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.method-list article {
  min-height: 250px;
  background:
    linear-gradient(180deg, rgba(202, 163, 90, 0.1), transparent 52%),
    var(--paper);
}

.method-list h3 {
  margin-top: 0;
}

.calculator-panel {
  max-width: 780px;
  margin-top: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(202, 163, 90, 0.12), transparent 48%),
    var(--paper);
  box-shadow: var(--soft-shadow);
}

.calculator-panel label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calculator-controls {
  display: flex;
  gap: 12px;
}

.calculator-controls input {
  width: min(320px, 100%);
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper-strong);
  font: 900 1rem "Trebuchet MS", "Segoe UI", sans-serif;
}

.calculator-result {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.35;
}

.forbes-board {
  color: var(--paper-strong);
  background:
    repeating-linear-gradient(90deg, rgba(202, 163, 90, 0.08) 0 1px, transparent 1px 64px),
    var(--green);
}

.ranking-table {
  display: grid;
  gap: 1px;
  margin-top: 34px;
  border: 1px solid rgba(202, 163, 90, 0.42);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(202, 163, 90, 0.42);
}

.ranking-table div {
  display: grid;
  grid-template-columns: 64px minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: rgba(17, 17, 15, 0.24);
}

.ranking-table span,
.ranking-table em {
  color: rgba(247, 244, 235, 0.7);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-style: normal;
}

.ranking-table strong {
  font-size: 1.4rem;
}

.khokh-coin {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: center;
  color: var(--paper-strong);
  background:
    radial-gradient(circle at 78% 24%, rgba(241, 217, 146, 0.28), transparent 30%),
    radial-gradient(circle at 18% 16%, rgba(247, 244, 235, 0.08), transparent 28%),
    linear-gradient(135deg, #0b1815, var(--green) 52%, #11110f);
}

.khokh-copy {
  max-width: 720px;
}

.khokh-copy h2 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  line-height: 0.88;
}

.khokh-copy p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(247, 244, 235, 0.76);
  font-size: 1.12rem;
  line-height: 1.75;
}

.coin-status {
  display: inline-grid;
  gap: 6px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(202, 163, 90, 0.46);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(247, 244, 235, 0.12), rgba(202, 163, 90, 0.1)),
    rgba(17, 17, 15, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 253, 246, 0.16);
  backdrop-filter: blur(14px);
}

.coin-status span {
  color: var(--gold);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.coin-status strong {
  font-size: 1.2rem;
}

.coin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.coin-visual {
  position: relative;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(202, 163, 90, 0.44);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(247, 244, 235, 0.16), rgba(247, 244, 235, 0.04)),
    rgba(17, 17, 15, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 253, 246, 0.18),
    0 34px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.coin-visual::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 999px;
  background: rgba(202, 163, 90, 0.36);
  filter: blur(54px);
}

.coin-visual img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(202, 163, 90, 0.38);
  border-radius: var(--radius);
  object-fit: cover;
}

.coin-visual figcaption {
  position: relative;
  margin-top: 12px;
  color: rgba(247, 244, 235, 0.72);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 900;
  text-align: center;
}

.coin-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.coin-grid article {
  min-height: 170px;
  padding: 20px;
  border: 1px solid rgba(202, 163, 90, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(247, 244, 235, 0.1), rgba(247, 244, 235, 0.03)),
    rgba(17, 17, 15, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 253, 246, 0.1);
  backdrop-filter: blur(12px);
}

.coin-grid span {
  color: var(--gold);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.coin-grid strong {
  display: block;
  margin-top: 34px;
  font-size: 1.35rem;
  line-height: 1.1;
}

.coin-grid p {
  margin: 12px 0 0;
  color: rgba(247, 244, 235, 0.7);
  line-height: 1.55;
}

.quote-grid blockquote {
  min-height: 220px;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(202, 163, 90, 0.12), transparent 48%),
    var(--paper);
  box-shadow: var(--soft-shadow);
  font-size: 1.55rem;
  line-height: 1.16;
}

.testimonials {
  color: var(--paper-strong);
  background: var(--ink);
}

.testimonial-grid article {
  border-color: rgba(202, 163, 90, 0.28);
  background: rgba(247, 244, 235, 0.07);
}

.testimonial-grid span {
  display: block;
  margin-top: 18px;
  color: var(--gold);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 900;
}

.moments figure {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.video-moment {
  justify-self: center;
  width: min(100%, 260px);
}

.moments img,
.moments video {
  display: block;
  width: 100%;
  background: var(--ink);
}

.video-moment video {
  aspect-ratio: 9 / 16;
  object-fit: contain;
}

.image-moment img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--paper);
}

.moments figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 900;
}

.certificate {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.9fr);
  gap: 32px;
  align-items: center;
}

.certificate h2,
.final-cta h2 {
  margin: 0;
  font-size: 3.4rem;
  line-height: 1;
}

.certificate p {
  color: var(--muted);
  line-height: 1.7;
}

.certificate-paper {
  padding: 34px;
  border: 1px solid rgba(202, 163, 90, 0.58);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(202, 163, 90, 0.18), transparent 44%),
    var(--paper);
  box-shadow: var(--soft-shadow);
  transform: rotate(-1.5deg);
  opacity: 0.62;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.certificate-paper.is-visible {
  opacity: 1;
  transform: rotate(0deg);
}

.certificate-paper span {
  color: var(--gold);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.certificate-paper strong {
  display: block;
  margin-top: 22px;
  font-size: 2.4rem;
  line-height: 1;
}

.truth-dialog {
  width: min(680px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  color: var(--paper-strong);
  background: transparent;
}

.truth-dialog::backdrop {
  background:
    radial-gradient(circle at 50% 20%, rgba(202, 163, 90, 0.18), transparent 38%),
    rgba(17, 17, 15, 0.72);
  backdrop-filter: blur(8px);
}

.truth-card {
  padding: clamp(22px, 5vw, 42px);
  border: 1px solid rgba(202, 163, 90, 0.48);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(247, 244, 235, 0.14), rgba(247, 244, 235, 0.04) 48%, rgba(202, 163, 90, 0.14)),
    linear-gradient(135deg, #11110f, #0f4d3d 68%, #11110f);
  box-shadow:
    inset 0 1px 0 rgba(255, 253, 246, 0.2),
    0 36px 90px rgba(0, 0, 0, 0.38);
}

.truth-card h2 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4rem);
  line-height: 0.95;
}

.truth-card p:not(.eyebrow) {
  color: rgba(247, 244, 235, 0.76);
  font-size: 1.08rem;
  line-height: 1.7;
}

.truth-highlight {
  padding: 16px;
  border: 1px solid rgba(202, 163, 90, 0.36);
  border-radius: var(--radius);
  background: rgba(202, 163, 90, 0.12);
  font-weight: 700;
}

.truth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.final-cta {
  min-height: 360px;
  color: var(--paper-strong);
  background:
    linear-gradient(90deg, rgba(17, 17, 15, 0.94), rgba(17, 17, 15, 0.58)),
    linear-gradient(135deg, var(--ruby), var(--green));
}

.final-cta h2 {
  max-width: 820px;
  margin-bottom: 24px;
}

.developer-signature {
  color: var(--paper-strong);
  background:
    radial-gradient(circle at 14% 18%, rgba(241, 217, 146, 0.24), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(255, 253, 246, 0.08), transparent 26%),
    linear-gradient(135deg, #11110f, #0f4d3d 58%, #0a2e27 78%, #11110f);
}

.developer-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  max-width: 980px;
  padding: 22px;
  border: 1px solid rgba(202, 163, 90, 0.38);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(247, 244, 235, 0.16), rgba(247, 244, 235, 0.04) 46%, rgba(202, 163, 90, 0.1)),
    rgba(17, 17, 15, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 253, 246, 0.2),
    0 28px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.developer-card > img {
  width: 96px;
  height: 96px;
  border: 1px solid rgba(202, 163, 90, 0.48);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.developer-card h2 {
  margin: 0;
  font-size: 2.65rem;
  line-height: 1;
}

.developer-card p:not(.eyebrow) {
  max-width: 620px;
  margin: 12px 0 0;
  color: rgba(247, 244, 235, 0.72);
  line-height: 1.65;
}

.developer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.developer-socials a {
  padding: 8px 10px;
  border: 1px solid rgba(247, 244, 235, 0.18);
  border-radius: var(--radius);
  color: rgba(247, 244, 235, 0.86);
  background: rgba(247, 244, 235, 0.08);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.developer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 253, 246, 0.28);
  border-radius: var(--radius);
  color: var(--ink);
  background:
    linear-gradient(135deg, #f1d992, var(--gold) 58%, #9d6d2c);
  box-shadow:
    inset 0 1px 0 rgba(255, 253, 246, 0.52),
    0 18px 36px rgba(202, 163, 90, 0.22);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    background-color 160ms ease;
}

.developer-link:hover {
  background:
    linear-gradient(135deg, #ffe7a8, #d8ad5e 58%, #a8752e);
  transform: translateY(-1px);
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  color: var(--paper-strong);
  background:
    radial-gradient(circle at 20% 20%, rgba(202, 163, 90, 0.2), transparent 32%),
    linear-gradient(135deg, var(--ink), var(--green));
}

.error-shell {
  width: min(720px, calc(100vw - 32px));
  padding: clamp(24px, 6vw, 54px);
  border: 1px solid rgba(202, 163, 90, 0.42);
  border-radius: var(--radius);
  background: rgba(247, 244, 235, 0.08);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.error-shell h1 {
  font-size: clamp(3rem, 10vw, 6rem);
}

.error-shell p:not(.eyebrow) {
  color: rgba(247, 244, 235, 0.76);
  line-height: 1.7;
}

@media (max-width: 1120px) {
  .method-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .tier-grid,
  .quote-grid,
  .testimonial-grid,
  .moment-grid,
  .certificate {
    grid-template-columns: 1fr;
  }

  .ranking-table div {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .ranking-table em {
    grid-column: 2;
  }

  .video-moment {
    width: min(100%, 320px);
  }
}

@media (max-width: 700px) {
  .method-list {
    grid-template-columns: 1fr;
  }

  .calculator-controls {
    flex-direction: column;
  }
}

@media (max-width: 920px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 14px;
    align-items: center;
    padding-block: 12px;
  }

  .nav-links {
    align-items: flex-start;
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px 14px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 0.82rem;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
  }

  .header-credit {
    max-width: 210px;
    overflow: hidden;
  }

  .header-credit span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    align-items: stretch;
    gap: 28px;
    padding: 54px 28px 28px;
  }

  .hero::before {
    font-size: 8rem;
  }

  h1 {
    font-size: 4.6rem;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-media {
    position: relative;
    right: auto;
    bottom: auto;
    order: 2;
    width: min(320px, 72vw);
    min-width: 0;
    margin-inline: auto;
    opacity: 1;
  }

  .hero-content {
    order: 1;
  }

  .bio-strip {
    order: 3;
    margin-top: 0;
  }

  .profile-band,
  .consulting,
  .book-shelf,
  .principles {
    grid-template-columns: 1fr;
  }

  .profile-band,
  .manifest,
  .club,
  .method,
  .consulting,
  .calculator,
  .forbes-board,
  .khokh-coin,
  .books,
  .developer-signature {
    padding: 56px 28px;
  }

  .khokh-coin {
    grid-template-columns: 1fr;
  }

  .coin-grid {
    grid-template-columns: 1fr;
  }

  .profile-copy p {
    font-size: 1.7rem;
  }

  .section-heading h2,
  .consulting h2 {
    font-size: 3rem;
  }

  .developer-card {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .developer-card > img {
    width: 76px;
    height: 76px;
  }

  .developer-link {
    grid-column: 1 / -1;
    width: max-content;
  }

  .principle {
    min-height: auto;
  }

  .principle h3 {
    margin-top: 28px;
  }
}

@media (max-width: 700px) {
  .site-header {
    display: flex;
    min-height: 56px;
    padding: 8px 16px;
  }

  .nav-links {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .header-credit {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 6px;
    margin-left: auto;
  }

  .header-credit span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
  }

  .header-credit img {
    width: 28px;
    height: 28px;
  }

  .hero {
    padding: 42px 16px 28px;
  }

  .hero-media {
    width: min(260px, 78vw);
  }

  .instagram-link {
    font-size: 0.82rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  h1 {
    font-size: clamp(2.9rem, 15vw, 3.55rem);
  }

  .hero::before {
    font-size: 5.4rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .coin-actions,
  .truth-actions {
    width: 100%;
  }

  .profile-band,
  .manifest,
  .club,
  .method,
  .consulting,
  .calculator,
  .forbes-board,
  .khokh-coin,
  .quotes,
  .testimonials,
  .moments,
  .certificate,
  .final-cta,
  .developer-signature,
  .books {
    padding-inline: 16px;
  }

  .profile-copy p {
    font-size: 1.42rem;
  }

  .video-moment {
    width: min(100%, 280px);
  }

  .section-heading h2,
  .consulting h2,
  .certificate h2,
  .final-cta h2,
  .developer-card h2 {
    font-size: 2.35rem;
  }

  .developer-card {
    grid-template-columns: 1fr;
  }

  .developer-link {
    width: 100%;
  }

  .book-card,
  .featured-book,
  .secondary-book {
    grid-template-columns: 1fr;
  }

  .book-card img {
    max-width: 230px;
    margin-inline: auto;
  }

  .book-action-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .quote-grid blockquote {
    min-height: auto;
    font-size: 1.25rem;
  }
}
