@font-face {
  font-family: Archivo;
  src: url("/assets/reference/archivo-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Archivo;
  src: url("/assets/reference/archivo-wght-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #110f18;
  --panel: #1b1725;
  --foreground: #fbf8fd;
  --muted: #d1c9d9;
  --accent: #e2c8fc;
  --line: #4c415b;
  --header-height: 4.25rem;
  --gutter: clamp(1.1rem, 5vw, 5rem);
  font-family: Archivo, system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  scroll-padding-top: calc(var(--header-height) + 1rem);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
p { margin: 0; line-height: 1.55; }
em { color: var(--accent); font-weight: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }

.shell {
  width: min(100%, 87rem);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 5;
  background: var(--accent);
  color: var(--background);
  padding: .65rem 1rem;
  translate: 0 -150%;
}
.skip-link:focus { translate: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--background);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: var(--header-height);
  margin-inline: auto;
  width: min(100%, 87rem);
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.signature {
  padding-block: .55rem;
  text-decoration: none;
  font-size: clamp(.95rem, 2vw, 1.125rem);
  font-weight: 680;
  letter-spacing: -.025em;
  line-height: 1.1;
}
.signature span {
  display: block;
  margin-top: .32rem;
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 430;
  letter-spacing: 0;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(.65rem, 3vw, 2rem);
}
.site-header nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: .9375rem;
  font-weight: 570;
  text-decoration: none;
}
.site-header nav a:hover { text-decoration: underline; }
.site-header .nav-cta {
  border: 1px solid var(--line);
  border-radius: 100vw;
  color: var(--accent);
  padding-inline: clamp(.75rem, 2vw, 1.125rem);
}

main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  isolation: isolate;
}
.portrait-track {
  grid-area: 1 / 1 / 3 / 2;
  min-width: 0;
  pointer-events: none;
}
.portrait {
  position: sticky;
  top: var(--header-height);
  height: calc(100svh - var(--header-height));
  min-height: 24rem;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 87% 52%, #392a4b, transparent 65%);
}
.portrait img {
  position: absolute;
  inset: 0 0 auto auto;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: center 64%;
  opacity: var(--photo-opacity, 1);
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--background) 32%, #110f18f2 39%, #110f180a 66%),
    linear-gradient(0deg, var(--background), #110f1800 34%);
}

.hero, .story, .access { position: relative; grid-column: 1; }
.hero { grid-row: 1; }
.story { grid-row: 2; }
.access { grid-row: 3; }
.hero {
  display: grid;
  align-items: center;
  min-height: calc(92svh - var(--header-height));
  padding-block: clamp(3rem, 8vh, 7rem);
}
.slogan, .section-label {
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-size: .9375rem;
  font-weight: 650;
}
.hero h1, .story h2, .access h2 {
  margin: 0;
  font-weight: 690;
  line-height: .99;
  letter-spacing: -.069em;
  text-wrap: balance;
}
.hero h1 {
  max-width: 12.5ch;
  font-size: clamp(3.5rem, 7.2vw, 7.1rem);
}
.hero h1 em { display: inline-block; }
.lead {
  max-width: 29ch;
  margin-block: 1.65rem 1.85rem;
  color: var(--muted);
  font-size: clamp(1.075rem, 1.8vw, 1.3rem);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 100vw;
  font-size: 1rem;
  font-weight: 630;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { text-decoration: underline; }
.button:disabled { opacity: .65; cursor: wait; }
.button-primary { color: #1c1327; background: var(--accent); }
.button-outline { color: var(--accent); border-color: var(--line); background: var(--panel); }

.story {
  padding-block: clamp(3.75rem, 9vw, 8rem);
  border-top: 1px solid #e2c8fc2b;
  background: linear-gradient(100deg, #110f18ee, #110f1833 100%);
}
.story-content { max-width: 40rem; }
.story h2, .access h2 {
  max-width: 14ch;
  font-size: clamp(2.75rem, 5.2vw, 5.15rem);
}
.chapters {
  display: grid;
  gap: .65rem;
  margin-block: 2rem 1.65rem;
}
.chapters details {
  background: #1b1725eb;
  border: 1px solid var(--line);
  border-radius: .75rem;
}
.chapters details[open] { border-color: #a68bb9; }
summary { cursor: pointer; overflow-wrap: anywhere; }
.chapters summary, .access-question summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: .8rem 1rem;
  list-style: none;
  font-size: 1.075rem;
  font-weight: 620;
}
.chapters summary::-webkit-details-marker,
.access-question summary::-webkit-details-marker { display: none; }
.chapters summary::after, .access-question summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 460;
}
.chapters details[open] summary::after,
.access-question[open] summary::after { content: "−"; }
.chapters details p, .access-question p {
  max-width: 56ch;
  padding: 0 1rem 1rem;
  color: var(--muted);
}
.chapters details .be-intro {
  color: var(--foreground);
  font-size: 1.0625rem;
}
.method-trigger {
  max-width: calc(100% - 2rem);
  margin: 0 1rem 1rem;
}
.text-link { color: var(--accent); text-underline-offset: .2em; }

.access {
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse at 8% 0%, #2e2041, transparent 65%), var(--background);
  padding-block: clamp(3.75rem, 8vw, 7rem);
}
.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(2rem, 6vw, 6rem);
  row-gap: 2.5rem;
}
.access-copy > p:not(.section-label) {
  max-width: 35ch;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: 1.125rem;
}
.access-question {
  margin-top: 1.3rem;
  border-block: 1px solid var(--line);
  max-width: 25rem;
}
.access-question summary { padding-inline: 0; }
.access-question p { padding-inline: 0; }

.application {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: clamp(1rem, 3.5vw, 2rem);
  background: var(--panel);
}
.application h3, .event-link h3 {
  margin: 0;
  font-weight: 670;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  letter-spacing: -.035em;
}
.form-progress {
  margin-block: .9rem 1.3rem;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 560;
}
.form-track {
  position: relative;
  height: 3px;
  margin-top: .4rem;
  overflow: hidden;
  border-radius: 100vw;
  background: var(--line);
}
.form-track::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--form-progress, 25%);
  border-radius: inherit;
  background: var(--accent);
}
.form-error { margin-bottom: .75rem; color: #ffbcc6; }
.form-error:empty { display: none; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend {
  max-width: 100%;
  margin-bottom: 1rem;
  padding: 0;
  font-size: 1.125rem;
  font-weight: 620;
}
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
form label { display: block; font-size: .9375rem; }
fieldset > label + label { margin-top: .9rem; }
form input:not([type="checkbox"]), form textarea, form select {
  width: 100%;
  min-height: 3rem;
  margin-top: .35rem;
  border: 1px solid var(--line);
  border-radius: .45rem;
  padding: .65rem .7rem;
  color: var(--foreground);
  background-color: var(--background);
  font-size: 1rem;
}
form select {
  appearance: none;
  padding-right: 2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 15px) center, calc(100% - 10px) center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
form textarea { resize: vertical; }
form [aria-invalid="true"] { border-color: #ffbcc6; }
.optional { color: var(--muted); font-size: .875rem; }
#request-review {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .4rem 1rem;
  margin: 0 0 1.15rem;
  padding: .8rem;
  border-radius: .45rem;
  background: var(--background);
  font-size: .9375rem;
}
#request-review dt { color: var(--muted); }
#request-review dd { margin: 0; overflow-wrap: anywhere; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .6rem;
  margin-top: 1.35rem;
}
.consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .65rem;
  align-items: start;
  margin-top: 1rem;
}
.consent input {
  width: 1.2rem;
  height: 1.2rem;
  margin: .15rem 0 0;
  accent-color: var(--accent);
}
.consent label { min-height: 1.75rem; cursor: pointer; }
.form-privacy { color: var(--muted); font-size: .9375rem; }
.form-privacy summary {
  min-height: 2rem;
  padding-block: .25rem;
  color: var(--accent);
}
.form-privacy p { overflow-wrap: anywhere; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#request-success { margin-top: 1.3rem; }
#request-success h4 { margin: 0 0 .5rem; font-size: 1.25rem; color: var(--accent); }

.method-surface {
  --method-ink: #171615;
  --method-muted: #4f4946;
  --method-accent: #8b2e10;
  --method-border: #dcd6d0;
  --method-paper: #f9f8f6;
  color: var(--method-ink);
  color-scheme: light;
  background-color: var(--method-paper);
}
.method-surface :focus-visible { outline-color: var(--method-accent); }
.method-dialog {
  width: min(74rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--method-border);
  border-radius: 1.25rem;
}
.method-dialog::backdrop {
  background: #100c19be;
  backdrop-filter: blur(5px);
}
body:has(.method-dialog[open]) { overflow: hidden; }
.method-toolbar {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  justify-content: flex-end;
  padding: .65rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--method-border);
  background-color: var(--method-paper);
}
.method-secondary {
  min-height: 2.75rem;
  color: var(--method-ink);
  border-color: var(--method-border);
  background: #fff;
}
.method-primary { color: #fff; background: var(--method-ink); }
.method-content { padding: clamp(1rem, 4.5vw, 3.5rem); }
.method-title, .method-phases-title {
  margin: 0;
  font-weight: 720;
  text-transform: uppercase;
  text-wrap: balance;
  letter-spacing: -.06em;
}
.method-title {
  max-width: 13ch;
  font-size: clamp(2.55rem, 7vw, 5.75rem);
  line-height: .98;
}
.method-phases { margin-block: clamp(2.25rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem); }
.method-phases-title {
  max-width: 18ch;
  font-size: clamp(1.85rem, 4.4vw, 3.9rem);
  line-height: 1;
}
.method-intro {
  max-width: 49ch;
  margin-top: 1rem;
  color: var(--method-muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}
.method-grid {
  display: grid;
  gap: clamp(1rem, 3vw, 1.9rem);
  margin-top: clamp(1.45rem, 4vw, 3.25rem);
}
.method-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.2rem, 4vw, 3rem);
  padding: clamp(1.15rem, 3.5vw, 2.6rem);
  border-radius: clamp(.8rem, 2vw, 1.4rem);
  background: #eeece8;
}
.method-card:nth-child(2) {
  color: #fffaf5;
  background: linear-gradient(120deg, #84270e, #a53b16);
}
.method-card:nth-child(3) {
  color: #fffaf5;
  background: linear-gradient(120deg, #41170e, #79280e);
}
.method-card-copy { max-width: 43ch; }
.method-card .method-step {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .65rem;
  font-size: .875rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.method-card:first-child .method-step { color: var(--method-accent); }
.method-step::before {
  width: 1.75rem;
  height: 2px;
  background: currentColor;
  content: "";
}
.method-number {
  display: block;
  opacity: .2;
  font-size: clamp(4.8rem, 11vw, 9.4rem);
  font-weight: 760;
  line-height: .82;
  letter-spacing: -.075em;
}
.method-card :is(h3, h4) {
  position: relative;
  margin: -.12em 0 .24em;
  font-size: clamp(2.15rem, 5.15vw, 4.5rem);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.method-card ul {
  display: grid;
  gap: .45rem;
  margin: 1rem 0 0;
  padding-inline-start: 1.1rem;
  line-height: 1.45;
}
.method-card li::marker { color: currentColor; }
.method-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: .75rem;
  background-color: var(--method-border);
}
.method-photo-study {
  object-position: center 62%;
  filter: brightness(1.08);
}
.method-photo-bridge { object-position: center 47%; }

@media (min-width: 58rem) and (min-height: 48rem) and (prefers-reduced-motion: no-preference) {
  .method-card { position: sticky; top: calc(var(--header-height) + 1rem); }
  .method-card:nth-child(2) { top: calc(var(--header-height) + 1.55rem); }
  .method-card:nth-child(3) { top: calc(var(--header-height) + 2.1rem); }
}
@media (prefers-reduced-motion: no-preference) {
  .method-dialog[open] { animation: method-open 220ms ease-out both; }
  @keyframes method-open {
    from { opacity: 0; translate: 0 .65rem; }
  }
}
.method-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--method-border);
}
.method-end p { font-weight: 620; }
.method-page { display: block; padding-block: clamp(1rem, 4vw, 3rem); }
.method-page .method-surface { border-radius: 1.2rem; }
.method-more {
  display: grid;
  gap: .5rem;
  max-width: 61ch;
  margin-block: 2rem;
}
.method-more h2 { margin: 0; font-size: 1.3rem; }
.method-more p { color: var(--method-muted); }
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .35rem 1.5rem;
  padding-block: 1.4rem 2rem;
  color: var(--muted);
  font-size: .9375rem;
}
.footer-credit { font-size: .8125rem; font-weight: 430; }
.footer a { display: inline-flex; align-items: center; min-height: 2.75rem; }

@media (max-width: 46rem) {
  .method-card { grid-template-columns: minmax(0, 1fr); }
  .method-photo { aspect-ratio: 16 / 10; }
  .method-dialog {
    width: calc(100% - .75rem);
    max-height: calc(100dvh - .75rem);
  }
}
@media (max-width: 51rem) {
  .access-grid { column-gap: 1.35rem; }
  .portrait img { width: 71%; }
}
@media (max-width: 43rem) {
  .portrait img {
    width: 100%;
    height: clamp(20rem, 65svh, 33rem);
    object-position: center 74%;
  }
  .portrait::after {
    background: linear-gradient(0deg, var(--background) 29%, #110f18c9 39%, #110f1800 66%);
  }
  .portrait {
    --photo-opacity: 1;
    background: radial-gradient(ellipse at 90% 32%, #3b2a4c80, transparent 65%);
  }
  .hero {
    min-height: auto;
    padding-block: clamp(16.5rem, 47svh, 27rem) 3.5rem;
  }
  .hero h1 {
    max-width: 13ch;
    font-size: clamp(2.65rem, 11vw, 4.55rem);
  }
  .slogan, .section-label { margin-bottom: .95rem; }
  .lead { margin-block: 1.1rem 1.4rem; }
  .story { background: linear-gradient(110deg, #110f18dd, #110f184a); }
  .story h2, .access h2 { font-size: clamp(2.6rem, 9.5vw, 4rem); }
  .access-grid { grid-template-columns: minmax(0, 1fr); row-gap: 1.7rem; }
}
@media (max-width: 24rem) {
  .site-header nav a { font-size: .875rem; }
  .field-pair { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .portrait { position: relative; }
}
