:root {
  --bg: #F5F1E8;
  --surface: #FBF8F1;
  --surface-alt: #EDE7D9;
  --ink: #0E1B2C;
  --ink-2: #4A5668;
  --ink-3: #7A8497;
  --line: #DCD3BC;
  --accent: #B85426;
  --accent-dark: #91472f;
  --positive: #2F5D3C;
  --navy: #0E1B2C;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1180px;
  --reading: 840px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html { overflow-x: hidden; }
.report-preview, .report-head, .report-row { max-width: 100%; }
.report-head { grid-template-columns: 1fr auto; gap: 12px; }
.report-head span, .report-row span { min-width: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid rgba(180, 92, 60, .34); outline-offset: 3px; }

.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.reading { width: min(calc(100% - 48px), var(--reading)); margin-inline: auto; }
.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--navy); color: #fff; }
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font: 500 11px/1.4 var(--mono);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.section-dark .section-kicker { color: #dc8b6d; }
.display, h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  text-wrap: balance;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
h1, h2, h3, h4, p { margin-top: 0; }
.section-title {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.04;
}
.section-intro {
  max-width: 690px;
  margin: 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.7;
}
.section-dark .section-intro { color: rgba(255,255,255,.72); }
.text-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(180,92,60,.4);
}
.text-link:hover { color: var(--accent-dark); border-color: currentColor; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 72px;
  background: rgba(252,252,250,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 25px/1 var(--serif); text-decoration: none; }
.brand-mark { width: 22px; height: 26px; flex-shrink: 0; background: url(/assets/logo/al-mark.svg) center/contain no-repeat; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-2); font-size: 14px; font-weight: 500; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--ink); padding: 9px; cursor: pointer; }
.nav-toggle span { display: block; width: 23px; height: 1.5px; margin: 5px 0; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6.5px) rotate(-45deg); }

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { background: var(--surface-alt); color: var(--ink); border-color: #c8cac5; }
.nav-cta { min-height: 40px; padding: 9px 17px; color: #fff !important; }
.section-dark .btn { background: #fff; border-color: #fff; color: var(--ink); }
.section-dark .btn:hover { background: #f0eee8; border-color: #f0eee8; }

.hero { padding: 88px 0 74px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(360px,.88fr); gap: 84px; align-items: center; }
.hero h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(44px, 5.6vw, 72px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.0;
}
h1 em, h2 em, h3 em, .section-title em, .hero h1 em { font-style: italic; color: var(--accent); }
.section-dark h1 em, .section-dark h2 em { color: #dc8b6d; }
.hero-lede { max-width: 650px; margin-bottom: 32px; color: var(--ink-2); font-size: 19px; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin: 20px 0 0; color: var(--ink-3); font-size: 13px; }

.report-preview { background: var(--surface); border: 1px solid var(--line); box-shadow: 0 28px 70px rgba(18,32,51,.1); }
.report-head, .report-row, .report-foot { display: grid; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.report-head { grid-template-columns: 1fr auto; background: var(--surface-alt); font: 500 10px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.report-age { padding: 28px 20px; border-bottom: 1px solid var(--line); }
.report-age strong { display: block; font: 500 54px/.9 var(--serif); letter-spacing: -.04em; }
.report-age span { color: var(--ink-2); font-size: 13px; }
.report-row { grid-template-columns: 1fr auto; gap: 18px; font-size: 13px; }
.report-row code { font: 500 12px/1.4 var(--mono); }
.report-foot { border-bottom: 0; color: var(--ink-3); font-size: 12px; line-height: 1.5; }
.tag {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 2px;
  background: #f5e8e2;
  color: var(--accent-dark);
  font: 500 9px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tag-good { background: #e8f0ec; color: var(--positive); }

.signal-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.signal-list { border-top: 1px solid var(--line); }
.signal-item { display: grid; grid-template-columns: 84px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.signal-item code { color: var(--accent); font: 500 11px/1.5 var(--mono); letter-spacing: .08em; }
.signal-item h3 { margin-bottom: 8px; font-size: 25px; font-weight: 600; line-height: 1.18; }
.signal-item p { margin: 0; color: var(--ink-2); }

.steps { margin-top: 56px; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 100px .78fr 1.22fr; gap: 34px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.step-num { color: var(--accent); font: 500 11px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.step h3 { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.1; }
.step p { max-width: 620px; margin: 0; color: var(--ink-2); }

.deliverables { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: start; }
.deliverable-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.deliverable { min-height: 210px; padding: 26px; background: var(--surface); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.deliverable code { color: var(--accent); font: 500 10px/1 var(--mono); letter-spacing: .1em; }
.deliverable h3 { margin: 34px 0 10px; font-size: 23px; font-weight: 600; }
.deliverable p { margin: 0; color: var(--ink-2); font-size: 14px; }
.protocol-preview { padding: 26px; background: var(--navy); color: #fff; }
.protocol-preview h3 { color: #fff; font-size: 26px; }
.protocol-preview p { color: rgba(255,255,255,.68); font-size: 14px; }
.protocol-block { margin-top: 18px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.18); }
.protocol-block span { display: block; margin-bottom: 6px; color: #dc8b6d; font: 500 10px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.protocol-block strong { font-family: var(--serif); font-size: 18px; font-weight: 600; }

.results-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: start; }
.evidence-card { padding: 32px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); }
.evidence-card h3 { margin-bottom: 12px; font-size: 28px; font-weight: 600; }
.evidence-card p { color: rgba(255,255,255,.7); }
.evidence-checks { margin: 24px 0 0; padding: 0; list-style: none; }
.evidence-checks li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.82); font-size: 14px; }
.evidence-checks li::before { content: "✓"; margin-right: 10px; color: #83b29e; }

.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 50px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.why-card { padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.why-card h3 { margin: 28px 0 10px; font-size: 24px; font-weight: 600; }
.why-card p { margin: 0; color: var(--ink-2); font-size: 14px; }
.why-card code { color: var(--accent); font: 500 10px/1 var(--mono); letter-spacing: .1em; }

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.fit-card { padding: 30px; background: var(--surface); border: 1px solid var(--line); }
.fit-card h3 { font-size: 27px; font-weight: 600; }
.fit-card ul { margin: 20px 0 0; padding: 0; list-style: none; }
.fit-card li { padding: 13px 0 13px 24px; border-top: 1px solid var(--line); color: var(--ink-2); position: relative; }
.fit-card li::before { content: "·"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.field-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 54px; align-items: start; }
.featured-post { display: block; text-decoration: none; }
.feature-visual { min-height: 310px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; background: var(--navy); color: #fff; }
.feature-visual .diagram { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; align-items: end; height: 130px; }
.feature-visual .diagram i { display: block; background: #dc8b6d; opacity: .9; }
.feature-visual .diagram i:nth-child(1) { height: 22%; }
.feature-visual .diagram i:nth-child(2) { height: 38%; }
.feature-visual .diagram i:nth-child(3) { height: 61%; }
.feature-visual .diagram i:nth-child(4) { height: 94%; }
.post-meta { margin: 20px 0 10px; color: var(--accent); font: 500 10px/1.5 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.featured-post h3 { margin-bottom: 12px; font-size: 32px; font-weight: 600; line-height: 1.1; }
.featured-post p { margin: 0; color: var(--ink-2); }
.post-stack { border-top: 1px solid var(--line); }
.post-row { display: block; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.post-row h3 { margin-bottom: 8px; font-size: 22px; font-weight: 600; line-height: 1.2; }
.post-row p { margin: 0; color: var(--ink-2); font-size: 14px; }
.post-row:hover h3, .featured-post:hover h3 { color: var(--accent-dark); }

.faq { margin-top: 44px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; padding: 22px 0; border: 0; background: transparent; color: var(--ink); display: flex; justify-content: space-between; gap: 24px; text-align: left; font: 600 21px/1.25 var(--serif); cursor: pointer; }
.faq-q::after { content: "+"; color: var(--accent); font-family: var(--sans); font-weight: 400; }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { display: none; max-width: 720px; padding: 0 0 24px; color: var(--ink-2); }
.faq-item.open .faq-a { display: block; }

.final-cta { padding: 88px 0; background: var(--navy); color: #fff; }
.final-cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; }
.final-cta h2 { max-width: 760px; margin-bottom: 16px; color: #fff; font-size: clamp(38px,5vw,62px); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.final-cta p { max-width: 660px; margin: 0; color: rgba(255,255,255,.7); }

.site-footer { padding: 56px 0 32px; background: var(--surface-alt); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 60px; }
.footer-brand p { max-width: 390px; margin: 18px 0 0; color: var(--ink-2); font-size: 14px; }
.footer-col h3 { margin-bottom: 15px; font: 500 10px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.footer-col a { display: block; width: fit-content; margin: 8px 0; color: var(--ink-2); font-size: 14px; text-decoration: none; }
.footer-col a:hover { color: var(--accent-dark); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-3); font: 400 10px/1.5 var(--mono); letter-spacing: .05em; }

.page-hero { padding: 80px 0 58px; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: end; }
.page-hero h1 { margin-bottom: 22px; font-size: clamp(46px,6vw,76px); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.page-hero p { max-width: 650px; margin: 0; color: var(--ink-2); font-size: 18px; }
.topic-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.topic-list a { padding: 8px 12px; border: 1px solid var(--line); color: var(--ink-2); font-size: 12px; text-decoration: none; }
.topic-list a:hover { border-color: var(--accent); color: var(--accent-dark); }
.posts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.post-card { min-height: 310px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.post-card h2 { margin: 44px 0 14px; font-size: 30px; font-weight: 600; line-height: 1.12; }
.post-card p { color: var(--ink-2); }
.post-card:hover h2 { color: var(--accent-dark); }
.newsletter-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; padding: 48px; background: var(--navy); color: #fff; }
.newsletter-panel h2 { color: #fff; font-size: 38px; font-weight: 600; line-height: 1.08; }
.newsletter-panel p { color: rgba(255,255,255,.7); }

.signup-form { display: flex; gap: 10px; }
.signup-form input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); color: var(--ink); }
.signup-form button { flex: 0 0 auto; }
.form-note { margin: 12px 0 0; color: var(--ink-3); font-size: 12px; }
.section-dark .form-note, .newsletter-panel .form-note { color: rgba(255,255,255,.55); }
.form-note[data-state="success"] { color: #83b29e; }
.form-note[data-state="error"] { color: #e6a58d; }
.issue-list { border-top: 1px solid rgba(255,255,255,.18); }
.issue { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.issue code { color: #dc8b6d; font: 500 10px/1.5 var(--mono); }
.issue h3 { margin: 5px 0 0; color: #fff; font-size: 20px; font-weight: 600; }

.article-shell .art-head { padding: 78px 0 46px; border-bottom: 1px solid var(--line); }
.article-shell .article { width: min(calc(100% - 48px), var(--reading)); margin-inline: auto; padding-inline: 0; }
@media (min-width: 1024px) {
  .article-shell .article { width: min(calc(100% - 48px), 1000px); }
}
.article-shell .breadcrumb { margin-bottom: 25px; color: var(--accent); font: 500 10px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.article-shell .breadcrumb a { text-decoration: none; }
.article-shell .art-head h1 { margin-bottom: 24px; font-size: clamp(42px,6vw,68px); font-weight: 500; line-height: 1.02; letter-spacing: -.043em; }
.article-shell .art-head h1 em { color: inherit; font-style: normal; }
.article-shell .art-dek { margin-bottom: 22px; color: var(--ink-2); font-size: 19px; line-height: 1.65; }
.article-shell .art-meta { display: flex; flex-wrap: wrap; gap: 15px; color: var(--ink-3); font: 400 10px/1.5 var(--mono); letter-spacing: .04em; }
.article-shell .art-body { padding: 48px 0 20px; }
.article-shell .art-body p, .article-shell .art-body li { color: #303b49; font-size: 17px; line-height: 1.8; }
.article-shell .art-body p { margin-bottom: 23px; }
.article-shell .art-body h2 { margin: 52px 0 16px; font-size: 34px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
.article-shell .art-body h3 { margin: 34px 0 12px; font-size: 24px; font-weight: 600; }
.article-shell .art-body a { color: var(--accent-dark); text-underline-offset: 3px; }
.article-shell .art-body ul { margin: 0 0 24px; padding-left: 22px; }
.article-shell .pullquote { margin: 38px 0; padding: 8px 0 8px 24px; border-left: 3px solid var(--accent); font: 500 27px/1.42 var(--serif); }
.article-shell .datatable { width: 100%; margin: 30px 0; border-collapse: collapse; background: var(--surface); }
.article-shell .datatable th, .article-shell .datatable td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; font-size: 14px; }
.article-shell .datatable th { background: var(--surface-alt); font: 500 10px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.article-shell .datatable .mono { font-family: var(--mono); }
.article-shell .note { margin: 30px 0; padding: 20px 22px; background: var(--surface-alt); border-left: 3px solid var(--positive); color: var(--ink-2); }
.article-shell .bridge { margin-top: 50px; padding: 34px; background: var(--navy); color: #fff; }
.article-shell .bridge .mono-tag, .article-shell .readmore .mono-tag { display: block; margin-bottom: 12px; color: #dc8b6d; font: 500 10px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.article-shell .bridge h3 { margin: 0 0 12px; color: #fff; }
.article-shell .bridge p { color: rgba(255,255,255,.72); font-size: 15px; }
.article-shell .bridge .btn { color: #fff; text-decoration: none; border-color: var(--accent); background: var(--accent); }
.article-shell .readmore { margin-top: 50px; padding-top: 34px; border-top: 1px solid var(--line); }
.article-shell .readmore-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.article-shell .readmore-links a { padding: 18px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.article-shell .readmore-links h4 { margin-bottom: 6px; font-size: 17px; font-weight: 600; }
.article-shell .readmore-links p { margin: 0; color: var(--ink-2); font-size: 13px; line-height: 1.5; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 24px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .nav-cta { margin-top: 8px; }
  .hero-grid, .page-hero-grid, .signal-layout, .deliverables, .results-layout,
  .field-grid, .newsletter-panel, .final-cta-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .page-hero-grid { gap: 30px; }
  .topic-list { justify-content: flex-start; }
  .step { grid-template-columns: 76px 1fr; }
  .step p { grid-column: 2; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container, .reading, .article-shell .article { width: min(calc(100% - 32px), var(--max)); }
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: clamp(33px, 8.5vw, 46px); letter-spacing: -.03em; }
  .hero-lede { font-size: 17px; }
  .hero-grid { grid-template-columns: minmax(0,1fr); }
  .report-preview { min-width: 0; }
  .signal-item { grid-template-columns: 1fr; gap: 8px; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .step p { grid-column: 1; }
  .deliverable-list, .fit-grid, .posts-grid { grid-template-columns: 1fr; }
  .deliverable { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .signup-form { flex-direction: column; }
  .newsletter-panel { padding: 30px 24px; }
  .article-shell .readmore-links { grid-template-columns: 1fr; }
  .article-shell .art-head h1 { font-size: clamp(39px, 12vw, 55px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
