@font-face { font-family: DM; src: url('../fonts/dm-regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: DM; src: url('../fonts/dm-semibold.ttf') format('truetype'); font-weight: 600 900; font-display: swap; }
@font-face { font-family: Plex; src: url('../fonts/plex-mono.ttf') format('truetype'); font-weight: 400; font-display: swap; }
:root {
  --ink: #080e17; --ink2: #101c2a; --paper: #edf1f3; --acid: #a6d6ff; --blue: #81c7f8;
  --muted: #a4b4c6; --line: #2a3848; --rule: #2a3848; --focus: #a6d6ff;
  --mono: Plex, Consolas, monospace; --sans: DM, Arial, sans-serif;
  --gutter: clamp(24px, 6vw, 96px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.1; font-weight: 400; }
h1, h2 { letter-spacing: -.055em; }
h3 { letter-spacing: -.035em; }
h1 em, h2 em { font-family: Georgia, serif; font-weight: 400; color: var(--acid); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; border-radius: 0; }
a { color: inherit; text-decoration: none; }
a, button { touch-action: manipulation; }
img { max-width: 100%; }
::selection { background: var(--acid); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
button:disabled { cursor: not-allowed; opacity: .55; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 12px; left: -10000px; padding: 12px 20px; background: var(--acid); color: var(--ink); z-index: 50; }
.skip:focus { left: 12px; }
.eyebrow, .mono { font: 10px/1.7 var(--mono); letter-spacing: .065em; text-transform: uppercase; }
.eyebrow { color: var(--muted); }
.section-pad { padding: 88px max(var(--gutter), calc((100vw - 1280px) / 2)); }
.section-kicker { display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font: 10px/1.6 var(--mono); letter-spacing: .06em; }
.section-kicker > :last-child { text-align: right; }
.section-heading { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 72px; margin: 42px 0 48px; }
.section-heading h2 { font-size: clamp(40px, 4.2vw, 62px); }
.section-heading > p { color: var(--muted); max-width: 370px; justify-self: end; line-height: 1.8; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 14px 21px; border: 1px solid transparent; font-size: 13px; line-height: 1.5; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.button > span { font-size: 20px; font-weight: 400; }
.button-primary { background: var(--acid); color: #092135; }
.button-primary:hover { background: #cce8ff; }
.button-outline { background: transparent; border-color: #546578; color: var(--paper); }
.button-outline:hover { border-color: var(--acid); background: #172c3d; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding: 10px 0; background: none; border: 0; border-bottom: 1px solid currentColor; font-size: 13px; line-height: 1.6; text-align: left; }
.text-link > span { font: 21px var(--sans); }
.text-link:hover { color: var(--acid); }
.back-link { display: inline-flex; min-height: 44px; align-items: center; font: 11px var(--mono); color: var(--muted); border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.back-link:hover { color: var(--paper); }
.tags { display: flex; gap: 7px; flex-wrap: wrap; padding: 0; margin: 24px 0 0; list-style: none; }
.tags li { font: 10px/1.5 var(--mono); padding: 7px 9px; border: 1px solid var(--rule); color: var(--muted); }

.masthead { display: flex; align-items: center; gap: 38px; min-height: 90px; padding: 18px max(var(--gutter), calc((100vw - 1280px) / 2)); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { display: block; width: 40px; height: 40px; }
/* Keep the vertical label beside the wordmark across mobile text layouts. */
.brand-word { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; font-size: 39px; line-height: 1; letter-spacing: -.07em; font-weight: 600; }
/* Optical alignment with the visible lowercase letters, below the line-box center. */
.brand-word small { flex-shrink: 0; color: var(--acid); font: 9px/1 var(--mono); letter-spacing: .1em; writing-mode: vertical-rl; transform: translateY(2px) rotate(180deg); }
.masthead nav { display: flex; align-items: center; justify-content: flex-end; gap: 28px; flex: 1; }
.masthead nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: 12px; color: #becbd7; white-space: nowrap; }
.masthead nav a:hover { color: white; }
.masthead > .button { min-height: 44px; padding: 9px 16px; font-size: 12px; }
.footer { padding: 46px max(var(--gutter), calc((100vw - 1280px) / 2)); display: flex; justify-content: space-between; gap: 45px; border-top: 1px solid var(--line); }
.footer-brand { font-size: 48px; letter-spacing: -.065em; line-height: 1; }
.footer-brand span { display: block; font-size: 12px; letter-spacing: 0; color: var(--muted); margin-top: 18px; }
.footer > div { text-align: right; }
.footer > div > a { font-size: 15px; border-bottom: 1px solid #52677d; overflow-wrap: anywhere; }
.footer nav { display: flex; justify-content: flex-end; gap: 24px; margin-top: 12px; }
.footer nav a { display: flex; align-items: center; min-height: 44px; font-size: 12px; color: #bdc8d5; }
.footer nav a:hover { color: var(--acid); }
.footer p { color: #91a4b9; font: 10px var(--mono); margin-top: 14px; }

/* Shared inquiry form: modal enhancement and a directly addressable contact page. */
.modal-open { overflow: hidden; }
dialog { --focus: #246489; width: min(660px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 38px; background: var(--paper); color: #18364a; border: 1px solid #b3c6d4; box-shadow: 0 40px 150px #0009; overflow: auto; }
dialog::backdrop { background: #02060ddd; backdrop-filter: blur(8px); }
.dialog-close { position: absolute; right: 12px; top: 8px; background: none; border: 0; font-size: 30px; color: #27465c; width: 44px; height: 44px; }
dialog .eyebrow, .inquiry-inline .eyebrow { color: #526c7e; }
.dialog-title { font-size: 44px; line-height: 1.05; margin: 22px 0 18px; }
.dialog-description { font-size: 15px; line-height: 1.7; color: #466176; margin-bottom: 24px; }
.brief-form { display: grid; gap: 21px; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.brief-form label { display: grid; gap: 8px; font-size: 12px; line-height: 1.5; color: #25485e; }
.brief-form input, .brief-form select, .brief-form textarea { border: 1px solid #9fb4c3; background: #fafcfd; padding: 12px; color: #183b52; font: 16px/1.5 var(--sans); width: 100%; min-width: 0; border-radius: 0; }
.brief-form textarea { resize: vertical; min-height: 120px; }
.brief-form input::placeholder, .brief-form textarea::placeholder { color: #637b8d; }
.brief-form button[type=submit] { display: flex; justify-content: space-between; align-items: center; min-height: 50px; border: 0; background: #143d59; color: white; padding: 14px 18px; font-size: 14px; }
.brief-form button[type=submit]:hover:not(:disabled) { background: #245f83; }
.form-note { font-size: 11px; line-height: 1.8; color: #4c6578; }
.form-note a, .direct-contact a, .inquiry-mode a { text-decoration: underline; text-underline-offset: 3px; }
.form-optional { border-block: 1px solid #b8c7d2; padding: 0 0 2px; }
.form-optional summary { min-height: 44px; padding: 13px 0; cursor: pointer; font-size: 12px; color: #304f65; }
.form-optional summary span { color: #4c687c; margin-left: 7px; }
.form-optional > label, .form-optional > .form-pair { margin: 9px 0 18px; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.brief-status { font-size: 13px; line-height: 1.7; color: #215f87; }
.brief-status:empty { display: none; }
.brief-status.is-error { color: #9d3b28; border-left: 2px solid #9d3b28; padding-left: 12px; }
.inquiry-mode { padding: 11px 14px; border: 1px solid #99b5c7; font-size: 12px; line-height: 1.7; margin-bottom: 24px; color: #355c76; background: #e0eaf0; }
.inquiry-mode:empty { display: none; }
.inquiry-alternatives { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.quiet-button { background: none; border: 0; border-bottom: 1px solid currentColor; min-height: 44px; padding: 8px 0; font-size: 12px; color: inherit; }
.direct-contact { font-size: 12px; line-height: 1.8; color: #466176; margin-top: 24px; overflow-wrap: anywhere; }
.inquiry-success { padding: 14px 0 4px; }
.success-mark { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #86aa98; border-radius: 50%; background: #d7e8dd; color: #2f7050; font-size: 24px; margin-bottom: 22px; }
.inquiry-success h3 { font-size: 28px; }
.inquiry-success p { font-size: 14px; line-height: 1.8; color: #466176; margin: 15px 0; }
.inquiry-success .mono { font-size: 9px; overflow-wrap: anywhere; }
dialog .text-link:hover, .inquiry-inline .text-link:hover { color: #21658c; }
.request-details { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-block: 1px solid #b8c7d2; padding: 20px 0; margin: 20px 0 25px; }
.dialog-top { font: 10px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #4d697f; }
.request-details dt { font: 10px var(--mono); color: #4d697f; margin-bottom: 8px; }
.request-details dd { margin: 0; font-size: 15px; }
#request-dialog .form-note { margin-top: 20px; }
.no-script { font-size: 13px; padding: 18px 0; }

@media (max-width: 980px) {
  .masthead { gap: 20px; }
  .masthead nav { gap: 20px; }
  .masthead nav a { font-size: 11px; }
  .section-heading { gap: 35px; }
}
@media (max-width: 720px) {
  .section-pad { padding: 60px var(--gutter); }
  .section-heading { grid-template-columns: 1fr; margin-block: 30px 36px; gap: 22px; }
  .section-heading > p { justify-self: start; max-width: 480px; font-size: 15px; }
  .section-kicker { font-size: 9px; }
  .section-kicker > span:last-child:not(:first-child) { display: none; }
  .masthead { flex-wrap: wrap; padding: 17px var(--gutter) 0; justify-content: space-between; gap: 12px 24px; }
  .masthead nav { order: 3; width: 100%; flex-basis: 100%; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
  .masthead nav a { font-size: 11px; min-height: 48px; }
  .brand-word { font-size: 35px; }
  .brand img { width: 34px; height: 34px; }
  .footer { flex-direction: column; padding: 38px var(--gutter); gap: 28px; }
  .footer > div { text-align: left; }
  .footer nav { justify-content: flex-start; gap: 24px; flex-wrap: wrap; }
  .footer-brand { font-size: 42px; }
  .footer-brand span { margin-top: 12px; }
}
@media (max-width: 480px) {
  .form-pair { grid-template-columns: 1fr; gap: 18px; }
  dialog { padding: 30px 22px; }
  .dialog-title { font-size: 38px; }
  .eyebrow { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
