:root {
  color-scheme: light;
  --navy: #0b2345;
  --ink: #172b49;
  --muted: #5a6d86;
  --blue: #2473bd;
  --sky: #7cd3ec;
  --paper: #ffffff;
  --wash: #f2f7fb;
  --line: #dce7f0;
  --page-width: 1160px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: #071a38;
  background-image: url("assets/large2.png");
  background-position: center 16%;
  background-size: cover;
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.7;
}
a { color: inherit; }
.container { width: min(var(--page-width), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 14px; border-radius: 6px; background: white; color: var(--navy); }
.skip-link:focus { top: 12px; }
.site-header { height: 78px; background: rgba(248, 252, 255, .96); border-bottom: 1px solid rgba(117, 191, 226, .42); box-shadow: 0 5px 24px rgba(3, 15, 35, .18); }
.header-inner, .footer-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-size: 18px; font-weight: 700; letter-spacing: -.04em; }
.brand-mark { width: 34px; height: 34px; color: var(--blue); }
.brand-number { color: var(--blue); }
.hero h1 span { color: #43a8d2; }
site-nav { display: block; }
.primary-nav { display: flex; align-items: center; gap: 34px; }
.primary-nav a { color: #526780; font-size: 13px; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--blue); }
.hero { color: white; background: linear-gradient(115deg, rgba(5, 22, 49, .98), rgba(8, 49, 91, .9) 58%, rgba(5, 29, 65, .96)); border-bottom: 1px solid rgba(108, 206, 244, .72); box-shadow: 0 10px 35px rgba(1, 12, 30, .28); }
.hero-inner { position: relative; min-height: 438px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: center; gap: 36px; padding-block: 52px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: #a6d8eb; font-size: 11px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow-rule { width: 28px; height: 1px; background: var(--sky); }
.resume-source { margin: 0 0 20px; color: #a9c4d9; font-size: 12px; letter-spacing: .02em; }
.hero h1 { margin: 0; font-size: clamp(52px, 7vw, 86px); line-height: 1.04; letter-spacing: -.075em; }
.document-title { margin: 10px 0 0; color: #b8d6e7; font-size: 13px; font-weight: 600; }
.hero-lede { max-width: 520px; margin: 22px 0 26px; color: #d1dfec; font-size: clamp(17px, 2.1vw, 21px); line-height: 1.55; }
.hero-rate { max-width: 540px; margin: -8px 0 24px; color: #a9d8ea; font-size: 14px; line-height: 1.65; }
.hero-link { display: inline-flex; align-items: center; gap: 12px; color: #d9f1fb; font-size: 13px; font-weight: 700; text-decoration: none; }
.hero-link span { color: var(--sky); font-size: 19px; }
.hero-art { position: relative; justify-self: end; width: min(100%, 380px); aspect-ratio: 9 / 7; overflow: hidden; border: 1px solid rgba(154,207,235,.2); border-radius: 14px; background: #06152b; box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.hero-art svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 12px 30px rgba(40,160,210,.16)); }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.resume-section { padding-block: 38px; }
.section-tinted { background: transparent; }
.section-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 44px; min-width: 0; padding: clamp(26px, 4vw, 48px); border: 1px solid rgba(153, 204, 232, .8); border-radius: 16px; background: rgba(250, 253, 255, .97); box-shadow: 0 16px 44px rgba(1, 14, 35, .3), inset 0 1px 0 #fff; }
.section-index { display: flex; align-items: center; gap: 12px; padding-top: 10px; color: #5b6f86; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.section-index span:first-child { color: var(--blue); font-variant-numeric: tabular-nums; }
.index-line { width: 36px; height: 2px; background: linear-gradient(90deg, #57d7f4, #268bd5 58%, rgba(38, 139, 213, .12)); box-shadow: 0 0 9px rgba(73, 191, 235, .42); }
.section-content { max-width: 760px; min-width: 0; }
.section-content h2 { margin: 0 0 18px; color: var(--navy); font-size: clamp(25px, 3vw, 34px); line-height: 1.2; letter-spacing: -.045em; }
.section-content p { margin: 0 0 18px; color: #4b6078; font-size: 16px; line-height: 1.85; }
.section-content p:last-child { margin-bottom: 0; }
.payment-placeholder { padding: 14px 16px; border-left: 2px solid #69b9da; background: #e8f3f9; color: #405b73 !important; font-size: 13px !important; }
.crypto-address-list { display: grid; gap: 16px; margin: 22px 0; }
.crypto-address-list div { display: grid; gap: 4px; }
.crypto-address-list dt { color: var(--navy); font-size: 13px; font-weight: 700; }
.crypto-address-list dd { margin: 0; }
.crypto-address { color: #234563; font-size: 14px; overflow-wrap: anywhere; }
.payment-page-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 14px; font-weight: 700; text-decoration: none; }
.payment-page-link:hover, .payment-page-link:focus-visible { color: var(--navy); text-decoration: underline; }
.contact-hero { grid-template-columns: minmax(0, 1fr) 300px; }
.contact-art { width: min(100%, 300px); aspect-ratio: 6 / 5; }
.contact-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.contact-card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.region-card { grid-column: 1 / -1; }
.contact-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 18px; }
.contact-card p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.contact-link { color: var(--blue); font-size: 14px; font-weight: 700; overflow-wrap: anywhere; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.directory-hero { grid-template-columns: minmax(0, 1fr) 300px; }
.directory-art { width: min(100%, 300px); aspect-ratio: 6 / 5; }
.directory-resume-callout { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 24px 0; padding: 18px 20px; border: 1px solid #c8dce9; border-left: 3px solid var(--blue); border-radius: 8px; background: #fff; }
.directory-resume-callout span { color: var(--muted); font-size: 13px; }
.directory-resume-callout a, .directory-company-link { color: var(--blue); font-size: 14px; font-weight: 700; text-decoration: none; }
.directory-resume-callout a:hover, .directory-resume-callout a:focus-visible, .directory-company-link:hover, .directory-company-link:focus-visible { color: var(--navy); text-decoration: underline; }
.directory-list { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: directory; }
.directory-list > li { min-width: 0; counter-increment: directory; }
.directory-card { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.directory-title-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.directory-title-row h3 { margin: 0; color: var(--navy); font-size: 19px; line-height: 1.3; letter-spacing: -.02em; overflow-wrap: anywhere; }
.directory-number { flex: 0 0 38px; color: var(--blue); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.directory-meta, .directory-services, .directory-group { margin: 0 0 10px !important; font-size: 14px !important; line-height: 1.7 !important; }
.directory-meta strong { color: var(--navy); }
.directory-services { color: #4b6078 !important; }
.directory-group { color: var(--muted) !important; font-size: 12px !important; }
.directory-sources { margin-top: 12px; color: var(--muted); font-size: 13px; }
.directory-sources summary { width: fit-content; cursor: pointer; font-weight: 600; text-underline-offset: 3px; }
.directory-sources ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 10px 0 0; padding-left: 18px; }
.directory-sources a { color: var(--blue); text-underline-offset: 3px; }
.site-footer { min-height: 82px; background: rgba(4, 18, 41, .94); border-top: 1px solid rgba(106, 198, 235, .62); color: #b8cada; }
.footer-inner { min-height: 82px; }
.footer-brand { color: white; font-size: 15px; }
.footer-inner p { margin: 0; color: #93a9be; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
:focus-visible { outline: 3px solid #55b9dd; outline-offset: 4px; }
@media (max-width: 760px) {
  .container { width: min(100% - 40px, var(--page-width)); }
  .site-header { height: auto; min-height: 72px; }
  .header-inner { min-height: 72px; gap: 20px; }
  .primary-nav { gap: 18px; }
  .primary-nav a { font-size: 12px; }
  .hero-inner { min-height: 0; grid-template-columns: minmax(0, 1fr) 220px; gap: 6px; padding-block: 66px 58px; }
  .hero-art { width: 250px; margin-right: -32px; }
  .resume-section { padding-block: 22px; }
  .section-grid { grid-template-columns: 1fr; gap: 16px; }
  .section-index { padding-top: 0; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 36px); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: 9px; padding-block: 15px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 30px; height: 30px; }
  .primary-nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 8px 12px; padding-left: 40px; }
  .primary-nav a { font-size: 11px; }
  .hero-inner { display: block; padding-block: 58px 42px; }
  .hero h1 { font-size: clamp(54px, 16vw, 76px); }
  .hero-lede { max-width: 340px; }
  .hero-art { width: 210px; margin: 20px -8px -22px auto; }
  .resume-section { padding-block: 18px; }
  .section-content p { font-size: 15px; line-height: 1.78; }
  .contact-methods { grid-template-columns: 1fr; }
  .contact-card { padding: 18px; }
  .directory-resume-callout { align-items: flex-start; flex-direction: column; gap: 6px; padding: 16px; }
  .directory-card { padding: 18px; }
  .directory-title-row { align-items: flex-start; gap: 8px; }
  .directory-number { flex-basis: 32px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; padding-block: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
