/* Architech Light — shared design system (matches app.webarchitechs.com) */
:root {
  --bg: hsl(40 25% 98%);
  --bg-alt: hsl(40 22% 95%);
  --ink: hsl(216 52% 12%);
  --grey: hsl(216 16% 38%);
  --faint: hsl(216 12% 55%);
  --border: hsl(216 20% 88%);
  --navy: hsl(214 52% 11%);
  --navy-ink: hsl(215 35% 93%);
  --navy-muted: hsl(213 20% 66%);
  --navy-border: hsl(215 30% 24%);
  --gold: hsl(36 55% 50%);
  --gold-deep: hsl(36 62% 34%);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], [id] { scroll-margin-top: 76px; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

/* ===== Nav ===== */
.nav { background: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.nav-inner { display: flex; align-items: center; gap: 28px; padding: 14px 24px; max-width: 1080px; margin: 0 auto; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand img { height: 30px; width: auto; }
.brand-name { font-family: var(--sans); font-weight: 700; letter-spacing: .18em; font-size: 13px; color: var(--ink); }
.brand-sub { display: block; font-size: 10px; letter-spacing: .02em; color: var(--faint); font-weight: 400; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.nav-links a { color: var(--grey); font-size: 13.5px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links a.active { color: var(--ink); }

/* ===== Buttons ===== */
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 14.5px; text-decoration: none !important; transition: background .15s, color .15s; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; }
.btn-navy { background: var(--navy); color: var(--navy-ink); }
.btn-navy:hover { background: hsl(215 40% 18%); }
.btn-ghost { border: 1px solid var(--navy-border); color: var(--navy-ink); }
.btn-ghost:hover { background: hsl(215 40% 18%); }
.btn-outline { border: 1px solid var(--border); color: var(--ink); background: #fff; }
.btn-outline:hover { background: var(--bg-alt); }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ===== Hero (navy) ===== */
.hero { background: var(--navy); color: var(--navy-ink); padding: 84px 0 76px; border-bottom: 3px solid var(--gold); }
.eyebrow { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 18px; }
.hero h1 { font-family: var(--serif); font-size: clamp(30px, 4.6vw, 46px); line-height: 1.18; font-weight: 700; color: #fff; max-width: 800px; }
.hero .lede { margin-top: 20px; font-size: 17px; color: var(--navy-muted); max-width: 640px; line-height: 1.65; }
.hero .cta-row { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .cta-note { font-size: 12.5px; color: var(--navy-muted); margin-top: 14px; }
.hero .tagline { margin-top: 40px; font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--navy-muted); }

/* ===== Sections ===== */
section { padding: 68px 0; }
section.alt { background: var(--bg-alt); }
section.navy { background: var(--navy); color: var(--navy-ink); }
.kicker { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 12px; }
.navy .kicker { color: var(--gold); }
h2 { font-family: var(--serif); font-size: clamp(24px, 3.2vw, 32px); line-height: 1.25; margin-bottom: 14px; }
.navy h2 { color: #fff; }
h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 8px; }
.section-lede { color: var(--grey); max-width: 680px; font-size: 16px; margin-bottom: 36px; }
.navy .section-lede { color: var(--navy-muted); }
.gold-rule { width: 56px; height: 3px; background: var(--gold); border: 0; margin: 0 0 26px; }

/* ===== Stat strip ===== */
.stats { background: var(--navy); border-top: 1px solid var(--navy-border); padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-family: var(--serif); font-size: 24px; color: var(--gold); font-weight: 700; }
.stat span { font-size: 12px; color: var(--navy-muted); line-height: 1.4; display: block; margin-top: 4px; }

/* ===== Ratio (10/20/70) ===== */
.ratio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0 18px; }
.ratio-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 26px 20px; text-align: center; }
.navy .ratio-card { background: hsl(215 40% 15%); border-color: var(--navy-border); }
.ratio-card b { font-family: var(--serif); font-size: 34px; display: block; color: var(--ink); }
.navy .ratio-card b { color: #fff; }
.ratio-card.gold b { color: var(--gold-deep); }
.navy .ratio-card.gold b { color: var(--gold); }
.ratio-card span { font-size: 13px; color: var(--grey); }
.navy .ratio-card span { color: var(--navy-muted); }
.ratio-note { font-size: 14px; color: var(--grey); max-width: 640px; }
.navy .ratio-note { color: var(--navy-muted); }

/* ===== Cards / grids ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 24px; }
.card h3 { font-size: 17px; }
.card p { font-size: 14px; color: var(--grey); }
.card ul { margin: 10px 0 0 18px; font-size: 13.5px; color: var(--grey); }
.card li { margin-bottom: 5px; }
.card .outcome { margin-top: 14px; font-size: 13px; color: var(--gold-deep); font-weight: 600; }
.card-tag { display: inline-block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 10px; }
.badge { display: inline-block; background: var(--gold); color: var(--navy); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }

/* ===== Artifact list ===== */
.artifact { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.artifact:last-child { border-bottom: 0; }
.artifact .num { font-family: var(--serif); font-weight: 700; color: var(--gold-deep); font-size: 15px; min-width: 26px; padding-top: 1px; }
.artifact b { display: block; font-size: 15px; }
.artifact span { font-size: 13.5px; color: var(--grey); }
.artifact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }

/* ===== Steps ===== */
.step { display: flex; gap: 18px; margin-bottom: 26px; }
.step .n { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--gold-deep); min-width: 32px; }
.step b { display: block; font-size: 16px; margin-bottom: 4px; }
.step p { font-size: 14.5px; color: var(--grey); }

/* ===== Quarters ===== */
.q-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 22px; }
.q-card .q { font-family: var(--serif); color: var(--gold-deep); font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.q-card b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.q-card p { font-size: 13.5px; color: var(--grey); }

/* ===== Definition block ===== */
.definition { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: 10px; padding: 26px 28px; max-width: 760px; margin: 0 auto; }
.definition h2, .definition h3 { margin-bottom: 10px; }
.definition p { color: var(--grey); font-size: 15px; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 16px; font-family: var(--serif); list-style: none; position: relative; padding-right: 34px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 22px; color: var(--gold-deep); font-family: var(--sans); }
.faq-item[open] summary::after { content: '–'; }
.faq-item .a { padding: 0 0 20px; color: var(--grey); font-size: 15px; max-width: 720px; }
.faq-item .a p { margin-bottom: 10px; }

/* ===== Price ===== */
.price-box { background: var(--navy); color: var(--navy-ink); border-radius: 12px; padding: 36px; display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px solid var(--navy-border); }
.price-box .amount { font-family: var(--serif); font-size: 38px; color: #fff; font-weight: 700; }
.price-box .amount small { font-size: 15px; color: var(--navy-muted); font-weight: 400; }
.price-box p { color: var(--navy-muted); font-size: 14px; max-width: 420px; }

/* ===== CTA band ===== */
.cta-band { background: var(--navy); color: var(--navy-ink); text-align: center; padding: 64px 0; border-top: 3px solid var(--gold); }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--navy-muted); max-width: 560px; margin: 12px auto 26px; }

/* ===== Footer ===== */
footer { background: var(--navy); color: var(--navy-muted); padding: 44px 0 36px; border-top: 3px solid var(--gold); font-size: 13px; }
.foot-grid { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.foot-brand { max-width: 300px; }
.foot-brand .brand-name { color: #fff; }
.foot-brand p { margin-top: 12px; font-size: 12.5px; line-height: 1.6; }
footer nav { display: flex; gap: 40px; flex-wrap: wrap; }
footer nav div { display: flex; flex-direction: column; gap: 8px; }
footer nav b { color: var(--navy-ink); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
footer a { color: var(--navy-muted); }
footer a:hover { color: #fff; text-decoration: none; }
.foot-legal { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--navy-border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; }

/* ===== Breadcrumb ===== */
.crumbs { font-size: 12.5px; color: var(--faint); padding: 18px 0 0; }
.crumbs a { color: var(--faint); }

/* ===== Page hero (light, subpages) ===== */
.page-hero { padding: 56px 0 8px; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); line-height: 1.2; max-width: 760px; }
.page-hero .lede { margin-top: 16px; color: var(--grey); font-size: 16.5px; max-width: 660px; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .grid-3, .grid-4, .ratio-grid, .stats-grid { grid-template-columns: 1fr 1fr; }
  .artifact-cols, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 54px; }
  section { padding: 52px 0; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .ratio-grid, .stats-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; }
  .price-box { padding: 26px; }
}

/* ============================================================
   v2 — modern layer: blueprint texture, depth, navy sub-heroes
   ============================================================ */

/* Blueprint grid texture for navy surfaces (subtle, architectural) */
.bp { position: relative; overflow: hidden; }
.bp::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(hsla(215, 35%, 93%, .045) 1px, transparent 1px),
    linear-gradient(90deg, hsla(215, 35%, 93%, .045) 1px, transparent 1px);
  background-size: 44px 44px;
}
.bp > * { position: relative; z-index: 1; }

/* Soft gold glow behind hero headlines */
.hero { position: relative; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; top: -30%; right: -12%;
  width: 58%; height: 160%; pointer-events: none;
  background: radial-gradient(closest-side, hsla(36, 55%, 50%, .10), transparent 72%);
}
.hero .wrap { position: relative; z-index: 1; }

/* Balanced headlines (modern text wrapping; harmless fallback) */
h1, h2 { text-wrap: balance; }

/* Depth + hover lift on cards */
.card, .ratio-card, .q-card, .definition {
  box-shadow: 0 1px 2px hsla(214, 52%, 11%, .05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover, .q-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px hsla(214, 52%, 11%, .10);
  border-color: hsl(36 45% 74%);
}

/* Nav CTA button: must beat .nav-links a grey (higher specificity) */
.nav-links a.btn-gold { color: var(--navy); font-weight: 700; font-size: 13px; }
.nav-links a.btn-gold:hover { color: #fff; text-decoration: none; }

/* Buttons: lift + gold glow */
.btn { transition: background .15s, color .15s, transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); text-decoration: none !important; }
.btn-gold { box-shadow: 0 4px 16px hsla(36, 55%, 38%, .22); }
.btn-gold:hover { box-shadow: 0 8px 22px hsla(36, 55%, 32%, .30); }

/* Stat strip: white band framed in gold (hero's gold rule forms the top line) */
.stats { background: #fff; border-top: 0; border-bottom: 3px solid var(--gold); padding: 38px 0; }
.stats .stat b { color: var(--navy); }
.stats .stat span { color: var(--grey); }
@media (min-width: 861px) {
  .stats-grid .stat + .stat { border-left: 1px solid var(--border); }
  .stats-grid { gap: 0; }
  .stat { padding: 0 24px; }
}

/* Navy sub-hero for interior pages */
.hero-sub { padding: 52px 0 50px; border-bottom: 3px solid var(--gold); }
.hero-sub h1 { font-size: clamp(26px, 3.6vw, 38px); max-width: 820px; }
.hero-sub .lede { font-size: 16.5px; }
.crumbs-navy { font-size: 12.5px; color: var(--navy-muted); margin-bottom: 20px; }
.crumbs-navy a { color: var(--navy-muted); }
.crumbs-navy a:hover { color: #fff; }

/* Navy ratio cards: glassier on navy */
.navy .ratio-card { box-shadow: none; }
.navy .ratio-card:hover { transform: none; box-shadow: none; border-color: var(--navy-border); }

/* Definition block — navy inversion */
.definition-navy { background: var(--navy); border: 1px solid var(--navy-border); border-left: 4px solid var(--gold); }
.definition-navy h2, .definition-navy h3 { color: #fff; }
.definition-navy p { color: var(--navy-muted); }
.definition-navy a { color: var(--gold); }

/* Kicker: small gold dash lead-in */
.kicker::before { content: ''; display: inline-block; width: 18px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: 10px; margin-top: -2px; }

/* Founding pill (course hero) — no extra margin; cta-row centers it against the button */
.pill { display: inline-block; border: 1px solid hsla(36, 55%, 50%, .55); color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; line-height: 1.5; }

/* Struck regular price in the founding price box */
.price-box .was { color: var(--navy-muted); font-size: 20px; font-weight: 400; margin-right: 10px; text-decoration: line-through; text-decoration-color: hsla(36, 55%, 50%, .7); }

/* Artifact rows: gold accent on hover */
.artifact { transition: padding-left .15s ease; border-left: 2px solid transparent; padding-left: 0; }
.artifact:hover { border-left-color: var(--gold); padding-left: 12px; }

/* About portrait — circular, paired with the name as one centered unit */
.hero-flex { display: flex; gap: 40px; align-items: center; justify-content: center; margin-top: 10px; }
.portrait-circle { width: 200px; height: 200px; border-radius: 50%; border: 3px solid var(--gold); box-shadow: 0 0 0 7px hsla(36, 55%, 50%, .14), 0 18px 44px hsla(214, 52%, 11%, .5); flex: none; }
@media (max-width: 560px) {
  .hero-flex { flex-direction: column; gap: 20px; text-align: center; }
  .portrait-circle { width: 150px; height: 150px; }
}

/* Focus visibility */
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  .card, .q-card, .btn, .artifact { transition: none; }
  .card:hover, .q-card:hover, .btn:hover { transform: none; }
}
