:root {
  --ink: #0b0b0d;
  --charcoal: #161616;
  --paper: #f4f3f6;
  --muted: #aaa8b1;
  --purple: #6937f2;
  --blue: #0659f5;
  --pink: #ff2aaa;
  --yellow: #fdd23e;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: white;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: white;
  color: black;
  padding: .7rem 1rem;
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: 1.5rem 0;
}
.brand { text-decoration: none; line-height: .9; }
.brand-script {
  display: block;
  color: rgba(255,255,255,.8);
  font-family: Georgia, serif;
  font-size: .85rem;
  font-style: italic;
  letter-spacing: .08em;
}
.brand-main {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
nav { display: flex; align-items: center; gap: 1.4rem; }
nav a {
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-cta { border: 1px solid rgba(255,255,255,.55); padding: .65rem 1rem; }

.hero {
  position: relative;
  min-height: min(930px, 100svh);
  overflow: hidden;
  background: var(--charcoal) url("/assets/background.png") center bottom / cover no-repeat;
  box-shadow: inset 0 -8rem 8rem var(--charcoal);
}
.hero-art {
  position: absolute;
  inset: 4rem 0 0;
  background: url("/assets/top.png") center bottom / contain no-repeat;
}
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  color: rgba(255,255,255,.78);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-decoration: none;
  text-transform: uppercase;
}
.scroll-cue span { margin-left: .45rem; color: var(--yellow); }

.section { padding: clamp(4.5rem, 9vw, 8rem) 1.5rem; }
.section-dark { background: var(--charcoal); }
.split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  max-width: var(--max);
  margin: 0 auto;
}
.portrait-frame { margin: 0; position: relative; }
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -1.3rem 1.3rem 1.3rem -1.3rem;
  border: 1px solid rgba(255,255,255,.3);
}
.portrait-frame img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(.82);
}
.copy-block { max-width: 650px; }
.copy-block p { color: #d9d7df; }
.eyebrow {
  margin: 0 0 .15rem;
  color: var(--yellow) !important;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .24em;
  text-transform: uppercase;
}
h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.6rem, 6vw, 5.25rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.purpose-band {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 9rem) 1.5rem;
  text-align: center;
  background: linear-gradient(125deg, #4517bb 0%, var(--purple) 40%, #ae1acf 100%);
}
.purpose-band::after {
  content: "PURPOSE";
  position: absolute;
  left: 50%;
  bottom: -2.2rem;
  transform: translateX(-50%);
  color: rgba(255,255,255,.055);
  font-size: clamp(7rem, 22vw, 20rem);
  font-weight: 950;
  line-height: .8;
  letter-spacing: -.08em;
  white-space: nowrap;
}
.purpose-band h2 {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: .6rem auto 0;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}
.centered { text-align: center; }

.serve-section { background: linear-gradient(180deg, var(--charcoal), #080808); }
.serve-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.serve-copy { position: relative; z-index: 2; }
.glass-card {
  margin: 2rem -8rem 1.2rem 0;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  background: rgba(30,30,30,.93);
  border-left: 4px solid var(--pink);
  box-shadow: 1.4rem 1.4rem 2.8rem rgba(0,0,0,.4);
}
.glass-card p:first-child { margin-top: 0; }
.glass-card p:last-child { margin-bottom: 0; }
.portrait-right::before { inset: 1.3rem -1.3rem -1.3rem 1.3rem; border-color: rgba(105,55,242,.65); }
.text-link {
  display: inline-block;
  margin-top: 1rem;
  color: white;
  font-weight: 800;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 2px;
  text-underline-offset: .4rem;
}

.apply-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(5rem, 10vw, 9rem) max(1.5rem, calc((100vw - var(--max)) / 2));
  background: radial-gradient(circle at 20% 20%, rgba(105,55,242,.55), transparent 35%), linear-gradient(145deg, #050505, #331067);
}
.apply-intro > p:not(.eyebrow) { color: #dedbe6; }
.heartcore-note { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; color: #bbb6c6; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.heartcore-note img { width: 190px; height: auto; }

.application-form { align-self: center; padding: clamp(1.5rem, 4vw, 2.75rem); background: rgba(8,8,9,.72); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 2rem 6rem rgba(0,0,0,.35); }
.application-form label { display: block; margin: 0 0 .3rem; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.application-form input,
.application-form textarea {
  width: 100%;
  margin: 0 0 1.35rem;
  padding: .8rem .2rem;
  border: 0;
  border-bottom: 2px solid rgba(255,255,255,.65);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: white;
  font: inherit;
}
.application-form input:focus,
.application-form textarea:focus { border-bottom-color: var(--yellow); }
.application-form button {
  width: 100%;
  border: 0;
  padding: 1rem 1.25rem;
  background: var(--pink);
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.application-form button:hover { background: #f313b4; }
.application-form button:disabled { cursor: wait; opacity: .7; }
.form-note { margin: .85rem 0 0; color: #b9b5c0; font-size: .78rem; line-height: 1.45; }
.form-success { color: #a9f6c7; }
.form-error { color: #ffb5ca; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

footer { padding: 3rem 1.5rem; text-align: center; background: #050505; color: #aaa6b0; font-size: .85rem; }
footer a { display: inline-block; }
footer img { width: 230px; margin: 0 auto 1.5rem; }
footer p { margin: .35rem 0; }

@media (max-width: 900px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { min-height: 660px; }
  .hero-art { inset: 5rem -18vw 0; background-size: cover; }
  .split, .serve-grid, .apply-section { grid-template-columns: 1fr; }
  .split { gap: 3.5rem; }
  .portrait-frame { max-width: 520px; }
  .serve-copy { order: 2; }
  .portrait-right { order: 1; justify-self: end; }
  .glass-card { margin-right: 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header { width: calc(100% - 2rem); }
  .brand-script { font-size: .7rem; }
  .brand-main { font-size: .92rem; letter-spacing: .12em; }
  .nav-cta { padding: .55rem .75rem; }
  .hero { min-height: 470px; }
  .hero-art { inset: 5.2rem -35vw 0; }
  .scroll-cue { bottom: 1rem; }
  .section { padding-inline: 1rem; }
  .portrait-frame::before { inset: -.75rem .75rem .75rem -.75rem; }
  .portrait-right::before { inset: .75rem -.75rem -.75rem .75rem; }
  .apply-section { padding-inline: 1rem; }
  .heartcore-note { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
