/* Ponderosa Systems — site stylesheet (Nov 24, 2026 rebuild).
   One file for every page. No build step. Bump ?v= in page heads after a change.
   Palette is sampled from the official logo: navy wordmark, green "SYSTEMS",
   and the tree's green → teal → blue gradient. */

:root {
  --navy: #162E49;
  --navy-deep: #0A1829;
  --ink: #12233A;
  --body: #3A485E;
  --muted: #5A677B;
  --green: #7EAD3E;
  --green-ink: #44731A;
  --teal: #247267;
  --blue: #03506F;
  --link: #0B5C7F;
  --paper: #FFFFFF;
  --tint: #F5F8F9;
  --tint-2: #EBF1F2;
  --rule: #DDE4E9;
  --rule-strong: #BCC7D1;
  --grad: linear-gradient(100deg, #7EAD3E 0%, #2E8A76 50%, #03506F 100%);
  --font-display: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-body: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 9vw, 132px);
  --radius: 4px;
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0; background: var(--paper); color: var(--body);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius); z-index: 100; }
.skip:focus { left: 8px; }

/* Gradient text. Padding keeps descenders (g, y, p) inside the clipped background. */
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--teal);
  padding-bottom: .14em; margin-bottom: -.14em;
}

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font: 500 12.5px/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); flex: none; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { color: var(--navy); }
.eyebrow span[aria-hidden] { color: var(--rule-strong); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 15.5px/1 var(--font-body); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  padding: 15px 22px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--blue); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #E6F0E0; color: var(--navy); }
.btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); }
.btn--line:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; text-decoration: none; color: var(--link); }
.arrow-link::after { content: "→"; transition: transform .18s var(--ease); }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--rule); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.9); backdrop-filter: saturate(140%) blur(12px); } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link, .nav__trigger {
  display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; cursor: pointer;
  font: 500 15.5px/1 var(--font-body); color: var(--ink); text-decoration: none; padding: 12px 14px; border-radius: var(--radius);
}
.nav__link:hover, .nav__trigger:hover, .nav__link[aria-current="page"], .nav__trigger[data-current] { color: var(--link); }
.nav__trigger svg { width: 10px; height: 10px; transition: transform .18s ease; }
.nav__group { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 6px); left: -8px; min-width: 340px; padding: 8px;
  background: #fff; border: 1px solid var(--rule); border-radius: 8px; box-shadow: 0 18px 44px -18px rgba(18,35,58,.28);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__group:hover .nav__menu, .nav__group:focus-within .nav__menu, .nav__group.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__group:hover .nav__trigger svg, .nav__group.is-open .nav__trigger svg { transform: rotate(180deg); }
.nav__menu a { display: block; padding: 10px 14px; border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { background: var(--tint); }
.nav__menu strong { display: block; font: 600 15.5px/1.3 var(--font-body); }
.nav__menu span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; margin-top: 1px; }
.nav .btn { margin-left: 12px; padding: 13px 18px; font-size: 15px; }
.nav-toggle { display: none; }

@media (max-width: 1000px) {
  :root { --header-h: 68px; }
  .brand img { height: 44px; }
  .site-header__inner { flex-wrap: wrap; row-gap: 0; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; width: 100%; padding: 4px 0 20px; }
  .nav__link, .nav__trigger { padding: 15px 2px; font-size: 17px; border-bottom: 1px solid var(--rule); border-radius: 0; width: 100%; justify-content: space-between; }
  .nav__trigger { pointer-events: none; color: var(--muted); font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; border-bottom: 0; padding: 18px 2px 6px; }
  .nav__trigger svg { display: none; }
  .nav__menu, .nav__group:hover .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0; min-width: 0; border-radius: 0; }
  .nav__menu::before { display: none; }
  .nav__menu a { padding: 12px 2px; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .nav__menu span { display: none; }
  .nav__menu strong { font-size: 17px; font-weight: 500; }
  .nav .btn { margin: 20px 0 0; padding: 16px 20px; font-size: 16px; }
  /* With JavaScript the menu collapses behind the toggle; without it the links stay visible. */
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-right: -8px;
    background: none; border: 0; cursor: pointer; border-radius: var(--radius);
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle span { position: relative; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--tint); }
.section--rule { border-top: 1px solid var(--rule); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; margin-top: 18px; }
.section-head p:not(.eyebrow) { margin-top: 18px; font-size: 18.5px; color: var(--body); max-width: 640px; }
.section-foot { margin-top: 36px; }

/* ---------- Home hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px); background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); border-bottom: 1px solid var(--rule); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(36px, 5vw, 76px); align-items: center; }
.hero h1 { font-size: clamp(46px, 6.3vw, 88px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; margin-top: 22px; }
.hero h1 span { display: block; }
.hero__lede { margin-top: 30px; font: 500 clamp(20px, 1.9vw, 24px)/1.35 var(--font-display); letter-spacing: -.012em; color: var(--ink); max-width: 520px; }
.hero__sub { margin-top: 30px; font-size: clamp(19px, 1.6vw, 21.5px); line-height: 1.5; max-width: 540px; color: var(--body); }
.hero .btn-row { margin-top: 34px; }
@media (max-width: 940px) { .hero__inner { grid-template-columns: 1fr; } .hero__lede, .hero__sub { max-width: 600px; } }

/* ---------- Map figure (illustrative product visual) ---------- */
.mapfig { position: relative; margin: 0; }
.mapfig__frame {
  position: relative; overflow: hidden; border-radius: 10px; background: var(--navy-deep);
  aspect-ratio: 4 / 3.25; box-shadow: 0 40px 70px -40px rgba(10,24,41,.6), 0 0 0 1px rgba(10,24,41,.9);
}
.mapfig__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mapfig__ask {
  position: absolute; left: 16px; right: 16px; top: 16px; display: flex; align-items: center; gap: 12px;
  background: rgba(10,24,41,.82); border: 1px solid rgba(255,255,255,.14); border-radius: 6px; padding: 12px 14px;
  color: #F3F7FA; font-size: 14.5px; line-height: 1.3; backdrop-filter: blur(6px);
}
.mapfig__ask b { flex: none; font: 500 10.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #A9D46A; padding-right: 12px; border-right: 1px solid rgba(255,255,255,.18); }
.mapfig__layers {
  position: absolute; left: 16px; bottom: 16px; display: grid; gap: 7px;
  background: rgba(10,24,41,.82); border: 1px solid rgba(255,255,255,.14); border-radius: 6px; padding: 12px 14px;
  font-size: 12.5px; line-height: 1.2; color: #D5DFE8; backdrop-filter: blur(6px);
}
.mapfig__layers li { display: flex; align-items: center; gap: 9px; }
.mapfig__layers li::before { content: ""; width: 11px; height: 11px; border-radius: 2px; background: #2B4A6B; flex: none; }
.mapfig__layers .k-subject::before { background: linear-gradient(135deg, #9BCB4F, #1B86A8); }
.mapfig__layers .k-pin::before { background: rgba(143,192,70,.3); box-shadow: inset 0 0 0 1.5px #9BCB4F; }
.mapfig__layers .k-dot::before { background: #55C9B9; border-radius: 50%; transform: scale(.72); }
.mapfig__layers .k-flood::before { background: repeating-linear-gradient(45deg, #3A9CC2 0 1.5px, transparent 1.5px 4px); box-shadow: inset 0 0 0 1px rgba(58,156,194,.7); }
.mapfig__layers .k-parcel::before { background: transparent; box-shadow: inset 0 0 0 1.5px #3C5F84; }
.mapfig__card {
  position: absolute; right: 16px; bottom: 16px; width: min(250px, calc(100% - 32px));
  background: #fff; border-radius: 6px; padding: 14px 16px 12px; box-shadow: 0 18px 40px -14px rgba(0,0,0,.6);
}
.mapfig__card strong { display: block; font: 600 15px/1.25 var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.mapfig__card > span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.mapfig__card dl { margin: 11px 0 0; border-top: 1px solid var(--rule); }
.mapfig__card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--rule); font-size: 13px; }
.mapfig__card dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.mapfig__card dt { color: var(--muted); }
.mapfig__card dd { margin: 0; color: var(--ink); font-weight: 500; text-align: right; }
.mapfig figcaption { margin-top: 12px; font: 400 11.5px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 560px) {
  .mapfig__frame { aspect-ratio: 1 / 1.34; }
  .mapfig__frame > img { object-position: 50% 18%; height: 74%; }
  .mapfig__layers { display: none; }
  .mapfig__card { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .mapfig__ask { left: 12px; right: 12px; top: 12px; font-size: 13.5px; flex-direction: column; align-items: flex-start; gap: 7px; }
  .mapfig__ask b { border-right: 0; padding-right: 0; }
}

/* ---------- Slogan and mission (static: never animated) ---------- */
.statement h2 { font-size: clamp(40px, 6vw, 84px); line-height: 1.06; letter-spacing: -0.035em; }
.statement h2 span { display: block; }
.mission { margin-top: clamp(44px, 6vw, 80px); padding-top: clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--rule); display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px 40px; align-items: start; }
.mission .eyebrow { padding-top: .7em; }
.mission__lead { text-wrap: balance; font: 500 clamp(28px, 3.4vw, 46px)/1.18 var(--font-display); letter-spacing: -.025em; color: var(--ink); max-width: 22em; }
.mission__key { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.mission__body { margin-top: clamp(18px, 2vw, 26px); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--body); max-width: 640px; }
@media (max-width: 760px) { .mission { grid-template-columns: 1fr; } .mission .eyebrow { padding-top: 0; } }

/* ---------- Industry grid ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--rule); border-radius: 8px; background: #fff; overflow: hidden; }
.ind-card { position: relative; display: flex; flex-direction: column; min-height: 268px; padding: 26px 24px 24px; text-decoration: none; color: inherit; border-right: 1px solid var(--rule); transition: background-color .2s ease; }
.ind-card:last-child { border-right: 0; }
.ind-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .32s var(--ease); }
.ind-card:hover { background: var(--tint); color: inherit; }
.ind-card:hover::before, .ind-card:focus-visible::before { transform: scaleX(1); }
.ind-card__num { font: 500 12.5px/1 var(--font-mono); letter-spacing: .08em; color: var(--green-ink); }
.ind-card h3 { font-size: 25px; line-height: 1.15; margin-top: 44px; }
.ind-card p { margin-top: 10px; font-size: 15.5px; line-height: 1.5; color: var(--body); }
.ind-card__go { margin-top: auto; padding-top: 24px; font-weight: 600; font-size: 15px; color: var(--link); display: inline-flex; gap: 8px; align-items: center; }
.ind-card__go::after { content: "→"; transition: transform .18s var(--ease); }
.ind-card:hover .ind-card__go::after { transform: translateX(4px); }
@media (max-width: 1080px) {
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ind-card { min-height: 0; border-bottom: 1px solid var(--rule); }
  .ind-card:nth-child(2n) { border-right: 0; }
  .ind-card:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .ind-card h3 { margin-top: 28px; }
}
@media (max-width: 600px) {
  .ind-grid { grid-template-columns: 1fr; }
  .ind-card { border-right: 0; padding: 22px 20px; }
  .ind-card h3 { margin-top: 18px; font-size: 23px; }
  .ind-card__go { padding-top: 16px; }
}

/* ---------- Four-up (what Ponderosa builds, values) ---------- */
.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.four--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four > li, .four > div { border-top: 1px solid var(--rule-strong); padding-top: 20px; }
.four__num { font: 500 12.5px/1 var(--font-mono); letter-spacing: .08em; color: var(--green-ink); }
.four h3 { font-size: 22px; line-height: 1.2; margin-top: 16px; }
.four p { margin-top: 8px; font-size: 16px; line-height: 1.55; }
@media (max-width: 900px) { .four, .four--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
@media (max-width: 560px) { .four, .four--3 { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; padding: clamp(44px, 6vw, 84px) 0 clamp(52px, 7vw, 96px); background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); border-bottom: 1px solid var(--rule); overflow: hidden; }
.phero::after { content: ""; position: absolute; right: -8%; top: -30%; width: 58%; height: 160%; background: radial-gradient(closest-side, rgba(46,138,118,.11), rgba(126,173,62,.05) 55%, transparent 72%); pointer-events: none; }
.phero .container { position: relative; z-index: 1; }
@media (max-width: 700px) { .phero::after { display: none; } }
.phero h1 { font-size: clamp(38px, 5.2vw, 70px); line-height: 1.06; letter-spacing: -0.033em; margin-top: 24px; max-width: 16.5em; }
.phero__lede { margin-top: 26px; font-size: clamp(19px, 1.7vw, 22.5px); line-height: 1.48; color: var(--body); max-width: 700px; }
.phero .btn-row { margin-top: 34px; }
.phero--plain h1 { font-size: clamp(36px, 4.6vw, 60px); }

/* ---------- Appraisers page ---------- */
.phero--split { padding-bottom: clamp(52px, 6vw, 84px); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.phero--split h1 { font-size: clamp(36px, 4.5vw, 60px); }
.phero--split .phero__lede { font-size: clamp(18.5px, 1.5vw, 21px); }
@media (max-width: 980px) { .phero__grid { grid-template-columns: 1fr; } }
.mapfig__answer { position: absolute; left: 16px; top: 70px; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 9px; background: #fff; color: var(--ink); border-radius: 6px; padding: 9px 13px; font-size: 13.5px; font-weight: 500; line-height: 1.3; box-shadow: 0 12px 28px -12px rgba(0,0,0,.6); }
.mapfig__answer i { width: 9px; height: 9px; border-radius: 2px; background: linear-gradient(135deg, #9BCB4F, #1B86A8); flex: none; }
.mapfig__report { position: absolute; left: 9%; top: 47%; display: flex; align-items: center; gap: 7px; background: rgba(10,24,41,.88); border: 1px solid rgba(169,212,106,.7); color: #EAF3DF; border-radius: 4px; padding: 6px 9px; font-size: 12px; line-height: 1; white-space: nowrap; }
.mapfig__report svg { width: 11px; height: 13px; color: #A9D46A; }
@media (max-width: 560px) { .mapfig__answer { left: 12px; top: 86px; font-size: 12.5px; max-width: calc(100% - 24px); } .mapfig__report { top: 38%; left: 6%; } }

.pains { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 28px; }
.pains li { border-top: 1px solid var(--rule-strong); padding-top: 20px; }
.pains h3 { font-size: 19px; line-height: 1.25; }
.pains p { margin-top: 10px; font-size: 15.5px; line-height: 1.55; }
@media (max-width: 1080px) { .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; } }
@media (max-width: 600px) { .pains { grid-template-columns: 1fr; gap: 24px; } }

.mapsec__inner--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 940px) { .mapsec__inner--even { grid-template-columns: 1fr; } }
.layerchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.layerchips li { font-size: 14px; line-height: 1.2; padding: 8px 12px; border-radius: 3px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: #fff; }
.layerchips .layerchips__more { background: transparent; box-shadow: inset 0 0 0 1px rgba(169,212,106,.6); color: #C6E39B; }
.chat { margin: 0; }
.chat__panel { display: grid; gap: 12px; background: #0F2238; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: clamp(18px, 2.4vw, 28px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.chat__q, .chat__a { max-width: 88%; padding: 13px 16px; border-radius: 8px; font-size: 15.5px; line-height: 1.5; }
.mapsec .chat__q { margin: 8px 0 0; justify-self: end; background: linear-gradient(120deg, #4E8A2E, #1F7A6D 55%, #0E6587); color: #fff; font-weight: 500; }
.mapsec .chat__q:first-child { margin-top: 0; }
.mapsec .chat__a { margin: 0; justify-self: start; background: #fff; color: var(--body); }
.chat__a b { color: var(--ink); font-weight: 600; }
.chat figcaption { margin-top: 12px; font: 400 11.5px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: #8496A8; }

.loop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: none; }
.loop li { position: relative; background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 26px 26px 28px; }
.loop li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); border-radius: 8px 8px 0 0; }
.loop li:not(:last-child)::after { content: "→"; position: absolute; right: -22px; top: 50%; transform: translateY(-50%); width: 16px; text-align: center; font-size: 18px; color: var(--green-ink); }
.loop__num { font: 500 12.5px/1 var(--font-mono); letter-spacing: .08em; color: var(--green-ink); }
.loop h3 { font-size: 22px; line-height: 1.2; margin-top: 18px; }
.loop p { margin-top: 10px; font-size: 16.5px; line-height: 1.55; }
@media (max-width: 860px) { .loop { grid-template-columns: 1fr; gap: 30px; } .loop li:not(:last-child)::after { content: "↓"; right: auto; left: 26px; top: auto; bottom: -27px; transform: none; } }

/* ---------- Challenges ---------- */
.chal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px; }
.chal li { border-top: 1px solid var(--rule-strong); padding-top: 22px; }
.chal h3 { font-size: 21.5px; line-height: 1.22; }
.chal p { margin-top: 10px; font-size: 16.5px; line-height: 1.58; }
@media (max-width: 860px) { .chal { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Capability rows ---------- */
.caps { border-top: 1px solid var(--rule-strong); }
.caps li { display: grid; grid-template-columns: 72px minmax(0, .9fr) minmax(0, 1.25fr); gap: 12px 32px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--rule); }
.caps__num { font: 500 13px/1 var(--font-mono); letter-spacing: .08em; color: var(--green-ink); }
.caps h3 { font-size: clamp(22px, 2.1vw, 27px); line-height: 1.18; }
.caps p { font-size: 17px; line-height: 1.6; }
.caps-note { margin-top: 30px; font: 500 clamp(19px, 1.9vw, 23px)/1.4 var(--font-display); letter-spacing: -.012em; color: var(--ink); max-width: 760px; }
@media (max-width: 820px) {
  .caps li { grid-template-columns: 44px minmax(0, 1fr); padding: 24px 0; }
  .caps p { grid-column: 2; }
}
@media (max-width: 560px) {
  .caps li { grid-template-columns: 1fr; gap: 10px; }
  .caps p { grid-column: 1; }
}

/* ---------- Platform layers ---------- */
.layers { border-top: 1px solid var(--rule-strong); }
.layer { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px 44px; padding: clamp(32px, 4vw, 48px) 0; border-bottom: 1px solid var(--rule); }
.layer__head h3 { font-size: clamp(25px, 2.5vw, 32px); line-height: 1.15; margin-top: 16px; }
.layer__head p { margin-top: 14px; font-size: 17px; line-height: 1.62; }
.layer__col h4 { font: 500 12px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.layer__col ul { margin-top: 14px; border-top: 1px solid var(--rule); }
.layer__col li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
@media (max-width: 980px) { .layer { grid-template-columns: repeat(2, minmax(0, 1fr)); } .layer__head { grid-column: 1 / -1; } }
@media (max-width: 600px) { .layer { grid-template-columns: 1fr; } }

/* ---------- Dark mapping section ---------- */
.mapsec { background: var(--navy-deep); color: #C4D0DB; padding: var(--section-y) 0; position: relative; overflow: hidden; }
.mapsec::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.mapsec__inner { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.mapsec .eyebrow { color: #A9D46A; }
.mapsec h2 { color: #fff; font-size: clamp(30px, 3.5vw, 45px); line-height: 1.1; margin-top: 18px; }
.mapsec__inner > div > p:not(.eyebrow) { margin-top: 18px; font-size: 18px; line-height: 1.6; }
.mapsec__list { margin-top: 26px; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.mapsec__list li { text-wrap: balance; padding: 13px 0 13px 28px; border-bottom: 1px solid rgba(255,255,255,.14); position: relative; font-size: 16px; color: #E3EAF0; line-height: 1.45; }
.mapsec__list li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 9px; height: 9px; border-radius: 2px; background: linear-gradient(135deg, #9BCB4F, #1B86A8); }
.mapsec__inner > div > p.mapsec__after { font-size: 16px; color: #A9B8C6; }
.mapsec .mapfig__frame { box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 40px 80px -30px rgba(0,0,0,.8); }
.mapsec .mapfig figcaption { color: #8496A8; }
@media (max-width: 940px) { .mapsec__inner { grid-template-columns: 1fr; } }

/* ---------- Built on your data: stack diagram ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.split h2 { font-size: clamp(30px, 3.5vw, 45px); line-height: 1.1; margin-top: 18px; }
.split > div > p:not(.eyebrow) + p:not(.section-foot) { margin-top: 14px; }
.split > div > p:not(.eyebrow) { margin-top: 18px; font-size: 18px; line-height: 1.6; max-width: 540px; }
@media (max-width: 940px) { .split { grid-template-columns: 1fr; } }

.stack { display: grid; gap: 0; }
.stack__tier { border: 1px solid var(--rule); border-radius: 8px; background: #fff; padding: 20px 22px 22px; }
.stack__label { font: 500 11.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stack__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.stack__chips li { font-size: 14.5px; line-height: 1.2; padding: 8px 12px; border-radius: 3px; background: var(--tint-2); color: var(--ink); }
.stack__tier--os { background: var(--navy-deep); border-color: var(--navy-deep); position: relative; overflow: hidden; }
.stack__tier--os::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #9BCB4F, #2E8A76 50%, #1B86A8); }
.stack__tier--os .stack__label { color: #A9D46A; }
.stack__tier--os .stack__chips li { background: rgba(255,255,255,.09); color: #fff; font-weight: 500; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.stack__join { height: 26px; position: relative; }
.stack__join::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--rule-strong); }
.stack__join::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--teal); }

/* ---------- Other industries strip ---------- */
.also { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 36px; padding: 34px 0; border-top: 1px solid var(--rule); }
.also__label { font: 500 12.5px/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.also ul { display: flex; flex-wrap: wrap; gap: 10px 30px; }
.also a { font: 600 18px/1.2 var(--font-display); letter-spacing: -.01em; color: var(--ink); text-decoration: none; display: inline-flex; gap: 8px; }
.also a::after { content: "→"; color: var(--green-ink); transition: transform .18s var(--ease); }
.also a:hover { color: var(--link); }
.also a:hover::after { transform: translateX(4px); }

/* ---------- Big statement block ---------- */
.bigline { font: 600 clamp(30px, 4.2vw, 56px)/1.1 var(--font-display); letter-spacing: -.03em; color: var(--ink); max-width: 17em; }
.bigline span { display: block; }
.bigline + p { margin-top: 24px; font-size: 19px; line-height: 1.6; max-width: 660px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule-strong); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 600 19px/1.3 var(--font-display); letter-spacing: -.012em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--font-body); color: var(--green-ink); flex: none; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 44px 24px 0; font-size: 17px; line-height: 1.62; max-width: 720px; }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(32px, 5vw, 72px); }
.person { border-top: 1px solid var(--rule-strong); padding-top: 28px; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 24px; align-items: start; }
.person img { width: 112px; height: 112px; border-radius: 50%; }
.person h3 { font-size: 26px; line-height: 1.15; }
.person__role { margin-top: 6px; font: 500 12.5px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green-ink); }
.person p:not(.person__role) { margin-top: 16px; font-size: 16.5px; line-height: 1.62; }
@media (max-width: 900px) { .people { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .person { grid-template-columns: 1fr; gap: 18px; } .person img { width: 96px; height: 96px; } }

.prose-cols { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.prose-cols h2 { font-size: clamp(30px, 3.5vw, 45px); line-height: 1.1; margin-top: 18px; }
.prose-cols__body p { font-size: 18.5px; line-height: 1.62; }
.prose-cols__body p + p { margin-top: 20px; }
@media (max-width: 900px) { .prose-cols { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.way { display: flex; flex-direction: column; border: 1px solid var(--rule); border-radius: 8px; background: #fff; padding: clamp(24px, 3vw, 36px); }
.way h2 { font-size: 27px; line-height: 1.15; margin-top: 18px; }
.way p:not(.eyebrow) { margin-top: 10px; font-size: 17px; margin-bottom: 26px; }
.way .btn { margin-top: auto; align-self: flex-start; max-width: 100%; white-space: normal; text-align: left; overflow-wrap: anywhere; }
@media (max-width: 760px) { .ways { grid-template-columns: 1fr; } }

/* ---------- Resources list ---------- */
.res-list { border-top: 1px solid var(--rule-strong); }
.res-item { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 12px 32px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit; transition: background-color .2s ease; }
.res-item:hover { background: var(--tint); color: inherit; }
.res-item__kind { font: 500 12.5px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green-ink); }
.res-item h2 { font-size: clamp(23px, 2.4vw, 30px); line-height: 1.15; }
.res-item p { margin-top: 8px; font-size: 16.5px; max-width: 640px; }
.res-item__meta { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }
.res-item__go { font-weight: 600; font-size: 15.5px; color: var(--link); white-space: nowrap; }
.res-item__go::after { content: " →"; }
@media (max-width: 820px) { .res-item { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Article ---------- */
.article-meta { margin-top: 20px; font-size: 15px; color: var(--muted); }
.article { max-width: 760px; margin: 0 auto; padding: clamp(44px, 6vw, 76px) var(--gutter) var(--section-y); }
.article > p, .article li { font-size: 18px; line-height: 1.68; }
.article > p + p { margin-top: 20px; }
.article .lede { font-size: 21px; line-height: 1.55; color: var(--ink); }
.article h2 { font-size: clamp(27px, 3vw, 34px); line-height: 1.15; margin: 56px 0 18px; }
.article h3 { font-size: 22px; line-height: 1.25; margin: 38px 0 12px; }
.article ul { margin: 16px 0 20px; display: grid; gap: 10px; }
.article ul li { position: relative; padding-left: 24px; }
.article ul li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); }
.article strong { color: var(--ink); font-weight: 600; }
.pull { margin: 40px 0; padding: 6px 0 6px 26px; border-left: 3px solid; border-image: linear-gradient(180deg, #7EAD3E, #2E8A76, #03506F) 1; font: 500 23px/1.4 var(--font-display); letter-spacing: -.015em; color: var(--ink); }
.article .faq { margin-top: 12px; }
.article .faq-wrap h2 { margin-bottom: 20px; }
.cta-block { margin-top: 64px; padding: clamp(26px, 4vw, 40px); background: var(--tint); border: 1px solid var(--rule); border-radius: 8px; }
.cta-block h2 { margin: 0 0 12px; font-size: 27px; }
.cta-block p { font-size: 17px; line-height: 1.6; }
.cta-block .btn-row { margin-top: 24px; }

/* Guide furniture: takeaways, next steps, sources */
.takeaways { margin: 0 0 40px; padding: 26px 28px 24px; background: var(--tint); border: 1px solid var(--rule); border-left: 4px solid; border-image: linear-gradient(180deg, #7EAD3E, #2E8A76, #03506F) 1; }
.takeaways h2 { margin: 0 0 14px; font: 500 12.5px/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green-ink); }
.article .takeaways ul { margin: 0; gap: 12px; }
.article .takeaways li { font-size: 17.5px; line-height: 1.55; color: var(--ink); }
.article ol.next { counter-reset: n; margin: 18px 0 0; display: grid; gap: 0; border-top: 1px solid var(--rule-strong); }
.article ol.next li { counter-increment: n; position: relative; padding: 16px 0 16px 52px; border-bottom: 1px solid var(--rule); font-size: 17.5px; line-height: 1.55; }
.article ol.next li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 19px; font: 500 13px/1 var(--font-mono); letter-spacing: .08em; color: var(--green-ink); }
.article .fact { margin: 26px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--rule-strong); }
.article .fact p { font-size: 18px; line-height: 1.6; color: var(--ink); }
.article .fact cite { display: block; margin-top: 8px; font-style: normal; font-size: 14.5px; color: var(--muted); }
.article ol.sources { margin: 16px 0 0; padding-left: 22px; list-style: decimal; display: grid; gap: 10px; }
.article ol.sources li { font-size: 15px; line-height: 1.55; color: var(--muted); overflow-wrap: anywhere; }
.article a { text-decoration-color: rgba(11,92,127,.4); }

/* ---------- Legal prose ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 5vw, 64px) var(--gutter) var(--section-y); }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p { font-size: 17px; line-height: 1.68; }
.legal p + p { margin-top: 14px; }

/* ---------- Closing CTA ---------- */
.cta { position: relative; background: var(--navy-deep); color: #C4D0DB; padding: clamp(64px, 8vw, 112px) 0; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.cta::after { content: ""; position: absolute; right: -10%; bottom: -70%; width: 70%; height: 150%; background: radial-gradient(closest-side, rgba(46,138,118,.34), rgba(27,134,168,.12) 55%, transparent 72%); pointer-events: none; }
.cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.cta .eyebrow { color: #A9D46A; }
.cta h2 { color: #fff; font-size: clamp(36px, 4.8vw, 62px); line-height: 1.05; letter-spacing: -.033em; margin-top: 18px; }
.cta p:not(.eyebrow) { margin-top: 18px; font-size: 18.5px; max-width: 520px; }
.cta__actions { display: grid; gap: 12px; justify-items: start; }
.cta__actions .btn { min-width: min(100%, 320px); justify-content: space-between; padding: 18px 22px; font-size: 16.5px; }
.cta__actions .btn::after { content: "→"; }
.cta p.cta__note { font-size: 14px; color: #8FA1B3; margin-top: 4px; }
.mapsec + .cta::before { display: none; }
@media (max-width: 860px) { .cta__inner { grid-template-columns: 1fr; align-items: start; } .cta__actions .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--rule); padding: clamp(48px, 6vw, 76px) 0 28px; font-size: 15.5px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.site-footer__brand img { width: 208px; height: auto; margin-left: -4px; }
.site-footer__brand p { margin-top: 16px; max-width: 280px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.site-footer nav h2 { font: 500 12px/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.site-footer nav a { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; }
.site-footer nav a:hover { color: var(--link); }
.site-footer__base { margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; color: var(--muted); }
.site-footer__base a { color: inherit; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .site-footer__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}
@media print { .site-header, .cta, .site-footer nav { display: none; } }

/* ---------- Warmth: very faint washes in the logo colors (navy, green, teal-blue).
   Static, low-alpha, and layered under text so contrast is unchanged. ---------- */
.hero {
  background:
    radial-gradient(58% 78% at 92% 6%, rgba(46,138,118,.10), transparent 70%),
    radial-gradient(46% 70% at 0% 100%, rgba(126,173,62,.08), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--tint) 100%);
}
.phero {
  background:
    radial-gradient(42% 70% at 0% 100%, rgba(126,173,62,.07), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--tint) 100%);
}
.statement { background: radial-gradient(44% 72% at 100% 100%, rgba(46,138,118,.06), transparent 70%), #fff; }
.section--tint {
  background:
    radial-gradient(52% 88% at 100% 0%, rgba(3,80,111,.05), transparent 70%),
    radial-gradient(44% 80% at 0% 100%, rgba(126,173,62,.06), transparent 70%),
    var(--tint);
}
.mapsec {
  background:
    radial-gradient(48% 70% at 0% 0%, rgba(46,138,118,.20), transparent 70%),
    radial-gradient(46% 72% at 100% 100%, rgba(27,134,168,.16), transparent 70%),
    var(--navy-deep);
}
.cta {
  background:
    radial-gradient(40% 80% at 0% 0%, rgba(126,173,62,.10), transparent 70%),
    var(--navy-deep);
}
.ind-card, .loop li, .way, .stack__tier:not(.stack__tier--os) { background: linear-gradient(180deg, #fff 55%, #F6FAF8 100%); }
.ind-card:hover { background: var(--tint); }
.stack__tier--os, .chat__panel { background: linear-gradient(140deg, #11283F 0%, #0A1829 100%); }
.site-footer { background: linear-gradient(180deg, #fff 0%, #F7FAF9 100%); }
