:root {
  --bg: #05070b;
  --surface: rgba(14, 18, 27, .78);
  --surface-strong: #10151f;
  --text: #f3f5f8;
  --muted: #a1a9b8;
  --line: rgba(255,255,255,.1);
  --accent: #f0ca74;
  --accent-2: #7b8cff;
  --danger: #ff7a90;
  --header-height: 76px;

  --cyan: #74f0ce;
  --warm: #ff9f6e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  z-index: 80;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: rgba(5,7,11,.9);
  backdrop-filter: blur(18px);
  border-color: var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
}
.brand-logo-icon { width: 44px; height: 44px; object-fit: contain; display: block; }
.brand-logo-text { height: 48px; width: auto; object-fit: contain; display: block; max-width: min(42vw, 520px); }
.main-nav { display: flex; align-items: center; gap: clamp(16px,2.5vw,34px); }
.main-nav a { color: #aab2bf; font-size: .86rem; font-weight: 600; transition: color .2s ease; }
.main-nav a:hover, .main-nav a.active { color: white; }
.main-nav a.active::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 7px;
  background: var(--accent);
  border-radius: 999px;
}
.menu-toggle { display: none; border: 0; background: transparent; color: white; font-size: 1.45rem; cursor: pointer; }

.page-shell { padding-top: 0; }
.section { position: relative; padding: clamp(82px,10vw,140px) 0; }
.container { width: min(1180px, 88vw); margin: 0 auto; }

.hero {
  min-height: 94vh;
  padding-top: 145px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 18%, rgba(255,209,102,.17), transparent 27%),
    radial-gradient(circle at 19% 83%, rgba(123,140,255,.12), transparent 27%),
    linear-gradient(145deg,#05070b 5%,#0c0d14 58%,#121006);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}
.hero-copy-wrap { max-width: 1000px; position: relative; z-index: 2; }
.eyebrow {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 15px;
}
h1,h2,h3,h4 { font-family: "Space Grotesk", Inter, sans-serif; margin-top: 0; }
h1 {
  font-size: clamp(3.8rem,8vw,7.35rem);
  line-height: .95;
  letter-spacing: -.064em;
  margin: 18px 0 28px;
}
h1 .outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(243,245,248,.82);
}
.hero-lead {
  max-width: 830px;
  color: #c4cbd5;
  font-size: clamp(1.04rem,2vw,1.3rem);
  line-height: 1.76;
}
.hero-principle {
  margin-top: 28px;
  max-width: 830px;
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 18px;
  color: #e5e8ed;
  line-height: 1.68;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border-radius: 999px;
  font-weight: 650;
  border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); border-color: rgba(255,209,102,.55); }
.button.primary { background: linear-gradient(135deg,var(--accent),#ffe7a2); color: #171105; border: 0; }
.button.ghost { background: rgba(255,255,255,.035); }

.dark-section { background: radial-gradient(circle at top left,rgba(81,66,40,.12),transparent 34%),#06090e; }
.alt-section { background: radial-gradient(circle at 86% 10%,rgba(123,140,255,.08),transparent 28%),linear-gradient(160deg,#090c13,#05080d 65%,#100d06); }
.section-heading { max-width: 820px; margin-bottom: 48px; }
.section-heading h2 { font-size: clamp(2.55rem,5vw,4.9rem); letter-spacing: -.052em; margin-bottom: 16px; }
.section-heading p { color: var(--muted); line-height: 1.76; font-size: 1.02rem; }

.learning-loop { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; }
.loop-step {
  min-height: 220px;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg,rgba(255,255,255,.047),rgba(255,255,255,.018));
  position: relative;
  overflow: hidden;
}
.loop-step::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(255,209,102,.11);
}
.loop-step span { color: var(--accent); font-family: "Space Grotesk"; font-size: .76rem; font-weight: 700; letter-spacing: .1em; }
.loop-step strong { display: block; margin-top: 34px; font-family: "Space Grotesk"; font-size: 1.15rem; }
.loop-step p { color: var(--muted); line-height: 1.58; font-size: .86rem; margin-bottom: 0; }

.statement {
  padding: clamp(30px,6vw,66px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg,rgba(255,209,102,.055),rgba(123,140,255,.05));
}
.statement.compact { margin-top: 22px; padding: 30px; }
.statement.compact h3 { font-size: clamp(1.65rem,3vw,2.45rem); letter-spacing: -.04em; margin-bottom: 10px; }
.statement h2 { font-size: clamp(2.3rem,5vw,4.5rem); letter-spacing: -.052em; margin-bottom: 18px; }
.statement p { max-width: 880px; color: #bdc5d1; font-size: 1.06rem; line-height: 1.76; }
.statement .closing { color: white; font-family: "Space Grotesk"; font-size: clamp(1.45rem,3vw,2.15rem); line-height: 1.45; margin-top: 29px; }

.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.project-card {
  min-height: 360px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg,rgba(255,255,255,.052),rgba(255,255,255,.018));
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.project-card:hover { transform: translateY(-4px); border-color: rgba(255,209,102,.27); background: linear-gradient(145deg,rgba(255,255,255,.066),rgba(255,255,255,.024)); }
.project-card.featured { background: linear-gradient(145deg,rgba(255,209,102,.055),rgba(123,140,255,.03)); }
.project-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; color: #7f8998; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.status { border: 1px solid var(--line); padding: 6px 9px; border-radius: 999px; font-weight: 700; letter-spacing: .04em; }
.status.live { color: #caffdf; border-color: rgba(85,224,132,.25); background: rgba(85,224,132,.08); }
.status.student { color: #d8dcff; border-color: rgba(123,140,255,.28); background: rgba(123,140,255,.08); }
.status.archive { color: #ffe5a4; border-color: rgba(255,209,102,.28); background: rgba(255,209,102,.07); }
.project-card h3 { font-size: clamp(1.65rem,3vw,2.2rem); letter-spacing: -.04em; margin: 17px 0 11px; }
.project-card p { color: var(--muted); line-height: 1.68; margin: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 19px; }
.tag-row span { border: 1px solid var(--line); background: rgba(255,255,255,.025); padding: 6px 9px; border-radius: 999px; color: #b8c0cc; font-size: .7rem; }
.card-link { margin-top: auto; padding-top: 24px; color: var(--accent); font-weight: 700; font-size: .91rem; }
.card-link:hover { color: white; }

.content-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); gap: 38px; align-items: start; }
.prose h2 { font-size: clamp(2.35rem,5vw,4.5rem); letter-spacing: -.05em; margin-bottom: 17px; }
.prose p { color: #adb6c4; line-height: 1.78; }
.prose strong { color: #edf2f7; }
.side-card {
  position: sticky;
  top: 102px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  background: rgba(255,255,255,.025);
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: 11px 0 11px 26px; color: #c0c7d1; line-height: 1.55; border-bottom: 1px solid rgba(255,255,255,.06); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.side-note { margin-top: 19px; padding: 15px; border-radius: 13px; background: rgba(255,209,102,.055); color: #cbd1da; line-height: 1.6; font-size: .88rem; }

.ai-flow { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.ai-flow div { flex: 1 1 130px; border: 1px solid var(--line); border-radius: 14px; padding: 15px; background: rgba(255,255,255,.025); }
.ai-flow span { display: block; color: var(--accent); font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; margin-bottom: 5px; }
.ai-flow strong { font-size: .88rem; }
.ai-flow b { align-self: center; color: #5e6876; font-weight: 400; }

.discipline-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.discipline-grid article { min-height: 235px; border: 1px solid var(--line); border-radius: 17px; padding: 21px; background: rgba(255,255,255,.024); }
.discipline-grid span { color: var(--accent); font-family: "Space Grotesk"; font-size: .7rem; font-weight: 700; }
.discipline-grid h3 { margin: 28px 0 9px; font-size: 1.2rem; letter-spacing: -.025em; }
.discipline-grid p { margin: 0; color: var(--muted); line-height: 1.58; font-size: .87rem; }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px 7vw; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; background: #030406; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .001ms !important; }
}

@media (max-width: 1020px) {
  .learning-loop { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .discipline-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .content-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
}

@media (max-width: 760px) {
  :root { --header-height: 68px; }
  .site-header { padding: 0 6vw; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: calc(var(--header-height) - 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 6vw 18px;
    background: rgba(5,7,11,.97);
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; }
  .main-nav a.active::after { display: none; }
  .hero { min-height: auto; padding-top: 132px; padding-bottom: 95px; }
  h1 { font-size: clamp(3.2rem,16vw,5.2rem); }
  .container { width: min(90vw,1180px); }
  .project-grid { grid-template-columns: 1fr; }
  .learning-loop { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .loop-step { min-height: 190px; }
  .discipline-grid { grid-template-columns: 1fr 1fr; }
  footer { flex-direction: column; }
}

@media (max-width: 520px) {
  .learning-loop, .discipline-grid { grid-template-columns: 1fr; }
  .loop-step, .discipline-grid article { min-height: auto; }
  .project-card { min-height: 0; }
  .ai-flow { flex-direction: column; }
  .ai-flow b { transform: rotate(90deg); align-self: flex-start; margin-left: 15px; }
  .statement { border-radius: 20px; }
  .hero-actions .button { width: 100%; }
}
