:root {
  --ink: #15191c;
  --muted: #637078;
  --paper: #f3f5f2;
  --white: #ffffff;
  --line: #dde3df;
  --teal: #247c7a;
  --coral: #d65f46;
  --gold: #c9962f;
  --blue: #376f92;
  --green: #4b7c58;
  --lavender: #7768a7;
  --charcoal: #20272b;
  --soft-shadow: 0 18px 45px rgba(21, 25, 28, 0.1);
  --card-shadow: 0 10px 28px rgba(21, 25, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.62;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue);
  font-weight: 700;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
}

.brand {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.nav-links a {
  color: var(--ink);
  font-size: 0.94rem;
  text-decoration: none;
  opacity: 0.78;
}

.nav-links a:hover {
  color: var(--coral);
  opacity: 1;
}

.hero {
  color: var(--ink);
  background: #eef2ef;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 54px;
  align-items: center;
  max-width: 1180px;
  min-height: 82vh;
  margin: 0 auto;
  padding: 86px 24px 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 6.3rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.lede {
  max-width: 760px;
  margin: 22px 0 0;
  color: #354146;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
}

.hero-note {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  color: var(--muted);
}

.hero-note span {
  display: block;
}

.hero-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.hero-media img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.hero-media figcaption {
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.page-section {
  padding: 88px 24px;
}

.page-section.alt {
  background: #fbfcfa;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section-lede {
  max-width: 860px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.figure {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.alt .figure {
  background: var(--white);
}

.figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--paper);
}

.figure.cover img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111;
}

.figure.product img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 20px;
  background: var(--paper);
}

.figure.tall img {
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #111;
}

figcaption {
  padding: 13px 15px 15px;
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.video-placeholder {
  display: grid;
  place-items: center;
  min-height: 340px;
  margin-top: 34px;
  padding: 28px;
  color: var(--white);
  background: var(--charcoal);
  border: 1px solid #3d494f;
  text-align: center;
}

.video-placeholder strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.video-embed {
  position: relative;
  overflow: hidden;
  margin-top: 34px;
  background: #111;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
  gap: 42px;
  align-items: start;
  margin-top: 36px;
}

.text-block {
  max-width: 800px;
}

.text-block h3 + p,
.essay-copy h3 + p {
  margin-top: 12px;
}

.text-block p {
  margin: 0 0 18px;
}

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(210px, 1fr));
  gap: 20px;
  margin-top: 34px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.song-card {
  min-width: 210px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.song-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.song-card div {
  padding: 16px;
}

.song-card h3 {
  font-size: 1.08rem;
  letter-spacing: 0;
}

.song-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.essay-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  gap: 44px;
  margin-top: 34px;
}

.evidence-stack {
  grid-template-columns: 1fr;
  margin-top: 0;
}

.fyp-evidence-grid {
  grid-template-columns: repeat(3, minmax(240px, 1fr));
}

.essay-copy {
  max-width: 760px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}

.essay-copy p {
  margin: 0 0 18px;
}

.pullquote {
  margin: 28px 0;
  padding: 24px 26px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 1.24rem;
  line-height: 1.4;
  border-radius: 8px;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0;
}

.spec {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--teal);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}

.spec strong {
  display: block;
  margin-bottom: 4px;
}

.works-cited {
  margin-top: 48px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}

.works-cited p {
  margin: 0 0 12px;
  padding-left: 1.5rem;
  text-indent: -1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.todo {
  border-left: 6px solid var(--coral);
  padding: 16px 18px;
  background: #fff7f4;
  color: #58312b;
}

.update-panel {
  max-width: 980px;
  margin-top: 42px;
  padding: 30px;
  background: #fbfcfa;
  border: 1px solid var(--line);
  border-left: 6px solid var(--blue);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}

.footer {
  padding: 34px 24px;
  color: #eef3f1;
  background: var(--ink);
}

.footer div {
  max-width: 1180px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .hero-inner,
  .two-col,
  .essay-layout {
    grid-template-columns: 1fr;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-section {
    padding: 54px 18px;
  }

  .hero-inner {
    padding: 54px 18px 42px;
  }
}
