:root {
  --navy: #0d1627;
  --navy-soft: #142139;
  --panel: #192741;
  --ink: #eef4ff;
  --muted: #aab8cd;
  --blue: #7795ff;
  --blue-deep: #416bf3;
  --acid: #d8f35f;
  --line: rgba(196, 211, 235, 0.2);
  --max-width: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--navy);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--navy);
  background: var(--acid);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header,
main > section,
footer {
  width: min(100% - 72px, var(--max-width));
  margin-inline: auto;
}

.site-header {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--acid);
  font-size: 0.75rem;
}

.site-header nav {
  display: flex;
  gap: 34px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-header nav a,
.header-cta,
footer a { transition: color 160ms ease; }

.site-header nav a:hover,
.site-header nav a:focus-visible,
.header-cta:hover,
.header-cta:focus-visible,
footer a:hover,
footer a:focus-visible { color: var(--acid); }

.header-cta {
  justify-self: end;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.55fr);
  gap: clamp(48px, 7vw, 100px);
  padding-block: clamp(78px, 11vw, 148px) 72px;
  border-bottom: 1px solid var(--line);
}

.availability {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  padding: 9px 12px;
  color: var(--navy);
  background: var(--acid);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.availability span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-deep);
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; }

h1 {
  max-width: 980px;
  margin-bottom: 52px;
  font-size: clamp(4rem, 8.5vw, 8.5rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.82;
  text-transform: uppercase;
}

h1 strong { color: var(--blue); font-weight: inherit; }

.hero-details {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.degree {
  margin-bottom: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-intro {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.55;
}

.method-card {
  align-self: end;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--navy-soft);
}

.method-heading {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.method-card ol { margin: 0; padding: 0; list-style: none; }

.method-card li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 2px 10px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.method-card li:last-child { padding-bottom: 0; border-bottom: 0; }
.method-card li > span { grid-row: 1 / span 2; color: var(--blue); font-size: 0.7rem; font-weight: 700; }
.method-card strong { font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; }
.method-card small { color: var(--muted); font-size: 0.78rem; line-height: 1.4; }

.work-section,
.about-section,
.contact-section {
  padding-block: clamp(76px, 10vw, 128px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 8%;
  align-items: end;
  margin-bottom: 48px;
}

.section-kicker {
  margin-bottom: 18px;
  color: var(--acid);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading h2,
.about-intro h2,
.contact-layout h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 5vw, 5.3rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.section-heading > p { max-width: 520px; margin-bottom: 0; color: var(--muted); line-height: 1.65; }

.project-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.9fr;
  gap: 14px;
}

.project {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--navy-soft);
  transition: transform 180ms ease, border-color 180ms ease;
}

.project:hover { border-color: var(--blue); transform: translateY(-4px); }
.project-featured { color: var(--navy); border-color: transparent; background: var(--blue); }

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project:not(.project-featured) .project-meta,
.project:not(.project-featured) .project-number,
.project:not(.project-featured) p { color: var(--muted); }

.project-number { margin-bottom: 12px; font-size: 0.75rem; }

.project h3 {
  max-width: 420px;
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.project p:last-child { max-width: 430px; margin-bottom: 0; line-height: 1.55; }
.project-arrow { align-self: flex-end; font-size: 2rem; }

.about-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 8%;
}

.about-copy { padding-top: 35px; }

.about-copy > p:first-child {
  margin-bottom: 26px;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.65;
}

.edit-note {
  padding-left: 18px;
  border-left: 3px solid var(--acid);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.capabilities {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.capabilities div {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 24px 0 0;
}

.capabilities div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.capabilities span { color: var(--blue); font-size: 0.72rem; font-weight: 700; }
.capabilities strong { font-family: "Space Grotesk", sans-serif; font-size: 1.15rem; font-weight: 500; }

.contact-section {
  background:
    linear-gradient(90deg, transparent 0 78%, rgba(119, 149, 255, 0.08) 78%),
    var(--navy);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8%;
  align-items: end;
}

.contact-layout > div { padding-top: 24px; border-top: 1px solid var(--line); }
.contact-layout p { color: var(--muted); line-height: 1.6; }

.contact-placeholder {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 16px;
  color: var(--navy);
  background: var(--acid);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

footer {
  min-height: 104px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

footer p { margin: 0; }
footer p:nth-child(2) { text-align: center; }
footer a { justify-self: end; }

@media (max-width: 960px) {
  .site-header, main > section, footer { width: min(100% - 40px, var(--max-width)); }
  .hero { grid-template-columns: 1fr; }
  .method-card { display: none; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-featured { grid-column: 1 / -1; }
  .capabilities { grid-template-columns: 1fr 1fr; }
  .capabilities div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .capabilities div:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 680px) {
  .site-header, main > section, footer { width: min(100% - 28px, var(--max-width)); }
  .site-header { grid-template-columns: 1fr auto; min-height: 76px; }
  .brand > span:last-child, .site-header nav { display: none; }
  .hero { padding-top: 64px; }
  .availability { font-size: 0.62rem; }
  h1 { margin-bottom: 38px; font-size: clamp(3.35rem, 17vw, 5.7rem); }
  .hero-details, .section-heading, .about-section, .contact-layout, .project-grid { grid-template-columns: 1fr; }
  .degree { margin-bottom: 10px; }
  .section-heading > p, .contact-layout > div { margin-top: 24px; }
  .project-featured { grid-column: auto; }
  .project { min-height: 340px; }
  .about-copy { padding-top: 0; }
  .capabilities { grid-template-columns: 1fr; }
  .capabilities div,
  .capabilities div + div,
  .capabilities div:nth-child(3) {
    min-height: 98px;
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  footer { grid-template-columns: 1fr; gap: 10px; padding-block: 28px; }
  footer p:nth-child(2) { text-align: left; }
  footer a { justify-self: start; }
}

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