:root {
  --paper: #f3eee4;
  --ink: #2a241f;
  --muted: #6a6056;
  --rule: #d8cfc2;
  --accent: #8a3f32;
  --accent-hover: #6c2f26;
  --focus: #2a241f;
  --slot: #e8e1d4;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

.page {
  width: min(38rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.25rem 0 4rem;
}

.identity {
  margin-bottom: 2.25rem;
}

.location {
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}

h1 {
  margin: 0.4rem 0 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-optical-sizing: auto;
  font-size: clamp(2.35rem, 8vw, 3.35rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0 0 0.55rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-optical-sizing: auto;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.miranda {
  margin: 0 0 1.35rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-optical-sizing: auto;
  font-size: clamp(1.35rem, 4.4vw, 1.7rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
}

.about {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  color: var(--ink);
}

.edison {
  margin: 0;
  padding: 0 0 0 1rem;
  border-left: 2px solid var(--rule);
  color: var(--muted);
}

.edison p {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.5;
}

.edison footer {
  margin-top: 0.45rem;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-style: normal;
  letter-spacing: 0.02em;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.2rem;
  margin: 2.2rem 0 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--rule);
}

.toc a {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.toc a:hover {
  color: var(--accent-hover);
}

section {
  margin-top: 2.35rem;
  padding-top: 0.15rem;
}

section p {
  margin: 0 0 0.75rem;
}

.acting-headshot {
  margin: 0 0 1.15rem;
}

.acting-headshot img {
  display: block;
  width: 100%;
  height: auto;
}

.credit-lead {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.45;
}

.awaiting {
  display: inline-block;
  margin: 0 0.5rem 0.35rem 0;
  padding: 0.12rem 0.45rem;
  border: 1px solid var(--rule);
  color: var(--muted);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 0.12em;
}

.note {
  color: var(--muted);
  font-size: 0.92rem;
}

.photo-slots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin: 1rem 0 0.85rem;
}

@media (min-width: 560px) {
  .photo-slots {
    grid-template-columns: 1fr 1fr;
  }
}

.photo-slots figure {
  margin: 0;
}

.photo-slots img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.acting-stills img {
  aspect-ratio: auto;
  max-height: 22rem;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 560px) {
  .acting-stills {
    grid-template-columns: 1fr 1fr;
  }
}

.slot {
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(180deg, #efe8da 0%, var(--slot) 100%);
  border: 1px dashed #c9bfb0;
}

figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.84em;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
}

.links a,
.toc a,
section a {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.links a:hover,
.toc a:hover,
section a:hover {
  color: var(--accent-hover);
}

.links a:focus-visible,
.toc a:focus-visible,
section a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (min-width: 720px) {
  body {
    font-size: 1.125rem;
  }

  .page {
    padding-top: 6.5rem;
    padding-bottom: 5rem;
  }

  .identity {
    margin-bottom: 2.6rem;
  }

  .miranda {
    margin-bottom: 1.5rem;
  }
}

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

.main-photo {
  margin: 1.35rem 0 0;
}

.main-photo img {
  display: block;
  width: 100%;
  max-width: 22rem;
  height: auto;
}

.miranda-intro {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  margin: 0 0 1.15rem;
}

.miranda-intro img {
  display: block;
  width: 6.75rem;
  height: 8.5rem;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

.miranda-intro .miranda {
  margin: 0;
  font-size: 1.28rem;
}

h3 {
  margin: 1.15rem 0 0.35rem;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.credits {
  list-style: none;
  margin: 0 0 0.35rem;
  padding: 0;
}

.credits li {
  display: grid;
  grid-template-columns: 3.1rem 1fr;
  column-gap: 0.7rem;
  margin: 0 0 0.38rem;
  font-size: 0.98rem;
  line-height: 1.4;
}

.credits .year {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.credits cite {
  font-style: italic;
  font-family: "Source Serif 4", Georgia, serif;
}

.credits li.featured span:last-child {
  font-weight: 600;
}
