:root {
  color-scheme: light;
  --ink: #11100f;
  --paper: #f1eee8;
  --lavender: #e7e2ff;
  --line: rgba(17, 16, 15, 0.24);
  --muted: #69645d;
  --page: min(100% - 48px, 1500px);
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
}

.header-inner,
.hero-inner,
.collection-inner,
.closing-inner,
.footer-inner {
  width: var(--page);
  margin-inline: auto;
}

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

.brand {
  justify-self: start;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.header-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.language-link {
  justify-self: end;
  padding: 7px 0 6px;
  border-bottom: 1px solid currentColor;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.language-link:hover,
.footer-language:hover {
  opacity: 0.55;
}

.hero {
  min-height: max(720px, 100svh);
  display: flex;
  padding-top: 76px;
  background: var(--lavender);
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
  padding: clamp(48px, 7vw, 100px) 0 42px;
}

.hero-main {
  grid-column: 1 / 9;
}

.kicker,
.collection-label,
.closing-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero-title {
  margin: clamp(34px, 6vh, 64px) 0 0;
  font-family: var(--serif);
  font-size: clamp(7rem, 15vw, 13.5rem);
  font-weight: 400;
  letter-spacing: -0.072em;
  line-height: 0.78;
}

.hero-subtitle {
  max-width: 760px;
  margin: clamp(44px, 7vh, 76px) 0 0;
  font-size: clamp(2.25rem, 4.5vw, 4.8rem);
  font-weight: 480;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-aside {
  grid-column: 9 / 13;
  align-self: end;
  padding-left: clamp(22px, 3vw, 46px);
  border-left: 1px solid var(--line);
}

.hero-copy {
  margin: 0;
  font-size: clamp(0.98rem, 1.25vw, 1.18rem);
  line-height: 1.55;
}

.hero-facts {
  margin: clamp(32px, 5vh, 52px) 0 0;
}

.hero-fact {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0 12px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  line-height: 1.4;
}

.hero-fact dt {
  color: var(--muted);
}

.hero-fact dd {
  margin: 0;
}

.scroll-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  margin-top: clamp(32px, 5vh, 54px);
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-link::after {
  content: "↓";
  font-size: 1rem;
  font-weight: 400;
}

.collection {
  padding: clamp(100px, 12vw, 180px) 0 clamp(120px, 15vw, 220px);
}

.collection-intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  margin-bottom: clamp(80px, 11vw, 160px);
}

.collection-label {
  grid-column: 1 / 4;
  margin-top: 9px;
  color: var(--muted);
}

.collection-heading {
  grid-column: 4 / 13;
}

.collection-heading h2 {
  max-width: 1080px;
  margin: 0;
  font-size: clamp(3.4rem, 7.2vw, 7.5rem);
  font-weight: 480;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.collection-copy {
  max-width: 680px;
  margin: clamp(28px, 4vw, 48px) 0 0;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.55;
}

.motion-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(76px, 11vw, 160px) 24px;
}

.motion-item {
  grid-column: 1 / -1;
  min-width: 0;
  scroll-margin-top: 24px;
}

.motion-item--left {
  grid-column: 1 / 11;
}

.motion-item--right {
  grid-column: 3 / 13;
}

.motion-item--center {
  grid-column: 2 / 12;
}

.motion-item--half-left {
  grid-column: 1 / 7;
}

.motion-item--half-right {
  grid-column: 7 / 13;
}

.motion-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #fff;
}

.motion-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(17, 16, 15, 0.12);
  pointer-events: none;
}

.motion-frame picture,
.motion-frame img {
  display: block;
  width: 100%;
}

.motion-frame img {
  height: auto;
}

.motion-caption {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  padding-top: 18px;
}

.motion-number {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.motion-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.25vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.motion-note {
  max-width: 280px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: right;
}

.motion-item--half-left .motion-caption,
.motion-item--half-right .motion-caption {
  grid-template-columns: 42px minmax(0, 1fr);
}

.motion-item--half-left .motion-note,
.motion-item--half-right .motion-note {
  grid-column: 2;
  text-align: left;
}

.closing,
.site-footer {
  background: var(--ink);
  color: var(--paper);
}

.closing-inner {
  min-height: min(760px, 86svh);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  align-items: center;
  padding: 42px 0;
}

.closing-kicker {
  align-self: start;
  color: rgba(241, 238, 232, 0.66);
}

.closing-word {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(8rem, 25vw, 25rem);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.72;
  text-align: center;
}

.closing-meta {
  align-self: end;
  margin: 0;
  color: rgba(241, 238, 232, 0.66);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-align: right;
  text-transform: uppercase;
}

.closing-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.closing-links a {
  padding: 10px 14px;
  border: 1px solid rgba(241, 238, 232, 0.48);
  border-radius: 999px;
  color: var(--paper);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.closing-links a:hover,
.closing-links a:focus-visible {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.study-cta {
  background: var(--lavender);
}

.study-cta-inner {
  width: var(--page);
  min-height: min(780px, 92svh);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-content: center;
  gap: 24px;
  padding: clamp(80px, 10vw, 150px) 0;
}

.study-cta-kicker,
.study-dialog-kicker {
  grid-column: 1 / 4;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.study-cta h2 {
  grid-column: 4 / 13;
  max-width: 1050px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.4rem, 9vw, 9.5rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.study-cta-copy {
  grid-column: 4 / 10;
  max-width: 680px;
  margin: 28px 0 0;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.55;
}

.study-cta-button,
.study-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font: 750 0.72rem/1 var(--sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.study-cta-button {
  grid-column: 10 / 13;
  align-self: end;
  min-height: 72px;
  margin-top: 28px;
  padding: 0 24px;
}

.study-cta-button b,
.study-submit b {
  font-size: 1.1rem;
  font-weight: 400;
}

.study-modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.study-modal[hidden] {
  display: none;
}

.study-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 16, 15, 0.84);
  backdrop-filter: blur(10px);
}

.study-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100svh - 40px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(34px, 6vw, 76px);
  border: 1px solid rgba(17, 16, 15, 0.2);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.42);
}

.study-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: 750 0.65rem/1 var(--sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.study-dialog-kicker {
  margin: 0;
}

.study-dialog h2 {
  max-width: 620px;
  margin: 30px 0 18px;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7vw, 6.6rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.study-dialog-copy {
  max-width: 580px;
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.study-form {
  display: grid;
  gap: 18px;
}

.study-form > label:not(.study-consent) {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.study-form input:not([type="checkbox"]),
.study-form select {
  min-height: 48px;
  padding: 0 0 9px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 400 1rem/1.2 var(--sans);
}

.study-form input:focus,
.study-form select:focus {
  border-bottom-color: var(--ink);
}

.study-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.study-consent {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.study-consent input {
  width: 17px;
  height: 17px;
  accent-color: var(--ink);
}

.study-submit {
  min-height: 62px;
  margin-top: 3px;
  padding: 0 22px;
}

.study-submit:disabled {
  cursor: wait;
  opacity: 0.6;
}

.study-feedback {
  min-height: 18px;
  margin: 0;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.45;
}

.study-feedback[data-status="success"] {
  color: #316820;
}

.study-feedback[data-status="error"] {
  color: #a52718;
}

.study-form small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.45;
}

.footer-inner {
  min-height: 94px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(241, 238, 232, 0.24);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-inner p {
  margin: 0;
}

.footer-language {
  justify-self: end;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  :root {
    --page: min(100% - 32px, 1500px);
  }

  .hero {
    min-height: max(820px, 100svh);
  }

  .hero-inner {
    display: block;
    padding-top: clamp(54px, 9vw, 82px);
  }

  .hero-main {
    max-width: 900px;
  }

  .hero-title {
    font-size: clamp(7rem, 23vw, 11rem);
  }

  .hero-subtitle {
    max-width: 720px;
    font-size: clamp(2.4rem, 7vw, 4.25rem);
  }

  .hero-aside {
    max-width: 590px;
    margin: clamp(58px, 9vw, 88px) 0 0 auto;
    padding: 28px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .collection-label {
    grid-column: 1 / 4;
  }

  .collection-heading {
    grid-column: 4 / 13;
  }

  .motion-item--left {
    grid-column: 1 / 12;
  }

  .motion-item--right {
    grid-column: 2 / 13;
  }

  .motion-item--center {
    grid-column: 1 / -1;
  }

  .motion-caption {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .study-cta-kicker {
    grid-column: 1 / 4;
  }

  .study-cta h2 {
    grid-column: 4 / 13;
  }

  .study-cta-copy {
    grid-column: 4 / 9;
  }

  .study-cta-button {
    grid-column: 9 / 13;
  }

  .motion-note {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 640px) {
  :root {
    --page: calc(100% - 24px);
  }

  .header-inner {
    min-height: 62px;
    grid-template-columns: 1fr auto;
  }

  .header-note {
    display: none;
  }

  .brand {
    font-size: 1.28rem;
  }

  .hero {
    min-height: auto;
    padding-top: 62px;
  }

  .hero-inner {
    padding: 46px 0 34px;
  }

  .hero-title {
    margin-top: 40px;
    font-size: clamp(6.3rem, 30vw, 7.4rem);
    line-height: 0.78;
  }

  .hero-subtitle {
    margin-top: 48px;
    font-size: clamp(2.25rem, 10.8vw, 2.8rem);
    letter-spacing: -0.05em;
    line-height: 1;
  }

  .hero-aside {
    margin-top: 48px;
    padding-top: 26px;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .hero-fact {
    grid-template-columns: 82px minmax(0, 1fr);
    font-size: 0.76rem;
  }

  .scroll-link {
    margin-top: 34px;
  }

  .collection {
    padding: 82px 0 110px;
  }

  .collection-intro {
    display: block;
    margin-bottom: 72px;
  }

  .collection-label {
    margin: 0 0 28px;
  }

  .collection-heading h2 {
    max-width: 350px;
    font-size: clamp(3rem, 14vw, 3.8rem);
    letter-spacing: -0.06em;
    line-height: 0.94;
  }

  .collection-copy {
    margin-top: 28px;
    font-size: 0.98rem;
  }

  .motion-grid {
    display: block;
  }

  .motion-item,
  .motion-item--left,
  .motion-item--right,
  .motion-item--center,
  .motion-item--half-left,
  .motion-item--half-right {
    margin-bottom: 74px;
  }

  .motion-item:last-child {
    margin-bottom: 0;
  }

  .motion-caption,
  .motion-item--half-left .motion-caption,
  .motion-item--half-right .motion-caption {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    padding-top: 12px;
  }

  .motion-title {
    font-size: 1.45rem;
  }

  .motion-note,
  .motion-item--half-left .motion-note,
  .motion-item--half-right .motion-note {
    grid-column: 2;
    margin-top: 2px;
    font-size: 0.73rem;
    text-align: left;
  }

  .closing-inner {
    min-height: 520px;
    padding: 32px 0;
  }

  .closing-word {
    font-size: clamp(6.5rem, 31vw, 8rem);
  }

  .closing-meta {
    max-width: 230px;
    margin-left: auto;
    line-height: 1.5;
  }

  .closing-links {
    justify-content: flex-start;
  }

  .footer-inner {
    min-height: 134px;
    grid-template-columns: 1fr auto;
    align-content: center;
    gap: 18px;
  }

  .study-cta-inner {
    min-height: auto;
    display: block;
    padding: 88px 0;
  }

  .study-cta h2 {
    margin-top: 28px;
    font-size: clamp(3.25rem, 14vw, 4.2rem);
    line-height: 0.9;
  }

  .study-cta-copy {
    margin-top: 28px;
    font-size: 0.98rem;
  }

  .study-cta-button {
    width: 100%;
    margin-top: 34px;
  }

  .study-modal {
    align-items: end;
    padding: 0;
  }

  .study-dialog {
    width: 100%;
    max-height: 94svh;
    padding: 58px 24px 30px;
  }

  .study-dialog h2 {
    margin-top: 26px;
    font-size: clamp(3.35rem, 15vw, 4.1rem);
  }

}

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