:root {
  --navy: #252e4d;
  --navy-deep: #182038;
  --navy-soft: #30395b;
  --ink: #252e4d;
  --muted: #515972;
  --paper: #f3f5fa;
  --white: #ffffff;
  --line: #dde1ed;
  --gold: #b39340;
  --gold-deep: #795d20;
  --tint: #e9edf7;
  --heading: "Bricolage Grotesque", "Arial", sans-serif;
  --body: "DM Sans", Arial, sans-serif;
  --ease: cubic-bezier(.2, .65, .3, 1);
  --radius: 12px;
  --header-offset: 22px;
  --header-space: 83px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.6 var(--body); }
img { display: block; max-width: 100%; }
svg { display: block; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header-space) + 18px); }
main:focus { outline: none; }
::selection { background: var(--gold); color: var(--navy-deep); }
:focus-visible { outline: 3px solid #3f548a; outline-offset: 4px; }
.header :focus-visible, .mobile-menu :focus-visible, .masthead :focus-visible,
h1, h2, h3, p, dl { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; text-wrap: pretty; }
h2 { font-size: clamp(2rem, 4.35vw, 3.7rem); line-height: 1.02; letter-spacing: -.058em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.12; letter-spacing: -.036em; }
p { text-wrap: pretty; }
.wrap { width: min(100% - 120px, 1280px); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 10; inset: 8px auto auto 8px; background: var(--gold); padding: 12px; color: var(--navy); }

.header { position: fixed; z-index: 5; inset: var(--header-offset) 0 auto; width: min(1280px, calc(100% - 80px)); margin-inline: auto; color: var(--white); background: linear-gradient(112deg, #30395bf5, #182038f5 76%); border: 1px solid #a9b3cc5c; border-radius: 15px; box-shadow: 0 9px 26px #18203833; transition: top .32s var(--ease), box-shadow .32s var(--ease), border-color .32s; }
.header.is-scrolled { top: 10px; border-color: #a9b3cc80; box-shadow: 0 12px 30px #18203850; }
.header-row { min-height: 68px; display: flex; align-items: center; gap: clamp(15px, 2vw, 29px); padding: 9px clamp(14px, 2vw, 26px); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.header-row > .brand { flex-shrink: 0; margin-inline-end: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.75vw, 30px); }
.menu-toggle { display: none; }
.mobile-menu { position: fixed; inset: 0 0 0 auto; width: min(450px, 100%); max-width: none; max-height: 100dvh; height: 100dvh; margin: 0; padding: 0; overflow: auto; overscroll-behavior: contain; color: var(--white); background: linear-gradient(145deg, #30395b, var(--navy-deep) 70%); border: 0; border-inline-start: 1px solid #a9b3cc3d; box-shadow: -15px 0 60px #1820384d; }
.mobile-menu[open] { animation: menu-slide .32s var(--ease) both; }
.mobile-menu::backdrop { background: #182038ac; backdrop-filter: blur(4px); }
body:has(.mobile-menu[open]) { overflow: hidden; }
.menu-sheet { min-height: 100%; padding: clamp(23px, 6vw, 39px); }
.menu-sheet-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: clamp(27px, 7vh, 64px); }
.menu-sheet-top .icon-button { border-color: #a1abc772; border-radius: 50%; }
.menu-sheet-links { display: grid; margin-bottom: 28px; }
.menu-sheet-links > :is(a, .nav-group) { border-top: 1px solid #a9b3cc40; }
.menu-sheet-links .nav-link { display: flex; align-items: center; min-height: 58px; padding-block: 11px; font: 650 clamp(1.25rem, 5.4vw, 1.7rem)/1.15 var(--heading); letter-spacing: -.025em; }
.menu-sheet-links .nav-link[aria-current] { color: var(--gold); }

.button { display: inline-flex; gap: 9px; align-items: center; justify-content: center; min-height: 50px; padding: 11px 20px; border: 1px solid transparent; border-radius: 6px; font-size: .94rem; font-weight: 700; line-height: 1.25; text-align: center; transition: background-color .22s, border-color .22s, color .22s, transform .22s var(--ease); }
.button svg { width: 19px; height: 19px; }
.button:active { transform: translateY(1px) scale(.985); }
.button-primary { color: var(--navy-deep); background: var(--gold); border-color: var(--gold); }
.button-outline { color: var(--white); border-color: #e8edf87a; background: #18203845; }
.button-nav { flex-shrink: 0; min-height: 44px; padding-inline: 15px; border-color: var(--gold); background: var(--gold); color: var(--navy-deep); font-size: .875rem; }
.button-nav[aria-current] { box-shadow: inset 0 0 0 1px var(--navy-soft); }
.button-dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.button-outline-dark { color: var(--navy); border-color: #3b496e91; background: transparent; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; font-weight: 700; }
.eyebrow { min-height: 20px; display: flex; align-items: center; gap: 10px; color: var(--gold-deep); font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.eyebrow::before { content: ""; display: block; flex: 0 0 24px; height: 2px; background: currentColor; }


.section { padding-block: clamp(60px, 7.6vw, 111px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 36px; }
.section-heading .eyebrow, .about-copy .eyebrow { margin-bottom: 15px; }
.section-heading .button { flex-shrink: 0; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.article-card-content p:not(.category) { color: var(--muted); margin-top: 7px; }
.tile-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 8px; background: var(--tint); color: var(--navy); }
.tile-icon svg { width: 26px; height: 26px; transition: transform .25s var(--ease); }
.card-label { display: inline-block; margin-top: auto; padding-bottom: 2px; border-bottom: 1px solid #949ebd; color: var(--navy); font-size: .9rem; font-weight: 700; transition: border-color .2s; }
.article-card > a:active { transform: scale(.988); }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(30px, 7vw, 96px); }
.about-image { display: block; overflow: hidden; width: 100%; aspect-ratio: 1.25; border-radius: var(--radius); }
.about-image img, img.about-image { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
img.about-image { height: auto; }
.about-copy > p:not(.eyebrow) { max-width: 47ch; margin-top: 18px; font-size: 1.08rem; color: var(--muted); }
.about-copy .button, .about-copy .text-link { display: inline-flex; margin-top: 24px; }
.blog-band { background: #f3f5fa; }
.article-grid > div { min-width: 0; }
.article-card, .article-card > a { height: 100%; }
.article-card > a { display: flex; overflow: hidden; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .24s, transform .24s var(--ease); }
.article-art { min-height: 135px; position: relative; display: grid; place-items: center; isolation: isolate; overflow: clip; }
.article-art svg { width: 56px; height: 56px; stroke-width: 1.05; transition: transform .28s var(--ease); }
.article-art span { position: absolute; inset: -28% 0; z-index: -1; background: repeating-linear-gradient(57deg, transparent 0 19px, currentColor 19px 20px, transparent 20px 37px); opacity: .15; mask-image: linear-gradient(90deg, #000, transparent 34% 66%, #000); }
.art-risks { color: var(--gold); background: #252e4d; }
.art-training { color: #252e4d; background: #dfc581; }
.art-social { color: #30395b; background: #dbe2f1; }
.article-card-content { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 22px 24px 24px; }
.article-card-content .card-label { margin-top: 19px; }
.category { color: var(--gold-deep); margin-bottom: 9px; font-size: .875rem; font-weight: 700; }

.contact-banner { background: var(--gold); color: var(--navy); }
.contact-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: clamp(43px, 6vw, 77px); }
.contact-banner h2 { font-size: clamp(2rem, 3.65vw, 3.15rem); max-width: 17ch; }
.contact-banner p { margin-top: 10px; color: #343b55; }
.contact-banner .actions { flex-shrink: 0; }
.footer { background: var(--navy-deep); color: #e5eaf8; }
.footer-grid { display: grid; grid-template-columns: 1.22fr 1fr .8fr 1.05fr; gap: 24px; padding-block: 55px; }
.footer h2 { font: 700 1rem/1.2 var(--body); color: var(--white); margin-block: 5px 13px; letter-spacing: 0; }
.footer-grid > div > a:not(.brand) { display: block; width: fit-content; min-height: 30px; font-size: .93rem; overflow-wrap: anywhere; }
.footer-grid p { margin-top: 18px; }
.footer-end { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #fff2; padding-block: 18px 22px; font-size: .875rem; }

.masthead { position: relative; overflow: clip; isolation: isolate; background: var(--navy); color: var(--white); }
.masthead-inner { position: relative; padding-block: calc(24px + var(--header-space)) clamp(60px, 7vw, 100px); }
.breadcrumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: clamp(36px, 6vw, 67px); color: #e4e8f4; font-size: .875rem; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.masthead-content { position: relative; max-width: 790px; }
.masthead h1 { font-size: clamp(3.15rem, 6.5vw, 6.4rem); line-height: .99; letter-spacing: -.056em; font-weight: 800; }
.masthead .eyebrow { margin-bottom: 14px; }
.masthead-content > p:not(.eyebrow) { margin-top: 19px; max-width: 63ch; color: #e9edf7; font-size: clamp(1.02rem, 1.65vw, 1.23rem); }
.masthead .actions { margin-top: 24px; }
.masthead-mark { z-index: -1; position: absolute; right: 0; bottom: 1%; width: min(35%, 360px); aspect-ratio: 1; display: grid; place-items: center; color: #b3934036; border: 1px solid #b3934022; border-radius: 50%; }
.masthead-mark::before, .masthead-mark::after { content: ""; position: absolute; border: inherit; border-radius: inherit; inset: 10%; }
.masthead-mark::after { inset: -12%; }
.masthead-mark svg, .masthead-mark img { width: 37%; height: auto; }
.masthead-mark img { opacity: .37; }
.contact-grid h2 { font-size: clamp(1.65rem, 3.5vw, 2.8rem); letter-spacing: -.05em; }
.service-details dt { font-family: var(--heading); font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
.service-details dd { margin: 6px 0 0; color: var(--muted); }
.detail-supplement { margin-top: 38px; }
.related { border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; background: var(--white); }
.related h2 { font-size: 1.55rem; margin-bottom: 13px; }
.related-article { margin-top: 12px; padding-top: 13px; border-top: 1px solid var(--line); }
.values-band { background: #f3f5fa; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 29px; }
.values-grid p { margin-top: 10px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(0, 1.2fr); align-items: start; gap: clamp(25px, 8vw, 115px); }
.channels > p { margin-block: 10px 18px; color: var(--muted); }
.partners p { margin-block: 8px 10px; color: var(--muted); }
.contact-form { padding: clamp(20px, 3.4vw, 42px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.contact-form h2 { margin-bottom: 22px; }
.contact-form label { display: block; margin-bottom: 15px; font-weight: 650; }
.contact-form :is(input, textarea), .blog-search input { width: 100%; outline-offset: 2px; border: 1px solid #b0b8cf; border-radius: 6px; color: var(--ink); background: #fbfcff; padding: 10px 11px; min-height: 46px; }
.contact-form :is(input, select, textarea) { margin-top: 5px; }
.contact-form textarea { resize: vertical; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-note, .form-status { color: var(--muted); margin-top: 10px; font-size: .9rem; }
.form-status:empty, .blog-status:empty { display: none; }
.blog-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 25px; }
.blog-filters, .assistant-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-filters button, .assistant-choices button { min-height: 44px; padding: 6px 13px; color: var(--navy); background: var(--white); border: 1px solid #a9b3cc; border-radius: 6px; font-weight: 650; font-size: .9rem; transition: background-color .2s, color .2s; }
.blog-filters button[aria-pressed="true"], .assistant-choices button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.blog-search { display: flex; align-items: center; position: relative; }
.blog-search svg { position: absolute; margin-left: 12px; width: 19px; height: 19px; pointer-events: none; }
.blog-search input { padding-left: 39px; }
.blog-status { margin-top: 16px; color: var(--muted); }
.article-body h2 { margin-bottom: 10px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.article-body section + section { margin-top: 31px; }
.article-body p { max-width: 65ch; color: var(--muted); font-size: 1.075rem; }
.article-source { margin-block: 24px; }

.assistant { width: min(380px, 100% - 24px); max-height: calc(100dvh - 48px); margin: auto 18px 79px auto; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); box-shadow: 0 18px 70px #18203865; }
.assistant[open] { animation: enter .22s var(--ease) both; }
.assistant::backdrop { background: #1820384d; }
.assistant-top { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 13px 8px 17px; background: var(--navy); color: var(--white); }
.assistant-top div { display: flex; align-items: center; gap: 8px; }
.assistant-top h2 { font-size: 1.24rem; letter-spacing: -.025em; }
.assistant-top svg { width: 21px; height: 21px; }
.icon-button { min-width: 44px; min-height: 44px; display: grid; place-items: center; color: inherit; border: 1px solid transparent; border-radius: 6px; background: transparent; }
.assistant-body { padding: 17px; }
.assistant-intro { margin-bottom: 11px; }
.assistant-choices button { min-height: 42px; text-align: left; }
.assistant-result:not(:empty) { margin-top: 14px; padding: 12px; background: var(--tint); border-radius: 8px; }
.assistant-result a, .assistant-handoff a { display: block; width: fit-content; min-height: 44px; padding: 9px 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.assistant-result a + a { margin-top: -5px; }
.assistant-handoff { margin-top: 9px; }

@keyframes enter { from { opacity: 0; translate: 0 13px; } to { opacity: 1; translate: 0 0; } }
@keyframes reveal { from { translate: 0 12px; } to { translate: 0 0; } }
@keyframes menu-slide { from { translate: 100% 0; } to { translate: 0 0; } }
.enter { animation: enter .55s var(--ease) both; }
.arrived { animation: reveal .42s var(--ease) both; }

@media (hover: hover) {
  .button-outline:hover { background: #f6f8ff20; border-color: var(--white); }
  .button-dark:hover { background: #39456c; border-color: #39456c; }
  .button-outline-dark:hover { color: var(--white); background: var(--navy); border-color: var(--navy); }
  .article-card > a:hover { transform: translateY(-4px); border-color: #a5acc4; }
  .article-card > a:hover .article-art svg { transform: scale(1.085); }
  .text-link:hover, .related a:hover, .channels > a:hover { color: #795d20; }
  .footer a:hover, .breadcrumbs a:hover { color: var(--gold); }
  .blog-filters button:not([aria-pressed="true"]):hover, .assistant-choices button:not([aria-pressed="true"]):hover { background: var(--tint); }
  .icon-button:hover { background: #ffffff20; }
}

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 72px); }
  .header { width: calc(100% - 48px); }
}
@media (max-width: 1040px) {
  .has-js .nav { display: none; }
  .has-js .menu-toggle { display: flex; align-items: center; gap: 9px; padding: 8px 12px; min-height: 44px; color: var(--white); background: transparent; border: 1px solid #a9b3cc72; border-radius: 7px; font-size: .9rem; font-weight: 650; }
  .menu-toggle svg { width: 20px; height: 20px; }
  html:not(.has-js) { --header-space: 0px; }
  html:not(.has-js) .header { position: relative; inset: auto; margin-block: 12px; }
  html:not(.has-js) .header-row { flex-wrap: wrap; }
  html:not(.has-js) .nav { order: 1; flex: 1 1 100%; flex-wrap: wrap; gap: 7px 16px; }
}
@media (max-width: 990px) {
  :root { --header-offset: 17px; --header-space: 74px; }
  .header-row { min-height: 62px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .contact-banner-inner { align-items: start; flex-direction: column; gap: 19px; }
}
@media (max-width: 700px) {
  :root { --header-offset: 12px; --header-space: 66px; }
  .wrap { width: calc(100% - 36px); }
  .header { width: calc(100% - 24px); border-radius: 12px; }
  .header-row { min-height: 56px; padding-block: 6px; }
  .has-js .header-row > .button-nav { display: none; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 22px; }
  .article-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-image { aspect-ratio: 1.55; }
  .article-art { min-height: 108px; }
  .tile-icon { width: 41px; height: 41px; }
  .tile-icon svg { width: 22px; height: 22px; }
  .footer-grid { column-gap: 14px; padding-block: 36px; }
  .footer-end { padding-bottom: 70px; }
  .masthead-inner { padding-top: calc(17px + var(--header-space)); }
  .masthead-mark { width: 35%; bottom: 0; right: -2%; }
  .masthead h1 { font-size: clamp(2.65rem, 10vw, 4.2rem); }
  .values-grid { grid-template-columns: 1fr; }
  .blog-controls { align-items: stretch; flex-direction: column; }
  .assistant { margin: auto 12px 73px; max-height: calc(100dvh - 90px); }
  @keyframes enter { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
  @keyframes reveal { from { translate: 0 6px; } to { translate: 0 0; } }
}
@media (max-width: 395px) {
  .field-pair { grid-template-columns: 1fr; gap: 0; }
  .contact-form .actions .button { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .header.is-scrolled { top: var(--header-offset); }
}
