:root {
  color-scheme: dark;
  --background: #07090d;
  --background-elevated: #0d1118;
  --text: #f4f7fb;
  --text-muted: #a9b2c1;
  --accent: #6ea8ff;
  --accent-bright: #9dc5ff;
  --line: rgba(244, 247, 251, 0.14);
  --line-strong: rgba(244, 247, 251, 0.25);
  --page-gutter: clamp(1.25rem, 5vw, 5rem);
  --content-width: 90rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 14%, rgba(70, 125, 218, 0.14), transparent 32rem),
    var(--background);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  border-radius: 0.375rem;
  background: var(--text);
  color: var(--background);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  position: relative;
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--page-gutter);
}

.brand-mark {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.header-contact,
.site-footer a {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.header-contact {
  position: relative;
  padding: 0.625rem 0;
}

.header-contact::after {
  position: absolute;
  right: 0;
  bottom: 0.375rem;
  left: 0;
  height: 1px;
  transform: scaleX(0.35);
  transform-origin: right;
  background: var(--accent);
  content: "";
  transition: transform 180ms ease;
}

.brand-mark:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
}

.header-contact:hover,
.site-footer a:hover {
  color: var(--text);
}

.header-contact:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(58rem, 100svh);
  place-items: center;
  overflow: hidden;
  padding: 8rem var(--page-gutter) 7rem;
  isolation: isolate;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -2;
  content: "";
  pointer-events: none;
}

.hero::before {
  --grid-size: clamp(3rem, 7vw, 6.5rem);

  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(
      to bottom,
      transparent calc(50% - 0.5px),
      var(--line) 50%,
      transparent calc(50% + 0.5px)
    ),
    linear-gradient(
      to right,
      transparent calc(50% - 0.5px),
      var(--line) 50%,
      transparent calc(50% + 0.5px)
    );
  background-position: center;
  background-size: var(--grid-size) var(--grid-size);
  -webkit-mask-image: radial-gradient(circle at center, black 4%, transparent 72%);
  mask-image: radial-gradient(circle at center, black 4%, transparent 72%);
}

.hero::after {
  width: min(78vw, 58rem);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow:
    0 0 0 clamp(2rem, 5vw, 5rem) rgba(255, 255, 255, 0.012),
    0 0 0 clamp(5rem, 12vw, 11rem) rgba(255, 255, 255, 0.008);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: clamp(18rem, 48vw, 44rem);
  height: clamp(18rem, 48vw, 44rem);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(63, 119, 212, 0.12);
  filter: blur(4rem);
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: grid;
  width: 100%;
  justify-items: center;
  text-align: center;
}

.eyebrow-line,
.hero-rule {
  width: clamp(9rem, 18vw, 15rem);
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 1.25rem rgba(110, 168, 255, 0.6);
}

.eyebrow-line {
  margin: 0 auto clamp(2.25rem, 4vw, 3.5rem);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  width: 100%;
  margin-bottom: 0;
  font-size: clamp(3.6rem, 11vw, 9.5rem);
  font-weight: 680;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

h1 span {
  display: block;
}

.title-word {
  letter-spacing: -0.035em;
}

.hero-rule {
  margin: clamp(3.25rem, 5.5vw, 5rem) auto 0;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.scroll-arrow {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-bright);
  font-size: 0.75rem;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.scroll-cue:hover {
  color: var(--text);
}

.scroll-cue:hover .scroll-arrow {
  transform: translateY(0.2rem);
  border-color: var(--accent);
}

.contact-section {
  position: relative;
  padding: clamp(5.5rem, 11vw, 10rem) var(--page-gutter);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(110, 168, 255, 0.08), transparent 42%),
    var(--background-elevated);
}

.contact-section::after {
  position: absolute;
  top: 0;
  right: var(--page-gutter);
  width: clamp(4rem, 10vw, 9rem);
  height: 2px;
  background: var(--accent);
  content: "";
}

.contact-inner {
  width: min(100%, 58rem);
  margin: 0 auto;
  text-align: center;
}

.section-label {
  margin-bottom: 1.25rem;
  color: var(--accent-bright);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 630;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.contact-copy {
  max-width: 34rem;
  margin-right: auto;
  margin-bottom: 2.25rem;
  margin-left: auto;
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
}

.contact-button {
  display: inline-flex;
  min-height: 3.75rem;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.9rem 1rem 0.9rem 1.5rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #07101e;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button-arrow {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(7, 16, 30, 0.12);
  font-size: 1rem;
  transition: transform 180ms ease;
}

.contact-button:hover {
  transform: translateY(-2px);
  border-color: var(--accent-bright);
  background: var(--accent-bright);
}

.contact-button:hover .button-arrow {
  transform: translate(0.1rem, -0.1rem);
}

.email-link {
  display: table;
  margin: 1.75rem auto 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.3rem;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease;
}

.email-link:hover {
  color: var(--text);
  text-decoration-color: var(--accent);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem var(--page-gutter);
  border-top: 1px solid var(--line);
  color: var(--text-muted);
}

.site-footer p {
  margin-bottom: 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 4px;
}

::selection {
  background: var(--accent);
  color: #07101e;
}

@media (max-width: 40rem) {
  .site-header {
    padding-top: 1.125rem;
  }

  .hero {
    min-height: 46rem;
  }

  .hero::after {
    width: 100vw;
  }

  h1 {
    font-size: clamp(3.5rem, 20vw, 5.6rem);
  }

  .contact-button {
    width: 100%;
    max-width: 22rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
