:root {
  color-scheme: dark;
  --background: #0b1015;
  --text: #f2f5f7;
  --muted: #a6b2bc;
  --accent: #64e5e7;
  --line: #26323c;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--background); color: var(--text); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .3em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 2px; }
::selection { color: var(--background); background: var(--accent); }
.page-shell { width: min(100% - 8rem, 1280px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; top: 1rem; left: 1rem; padding: 1rem; background: var(--accent); color: var(--background); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 112px; padding-block: 1.25rem; border-bottom: 1px solid var(--line); gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .9rem; max-width: 100%; text-decoration: none; font-size: 1rem; font-weight: 700; letter-spacing: .08em; }
.brand-symbol { color: var(--accent); flex: none; }
.brand-secondary { font-weight: 400; }
.header-contact { font-size: .9375rem; text-decoration: none; padding-block: .75rem; border-bottom: 1px solid var(--accent); }
.header-contact:hover { color: var(--accent); }

.hero { min-height: 680px; position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; isolation: isolate; }
.hero-copy { position: relative; z-index: 1; padding-block: 5rem; }
.eyebrow { margin: 0 0 1.75rem; font-size: .875rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); line-height: 1.6; }
h1 { font-size: clamp(4.5rem, 7.8vw, 7.5rem); font-weight: 500; letter-spacing: -.065em; line-height: .98; margin: 0; overflow-wrap: anywhere; }
h1 span { color: var(--text); }
.hero-description { color: var(--muted); font-size: 1.25rem; line-height: 1.55; margin: 2rem 0 2.25rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .9rem 1.75rem; background: var(--accent); color: #092022; border: 1px solid var(--accent); border-radius: 3px; text-decoration: none; font-size: 1rem; font-weight: 600; transition: background .15s, border-color .15s; }
.button:hover { background: #a8f5f4; border-color: #a8f5f4; }
.network-art { width: 112%; margin-left: -4%; pointer-events: none; }
.network-art img { display: block; width: 100%; height: auto; }

.contact { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; padding-block: 3.5rem; }
.contact .eyebrow { margin-bottom: .9rem; }
h2 { margin: 0; font-weight: 400; font-size: clamp(2rem, 3vw, 2.75rem); letter-spacing: -.04em; line-height: 1.15; }
.contact-details p { font-size: .9375rem; line-height: 1.6; color: var(--muted); margin: 0 0 1rem; }
.email-link { color: var(--text); font-size: clamp(1.3rem, 2.4vw, 2rem); text-decoration-color: #50636f; letter-spacing: -.035em; overflow-wrap: anywhere; }
.email-link:hover { color: var(--accent); text-decoration-color: var(--accent); }
.site-footer { min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.footer-domain { color: var(--muted); }

.error-main { min-height: 65vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 4rem; }
.error-main h1 { font-size: clamp(3rem, 6vw, 5rem); line-height: 1.05; }
.error-main p:not(.eyebrow) { font-size: 1.125rem; color: var(--muted); line-height: 1.6; max-width: 34rem; margin-block: 1.5rem 2rem; }

@media (min-width: 1600px) { .hero { min-height: 740px; } }
@media (max-width: 1000px) {
  .page-shell { width: calc(100% - 5rem); }
  .hero { min-height: 600px; }
  .hero-copy { padding-block: 4rem; }
  .contact { grid-template-columns: 1fr 1.2fr; }
}
@media (max-width: 700px) {
  .page-shell { width: calc(100% - 3rem); }
  .site-header { min-height: 88px; gap: 1rem; }
  .brand { font-size: .875rem; gap: .65rem; letter-spacing: .045em; }
  .brand-symbol { width: 25px; height: 25px; }
  .header-contact { font-size: .875rem; white-space: nowrap; }
  .hero { display: block; min-height: 0; padding-bottom: 1.5rem; }
  .hero-copy { padding-block: 3.5rem 0; }
  .eyebrow { letter-spacing: .1em; margin-bottom: 1.5rem; }
  h1 { font-size: clamp(3.75rem, 14.5vw, 6rem); }
  .hero-description { font-size: 1.125rem; margin-block: 1.5rem 1.75rem; }
  .desktop-break { display: none; }
  .network-art { width: min(100%, 380px); margin: .75rem auto 0; }
  .contact { grid-template-columns: 1fr; gap: 1.75rem; padding-block: 2.5rem; }
  .contact .eyebrow { margin-bottom: .75rem; }
  .contact-details p { margin-bottom: .75rem; }
  .email-link { font-size: clamp(1.25rem, 5.7vw, 1.75rem); }
  .site-footer { min-height: 100px; flex-wrap: wrap; justify-content: flex-start; gap: .5rem 2rem; padding-block: 1.5rem; }
}
@media (max-width: 350px) {
  .page-shell { width: calc(100% - 2.5rem); }
  .brand-symbol { width: 22px; height: 22px; }
  .brand { gap: .5rem; letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }
