:root {
  color-scheme: dark;
  --ink: #f6f7f9;
  --muted: #a8b4c2;
  --night: #07131f;
  --night-deep: #030910;
  --panel: #0d1d2b;
  --line: rgba(255, 255, 255, 0.13);
  --accent: #f4b942;
  --accent-soft: rgba(244, 185, 66, 0.14);
  --blue: #45b6d9;
  --shell: min(1120px, calc(100% - 2.5rem));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 84% 8%, rgba(69, 182, 217, 0.12), transparent 29rem),
    linear-gradient(180deg, var(--night), var(--night-deep));
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--accent);
  color: var(--night-deep);
  font-weight: 800;
  transform: translateY(-180%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 9, 16, 0.72);
  backdrop-filter: blur(16px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 0.55rem;
  color: var(--accent);
  font-size: 0.9rem;
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 42rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 4rem 4rem;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 80%);
  opacity: 0.22;
}

.hero-orbit {
  position: absolute;
  top: -18rem;
  right: -10rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(244, 185, 66, 0.36);
  border-radius: 50%;
  box-shadow:
    0 0 0 7rem rgba(244, 185, 66, 0.025),
    0 0 0 14rem rgba(69, 182, 217, 0.018);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.8fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  min-height: 42rem;
  padding-block: 6rem;
}

.eyebrow,
.project-type {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 8vw, 6.9rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.75rem;
  line-height: 1.12;
}

.hero-intro {
  max-width: 38rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.primary-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  padding: 0.72rem 1.1rem;
  border: 1px solid var(--accent);
  border-radius: 0.55rem;
  background: var(--accent);
  color: var(--night-deep);
  font-weight: 800;
  text-decoration: none;
}

.primary-link:hover,
.primary-link:focus-visible {
  background: #ffd16f;
}

.signal-panel {
  border-top: 1px solid var(--line);
}

.signal-line {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.1rem 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.signal-line > span {
  grid-row: 1 / span 2;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.signal-line strong {
  font-size: 1.05rem;
}

.signal-line p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding-block: clamp(5rem, 10vw, 9rem);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}

.section-heading h2 {
  max-width: 15ch;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.project-card {
  display: flex;
  min-height: 20rem;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(13, 29, 43, 0.76);
}

.project-card-featured {
  min-height: 30rem;
  background:
    radial-gradient(circle at 82% 18%, rgba(69, 182, 217, 0.16), transparent 22rem),
    linear-gradient(145deg, rgba(244, 185, 66, 0.18), transparent 52%),
    var(--panel);
}

.project-card-content {
  display: grid;
  grid-template-columns: minmax(12rem, 0.65fr) minmax(18rem, 1fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
}

.project-card-featured h3 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  letter-spacing: -0.055em;
}

.project-meta,
.footer-inner {
  color: var(--muted);
  font-size: 0.84rem;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.project-index {
  color: var(--blue);
  font-weight: 800;
}

.status {
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(244, 185, 66, 0.45);
  border-radius: 99rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-card p:last-child,
.approach-grid > p {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.approach {
  border-block: 1px solid var(--line);
  background: rgba(13, 29, 43, 0.34);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
}

footer {
  background: var(--night-deep);
}

.footer-inner {
  gap: 1rem;
  min-height: 7rem;
}

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

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 1.5rem, 42rem);
  }

  nav {
    gap: 0.9rem;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid,
  .section-heading,
  .project-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 3.5rem;
    padding-block: 5rem;
  }

  .hero-orbit {
    top: -26rem;
    right: -22rem;
  }

  .section-heading {
    gap: 0.75rem;
  }

  .project-card {
    min-height: 24rem;
  }

  .project-card-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-inner {
    flex-wrap: wrap;
    padding-block: 1.5rem;
  }
}

@media (max-width: 460px) {
  nav a:first-child {
    display: none;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.3rem);
  }
}

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