:root {
  --bg: #050816;
  --bg-deep: #090d21;
  --panel: rgba(15, 20, 43, 0.58);
  --panel-strong: rgba(16, 20, 39, 0.84);
  --text: #f7f4ef;
  --muted: #a8adbf;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ff8c69;
  --accent-soft: #ffd2b8;
  --accent-cool: #77e4ff;
  --shadow: rgba(0, 0, 0, 0.3);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Sora", sans-serif;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 140, 105, 0.17), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(119, 228, 255, 0.14), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(255, 210, 184, 0.12), transparent 26%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 50%, #050816 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 82%);
  pointer-events: none;
}

#orbital-canvas,
.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.page-glow {
  background:
    radial-gradient(circle at center, rgba(255, 210, 184, 0.07), transparent 34%),
    radial-gradient(circle at center, rgba(119, 228, 255, 0.06), transparent 46%);
  mix-blend-mode: screen;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 20px auto 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  background: rgba(7, 10, 24, 0.62);
}

.brand,
.site-nav a,
.link-card {
  text-decoration: none;
}

.brand {
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88rem;
  letter-spacing: 0.2em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.link-card:hover,
.link-card:focus-visible {
  color: var(--text);
}

main {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 108px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  padding: 48px 0 36px;
}

.hero-kicker,
.statement-label,
.section-kicker,
.caption-label,
.link-type {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
}

.hero-kicker,
.section-kicker {
  color: var(--accent-cool);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.6rem, 11vw, 7.2rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.hero-accent {
  color: var(--accent-soft);
  text-shadow: 0 0 28px rgba(255, 140, 105, 0.28);
}

.hero-text {
  max-width: 40rem;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.hero-panel,
.statement-card,
.link-card {
  background: linear-gradient(180deg, rgba(18, 21, 45, 0.8), rgba(9, 12, 28, 0.82));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 70px var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  padding: 28px;
  border-radius: 30px;
}

.hero-portrait-frame {
  position: relative;
  aspect-ratio: 1;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 140, 105, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(119, 228, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(8, 11, 26, 0.95), rgba(10, 14, 34, 0.88));
}

.hero-portrait-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 30%),
    linear-gradient(315deg, rgba(255, 140, 105, 0.18), transparent 34%);
  pointer-events: none;
  z-index: 2;
}

.hero-portrait-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 22, 0.78));
  pointer-events: none;
  z-index: 2;
}

.hero-portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.06) brightness(0.94);
  transform: scale(1.02);
}

.hero-caption {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.hero-caption p,
.statement-card p,
.link-card p {
  color: var(--muted);
  line-height: 1.7;
}

.caption-label,
.statement-label,
.link-type {
  color: var(--accent);
}

.signal-section {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
  padding: 20px 0 90px;
}

.statement-card {
  padding: 24px;
  border-radius: 24px;
}

.statement-primary {
  background:
    radial-gradient(circle at top right, rgba(255, 140, 105, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(18, 21, 45, 0.8), rgba(9, 12, 28, 0.82));
}

.statement-card p {
  margin-top: 16px;
  font-size: 1.02rem;
}

.links-section {
  padding: 0 0 120px;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.link-card {
  display: grid;
  gap: 14px;
  min-height: 220px;
  padding: 24px;
  border-radius: 26px;
  color: var(--text);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.link-head,
.link-title {
  display: flex;
  align-items: center;
}

.link-head {
  justify-content: space-between;
  gap: 18px;
}

.link-title {
  gap: 14px;
}

.link-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.link-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.link-card strong {
  font-size: 1.5rem;
  font-weight: 700;
}

.link-arrow {
  color: var(--accent-cool);
  font-size: 1.3rem;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 180ms ease, color 180ms ease;
}

.link-card-featured {
  background:
    radial-gradient(circle at top right, rgba(119, 228, 255, 0.14), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 140, 105, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(18, 21, 45, 0.88), rgba(9, 12, 28, 0.9));
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 32px 80px rgba(0, 0, 0, 0.36);
}

.link-card:hover .link-arrow,
.link-card:focus-visible .link-arrow {
  color: var(--accent-soft);
  transform: translate(2px, -3px);
}

.link-card[aria-disabled="true"] {
  cursor: default;
}

@media (max-width: 980px) {
  .hero,
  .signal-section,
  .links-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }
}

@media (max-width: 680px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  h2 {
    max-width: none;
  }

  .hero-panel,
  .statement-card,
  .link-card {
    border-radius: 22px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
