:root {
  color-scheme: dark;
  --background: #05070b;
  --panel: #0b111b;
  --text: #f2f6fc;
  --muted: #aab7c9;
  --cyan: #82eaff;
  --blue: #518aff;
  --red: #ff395e;
  --border: #28384f;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 280px; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--text);
  background: var(--background);
  background-image:
    radial-gradient(ellipse at 86% 36%, #12244988, transparent 43%),
    radial-gradient(ellipse at 5% 80%, #35152966, transparent 35%);
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

a { color: inherit; }
svg { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: #82eaff33; }
a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 6px; }
::selection { background: #90deff; color: #05070b; }

.page-frame {
  position: fixed;
  inset: 14px;
  border: 1px solid #33455c66;
  pointer-events: none;
  z-index: 5;
}
.page-frame::before, .page-frame::after {
  content: "";
  position: absolute;
  width: 38px;
  height: 3px;
}
.page-frame::before { background: var(--red); top: -2px; left: 30px; }
.page-frame::after { background: var(--cyan); right: 30px; bottom: -2px; }

.skip-link {
  position: fixed;
  top: 20px;
  left: 24px;
  z-index: 10;
  padding: .8rem 1rem;
  background: var(--text);
  color: var(--background);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.card-header, .card-footer {
  width: min(1280px, 100%);
  margin-inline: auto;
  padding-inline: clamp(28px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.card-header { padding-top: 34px; padding-bottom: 24px; }
.brand-link { width: 156px; flex-shrink: 0; }
.brand-link svg { width: 100%; height: auto; }
.header-label, .panel-label, .eyebrow, .affiliation {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: .875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.header-label { color: var(--muted); }

.contact-shell {
  width: min(1280px, 100%);
  margin: auto;
  padding: 35px clamp(28px, 5vw, 64px) 55px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.identity-stage { min-width: 0; }
.eyebrow { margin: 0 0 24px; color: var(--cyan); }
.identity-wordmark { max-width: 480px; margin-left: -3px; margin-bottom: 34px; }
.identity-wordmark svg { width: 100%; height: auto; }
.identity-stage h2 {
  font-size: clamp(2.5rem, 4.3vw, 3.65rem);
  line-height: 1.07;
  letter-spacing: -.045em;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}
.identity-description { color: var(--muted); font-size: 1.125rem; margin: 24px 0 0; }
.signal-field {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 65px;
  max-width: 380px;
  margin-top: 18px;
  padding: 0 0 14px;
}
.signal-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, var(--red), #8b61de 35%, var(--cyan) 70%, transparent);
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0 1px 18px #518aff55;
}
.signal-field span { display: block; width: 6px; background: #7e9ee466; }
.signal-field span:nth-of-type(1) { height: 11px; background: #f14768; }
.signal-field span:nth-of-type(2) { height: 19px; }
.signal-field span:nth-of-type(3) { height: 28px; background: #9c77db; }
.signal-field span:nth-of-type(4) { height: 20px; background: #78b6ea; }
.signal-field span:nth-of-type(5) { height: 13px; background: #82eaff; }
.service-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  column-gap: 22px;
  row-gap: 8px;
  color: #b6c2d4;
  font-size: .875rem;
}

.contact-panel {
  position: relative;
  padding: clamp(26px, 3.2vw, 42px);
  background: linear-gradient(145deg, #101928 0%, #0b111bf5 48%, #080e18 100%);
  border: 1px solid var(--border);
  border-top-color: #5278a1;
  box-shadow: 0 35px 90px #0006, inset 0 1px #8bd5ff20;
  min-width: 0;
}
.contact-panel::before {
  content: "";
  position: absolute;
  width: 70px;
  height: 3px;
  top: -2px;
  right: 34px;
  background: var(--cyan);
  box-shadow: 0 0 20px #82eaff55;
}
.panel-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; gap: 16px; }
.panel-label { color: #adc6e4; }
.panel-symbol { width: 28px; height: 28px; color: #668aad; }
.affiliation { margin: 0 0 8px; color: var(--cyan); font-size: .875rem; letter-spacing: .2em; }
h1 { font-size: clamp(2.2rem, 3.5vw, 3.2rem); line-height: 1.08; letter-spacing: -.04em; font-weight: 600; margin: 0; text-wrap: balance; }
.descriptor { margin: 16px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.contact-rule { height: 1px; background: #33455c; margin: 28px 0; }
.contact-actions { display: grid; gap: 12px; }
.save-contact, .explore-link, .contact-action {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 15px 18px;
  min-height: 56px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.save-contact { background: #a7e7ff; color: #07121f; box-shadow: 0 3px 22px #4aa9ff16; }
.save-contact:hover { background: #d1f3ff; box-shadow: 0 4px 24px #4aa9ff33; }
.save-contact > svg, .explore-link > svg { width: 24px; height: 24px; flex: 0 0 24px; }
.save-contact strong { display: block; font-size: 1rem; font-weight: 700; line-height: 1.4; }
#save-description { display: block; font-size: .875rem; color: #243f55; margin-top: 2px; }
.explore-link, .contact-action { border-color: #354a64; color: #e3edf9; background: #111e3044; }
.explore-link:hover, .contact-action:hover { border-color: #7ba9d2; background: #1c3049; }
.explore-link > svg { color: #97b7d8; }
.explore-link span { font-size: 1rem; font-weight: 500; }
.contact-action { flex-direction: column; align-items: flex-start; gap: 1px; overflow-wrap: anywhere; }
.contact-action strong { font-size: 1rem; }
.contact-action span { color: #b2c5de; font-size: .875rem; }
.card-note { margin: 28px 0 0; color: #a4b5cb; font-size: .875rem; line-height: 1.65; }
.card-note br { display: none; }

.card-footer { padding-top: 20px; padding-bottom: 34px; color: #8e9db3; font-size: .875rem; }
.card-footer > span:first-child { color: #c0cede; font-weight: 650; letter-spacing: .13em; }
.card-footer p { margin: 0; }
.footer-signal { display: flex; gap: 4px; }
.footer-signal i { width: 15px; height: 4px; background: #364665; }
.footer-signal i:nth-child(1) { background: #b13c60; }
.footer-signal i:nth-child(5) { background: #62adc8; }

@media (max-width: 900px) {
  .contact-shell { gap: 35px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .identity-stage h2 { font-size: 2.5rem; }
  .contact-panel { padding: 28px; }
  .identity-wordmark { margin-bottom: 26px; }
  .identity-description { font-size: 1rem; }
  .card-note br { display: block; }
}

@media (max-width: 680px) {
  .page-frame { inset: 8px; }
  .page-frame::before { left: 22px; width: 28px; }
  .page-frame::after { right: 22px; width: 28px; }
  .card-header { padding: 26px 25px 8px; gap: 12px; }
  .brand-link { width: 132px; }
  .header-label { font-size: .75rem; letter-spacing: .09em; text-align: right; }
  .contact-shell { display: flex; flex-direction: column; align-items: stretch; padding: 26px 24px 28px; gap: 42px; margin-block: 0; }
  .contact-panel { order: 0; padding: 28px; }
  .panel-top { margin-bottom: 24px; }
  h1 { font-size: clamp(2rem, 8.5vw, 2.75rem); }
  .descriptor { margin-top: 12px; }
  .contact-rule { margin: 24px 0; }
  .card-note { margin-top: 22px; }
  .card-note br { display: none; }
  .identity-stage { order: 1; padding: 0 4px; }
  .identity-wordmark { display: none; }
  .eyebrow { font-size: .75rem; margin-bottom: 16px; }
  .identity-stage h2 { font-size: clamp(1.85rem, 6.5vw, 2.5rem); max-width: 16ch; }
  .identity-description { margin-top: 16px; }
  .signal-field { height: 42px; margin-top: 10px; }
  .service-list { gap: 7px 16px; }
  .card-footer { padding: 8px 28px 28px; gap: 12px; flex-wrap: wrap; }
  .card-footer p { flex-basis: 100%; order: 2; font-size: .8125rem; }
  .footer-signal { margin-left: auto; }
}

@media (max-width: 360px) {
  .card-header { padding-inline: 22px; }
  .brand-link { width: 115px; }
  .contact-shell { padding-inline: 18px; }
  .contact-panel { padding: 22px; }
  .save-contact, .explore-link, .contact-action { padding-inline: 14px; gap: 12px; }
  .panel-label { font-size: .8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  body { background: white; color: black; }
  .page-frame, .skip-link, .footer-signal, .signal-field { display: none; }
  .contact-panel { color: black; background: white; box-shadow: none; border: 1px solid #777; }
  .contact-shell { display: block; }
  .identity-stage { display: none; }
  .contact-panel p, .affiliation, .panel-label, .card-footer { color: #333; }
  .contact-action, .explore-link { color: black; background: white; }
  .contact-action span { color: #333; }
}
