:root {
  color-scheme: light;
  --ink: #11140f;
  --ink-2: #22271f;
  --paper: #f8f3ea;
  --paper-2: #efe7d8;
  --mist: #f4f8f2;
  --line: rgba(17, 20, 15, 0.14);
  --line-dark: rgba(255, 255, 255, 0.18);
  --white: #fffdf8;
  --muted: #677063;
  --muted-dark: #c3ceb9;
  --citron: #dfff56;
  --aqua: #00b8a9;
  --blue: #3d7df2;
  --coral: #ff6b5f;
  --magenta: #e449a2;
  --violet: #8067f2;
  --prism: linear-gradient(90deg, #ff5a5f 0%, #ffb000 16%, #d7f64a 33%, #00b8a9 50%, #3d7df2 67%, #8067f2 83%, #e449a2 100%);
  --shadow: 0 24px 70px rgba(17, 20, 15, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(17, 20, 15, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 20, 15, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.32;
  background-image: radial-gradient(rgba(17, 20, 15, 0.14) 0.7px, transparent 0.7px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
}

img,
svg {
  display: block;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  background: var(--citron);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 800;
}

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

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 50;
  width: min(1120px, calc(100% - 32px));
  min-height: 58px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 8px 8px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(17, 20, 15, 0.55);
  color: var(--white);
  box-shadow: 0 20px 55px rgba(17, 20, 15, 0.20);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(17, 20, 15, 0.84);
  border-color: rgba(255, 255, 255, 0.16);
}

.brand-mark,
.site-nav,
.header-cta {
  display: flex;
  align-items: center;
}

.brand-mark {
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-glyph {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 6px;
  background: var(--prism);
  color: #10120f;
  font-size: 0.74rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.48);
}

.site-nav {
  justify-content: center;
  gap: 4px;
}

.site-nav a,
.header-cta {
  min-height: 40px;
  border-radius: 6px;
  padding: 9px 12px;
  color: rgba(255, 253, 248, 0.84);
  font-size: 0.88rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active,
.header-cta:hover,
.header-cta:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.header-cta {
  justify-content: center;
  min-width: 52px;
  background: var(--white);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-content: end;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--white);
  padding: 132px 24px 34px;
}

.hero-media,
.hero-shade,
.hero-prism {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-media {
  background-image: url("assets/ilan-hero.webp");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 9, 7, 0.88) 0%, rgba(7, 9, 7, 0.70) 36%, rgba(7, 9, 7, 0.20) 65%, rgba(7, 9, 7, 0.42) 100%),
    linear-gradient(0deg, rgba(7, 9, 7, 0.86) 0%, rgba(7, 9, 7, 0.08) 44%, rgba(7, 9, 7, 0.32) 100%);
}

.hero-prism {
  z-index: -1;
  inset: auto 0 0;
  height: 10px;
  background: var(--prism);
}

.hero-content {
  width: min(760px, 100%);
  margin: 0 auto 42px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--citron);
}

.hero h1,
.section-heading h2,
.contact-copy h2,
.intro-copy h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 760;
  line-height: 0.97;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: 5.75rem;
}

.hero-lede {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 1.42rem;
  line-height: 1.35;
  font-weight: 800;
}

.hero-copy {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(255, 253, 248, 0.82);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 0.92rem;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button svg,
.resource-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover,
.button:focus-visible,
.contact-button:hover,
.contact-button:focus-visible,
.resource-link:hover,
.resource-link:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--white);
  color: var(--ink);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.hero-proof {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(17, 20, 15, 0.42);
  backdrop-filter: blur(16px);
}

.hero-proof div {
  min-height: 118px;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.1rem;
  line-height: 1;
}

.hero-proof span {
  display: block;
  max-width: 210px;
  margin-top: 8px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
}

.section,
.intro-band,
.contact-section {
  position: relative;
  padding: 104px 24px;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.intro-band {
  background: var(--ink);
  color: var(--white);
}

.intro-band::before,
.section-paper::before,
.contact-section::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  content: "";
  background: var(--prism);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 64px;
  align-items: start;
}

.intro-copy {
  position: sticky;
  top: 112px;
}

.section-kicker {
  color: var(--coral);
}

.section-dark .section-kicker,
.intro-band .section-kicker,
.contact-section .section-kicker {
  color: var(--citron);
}

.intro-copy h2,
.section-heading h2,
.contact-copy h2 {
  font-size: 3.25rem;
}

.focus-list {
  display: grid;
  gap: 14px;
}

.focus-card,
.work-card,
.quote-card,
.talk-card,
.timeline-item {
  border-radius: 8px;
}

.focus-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 22px;
  row-gap: 8px;
  min-height: 168px;
  padding: 26px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.055);
}

.card-index {
  grid-row: 1 / span 2;
  color: transparent;
  background: var(--prism);
  background-clip: text;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 760;
}

.focus-card h3,
.work-card h3,
.talk-card h3,
.timeline-item h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.focus-card p,
.work-card p,
.talk-card p,
.timeline-item p,
.section-heading p,
.contact-copy p,
.intro-copy p {
  margin: 14px 0 0;
}

.focus-card p {
  grid-column: 2;
}

.focus-card p,
.section-dark .section-heading p {
  color: var(--muted-dark);
}

.section-light {
  background: var(--paper);
}

.section-paper {
  background: var(--mist);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 540px;
  margin-bottom: 0;
}

.section-heading p,
.work-card p,
.talk-card p,
.timeline-item p,
.contact-copy p {
  color: var(--muted);
}

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

.work-card {
  position: relative;
  min-height: 328px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.80);
  box-shadow: 0 16px 50px rgba(17, 20, 15, 0.08);
  overflow: hidden;
}

.work-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: var(--prism);
}

.feature-card {
  grid-row: span 2;
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.work-meta span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.mini-stats {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.mini-stats span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.mini-stats strong {
  color: var(--ink);
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.work-tags span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.48);
  font-size: 0.8rem;
  font-weight: 900;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 26px;
}

.card-actions a,
.text-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid currentColor;
  color: var(--ink);
  font-weight: 900;
}

.section-dark {
  background:
    linear-gradient(120deg, rgba(0, 184, 169, 0.12), transparent 34%),
    linear-gradient(240deg, rgba(255, 107, 95, 0.12), transparent 30%),
    var(--ink);
  color: var(--white);
}

.teaching-layout {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 54px;
  align-items: start;
}

.portrait-panel {
  position: sticky;
  top: 104px;
}

.portrait-panel img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 18px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line-dark);
}

.metric-strip div {
  min-height: 120px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.metric-strip strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1;
}

.metric-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted-dark);
  font-size: 0.84rem;
  font-weight: 800;
}

.evidence-note {
  position: relative;
  margin: 0 0 18px;
  padding: 20px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

.evidence-note::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: var(--prism);
}

.evidence-note strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.evidence-note p {
  margin: 10px 0 0;
  color: var(--muted-dark);
  font-size: 0.93rem;
}

.quote-grid {
  display: grid;
  gap: 14px;
}

.quote-card {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.055);
}

.quote-card blockquote {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.55;
  font-weight: 700;
}

.quote-card figcaption {
  margin-top: 14px;
  color: var(--muted-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.talk-grid {
  display: grid;
  gap: 16px;
}

.talk-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 26px;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 14px 42px rgba(17, 20, 15, 0.07);
}

.talk-number {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--prism);
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 760;
}

.clean-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-weight: 650;
}

.clean-list li::before {
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  content: "";
  background: var(--prism);
  transform: translateY(-50%);
}

.story-grid,
.resources-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.48fr 0.52fr;
  gap: 56px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  position: relative;
  padding: 24px 24px 24px 30px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.70);
}

.timeline-item::before {
  position: absolute;
  top: 26px;
  left: 0;
  width: 6px;
  height: 44px;
  content: "";
  background: var(--prism);
}

.timeline-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.resource-list {
  display: grid;
  gap: 10px;
}

.resource-link {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.80);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 12px 34px rgba(17, 20, 15, 0.06);
  transition: transform 180ms ease, border-color 180ms ease;
}

.resource-link:hover,
.resource-link:focus-visible {
  border-color: rgba(17, 20, 15, 0.34);
}

.contact-section {
  background: var(--ink);
  color: var(--white);
}

.contact-copy h2 {
  max-width: 620px;
}

.contact-id {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 520px;
  margin-bottom: 28px;
  color: var(--muted-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-id img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  object-fit: cover;
}

.contact-copy p {
  max-width: 600px;
  color: var(--muted-dark);
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-button {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 4px;
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-button.primary {
  background: var(--white);
  color: var(--ink);
}

.contact-button:hover,
.contact-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.40);
  outline: none;
}

.contact-button span {
  overflow-wrap: anywhere;
  font-weight: 900;
}

.contact-button small {
  color: currentColor;
  opacity: 0.68;
  font-weight: 800;
}

.site-footer {
  padding: 26px 24px;
  background: #080a07;
  color: rgba(255, 253, 248, 0.70);
  font-size: 0.84rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.build-note {
  width: min(1120px, 100%);
  margin: 12px auto 0;
  color: rgba(255, 253, 248, 0.48);
  font-size: 0.76rem;
  font-weight: 700;
}

.course-main {
  background: var(--paper);
}

.course-hero,
.advice-hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  padding: 132px 24px 76px;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--white);
}

.course-hero::before,
.advice-hero::before {
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
  content: "";
  background: var(--prism);
}

.course-hero::after,
.advice-hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(120deg, rgba(17, 20, 15, 0.96) 0%, rgba(17, 20, 15, 0.88) 42%, rgba(17, 20, 15, 0.52) 100%),
    radial-gradient(circle at 72% 26%, rgba(223, 255, 86, 0.22), transparent 28%),
    radial-gradient(circle at 82% 82%, rgba(0, 184, 169, 0.20), transparent 24%),
    linear-gradient(135deg, #11140f, #1c221b 54%, #101720);
}

.course-hero-grid,
.advice-hero-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(320px, 0.36fr);
  gap: 52px;
  align-items: end;
}

.course-hero h1,
.advice-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 5rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.course-lede {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 253, 248, 0.84);
  font-size: 1.16rem;
  line-height: 1.5;
  font-weight: 800;
}

.course-snapshot,
.advice-note,
.course-advice-preview {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.course-snapshot {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line-dark);
}

.course-snapshot div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.065);
}

.course-snapshot strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.course-snapshot span,
.advice-note p,
.course-advice-preview blockquote {
  display: block;
  margin-top: 10px;
  color: var(--muted-dark);
  font-weight: 800;
}

.course-band {
  position: relative;
  padding: 88px 24px;
  background: var(--ink);
  color: var(--white);
}

.course-band::before {
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  content: "";
  background: var(--prism);
}

.course-overview,
.advice-control-layout {
  display: grid;
  grid-template-columns: 0.43fr 0.57fr;
  gap: 56px;
  align-items: start;
}

.course-band .section-heading p {
  color: var(--muted-dark);
}

.course-pillars {
  display: grid;
  gap: 14px;
}

.course-pillar {
  position: relative;
  min-height: 164px;
  padding: 24px 24px 24px 30px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.course-pillar::before {
  position: absolute;
  top: 26px;
  left: 0;
  width: 6px;
  height: 44px;
  content: "";
  background: var(--prism);
}

.course-pillar span {
  display: block;
  margin-bottom: 8px;
  color: var(--citron);
  font-size: 0.78rem;
  font-weight: 900;
}

.course-pillar h3,
.course-topic h3,
.advice-semester-heading h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.22;
}

.course-pillar p {
  margin: 12px 0 0;
  color: var(--muted-dark);
}

.course-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.course-topic {
  position: relative;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 14px 42px rgba(17, 20, 15, 0.07);
  overflow: hidden;
}

.course-topic::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: var(--prism);
}

.course-topic p {
  margin: 12px 0 0;
  color: var(--muted);
}

.course-advice-preview {
  padding: 28px;
}

.course-advice-preview blockquote {
  margin: 0;
  color: rgba(255, 253, 248, 0.88);
  font-size: 1.18rem;
  line-height: 1.55;
}

.advice-note {
  padding: 24px;
}

.advice-note strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.advice-controls {
  display: grid;
  gap: 14px;
}

.advice-controls div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.advice-controls span {
  margin-right: 8px;
  color: var(--muted-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.advice-controls button {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 900;
}

.advice-controls button[aria-pressed="true"] {
  background: var(--white);
  color: var(--ink);
}

.advice-themes {
  padding-bottom: 80px;
}

.advice-semester {
  display: grid;
  gap: 22px;
  margin-bottom: 72px;
}

.advice-semester:last-child {
  margin-bottom: 0;
}

.advice-semester-heading {
  max-width: 700px;
}

.advice-semester-heading h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: 0;
}

.advice-semester-heading p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.advice-type-heading {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.advice-grid {
  columns: 3 260px;
  column-gap: 14px;
}

.advice-card {
  break-inside: avoid;
  margin: 0 0 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 12px 34px rgba(17, 20, 15, 0.06);
}

.advice-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.advice-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.58;
}

.advice-empty {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
}

.about-main {
  background: var(--paper);
}

.about-hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: end;
  padding: 132px 24px 76px;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--white);
}

.about-hero::before {
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
  content: "";
  background: var(--prism);
}

.about-hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(115deg, rgba(17, 20, 15, 0.96) 0%, rgba(17, 20, 15, 0.82) 42%, rgba(17, 20, 15, 0.40) 100%),
    url("assets/ilan-hero.webp") center / cover;
}

.about-hero-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.62fr 0.38fr;
  gap: 52px;
  align-items: end;
}

.about-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 5rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.about-lede {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 253, 248, 0.84);
  font-size: 1.22rem;
  line-height: 1.45;
  font-weight: 800;
}

.about-portrait {
  margin: 0;
}

.about-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-portrait figcaption {
  margin-top: 12px;
  color: rgba(255, 253, 248, 0.66);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-section {
  padding: 96px 24px;
}

.about-section.alt {
  background: var(--mist);
}

.about-section.dark {
  background:
    linear-gradient(120deg, rgba(61, 125, 242, 0.12), transparent 34%),
    linear-gradient(250deg, rgba(228, 73, 162, 0.12), transparent 28%),
    var(--ink);
  color: var(--white);
}

.about-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 60px;
  align-items: start;
}

.about-kicker {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.77rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-section.dark .about-kicker {
  color: var(--citron);
}

.about-heading h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: 0;
}

.about-heading p {
  margin: 18px 0 0;
  color: var(--muted);
}

.about-section.dark .about-heading p,
.about-section.dark .about-copy p,
.about-section.dark .about-list li {
  color: var(--muted-dark);
}

.about-copy {
  display: grid;
  gap: 18px;
}

.about-copy .card-actions {
  margin-top: 6px;
  padding-top: 4px;
}

.about-copy p {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.03rem;
}

.about-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
  font-weight: 750;
}

.about-list li::before {
  position: absolute;
  top: 0.8em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  content: "";
  background: var(--prism);
  transform: translateY(-50%);
}

.about-pull {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 14px 42px rgba(17, 20, 15, 0.07);
}

.about-pull strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-pull p {
  margin: 0;
  color: var(--muted);
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--citron);
  outline-offset: 3px;
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 920px;
  }

  .hero h1 {
    font-size: 4.3rem;
  }

  .hero-lede {
    font-size: 1.22rem;
  }

  .hero-proof,
  .intro-grid,
  .teaching-layout,
  .story-grid,
  .resources-grid,
  .contact-grid,
  .about-hero-grid,
  .about-grid,
  .course-hero-grid,
  .advice-hero-grid,
  .course-overview,
  .advice-control-layout {
    grid-template-columns: 1fr;
  }

  .intro-copy,
  .portrait-panel {
    position: static;
  }

  .hero-proof div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-proof div:last-child {
    border-bottom: 0;
  }

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

  .feature-card {
    grid-row: auto;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .course-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand-mark span:last-child {
    display: none;
  }

  .hero {
    min-height: 860px;
    padding: 116px 16px 22px;
  }

  .hero-media {
    background-position: 56% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 9, 7, 0.90) 0%, rgba(7, 9, 7, 0.58) 58%, rgba(7, 9, 7, 0.24) 100%),
      linear-gradient(0deg, rgba(7, 9, 7, 0.90) 0%, rgba(7, 9, 7, 0.28) 52%, rgba(7, 9, 7, 0.42) 100%);
  }

  .hero-content {
    margin-bottom: 28px;
  }

  .hero h1 {
    font-size: 3.24rem;
  }

  .hero-lede {
    font-size: 1.12rem;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .section,
  .intro-band,
  .contact-section {
    padding: 72px 16px;
  }

  .intro-copy h2,
  .section-heading h2,
  .contact-copy h2,
  .about-heading h2 {
    font-size: 2.28rem;
  }

  .about-hero {
    min-height: auto;
    padding: 112px 16px 64px;
  }

  .course-hero,
  .advice-hero {
    min-height: auto;
    padding: 112px 16px 64px;
  }

  .about-hero h1,
  .course-hero h1,
  .advice-hero h1 {
    font-size: 3.15rem;
  }

  .about-lede,
  .course-lede {
    font-size: 1.06rem;
  }

  .about-section {
    padding: 72px 16px;
  }

  .focus-card,
  .talk-card {
    grid-template-columns: 1fr;
  }

  .course-band {
    padding: 72px 16px;
  }

  .course-topic-grid {
    grid-template-columns: 1fr;
  }

  .advice-grid {
    columns: 1;
  }

  .focus-card p,
  .card-index {
    grid-column: auto;
    grid-row: auto;
  }

  .focus-card,
  .work-card,
  .quote-card,
  .talk-card,
  .timeline-item {
    padding: 20px;
  }

  .talk-number {
    width: 56px;
    height: 56px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

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

  .js-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
