:root {
  --blue-950: #0a3555;
  --blue-900: #14557f;
  --blue-800: #235c89;
  --blue-100: #dfeaf2;
  --ink: #102b3c;
  --cream: #f5f3f0;
  --paper: #fbfaf8;
  --white: #ffffff;
  --muted: #5f7180;
  --line: #d9e0e4;
  --accent: #b9d4e7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 24px 70px rgba(6, 34, 53, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }

html.motion-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 50px, 0);
  transition: opacity .9s cubic-bezier(.17, .55, .55, 1) .2s, transform .9s cubic-bezier(.17, .55, .55, 1) .2s;
  will-change: opacity, transform;
}
html.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
html.motion-ready [data-reveal-group] .process-card {
  opacity: 0;
  transform: translate3d(0, 50px, 0);
  transition: opacity .9s cubic-bezier(.17, .55, .55, 1) .2s, transform .9s cubic-bezier(.17, .55, .55, 1) .2s;
  will-change: opacity, transform;
}
html.motion-ready [data-reveal-group].is-visible .process-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
html.motion-ready [data-reveal-group].is-visible .process-card:nth-child(2) { transition-delay: .3s; }
html.motion-ready [data-reveal-group].is-visible .process-card:nth-child(3) { transition-delay: .4s; }

.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-150%); padding: 10px 16px; color: var(--ink); background: var(--white); border-radius: 4px; }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 76px 0; }

.site-header { position: absolute; z-index: 10; width: 100%; top: 0; left: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.header-inner { height: 88px; display: flex; align-items: center; }
.brand img { width: 218px; height: auto; }

.hero { position: relative; min-height: 760px; overflow: hidden; color: var(--white); background: var(--blue-900); padding: 148px 0 82px; }
.hero::after { content: ""; position: absolute; width: 560px; height: 560px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; left: -280px; bottom: -320px; box-shadow: 0 0 0 86px rgba(255,255,255,.018), 0 0 0 172px rgba(255,255,255,.014); }
.hero-pattern { position: absolute; inset: 0 0 0 52%; opacity: .08; background: url("Presidio%20Strategies%20Assets/linkedin-BG.jpg") center/cover; mix-blend-mode: screen; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 80px; align-items: center; }
.hero-copy { max-width: 640px; padding-top: 8px; }
.kicker { margin: 0 0 22px; color: var(--accent); font-size: .75rem; font-weight: 780; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
.kicker.dark { color: var(--blue-800); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
h1 { max-width: 680px; margin-bottom: 28px; font-size: clamp(3.4rem, 6vw, 5.9rem); }
h1 em { color: var(--accent); font-weight: inherit; }
.hero-support { max-width: 540px; margin-bottom: 32px; color: rgba(255,255,255,.82); font-size: 1.16rem; line-height: 1.72; }
.card-mark { position: relative; display: inline-block; width: 28px; height: 25px; flex: 0 0 auto; }
.card-mark::before, .card-mark::after { content: ""; position: absolute; width: 15px; height: 8px; background: var(--accent); transform: skewY(31deg); border-radius: 2px; }
.card-mark::before { left: 0; top: 4px; }
.card-mark::after { right: 0; top: 4px; transform: skewY(-31deg); }

.lead-card { color: var(--ink); background: var(--white); border-radius: 3px; box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 560px; }
.lead-card-top { padding: 30px 34px 24px; background: var(--cream); border-bottom: 1px solid var(--line); }
.lead-card h2 { margin-bottom: 0; font-size: 2rem; }
form { padding: 26px 34px 30px; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.field { margin-bottom: 17px; }
.field label { display: flex; justify-content: space-between; margin-bottom: 6px; color: #294354; font-size: .78rem; font-weight: 750; }
.field label > span:not(.optional) { color: #a84c4c; }
.optional { color: #81909a; font-size: .69rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.field input { width: 100%; min-height: 47px; padding: 10px 12px; color: var(--ink); background: var(--white); border: 1px solid #cbd5db; border-radius: 2px; outline: none; }
.field input:focus { border-color: var(--blue-800); box-shadow: 0 0 0 3px rgba(35,92,137,.14); }
.field input[aria-invalid="true"] { border-color: #a84c4c; }
.field-error { display: block; min-height: 0; margin-top: 4px; color: #8e3434; font-size: .75rem; }
.field-error:not(:empty) { min-height: 1em; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 26px; padding: 13px 24px; font-size: .78rem; font-weight: 800; letter-spacing: .13em; line-height: 1; text-decoration: none; text-transform: uppercase; border: 0; border-radius: 2px; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue-900); }
.button-primary:hover { background: var(--blue-950); }
form .button { width: 100%; }
.form-reassurance { max-width: 290px; margin: 14px auto 0; color: #758590; font-size: .74rem; line-height: 1.5; text-align: center; }
.form-status { min-height: 0; margin: 12px 0 0; color: var(--blue-900); font-size: .78rem; text-align: center; }
body.modal-open { overflow: hidden; }
.confirmation-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(8, 42, 66, .72); }
.confirmation-backdrop[hidden] { display: none; }
.confirmation-dialog { position: relative; width: min(100%, 460px); padding: 46px 44px 40px; color: var(--ink); text-align: center; background: var(--paper); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 28px 80px rgba(0,0,0,.34); }
.confirmation-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; padding: 0; color: var(--blue-900); font-size: 1.8rem; line-height: 1; background: transparent; border: 0; cursor: pointer; }
.confirmation-close:hover, .confirmation-close:focus-visible { color: var(--blue-950); }
.confirmation-icon { display: grid; width: 56px; height: 56px; place-items: center; margin: 0 auto 20px; color: var(--white); font-size: 1.7rem; font-weight: 800; background: var(--blue-900); border-radius: 50%; box-shadow: 0 0 0 9px var(--blue-100); }
.confirmation-kicker { margin-bottom: 12px; color: var(--blue-800); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.confirmation-dialog h2 { margin-bottom: 16px; font-size: clamp(2rem, 5vw, 2.65rem); }
.confirmation-dialog > p:not(.confirmation-kicker) { max-width: 360px; margin: 0 auto 28px; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.confirmation-dialog .button { min-width: 132px; }

.section-heading { max-width: 780px; margin: 0 auto 46px; text-align: center; }
.section-heading.narrow { max-width: 1100px; }
.section-heading h2 { margin-bottom: 0; color: var(--ink); font-size: clamp(2.35rem, 4vw, 3.7rem); }
.positioning .section-heading h2 { max-width: 1120px; margin-inline: auto; font-size: clamp(2.35rem, 3.35vw, 3.2rem); }
.positioning .section-heading h2 span { display: block; }
.positioning { background: var(--paper); }
.positioning-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 76px; align-items: center; }
.positioning-copy { padding-left: 40px; border-left: 1px solid var(--line); }
.positioning-copy p { margin-bottom: 20px; color: #506674; font-size: 1.05rem; line-height: 1.75; }
.positioning-copy .supporting-line { margin-top: 26px; margin-bottom: 0; padding-top: 22px; color: var(--blue-900); font-family: var(--serif); font-size: 1.17rem; font-weight: 600; line-height: 1.55; border-top: 1px solid var(--line); }
.text-link { display: inline-block; margin-top: 7px; color: var(--blue-800); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.text-link span { margin-left: 12px; }
.brand-visual { position: relative; min-height: 0; display: block; overflow: hidden; background: var(--cream); border: 1px solid #e2e3e1; }
.brand-visual::before, .brand-visual::after { content: ""; position: absolute; width: 260px; height: 260px; border: 1px solid rgba(35,92,137,.12); border-radius: 50%; }
.brand-visual::before { left: -120px; top: -120px; box-shadow: 0 0 0 56px rgba(35,92,137,.035); }
.brand-visual::after { right: -150px; bottom: -140px; box-shadow: 0 0 0 56px rgba(35,92,137,.035); }
.brand-visual .positioning-photo { position: relative; z-index: 1; width: 100%; height: auto; object-fit: contain; }

.process { background: var(--cream); border-top: 1px solid #e7e4df; border-bottom: 1px solid #e7e4df; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.process-card { min-height: 258px; padding: 36px 32px; background: var(--white); border-top: 3px solid var(--blue-900); box-shadow: 0 10px 40px rgba(17,49,69,.06); }
.card-mark { display: block; margin-bottom: 30px; }
.card-mark::before, .card-mark::after { background: var(--blue-800); }
.process-card h3 { margin-bottom: 14px; color: var(--ink); font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; }
.process-card p { margin-bottom: 0; color: var(--muted); font-size: .93rem; }

.bio { color: var(--white); background: var(--blue-950); }
.bio-heading h2 { color: var(--white); }
.bio-card { display: grid; grid-template-columns: 340px minmax(0, 1fr); align-items: stretch; max-width: 980px; margin: 0 auto; background: var(--blue-900); border: 1px solid rgba(255,255,255,.13); box-shadow: 0 25px 70px rgba(0,0,0,.2); }
.bio-portrait-wrap { min-height: 390px; overflow: hidden; background: var(--cream); }
.bio-portrait { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1); transform: scale(1.12); transform-origin: 50% 60%; }
.bio-content { padding: 48px 56px; }
.bio-content > p { max-width: 600px; margin-bottom: 20px; color: rgba(255,255,255,.8); font-size: 1.02rem; line-height: 1.75; }
.bio-content > p:last-child { margin-bottom: 0; }
.bio-content strong { color: var(--white); font-weight: 750; }

.trusted { overflow: hidden; background: var(--white); }
.trusted .section-heading { margin-bottom: 40px; }
.marquee { position: relative; overflow: hidden; }
.marquee::before, .marquee::after { content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; width: min(12vw, 150px); pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--white), rgba(255,255,255,0)); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--white), rgba(255,255,255,0)); }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.logo-set { display: flex; align-items: center; gap: 72px; padding-right: 72px; }
.logo-set figure { flex: 0 0 auto; width: max-content; height: 92px; margin: 0; display: grid; place-items: center; padding: 12px 0; background: transparent; border: 0; }
.logo-set img { max-width: 156px; max-height: 58px; width: auto; height: auto; object-fit: contain; filter: none; opacity: 1; }
.logo-set img.logo-jpmorgan { width: 210px; max-width: none; max-height: none; }
.logo-set img.logo-fifth-third { width: 242px; max-width: none; max-height: none; }
.logo-set img.logo-modern-treasury { width: 152px; max-width: none; max-height: none; transform: translateY(-5px); }
@keyframes marquee { to { transform: translateX(-50%); } }

.final-cta { position: relative; overflow: hidden; color: var(--white); background: var(--blue-900); }
.final-cta::before { content: ""; position: absolute; inset: 0; opacity: .07; background: url("Presidio%20Strategies%20Assets/linkedin-BG.jpg") center/cover; mix-blend-mode: screen; }
.final-cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.final-cta h2 { max-width: 780px; margin-bottom: 30px; color: var(--white); font-size: clamp(2.4rem, 4.6vw, 4rem); }
.final-cta .button-primary { color: var(--blue-950); background: var(--white); }
footer { padding: 36px 0; color: rgba(255,255,255,.62); background: #082a42; font-size: .76rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.footer-inner img { width: 174px; }
.footer-inner p { margin: 0; }

@media (max-width: 940px) {
  .shell { width: min(100% - 40px, 760px); }
  .hero { padding-top: 136px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-copy { max-width: 700px; }
  .lead-card { width: min(100%, 520px); }
  .positioning-grid { grid-template-columns: 1fr; gap: 38px; }
  .positioning-copy { padding-left: 28px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 0; }
  .bio-card { grid-template-columns: 290px 1fr; }
  .bio-content { padding: 42px 38px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-inner img { margin-inline: auto; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 32px, 540px); }
  .section { padding: 58px 0; }
  .header-inner { height: 74px; }
  .brand img { width: 174px; }
  .hero { min-height: 0; padding: 116px 0 58px; }
  .hero-pattern { left: 25%; }
  h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .hero-support { font-size: 1.03rem; }
  .hero-note { align-items: flex-start; }
  .lead-card-top, form { padding-left: 23px; padding-right: 23px; }
  .confirmation-dialog { padding: 42px 28px 32px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2 { font-size: 2.45rem; }
  .positioning .section-heading h2 { font-size: 2.1rem; }
  .positioning-copy { padding-left: 20px; }
  .brand-visual { min-height: 0; }
  .process-card { padding: 30px 26px; }
  .bio-card { grid-template-columns: 1fr; }
  .bio-portrait-wrap { min-height: 0; aspect-ratio: 1 / .9; }
  .bio-content { padding: 32px 26px 36px; }
  .logo-set { gap: 48px; padding-right: 48px; }
  .logo-set figure { height: 82px; padding-block: 8px; }
  .logo-set img.logo-jpmorgan { width: 180px; }
  .logo-set img.logo-fifth-third { width: 208px; }
  .logo-set img.logo-modern-treasury { width: 132px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  html.motion-ready [data-reveal],
  html.motion-ready [data-reveal-group] .process-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  .marquee .logo-set[aria-hidden="true"] { display: none; }
}
