/* =========================================================================
   Cold Anvil — site styles
   Built on the Bullfinch Forge token system (BRAND.md + colors_and_type.css)
   Newsreader for headlines + long-form body; Inter for UI.
   Outlined cards only. One contrast pocket per page.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');

@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/Newsreader_opsz_wght_.ttf') format('truetype-variations'),
       url('../fonts/Newsreader_opsz_wght_.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/Newsreader-Italic_opsz_wght_.ttf') format('truetype-variations'),
       url('../fonts/Newsreader-Italic_opsz_wght_.ttf') format('truetype');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/InterVariable.ttf') format('truetype-variations'),
       url('../fonts/InterVariable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* palette */
  --bg:            #32302f;
  --bg-elevated:   #4b4441;
  --ink:           #d4be9a;
  --ink-bright:    #ebdbb2;
  --ink-muted:     #a89984;
  --ink-on-light:  #32302f;
  --accent:        #d8a65c;
  --accent-on:     #32302f;
  --secondary:     #8c945c;
  --border:        #928374;
  --border-subtle: #4b4441;
  --cream:         #fbf1c7;
  --mustard:       #d8a65c;

  /* faces */
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:  "JetBrains Mono", Menlo, Consolas, monospace;

  /* layout */
  --content-max: 1100px;
  --gutter: 32px;

  /* motion */
  --easing: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 120ms;
  --dur-base: 180ms;
  --dur-slow: 280ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

::selection { background: var(--accent); color: var(--accent-on); }

/* focus — accessible, subtle */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

hr.rule {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 0 var(--gutter);
}

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  padding: 28px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.005em;
  color: var(--ink-bright);
  text-decoration: none;
}
.wordmark .anvil-mark {
  width: 22px;
  height: 22px;
  color: var(--accent);
  display: block;
  flex-shrink: 0;
  position: relative;
  top: -1px;
}
.wordmark .studios {
  color: var(--ink-muted);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  margin-left: 6px;
  letter-spacing: 0;
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a:not(.btn) {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--dur-base) var(--easing);
}
.nav-links a:not(.btn):hover,
.nav-links a[aria-current="page"]:not(.btn) { color: var(--accent); }
.nav-links a.btn-primary { color: var(--accent-on); }
.nav-links a.btn-ghost { color: var(--ink); }
.nav-cta { margin-left: 4px; }

/* -------------------------------------------------------------------------
   MOBILE NAV — variant C3 ("Menu" typographic fold).
   Desktop ≥640px: .nav-links shows, button + fold are display:none.
   Mobile <640px: .nav-links hides (see breakpoint block), button + fold take over.
   ------------------------------------------------------------------------- */
.nav-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  padding: 8px 0;
  align-items: center;
  gap: 8px;
  transition: color var(--dur-base) var(--easing);
}
.nav-menu-btn:hover,
.nav-menu-btn[aria-expanded="true"] { color: var(--accent); }
.nav-menu-btn .chev {
  font-family: var(--font-serif);
  font-size: 11px;
  opacity: 0.75;
  display: inline-block;
  transition: transform var(--dur-base) var(--easing);
}
.nav-menu-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }

.nav-fold {
  display: none;
  max-height: 0;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition:
    max-height var(--dur-slow) var(--easing),
    border-bottom-color var(--dur-slow) var(--easing);
}
.nav-fold.open {
  max-height: 360px;
  border-bottom-color: var(--border-subtle);
}
.nav-fold-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  padding: 18px var(--gutter) 8px;
}
.nav-fold-links {
  list-style: none;
  margin: 0;
  padding: 0 var(--gutter) 14px;
}
.nav-fold-links li { border-top: 1px solid var(--border-subtle); }
.nav-fold-links li:last-child { border-bottom: 1px solid var(--border-subtle); }
.nav-fold-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  text-decoration: none;
}
.nav-fold-links .name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink-bright);
}
.nav-fold-links a[aria-current="page"] .name { color: var(--accent); }
.nav-fold-links .arr {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--accent);
  opacity: 0.8;
}

@media (prefers-reduced-motion: reduce) {
  .nav-menu-btn,
  .nav-menu-btn .chev,
  .nav-fold { transition: none; }
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity var(--dur-base) var(--easing),
              color var(--dur-base) var(--easing),
              border-color var(--dur-base) var(--easing);
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-primary {
  background: var(--accent);
  color: var(--accent-on);
}
.btn-primary:hover { opacity: 0.92; }
.btn-primary:active { opacity: 0.85; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}
.btn-text {
  background: transparent;
  color: var(--accent);
  padding: 13px 0;
  border: none;
}
.btn-text:hover { text-decoration: underline; }
.btn-text .arrow {
  transition: transform var(--dur-base) var(--easing);
}
.btn-text:hover .arrow { transform: translateX(3px); }

/* =========================================================================
   TYPOGRAPHY HELPERS
   ========================================================================= */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}

.lead {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 52ch;
}

.section-h {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink-bright);
  max-width: 18ch;
  margin: 12px 0 16px;
  text-wrap: balance;
}
.section-h em {
  font-style: italic;
  color: var(--accent);
}
.section-sub {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.58;
  color: var(--ink);
  max-width: 56ch;
  margin-bottom: 56px;
}

/* =========================================================================
   SECTIONS
   ========================================================================= */
section.section { padding: 88px 0; }
section.section.tight { padding: 72px 0; }
section:first-of-type { padding-top: 72px; }

/* =========================================================================
   HERO (editorial)
   ========================================================================= */
section.hero {
  padding: 96px 0 88px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 76px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-bright);
  max-width: 14ch;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero .lead { margin-bottom: 44px; }
.hero-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

/* compact hero (pricing, early access) */
.hero.compact { padding: 72px 0 32px; }
.hero.compact h1 { font-size: 56px; max-width: 20ch; margin-bottom: 20px; }

/* =========================================================================
   DRIFT (first section — editorial single column)
   ========================================================================= */
.longform { max-width: 58ch; }
.longform p + p { margin-top: 20px; }
.longform p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
}
.longform blockquote {
  margin: 40px 0;
  padding: 24px 28px;
  border-left: 2px solid var(--accent);
  font-style: italic;
  font-size: 26px;
  line-height: 1.4;
  color: var(--ink-bright);
  font-weight: 400;
  max-width: 32ch;
  text-wrap: balance;
}

/* =========================================================================
   OUTLINED CARDS
   ========================================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.card.emphasis { border-color: var(--accent); }

.card .num {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.14em;
  margin-bottom: 24px;
}
.card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.25;
  color: var(--ink-bright);
  margin-bottom: 12px;
  letter-spacing: -0.008em;
}
.card p {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}

/* =========================================================================
   TRUST PANEL (quiet list, not a card-around-the-section)
   ========================================================================= */
.trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 64px;
  align-items: start;
}
.trust-list {
  list-style: none;
  border-top: 1px solid var(--border-subtle);
}
.trust-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-items: baseline;
}
.trust-list .n {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.14em;
}
.trust-list .t {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-bright);
}
.trust-list .t strong {
  font-weight: 500;
  color: var(--ink-bright);
}
.trust-list .t span {
  color: var(--ink-muted);
  display: block;
  margin-top: 4px;
  font-size: 16px;
}

/* =========================================================================
   AUDIENCE (concrete list)
   ========================================================================= */
.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.audience-item {
  padding: 32px 0 32px;
  border-top: 1px solid var(--border-subtle);
}
.audience-item .who {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.audience-item .what {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink-bright);
  font-weight: 400;
  text-wrap: balance;
}

/* =========================================================================
   MANIFESTO (mustard pocket)
   ========================================================================= */
section.manifesto {
  background: var(--mustard);
  color: var(--ink-on-light);
  padding: 96px 0;
}
.manifesto blockquote {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 56px;
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: var(--accent-on);
  max-width: 22ch;
  text-wrap: balance;
}
.manifesto blockquote em { font-style: italic; }
.manifesto .signature {
  font-family: var(--sans);
  font-size: 13px;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-on);
  opacity: 0.7;
  margin-top: 44px;
}

/* =========================================================================
   FINAL CTA
   ========================================================================= */
section.final-cta {
  padding: 96px 0 112px;
}
.final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
}
.final-cta h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--ink-bright);
  max-width: 14ch;
  text-wrap: balance;
}
.final-cta p {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 40ch;
  margin-bottom: 28px;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
footer.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 56px;
}
.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-muted);
  flex-wrap: wrap;
}
.footer-tagline {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--ink);
}
.footer-tagline em { font-style: italic; color: var(--ink-muted); }
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: var(--ink-muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--accent); }

/* =========================================================================
   PRICING
   ========================================================================= */
.billing-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px;
  background: transparent;
  margin-bottom: 56px;
}
.billing-toggle button {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  border: none;
  color: var(--ink);
  padding: 8px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--dur-base) var(--easing),
              color var(--dur-base) var(--easing);
}
.billing-toggle button.active {
  background: var(--accent);
  color: var(--accent-on);
}
.billing-toggle .save {
  font-size: 12px;
  color: var(--ink-muted);
  margin-left: 6px;
}
.billing-toggle button.active .save { color: var(--accent-on); opacity: 0.75; }

.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tier {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.tier.popular { border-color: var(--accent); }
.tier .tag {
  position: absolute;
  top: -10px;
  left: 24px;
  background: var(--bg);
  padding: 0 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.tier h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink-bright);
  margin-bottom: 6px;
}
.tier .price {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--ink-bright);
  margin: 18px 0 2px;
}
.tier .per {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-muted);
  min-height: 20px;
}
.tier .annual-note {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 2px;
  min-height: 16px;
}
.tier .desc {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  margin: 20px 0 24px;
}
.tier ul {
  list-style: none;
  margin-bottom: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  flex: 1;
}
.tier li {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.45;
  padding: 7px 0;
  color: var(--ink);
  display: flex;
  gap: 10px;
}
.tier li::before {
  content: "→";
  color: var(--ink-muted);
  flex-shrink: 0;
}
.tier li.excluded {
  color: var(--ink-muted);
  text-decoration: line-through;
  text-decoration-color: var(--border-subtle);
}
.tier li.excluded::before { content: "·"; }
.tier .btn { width: 100%; justify-content: center; }

/* FAQ */
.faq {
  border-top: 1px solid var(--border-subtle);
  max-width: 780px;
}
.faq details {
  border-bottom: 1px solid var(--border-subtle);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink-bright);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink-muted);
  transition: transform var(--dur-base) var(--easing),
              color var(--dur-base) var(--easing);
  line-height: 1;
}
.faq details[open] summary::after {
  content: "–";
  color: var(--accent);
}
.faq details p {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  padding: 0 0 28px;
  max-width: 62ch;
}

/* =========================================================================
   COMPOSER — the "Talk to Annie" entry point, placed directly below the
   hero on index.html. Shape mirrors Annie's in-product composer (see
   design-system/project/ui_kits/annie/WorkshopParts.jsx) so the visual
   language is continuous from marketing site into the product.
   ========================================================================= */
.composer-wrap {
  padding: 32px 0 72px;
  background: var(--bg);
}
/* Conversation-as-composer (Variation D). Annie's greeting is rendered
   as the first turn; the user's reply card is the actual input. No
   email field — collected at sign-in inside Annie. Single column, max
   620px, left-aligned. */
.convo-composer {
  max-width: 620px;
  margin: 0 auto;
  display: block;
}
.convo-greeting {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}
.convo-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--bg-elevated);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.convo-mark svg { width: 14px; height: 14px; display: block; }
.convo-greeting-meta {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.convo-greeting-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 2px;
  background: var(--secondary);
  vertical-align: middle;
  margin: 0 6px 0 8px;
}
.convo-greeting-quote {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-bright);
  font-style: italic;
}
.convo-reply {
  margin-left: 42px; /* aligns with Annie's text column (28 + 14) */
  background: var(--bg-elevated);
  border-radius: 8px;
  padding: 18px 20px 16px;
}
.convo-reply-meta {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.convo-reply-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-bright);
  min-height: 88px;
  padding: 0;
  overflow-y: auto;
  max-height: 280px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-subtle) transparent;
}
.convo-reply-input::placeholder {
  color: var(--ink-muted);
  opacity: 0.85;
}
.convo-reply-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  gap: 12px;
}
.convo-kbd-hint {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
}
.convo-kbd-hint span { margin-left: 8px; }
.convo-kbd {
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--ink-muted);
  line-height: 1.4;
}
.convo-send {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  padding: 7px 14px;
  border-radius: 6px;
  border: none;
  background: var(--accent);
  color: var(--accent-on);
  cursor: pointer;
  transition: opacity var(--dur-base) var(--easing);
  white-space: nowrap;
}
.convo-send:hover:not(:disabled) { opacity: 0.92; }
.convo-send:active:not(:disabled) { opacity: 0.85; }
.convo-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* =========================================================================
   ABOUT — pillars + long-form
   ========================================================================= */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar {
  border-top: 1px solid var(--border);
  padding: 32px 0 0;
}
.pillar h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink-bright);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}
.pillar p {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 32ch;
}

/* =========================================================================
   SECTION HEADER LAYOUTS
   ========================================================================= */
.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
  margin-bottom: 56px;
}
.section-header .right { padding-top: 12px; }
.section-header .right .section-sub { margin-bottom: 0; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .hero { padding: 72px 0 88px; }
  .hero h1 { font-size: 48px; }
  .section-h { font-size: 32px; }
  .manifesto blockquote { font-size: 36px; }
  .final-cta h2 { font-size: 40px; }
  section.section { padding: 88px 0; }

  .card-grid, .card-grid.cols-4, .tier-grid, .pillars,
  .audience, .trust, .section-header, .final-cta-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  /* Conversation composer — stack the reply card under Annie's
     greeting (drop the 42px indent), bump textarea font to 16px so
     iOS doesn't zoom, let send button take the full row. */
  .convo-reply { margin-left: 0; }
  .convo-reply-input { font-size: 16px; }
  .convo-reply-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .convo-send { width: 100%; }

  .longform blockquote { font-size: 22px; }
  .faq summary { font-size: 19px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .nav-links { display: none; }
  .nav-menu-btn { display: inline-flex; }
  .nav-fold { display: block; }
  .hero h1 { font-size: 40px; }
  .manifesto blockquote { font-size: 30px; }
}

/* =========================================================================
   HOLDING PAGE — pre-launch coldanvil.com/
   Editorial hero on the left (wordmark → eyebrow → H1 → tag → lead → form).
   Bleeding, rotated, masked workshop teaser on the right (static PNG with
   HTML browser chrome). Passphrase gate reveals after ↑↑↓↓.
   Design handoff: landing-page zip, 2026-04-19. The PNG path is the
   production-sensible rendering of what the handoff prototyped via React.
   ========================================================================= */

:root {
  /* Preview geometry — all pixel-based so the bleed stays constant across
     viewport widths. Claude Design used right: -18% which looks right in
     their ~1440px preview iframe but pushes the sidebar out of view on
     real desktop (1920-2400px). */
  --preview-w: 1100px;
  --preview-right-offset: -200px;
  --preview-top: 48px;
  --preview-tilt: -1.5deg;
  --preview-fade: 16%;
  --preview-dim: 0.9;
  /* Vignette stops in pixels from the viewport left edge. Covers the
     text column + a small buffer, then fades out. At 1920+ viewports
     the preview starts well past the fade zone, so sidebar is visible. */
  --vignette-solid: 620px;
  --vignette-end: 820px;
}

body.holding {
  overflow-x: hidden;
}

.holding-stage {
  position: relative;
  min-height: 100vh;
  padding: 48px 0 0;
  display: flex;
  flex-direction: column;
  z-index: 3;
}
.holding-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
  flex: 1;
}

.holding-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.005em;
  margin-bottom: 128px;
  /* Without a stacking context the wordmark stacks at z:0 and gets
     hidden under the .holding-stage::before vignette (z:2). Match
     the text column's z:4 so it sits above the vignette. */
  position: relative;
  z-index: 4;
}
.holding-wordmark span { color: var(--ink-bright); }
.holding-wordmark em {
  color: var(--ink-muted);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  margin-left: 4px;
}

/* Two-column grid: copy column is hard-capped at 520px; right 1fr stays
   empty so the absolutely-positioned workshop teaser can overlap it
   without pushing any copy around. */
.holding-grid {
  display: grid;
  grid-template-columns: minmax(0, 520px) 1fr;
  gap: 80px;
  align-items: start;
}
.holding-col-text {
  max-width: 520px;
  position: relative;
  z-index: 4;
}

.holding-eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  margin: 0 0 24px;
}

.holding-h {
  font-family: var(--font-serif);
  font-size: 68px;
  line-height: 1.02;
  letter-spacing: -0.022em;
  font-weight: 500;
  color: var(--ink-bright);
  margin: 0 0 28px;
  text-wrap: balance;
}
.holding-h em { color: var(--accent); font-style: italic; font-weight: 500; }

.holding-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--accent);
  margin: 0 0 20px;
}
.holding-lead {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 36px;
  max-width: 520px;
}

.holding-form { margin: 0 0 8px; }
.holding-field {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.holding-field input[type="email"],
.holding-field input[type="password"] {
  flex: 1;
  min-width: 200px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--ink-bright);
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 13px 16px;
  outline: none;
  transition: border-color var(--dur-base) var(--easing);
}
.holding-field input::placeholder { color: var(--ink-muted); }
.holding-field input:focus { border-color: var(--accent); }
.holding-field .btn { flex-shrink: 0; }

.holding-reassurance {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0;
  max-width: 460px;
}
.holding-error,
.holding-gate-error {
  color: var(--status-error);
  font-family: var(--font-sans);
  font-size: 13px;
  margin: 6px 0 0;
  min-height: 1em;
}

.holding-success {
  font-family: var(--font-serif);
  color: var(--ink-bright);
  font-size: 18px;
}
.holding-success strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-weight: 500;
}
.holding-success span {
  font-size: 15px;
  color: var(--ink-muted);
  font-family: var(--font-sans);
}

/* Passphrase gate — revealed by ↑↑↓↓. Reuses .holding-field styling. */
.holding-gate {
  margin-top: 48px;
  max-width: 460px;
  opacity: 0.75;
}
.holding-gate:focus-within { opacity: 1; }

/* Footer — must sit above the bleeding teaser (z-index + bg fill so the
   teaser's bleed doesn't show through). The flex-column on .holding-stage
   + flex:1 on .holding-inner already pins the footer to the bottom of the
   viewport; a margin-top here would push it past 100vh and force scroll
   on short viewports. */
.holding-footer {
  padding: 28px 48px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 5;
  background: var(--bg);
}
.holding-footer em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink);
}
.holding-footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================================
   Workshop teaser — the main event.
   Absolutely positioned relative to <body>. Fixed width --preview-w,
   pushed right so --preview-bleed of it sits past the viewport edge.
   Four-edge mask fades the rotated card's corners; left-side vignette
   on the stage protects copy legibility.
   ========================================================================= */
.workshop-teaser {
  position: absolute;
  top: var(--preview-top);
  right: var(--preview-right-offset);
  width: var(--preview-w);
  height: 860px;
  z-index: 2;
  pointer-events: none;
  opacity: var(--preview-dim);
  overflow: hidden;
  /* Widened vertical fade so the rotated card's corners (which move ~29px
     at -1.5° on 1100x860) are fully faded, not half-faded. 6%/94% left
     a visible wedge on the bottom-right. 12%/86% gives a ~103px fade
     band that cleanly swallows the rotation offset. */
  -webkit-mask-image:
    linear-gradient(to right,
      rgba(0,0,0,0) 0%,
      #000 calc(var(--preview-fade) + 4%),
      #000 calc(100% - var(--preview-fade) - 8%),
      rgba(0,0,0,0) 100%),
    linear-gradient(to bottom,
      rgba(0,0,0,0) 0%,
      #000 12%,
      #000 86%,
      rgba(0,0,0,0) 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right,
      rgba(0,0,0,0) 0%,
      #000 calc(var(--preview-fade) + 4%),
      #000 calc(100% - var(--preview-fade) - 8%),
      rgba(0,0,0,0) 100%),
    linear-gradient(to bottom,
      rgba(0,0,0,0) 0%,
      #000 12%,
      #000 86%,
      rgba(0,0,0,0) 100%);
          mask-composite: intersect;
}
.workshop-teaser-inner {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: var(--bg);
  overflow: hidden;
  transform: rotate(var(--preview-tilt));
  transform-origin: 0% 50%;
  box-shadow:
    0 40px 100px -20px rgba(0,0,0,0.55),
    0 10px 30px -10px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
}

/* Browser chrome above the workshop (HTML not baked into PNG — crisper) */
.browser-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  flex: none;
}
.browser-dots { display: flex; gap: 7px; }
.browser-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #504945;
}
.browser-dots span:nth-child(1) { background: #a89984; }
.browser-dots span:nth-child(2) { background: #7c6f64; }
.browser-dots span:nth-child(3) { background: #665c54; }
.browser-url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-muted);
  background: var(--bg);
  padding: 5px 12px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  min-width: 280px;
  text-align: center;
}
.browser-spacer { width: 40px; flex: none; }

.annie-mount {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}
/* Size + padding overrides that place the Annie shell inside the teaser
   frame — lifted verbatim from Claude Design's landing.css. Without these
   the shell keeps its stand-alone 100vh-tuned layout and content drifts
   away from where the mask was designed to clip. */
.annie-mount .annie-shell { height: 100%; width: 100%; }
.annie-mount .annie-main { overflow: hidden; }
.annie-mount .annie-body { padding: 24px 32px 32px; }
.annie-mount .annie-side { padding: 18px 18px; }
#annie-teaser-root { height: 100%; }

/* Left-side vignette — keeps the copy column legible when the preview
   drifts into its territory. Desktop only. */
.holding-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    var(--bg) 0,
    var(--bg) var(--vignette-solid),
    rgba(50, 48, 47, 0) var(--vignette-end)
  );
  z-index: 2;
}

/* Narrower viewports (< 1100px): the bleed-right pattern can't survive
   here — there's not enough horizontal room for the rotated card to
   bleed off-right without its body overlapping the form itself, and
   the low-opacity bleed-through reads as broken. Stack vertically:
   copy and form first, then an upright contained preview frame, then
   the footer. The HTML puts .workshop-teaser between .holding-inner
   and .holding-footer, so position: relative flows it into the right
   slot. */
@media (max-width: 1100px) {
  .holding-stage { padding-top: 32px; }
  .holding-grid { grid-template-columns: 1fr; gap: 48px; }
  .holding-h { font-size: 48px; }
  .holding-tag { font-size: 19px; }
  .holding-lead { font-size: 17px; }
  .holding-wordmark { margin-bottom: 56px; }
  .holding-eyebrow { display: none; }
  .holding-stage::before { display: none; }

  .workshop-teaser {
    position: relative;
    top: auto; right: auto; bottom: auto; left: auto;
    width: 100%;
    height: 480px;
    max-width: 760px;
    margin: 48px auto 0;
    opacity: 1;
    overflow: visible;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .workshop-teaser-inner {
    transform: none;
    box-shadow:
      0 24px 50px -18px rgba(0,0,0,0.55),
      0 10px 20px -10px rgba(0,0,0,0.38);
  }

  /* Hide the sidebar inside the preview so the workshop body shows at a
     useful zoom inside the narrower frame. */
  .annie-mount .annie-side { display: none; }
  .annie-mount .annie-shell { grid-template-columns: 1fr; }
  .annie-mount .annie-body { padding: 20px 24px 24px; }
  .annie-mount .annie-top { padding: 14px 20px; }
}

/* Mobile (< 720px): inherits the upright-stacked teaser from the < 1100
   block above. Just the deltas that differ at phone widths — shorter
   frame, no max-width cap, tighter spacing, centered footer stack. */
@media (max-width: 720px) {
  .holding-inner { padding: 0 24px; }
  .holding-h { font-size: 40px; }

  .workshop-teaser {
    height: 420px;
    max-width: none;
    margin-top: 8px;
  }

  /* Footer — horizontal flex with text-align:left was meant for desktop
     and stacks awkwardly on mobile. Center-align the stack and tighten
     spacing so the three lines read as one grouped footer block rather
     than three disconnected fragments. */
  .holding-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 24px;
    margin-top: 32px;
  }
}

/* Ultrawide: at viewports much wider than the 1320px inner container,
   `right: -200px` flies the teaser off to the viewport right and leaves
   a dead zone between the text column (ends ~inner-right) and the
   teaser. Re-anchor the teaser's left edge to sit near the content
   column's right edge so the composition reads as one piece instead
   of two floating islands. */
@media (min-width: 1600px) {
  .workshop-teaser {
    left: calc(50% + 28px);
    right: auto;
  }
  :root {
    --vignette-solid: calc(50% - 92px);
    --vignette-end:   calc(50% + 28px);
  }
}
