/*
Theme Name: Graysbrook
Theme URI: https://graysbrook.com
Description: Hand-coded theme for Graysbrook Private Wealth and Graysbrook Investment Partners. Native blocks, no page builder.
Version: 1.1.12
Requires PHP: 8.0
Text Domain: gb
*/

:root{
 --navy:#0b2138;--ink:#12232f;--deep:#08192b;--slate:#43596b;--mute:#7d94a8;--sky:#9dc0dc;
 --line:#e3e8ee;--tint:#f5f7f9;--serif:'EB Garamond',Georgia,'Times New Roman',serif;
 --sans:'Inter',-apple-system,'Segoe UI',Arial,sans-serif;--pad:72px;--max:1296px;
}
*,*:before,*:after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--sans);color:var(--ink);background:#fff;font-size:16px;line-height:1.7;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--navy)}
p{margin:0}
h1,h2,h3,h4{margin:0;font-family:var(--serif);font-weight:500;color:var(--ink);line-height:1.18}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.skip-link{position:absolute;left:-999px;top:0;background:#fff;padding:10px 16px;z-index:100}
.skip-link:focus{left:10px}
.wp-block-group__inner-container{display:contents}
figure{margin:0}

/* ---------- buttons ---------- */
.wp-block-buttons{display:flex;flex-wrap:wrap;gap:16px;margin-top:34px}
.wp-block-button .wp-block-button__link,.wp-block-button.is-style-outline>.wp-block-button__link,.gb-btn{display:inline-block;border:1.4px solid var(--navy);background:var(--navy);color:#fff;padding:15px 30px;
 font-family:var(--sans);font-size:11px;font-weight:600;letter-spacing:.26em;text-transform:uppercase;text-decoration:none;border-radius:0;
 transition:background .2s,color .2s,border-color .2s;cursor:pointer;line-height:1.4}
.wp-block-button__link:hover,.gb-btn:hover{background:#163454;border-color:#163454}
.is-style-outline .wp-block-button__link{background:transparent;color:var(--navy);border-color:var(--navy)}
.is-style-outline .wp-block-button__link:hover{background:var(--navy);color:#fff}
.is-style-light .wp-block-button__link{background:#fff;color:var(--navy);border-color:#fff}
.is-style-light .wp-block-button__link:hover{background:#e8eff5;border-color:#e8eff5}
.gb-hero .is-style-outline .wp-block-button__link,.gb-dark .is-style-outline .wp-block-button__link,.gb-nextband .is-style-outline .wp-block-button__link,.gb-gateway .is-style-outline .wp-block-button__link{color:#fff;border-color:rgba(255,255,255,.9);background:rgba(255,255,255,.06)}
.gb-hero .is-style-outline .wp-block-button__link:hover,.gb-dark .is-style-outline .wp-block-button__link:hover,.gb-nextband .is-style-outline .wp-block-button__link:hover,.gb-gateway .is-style-outline .wp-block-button__link:hover{background:#fff;color:var(--navy)}
.gb-btn--line{background:#f5f7f9;color:var(--navy);padding:12px 22px;font-size:10.5px;font-weight:700;letter-spacing:.2em}
.gb-btn--line:hover{background:var(--navy);color:#fff}

/* ---------- header ---------- */
.gb-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line);transition:box-shadow .2s}
.gb-header.is-scrolled{box-shadow:0 6px 24px rgba(8,25,43,.07)}
.gb-header__inner{height:96px;display:flex;align-items:center;justify-content:space-between;padding:0 56px;gap:30px}
.gb-brand img{width:230px;height:auto}
.gb-nav{display:flex;align-items:center;gap:40px}
.gb-nav .menu{display:flex;gap:30px;list-style:none;margin:0;padding:0}
.gb-nav .menu a{font-size:11.5px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#3d5568;text-decoration:none;padding:6px 0;border-bottom:1.5px solid transparent;transition:color .2s,border-color .2s}
.gb-nav .menu a:hover{color:var(--navy)}
.gb-nav .current-menu-item>a,.gb-nav .current_page_item>a{color:var(--navy);border-bottom-color:var(--navy)}
.gb-navtoggle{display:none;background:none;border:0;width:44px;height:44px;padding:10px;cursor:pointer}
.gb-navtoggle span:not(.sr-only){display:block;height:1.6px;background:var(--navy);margin:6px 0;transition:transform .2s,opacity .2s}

/* ---------- sections ---------- */
.gb-sec{padding:96px var(--pad)}
.gb-sec>*,.gb-sec>.wp-block-group__inner-container>*,.gb-phead__inner,.gb-hero__inner{max-width:var(--max);margin-left:auto;margin-right:auto}
.gb-tint{background:var(--tint)}
.gb-dark{background:var(--navy);color:#fff}
.gb-kicker{font-size:11px;font-weight:700;letter-spacing:.3em;text-transform:uppercase;color:var(--mute)}
.gb-dark .gb-kicker{color:var(--sky)}
.gb-sec h2{margin-top:16px;font-size:40px;line-height:1.2}
.gb-rule{width:56px;height:2px;background:var(--navy);margin-top:28px}
.gb-ctr{text-align:center}
.gb-ctr .gb-rule{margin:28px auto 0}
.gb-ctr .wp-block-buttons{justify-content:center}
.gb-body{margin-top:22px;font-size:17px;line-height:1.75;color:var(--slate)}
.gb-ctr>.gb-body{max-width:760px}
.gb-dark .gb-body{color:#cfdeeb}
.gb-quote{font-family:var(--serif);font-size:30px;line-height:1.45;max-width:900px;margin:26px auto 0;color:#fff}
.gb-small{margin-top:44px!important;padding-top:26px;border-top:1px solid #dbe3ea;font-size:13px;line-height:1.75;color:#6b7f90}

.gb-split{display:flex;gap:80px;align-items:flex-start}
.gb-split__hd{flex:0 0 40%}
.gb-split__bd{flex:1;padding-top:6px}
/* Neal 2026-10-22: PW home intro shows the logo instead of an H2 */
.gb-split__logo{margin:0}
.gb-split__logo img{width:380px;max-width:100%;height:auto;display:block}
.gb-split__bd .gb-body{margin-top:0}
.gb-split__bd .gb-body+.gb-body{margin-top:18px}
.gb-split__bd strong{color:var(--navy)}

.gb-pills{display:flex;gap:34px;margin-top:52px;text-align:left}
.gb-pill{flex:1;padding:34px 30px 32px;border-top:2px solid var(--navy);background:#fff;transition:transform .25s,box-shadow .25s}
.gb-pill:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(8,25,43,.08)}
.gb-sec:not(.gb-tint) .gb-pill{background:var(--tint)}
.gb-pill h3{font-size:24px;margin-bottom:12px}
.gb-pill p{font-size:15px;line-height:1.72;color:#4a6072}

.gb-cols3,.gb-cols2{display:flex;gap:48px;margin-top:48px;text-align:left}
.gb-cols3>.gb-col,.gb-cols2>.gb-col{flex:1}
.gb-cols2>.gb-col:last-child{flex:1.4}
.gb-col h4{font-family:var(--sans);font-size:12px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--mute);margin-bottom:14px}
.gb-col h3{font-size:26px;margin-top:14px}
.gb-col p{font-size:15.5px;line-height:1.78;color:var(--slate);margin-top:14px}
.gb-col p.gb-kicker{font-size:11px;line-height:1.5;color:var(--mute);margin-top:0}
.gb-col h4+p{margin-top:0}
.gb-sec>.gb-cols2:first-child{margin-top:0}

.gb-steps{display:flex;gap:28px;margin-top:46px}
.gb-step{flex:1;padding-top:24px;border-top:2px solid var(--navy)}
.gb-step__n{font-family:var(--serif);font-size:26px;color:var(--mute);margin-bottom:12px}
.gb-step h3{font-size:22px;margin-bottom:10px}
.gb-step p:not(.gb-step__n){font-size:15px;line-height:1.65;color:#3d5568}

.gb-risk{margin-top:44px;display:grid;grid-template-columns:1fr 1fr;gap:0 56px;text-align:left}
.gb-risk__item{padding:24px 0;border-top:1px solid #dbe3ea}
.gb-risk__item h3{font-size:22px}
.gb-risk__item p{margin-top:8px;font-size:15px;line-height:1.7;color:#4a6072}

/* ---------- hero ---------- */
.gb-bg-mast{background-image:url(assets/hero-mast.jpg?v=2)}
.gb-bg-depth{background-image:url(assets/hero-depth.jpg?v=2)}
.gb-bg-wake{background-image:url(assets/hero-wake.jpg?v=2)}
.gb-hero,.gb-phead{position:relative;background-color:var(--navy);background-size:cover;background-position:center;overflow:hidden}
.gb-hero:before,.gb-phead:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,20,34,.70) 0%,rgba(6,20,34,.40) 46%,rgba(6,20,34,.04) 100%)}
.gb-hero{min-height:600px;display:flex;align-items:flex-end;padding:120px var(--pad) 72px}
.gb-hero__inner{position:relative;z-index:2;width:100%;display:flex;justify-content:space-between;align-items:flex-end;gap:56px}
.gb-hero__text{max-width:660px}
.gb-eyebrow{font-size:11px;font-weight:700;letter-spacing:.3em;text-transform:uppercase;color:var(--sky)}
.gb-eyebrow a{color:inherit;text-decoration:none}
.gb-hero h1{margin-top:22px;font-size:56px;line-height:1.12;color:#fff}
.gb-lead{margin-top:22px;font-size:17.5px;line-height:1.7;color:#d9e5f0;max-width:560px}
.gb-hero__card{flex:0 0 320px;padding:30px 28px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.30);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.gb-hero__card-title{font-size:11px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:#bcd6ea}
.gb-hero__card ul{list-style:none;margin:6px 0 0;padding:0}
.gb-hero__card li{font-size:14.5px;line-height:1.55;color:#eaf2f9;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.16)}
.gb-hero__card li:last-child{border-bottom:0;padding-bottom:0}

.gb-phead{min-height:340px;display:flex;align-items:center;padding:80px var(--pad)}
.gb-phead:before{background:linear-gradient(90deg,rgba(6,20,34,.70) 0%,rgba(6,20,34,.42) 50%,rgba(6,20,34,.10) 100%)}
.gb-phead__inner{position:relative;z-index:2;width:100%}
.gb-phead .gb-eyebrow{color:#9fbcd4}
.gb-phead h1{margin-top:18px;font-size:52px;line-height:1.12;color:#fff;max-width:900px}
.gb-phead .gb-lead{margin-top:16px;max-width:640px}

/* ---------- next band ---------- */
.gb-nextband{background:var(--navy);padding:56px var(--pad);display:flex;justify-content:space-between;align-items:center;gap:40px}
.gb-nextband>*,.gb-nextband>.wp-block-group__inner-container>*{margin:0!important}
.gb-nextband__title{font-family:var(--serif);font-size:30px;color:#fff;line-height:1.3}
.gb-nextband__txt p:not(.gb-nextband__title){margin-top:8px;font-size:15px;color:#9fb6c9}
.gb-nextband .wp-block-buttons{margin-top:0;flex-shrink:0}

/* ---------- team ---------- */
.gb-team{display:flex;gap:72px;align-items:flex-start}
.gb-team__ph{flex:0 0 380px}
.gb-team__ph img{width:380px;height:470px;object-fit:cover;object-position:top}
/* Neal 2026-10-12: PW photo -20%, IP photo -25% */
.gb-div-pw .gb-team__ph,.gb-div-ip .gb-team__ph{flex-basis:244px}
.gb-div-pw .gb-team__ph img,.gb-div-ip .gb-team__ph img{width:244px;height:302px}
.gb-creds{margin-top:16px;display:flex;gap:10px}
.gb-creds span{font-size:11px;font-weight:700;letter-spacing:.14em;border:1px solid #c9d4de;padding:7px 11px;color:#3d5568}
.gb-team__bd h2{font-size:42px;margin-top:14px}
.gb-team__bd>h2:first-child,.gb-team__bd>.wp-block-group__inner-container>h2:first-child{margin-top:0}
.gb-ttl{margin-top:8px;font-size:12px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:var(--mute)}
.gb-team__bd p:not(.gb-kicker):not(.gb-ttl){margin-top:20px;font-size:16px;line-height:1.8;color:var(--slate);max-width:680px}

/* John Shields, 2026-10-28 */
.gb-team--next{margin-top:72px;padding-top:72px;border-top:1px solid #d8e0e7}
.gb-mono{width:244px;height:302px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;font-family:var(--serif);font-size:72px;letter-spacing:.06em}

/* ---------- insights ---------- */
.gb-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:52px;text-align:left}
.gb-card{border:1px solid var(--line);background:#fff;display:flex;flex-direction:column;transition:box-shadow .25s,transform .25s}
.gb-card:hover{box-shadow:0 14px 34px rgba(8,25,43,.08);transform:translateY(-3px)}
.gb-card__img{display:block;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(135deg,#dfe7ee,#c9d6e1)}
.gb-card__img img{width:100%;height:100%;object-fit:cover}
.gb-card__ph{display:block;width:100%;height:100%}
.gb-card__bd{padding:26px 24px 28px;display:flex;flex-direction:column;flex:1}
.gb-card__dt{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--mute)}
.gb-card__t{margin-top:12px;font-size:22px;line-height:1.3}
.gb-card__t a{color:var(--ink);text-decoration:none}
.gb-card__ex{margin-top:10px;font-size:14.5px;line-height:1.65;color:#5a6f80;flex:1}
.gb-card__more{margin-top:18px;font-size:11px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--navy);text-decoration:none}
.gb-empty{margin-top:40px;color:var(--mute)}
.gb-pager{display:flex;justify-content:center;gap:30px;margin-top:40px}
.gb-pager a{font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;text-decoration:none}

.gb-article{max-width:780px;margin:0 auto;padding:72px 24px 88px}
.gb-article__img{margin-bottom:44px}
.gb-article__img img{width:100%;aspect-ratio:16/9;object-fit:cover}
.gb-article__body{font-size:18px;line-height:1.85;color:#2b3f50}
.gb-article__body p{margin:0 0 22px}
.gb-article__body h2{font-size:32px;margin:40px 0 18px}
.gb-article__body h2:first-child{margin-top:0}
.gb-article__body h3{font-size:24px;margin:32px 0 14px}
.gb-article__body ul,.gb-article__body ol{margin:0 0 22px;padding-left:24px}
.gb-article__body blockquote{margin:30px 0;padding:6px 0 6px 26px;border-left:2px solid var(--navy);font-family:var(--serif);font-size:24px;line-height:1.5;color:var(--ink)}
.gb-article__body figure{margin:30px 0}
.gb-article__body .wp-block-embed__wrapper{position:relative;aspect-ratio:16/9}
.gb-article__body .wp-block-embed__wrapper iframe{position:absolute;inset:0;width:100%;height:100%}
.gb-article__disc{margin-top:44px;padding-top:24px;border-top:1px solid #dbe3ea;font-size:13px;line-height:1.7;color:#6b7f90}
.gb-article__back{margin-top:30px}
.gb-article__back a{font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;text-decoration:none}

/* ---------- contact ---------- */
.gb-contact{display:flex;gap:80px;align-items:flex-start}
.gb-cinfo{flex:0 0 400px}
.gb-cinfo__logo{width:320px}
.gb-cinfo__addr{margin-top:30px;font-size:14.5px;line-height:1.8;color:#24384a}
.gb-cinfo__ln{margin-top:16px;font-size:14px;line-height:1.9}
.gb-cinfo__ln a{color:#24384a;text-decoration:none;border-bottom:1px solid #c9d4de}
.gb-formcard{flex:1;background:#fff;border:1px solid var(--line);padding:44px}
.gb-formcard h3{font-size:28px;margin-bottom:26px}
.gb-form label{display:block;margin-bottom:20px}
.gb-form label>span{display:block;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#5a6f80;margin-bottom:8px}
.gb-form label b{color:#9a3b3b;font-weight:700}
.gb-form__row{display:flex;gap:20px}
.gb-form__row label{flex:1}
.gb-form input,.gb-form textarea{width:100%;border:1px solid #cdd7e0;background:#fafbfc;padding:14px 14px;font:inherit;font-size:16px;color:var(--ink);border-radius:0}
.gb-form input:focus,.gb-form textarea:focus{outline:2px solid var(--navy);outline-offset:-1px;background:#fff}
.gb-form .gb-btn{margin-top:6px}
.gb-hp{position:absolute;left:-9999px}
.gb-form-msg{padding:16px 18px;margin-bottom:22px;font-size:15px}
.gb-form-msg.is-ok{background:#eaf3ee;border:1px solid #b8d5c2;color:#1d4a30}
.gb-form-msg.is-err{background:#f8ecec;border:1px solid #e0bcbc;color:#6b2020}

/* ---------- footer ---------- */
.gb-footer{background:var(--deep);color:#9fb6c9;padding:46px var(--pad) 34px}
.gb-footer__inner{max-width:var(--max);margin:0 auto}
.gb-footer a{color:#c7d8e6;text-decoration:none}
.gb-footer a:hover{color:#fff}
.gb-footer__row{display:flex;justify-content:space-between;align-items:center;gap:30px;padding-bottom:28px;border-bottom:1px solid rgba(255,255,255,.13)}
.gb-footer__logo img{width:230px}
.gb-footer__c{text-align:right;font-size:14px;line-height:1.8}
.gb-footer__nav .fmenu{display:flex;flex-wrap:wrap;gap:26px;list-style:none;margin:22px 0 0;padding:0}
.gb-footer__nav a{font-size:12px;letter-spacing:.14em;text-transform:uppercase}
.gb-footer__disc{margin-top:22px;font-size:12px;line-height:1.75;color:#7f97ab;max-width:1100px}
.gb-footer__bot{margin-top:18px;font-size:11.5px;letter-spacing:.06em;display:flex;justify-content:space-between;gap:20px}
.gb-footer__legal{margin-top:20px;padding-top:16px;border-top:1px solid rgba(255,255,255,.1);font-size:7px;line-height:1.6;color:#7f97ab}
.gb-footer__legal p{margin:0 0 6px}
.gb-footer__legal strong{color:#9fb6c9;font-weight:600}
.gb-footer__legal a{text-decoration:underline}

/* ---------- gateway ---------- */
.gb-gateway{position:relative;min-height:100vh;min-height:100svh;overflow:hidden;background:var(--navy);color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:110px 70px 88px}
.gb-gw-fx,.gb-gw-fx span{position:absolute;inset:0;display:block}
.gb-gw-fx{z-index:0}
.gb-gw-fx .b{background:url(assets/hero-wake.jpg?v=2) 0 0/300% no-repeat}
.gb-gw-fx .ph{inset:auto;left:50%;top:150px;width:87%;aspect-ratio:3/2;transform:translateX(-50%);background:url(assets/hero-wake.jpg?v=2) center/cover no-repeat;
 -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 20%,#000 80%,transparent 100%),linear-gradient(180deg,transparent 0,#000 22%,#000 80%,transparent 100%);
 mask-image:linear-gradient(90deg,transparent 0,#000 20%,#000 80%,transparent 100%),linear-gradient(180deg,transparent 0,#000 22%,#000 80%,transparent 100%);
 -webkit-mask-composite:source-in;mask-composite:intersect}
.gb-gw-fx .t{mix-blend-mode:color;opacity:.52;background:linear-gradient(90deg,#173d5e 0%,#184a5c 34%,#195552 52%,#1a5c4e 74%,#1b644b 100%)}
.gb-gw-fx .v{background:linear-gradient(180deg,rgba(6,20,34,.20),rgba(6,20,34,0) 26%,rgba(6,20,34,0) 58%,rgba(6,20,34,.40))}
.gb-gw-fx .s{left:50%;right:auto;width:1px;top:210px;bottom:150px;background:linear-gradient(180deg,transparent,rgba(255,255,255,.26),transparent)}
.gb-gateway>*:not(.gb-gw-fx),.gb-gateway>.wp-block-group__inner-container>*:not(.gb-gw-fx){position:relative;z-index:2}
.gb-gateway>.wp-block-group__inner-container>.gb-gw-fx{position:absolute;z-index:0}
h1.gb-gw-tagline{font-style:italic;font-size:34px;font-weight:400;letter-spacing:.01em;color:#e8f0f8;text-align:center;text-shadow:0 2px 16px rgba(0,0,0,.6);line-height:1.3}
.gb-doors{display:flex;justify-content:space-between;gap:40px}
.gb-door{width:44%;max-width:440px}
.gb-door--ip{text-align:right}
.gb-door__logo img{width:300px}
.gb-door--ip .gb-door__logo img{margin-left:auto}
.gb-door p{margin-top:20px;min-height:78px;font-size:15px;line-height:1.7;color:#dde8f2;text-shadow:0 1px 10px rgba(0,0,0,.5)}
.gb-door--ip .wp-block-buttons{justify-content:flex-end}
.gb-door .wp-block-buttons{margin-top:24px}
.admin-bar .gb-gateway{min-height:calc(100vh - 32px)}

.gb-404{padding:140px 24px}
.gb-404 h1{margin-top:16px;font-size:44px}

/* ---------- responsive ---------- */
@media (max-width:1180px){
 :root{--pad:48px}
 .gb-header__inner{padding:0 32px}
 .gb-nav{gap:24px}.gb-nav .menu{gap:20px}
 .gb-nav .menu a{font-size:11px;letter-spacing:.12em}
 .gb-brand img{width:200px}
}
@media (max-width:1024px){
 .gb-navtoggle{display:block}
 .gb-header__inner{height:80px}
 .gb-nav{position:absolute;top:100%;left:0;right:0;height:calc(100dvh - 80px);background:#fff;flex-direction:column;align-items:flex-start;gap:28px;padding:32px;display:none;overflow-y:auto;border-top:1px solid var(--line)}
 .gb-nav-open .gb-nav{display:flex}
 .gb-nav .menu{flex-direction:column;gap:18px}
 .gb-nav .menu a{font-size:14px}
 .gb-nav-open .gb-navtoggle span:nth-child(1){transform:translateY(7.6px) rotate(45deg)}
 .gb-nav-open .gb-navtoggle span:nth-child(2){opacity:0}
 .gb-nav-open .gb-navtoggle span:nth-child(3){transform:translateY(-7.6px) rotate(-45deg)}
 .gb-hero__inner{flex-direction:column;align-items:flex-start}
 .gb-hero__card{flex:none;width:100%;max-width:420px}
 .gb-split{flex-direction:column;gap:30px}
 .gb-split__hd{flex:none}
 .gb-pills,.gb-cols3,.gb-cols2,.gb-steps{flex-direction:column;gap:24px}
 .gb-cards{grid-template-columns:1fr 1fr}
 .gb-team{flex-direction:column;gap:40px}
 .gb-team__ph{flex:none}
 .gb-contact{flex-direction:column;gap:44px}
 .gb-cinfo{flex:none}
 .gb-formcard{width:100%}
}
@media (max-width:720px){
 :root{--pad:22px}
 body{font-size:15.5px}
 .gb-header__inner{padding:0 18px;height:72px}
 .gb-nav{height:calc(100dvh - 72px)}
 .gb-brand img{width:170px}
 .gb-sec{padding:64px var(--pad)}
 .gb-sec h2{font-size:31px}
 .gb-hero{min-height:0;padding:84px var(--pad) 48px}
 .gb-hero h1{font-size:38px}
 .gb-phead{min-height:240px;padding:60px var(--pad)}
 .gb-phead h1{font-size:38px}
 .gb-lead,.gb-body{font-size:16px}
 .gb-quote{font-size:24px}
 .gb-risk{grid-template-columns:1fr}
 .gb-cards{grid-template-columns:1fr}
 .gb-team__ph img,.gb-div-pw .gb-team__ph img,.gb-div-ip .gb-team__ph img{width:100%;height:auto;aspect-ratio:4/5}
 .gb-team__bd h2{font-size:34px}
 .gb-mono{width:160px;height:198px;font-size:52px}
 .gb-team--next{margin-top:48px;padding-top:48px}
 .gb-nextband{flex-direction:column;align-items:flex-start;padding:44px var(--pad)}
 .gb-nextband__title{font-size:26px}
 .gb-formcard{padding:26px 20px}
 .gb-form__row{flex-direction:column;gap:0}
 .gb-footer__row{flex-direction:column;align-items:flex-start}
 .gb-footer__c{text-align:left}
 .gb-footer__bot{flex-direction:column}
 .gb-article{padding:48px 20px 64px}
 .gb-article__body{font-size:17px}
 /* mobile gateway = option C1 (Jaron, 2026-11-03): full photo, boat up top, two tappable cards (navy PW / ocean-blue IP) */
 .gb-gateway{padding:46px 18px 28px;justify-content:flex-start;gap:28px}
 .gb-gw-fx .b{background:#08192b}
 .gb-gw-fx .t,.gb-gw-fx .s{display:none}
 .gb-gw-fx .ph{left:50%;top:0;width:100%;height:100%;aspect-ratio:auto;transform:translateX(-50%);background:url(assets/hero-wake.jpg?v=2) 50% 130px/auto 58% no-repeat;-webkit-mask-image:none;mask-image:none}
 .gb-gw-fx .v{background:linear-gradient(180deg,#08192b 0,#08192b 15%,rgba(8,25,43,0) 26%,rgba(8,25,43,.1) 42%,rgba(8,25,43,.92) 60%,#08192b 100%)}
 h1.gb-gw-tagline{font-size:clamp(20px,5.9vw,24px);font-weight:500;line-height:1.28;max-width:13.85em;margin:0 auto;text-wrap:balance}
 .gb-doors{flex-direction:column;gap:14px;margin-top:auto}
 .gb-door,.gb-door--ip{position:relative;width:100%;max-width:none;text-align:left;padding:22px 20px 20px;background:rgba(16,42,66,.62);border:1px solid rgba(255,255,255,.16);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:border-color .2s,background .2s}
 .gb-door--ip{background:rgba(28,74,118,.55)}
 .gb-door:active,.gb-door:hover{border-color:rgba(255,255,255,.4)}
 .gb-door__logo img,.gb-door--ip .gb-door__logo img{width:180px;margin-left:0}
 .gb-door p{min-height:0;margin-top:12px;font-size:14px;line-height:1.55;color:#d3e0ea;text-shadow:none}
 .gb-door .wp-block-buttons{position:static;margin:0;height:0;overflow:visible}
 .gb-gateway .gb-door .wp-block-button__link,.gb-gateway .gb-door .wp-block-button__link:hover{position:static;padding:0;border:0;background:none;font-size:0;line-height:0;color:#fff}
 .gb-door .wp-block-button__link::before{content:"\2192";position:absolute;right:20px;top:29px;font-size:20px;line-height:24px;color:#fff}
 .gb-door .wp-block-button__link::after{content:"";position:absolute;inset:0;z-index:3}
 .gb-door p{margin-bottom:0}
 .wp-block-buttons{gap:12px}
}
@media (max-width:768px) and (max-height:740px){
 .gb-gw-fx .ph{background-position:50% 104px;background-size:auto 46%}
 .gb-gw-fx .v{background:linear-gradient(180deg,#08192b 0,#08192b 14%,rgba(8,25,43,0) 24%,rgba(8,25,43,.1) 40%,rgba(8,25,43,.92) 64%,#08192b 100%)}
 .gb-gateway{padding-top:38px;gap:20px}
}

/* ---------- motion (light; only when html.gb-anim, i.e. not prefers-reduced-motion) ---------- */
@keyframes gbUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes gbFade{from{opacity:0}to{opacity:1}}
@keyframes gbDrift{from{transform:translateX(-50%) scale(1.06)}to{transform:translateX(-50%) scale(1)}}
.gb-anim .gb-gw-fx .ph{animation:gbDrift 10s cubic-bezier(.2,.6,.2,1) both}
.gb-anim .gb-gw-fx .s{animation:gbFade 1.8s 1.1s both}
.gb-anim h1.gb-gw-tagline{animation:gbUp 1.1s .25s cubic-bezier(.2,.7,.2,1) both}
.gb-anim .gb-door{animation:gbUp 1s .7s cubic-bezier(.2,.7,.2,1) both}
.gb-anim .gb-door--ip{animation-delay:.85s}
.gb-anim .gb-hero__text .gb-eyebrow,.gb-anim .gb-phead .gb-eyebrow{animation:gbUp .9s .1s cubic-bezier(.2,.7,.2,1) both}
.gb-anim .gb-hero__text h1,.gb-anim .gb-phead h1{animation:gbUp .9s .22s cubic-bezier(.2,.7,.2,1) both}
.gb-anim .gb-hero__text .gb-lead,.gb-anim .gb-phead .gb-lead{animation:gbUp .9s .36s cubic-bezier(.2,.7,.2,1) both}
.gb-anim .gb-hero__text .wp-block-buttons{animation:gbUp .9s .5s cubic-bezier(.2,.7,.2,1) both}
.gb-anim .gb-hero__card{animation:gbUp 1s .6s cubic-bezier(.2,.7,.2,1) both}
.gb-rv{opacity:0;transform:translateY(22px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.gb-rv.is-in{opacity:1;transform:none}
.gb-rule.gb-rv{opacity:1;transform:scaleX(0);transform-origin:left center;transition:transform 1s cubic-bezier(.2,.7,.2,1)}
.gb-ctr .gb-rule.gb-rv{transform-origin:center}
.gb-rule.gb-rv.is-in{transform:scaleX(1)}
.gb-card__img img{transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.gb-card:hover .gb-card__img img{transform:scale(1.04)}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.gb-rv{opacity:1!important;transform:none!important}}
.gb-hero h1,.gb-hero .gb-lead,.gb-phead h1,.gb-phead .gb-lead,.gb-hero .gb-eyebrow,.gb-phead .gb-eyebrow{text-shadow:0 1px 14px rgba(6,20,34,.45)}
@media (max-width:720px){.gb-hero:before,.gb-phead:before{background:linear-gradient(180deg,rgba(6,20,34,.50) 0%,rgba(6,20,34,.62) 100%)}}
