/* MetaMindGrowth.com — shared styles (draft 1, 2026-11-19) */
:root {
  --bg: #0e0f11;
  --surface: #16181b;
  --surface-2: #1d2024;
  --line: #2a2e33;
  --text: #ece8e2;
  --muted: #a39d94;
  --copper: #d9a27f;
  --copper-strong: #e8b48f;
  --teal: #4fc2bb;
  --ember: #f0904a;
  --radius: 14px;
  --max: 1120px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-quote: "Newsreader", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 18px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-strong); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--copper-strong); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; color: #000; padding: 8px 12px; z-index: 10; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 400; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 400; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.eyebrow { font-family: var(--font-head); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--copper); margin-bottom: 1rem; }
.lead { font-size: 1.2rem; color: #d6d1c9; max-width: 38em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(14,15,17,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.logo { font-family: var(--font-head); font-size: 1.15rem; letter-spacing: .04em; color: var(--text); text-decoration: none; }
.logo span { color: var(--copper); }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }


/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.35em; border-radius: 999px; font-family: var(--font-head); font-size: .95rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--copper); color: #16110d; }
.btn-primary:hover { background: var(--copper-strong); color: #16110d; }
.btn-ghost { border-color: #4a4640; color: var(--text); }
.btn-ghost:hover { border-color: var(--copper); color: var(--copper-strong); }
.nav .btn { padding: .55em 1.1em; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 8vw, 96px); }
.hero .waves { position: absolute; inset: auto 0 -40px 0; width: 100%; height: 75%; color: var(--copper); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 13em; }
.hero-books { position: relative; height: 420px; }
.hero-books img { position: absolute; width: 230px; border-radius: 4px; box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.hero-books img:first-child { right: 120px; top: 0; transform: rotate(-4deg); }
.hero-books img:last-child { right: 0; top: 60px; transform: rotate(3deg); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-books { height: 340px; max-width: 360px; } .hero-books img { width: 190px; } }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: 48px; }

/* Movements */
.movements { display: grid; gap: 28px; }
.movement { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.movement .label { font-family: var(--font-head); }
.movement .label .num { display: block; font-size: .8rem; letter-spacing: .2em; color: var(--muted); }
.movement .label strong { display: block; font-size: 1.9rem; font-weight: 400; margin: .2em 0 .3em; }
.movement .label em { font-style: normal; color: var(--muted); font-size: .95rem; }
.movement.chaos strong { color: #c9c4bd; }
.movement.signal strong { color: var(--teal); }
.movement.growth strong { color: var(--copper); }
.book-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.book { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: start; }
.book img { border-radius: 3px; box-shadow: 0 12px 28px rgba(0,0,0,.5); }
.book h3 { margin-bottom: .25em; }
.book h3 a { color: var(--text); text-decoration: none; }
.book h3 a:hover { color: var(--copper-strong); }
.book .meta { font-size: .85rem; color: var(--muted); margin-bottom: .6em; }
.book p { font-size: .97rem; color: #cfcac2; }
.book .links { display: flex; gap: 16px; flex-wrap: wrap; font-size: .92rem; font-family: var(--font-head); }
@media (max-width: 760px) { .movement { grid-template-columns: 1fr; gap: 20px; padding: 26px; } }

/* Start here */
.start { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-head); color: var(--copper); letter-spacing: .15em; font-size: .85rem; margin-bottom: 14px; }
.step p { color: #cfcac2; font-size: .97rem; }
@media (max-width: 860px) { .start { grid-template-columns: 1fr; } }

/* Quote */
.pull { font-family: var(--font-quote); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.3; max-width: 26em; margin: 0; color: #f1ede6; }
.pull cite { display: block; margin-top: 1rem; font: normal .85rem var(--font-body); color: var(--muted); }

/* About */
.about { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.about img { width: 220px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; filter: grayscale(.25); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about img { width: 160px; } }

/* Signup */
.signup { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.signup form { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input[type=email] { flex: 1 1 220px; padding: .85em 1.1em; border-radius: 999px; border: 1px solid #3a3e44; background: var(--bg); color: var(--text); font: inherit; font-size: 1rem; }
.signup input[type=email]:focus { border-color: var(--copper); outline: none; }
.form-note { flex-basis: 100%; font-size: .82rem; color: var(--muted); margin: 6px 0 0; }
.form-done { display: none; padding: 18px 20px; border: 1px solid var(--copper); border-radius: 12px; }
.form-done.show { display: block; }
@media (max-width: 860px) { .signup { grid-template-columns: 1fr; } }

/* Also by */
.also { display: grid; grid-template-columns: 160px 1fr; gap: 32px; align-items: center; padding: 28px; border-radius: var(--radius); background: #fbe9ee; color: #3a2a2e; }
.also img { border-radius: 6px; }
.also h3 { color: #c2264f; }
.also a { color: #b01f46; }
@media (max-width: 600px) { .also { grid-template-columns: 1fr; } .also img { width: 140px; } }

/* Book page */
.book-hero { padding: clamp(48px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.book-hero .wrap { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; position: relative; }
.book-hero .cover { border-radius: 4px; box-shadow: 0 40px 80px rgba(0,0,0,.65); }
.book-hero h1 { margin-bottom: .15em; }
.subtitle { font-family: var(--font-head); font-size: 1.25rem; color: var(--copper); margin-bottom: 1.4rem; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 1.4rem 0 0; list-style: none; font-size: .9rem; color: var(--muted); }
.facts li::before { content: "· "; color: var(--copper); }
.facts li:first-child::before { content: ""; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { color: var(--muted); }
@media (max-width: 860px) { .book-hero .wrap { grid-template-columns: 1fr; gap: 36px; } .book-hero .cover { max-width: 260px; } }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.three .card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.three .card h3 { font-weight: 400; font-size: 1.5rem; }
.three .card p { color: #cfcac2; font-size: .98rem; margin: 0; }
@media (max-width: 860px) { .three { grid-template-columns: 1fr; } }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit ul { margin: 0; padding-left: 1.1em; }
.fit li { margin-bottom: .5em; color: #cfcac2; }
.fit > div { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }
.next { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.next a { display: grid; grid-template-columns: 90px 1fr; gap: 20px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); }
.next a:hover { border-color: var(--copper); }
.next .k { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .next { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: .9rem; color: var(--muted); }
.support { padding: 22px 24px; border-left: 3px solid var(--copper); background: var(--surface); border-radius: 0 10px 10px 0; color: #cfcac2; margin-bottom: 36px; }
.support strong { color: var(--text); }
.footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-row a { color: var(--muted); }
.book-hero .waves { position: absolute; inset: auto 0 -60px 0; width: 100%; height: 60%; color: var(--copper); opacity: .55; pointer-events: none; }
.hero .waves, .book-hero .waves { -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 40%, #000 75%); mask-image: linear-gradient(90deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 40%, #000 75%); }
.hero .waves { height: 62%; }
.nav .btn { white-space: nowrap; }
@media (max-width: 420px) { .logo { font-size: 1rem; } .nav .btn { font-size: .8rem; padding: .5em .9em; } }
/* Per-book accents: each page takes its accent from its cover */
body.t-chaos { --copper: #cfc9c0; --copper-strong: #ffffff; }
body.t-signal { --copper: #4fc2bb; --copper-strong: #86ddd7; }
body.t-evie { --copper: #ee5f86; --copper-strong: #ff9bb5; }
.formats { margin: 1.4rem 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .95rem; color: #cfcac2; }
.formats li::before { content: "— "; color: var(--copper); }
.inside { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.inside .card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.inside .card h3 { color: var(--copper); font-size: 1.1rem; }
.inside .card p { margin: 0; color: #cfcac2; font-size: .97rem; }
.terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.term { padding: 26px; border-left: 2px solid var(--copper); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.term h3 { font-size: 1.15rem; }
.term p { margin: 0; color: #cfcac2; font-size: .97rem; }
.themes { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.themes li { padding: .45em 1em; border: 1px solid #3a3e44; border-radius: 999px; font-size: .95rem; color: #d6d1c9; }
.prose { max-width: 40em; }
.prose p { color: #d6d1c9; }
/* Idea pages */
body.t-growth { }
.answer { margin-top: 1.6rem; padding: 24px 26px; border: 1px solid var(--copper); border-radius: var(--radius); background: rgba(255,255,255,.02); max-width: 44em; }
.answer p { margin: 0; font-size: 1.1rem; color: #ece8e2; }
.answer .k { display: block; font-family: var(--font-head); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--copper); margin-bottom: .6rem; }
.byline { font-size: .88rem; color: var(--muted); margin-top: 1.2rem; }
.article { max-width: 44em; }
.article h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 2.2em; }
.article h2:first-child { margin-top: 0; }
.article p, .article li { color: #d6d1c9; }
.article ul, .article ol { padding-left: 1.2em; }
.article li { margin-bottom: .5em; }
.article table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; font-size: .96rem; }
.article th, .article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { font-family: var(--font-head); font-weight: 500; color: var(--text); }
.from-book { margin: 2.4rem 0; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start; }
.from-book .k { font-family: var(--font-head); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--copper); }
.from-book h3 { margin: .3em 0 .5em; }
.from-book p { color: #d6d1c9; font-size: .98rem; }
@media (max-width: 600px) { .from-book { grid-template-columns: 1fr; } .from-book img { width: 96px; } }
.sources { font-size: .9rem; color: var(--muted); }
.sources li { color: var(--muted); }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.related a { display: block; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); font-family: var(--font-head); }
.related a:hover { border-color: var(--copper); }
.related a span { display: block; font-family: var(--font-body); font-size: .88rem; color: var(--muted); margin-top: .3em; }
.idea-groups { display: grid; gap: 28px; }
.idea-group h3 { font-weight: 400; font-size: 1.5rem; }
.mv-signal{color:var(--teal)}.mv-growth{color:#d9a27f}.mv-chaos{color:#cfc9c0}
body { overflow-x: clip; }
@media (max-width: 420px) { .wrap { width: calc(100% - 32px); } .site-header .wrap { gap: 10px; } }

/* Mobile menu (hamburger) */
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.site-header.open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .site-header .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 20px; background: #0e0f11; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.4); }
  .site-header.open .nav { display: flex; }
  .site-header .nav a { display: block; padding: 14px 0; font-size: 1.1rem; color: var(--text); border-bottom: 1px solid var(--line); }
  .site-header .nav a:last-child { border-bottom: 0; }
  .site-header .nav a[aria-current="page"] { color: var(--copper-strong); }
}
@media (prefers-reduced-motion: reduce) { .menu-toggle span { transition: none; } }
