/* ============================================================
   Auxano Website v2 · Style Guide v2 (proposal) design system
   White canvas · Ink contrast bands · Cream demoted to accent
   Fraunces / IBM Plex Sans / IBM Plex Mono
   ============================================================ */

:root {
  --ink: #111417;
  --ink-2: #1B2027;      /* elevated card surface on dark only */
  --orange: #D9531E;
  --orange-hover: #C04716;
  --green: #3E5524;
  --gray: #6B6F7A;
  --hairline: #E6E3DC;
  --cream: #F3F0EA;
  --white: #FFFFFF;
  --display: "Fraunces", Georgia, serif;
  --body: "IBM Plex Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; line-height: 1.3; }

.lede { font-size: 1.18rem; line-height: 1.65; max-width: 46em; }
.muted { color: var(--gray); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  display: block;
  margin-bottom: 1.1rem;
}
.eyebrow--orange { color: var(--orange); }
.eyebrow--green { color: var(--green); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--orange);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 30px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}
.btn:hover { background: var(--orange-hover); text-decoration: none; transform: translateY(-1px); }

.btn--ghost-dark {
  background: transparent;
  color: #FFFFFF !important;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn--ghost-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }

.btn--ghost-light {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--ink);
}
.btn--ghost-light:hover { background: var(--ink); color: #FFFFFF !important; }

.btn--lg { padding: 16px 36px; font-size: 1.05rem; }

/* ---------- Header (ink, sticky) ---------- */

.site-header {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
.logo img { height: 32px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { color: rgba(255,255,255,0.85); font-size: 0.95rem; font-weight: 500; }
.site-nav a:hover { color: #FFFFFF; text-decoration: none; }
.site-nav a[aria-current="page"] { color: #FFFFFF; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.site-nav .btn { padding: 11px 24px; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #FFFFFF;
  cursor: pointer;
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 28px 30px;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .site-nav.open { display: flex; }
}

/* ---------- Sections ---------- */

section { padding: 104px 0; }
.section-head { max-width: 54em; margin-bottom: 3.2rem; }
.section-head h2 { margin-bottom: 1.1rem; }

.band-dark { background: var(--ink); color: #FFFFFF; position: relative; overflow: hidden; }
.band-dark h1, .band-dark h2, .band-dark h3 { color: #FFFFFF; }
.band-dark p { color: rgba(255,255,255,0.78); }
.band-dark .eyebrow { color: var(--orange); }

.band-cream { background: var(--cream); }

/* ---------- Hero video (treated brand loop) ---------- */

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  z-index: 0;
}
@media (max-width: 700px) { .hero-video { display: none; } }

/* ---------- Hero ---------- */

.hero {
  padding: 110px 0 76px;
  position: relative;
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { max-width: 14.5em; margin-bottom: 1.5rem; }
.hero .lede { margin-bottom: 2.6rem; color: rgba(255,255,255,0.8); }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.9;
  will-change: transform;
}
.hero-art svg { width: 100%; height: 100%; object-fit: cover; }

.hero-meta {
  margin-top: 3.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  gap: 42px;
  flex-wrap: wrap;
}
.hero-meta span {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.hero + section { padding-top: 72px; }

/* ---------- Bad options list (homepage problem section) ---------- */

.bad-options { list-style: none; }
.bad-options li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
}
.bad-options li:first-child { padding-top: 4px; }
.bad-options li:last-child { border-bottom: none; }
.bad-options p { font-size: 1.08rem; line-height: 1.6; }
.bad-options strong { font-weight: 600; }

/* ---------- Cards ---------- */

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Tier row: Grow/Build/Guide stay side by side on one line on any desktop or
   tablet width; they only stack on phones. */
.grid-3--row { grid-template-columns: repeat(3, 1fr) !important; }
@media (max-width: 700px) { .grid-3--row { grid-template-columns: 1fr !important; } }
@media (max-width: 940px) {
  .grid-3--row .tier { padding: 30px 24px; }
  .grid-3--row .tier h3 { font-size: 1.05rem; }
  .grid-3--row .tier p { font-size: 0.88rem; }
}

.card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 36px 32px;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(17,20,23,0.08); }
.card h3 { margin: 0.9rem 0 0.7rem; }
.card p { color: var(--gray); font-size: 0.98rem; }

.card--cream { background: var(--cream); border-color: transparent; }

.card-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--orange);
}

/* dark-section cards */
.band-dark .card {
  background: var(--ink-2);
  border-color: rgba(255,255,255,0.08);
}
.band-dark .card h3 { color: #FFFFFF; }
.band-dark .card p { color: rgba(255,255,255,0.65); }
.band-dark .card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.5); }

/* highlighted "fourth option" card */
.card--fourth { border: 2px solid var(--orange); position: relative; }

/* ---------- Method steps ---------- */

.step-mark { width: 44px; height: 44px; margin-bottom: 6px; }

/* ---------- Tier cards ---------- */

.tier {
  border-radius: 6px;
  padding: 42px 36px;
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  transition: transform 150ms ease, border-color 150ms ease;
}
.tier:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.25); text-decoration: none; }
.tier .tier-name {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  display: block;
}
.tier h3 { color: #FFFFFF; margin-bottom: 0.8rem; font-size: 1.25rem; }
.tier p { color: rgba(255,255,255,0.65); font-size: 0.97rem; flex-grow: 1; }
.tier .tier-link {
  margin-top: 1.6rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
}

/* ---------- Quote block ---------- */

.quote {
  max-width: 46em;
  margin: 2.5rem 0 0;
  border-left: 3px solid var(--green);
  padding-left: 28px;
}
.quote blockquote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink);
}
.quote cite {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

.pending-flag {
  display: inline-block;
  margin-top: 1rem;
  background: #FDECE3;
  border: 1px dashed var(--orange);
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  border-radius: 4px;
}

/* ---------- Name section ---------- */

.name-block { text-align: center; max-width: 40em; margin: 0 auto; }
.name-block .big-word {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3.4rem, 9vw, 6.5rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.name-block .def {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 1.2rem 0 2rem;
}

/* ---------- Media placeholder frames (pre-launch only) ---------- */

.media-slot {
  border: 2px dashed var(--hairline);
  border-radius: 6px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gray);
  min-height: 260px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 44px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 44px; margin-bottom: 52px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img { height: 22px; width: auto; margin-bottom: 16px; }
.site-footer p { font-size: 0.9rem; max-width: 30em; }
.site-footer h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: rgba(255,255,255,0.85); font-size: 0.92rem; }
.site-footer ul a:hover { color: var(--orange); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
}

/* ---------- Forms ---------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 42px;
  max-width: 660px;
}
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 14px;
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 4px;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--orange);
}
.form-note { font-size: 0.85rem; color: var(--gray); margin-top: 14px; }

/* ---------- Architecture diagram ---------- */

.arch { background: var(--ink); border-radius: 8px; padding: 40px 32px; overflow-x: auto; }
.arch svg { min-width: 720px; width: 100%; height: auto; }

/* ---------- Page hero (interior, dark, compact) ---------- */

.page-hero { padding: 96px 0 84px; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 15em; margin-bottom: 1.3rem; }
.page-hero .lede { color: rgba(255,255,255,0.8); }
.tier-eyebrow {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 1.1rem;
}

/* ---------- Motion: scroll reveals + parallax ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 100ms; }
.reveal-d2 { transition-delay: 200ms; }
.reveal-d3 { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-art { transform: none !important; }
  .hero-video { display: none; }
  .card:hover, .tier:hover, .btn:hover { transform: none; }
}

/* ---------- Inline diagrams ---------- */
.diagram { margin-top: 3.4rem; overflow-x: auto; }
.diagram svg { min-width: 760px; width: 100%; height: auto; display: block; }
.range-strip { margin-top: 3.2rem; overflow-x: auto; }
.range-strip svg { min-width: 640px; width: 100%; height: auto; display: block; }
.range-strip a { text-decoration: none; }
.range-strip a:hover text, .range-strip a:focus text { fill: #FFFFFF; }

/* ---------- Founder stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 3.2rem;
  border-top: 1px solid rgba(17,20,23,0.15);
  border-bottom: 1px solid rgba(17,20,23,0.15);
}
.stat { padding: 30px 26px 32px; border-left: 1px solid rgba(17,20,23,0.15); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat-val {
  display: block;
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
.stat-val--text { font-size: 1.9rem; padding-top: 0.62rem; }
.stat-label {
  display: block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17,20,23,0.55);
  line-height: 1.55;
}
@media (max-width: 980px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); border-top: none; }
  .stat { border-left: none; padding-left: 0; border-top: 1px solid rgba(17,20,23,0.15); }
}

/* ---------- Two-line problem headline: sentence per line ---------- */
.h2-twoline { font-size: clamp(1.7rem, 2.9vw, 2.35rem); }
.h2-twoline span { display: block; }
.h2-twoline span + span { margin-top: 0.15em; }
