:root {
  color-scheme: dark;
  --ink: #101014;
  --paper: #f1eee8;
  --soft: #bdb9b3;
  --line: rgb(255 255 255 / .16);
  --gutter: clamp(1.2rem, 6vw, 7.5rem);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Baskerville, "Times New Roman", serif;
  font-family: var(--sans);
  font-synthesis: none;
  color: var(--paper);
  background: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid #f8dba6; outline-offset: 5px; }
::selection { color: var(--ink); background: var(--paper); }

.wrap { width: min(81rem, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.space { padding-block: clamp(3.8rem, 8vw, 8rem); }
.skip { position: fixed; top: 1rem; left: 1rem; z-index: 10; padding: .8rem 1rem; background: var(--ink); transform: translateY(-200%); }
.skip:focus { transform: none; }
.masthead {
  position: absolute;
  z-index: 4;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  min-height: 4.55rem;
  border-bottom: 1px solid rgb(255 255 255 / .26);
}
.wordmark { font-size: clamp(.99rem, 1.25vw, 1.2rem); font-weight: 600; letter-spacing: -.045em; }
.masthead nav { display: flex; gap: clamp(.9rem, 2.65vw, 2.25rem); align-items: center; font-size: .875rem; }
.masthead nav a { padding-block: .75rem; }
.masthead nav a:hover, .hero-credit:hover:is(a), .footer a:hover { text-decoration: underline; text-underline-offset: .35em; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 32rem;
  height: 92vh;
  height: 92svh;
  max-height: 80rem;
  overflow: hidden;
  background: #242731;
}
.hero-visual, .hero-visual img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-visual { z-index: -2; overflow: hidden; }
.hero-visual img { object-fit: cover; object-position: var(--focal, 53% 48%); transform: translateY(var(--drift, 0px)) scale(1.055); }
.portrait-slides img { z-index: 2; }
.portrait-slides .portrait-inactive { opacity: 0; z-index: 0; }
.portrait-slides .portrait-inactive.portrait-leaving { opacity: 1; z-index: 1; }
.portrait-slides [data-portrait="portrait-desert"] { object-position: 49% 55%; }
.portrait-slides [data-portrait="portrait-mountains"] { object-position: 38% 49%; }
.hero-shade {
  z-index: -1;
  background: linear-gradient(180deg, rgb(7 8 13 / .64), transparent 24%),
    linear-gradient(0deg, rgb(8 8 12 / .96), rgb(8 8 12 / .53) 25%, transparent 62%),
    linear-gradient(90deg, rgb(10 10 15 / .23), transparent 63%);
}
.hero-inner { padding: 5.8rem var(--gutter) 1.65rem; }
.hero-type { max-width: 78rem; }
.eyebrow { font-size: .875rem; line-height: 1.4; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 {
  margin: .17em 0 .12em -.036em;
  font-size: clamp(3.75rem, 9.45vw, 8.25rem);
  line-height: .91;
  font-weight: 500;
  letter-spacing: -.07em;
  overflow-wrap: anywhere;
}
.hero-bottom {
  margin-top: clamp(1.25rem, 4.8vh, 3.5rem);
  min-height: 3rem;
  border-top: 1px solid rgb(255 255 255 / .28);
  padding-top: .75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .65rem 1rem;
  color: #e8e3db;
  font-size: .875rem;
}
.scroll-link { display: inline-flex; align-items: center; gap: .55rem; width: fit-content; }
.scroll-link span { width: .85rem; height: 1px; background: currentColor; transition: width .25s ease; }
.scroll-link:hover span { width: 1.25rem; }
.scene-switcher { display: flex; gap: .15rem; }
.scene-switcher button {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8rem;
  cursor: pointer;
  min-height: 2.4rem;
  padding: .3rem .68rem;
  color: rgb(255 255 255 / .78);
}
.scene-switcher button:hover { color: #fff; }
.scene-switcher button[aria-pressed="true"] { border-color: rgb(255 255 255 / .38); color: #fff; background: rgb(12 12 14 / .28); }

.display { font: 450 clamp(2.7rem, 6.25vw, 5.9rem)/.99 var(--sans); letter-spacing: -.065em; margin: .18em 0 0 -.034em; }
.display em, .film-hero h1 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
.section-intro { display: grid; grid-template-columns: minmax(0,1.57fr) minmax(14rem,.8fr); gap: 1.15rem clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(2.3rem, 5.2vw, 5.2rem); }
.muted, .metadata { color: var(--soft); }
.section-copy, .project-note p { color: #d1cdc6; line-height: 1.6; font-size: clamp(1rem, 1.32vw, 1.12rem); max-width: 47ch; }
.bio > div { margin-bottom: 0; border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 4vw, 4rem); }
.bio h2 { font-size: 1.05rem; font-weight: 500; }
#about, #chapters, #films, #photographs, #other-title { scroll-margin-top: 1.5rem; }

.journey-intro { margin-bottom: clamp(1.75rem, 4vw, 3.5rem); }
.timeline-bar { position: sticky; top: 0; z-index: 3; background: rgb(16 16 20 / .93); border-block: 1px solid var(--line); backdrop-filter: blur(14px); }
.timeline-nav { display: flex; gap: clamp(.25rem, 2.6vw, 2.15rem); overflow-x: auto; scrollbar-width: thin; }
.timeline-nav a {
  flex: none;
  padding: .95rem .75rem;
  color: var(--soft);
  border-bottom: 1px solid transparent;
  font-size: .875rem;
  white-space: nowrap;
}
.timeline-nav a:hover, .timeline-nav a[aria-current] { color: var(--paper); border-bottom-color: var(--paper); }
.timeline-nav a:focus-visible { outline-offset: -4px; }

.chapter-stack, .extra-grid { display: grid; gap: clamp(1.4rem, 4.3svh, 3.1rem); }
.chapter-stack { padding-top: clamp(1.25rem, 3.2svh, 2.5rem); }
.chapter-panel { scroll-margin-top: 4.7rem; }
.project-reel {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  overflow: hidden;
  min-height: 28rem;
  height: 82svh;
  max-height: 74rem;
  background: #1a1b20;
}
.reel-slides, .reel-slide, .reel-shade { position: absolute; inset: 0; }
.reel-slides { z-index: -2; }
.reel-slide { visibility: hidden; overflow: hidden; }
.reel-slide.is-current { visibility: visible; z-index: 2; }
.reel-slide.is-leaving { visibility: visible; z-index: 1; }
.reel-slide :is(img, video) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--reel-focal, center);
}
.reel-slide video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .22s ease;
}
.reel-slide.has-video-frame video { opacity: 1; }
.reel-shade {
  z-index: -1;
  background: linear-gradient(0deg, rgb(7 8 12 / .9), rgb(7 8 12 / .34) 36%, transparent 68%),
    linear-gradient(70deg, rgb(7 8 12 / .25), transparent 58%);
}
.reel-content { padding-block: 2rem clamp(1.4rem, 4vw, 4rem); }
@media (prefers-reduced-motion: no-preference) {
  .reel-slides {
    --reel-focus: var(--reel-arrival, 1);
    transform: scale(calc(1.015 + .05 * var(--reel-focus)));
    filter: blur(calc(7px * (1 - var(--reel-focus)))) brightness(calc(.86 + .14 * var(--reel-focus)));
    transition: transform .22s ease-out, filter .22s ease-out;
  }
  .reel-content > * {
    --line-progress: clamp(0, calc((var(--reel-words, 1) - var(--word-delay, 0)) * 1.32), 1);
    opacity: calc(.12 + .88 * var(--line-progress));
    transform: translateY(calc((1 - var(--line-progress)) * var(--word-rise, 1.75rem)));
    transition: opacity .28s ease-out, transform .32s cubic-bezier(.2,.75,.24,1), clip-path .32s cubic-bezier(.2,.75,.24,1);
  }
  .reel-content > .display {
    --word-delay: .065;
    --word-rise: clamp(2.15rem, 4vw, 3.7rem);
    clip-path: inset(-.2em -.15em calc((1 - var(--line-progress)) * .8em - .2em) -.15em);
  }
  .reel-content > .reel-description { --word-delay: .14; }
  .reel-content > .reel-actions { --word-delay: .2; }
  .reel-content:focus-within > * { opacity: 1; transform: none; clip-path: none; }
}
.reel-content .eyebrow { color: #f3e9dc; }
.reel-content .display { font-size: clamp(2.7rem, 6.7vw, 6.3rem); letter-spacing: -.065em; }
.reel-description { margin-top: .85rem; max-width: 58ch; font-size: 1rem; line-height: 1.5; text-shadow: 0 1px 7px #111; }
.reel-actions { display: flex; justify-content: space-between; align-items: end; gap: .8rem; }
.reel-controls { display: flex; gap: .24rem; border: 1px solid rgb(255 255 255 / .32); border-radius: 2rem; padding: .15rem; background: rgb(12 13 17 / .46); }
.reel-controls[hidden] { display: none; }
.reel-controls button {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}
.reel-controls button:hover { background: rgb(255 255 255 / .16); }
.reel-controls [data-reel-toggle] span { width: .6rem; height: .66rem; border-inline: 2px solid currentColor; }
.reel-controls [data-reel-toggle][data-paused="true"] span {
  width: 0;
  height: 0;
  border-inline: 0;
  border-inline-start: .47rem solid currentColor;
  border-block: .31rem solid transparent;
  margin-left: .12rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .58rem;
  min-height: 2.7rem;
  padding: .6rem 1.08rem;
  margin-top: 1.25rem;
  border: 1px solid rgb(255 255 255 / .52);
  border-radius: 2rem;
  background: rgb(20 20 22 / .4);
  font-size: .875rem;
  transition: background .2s, color .2s;
}
.pill:hover { background: var(--paper); color: var(--ink); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); min-height: 6.5rem; padding-block: 1rem; font-size: .875rem; }
.footer > :last-child { color: var(--soft); text-align: right; }

.film-hero { height: 87vh; height: 87svh; }
.film-hero h1 { font-size: clamp(3.55rem, 8.1vw, 7.1rem); line-height: .95; }
.play-icon { width: 0; height: 0; border-block: .28rem solid transparent; border-left: .44rem solid currentColor; }
.film-content { padding-bottom: clamp(2.8rem, 5.5vw, 5.2rem); }
.film-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: clamp(2.3rem, 4vw, 4rem); }
.film-grid-pair { grid-template-columns: repeat(2, minmax(0,1fr)); align-items: start; }
.film-grid-stacked .film-card { width: min(100%, 65rem); justify-self: center; }
.film-card.portrait-player { width: min(100%, 27rem); }
.player { background: #08090a; }
.player video { width: 100%; display: block; aspect-ratio: var(--video-ratio, 16 / 9); }
.film-card h3, .photo-group h3, .project-note h2 { font-size: clamp(1.3rem, 2vw, 1.9rem); line-height: 1.2; font-weight: 500; letter-spacing: -.035em; }
.film-card figcaption, .gallery-photo figcaption { padding-top: .8rem; }
.metadata { font-size: .875rem; line-height: 1.5; margin-top: .2rem; }

.gallery-title { margin-bottom: clamp(2.4rem, 5vw, 4.7rem); }
.photo-group + .photo-group { margin-top: clamp(3.25rem, 7.5vw, 6rem); }
.photo-group h3 { margin-bottom: clamp(.9rem, 2vw, 1.45rem); }
.photo-grid { display: grid; gap: clamp(1.8rem, 4vw, 3.8rem); }
.photo-row { display: grid; align-items: start; width: 100%; margin-inline: auto; }
.gallery-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 2.2vw, 1.8rem); }
.gallery-single { max-width: 65rem; }
.gallery-single.gallery-panoramic { max-width: none; }
.gallery-single.gallery-portrait { max-width: 29rem; }
.gallery-pair.gallery-portrait { max-width: 58rem; }
.image-button { background: #202024; padding: 0; border: 0; display: block; overflow: hidden; position: relative; width: 100%; cursor: zoom-in; text-align: left; }
.image-button img { object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.image-button:hover img, .image-button:focus-visible img { transform: scale(1.025); }
.enlarge {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  position: absolute;
  right: .65rem;
  bottom: .65rem;
  border-radius: 50%;
  background: rgb(14 14 17 / .76);
  font-size: 1.15rem;
}
.gallery-photo h4 { font-size: clamp(1rem,1.7vw,1.25rem); line-height: 1.3; font-weight: 500; letter-spacing: -.025em; }
.project-note { padding-block: 1.6rem 3.4rem; }
.project-note h2 { margin-bottom: .85rem; }
.project-end { border-top: 1px solid var(--line); margin-top: clamp(2rem, 6vw, 4.8rem); padding-block: 2.6rem; }
.project-end a { display: grid; gap: .55rem; width: fit-content; }
.project-end a > :last-child { font-size: clamp(1.65rem, 4vw, 3.1rem); font-family: var(--serif); letter-spacing: -.035em; }
.project-end a:hover > :last-child { text-decoration: underline; text-underline-offset: .2em; }
.application-intro { padding-top: clamp(6.75rem, 9vw, 9.5rem); }
.application-intro .display { font-size: clamp(2.8rem, 7vw, 6.25rem); }
.application-galleries { padding-bottom: clamp(3rem, 8vw, 7rem); }

.image-dialog { width: min(91vw, 84rem); max-width: none; max-height: 94dvh; padding: 0; border: 0; background: transparent; color: var(--paper); overflow: visible; }
.image-dialog::backdrop { background: rgb(4 4 6 / .965); }
.image-dialog figure { display: grid; justify-items: center; }
.image-dialog img { object-fit: contain; max-height: 76dvh; }
.image-dialog figcaption { padding: .65rem 2.7rem; text-align: center; font-size: .9rem; }
.close, .viewer-pagination button {
  display: grid;
  place-items: center;
  cursor: pointer;
  width: 2.65rem;
  height: 2.65rem;
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #15151a;
  font-size: 1.5rem;
  line-height: 1;
}
.close { position: absolute; top: .55rem; right: .55rem; }
.viewer-pagination { display: flex; justify-content: center; gap: .5rem; }
.viewer-pagination[hidden] { display: none; }

@media (max-width: 740px) {
  .masthead { min-height: 4.1rem; }
  .hero { min-height: 34rem; height: 86svh; }
  .hero-inner { padding-bottom: 1.15rem; }
  .self-hero { --focal: 56% center; }
  .hero h1 { font-size: clamp(3.05rem, 10.8vw, 5.1rem); }
  .film-hero h1 { font-size: clamp(3rem, 10vw, 5.1rem); }
  .film-hero h1 em { display: block; }
  .section-intro { grid-template-columns: 1fr; }
  .project-reel { min-height: 27rem; height: 74svh; }
  .timeline-nav { width: calc(100% - var(--gutter)); margin-inline: var(--gutter) 0; }
  .timeline-nav a { padding-inline: .43rem; }
}
@media (max-width: 510px) {
  .film-grid-pair { grid-template-columns: 1fr; }
  .hero-bottom { align-items: flex-start; }
  .scroll-link { min-height: 2.4rem; }
  .scene-switcher button { padding-inline: .4rem; }
  .timeline-nav a { padding-inline: .6rem; }
}
@media (max-width: 380px) {
  .masthead nav { gap: .65rem; font-size: .8rem; }
  .hero-bottom { gap: .35rem; font-size: .8rem; }
  .scroll-link { gap: .3rem; }
  .scroll-link span { width: .45rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .hero-visual img { transform: none; }
}

.project-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: start;
  gap: clamp(1.5rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(1.8rem, 4vw, 3.5rem);
}
.project-note blockquote {
  margin: 1.3rem 0 .5rem;
  max-width: 34ch;
  font: italic clamp(1.22rem, 2.35vw, 2rem)/1.3 var(--serif);
}
.message-capture img {
  max-width: 35rem;
  border-radius: .65rem;
}
.project-note .evidence-label,
.video-evidence span {
  display: block;
  margin-top: .5rem;
  color: var(--soft);
  font: .875rem/1.45 var(--sans);
}
.video-evidence {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: .85rem;
}
.video-evidence img {
  width: min(100%, 13.25rem);
  border: 1px solid var(--line);
  border-radius: .25rem;
}
@media (max-width: 740px) {
  .project-note { grid-template-columns: 1fr; }
}

.has-opening-motion {
  --opening-travel: clamp(13rem, 43svh, 29rem);
}
.has-opening-motion::after {
  content: "";
  display: block;
  height: var(--opening-travel);
}
.has-opening-motion .self-hero {
  position: sticky;
  top: 0;
  height: 100svh;
}
.self-hero .portrait-slides {
  transform: scale(var(--opening-scale, 1.025));
}
.self-hero .portrait-slides img { transform: none; }
.scene-switcher .scene-toggle {
  display: grid;
  place-items: center;
  width: 2.4rem;
  padding: 0;
  margin-inline-start: .15rem;
  flex-shrink: 0;
}
.scene-switcher .scene-toggle[hidden] { display: none; }
.scene-toggle span {
  display: block;
  width: .62rem;
  height: .66rem;
  border-inline: 2px solid currentColor;
}
.scene-toggle[data-paused="true"] span {
  width: 0;
  height: 0;
  border-inline: 0;
  border-inline-start: .5rem solid currentColor;
  border-block: .32rem solid transparent;
  margin-left: .12rem;
}
@media (max-width: 740px) {
  .has-opening-motion { --opening-travel: clamp(10rem, 33svh, 20rem); }
}
@media (max-width: 400px) {
  .self-hero .hero-bottom {
    flex-wrap: wrap;
    gap: .3rem .75rem;
  }
  .scene-switcher .scene-toggle { width: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .has-opening-motion::after { display: none; }
  .has-opening-motion .self-hero { position: relative; }
  .self-hero .portrait-slides { transform: none; }
}

.masthead nav .application-nav {
  padding: .55rem .85rem;
  border: 1px solid currentColor;
  border-radius: 2rem;
  font-weight: 550;
  transition: color .24s ease, background-color .24s ease;
}
.masthead nav .application-nav:hover,
.masthead nav .application-nav[aria-current="page"] {
  background-color: var(--paper);
  color: var(--ink);
  text-decoration: none;
}
.application-eyebrow { color: #e4d7c4; letter-spacing: .12em; }
.self-hero .hero-shade {
  background: linear-gradient(180deg, rgb(7 8 13 / .6), transparent 22%),
    linear-gradient(0deg, rgb(9 10 13 / .98), rgb(9 10 13 / .64) 28%, transparent 68%),
    linear-gradient(75deg, rgb(8 9 12 / .36), transparent 62%);
}
.self-hero h1 {
  font-size: clamp(3rem, 7.2vw, 7.1rem);
  letter-spacing: -.07em;
  line-height: .95;
  overflow-wrap: normal;
}
.self-hero h1 em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.056em;
}
.hero-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem .75rem;
  margin-top: 1rem;
  font-size: .9rem;
  letter-spacing: .15em;
}
.hero-byline span { color: #e6dcd0; letter-spacing: normal; }
.primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.85rem;
  margin-top: 1.25rem;
  padding: .68rem 1.2rem;
  border: 1px solid var(--paper);
  border-radius: 2rem;
  background: var(--paper);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 550;
  transition: color .25s ease, background-color .25s ease;
}
.primary-link:hover { color: var(--paper); background: rgb(15 15 18 / .7); }
.text-link {
  display: inline-block;
  width: fit-content;
  color: var(--paper);
  font-size: .9rem;
  line-height: 1.4;
  border-bottom: 1px solid var(--soft);
  padding-block: .2rem;
  transition: border-color .22s ease;
}
.text-link:hover {
  border-color: transparent;
}

.home-selection { padding-block: clamp(3.25rem, 8vw, 7.75rem); scroll-margin-top: 1rem; }
.home-selection-heading, .folio-opening {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem 2rem;
}
.home-selection-heading { margin-bottom: clamp(1.6rem, 4vw, 3.5rem); }
.home-selection .display, .journey-intro .display, .supplemental-title {
  font-size: clamp(2.45rem, 4.7vw, 4.75rem);
}
.selection-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.65rem, 2.5vw, 2.1rem); }
.selection-pair a { display: block; overflow: hidden; background: #202024; }
.selection-pair img { transition: transform .85s cubic-bezier(.2,.7,.2,1); }
.selection-pair a:hover img, .selection-pair a:focus-visible img { transform: scale(1.025); }
.selection-pair figcaption { padding-top: .7rem; font-size: .875rem; line-height: 1.4; }
.selection-pair figcaption span { color: var(--soft); margin-inline-start: .5rem; }
.journey-intro { padding-top: clamp(2.25rem, 5vw, 5rem); border-top: 1px solid var(--line); }

.folio-opening { padding-bottom: clamp(1.3rem, 2.8vw, 2.65rem); }
.folio-author { flex-shrink: 0; padding-bottom: .25rem; }
.author-role { color: #e4d7c4; font-size: .9rem; margin-top: .3rem; }
.folio-context { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2.5rem; }
.folio-context .section-copy { font-size: 1rem; max-width: 39ch; }
.author-name { font-size: 1rem; letter-spacing: .12em; }
.folio-index {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem clamp(1rem, 4vw, 3rem);
  border-block: 1px solid var(--line);
  padding-block: .5rem;
}
.folio-index a { font-size: .875rem; padding-block: .5rem; color: var(--soft); }
.folio-index a:hover, .folio-index a:focus-visible { color: var(--paper); }
.application-galleries { padding-top: clamp(1.35rem, 2.7vw, 2.6rem); }
.application .photo-group { scroll-margin-top: 2rem; }
.application .photo-group + .photo-group {
  padding-top: clamp(1.7rem, 4vw, 3.6rem);
  border-top: 1px solid var(--line);
}
.application .photo-group h2 {
  margin-bottom: clamp(.8rem, 2vw, 1.3rem);
  font-size: clamp(1.2rem, 1.7vw, 1.6rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.application .gallery-photo h4 { font-size: clamp(1rem, 1.35vw, 1.14rem); }
.application .enlarge { width: 1.9rem; height: 1.9rem; }

@media (max-width: 740px) {
  .self-hero h1 { font-size: clamp(2.85rem, 9vw, 4.9rem); }
  .home-selection-heading, .folio-opening, .folio-context { flex-direction: column; align-items: start; }
}
@media (max-width: 520px) {
  .selection-pair { grid-template-columns: minmax(0, 1fr); gap: 1.45rem; }
  .gallery-pair { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  .self-hero .hero-type, .folio-opening {
    animation: editorial-entrance .8s cubic-bezier(.2,.7,.3,1) both;
  }
  .image-dialog[open] { animation: editorial-entrance .26s ease-out both; }
}
@keyframes editorial-entrance {
  from { opacity: .45; transform: translateY(.55rem); }
  to { opacity: 1; transform: translateY(0); }
}
