:root {
  color-scheme: light;
  --ink: #101d2b;
  --muted: #465769;
  --navy: #081929;
  --blue: #1761a4;
  --mint: #a1f1e2;
  --paper: #f4f7fa;
  --line: #d7e1e9;
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); line-height: 1.6; }
a { color: inherit; }
img { display: block; width: 100%; }
button, input, textarea, select { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #278dca; outline-offset: 4px; }
.shell { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.narrow { max-width: 750px; }
.skip { position: absolute; top: 0; left: 1rem; z-index: 5; transform: translateY(-110%); background: white; padding: .5rem 1rem; color: var(--ink); }
.skip:focus { transform: translateY(0); }
.masthead { background: var(--navy); color: white; border-bottom: 1px solid #ffffff24; }
.site-nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; gap: .7rem; align-items: center; text-decoration: none; white-space: nowrap; font-size: 1.3rem; font-weight: 750; letter-spacing: -.035em; }
.brand b { color: var(--mint); }
.brand-mark { width: 31px; height: 31px; border: 1px solid #94dace80; border-radius: 7px; display: grid; place-items: center; }
.brand-mark svg { width: 19px; height: 19px; color: var(--mint); }
.nav-links { display: flex; gap: clamp(.9rem, 3vw, 2rem); align-items: center; }
.nav-links > a { color: #d9e6ef; font-weight: 600; font-size: .93rem; text-decoration: none; }
.nav-links > a:hover, .nav-links > a[aria-current="page"] { color: var(--mint); }
.nav-links .nav-contact { border: 1px solid #ffffff4d; padding: .5rem .85rem; border-radius: 5px; }
.hero { background: var(--navy); color: white; position: relative; isolation: isolate; overflow: hidden; }
.hero-photo { position: absolute; inset: 0 0 0 auto; width: 64%; height: 100%; object-fit: cover; object-position: 60% 48%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #081929 34%, #081929ed 46%, #08192957 74%, #08192912); z-index: -1; }
.hero .shell { padding-block: clamp(4rem, 9vw, 7.6rem); }
.hero-copy { max-width: 660px; }
.eyebrow { color: #195a82; font-size: .88rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; margin: 0 0 1rem; }
.hero .eyebrow, .page-intro .eyebrow, .callout .eyebrow { color: var(--mint); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 5.9vw, 5.1rem); margin-bottom: 1.35rem; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: .55rem; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.22rem); max-width: 62ch; }
.hero .lead, .page-intro .lead, .callout p { color: #d3e1eb; }
.hero .lead { max-width: 49ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 5px; border: 1px solid transparent; background: var(--navy); color: #fff; padding: .68rem 1.1rem; font-weight: 700; text-decoration: none; cursor: pointer; min-height: 46px; }
.button:hover { background: #144363; }
.button.accent { background: var(--mint); color: #0a2c34; }
.button.accent:hover { background: #c1fff2; }
.button.ghost { background: transparent; color: white; border-color: #ffffff63; }
.button.ghost:hover { background: #ffffff15; }
.context-strip { background: #e8f1f6; border-bottom: 1px solid #d4e1eb; }
.context-strip .shell { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding-block: 1rem; align-items: center; color: #253d51; font-weight: 650; }
.context-strip .divider { color: #637b8c; }
.block { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-head { margin-bottom: 2rem; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 7px; padding: 1.25rem; background: white; }
.card p { color: var(--muted); flex: 1; }
.card svg { height: 31px; width: 31px; color: var(--blue); margin-bottom: 1.2rem; }
.text-link { font-weight: 720; color: #145685; text-underline-offset: .22em; }
.text-link:hover { color: #0a3858; }
.feature { background: var(--paper); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr .85fr; align-items: start; gap: clamp(2rem, 7vw, 6rem); }
.output { background: white; border: 1px solid var(--line); border-top: 4px solid #227e9e; padding: clamp(1.25rem, 4vw, 2.15rem); border-radius: 6px; }
.output ul, .service ul { margin: 0; padding-left: 1.2rem; }
.output li, .service li { padding: .3rem 0; }
.callout { background: #0d263c; color: white; }
.callout .shell { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem 3rem; padding-block: clamp(2.7rem, 6vw, 4.5rem); }
.callout h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
.callout p { margin-bottom: 0; }
.callout .button { flex: none; }
.page-intro { padding-block: clamp(3.2rem, 7vw, 5.5rem); background: linear-gradient(120deg, #081929, #123a56); color: white; }
.page-intro h1 { font-size: clamp(2.5rem, 6vw, 4.45rem); }
.page-intro .lead { margin-bottom: 0; }
.service { padding: 2.2rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 2rem; }
.service:first-child { padding-top: 0; }
.service:last-child { border-bottom: none; padding-bottom: 0; }
.service h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
.service p, .bio p { color: var(--muted); }
.example { margin-top: 1.05rem; padding: .8rem 1rem; border-left: 3px solid #378caa; background: var(--paper); }
.example p { margin: 0; }
.bio { font-size: 1.06rem; max-width: 66ch; }
.faq { margin-top: 2rem; }
.faq details { border-top: 1px solid var(--line); padding: .85rem 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: .65rem 0 0; color: var(--muted); }
.contact-layout { grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr); gap: clamp(2rem, 5vw, 4rem); }
.form { border: 1px solid var(--line); background: var(--paper); padding: clamp(1.2rem, 4vw, 2.25rem); border-radius: 7px; }
.form label { display: block; font-weight: 680; margin-block: .85rem .2rem; }
.form label:first-of-type { margin-top: 0; }
.form input, .form textarea, .form select { color: var(--ink); width: 100%; background: white; border: 1px solid #9fb1bf; padding: .55rem .7rem; border-radius: 4px; }
.form textarea { resize: vertical; min-height: 8.5rem; }
.hint { font-size: .92rem; color: var(--muted); margin: .35rem 0 .85rem; }
.notice { padding: .8rem 1rem; background: #e1edf5; border-radius: 4px; }
.form .actions { margin-top: 1.15rem; }
.result { margin-top: 1.25rem; }
.result[hidden], [hidden] { display: none; }
.site-footer { background: var(--navy); color: #ccdce8; padding-block: 2rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 3rem; }
.site-footer .brand { color: white; }
.site-footer p { margin: .25rem 0 0; font-size: .94rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; font-size: .95rem; }
.footer-links a { text-underline-offset: .22em; }
@media (max-width: 920px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 650px) {
  .shell { width: calc(100% - 2rem); }
  .site-nav { align-items: flex-start; flex-direction: column; gap: .8rem; padding-block: .85rem; }
  .nav-links { width: 100%; justify-content: space-between; }
  .nav-links .nav-contact { padding: .35rem .6rem; }
  .hero-photo { width: 100%; opacity: .65; }
  .hero::after { background: linear-gradient(90deg, #081929f5 5%, #081929c7 70%, #08192971); }
  .split { grid-template-columns: 1fr; }
  .callout .shell { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 455px) { .card-grid { grid-template-columns: 1fr; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Give the rack photograph a distinct panel and the assessment a stronger place in the reading order. */
@media (min-width: 900px) {
  .hero-photo { width: 46%; object-position: center; }
  .hero::after { background: linear-gradient(90deg, #081929 49%, #081929e6 54%, transparent 74%); }
  .hero-copy { max-width: 54%; }
  .hero h1 { font-size: clamp(3.3rem, 5vw, 4.7rem); }
}
.hero + .feature { background: #e8f3f3; }
.hero + .feature .output { border-top-color: #237e77; box-shadow: 0 10px 26px #133d4810; }
.card { border-top: 3px solid #28758a; }
.card:focus-within { border-color: #23718a; }
