@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #0a1931;
  --surface: #0f2447;
  --electric: #2563eb;
  --blue: #1e90ff;
  --cyan: #22d3ee;
  --text: #f8fafc;
  --muted: #cbd7e8;
  --border: #2d4668;
  --heading: "Space Grotesk", system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 1rem/1.75 var(--body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3 { margin: 0 0 1rem; font-family: var(--heading); line-height: 1.13; }
h1 { font-size: clamp(2.25rem, 5.6vw, 5rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); letter-spacing: -.03em; }
a { color: var(--cyan); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: 3px solid #00d4ff; outline-offset: 4px; }

.shell {
  width: min(100% - 2.5rem, 76rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset: .5rem auto auto .5rem;
  z-index: 2;
  transform: translateY(-160%);
  background: var(--background);
  padding: .625rem 1rem;
}

.skip-link:focus { transform: none; }
.site-header, .site-footer { background: #0b1629; }
.site-header { border-bottom: 1px solid var(--border); }
.site-footer { border-top: 1px solid var(--border); }

.header-inner {
  min-height: 4.5rem;
  padding-block: .75rem;
  display: flex;
  gap: .75rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: .625rem;
  min-width: 0;
  color: var(--text);
  font: 700 clamp(.95rem, 2vw, 1.25rem)/1.2 var(--heading);
  text-decoration: none;
}

.brand span { max-width: 17ch; }
.brand img { display: block; flex: none; width: 4.5rem; height: auto; }
.menu-toggle { flex: none; }

nav { width: 100%; }
nav ul { margin: 0; padding: 0; list-style: none; }
nav a {
  color: var(--muted);
  display: block;
  padding: .65rem .6rem;
  text-decoration: none;
  font-size: .875rem;
}

nav a:hover, nav a[aria-current="page"] { color: var(--text); }
nav a[aria-current="page"] { box-shadow: inset 2px 0 var(--cyan); }

.hero, .page-heading {
  background:
    radial-gradient(ellipse at 93% 0, #163962 0, transparent 58%),
    var(--background);
  border-bottom: 1px solid var(--border);
}

.hero-inner { padding-block: clamp(2rem, 5vw, 4rem); }
.hero-banner { display: block; width: 100%; max-width: 1920px; height: auto; margin-inline: auto; }
.banner-text { display: none; }

.hero h1 { font-size: clamp(2.25rem, 4.3vw, 3.875rem); max-width: 22ch; }
.eyebrow, .status {
  color: var(--cyan);
  font-family: var(--heading);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.actions { display: flex; flex-wrap: wrap; gap: .875rem; margin-top: 1.75rem; }
.button, .menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  border: 1px solid transparent;
  border-radius: .375rem;
  padding: .65rem 1rem;
  min-height: 2.75rem;
  font: 700 .875rem/1.4 var(--body);
  color: #07162b;
  background: var(--cyan);
  text-decoration: none;
  cursor: pointer;
}

.button:hover { background: #77e6f5; }
.secondary, .menu-toggle {
  color: var(--text);
  border-color: #5b7395;
  background: transparent;
}
.secondary:hover, .menu-toggle:hover { background: #19365c; }

.founder-portrait { display: block; width: 100%; max-width: 400px; height: auto; clip-path: circle(49.8% at center); }
.page-heading { padding-block: clamp(2.5rem, 7vw, 5rem); }
.page-heading h1 { margin: 0; }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.intro { border-bottom: 1px solid var(--border); }
.intro p, .founder p, .founder-bio p, .company p { max-width: 70ch; }
.founder, .company, .inquiry-layout { display: grid; gap: 2rem; align-items: start; }
.text-link { font-weight: 650; }
.grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.grid + .button { margin-top: 1.5rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top-color: var(--blue);
  border-radius: .625rem;
  padding: clamp(1.15rem, 3vw, 1.75rem);
}

.card h2 { font-size: 1.4rem; }
.card p + .button { margin-top: .25rem; }
.card p:last-child, .footer-inner p:last-child { margin-bottom: 0; }
.home-projects h2, .home-services h2 { margin-bottom: 1.75rem; }
.featured-grid { grid-template-columns: minmax(0, 1fr); }
.project-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top-color: var(--project-accent);
  background: linear-gradient(150deg, var(--project-surface), var(--surface) 65%);
}

.fanzone { --project-accent: #81ebc2; --project-surface: #123336; }
.blue50 { --project-accent: #a9c4ff; --project-surface: #1b2f60; }
.rightful-funds { --project-accent: #f7d895; --project-surface: #343040; }

.project-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  margin-bottom: 1.25rem;
}

.project-meta .status { margin: 0; color: var(--project-accent); }
.project-mark {
  display: grid;
  place-items: center;
  min-width: 3.5rem;
  height: 3.5rem;
  padding-inline: .45rem;
  color: var(--project-accent);
  border: 1px solid currentColor;
  border-radius: .55rem;
  font: 700 1.125rem/1 var(--heading);
}

.project-card h3, .service-card h3 { font-size: 1.375rem; }
.project-card p + .button { margin-top: auto; }
.home-services {
  background: #0d1e39;
  border-block: 1px solid var(--border);
}

.service-icon {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 1rem;
  color: var(--cyan);
}

.closing { padding-top: 0; }
.closing-panel {
  padding: clamp(1.5rem, 5vw, 4rem);
  background: linear-gradient(120deg, #15365e, var(--surface));
  border: 1px solid var(--border);
  border-top-color: var(--blue);
  border-radius: .75rem;
}

.facts { margin: 0; display: grid; gap: .75rem; }
.facts dt { font-size: .875rem; color: var(--muted); }
.facts dd { margin: 0; }

.footer-inner {
  padding-block: 2rem;
  display: grid;
  gap: 1.5rem;
  font-size: .875rem;
}

.footer-inner h2 { font-size: 1rem; margin-bottom: .5rem; }
.fields { display: grid; gap: 1rem; margin-bottom: 1.25rem; }
label { display: block; font-weight: 600; font-size: .9rem; }
input, select, textarea {
  width: 100%;
  margin-top: .375rem;
  padding: .625rem .75rem;
  border: 1px solid #6380a6;
  border-radius: .375rem;
  background: var(--background);
  color: var(--text);
  font: 1rem/1.5 var(--body);
}

textarea { resize: vertical; }
.result { margin-top: 1.25rem; }
.result button { margin-top: .75rem; }
.result a { overflow-wrap: anywhere; }
#copy-status { margin-top: .75rem; }
#copy-status:empty { margin: 0; }

@media (max-width: 38rem) {
  .banner-text { display: block; padding-block: 1rem; }
  .banner-text p { margin-bottom: .35rem; color: var(--text); }
  .banner-text ul { margin: 0; padding-inline-start: 1.25rem; }
}

@media (min-width: 38rem) {
  .fields, .grid, .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wide { grid-column: 1 / -1; }
  .founder, .company { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}

@media (min-width: 52.001rem) {
  .brand img { width: 4.75rem; }
  nav { width: auto; }
  nav ul { display: flex; gap: .35rem; }
  nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--cyan); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .inquiry-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}
