:root {
  --ink: #101919;
  --acid: #ddff32;
  --aqua: #21d8c1;
  --coral: #ff725b;
  --sky: #8ac9f2;
  --paper: #f6f7ef;
  --muted: #71807d;
  --line: rgba(16, 25, 25, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Arial", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.grid-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: .18;
  background-color: var(--sky);
  clip-path: polygon(0 0, 100% 0, 100% 1px, 0 1px, 0 20%, 1px 20%, 1px 54%, 0 54%, 0 100%, 100% 100%, 100% calc(100% - 1px), 57% calc(100% - 1px), 57% 100%, 34% 100%, 34% calc(100% - 1px), 0 calc(100% - 1px));
}

.page { width: min(1280px, calc(100% - 56px)); margin: 0 auto; }

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 75px;
  border-bottom: 1px solid var(--ink);
}

.brand, .menu-link, .top-status, .eyebrow, .section-heading p, .command-strip p, .course-section > p, .course-meta, .card-index, .interest-list span, .interest-list p, .contact-links small, .copyright {
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .08em;
}

.brand { color: var(--ink); text-decoration: none; }
.brand span { display: inline-block; padding: 5px 6px; margin-right: 5px; background: var(--ink); color: var(--acid); }
.top-status { display: flex; align-items: center; gap: 8px; margin: 0; }
.top-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 4px rgba(33,216,193,.22); animation: pulse 1.7s infinite; }
.menu-link { justify-self: end; color: var(--ink); text-decoration: none; }
.menu-link b { color: var(--coral); font-size: 18px; vertical-align: -2px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px 80px;
  gap: 34px;
  align-items: end;
  min-height: 650px;
  padding: 106px 0 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
}

.hero-copy { position: relative; z-index: 2; align-self: center; }
.eyebrow { margin: 0; color: #277e73; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 0;
  font-size: clamp(80px, 13vw, 186px);
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: .78;
  word-break: keep-all;
}
h1 span, h2 span, .contact-label span { color: var(--coral); }
.intro { max-width: 380px; margin: 42px 0 0; font-size: 20px; font-weight: 700; line-height: 1.6; word-break: keep-all; }

.hero-orbit { position: absolute; border: 1px solid var(--ink); border-radius: 50%; pointer-events: none; }
.orbit-a { width: 620px; aspect-ratio: 1; right: 62px; top: -350px; animation: spin 25s linear infinite; }
.orbit-b { width: 350px; aspect-ratio: 1; left: 35%; bottom: -258px; border-color: var(--coral); animation: spin 16s linear infinite reverse; }
.orbit-a::before, .orbit-b::before { content: ""; position: absolute; top: -7px; left: 50%; width: 13px; aspect-ratio: 1; border-radius: 50%; background: var(--coral); }
.orbit-b::before { background: var(--aqua); }

.hero-display {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  aspect-ratio: .9;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--acid);
  box-shadow: 12px 12px 0 var(--ink);
}
.display-top, .display-bottom { display: flex; justify-content: space-between; font: bold 10px "Courier New", monospace; letter-spacing: .06em; }
.display-bottom { align-items: end; }
.display-bottom strong { padding: 4px 5px; background: var(--ink); color: var(--acid); font-size: 9px; }
.radar { position: relative; align-self: center; justify-self: center; width: 76%; aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; }
.radar i { position: absolute; inset: 16%; border: 1px solid var(--ink); border-radius: 50%; }
.radar i:nth-child(2) { inset: 33%; }
.radar i:nth-child(3) { inset: auto 50% 0; width: 1px; height: 100%; border: 0; background: var(--ink); transform-origin: bottom; animation: radar 3s linear infinite; }
.radar b { position: absolute; top: 26%; right: 16%; width: 10px; aspect-ratio: 1; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255,114,91,.32); }
.radar em { position: absolute; top: 40%; left: 36%; font-size: 28px; font-style: normal; font-weight: 900; letter-spacing: -.08em; }
.side-copy { align-self: center; margin: 0; color: var(--coral); font: bold 11px/1.45 "Courier New", monospace; letter-spacing: .05em; writing-mode: vertical-rl; transform: rotate(180deg); }
.scroll-cue { position: absolute; bottom: 22px; left: 0; display: flex; align-items: center; gap: 9px; font: bold 10px "Courier New", monospace; letter-spacing: .08em; }
.scroll-cue span { display: block; width: 45px; height: 1px; background: var(--ink); animation: stretch 1.8s ease-in-out infinite; }

.command-strip { display: grid; grid-template-columns: 27% 1fr; gap: 32px; padding: 16px 0; border-bottom: 1px solid var(--ink); }
.command-strip p { margin: 0; color: var(--muted); }
.command-strip div { overflow: hidden; color: var(--ink); font: bold 13px "Courier New", monospace; letter-spacing: .06em; white-space: nowrap; }
.command-strip span { margin: 0 10px; color: var(--coral); }

.profile-section { display: grid; grid-template-columns: 37% 1fr; gap: 54px; padding: 130px 0; border-bottom: 1px solid var(--ink); }
.section-heading p, .course-section > p { margin-bottom: 20px; color: #277e73; }
.section-heading h2 { margin: 0; font-size: clamp(40px, 5vw, 75px); font-weight: 900; line-height: .85; letter-spacing: -.055em; }

.school-card { position: relative; min-height: 300px; padding: 30px; overflow: hidden; border: 1px solid var(--ink); background: var(--sky); box-shadow: 14px 14px 0 var(--coral); }
.card-index { display: inline-block; padding: 6px 7px; background: var(--ink); color: var(--sky); }
.school-card p { position: relative; z-index: 1; margin: 72px 0 4px; font-size: 23px; font-weight: 700; }
.school-card strong { position: relative; z-index: 1; font-size: 33px; letter-spacing: -.06em; word-break: keep-all; }
.card-lines i { position: absolute; right: -34px; bottom: -38px; width: 220px; aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; }
.card-lines i:nth-child(2) { right: 34px; bottom: 36px; width: 130px; }
.card-lines i:nth-child(3) { right: 85px; bottom: 86px; width: 28px; background: var(--acid); }

.interests { align-items: start; background: var(--ink); color: var(--paper); margin: 0 calc((100vw - min(1280px, calc(100vw - 56px))) / -2); padding-left: max(calc((100vw - min(1280px, calc(100vw - 56px))) / 2), 28px); padding-right: max(calc((100vw - min(1280px, calc(100vw - 56px))) / 2), 28px); }
.interests .section-heading p { color: var(--acid); }
.interest-list { border-top: 1px solid rgba(246,247,239,.5); }
.interest-list article { position: relative; display: grid; grid-template-columns: 50px 1fr auto 28px; gap: 14px; align-items: center; min-height: 125px; border-bottom: 1px solid rgba(246,247,239,.5); transition: padding .25s ease, background .25s ease, color .25s ease; }
.interest-list article:hover { padding-left: 18px; background: var(--acid); color: var(--ink); }
.interest-list span { color: var(--aqua); }
.interest-list h3 { margin: 0; font-size: 30px; letter-spacing: -.04em; }
.interest-list p { margin: 0; color: inherit; font: bold 10px/1.4 "Courier New", monospace; letter-spacing: .06em; }
.interest-list b { color: var(--coral); font-size: 28px; font-weight: normal; }

.course-section { position: relative; padding: 115px 50px 45px; overflow: hidden; border-bottom: 1px solid var(--ink); background: var(--aqua); }
.course-section > p { position: relative; z-index: 1; color: var(--ink); }
.course-section h2 { position: relative; z-index: 1; max-width: 900px; margin: 0; font-size: clamp(38px, 6.5vw, 93px); font-weight: 900; line-height: .95; letter-spacing: -.07em; word-break: keep-all; }
.course-section h2 span { color: var(--coral); }
.course-meta { position: relative; z-index: 1; display: flex; justify-content: space-between; margin-top: 75px; }
.course-glow { position: absolute; width: 520px; aspect-ratio: 1; right: -60px; bottom: -280px; border: 1px solid var(--ink); border-radius: 50%; box-shadow: 0 0 0 55px var(--acid), 0 0 0 56px var(--ink), 0 0 0 105px var(--coral), 0 0 0 106px var(--ink); }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; padding: 110px 0 32px; }
.contact-label { margin: 0; font-size: clamp(38px, 5vw, 67px); font-weight: 900; line-height: .86; letter-spacing: -.06em; }
.contact-links { display: grid; align-content: end; gap: 22px; }
.contact-links a { display: grid; grid-template-columns: 90px 1fr auto; align-items: end; gap: 12px; padding-bottom: 9px; border-bottom: 1px solid var(--ink); color: var(--ink); font: bold clamp(12px, 1.4vw, 17px) "Courier New", monospace; text-decoration: none; transition: color .2s ease, padding .2s ease; }
.contact-links a:hover, .contact-links a:focus-visible { padding-left: 9px; color: var(--coral); }
.contact-links small { color: var(--muted); font-size: 10px; }
.contact-links b { font-size: 24px; line-height: .6; }
.copyright { grid-column: 1 / -1; margin: 85px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(33,216,193,0); } }
@keyframes radar { to { transform: rotate(360deg); } }
@keyframes stretch { 50% { transform: scaleX(.32); transform-origin: left; } }

@media (max-width: 760px) {
  .page { width: min(100% - 32px, 560px); }
  .topbar { grid-template-columns: 1fr auto; min-height: 64px; }
  .top-status { display: none; }
  .hero { grid-template-columns: 1fr 42px; gap: 14px; min-height: auto; padding: 76px 0 54px; }
  .hero-copy { grid-column: 1 / -1; }
  h1 { font-size: clamp(71px, 22vw, 120px); }
  .intro { margin-top: 29px; font-size: 17px; }
  .hero-display { width: 190px; grid-column: 1; margin-top: 32px; box-shadow: 8px 8px 0 var(--ink); }
  .side-copy { grid-column: 2; grid-row: 2; }
  .scroll-cue { display: none; }
  .orbit-a { width: 360px; right: -155px; top: -210px; }
  .command-strip { display: block; padding: 14px 0; }
  .command-strip p { margin-bottom: 9px; }
  .command-strip div { font-size: 10px; }
  .profile-section { grid-template-columns: 1fr; gap: 45px; padding: 80px 0; }
  .school-card { min-height: 260px; padding: 24px; box-shadow: 9px 9px 0 var(--coral); }
  .school-card p { margin-top: 55px; font-size: 19px; }
  .school-card strong { font-size: 27px; }
  .interests { margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .interest-list article { grid-template-columns: 30px 1fr 26px; min-height: 104px; }
  .interest-list p { display: none; }
  .interest-list h3 { font-size: 25px; }
  .course-section { margin: 0 -16px; padding: 78px 16px 32px; }
  .course-section h2 { font-size: clamp(39px, 10vw, 62px); }
  .course-meta { display: grid; gap: 7px; margin-top: 60px; font-size: 9px; }
  .course-glow { width: 260px; right: -90px; bottom: -150px; box-shadow: 0 0 0 27px var(--acid), 0 0 0 28px var(--ink), 0 0 0 53px var(--coral), 0 0 0 54px var(--ink); }
  .contact { grid-template-columns: 1fr; gap: 58px; padding-top: 80px; }
  .contact-links a { grid-template-columns: 65px 1fr 18px; gap: 8px; font-size: 11px; }
  .copyright { margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
