/* ===========================================================
   Nobody Knows What You Do — launch site
   Palette pulled from the book cover: warm charcoal + teal
   =========================================================== */

:root {
  --bg:        #14191b;
  --bg-2:      #191f21;
  --bg-3:      #1e2528;
  --panel:     #202a2c;
  --ink:       #e9edeb;
  --ink-soft:  #c3ccc9;
  --muted:     #8c9a96;
  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.14);

  --teal:      #35c4a3;
  --teal-deep: #1e8f78;
  --mint:      #7fd8be;

  --maxw: 1160px;
  --pad: clamp(20px, 5vw, 48px);

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--mint); text-decoration: none; }
a:hover { color: var(--teal); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.narrow { max-width: 820px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--teal); color: #04110d; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 12px; top: 12px; }

.visually-hidden, .btn .visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}

/* --- background canvas: drifting question marks --- */
#qfield {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; opacity: .55;
}

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-display); font-weight: 700; font-size: .96rem;
  letter-spacing: .01em; padding: 14px 26px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: .86rem; }
.btn-solid { background: var(--teal); color: #052018; }
.btn-solid:hover { background: var(--mint); color: #052018; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--teal); color: var(--mint); transform: translateY(-2px); }

/* --- header --- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(20,25,27,.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(20,25,27,.9); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-weight: 800; }
.brand:hover { color: var(--ink); }
.brand-mark {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--teal); color: #052018; font-family: var(--font-serif); font-style: italic; font-size: 1.1rem;
}
.brand-name { font-size: .98rem; letter-spacing: .01em; }
.nav { margin-left: auto; display: flex; gap: 26px; }
.nav a { color: var(--ink-soft); font-weight: 500; font-size: .93rem; }
.nav a:hover { color: var(--mint); }
.header-inner .btn { margin-left: 4px; }

@media (max-width: 860px) {
  .nav { display: none; }
  .header-inner .btn { margin-left: auto; }
  .brand-name { display: none; }
}

/* --- hero --- */
.hero { position: relative; z-index: 1; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px;
  font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 14px var(--teal); }
.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.9rem, 7.4vw, 5.6rem); line-height: .96; letter-spacing: -.02em;
  margin: 0 0 20px; text-transform: uppercase;
}
.accent { color: var(--teal); }
.hero-sub { font-size: clamp(1.05rem, 2.4vw, 1.4rem); color: var(--ink); font-weight: 500; margin: 0 0 20px; max-width: 30ch; }
.hero-lede { color: var(--ink-soft); max-width: 46ch; margin: 0 0 30px; }
.hero-lede em { font-family: var(--font-serif); font-style: italic; color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.launch-line {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.launch-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.launch-date { font-family: var(--font-display); font-weight: 800; color: var(--mint); font-size: 1.05rem; }
.cd { color: var(--muted); font-size: .92rem; font-variant-numeric: tabular-nums; }
.cd b { color: var(--ink); font-weight: 700; }

.hero-book { display: flex; flex-direction: column; align-items: center; gap: 12px; }
/* Photographic 3D hardcover mockup — feather its dark studio background into the page */
.book-shell {
  position: relative;
  width: min(430px, 96%);
  animation: floaty 7s ease-in-out infinite;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.book-shell:hover { transform: translateY(-6px); }
.book-img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 26px 42px rgba(0,0,0,.55));
  -webkit-mask-image: radial-gradient(ellipse 78% 86% at 50% 47%, #000 50%, transparent 90%);
  mask-image: radial-gradient(ellipse 78% 86% at 50% 47%, #000 50%, transparent 90%);
}
.book-meta { color: var(--muted); font-size: .86rem; letter-spacing: .02em; margin: 0; }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .book-shell { animation: none; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-book { order: -1; }
  .hero-sub, .hero-lede { max-width: none; }
}

/* --- generic section --- */
.section { position: relative; z-index: 1; padding: clamp(56px, 9vw, 110px) 0; }
.kicker { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--teal); font-weight: 700; margin: 0 0 16px; }
.kicker.center { text-align: center; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center, .cases .center { margin-inline: auto; text-align: center; }
h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.7rem); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 16px; }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }

/* --- problem --- */
.problem { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.big-statement { font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.12; margin-bottom: 26px; }
.body-lg { font-size: 1.12rem; color: var(--ink-soft); margin: 0 0 34px; }
.pull {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, 3vw, 1.7rem);
  line-height: 1.4; color: var(--ink); border-left: 3px solid var(--teal); padding: 4px 0 4px 24px; margin: 0;
}

/* --- framework / layers --- */
.framework { background: var(--bg-2); }
.layers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; border-radius: 16px; overflow: hidden; }
.layer {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(16px, 4vw, 40px);
  padding: clamp(22px, 3.4vw, 34px) clamp(20px, 3.4vw, 36px);
  background: var(--bg-3);
  border: 1px solid var(--line);
  transition: background .25s ease, transform .25s ease;
}
.layer:hover { background: var(--panel); transform: translateX(4px); }
.layer-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--teal); opacity: .85; min-width: 1.8em; }
.layer-body h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 2.4vw, 1.5rem); margin: 0 0 6px; }
.layer-body p { margin: 0; color: var(--muted); font-size: .98rem; max-width: 60ch; }
.layer-ch { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); background: rgba(53,196,163,.1); border: 1px solid rgba(53,196,163,.25); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 620px) {
  .layer { grid-template-columns: auto 1fr; }
  .layer-ch { grid-column: 2; justify-self: start; margin-top: 4px; }
}

/* --- stats --- */
.stats { background: var(--bg); padding-block: clamp(44px, 6vw, 72px); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 4vw, 44px); }
.stat { text-align: center; padding: 8px; }
.stat-num { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.stat-unit { color: var(--teal); font-size: .5em; margin-left: 2px; }
.stat-label { display: block; margin-top: 12px; color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

/* --- cases --- */
.cases { background: var(--bg-2); }
.cases h2 { margin-bottom: 34px; }
.logo-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; max-width: 900px; margin: 0 auto; }
.logo-wall span {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(.95rem, 2vw, 1.15rem);
  color: var(--ink-soft); padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.logo-wall span:hover { color: var(--mint); border-color: rgba(53,196,163,.4); background: rgba(53,196,163,.06); }

/* --- praise --- */
.praise { background: var(--bg); }
.quotes { columns: 2; column-gap: 28px; }
.quote { break-inside: avoid; margin: 0 0 28px; padding: 28px; background: var(--bg-3); border: 1px solid var(--line); border-radius: 14px; }
.quote blockquote { margin: 0 0 18px; font-size: 1.05rem; line-height: 1.55; color: var(--ink); }
.quote blockquote::before { content: "\201C"; color: var(--teal); font-family: var(--font-serif); font-size: 1.4em; line-height: 0; margin-right: 2px; }
.quote figcaption { display: flex; flex-direction: column; gap: 3px; border-top: 1px solid var(--line); padding-top: 14px; }
.quote figcaption strong { font-family: var(--font-display); font-weight: 700; color: var(--mint); font-size: 1rem; }
.quote figcaption span { color: var(--muted); font-size: .86rem; }
@media (max-width: 820px) { .quotes { columns: 1; } }

/* --- author --- */
.author { background: var(--bg-2); }
.author-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 64px); align-items: center; }
.author-photo img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 28%;
  border-radius: 16px; border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.author-copy h2 { margin-bottom: 20px; }
.author-copy p { color: var(--ink-soft); margin: 0 0 16px; }
.author-copy strong { color: var(--ink); font-weight: 600; }
.author-links { margin-top: 22px !important; font-family: var(--font-display); font-weight: 600; display: flex; gap: 12px; align-items: center; }
.author-links span { color: var(--muted); }
@media (max-width: 760px) {
  .author-grid { grid-template-columns: 1fr; }
  .author-photo { max-width: 300px; }
}

/* --- notify --- */
.notify { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); }
.notify-title { font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1.06; margin-bottom: 18px; }
.notify-sub { color: var(--ink-soft); font-size: 1.08rem; max-width: 58ch; margin: 0 auto 34px; }
.notify-sub em { font-family: var(--font-serif); font-style: italic; }
.signup { display: flex; gap: 12px; max-width: 500px; margin: 0 auto; }
.signup input {
  flex: 1; min-width: 0; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 15px 18px; color: var(--ink); font-size: 1rem; font-family: var(--font-body);
}
.signup input::placeholder { color: var(--muted); }
.signup input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(53,196,163,.18); }
.form-status { min-height: 1.4em; margin: 16px 0 0; font-size: .95rem; color: var(--mint); }
.form-status.error { color: #ff9b8a; }
.fine { color: var(--muted); font-size: .9rem; margin-top: 26px; }
@media (max-width: 520px) { .signup { flex-direction: column; } .signup .btn { width: 100%; } }

/* --- campaign card figures --- */
.cfig { margin: 0; }
.cfig img {
  display: block; width: 100%; height: auto;
  border-radius: 12px; border: 1px solid var(--line-2);
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
  transition: transform .3s ease, box-shadow .3s ease;
}
.cfig img:hover { transform: translateY(-4px); box-shadow: 0 24px 54px rgba(0,0,0,.55); }

/* problem: text + "every company has a story" */
.problem-grid {
  display: grid; grid-template-columns: 1.4fr .85fr;
  gap: clamp(28px, 5vw, 56px); align-items: center;
}
.cfig-story { max-width: 340px; justify-self: center; width: 100%; }

/* framework intro: text + "it's architecture" */
.framework-head {
  display: grid; grid-template-columns: 1.3fr .8fr;
  gap: clamp(28px, 5vw, 56px); align-items: center;
  margin-bottom: clamp(40px, 5vw, 56px);
}
.cfig-architecture { max-width: 320px; justify-self: center; width: 100%; }

/* framework capstone: "27 chapters, 5 layers" pyramid */
.cfig-capstone { max-width: 580px; margin: clamp(34px, 5vw, 54px) auto 0; }

/* praise banner: book + Martha Pease quote */
.cfig-banner { max-width: 500px; margin: 0 auto clamp(34px, 5vw, 50px); }

@media (max-width: 820px) {
  .problem-grid, .framework-head { grid-template-columns: 1fr; }
  .cfig-story, .cfig-architecture { margin-top: 6px; }
}

/* --- footer --- */
.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--line); background: var(--bg); padding: 44px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-title { font-family: var(--font-display); font-weight: 800; margin: 0 0 4px; }
.footer-by { color: var(--muted); margin: 0; font-size: .92rem; }
.footer-meta { text-align: right; }
.footer-meta p { color: var(--muted); font-size: .82rem; margin: 0 0 4px; }
@media (max-width: 620px) { .footer-meta { text-align: left; } }
