:root{--ink:#0a1a30;--navy:#0d2a4d;--blue:#01579b;--green:#3f8a2c;--amber:#f5a623;--mist:#f3f6fa;--line:#dbe3ee}
html{scroll-behavior:smooth}
.wp-site-blocks>*{margin-block-start:0!important}
main>*{margin-block-start:0!important;margin-block-end:0!important}
body{-webkit-font-smoothing:antialiased}
a{text-underline-offset:3px}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line);padding:.7rem 1.5rem}
.site-header .brand img{display:block;height:auto;width:170px}
.main-nav a{font-weight:500;font-size:.95rem;text-decoration:none;color:var(--ink)}
.main-nav a:hover{color:var(--blue)}
.nav-cta .wp-block-button__link{padding:.6rem 1.3rem;font-size:.95rem}

/* hero */
.hero{padding:0!important}
.hero .wp-block-cover__background{background:linear-gradient(100deg,rgba(10,26,48,.94) 0%,rgba(10,26,48,.78) 42%,rgba(10,26,48,.2) 100%)!important;opacity:1!important}
.hero .wp-block-cover__image-background{object-position:center 40%}
.hero .wp-block-cover__inner-container{padding:6rem 1.5rem;width:100%}
.hero .wp-block-cover__inner-container>.wp-block-group,.band .wp-block-cover__inner-container>.wp-block-group{width:100%;max-width:1200px;margin-inline:auto}
.hero-copy{max-width:680px;margin-left:0!important}
.eyebrow{display:inline-block;font-size:.8rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--amber);margin:0 0 1.2rem}
.hero h1{margin:0 0 1.2rem;letter-spacing:-.02em;text-wrap:balance}
.hero-sub{color:rgba(255,255,255,.88);max-width:34em;margin:0 0 2rem}
.hero-ghost .wp-block-button__link{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.7)}
.hero-ghost .wp-block-button__link:hover{background:#fff;color:var(--ink)}
.wp-block-button__link{padding:.9rem 1.7rem;transition:transform .15s,box-shadow .15s}
.wp-block-button__link:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.2)}

/* stats */
.stats{padding:0!important}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.stat{padding:2rem 1.5rem;border-left:1px solid rgba(255,255,255,.14)}
.stat:first-child{border-left:0}
.stat-n{font-family:var(--wp--preset--font-family--display);font-size:1.5rem;font-weight:650;margin:0 0 .25rem;color:#fff}
.stat-l{margin:0;font-size:.9rem;color:rgba(255,255,255,.72);line-height:1.45}

/* sections */
.section{padding:6rem 1.5rem}
.kicker{font-size:.8rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--green);margin:0 0 .75rem}
.section h2{margin:0 0 2.5rem;max-width:20em;letter-spacing:-.015em;text-wrap:balance}

/* cards */
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem}
.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:1.6rem;display:flex;flex-direction:column;gap:.3rem;transition:transform .2s,box-shadow .2s,border-color .2s}
.card:hover{transform:translateY(-4px);box-shadow:0 18px 40px -18px rgba(13,42,77,.35);border-color:var(--blue)}
.card .tag{display:inline-block;align-self:flex-start;background:var(--mist);color:var(--blue);font-weight:700;font-size:.78rem;letter-spacing:.08em;padding:.3rem .65rem;border-radius:8px;margin:0 0 .9rem}
.card h3{margin:0 0 .4rem}
.card .meta{margin:0;color:#4a5b72;font-size:.95rem}
.card .meta strong{color:var(--ink)}
.card .more{margin:auto 0 0;padding-top:1.1rem;font-weight:600;font-size:.95rem}
.card .more a{text-decoration:none}
.card-feature{background:linear-gradient(150deg,var(--navy),var(--blue));border-color:transparent;color:#fff}
.card-feature h3,.card-feature .meta,.card-feature .meta strong,.card-feature .more a{color:#fff}
.card-feature .tag{background:var(--amber);color:var(--ink)}

/* split */
.rounded img{border-radius:20px;width:100%;height:auto;box-shadow:0 30px 60px -30px rgba(10,26,48,.5)}
.split .wp-block-columns{gap:4rem}
.ticks{list-style:none;padding:0;margin:1.5rem 0 0}
.ticks li{position:relative;padding:.35rem 0 .35rem 2rem}
.ticks li::before{content:"";position:absolute;left:0;top:.55rem;width:1.2rem;height:1.2rem;border-radius:50%;background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat}

/* schedule */
.classes{border-top:1px solid var(--line)}
.class-row{display:grid;grid-template-columns:200px 1fr 1fr 1fr;gap:1rem;align-items:center;padding:1.15rem .5rem;border-bottom:1px solid var(--line)}
.class-row p{margin:0}
.class-row .d{font-family:var(--wp--preset--font-family--display);font-weight:650;font-size:1.2rem;color:var(--ink)}
.class-row .n{font-weight:500}
.class-row .n::before{content:"";display:inline-block;width:.55rem;height:.55rem;border-radius:50%;background:var(--blue);margin-right:.6rem}
.fineprint{margin-top:1.5rem;color:#5a6b82;font-size:.92rem}

/* band */
.band{padding:0!important}
.band .wp-block-cover__background{background:linear-gradient(90deg,rgba(10,26,48,.92) 0%,rgba(10,26,48,.7) 55%,rgba(10,26,48,.25) 100%)!important;opacity:1!important}
.band .wp-block-cover__inner-container{padding:5rem 1.5rem;width:100%}
.band-copy{max-width:620px;margin-left:0!important}
.band-copy h2{margin:0 0 1rem}
.band-sub{color:rgba(255,255,255,.88);margin:0 0 1.8rem;font-size:1.1rem}

/* cta */
.cta{padding:5.5rem 1.5rem!important}
.cta h2{margin:0 0 .75rem}
.cta-sub{color:rgba(255,255,255,.92);font-size:1.15rem;margin:0 0 2rem}

/* footer */
.site-footer{padding-left:1.5rem;padding-right:1.5rem}
.site-footer a{color:#fff;text-decoration:none;opacity:.85}
.site-footer a:hover{opacity:1;text-decoration:underline}
.site-footer .muted{color:rgba(255,255,255,.7);font-size:.95rem}
.site-footer .footer-h{text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;font-weight:700;color:var(--amber);margin:0 0 .6rem}
.site-footer .legal{border-top:1px solid rgba(255,255,255,.14);margin-top:3rem;padding-top:1.5rem;font-size:.85rem;color:rgba(255,255,255,.55)}

/* inner pages */
main.page-main{padding:3.5rem 1.5rem 5rem}
.wp-block-post-title{letter-spacing:-.015em}

@media (max-width:980px){
  .cards{grid-template-columns:repeat(2,1fr)}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .stat:nth-child(3){border-left:0}
  .class-row{grid-template-columns:1fr 1fr}
  .class-row .d{grid-column:1/-1}
}
@media (max-width:600px){
  .cards{grid-template-columns:1fr}
  .section{padding:4rem 1.25rem}
  .hero .wp-block-cover__inner-container{padding:4rem 1.25rem}
  .class-row{grid-template-columns:1fr}
}

/* mobile header */
.nav-cta .wp-block-button__link{white-space:nowrap}
.site-header .brand{flex:0 0 auto}
@media (max-width:600px){
  .site-header{padding:.6rem 1rem}
  .site-header .brand img{width:130px}
  .nav-cta .wp-block-button__link{padding:.5rem 1rem;font-size:.9rem}
  .site-header .wp-block-group{gap:.75rem!important}
}

/* ---------- inner pages ---------- */
.page-hero{padding:3.2rem 1.5rem 3rem!important;background:linear-gradient(135deg,var(--ink),var(--navy) 60%,#10417a)}
.page-hero .crumb{margin:0 0 .6rem;font-size:.85rem;letter-spacing:.08em;text-transform:uppercase}
.page-hero .crumb a{color:var(--amber);text-decoration:none}
.page-hero h1{margin:0;color:#fff;max-width:22em;letter-spacing:-.015em;text-wrap:balance}
.page-main{padding:3rem 1.5rem 5.5rem!important}
.entry>*{max-width:980px}
.entry>p,.entry>ul,.entry>ol,.entry>h2,.entry>h3,.entry>h4{max-width:46rem}
.entry h2{font-size:clamp(1.5rem,1.2rem + 1.2vw,2.1rem);margin:2.6rem 0 1rem}
.entry h3{font-size:1.35rem;margin:2rem 0 .6rem}
.entry h4{font-size:1.1rem;margin:1.6rem 0 .5rem;font-family:var(--wp--preset--font-family--body);font-weight:650}
.entry>*:first-child{margin-top:0}
.entry p,.entry li{line-height:1.7}
.entry a{font-weight:500}
.entry ul.wp-block-list,.entry ol.wp-block-list{padding-left:1.3rem}
.entry li{margin:.3rem 0}
.entry figure.wp-block-image:not(.wp-block-gallery figure){max-width:620px;margin:1.6rem 0}
.entry figure.wp-block-image img{border-radius:14px;height:auto;max-width:100%}
.entry figcaption{font-size:.88rem;color:#5a6b82;margin-top:.5rem}
.lead-in{font-size:1.2rem;color:#2a3d57;max-width:46rem}

/* tables */
.entry .wp-block-table{margin:1.4rem 0;overflow-x:auto}
.entry .wp-block-table table{border-collapse:collapse;width:100%;font-size:.98rem}
.entry .wp-block-table th{background:var(--navy);color:#fff;text-align:left;font-weight:600;padding:.8rem 1rem;font-size:.85rem;letter-spacing:.05em;text-transform:uppercase}
.entry .wp-block-table td{padding:.8rem 1rem;border-bottom:1px solid var(--line);vertical-align:top}
.entry .wp-block-table tbody tr:nth-child(even) td{background:var(--mist)}
.entry .wp-block-table tbody tr:hover td{background:#e9f1fa}
.entry .wp-block-table th:first-child{border-top-left-radius:10px}.entry .wp-block-table th:last-child{border-top-right-radius:10px}
.fee-table td:last-child{font-weight:600;white-space:nowrap}
.schedule-table td:last-child{white-space:nowrap}
.status{display:inline-block;font-size:.78rem;font-weight:650;padding:.2rem .6rem;border-radius:999px;background:#eef1f5;color:#5a6b82}
.status.ok{background:#e1f2dc;color:#2b6a1c}

/* callouts */
.callout{background:var(--mist);border:1px solid var(--line);border-left:4px solid var(--blue);border-radius:12px;padding:1.2rem 1.6rem;margin:1.5rem 0}
.callout>*:last-child{margin-bottom:0}.callout ul,.callout ol{margin:0}
.callout-feature{background:linear-gradient(150deg,var(--navy),var(--blue));color:#fff;border:0;border-radius:18px;padding:2rem}
.callout-feature h3,.callout-feature p,.callout-feature a{color:#fff}
.callout-feature .tag{display:inline-block;background:var(--amber);color:var(--ink)!important;font-weight:700;font-size:.78rem;letter-spacing:.08em;padding:.3rem .65rem;border-radius:8px}
.callout-feature .is-style-outline .wp-block-button__link{color:#fff;border-color:#fff}
.fineprint{font-size:.9rem;color:#5a6b82}

/* cards on inner pages */
.entry .cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.1rem;margin:1.6rem 0;max-width:980px}
.entry .wp-block-columns .card{height:100%}
.entry .wp-block-columns{gap:1.5rem;margin:1.5rem 0}
.entry .card h3{margin:0 0 .3rem}
.entry .card .tag{margin-bottom:.9rem}

/* gallery */
.entry .wp-block-gallery{gap:1rem;margin:1.5rem 0;max-width:980px}
.entry .wp-block-gallery figure.wp-block-image img{border-radius:12px}
.entry .wp-block-gallery figcaption{font-size:.82rem}

/* buttons on pages */
.entry .wp-block-buttons{margin:1.6rem 0}
.entry .wp-block-button__link{background:var(--green);color:#fff}
.entry .wp-block-button.is-style-outline .wp-block-button__link{background:transparent;color:var(--blue);border:1.5px solid var(--blue)}
.entry .callout-feature .wp-block-button__link{background:#fff;color:var(--ink)}
.entry .callout-feature .is-style-outline .wp-block-button__link{background:transparent;color:#fff}

@media (max-width:980px){.entry .cards-3{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.entry .cards-3{grid-template-columns:1fr}.page-main{padding:2rem 1.1rem 4rem!important}.page-hero{padding:2.2rem 1.1rem!important}}

/* table polish */
.entry .wp-block-table td,.entry .wp-block-table th{border:0;border-bottom:1px solid var(--line)}
.entry .wp-block-table th{border-bottom:0}
.schedule-table td:first-child,.schedule-table td:nth-child(3){white-space:nowrap}

/* collapse the menu to a hamburger below 1100px (default is 600px) */
@media (max-width:1100px){
  .main-nav .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}
  .main-nav .wp-block-navigation__responsive-container-open:not(.always-shown){display:flex!important}
}

/* align everything in page content to one left edge */
.entry>*{margin-left:0!important;margin-right:0!important}
.entry{max-width:980px;margin-inline:auto!important}

/* final alignment pass */
.page-hero>*{margin-left:0!important;margin-right:0!important;max-width:1200px}
.page-main .entry{max-width:1200px!important}
.entry>*{max-width:980px}
.entry>p,.entry>ul,.entry>ol,.entry>h2,.entry>h3,.entry>h4{max-width:46rem}
.entry>.cards-3,.entry>.wp-block-gallery,.entry>.wp-block-columns{max-width:1200px}
.cards>*,.classes>*,.entry .cards-3>*{margin-block-start:0!important}
.cards,.entry .cards-3{align-items:stretch}

/* ---------- article layout (image beside text) ---------- */
.entry .article-cols{gap:2.2rem;align-items:flex-start;margin:2rem 0;max-width:1200px}
.entry .article-cols.is-right{flex-direction:row-reverse}
.entry .article-cols .wp-block-column>*:first-child{margin-top:0}
.entry .article-cols figure.wp-block-image{max-width:none;margin:0}
.entry .article-cols figure.wp-block-image img{width:100%;box-shadow:0 18px 40px -22px rgba(10,26,48,.55)}
.entry .article-cols h2{font-size:clamp(1.35rem,1.1rem + .9vw,1.8rem)}
.entry .article-cols h2:first-child,.entry .article-cols h3:first-child{margin-top:0}
.entry .article-cols p,.entry .article-cols li{max-width:none}
.entry .image-pair{gap:1.2rem;margin:1.6rem 0;max-width:900px}
.entry .image-pair figure.wp-block-image{max-width:none;margin:0}
.entry .image-pair img{width:100%}
@media (max-width:781px){.entry .article-cols.is-right{flex-direction:column}.entry .article-cols{gap:1.2rem}}
.entry figure.wp-block-image figcaption{font-size:.85rem;color:#5a6b82;line-height:1.45}

/* long lists in two columns (clients etc.) */
.entry ul.long-list{columns:2;column-gap:3rem;max-width:980px}
.entry ul.long-list li{break-inside:avoid}
@media (max-width:700px){.entry ul.long-list{columns:1}}

/* publications */
.entry ol.papers{max-width:980px;padding-left:2.6rem}
.entry ol.papers li{margin:0 0 1rem;padding-left:.3rem;line-height:1.6}
.entry ol.papers li::marker{font-weight:700;color:var(--blue)}
.entry>figure.wp-block-image+ol.papers{margin-top:1.5rem}
.entry .article-cols figure.wp-block-image img{width:auto;max-width:100%;max-height:520px}

/* Headings: Inter, tight and bold */
h1, h2, h3, h4, .wp-block-post-title, .wp-block-site-title { letter-spacing: -0.02em; font-weight: 700; }

/* Footer spacing: space above each column sub-heading, tight gap below it */
.site-footer .footer-h{margin-block:0 .6rem!important}
.site-footer .footer-h + .muted{margin-block-start:0!important}
.site-footer .muted + .footer-h{margin-block-start:1.75rem!important}
