@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/bodoni-moda-500-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/bodoni-moda-500.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/outfit-400.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/outfit-500.woff2") format("woff2");
}

:root {
  --bg: #100e0c;
  --bg-deep: #0c0b0a;
  --ink: #f3eee6;
  --muted: #b7b0a4;
  --brass: #c6a36e;
  --line: rgba(243, 238, 230, 0.16);
  --serif: "Bodoni Moda", "Didot", "Bodoni MT", "Times New Roman", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --pad: clamp(1.15rem, 4vw, 2.75rem);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 80% 42% at 100% -10%, rgba(198, 163, 110, 0.08), transparent 52%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}

body,
.hero {
  position: relative;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

a:visited {
  color: inherit;
}

:focus {
  outline: none;
}

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

::selection {
  background: var(--brass);
  color: var(--bg-deep);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: var(--pad);
  top: 0.5rem;
  z-index: 10;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--bg);
  padding: 0.55rem 0.8rem;
  text-decoration: none;
  font-size: 0.85rem;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(74rem, calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.kicker,
h2.kicker {
  margin: 0 0 1.15rem;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--brass);
}

h1,
h2,
.dek,
.lead,
.closer,
.circuit li,
.email,
.file,
.zen__copy,
.colophon__name {
  font-family: var(--serif);
  font-weight: 500;
}

h1 {
  margin: 0;
  font-style: italic;
  font-size: clamp(4.4rem, 18vw, 6.25rem);
  letter-spacing: -0.035em;
  line-height: 0.88;
}

h2 {
  margin: 0 0 0.85rem;
  font-style: italic;
  font-size: clamp(2.6rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.lede {
  margin: 0;
  max-width: 34em;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.block {
  padding-block: clamp(4.25rem, 9vw, 7.5rem);
}

#stills,
#circuit,
#zen,
#portfolio,
#correspond {
  scroll-margin-top: 1.25rem;
}

.masthead {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: max(0.85rem, env(safe-area-inset-top)) max(var(--pad), env(safe-area-inset-right)) 0 max(var(--pad), env(safe-area-inset-left));
}

.brand,
.brand:visited {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.brand__name,
.masthead__nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mark {
  display: block;
  flex: none;
  color: var(--ink);
}

.masthead__nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1rem;
}

.masthead__nav a,
.masthead__nav a:visited {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}

.masthead__nav a:hover,
.brand:hover .brand__name {
  color: var(--brass);
}

.hero {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  min-height: 100svh;
  background: var(--bg);
}

.hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #171411;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  /* 4:5 cover in a 9:16 frame keeps her full height and trims the sides equally. */
  object-position: center center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(16, 14, 12, 0.72), transparent 22%);
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding: 1.35rem var(--pad) max(1.75rem, env(safe-area-inset-bottom));
}

.dek {
  margin: 1.05rem 0 0;
  max-width: 14em;
  font-style: normal;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.disclosure {
  margin: 1.15rem 0 0;
  max-width: 28em;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.tick {
  display: block;
  width: 2.25rem;
  height: 1px;
  margin: 1.25rem 0 0.15rem;
  background: var(--brass);
}

.hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__links a,
.hero__links a:visited {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.hero__links a:hover {
  color: var(--brass);
}

.brief__grid {
  display: grid;
  gap: 2.75rem;
}

.lead {
  margin: 0;
  max-width: 16em;
  font-style: normal;
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  line-height: 1.32;
  letter-spacing: -0.022em;
  text-wrap: pretty;
}

.fact {
  margin: 0;
  max-width: 24em;
  font-size: 1rem;
  line-height: 1.55;
}

.closer {
  margin: 1.35rem 0 0;
  max-width: 12em;
  font-style: italic;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.stills__intro {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.stills__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 0.65rem;
  width: min(76rem, calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.still {
  margin: 0;
  min-width: 0;
}

.still__media {
  background: #171411;
  border: 1px solid rgba(243, 238, 230, 0.16);
}

.still__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center center;
  background: #171411;
}

/* Seven stills: the last one sits centered under the pairs, same width as the others. */
.still:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc((100% - 0.65rem) / 2);
  justify-self: center;
}

.still figcaption {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  gap: 0.55rem;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.still .num,
.circuit .num {
  color: var(--brass);
}

.circuit {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.circuit li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  column-gap: 1rem;
  align-items: baseline;
  padding: 0.95rem 0 0.85rem;
  border-bottom: 1px solid var(--line);
  font-style: italic;
  font-size: clamp(2rem, 5.4vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.circuit .num {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.zen__copy {
  margin: 0;
  max-width: 22em;
  font-style: normal;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.file,
.file:visited {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-style: italic;
  font-size: clamp(2.15rem, 6.4vw, 4.4rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-decoration: none;
}

.file:hover,
.file:hover .file__go {
  color: var(--brass);
}

.file__go {
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.42em;
  letter-spacing: 0;
  color: var(--brass);
}

.email,
.email:visited {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--ink);
  font-style: italic;
  font-size: clamp(1.35rem, 4.6vw, 2.4rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-decoration: none;
  text-underline-offset: 0.14em;
  overflow-wrap: anywhere;
}

.email:hover {
  color: var(--brass);
  text-decoration: underline;
  text-decoration-color: var(--brass);
}

.linklist {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.linklist a,
.linklist a:visited {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr) auto;
  gap: 0.35rem 1rem;
  align-items: baseline;
  padding: 0.95rem 0;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.linklist__name {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.linklist__hint {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.linklist__go {
  color: var(--brass);
}

.linklist a:hover .linklist__name,
.linklist a:hover .linklist__go {
  color: var(--brass);
}

.colophon {
  padding: 0 0 max(2.5rem, env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.colophon .wrap {
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.colophon p {
  margin: 0;
  max-width: 38em;
}

.colophon__name {
  margin-bottom: 0.7rem;
  color: var(--ink);
  font-style: italic;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.colophon__meta {
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.miss .masthead {
  position: relative;
}

.miss__main {
  min-height: calc(100dvh - 5rem);
  min-height: calc(100svh - 5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(74rem, calc(100% - 2 * var(--pad)));
  margin-inline: auto;
  padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
}

.miss h1 {
  font-size: clamp(3.6rem, 12vw, 7rem);
}

.miss .dek {
  margin-top: 1rem;
  color: var(--muted);
}

@media (max-width: 380px) {
  .mark {
    display: none;
  }

  .brand__name,
  .masthead__nav a {
    letter-spacing: 0.12em;
  }

  .masthead__nav {
    gap: 0.65rem;
  }

  .still figcaption {
    letter-spacing: 0.08em;
    font-size: 0.62rem;
  }
}

@media (min-width: 720px) {
  .linklist a,
  .linklist a:visited {
    grid-template-columns: 8rem minmax(0, 1fr) auto;
  }
}

@media (min-width: 960px) {
  h1 {
    font-size: clamp(5.5rem, 8vw, 8.75rem);
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(42vw, calc(100svh * 9 / 16));
    align-items: stretch;
    padding-top: 0;
  }

  .hero__media {
    grid-column: 2;
    grid-row: 1;
    width: min(100%, calc(100svh * 9 / 16));
    max-height: 100svh;
    aspect-ratio: 9 / 16;
    justify-self: end;
    align-self: center;
    min-height: 0;
  }

  .hero__shade {
    background: linear-gradient(to bottom, rgba(16, 14, 12, 0.5), transparent 7rem);
  }

  .hero__copy {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    margin-top: 0;
    max-width: 40rem;
    padding: 7.5rem clamp(2rem, 4vw, 4.75rem) 4.5rem;
  }

  .brief__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.8fr);
    gap: 4.5rem;
    align-items: end;
  }

  .stills__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem 1.15rem;
  }

  .still:last-child:nth-child(3n + 1) {
    grid-column: 2;
    width: auto;
    justify-self: stretch;
  }

  .zen__grid {
    display: grid;
    grid-template-columns: minmax(8rem, 0.4fr) minmax(0, 1fr);
    gap: 1.5rem 3rem;
    align-items: center;
  }

  .zen__grid h2 {
    margin: 0;
  }
}

@media (hover: hover) and (pointer: fine) {
  .file__go {
    transition: transform 180ms ease;
  }

  .file:hover .file__go {
    transform: translateX(0.3rem);
  }
}

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

  .file__go {
    transition: none;
  }

  .file:hover .file__go {
    transform: none;
  }
}

@media (forced-colors: active) {
  .tick,
  .circuit,
  .circuit li,
  .file,
  .linklist,
  .linklist a,
  .colophon .wrap {
    border-color: CanvasText;
  }

  .hero__shade {
    display: none;
  }

  .hero__copy {
    background: Canvas;
  }
}

@media print {
  body {
    background: #fff;
    color: #111;
  }

  .hero {
    min-height: 0;
    display: block;
  }

  .hero__shade,
  .masthead {
    display: none;
  }

  .hero__media {
    position: relative;
    height: 8in;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-family: "Outfit", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0;
  }
}
