:root {
  color-scheme: light;
  --paper: #f2f0e8;
  --paper-bright: #faf9f5;
  --void: #080d10;
  --ink: #101619;
  --muted: #4c585d;
  --muted-inverse: #b7c0c2;
  --hairline: #c9c8c0;
  --violet: #a855ff;
  --violet-ink: #6532a1;
  --cyan: #22d3ee;
  --measure: 1320px;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 4px;
}

.wrap { width: min(var(--measure), calc(100% - 64px)); margin-inline: auto; }

.skip-link {
  position: absolute;
  z-index: 10;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--paper-bright);
  background: var(--void);
  transform: translateY(-160%);
}

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

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--hairline);
}

.brand { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; }
.brand-symbol { display: block; flex: 0 0 auto; height: 24px; width: auto; }
.brand-wordmark { display: block; flex: 0 0 auto; width: 132px; height: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(24px, 4vw, 58px); }
.site-nav a,
.footer-link {
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .02em;
}

.site-nav a span,
.action-link span,
.footer-link span { padding-left: 5px; }
.site-nav a:hover,
.footer-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.hero { padding-top: clamp(70px, 10vw, 146px); padding-bottom: clamp(62px, 8vw, 112px); }

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-index { display: inline-block; margin-right: 13px; color: var(--violet-ink); font-variant-numeric: tabular-nums; }

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.055em;
}

h1 {
  max-width: 1020px;
  margin: 31px 0 0 -5px;
  font-size: clamp(4.25rem, 10.2vw, 9.25rem);
  line-height: .89;
}

h1 em, h2 em { font-weight: 400; }
h1 em { color: #495a62; }

.hero-copy {
  display: grid;
  grid-template-columns: minmax(260px, 640px) auto;
  align-items: end;
  gap: 36px;
  margin-top: 39px;
}

.lead {
  max-width: 665px;
  margin-bottom: 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  letter-spacing: -.015em;
}

.action-link {
  width: max-content;
  display: inline-flex;
  align-items: center;
  padding: 11px 0 9px;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.action-link:hover { color: #5f2bab; }
.action-link:focus-visible { outline-offset: 5px; }

.scope-note {
  max-width: 810px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 38px 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.scope-mark {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--violet);
}

.film-section { padding: 37px 0 72px; color: var(--paper-bright); background: var(--void); }
.section-kicker { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin-bottom: 16px; }
.film-section .eyebrow { color: var(--muted-inverse); }
.film-section .eyebrow-index { color: var(--cyan); }
.duration { margin: 0; color: #bdc5c8; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.duration span { margin: 0 7px; color: #667177; }
.film-figure { margin: 0; }
.film-frame { overflow: hidden; background: #030608; border: 1px solid #273137; }
.film-frame:focus-within { outline: 3px solid var(--violet); outline-offset: 4px; }
.film-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #030608; object-fit: contain; }
.film-frame video:focus-visible { outline: 0; }
.film-controls { min-height: 54px; display: flex; justify-content: space-between; align-items: center; gap: 18px; border-bottom: 1px solid #273137; }
.study-toggle { appearance: none; padding: 8px 0; border: 0; color: var(--paper-bright); background: transparent; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.study-toggle:hover { color: var(--cyan); }
.control-note { margin: 0; color: var(--muted-inverse); font-size: 11px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.film-figure figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 30px; padding-top: 14px; }
.film-figure figcaption p { max-width: 620px; margin: 0; color: var(--muted-inverse); font-size: 13px; }
.film-figure .artwork-note { flex: 0 0 auto; color: #e0e3e3; text-align: right; }

.design-section { padding-top: clamp(92px, 12vw, 160px); padding-bottom: clamp(90px, 12vw, 158px); }
.section-heading { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); column-gap: 35px; row-gap: 21px; align-items: start; }
.section-heading .eyebrow { grid-column: 1 / -1; }
h2 { margin: 0; font-size: clamp(3rem, 6.1vw, 6.15rem); line-height: .97; }
.section-intro { max-width: 430px; align-self: end; margin: 0 0 6px auto; color: var(--muted); font-size: 16px; line-height: 1.6; }

.worked-example {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 2.15fr);
  gap: 20px 35px;
  margin-top: clamp(42px, 6vw, 70px);
  padding: 22px 0 24px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.worked-example-heading .eyebrow { margin-bottom: 12px; }
.worked-example-heading h3 {
  max-width: 340px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.5vw, 28px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.worked-example-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-self: stretch;
  padding: 0;
  margin: 0;
  list-style: none;
}

.worked-example-steps li { padding: 2px 16px 0; border-left: 1px solid var(--hairline); }
.worked-example-steps li:first-child { padding-left: 0; border-left: 0; }
.worked-example-steps li > span {
  color: var(--violet-ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.4;
  text-transform: uppercase;
}
.worked-example-steps li p { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.step-list {
  list-style: none;
  padding: 0;
  margin: clamp(54px, 8vw, 100px) 0 0;
  border-top: 1px solid var(--hairline);
}

.step-row {
  display: grid;
  grid-template-columns: 74px minmax(220px, .95fr) minmax(280px, 1.2fr);
  gap: 23px;
  align-items: baseline;
  padding: 26px 0 29px;
  border-bottom: 1px solid var(--hairline);
}

.step-number { color: var(--violet-ink); font-size: 12px; font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: .08em; }
.step-row h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(24px, 3vw, 34px); font-weight: 400; letter-spacing: -.04em; line-height: 1.15; }
.step-row p { max-width: 550px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.boundary-section { padding: clamp(75px, 10vw, 125px) 0 91px; color: var(--paper-bright); background: var(--void); }
.boundary-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); column-gap: clamp(38px, 8vw, 112px); }
.boundary-heading .eyebrow { color: var(--muted-inverse); margin-bottom: 29px; }
.boundary-heading .eyebrow-index { color: var(--violet); }
.boundary-heading h2 { max-width: 690px; }
.boundary-heading h2 em { color: #d0d5d5; }
.boundary-copy { align-self: end; padding-bottom: 6px; }
.boundary-copy p { max-width: 485px; margin: 0; color: #e0e4e3; font-size: 17px; line-height: 1.65; }
.boundary-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 27px; padding: 0; margin: 76px 0 0; list-style: none; border-top: 1px solid #495256; }
.boundary-steps li { padding-top: 17px; }
.boundary-steps li > span { color: #aeb8ba; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.boundary-steps p { max-width: 265px; margin: 16px 0 0; color: var(--paper-bright); font-family: Georgia, "Times New Roman", serif; font-size: 22px; line-height: 1.25; letter-spacing: -.025em; }

.family-section { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); column-gap: clamp(35px, 8vw, 115px); padding-top: clamp(92px, 12vw, 155px); padding-bottom: clamp(90px, 10vw, 130px); }
.family-heading .eyebrow { margin-bottom: 29px; }
.family-heading h2 { max-width: 680px; }
.family-heading h2 em { color: #495a62; }
.family-copy { align-self: end; padding-bottom: 5px; }
.family-copy p { max-width: 455px; margin: 0 0 19px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.family-index { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr); padding: 0; margin: 70px 0 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); list-style: none; }
.family-index li { min-height: 85px; display: flex; align-items: center; padding: 17px 16px 17px 0; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .035em; }
.family-index li + li { padding-left: 18px; border-left: 1px solid var(--hairline); }
.family-index .current-part { position: relative; justify-content: space-between; gap: 9px; color: var(--ink); }
.family-index .current-part::before { position: absolute; top: -1px; left: -1px; right: 0; height: 2px; background: var(--violet); content: ""; }
.part-label { color: #6331a1; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }

.site-footer { color: var(--paper-bright); background: var(--void); }
.footer-inner { min-height: 130px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; padding: 8px 0; }
.footer-inner > p { margin: 0; color: #f5f4ef; font-size: 11px; font-weight: 700; letter-spacing: .1em; line-height: 1.7; text-transform: uppercase; }
.footer-inner > p span { color: var(--muted-inverse); font-weight: 500; }
.footer-link { justify-self: end; }

@media (max-width: 820px) {
  .wrap { width: min(var(--measure), calc(100% - 44px)); }
  .hero-copy { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .action-link { margin-top: 2px; }
  .section-heading { grid-template-columns: 1fr; }
  .section-intro { margin: 0; }
  .worked-example { grid-template-columns: 1fr; row-gap: 19px; }
  .worked-example-steps { grid-column: 1; }
  .step-row { grid-template-columns: 42px minmax(0, .95fr) minmax(0, 1.2fr); gap: 16px; }
  .boundary-inner, .family-section { grid-template-columns: minmax(0, 1fr); row-gap: 29px; }
  .boundary-copy, .family-copy { padding: 0; }
  .boundary-copy p, .family-copy p { max-width: 640px; }
  .boundary-steps, .family-index { margin-top: 38px; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 74px; flex-wrap: wrap; gap: 12px 22px; padding-top: 18px; padding-bottom: 18px; }
  .brand, .footer-brand { gap: 8px; }
  .brand-wordmark { width: 105px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 12px; }
  .hero { padding-top: 46px; padding-bottom: 38px; }
  .eyebrow { font-size: 9px; letter-spacing: .13em; }
  .eyebrow-index { margin-right: 8px; }
  h1 { margin: 27px 0 0 -2px; font-size: clamp(3.75rem, 15vw, 5.1rem); line-height: .92; }
  .hero-copy { margin-top: 23px; }
  .lead { font-size: 18px; line-height: 1.5; }
  .scope-note { margin-top: 22px; padding-top: 12px; font-size: 12px; }
  .film-section { padding: 27px 0 51px; }
  .section-kicker { align-items: flex-start; margin-bottom: 13px; }
  .duration { padding-top: 1px; font-size: 9px; white-space: nowrap; }
  .film-figure figcaption { display: block; padding-top: 12px; }
  .film-figure figcaption p { font-size: 12px; }
  .film-figure .artwork-note { margin-top: 8px; text-align: left; }
  .design-section { padding-top: 76px; padding-bottom: 79px; }
  h2 { font-size: clamp(2.9rem, 12.2vw, 4.25rem); line-height: .98; }
  .section-intro { font-size: 15px; }
  .worked-example { row-gap: 16px; margin-top: 29px; padding: 18px 0 20px; }
  .worked-example-heading .eyebrow { margin-bottom: 9px; }
  .worked-example-heading h3 { font-size: 23px; }
  .worked-example-steps { grid-template-columns: 1fr; gap: 0; }
  .worked-example-steps li,
  .worked-example-steps li:first-child {
    display: grid;
    grid-template-columns: 122px minmax(0, 1fr);
    gap: 11px;
    padding: 12px 0;
    border-top: 1px solid var(--hairline);
    border-left: 0;
  }
  .worked-example-steps li > span { font-size: 9px; }
  .worked-example-steps li p { margin: 0; font-size: 13px; }
  .step-list { margin-top: 42px; }
  .step-row { grid-template-columns: 33px minmax(0, 1fr); gap: 7px 11px; padding: 22px 0 23px; }
  .step-number { grid-column: 1; grid-row: 1; padding-top: 3px; font-size: 10px; }
  .step-row h3 { grid-column: 2; grid-row: 1; font-size: 26px; }
  .step-row p { grid-column: 2; grid-row: 2; font-size: 14px; }
  .boundary-section { padding: 70px 0 66px; }
  .boundary-heading .eyebrow, .family-heading .eyebrow { margin-bottom: 24px; }
  .boundary-copy p, .family-copy p { font-size: 15px; }
  .boundary-steps { grid-template-columns: 1fr; gap: 0; margin-top: 29px; }
  .boundary-steps li { display: grid; grid-template-columns: 95px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid #495256; }
  .boundary-steps li:last-child { border-bottom: 0; }
  .boundary-steps li > span { padding-top: 3px; font-size: 9px; }
  .boundary-steps p { margin: 0; font-size: 20px; }
  .family-section { padding-top: 77px; padding-bottom: 78px; row-gap: 24px; }
  .family-index { grid-template-columns: 1fr; margin-top: 22px; }
  .family-index li, .family-index li + li { min-height: 51px; padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--hairline); }
  .family-index li:last-child { border-bottom: 0; }
  .family-index .current-part { padding-right: 2px; }
  .family-index .current-part::before { top: 0; left: -1px; right: -1px; height: 1px; }
  .footer-inner { min-height: 120px; grid-template-columns: 1fr auto; gap: 13px 18px; padding-top: 20px; padding-bottom: 20px; }
  .footer-inner > p { grid-column: 1; grid-row: 2; font-size: 9px; }
  .footer-link { grid-column: 2; grid-row: 1 / span 2; }
}

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