:root {
  --ink: #18202c;
  --muted: #627083;
  --paper: #f7f3ec;
  --panel: #fffaf2;
  --line: rgba(24, 32, 44, 0.12);
  --teal: #1e8a8a;
  --coral: #e15d45;
  --gold: #c58b1f;
  --green: #477a4d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  min-height: 86vh;
  place-items: center;
  padding: clamp(28px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: #f3ede3;
}

#orbitCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  padding-top: 10vh;
}

.kicker {
  width: fit-content;
  margin: 0 0 18px;
  padding: 9px 13px;
  border: 1px solid rgba(24, 32, 44, 0.16);
  background: rgba(255, 250, 242, 0.78);
  color: #34515b;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(3rem, 9vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.intro {
  max-width: 650px;
  margin: 26px 0 0;
  color: #39485a;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(24, 32, 44, 0.16);
  background: rgba(255, 250, 242, 0.82);
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, background 180ms ease;
}

.hero-actions a:hover {
  background: #fffdf9;
  transform: translateY(-2px);
}

.snapshot,
.interests,
.closing {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.snapshot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: -54px;
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  background: var(--line);
}

.snapshot > div {
  min-height: 132px;
  padding: 24px;
  background: var(--panel);
}

.metric {
  display: block;
  margin-bottom: 8px;
  color: var(--coral);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
}

.label {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.interests {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 76px 0 34px;
}

.interest-card {
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 22px 50px rgba(65, 48, 31, 0.08);
}

.card-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 36px;
  border-radius: 50%;
  color: white;
  background: var(--teal);
  font-size: 1.6rem;
  font-weight: 800;
}

#piano .card-icon {
  background: var(--gold);
}

#rowing .card-icon {
  background: var(--green);
}

.tag {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.interest-card h2 {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.interest-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.closing {
  padding: 44px 0 72px;
}

.closing p {
  max-width: 900px;
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

@media (max-width: 860px) {
  .hero {
    min-height: 82vh;
    place-items: end start;
  }

  .hero-content {
    padding-top: 22vh;
  }

  .snapshot,
  .interests {
    grid-template-columns: 1fr;
  }

  .snapshot {
    margin-top: -28px;
  }

  .interests {
    padding-top: 40px;
  }

  .interest-card {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 22px 16px 42px;
  }

  .kicker {
    font-size: 0.72rem;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.6rem);
  }

  .intro {
    font-size: 1rem;
  }

  .hero-actions a {
    flex: 1 1 110px;
  }
}
