
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-alt: #eef3f8;
  --text: #163252;
  --muted: #61748c;
  --line: #d7e1eb;
  --navy: #173257;
  --navy-deep: #0d1d34;
  --orange: #f59a23;
  --orange-deep: #d97f0f;
  --shadow: 0 18px 50px rgba(9, 28, 48, 0.08);
  --shadow-soft: 0 12px 28px rgba(15, 34, 58, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
  line-height: 1.65;
}

p {
  margin: 0 0 1rem;
}

main {
  overflow: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange-deep); }
.container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.narrow { max-width: 840px; }
.section { padding: 88px 0; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(238,243,248,0.96)); }
.skip-link { position:absolute; left:-9999px; }
.skip-link:focus { left:12px; top:12px; padding:10px 14px; background:#fff; border-radius:8px; z-index:999; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,252,254,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(215,225,235,0.82);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(245,154,35,0), rgba(245,154,35,.35), rgba(245,154,35,0));
}
.nav-wrap { display:flex; align-items:center; justify-content:space-between; gap:1.25rem; min-height:92px; }
.brand { display:flex; align-items:center; max-width:min(390px, 58vw); padding-right: 18px; min-width:0; }
.brand-lockup { width:100%; max-width:352px; height:auto; object-fit:contain; padding: 8px 22px 8px 4px; }
.primary-nav { display:flex; align-items:center; gap:1.15rem; }
.primary-nav a { font-weight: 700; color: var(--text); position: relative; }
.primary-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; transform: scaleX(0); transform-origin: left; background: rgba(245,154,35,.9); transition: transform .2s ease; }
.primary-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta { background: var(--navy); color:#fff !important; padding:11px 18px; border-radius:999px; box-shadow: var(--shadow-soft); }
.nav-toggle { display:none; border:1px solid var(--line); background:#fff; color:var(--text); border-radius:999px; padding:10px 14px; }
.hero, .page-hero { padding: 72px 0 40px; }
.hero-frame, .page-hero-banner {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  color: #fff;
  box-shadow: var(--shadow);
}
.hero-frame {
  padding: 3.4rem;
  min-height: 560px;
  background: linear-gradient(135deg, rgba(13,29,52,0.94), rgba(23,50,87,0.90));
}
.hero-frame::before, .page-hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(13,29,52,0.95) 0%, rgba(13,29,52,0.88) 42%, rgba(13,29,52,0.72) 100%),
    url('assets/books-bg-clean.jpg') center/cover no-repeat;
  transform: scale(1.02);
}

.hero-frame::after, .page-hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(245,154,35,.16), transparent 28%), linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0));
}
.page-hero-banner {
  padding: 3rem;
  background: linear-gradient(135deg, rgba(13,29,52,0.95), rgba(23,50,87,0.92));
}
.hero-grid { display:grid; grid-template-columns: 1.18fr .82fr; gap: 2.25rem; align-items:stretch; }
.hero-content, .hero-side, .page-hero-banner > *, .hero-frame > * { position:relative; z-index:1; }
.hero-content { max-width: 680px; }
.eyebrow {
  margin:0 0 14px;
  color: #ffb85a;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .82rem;
  font-weight: 800;
}
.hero h1, .page-hero h1, .section-head h2, .article-header h1, .detail-card h2 { margin:0; line-height:1.04; letter-spacing:-0.035em; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 5rem); max-width: 11.8ch; }
.page-hero h1, .section-head h2, .article-header h1 { font-size: clamp(2rem, 4vw, 3.35rem); }
.hero-subhead, .page-hero p, .section-head p, .article-header .article-dek { color: rgba(255,255,255,.96); font-size:1.12rem; max-width: 64ch; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.hero-actions, .card-actions { display:flex; flex-wrap:wrap; gap:.9rem; margin-top:1.5rem; }
.button {
  display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:0 22px;
  border-radius:999px; font-weight:800; border:none; cursor:pointer; background:var(--orange); color:var(--navy-deep);
  box-shadow: 0 10px 22px rgba(245,154,35,.22);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.button:hover { background: var(--orange-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 26px rgba(217,127,15,.26); }
.button-secondary { background: rgba(255,255,255,0.10); color:#fff; border:1px solid rgba(255,255,255,0.25); box-shadow: none; }
.button-secondary:hover { background:#fff; color:var(--navy-deep); }
.button-small { min-height:42px; padding:0 16px; font-size:.95rem; }
.hero-points { list-style:none; padding:0; margin: 1.9rem 0 0; display:grid; gap:.95rem; max-width: 560px; }
.hero-points li, .page-checklist li { display:flex; gap:.75rem; align-items:flex-start; }
.hero-points li { color: rgba(255,255,255,.95); }
.hero-points li::before, .page-checklist li::before {
  content: ""; width:10px; height:10px; border-radius:999px; background:var(--orange); margin-top:.48rem; flex:0 0 auto;
}
.hero-side { display:grid; gap:1rem; align-content:end; }
.hero-panel {
  background: rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  padding: 1.6rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 28px rgba(5, 18, 34, .12);
}
.hero-panel h2, .hero-panel h3 { margin:.5rem 0; font-size:1.4rem; }
.hero-panel p { margin:0; color: rgba(255,255,255,.92); }
.hero-logo-ribbon { display:flex; align-items:center; gap:1rem; margin-top:1.55rem; flex-wrap:wrap; }
.hero-logo-ribbon img { width: min(282px, 100%); height:auto; padding-right: 10px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.12)); }
.pill {
  display:inline-flex; align-items:center; min-height:32px; padding:0 12px; border-radius:999px;
  background: rgba(245,154,35,0.16); color: #ffb85a; font-weight: 800; font-size: .82rem;
}
.section-head { margin-bottom: 2rem; }
.split-head { display:flex; align-items:flex-end; justify-content:space-between; gap:2rem; }
.feature-grid, .project-grid, .insight-grid, .article-grid, .footer-grid, .proof-band, .contact-wrap, .stats-grid, .page-grid { display:grid; gap: 1.6rem; }
.feature-grid, .proof-band, .stats-grid { grid-template-columns: repeat(3, 1fr); }
.project-grid, .insight-grid { grid-template-columns: repeat(3, 1fr); }
.article-grid { grid-template-columns: 2fr 1fr; align-items:start; }
.contact-wrap { grid-template-columns: .92fr 1.08fr; align-items:start; }
.page-grid { grid-template-columns: 1.1fr .9fr; align-items:start; }
.card, .feature-card, .project-card, .insight-card, .detail-card, .contact-form, .proof-band > div, .article-card, .sidebar-card, .stats-grid > div {
  background: var(--surface);
  border: 1px solid rgba(215,225,235,.88);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.project-card:hover, .insight-card:hover, .feature-card:hover, .detail-card:hover {
  transform: translateY(-3px);
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 18px 32px rgba(15,34,58,.10);
}
.feature-card, .project-card, .insight-card, .detail-card, .contact-form, .article-card, .sidebar-card, .stats-grid > div { padding: 36px; }
.project-card-featured { border-color: rgba(245,154,35,.34); }
.project-card img.project-banner { width: 100%; border-radius: 14px; margin-bottom: 1rem; border:1px solid var(--line); background: #f9fbfe; padding: .25rem; }

.project-card, .detail-card { display:flex; flex-direction:column; gap: 1.15rem; }
.project-card h3, .detail-card h2 { margin: .35rem 0 .25rem; }
.project-card p, .detail-card p { margin-bottom: 0; }
.project-card .check-list, .detail-card .check-list { display:grid; gap:1rem; margin-top: .6rem; }
.project-card .card-actions, .detail-card .card-actions { margin-top: auto; padding-top: .9rem; }
.project-card img.project-banner, .detail-card img.project-banner { margin-bottom: .8rem; padding: .6rem .95rem .6rem .65rem; }
.project-grid, .feature-grid { align-items: stretch; }
.project-label { margin:0 0 .6rem; color:var(--orange-deep); font-weight:800; font-size:.86rem; }
.text-link { font-weight: 800; }
.check-list, .article-meta-list, .page-checklist { margin: 1rem 0 0; padding-left: 0; list-style: none; }
.check-list li, .article-meta-list li { margin-bottom:.55rem; color: var(--muted); }
.page-checklist { display:grid; gap:.75rem; }
.proof-band > div, .stats-grid > div { padding:24px; }
.cta-band {
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.5rem;
  align-items: center;
  padding: 34px 36px;
  background: linear-gradient(135deg, rgba(13,29,52,0.98), rgba(23,50,87,0.94));
  color:#fff;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cta-band p:last-child { margin-bottom: 0; }
.cta-band .button-secondary { background: rgba(255,255,255,0.12); }
.cta-band-actions { display:flex; flex-wrap:wrap; gap:.9rem; justify-content:flex-end; }

.form-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap:1rem; }
label { display:grid; gap:.45rem; font-weight:600; }
.full-width { grid-column: 1 / -1; }
input, select, textarea {
  width:100%; min-height: 48px; padding: 12px 14px; border:1px solid var(--line); border-radius: 14px; font:inherit; color:var(--text); background:#fff;
}
textarea { min-height: 140px; resize: vertical; }
.form-note, .muted { color: var(--muted); }
.form-note { font-size:.95rem; }
.honeypot { position:absolute; left:-5000px; }
.site-footer { padding: 30px 0 36px; border-top: 1px solid rgba(215,225,235,.85); background: #fff; }
.footer-grid { grid-template-columns: 1.2fr .9fr .8fr; align-items:start; }
.footer-nav { display:grid; gap:.4rem; }
.footer-note { margin-top: 1rem; color: var(--muted); font-size: .95rem; max-width: 28rem; }
.footer-copyright { margin-top: .8rem; color: var(--muted); }
.article-header { margin-bottom: 2rem; }
.article-header .article-dek { color: var(--muted); }
.article-card p + h2, .article-card p + h3 { margin-top: 1.5rem; }
.article-card h2, .article-card h3 { line-height:1.15; }
.article-sidebar { display:grid; gap:1.2rem; position: sticky; top: 104px; }
.article-cta-box { background: linear-gradient(135deg, #173257, #234777); color:#fff; }
.article-cta-box a { color:#fff; }
.section-kicker { margin-top: .35rem; font-size: 1.02rem; color: var(--muted); }

.compact-copy p:last-child, .insight-card p:last-child, .feature-card p:last-child, .detail-card p:last-child, .sidebar-card p:last-child { margin-bottom: 0; }
@media (max-width: 980px) {
  .hero-grid, .contact-wrap, .article-grid, .feature-grid, .project-grid, .insight-grid, .proof-band, .footer-grid, .stats-grid, .page-grid, .cta-band { grid-template-columns: 1fr; }
  .split-head { flex-direction:column; align-items:flex-start; }
  .article-sidebar { position: static; }
  .hero-frame { min-height: auto; }
}
@media (max-width: 760px) {
  .nav-toggle { display:inline-flex; }
  .primary-nav {
    display:none; position:absolute; top:90px; left:1rem; right:1rem; background:#fff; border:1px solid var(--line); border-radius: 18px; padding: 1rem; box-shadow: var(--shadow);
    flex-direction:column; align-items:flex-start;
  }
  .primary-nav.is-open { display:flex; }
  .brand { max-width: 272px; padding-right: 8px; }
  .brand-lockup { padding-right: 10px; }
  .hero-frame, .page-hero-banner { padding: 2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
}


.recaptcha-wrap { margin-top: .25rem; }
.recaptcha-wrap > div { display:flex; justify-content:flex-start; }
