/* Central Bridging — design system (direction 07).
   Warm, editorial "approachable authority". Distinct from Conrad (charcoal/teal)
   and Liberty (navy/gold). All colours are CSS variables for one-line reskin. */

:root{
  --bone:#F3EFE6; --bone-2:#EAE3D5; --panel:#ECE6D9;
  --ink:#15120D; --ink-2:#5B5445;
  --stone:#A8977E; --stone-lt:#C7B79B; --stone-deep:#6E5E49;
  --espresso:#211D16;
  --line:#D9D0BF; --line-ink:rgba(255,255,255,.13);
  --serif:'Newsreader',Georgia,serif;
  --sans:'Public Sans',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --wrap:1200px; --gutter:clamp(22px,5vw,72px);
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{background:var(--bone);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
.wrap{max-width:var(--wrap);margin:0 auto;padding-inline:var(--gutter)}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:none}
h1,h2,h3{font-family:var(--serif);font-weight:500;line-height:1.08;letter-spacing:-.015em}
img{max-width:100%;display:block}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* section marker */
.tag{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.tag .tag-mark{width:20px;height:auto;flex:none;fill:none;stroke:var(--stone-deep);stroke-width:1.4;stroke-linecap:round}
.tag span{font-size:11.5px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--stone-deep)}

/* ---------- header / nav + burger ---------- */
.site-header{position:sticky;top:0;z-index:20;background:rgba(243,239,230,.9);backdrop-filter:saturate(1.1) blur(10px);border-bottom:1px solid var(--line)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;min-height:64px}
/* Header/footer logo — Central Bridging wordmark (transparent PNG). */
.mark{display:inline-flex;align-items:center}
.mark .logo-img{height:38px;width:auto;display:block}
@media(max-width:980px){.mark .logo-img{height:34px}}
.menu{display:flex;gap:21px;align-items:center}
.menu a{font-size:13.5px;color:var(--ink-2)}
.menu a:hover{color:var(--ink)}
.menu .tel{font-variant-numeric:tabular-nums;font-weight:600;color:var(--ink);border:1px solid var(--stone);border-radius:999px;padding:7px 14px;font-size:13px}
.menu .tel:hover{background:var(--ink);color:var(--bone);border-color:var(--ink)}
.burger{display:none;width:42px;height:42px;background:none;border:1px solid var(--line);border-radius:8px;cursor:pointer;align-items:center;justify-content:center}
.burger span,.burger span::before,.burger span::after{content:"";display:block;width:19px;height:1.6px;background:var(--ink);transition:.25s}
.burger span{position:relative}
.burger span::before{position:absolute;top:-6px}
.burger span::after{position:absolute;top:6px}
.burger[aria-expanded="true"] span{background:transparent}
.burger[aria-expanded="true"] span::before{top:0;transform:rotate(45deg)}
.burger[aria-expanded="true"] span::after{top:0;transform:rotate(-45deg)}

@media(max-width:980px){
  .burger{display:inline-flex}
  .menu{position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:flex-start;gap:2px;
    background:var(--bone);border-bottom:1px solid var(--line);padding:14px var(--gutter) 24px;
    max-height:0;overflow:hidden;opacity:0;pointer-events:none;transition:max-height .3s ease,opacity .2s ease}
  .menu.open{max-height:80vh;opacity:1;pointer-events:auto}
  .menu a{width:100%;padding:11px 0;font-size:15px}
  .menu .tel{margin-top:10px}
}

/* ---------- hero ---------- */
.hero{padding:clamp(36px,6vw,64px) 0 clamp(24px,4vw,44px)}
.hero-title{font-size:clamp(25px,3.2vw,42px);letter-spacing:-.02em;white-space:pre-line}
.hero-title em{font-style:italic;color:var(--stone-deep)}
.hero-lede{margin-top:18px;max-width:58ch;font-size:clamp(15px,1.2vw,17px);color:var(--ink-2)}
.hero-row{margin-top:24px;display:flex;gap:22px;flex-wrap:wrap;align-items:center}

.btn{display:inline-block;background:var(--ink);color:var(--bone);border-radius:4px;padding:13px 24px;font-weight:600;font-size:15px;transition:.2s}
.btn:hover{background:var(--stone-deep)}
.tlink{font-weight:600;font-size:15px;border-bottom:1.5px solid var(--stone);padding-bottom:3px}
.tlink:hover{border-color:var(--ink)}

/* ---------- imagery ---------- */
.hero--home{position:relative;isolation:isolate;padding-top:clamp(52px,8vw,96px);padding-bottom:clamp(38px,6vw,72px)}
.hero--home::before{content:"";position:absolute;inset:0;z-index:-1;border-bottom:1px solid var(--line);
  background-image:linear-gradient(100deg,rgba(234,227,213,.94) 0%,rgba(234,227,213,.82) 28%,rgba(234,227,213,.5) 60%,rgba(234,227,213,.38) 100%),url('/hero-bridge.jpg');
  background-size:cover;background-position:center right}
@media(max-width:680px){.hero--home::before{background-image:linear-gradient(180deg,rgba(234,227,213,.93) 0%,rgba(234,227,213,.86) 40%,rgba(234,227,213,.6) 100%),url('/hero-bridge.jpg')}}
.imgband{height:clamp(190px,30vw,340px);background-position:center;background-size:cover;background-repeat:no-repeat;border-top:1px solid var(--line)}

/* ---------- hero entrance + scroll cue (home only) ---------- */
.hero--home .hero-title,.hero--home .hero-lede,.hero--home .hero-row,.hero--home .ledger{opacity:0;animation:riseIn .7s cubic-bezier(.2,.7,.2,1) forwards}
.hero--home .hero-title{animation-delay:.05s}
.hero--home .hero-lede{animation-delay:.16s}
.hero--home .hero-row{animation-delay:.27s}
.hero--home .ledger{animation-delay:.38s}
@keyframes riseIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.scrollcue{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--stone-deep);pointer-events:none;z-index:1;opacity:0;animation:riseIn .6s ease .7s forwards}
.scrollcue span{font-family:var(--sans);font-size:10px;letter-spacing:.24em;text-transform:uppercase}
.scrollcue svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round;animation:cuebob 1.8s ease-in-out infinite}
@keyframes cuebob{0%,100%{transform:translateY(0);opacity:.55}50%{transform:translateY(4px);opacity:1}}
@media(max-width:680px){.scrollcue{display:none}}
@media(prefers-reduced-motion:reduce){.hero--home .hero-title,.hero--home .hero-lede,.hero--home .hero-row,.hero--home .ledger,.scrollcue{animation:none;opacity:1}.scrollcue svg{animation:none}}

.ledger{margin-top:30px;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(3,1fr)}
.ledger div{padding:18px 24px 6px 0}
.ledger b{font-family:var(--serif);font-size:clamp(16px,1.8vw,21px);font-weight:600;display:block}
.ledger small{color:var(--ink-2);font-size:13px}
@media(max-width:680px){.ledger{grid-template-columns:1fr}.ledger div{border-bottom:1px solid var(--line);padding:14px 0}}

/* ---------- sections ---------- */
.section{padding:clamp(30px,4.5vw,56px) 0;border-top:1px solid var(--line)}
.section--stone{background:var(--bone-2)}
.section--ink{background:var(--espresso);color:var(--bone);border-top-color:var(--line-ink)}
.section--ink .tag .tag-mark{stroke:var(--stone)}
.section--ink .tag span{color:var(--stone-lt)}
.section--ink .section-title{color:var(--bone)}
.section-title{font-size:clamp(18px,2vw,25px);letter-spacing:-.01em;white-space:pre-line}
.lead{max-width:66ch;color:var(--ink-2);margin-top:14px;font-size:clamp(14.5px,1.1vw,16px)}
.section--ink .lead{color:#C7BEAC}
.prose{max-width:70ch}
.prose p+p{margin-top:1.05em}
.prose h3{font-family:var(--serif);font-weight:500;font-size:18px;margin:1.5em 0 .4em}
.prose ul{list-style:disc;margin:.5em 0 0;padding-left:1.3em}
.prose li{margin:.32em 0;color:var(--ink-2)}
.prose strong{color:var(--ink);font-weight:600}
.prose a{color:var(--stone-deep);text-decoration:underline;text-underline-offset:2px}
.prose a:hover{color:var(--ink)}

/* ---------- feature lists ---------- */
.feature-list{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.feature-list li{position:relative;padding-left:22px;color:var(--ink-2);font-size:15px}
.feature-list li::before{content:"";position:absolute;left:0;top:11px;width:10px;height:1px;background:var(--stone-deep)}
.section--ink .feature-list li{color:#C7BEAC}
.section--ink .feature-list li::before{background:var(--stone)}

/* ---------- funding solutions list (name + descriptor, fade-to-ink hover) ---------- */
.fund{margin-top:26px;border-top:1px solid var(--ink)}
.f-row{display:grid;grid-template-columns:48px 1fr;column-gap:24px;align-items:baseline;padding:20px 18px;border-bottom:1px solid var(--line);border-radius:5px;
  background-color:transparent;transition:background-color .5s cubic-bezier(.33,0,.2,1),color .5s cubic-bezier(.33,0,.2,1),transform .2s ease}
.f-row .no,.f-row h3,.f-row .desc{transition:color .5s cubic-bezier(.33,0,.2,1)}
.f-row:hover,.f-row:focus-within{background-color:var(--espresso);color:var(--bone)}
.f-row:active{transform:scale(.996)}
.f-row .no{font-family:var(--serif);font-size:14px;color:var(--stone-deep)}
.f-row h3{font-size:clamp(16px,1.7vw,20px)}
.f-row .desc{color:var(--ink-2);font-size:14.5px;margin-top:6px;max-width:64ch}
.f-row:hover .no,.f-row:focus-within .no{color:var(--stone-lt)}
.f-row:hover .desc,.f-row:focus-within .desc{color:#C9C0AE}
@media(max-width:680px){.f-row{grid-template-columns:30px 1fr;column-gap:12px}}

/* ---------- lifecycle arch ---------- */
.archwrap{margin-top:28px}
.archwrap svg{width:100%;height:auto;display:block;overflow:visible}
.archwrap .deck{fill:none;stroke:var(--stone);stroke-width:1.8;stroke-linecap:round;stroke-dasharray:2000;stroke-dashoffset:2000;animation:draw 1.6s ease .2s forwards}
@keyframes draw{to{stroke-dashoffset:0}}
.archwrap .ground{stroke:var(--line-ink);stroke-width:1}
.archwrap .pier{stroke:var(--line-ink);stroke-width:1.4}
.archwrap .stage{cursor:pointer}
.archwrap .stage circle{fill:var(--espresso);stroke:var(--stone);stroke-width:1.9;transition:.2s}
.archwrap .stage text{fill:#B4AA97;font-family:var(--sans);font-size:15px;font-weight:500;transition:.2s}
.archwrap .stage:hover circle{stroke:var(--bone)}
.archwrap .stage.on circle{fill:var(--bone);stroke:var(--bone)}
.archwrap .stage.on text{fill:var(--bone);font-weight:600}
.work-caption{margin-top:20px;border-top:1px solid var(--line-ink);padding-top:18px;max-width:66ch;min-height:64px}
.work-caption .cn{font-family:var(--serif);font-size:clamp(17px,2vw,22px);color:var(--bone)}
.work-caption .cd{margin-top:6px;color:#C7BEAC;font-size:clamp(15px,1.3vw,16.5px)}

/* ---------- introducer strip ---------- */
.introducer{background:var(--panel)}
.introducer-inner{display:flex;justify-content:space-between;gap:28px;align-items:center;flex-wrap:wrap}
.introducer h2{font-size:clamp(17px,1.9vw,23px);white-space:pre-line}
.introducer p{color:var(--ink-2);max-width:44ch;margin-top:10px;font-size:15px}

/* ---------- CTA band ---------- */
.cta{text-align:center;padding-top:clamp(16px,2vw,26px);padding-bottom:clamp(16px,2vw,26px)}
.cta .section-title{margin:0 auto;line-height:1.15}
.cta .tag{justify-content:center}
.cta-link{display:block;color:inherit}
.cta-link .section-title,.cta-link .cta-sub{transition:color .25s}
.cta-link:hover .section-title,.cta-link:focus-visible .section-title{color:var(--stone-deep)}
.cta-link:hover .cta-sub{color:var(--ink)}
.cta-sub{color:var(--ink-2);max-width:50ch;margin:10px auto 0;font-size:clamp(14.5px,1.1vw,16px)}
.cta-lines{display:flex;align-items:center;justify-content:center;gap:14px 30px;flex-wrap:wrap;margin-top:18px}
.cta-lines a{font-family:var(--serif);font-size:clamp(16px,1.7vw,20px);font-weight:500;color:var(--ink);border-bottom:1px solid transparent;padding-bottom:2px;transition:border-color .25s}
.cta-lines a:hover{border-color:var(--stone-deep)}

/* ---------- contact ---------- */
.contact-grid{display:grid;gap:40px;grid-template-columns:1.2fr 1fr;margin-top:8px}
@media(max-width:760px){.contact-grid{grid-template-columns:1fr}}
.contact-label{font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--stone-deep)}

/* ---------- placeholder (dev marker) ---------- */
.placeholder{background:#FBE9C6;border-left:3px solid #C99A3A;padding:9px 13px;font-size:14px;color:#6a5220;border-radius:0 3px 3px 0;margin:10px 0}

/* ---------- footer ---------- */
.site-footer{background:var(--espresso);color:var(--bone)}
.site-footer .wrap{padding-inline:clamp(30px,6vw,72px)}
.footer-grid{padding:26px 0 12px;text-align:center}
.footer-addr{color:#C1B8A6;font-size:14px;margin-top:0;line-height:1.8}
.footer-addr a{color:#C1B8A6}
.footer-addr .nw{white-space:nowrap}
.footer-legal{border-top:1px solid var(--line-ink);padding:14px 0 22px;text-align:center}
.footer-legal p{color:#9E9583;font-size:12.5px;line-height:1.6;margin:0 auto 8px;max-width:72ch}
.footer-legal a{color:#9E9583;text-decoration:underline;text-underline-offset:2px}
