:root {
  color-scheme: light;
  --ink: #121513;
  --ink-soft: #303633;
  --paper: #f4f1e9;
  --paper-deep: #e9e4d9;
  --white: #fffef9;
  --line: rgba(18, 21, 19, 0.15);
  --muted: #6e746f;
  --accent: #ff6f4d;
  --accent-soft: #ffd4c7;
  --mint: #98d9c7;
  --blue: #8fa8ff;
  --shadow: 0 26px 80px rgba(20, 24, 21, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mx: 50vw;
  --my: 50vh;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.96), transparent 31rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 20;
  width: 38rem;
  height: 38rem;
  left: var(--mx);
  top: var(--my);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 111, 77, 0.085), transparent 66%);
  content: "";
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 300ms ease;
}

body[data-page="photography"] {
  --accent: #5fcab7;
  --accent-soft: #caf3e9;
}

body[data-page="family"] {
  --accent: #ef6d5a;
  --accent-soft: #f9c9bf;
}

body[data-page="works"] {
  --accent: #8298ff;
  --accent-soft: #d8defe;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

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

::selection {
  background: var(--accent);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 78px;
  align-items: center;
  gap: 28px;
  padding: 12px clamp(20px, 4.2vw, 72px);
  border-bottom: 1px solid rgba(18, 21, 19, 0.1);
  background: rgba(244, 241, 233, 0.8);
  backdrop-filter: blur(18px) saturate(1.3);
}

.brand {
  position: relative;
  z-index: 2;
  width: max-content;
  color: var(--ink);
  font-size: 27px;
  font-weight: 810;
  letter-spacing: -0.07em;
  line-height: 1;
  text-decoration: none;
}

.brand span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
  color: var(--ink);
  transform: translateY(-2px);
}

.site-nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--white);
}

.site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 8px;
  bottom: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 4px auto;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle span {
  opacity: 0;
}

.nav-open .nav-toggle::before {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-open .nav-toggle::after {
  transform: translateY(-5.5px) rotate(-45deg);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  background: var(--accent);
  content: "";
}

.display-title {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(48px, 7.7vw, 130px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.display-title em {
  color: var(--accent);
  font-weight: 400;
}

.lede {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.45vw, 23px);
  line-height: 1.65;
}

.lede strong {
  color: var(--ink);
}

.button-link,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
}

.button-link {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.button-link:hover {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(18, 21, 19, 0.2);
  transform: translateY(-3px);
}

.button-link .arrow,
.text-link .arrow {
  font-size: 1.35em;
  transition: transform 180ms ease;
}

.button-link:hover .arrow,
.text-link:hover .arrow {
  transform: translate(4px, -4px);
}

.text-link {
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ambient-canvas {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  pointer-events: none;
}

.home-main {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 79px);
  padding: clamp(28px, 4vh, 58px) clamp(20px, 4.2vw, 72px) clamp(24px, 3vh, 42px);
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 14%, rgba(143, 168, 255, 0.23), transparent 28%),
    radial-gradient(circle at 18% 82%, rgba(255, 111, 77, 0.2), transparent 31%),
    #111513;
  color: var(--white);
}

.home-main::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.home-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(300px, 0.74fr) minmax(620px, 1.26fr);
  min-height: calc(100svh - 149px);
  gap: clamp(28px, 5vw, 86px);
  align-items: center;
}

.home-copy .eyebrow {
  color: rgba(255, 254, 249, 0.58);
}

.home-copy h1 {
  max-width: 780px;
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(58px, 7.2vw, 126px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.84;
}

.home-copy h1 em {
  color: var(--accent);
  font-weight: 400;
}

.home-copy p {
  max-width: 600px;
  margin: 28px 0 0;
  color: rgba(255, 254, 249, 0.7);
  font-size: clamp(15px, 1.1vw, 19px);
  line-height: 1.7;
}

.home-copy strong {
  color: var(--white);
}

.home-hint {
  display: flex;
  margin-top: 34px;
  align-items: center;
  gap: 13px;
  color: rgba(255, 254, 249, 0.52);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-hint i {
  position: relative;
  width: 44px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
}

.home-hint i::after {
  position: absolute;
  inset: 0;
  background: var(--accent);
  content: "";
  animation: signal 1800ms ease-in-out infinite;
  transform: translateX(-100%);
}

@keyframes signal {
  50%, 100% { transform: translateX(100%); }
}

.portal-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: repeat(2, minmax(220px, 31vh));
  gap: clamp(13px, 1.5vw, 24px);
  perspective: 1100px;
}

.portal-card {
  position: relative;
  isolation: isolate;
  min-height: 0;
  padding: clamp(20px, 2vw, 31px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--white);
  background: linear-gradient(135deg, #2a322d, #121815);
  text-decoration: none;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transform-style: preserve-3d;
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), border-color 220ms ease, box-shadow 220ms ease;
}

.portal-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 45%);
  content: "";
  opacity: 0.7;
}

.portal-card::after {
  position: absolute;
  z-index: 1;
  width: 58%;
  height: 190%;
  top: -45%;
  left: -80%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  content: "";
  transform: rotate(18deg);
  transition: left 650ms cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}

.portal-card:hover {
  --lift: -7px;
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.33);
}

.portal-card:hover::after {
  left: 125%;
}

.portal-card:nth-child(1) {
  border-radius: 30px 130px 30px 30px;
}

.portal-card:nth-child(2) {
  border-radius: 120px 30px 30px 30px;
}

.portal-card:nth-child(3) {
  border-radius: 30px 30px 110px 30px;
}

.portal-card:nth-child(4) {
  border-radius: 30px 30px 30px 115px;
}

.portal-card img {
  position: absolute;
  z-index: 0;
  top: 40px;
  right: 40px;
  width: 42%;
  height: calc(100% - 100px);
  object-fit: contain;
  filter: saturate(0.82) contrast(1.05);
  transition: filter 400ms ease;
}

.portal-card:hover img {
  filter: saturate(1.04) contrast(1.08);
}

.portal-card .shade {
  position: absolute;
  z-index: -1;
  inset: 0 50% 0 0;
  background: linear-gradient(180deg, rgba(8, 11, 9, 0.1), rgba(8, 11, 9, 0.88));
}

.portal-card--type {
  background:
    radial-gradient(circle at 82% 22%, rgba(143, 168, 255, 0.68), transparent 29%),
    linear-gradient(145deg, #272d29, #171a18);
}

.portal-works-preview {
  position: absolute;
  inset: 24px 26px 60px 52%;
  display: grid;
  grid-template-rows: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 12px;
}

.portal-card .portal-works-preview img {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  filter: none;
}

.portal-index {
  position: relative;
  display: block;
  max-width: 45%;
  z-index: 2;
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.portal-card h2 {
  position: absolute;
  z-index: 2;
  right: 50%;
  bottom: 84px;
  left: 28px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(27px, 2.15vw, 42px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
  transform: translateZ(28px);
}

.portal-card p {
  position: absolute;
  z-index: 2;
  right: 50%;
  bottom: 22px;
  left: 28px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.45;
}

.portal-arrow {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 19px;
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  place-items: center;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.portal-card:hover .portal-arrow {
  background: var(--white);
  color: var(--ink);
  transform: rotate(45deg);
}

.intro-screen {
  display: none;
}

.has-js .intro-screen {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  background: var(--ink);
  color: var(--white);
  place-items: center;
  pointer-events: none;
}

.intro-screen strong {
  font-family: var(--serif);
  font-size: clamp(56px, 10vw, 160px);
  font-weight: 400;
  letter-spacing: -0.08em;
}

.intro-screen strong span {
  color: var(--accent);
}

.intro-screen.is-leaving {
  animation: curtain-up 760ms cubic-bezier(.76,0,.24,1) forwards;
}

@keyframes curtain-up {
  to { clip-path: inset(0 0 100% 0); }
}

.page-main {
  min-height: calc(100svh - 79px);
}

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  min-height: min(790px, calc(100svh - 79px));
  gap: clamp(42px, 7vw, 120px);
  align-items: center;
  padding: clamp(64px, 9vw, 150px) clamp(20px, 7vw, 120px);
  overflow: hidden;
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  width: clamp(300px, 42vw, 720px);
  aspect-ratio: 1;
  right: -15%;
  bottom: -46%;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.18), 0 0 0 140px rgba(255, 255, 255, 0.11);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.hero-note {
  max-width: 290px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.hero-media {
  position: relative;
  justify-self: center;
  width: min(100%, 530px);
}

.hero-media::before {
  position: absolute;
  z-index: -1;
  inset: -25px 28px 25px -28px;
  border: 1px solid var(--line);
  border-radius: 190px 36px 120px 36px;
  content: "";
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: var(--shadow);
  object-fit: contain;
}

.hero-media figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-shell {
  width: min(1520px, calc(100% - 40px));
  margin: 0 auto;
}

.chapter-nav {
  position: sticky;
  z-index: 25;
  top: 79px;
  display: flex;
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto;
  padding: 10px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 241, 233, 0.85);
  backdrop-filter: blur(18px);
  scrollbar-width: none;
}

.chapter-nav::-webkit-scrollbar {
  display: none;
}

.chapter-nav a {
  flex: 1 0 auto;
  padding: 11px 17px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.chapter-nav a:hover {
  background: var(--ink);
  color: var(--white);
}

.story-flow {
  padding: clamp(90px, 10vw, 170px) 0;
}

.story-chapter {
  display: grid;
  grid-template-columns: minmax(340px, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(40px, 8vw, 140px);
  min-height: 680px;
  padding: clamp(80px, 9vw, 145px) clamp(20px, 7vw, 120px);
  align-items: start;
  border-top: 1px solid var(--line);
  scroll-margin-top: 155px;
}

.story-memo {
  padding: clamp(28px, 4vw, 64px);
  border: 1px solid currentColor;
  border-radius: 30px 100px 30px 64px;
  background: linear-gradient(135deg, rgba(90, 189, 173, .12), transparent 70%);
}

@media (min-width: 901px) {
  .story-chapter .story-memo {
    position: sticky;
    top: 170px;
  }
}

.story-memo-label {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.story-memo-title {
  margin: 30px 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4.5vw, 72px);
  letter-spacing: -.045em;
  line-height: 1.06;
}

.story-milestones {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-milestones li {
  padding-top: 16px;
  border-top: 1px solid currentColor;
  line-height: 1.6;
}

.story-milestones strong,
.story-milestones span {
  display: block;
}

.story-milestones strong {
  font-size: 14px;
}

.story-milestones span {
  margin-top: 4px;
  font-size: 15px;
}

.story-next-link {
  margin-top: 30px;
}

.story-image-caption {
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
}

#fotografi-sampingan .archive-strip,
#belajar .archive-strip {
  grid-template-columns: 1fr;
}

.family-chapter--movement {
  scroll-margin-top: 110px;
}

.family-movement {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
  min-width: 0;
}

.movement-photo {
  min-width: 0;
  margin: 0;
  padding: clamp(12px, 1.4vw, 20px);
  border: 1px solid var(--line);
  border-radius: 24px 48px 24px 32px;
  background: rgba(255, 254, 249, 0.65);
}

.movement-photo--run {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  border-radius: 48px 24px 36px 24px;
}

.movement-photo--couple {
  grid-column: 1;
  border-radius: 32px 24px 48px 24px;
}

.movement-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.movement-photo figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

@media (max-width: 620px) {
  .family-movement {
    grid-template-columns: minmax(0, 1fr);
  }

  .movement-photo--run,
  .movement-photo--couple {
    grid-column: auto;
    grid-row: auto;
  }
}

.story-chapter:nth-child(even) .story-visual {
  order: 2;
}

.story-chapter:nth-child(even) {
  grid-template-columns: minmax(420px, 1.12fr) minmax(340px, 0.88fr);
  background: var(--ink);
  color: var(--white);
}

.story-chapter:nth-child(even) .story-copy p,
.story-chapter:nth-child(even) .eyebrow,
.story-chapter:nth-child(even) .story-note {
  color: rgba(255, 255, 255, 0.65);
}

.story-copy h2 {
  max-width: 720px;
  margin: 19px 0 0;
  font-family: var(--serif);
  font-size: clamp(45px, 5.8vw, 94px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.story-copy p {
  max-width: 650px;
  margin: 27px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.24vw, 20px);
  line-height: 1.8;
}

.story-note {
  display: block;
  margin-top: 25px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
}

.story-visual {
  position: relative;
}

.story-visual > img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: var(--shadow);
  object-fit: contain;
}

.hero-media,
.story-visual:has(> img),
.archive-strip figure,
.family-media figure {
  padding: clamp(12px, 1.4vw, 22px);
  border: 1px solid var(--line);
  border-radius: 24px 64px 24px 42px;
  background: rgba(255, 254, 249, 0.45);
  overflow: visible;
}

.story-visual figcaption {
  margin-top: 13px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#selanjutnya .story-visual {
  background: rgba(255, 254, 249, 0.035);
  border-color: rgba(255, 254, 249, 0.16);
}

#selanjutnya .story-visual figcaption {
  color: rgba(255, 254, 249, 0.7);
}

.type-stage {
  position: relative;
  display: grid;
  min-height: 520px;
  padding: clamp(35px, 5vw, 76px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 44px 170px 44px 110px;
  background:
    radial-gradient(circle at 73% 26%, rgba(255, 111, 77, 0.85), transparent 22%),
    linear-gradient(135deg, #232a26, #111513);
  align-content: end;
}

.type-stage::before,
.type-stage::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.type-stage::before {
  width: 360px;
  height: 360px;
  top: -130px;
  right: -70px;
}

.type-stage::after {
  width: 180px;
  height: 180px;
  top: -38px;
  right: 20px;
}

.type-stage strong {
  position: relative;
  z-index: 2;
  white-space: pre-line;
  font-family: var(--serif);
  font-size: clamp(55px, 6.7vw, 108px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.78;
}

.type-stage.type-stage--water {
  width: min(100%, 480px);
  min-height: 0;
  margin-inline: auto;
  padding: 18px;
  overflow: visible;
  border-radius: 32px 56px 32px 48px;
  background: #091b28;
  border-color: rgba(144, 190, 217, 0.3);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.type-stage--water img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.76;
}

.type-stage--water::before {
  z-index: 1;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 58%, rgba(5, 17, 28, 0.18) 70%, rgba(5, 17, 28, 0.85));
  pointer-events: none;
}

.type-stage--water::after {
  display: none;
}

.type-stage--water strong {
  position: absolute;
  right: 9%;
  bottom: 10%;
  left: 9%;
  color: #fffef9;
  font-size: clamp(38px, 4vw, 64px);
  line-height: 0.98;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

.archive-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.archive-strip figure {
  margin: 0;
}

.archive-strip img {
  width: 100%;
  height: auto;
  border-radius: 0;
  filter: saturate(0.85);
  object-fit: contain;
}

.archive-strip figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.page-outro {
  display: grid;
  min-height: 480px;
  padding: clamp(70px, 8vw, 130px) 20px;
  background: var(--accent);
  place-items: center;
  text-align: center;
}

.page-outro p {
  max-width: 1100px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(45px, 7vw, 105px);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.page-outro .button-link {
  margin-top: 35px;
}

.works-hero {
  min-height: 660px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.65fr);
}

.orbit-stage {
  position: relative;
  width: min(100%, 510px);
  aspect-ratio: 1;
  justify-self: center;
}

.orbit-stage::before,
.orbit-stage::after,
.orbit-ring {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.orbit-stage::before {
  inset: 6%;
}

.orbit-stage::after {
  inset: 22%;
}

.orbit-ring {
  inset: 0;
  border-style: dashed;
  animation: orbit-spin 26s linear infinite;
}

.orbit-core {
  position: absolute;
  inset: 33%;
  display: grid;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  place-items: center;
  text-align: center;
}

.orbit-core span {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 46px);
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.orbit-label {
  position: absolute;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.orbit-label:nth-of-type(1) { top: 8%; left: 8%; }
.orbit-label:nth-of-type(2) { top: 18%; right: -2%; }
.orbit-label:nth-of-type(3) { right: 2%; bottom: 13%; }
.orbit-label:nth-of-type(4) { left: -1%; bottom: 18%; }

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 30px);
  padding: clamp(70px, 9vw, 140px) clamp(20px, 6vw, 100px);
  background: var(--ink);
}

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: clamp(26px, 3.2vw, 54px);
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1c211e;
  color: var(--white);
  transition: transform 260ms ease, background 260ms ease, border-color 260ms ease;
}

.work-card:nth-child(1) {
  grid-column: span 6;
  border-radius: 36px 90px 36px 36px;
}

.work-card:nth-child(2) {
  grid-column: span 6;
  border-radius: 90px 36px 36px 36px;
}

.work-card:nth-child(3) {
  grid-column: span 6;
  border-radius: 36px 36px 36px 90px;
}

.work-card:nth-child(4) {
  grid-column: span 6;
  border-radius: 36px 36px 90px 36px;
}

.work-card--book {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: start;
  border-radius: 36px 90px 36px 36px;
  background: var(--accent);
  color: var(--ink);
}

.work-card--book .work-number { grid-column: 1 / -1; }
.work-card--book .work-visual { grid-column: 1; grid-row: 2 / 5; margin: 0; }
.work-card--book h2,
.work-card--book > p,
.work-card--book details { grid-column: 2; margin: 0; }

.work-visual {
  display: block;
  width: 100%;
  margin: 36px 0 0;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 0;
  background: #0d100e;
  color: #fff;
  cursor: zoom-in;
}

.work-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.work-card--book .work-visual { max-width: 360px; justify-self: center; }
.work-image-hint { display: flex; justify-content: space-between; margin-top: 12px; font-size: 14px; }
.work-card > p a { text-underline-offset: 4px; }

.work-card:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: #252c28;
  transform: translateY(-8px);
}

.work-card--book:hover {
  background: #a5b3ff;
}

.work-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.58);
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-card--book .work-number {
  color: rgba(18, 21, 19, 0.65);
}

.work-card h2 {
  margin: 32px 0 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 66px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.work-card > p {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
  line-height: 1.75;
}

.work-card--book > p {
  color: rgba(18, 21, 19, 0.72);
}

.work-card details {
  width: 100%;
  margin-top: 28px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.work-card--book details {
  border-color: rgba(18, 21, 19, 0.17);
}

.work-card summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  list-style: none;
  text-transform: uppercase;
}

.work-card summary::-webkit-details-marker {
  display: none;
}

.work-card summary::after {
  float: right;
  content: "+";
  font-size: 18px;
}

.work-card details[open] summary::after {
  content: "−";
}

.work-card details p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 16px;
  line-height: 1.65;
}

.work-card--book details p {
  color: rgba(18, 21, 19, 0.7);
}

.photo-hero {
  min-height: 580px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
  padding-block: clamp(64px, 6vw, 100px);
  background: #111513;
  color: var(--white);
}

.photo-hero .lede,
.photo-hero .eyebrow,
.photo-hero .hero-note {
  color: rgba(255, 255, 255, 0.62);
}

.photo-collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 32px;
  align-items: center;
  width: min(100%, 480px);
  padding: 30px 12px;
  justify-self: center;
}

.photo-collage img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 8px solid #262e29;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.photo-collage img:first-child {
  transform: rotate(-3deg) translateY(-18px);
}

.photo-collage img:nth-child(2) {
  transform: rotate(3deg) translateY(18px);
}

.photo-collage img:nth-child(3) {
  grid-column: 1 / -1;
  width: 82%;
  justify-self: center;
  transform: rotate(-2deg);
}

.photo-gallery-shell {
  padding: clamp(68px, 8vw, 130px) clamp(20px, 5vw, 84px);
}

.filter-bar {
  position: sticky;
  z-index: 24;
  top: 92px;
  display: flex;
  width: max-content;
  max-width: 100%;
  gap: 8px;
  margin: 0 auto clamp(45px, 6vw, 86px);
  padding: 8px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 241, 233, 0.88);
  backdrop-filter: blur(18px);
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-bar button {
  flex: 0 0 auto;
  padding: 11px 17px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.filter-bar button:hover,
.filter-bar button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}

.photo-grid {
  columns: 3;
  column-gap: clamp(20px, 2.2vw, 36px);
}

.photo-card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 30px;
  break-inside: avoid;
  vertical-align: top;
  min-height: 0;
  opacity: 1;
  transform: scale(1);
  transition: opacity 260ms ease, transform 260ms ease;
}

.photo-card.is-wide {
  width: 100%;
}

.photo-card.is-tall {
  width: 100%;
}

.photo-card.is-filtered {
  display: none;
}

.photo-trigger {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 16px 16px 46px;
  overflow: visible;
  border: 0;
  border-radius: 28px 92px 28px 28px;
  background: #d8d6cf;
  cursor: zoom-in;
}

.photo-card:nth-child(3n + 2) .photo-trigger {
  border-radius: 92px 28px 28px 28px;
}

.photo-card:nth-child(3n + 3) .photo-trigger {
  border-radius: 28px 28px 92px 28px;
}

.photo-trigger img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: filter 300ms ease;
}

.photo-trigger::after {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.photo-trigger:hover img {
  filter: saturate(1.08) contrast(1.04);
}

.photo-open-label {
  position: absolute;
  right: 16px;
  bottom: 6px;
  display: grid;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 254, 249, 0.92);
  color: var(--ink);
  font-size: 19px;
  place-items: center;
  transform: scale(0.85) rotate(-20deg);
  transition: transform 220ms ease;
}

.photo-trigger:hover .photo-open-label {
  transform: scale(1) rotate(0);
}

.photo-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 5px 0;
}

.photo-meta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.photo-meta span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-align: right;
  text-transform: uppercase;
}

.lightbox {
  width: min(1160px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 16px;
  overflow: hidden;
  border: 0;
  border-radius: 20px 32px 20px 20px;
  background: #0d100e;
  color: var(--white);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
}

.lightbox::backdrop {
  background: rgba(5, 7, 6, 0.82);
  backdrop-filter: blur(14px);
}

.lightbox-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  height: min(900px, calc(100svh - 64px));
  min-height: 0;
}

.lightbox img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #050706;
}

.lightbox-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 38px 28px;
}

.lightbox-copy span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox-copy h2 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: grid;
  width: 45px;
  height: 45px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}

.family-hero {
  min-height: 740px;
  grid-template-columns: minmax(0, 0.78fr) minmax(480px, 1.05fr);
}

.family-hero .hero-media {
  width: min(100%, 660px);
}

.family-hero .hero-media img {
  height: auto;
}

.family-hero .hero-media::before {
  border-radius: 46px 210px 46px 120px;
}

.family-names {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}

.family-names span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.time-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.time-rail span {
  position: relative;
  padding: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.time-rail span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.family-story {
  padding: clamp(80px, 9vw, 150px) 0;
}

.family-chapter {
  display: grid;
  grid-template-columns: minmax(330px, 0.72fr) minmax(520px, 1.28fr);
  width: min(1450px, calc(100% - 40px));
  gap: clamp(36px, 7vw, 120px);
  margin: 0 auto clamp(110px, 13vw, 210px);
  align-items: center;
}

.family-chapter:nth-child(even) {
  grid-template-columns: minmax(520px, 1.28fr) minmax(330px, 0.72fr);
}

.family-chapter:nth-child(even) .family-copy {
  order: 2;
}

.family-copy h2 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(45px, 5.5vw, 88px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.family-copy p {
  margin: 27px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.8;
}

.family-copy strong {
  color: var(--ink);
}

.family-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  align-items: end;
}

.family-media--single {
  grid-template-columns: 1fr;
  width: min(100%, 460px);
  justify-self: center;
}

.family-media--single figure:nth-child(1) {
  transform: rotate(-2deg);
}

.family-media figure {
  margin: 0;
}

.family-media figure:nth-child(2) {
  transform: translateY(52px);
}

.family-media img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: var(--shadow);
  object-fit: contain;
}

.family-media figure:nth-child(2) {
  border-radius: 64px 24px 42px 24px;
}

.family-media figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1.55;
  text-transform: uppercase;
}

.family-quote {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto clamp(110px, 13vw, 210px);
  padding: clamp(48px, 7vw, 100px);
  border-radius: 170px 32px 130px 32px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(37px, 5vw, 77px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.family-quote em {
  color: var(--accent);
  font-weight: 400;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  min-height: 150px;
  padding: 36px clamp(20px, 4.2vw, 72px);
  border-top: 1px solid var(--line);
  align-items: center;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer .footer-brand {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.04em;
  text-align: center;
  text-transform: none;
}

.site-footer > :last-child {
  text-align: right;
}

.reveal {
  opacity: 1;
  transform: none;
}

.has-js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 720ms cubic-bezier(.2,.8,.2,1), transform 720ms cubic-bezier(.2,.8,.2,1);
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: 300ms cubic-bezier(.76,0,.24,1) both page-out;
}

::view-transition-new(root) {
  animation: 520ms cubic-bezier(.2,.8,.2,1) both page-in;
}

@keyframes page-out {
  to { opacity: 0; transform: scale(.985); filter: blur(5px); }
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(20px); }
}

@media (max-width: 1180px) {
  .home-shell {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 36px;
  }

  .portal-grid {
    grid-template-rows: repeat(2, minmax(205px, 29vh));
  }

  .page-hero,
  .family-hero {
    grid-template-columns: 1fr 0.78fr;
  }

  .story-chapter,
  .story-chapter:nth-child(even),
  .family-chapter,
  .family-chapter:nth-child(even) {
    grid-template-columns: minmax(300px, 0.82fr) minmax(400px, 1.18fr);
  }

  .work-card h2 {
    margin-top: 50px;
  }
}

@media (max-width: 900px) {
  body::before {
    display: none;
  }

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

  .header-meta > span {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .has-js .site-nav {
    position: absolute;
    top: 70px;
    right: 16px;
    left: 16px;
    display: grid;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(244, 241, 233, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scale(.98);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .has-js .site-nav a {
    text-align: center;
  }

  .has-js .nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .home-main {
    min-height: auto;
  }

  .home-shell {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 34px 0 48px;
  }

  .home-copy {
    max-width: 700px;
  }

  .portal-grid {
    grid-template-rows: repeat(2, minmax(260px, 34vw));
  }

  .page-hero,
  .works-hero,
  .photo-hero,
  .family-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media,
  .family-hero .hero-media {
    width: min(82%, 560px);
  }

  .photo-collage,
  .orbit-stage {
    width: min(78%, 500px);
    margin-top: 20px;
  }

  .story-chapter,
  .story-chapter:nth-child(even),
  .family-chapter,
  .family-chapter:nth-child(even) {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .story-chapter:nth-child(even) .story-visual,
  .family-chapter:nth-child(even) .family-copy {
    order: initial;
  }

  .story-visual,
  .family-media {
    margin-top: 12px;
  }

  .work-card:nth-child(n) {
    grid-column: span 6;
  }

  .work-card--book:nth-child(n) {
    grid-column: 1 / -1;
    gap: 24px;
  }

  .photo-grid {
    columns: 2;
  }

  .lightbox-layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .lightbox-copy {
    position: static;
    padding: 18px 12px 8px;
    background: #0d100e;
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 18px;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .home-main {
    padding-inline: 16px;
  }

  .home-copy h1 {
    font-size: clamp(58px, 18vw, 86px);
  }

  .portal-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 235px);
  }

  .portal-card:nth-child(n) {
    border-radius: 24px 90px 24px 24px;
  }

  .page-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 62px 20px 82px;
  }

  .hero-copy,
  .orbit-stage {
    min-width: 0;
  }

  .works-hero .display-title {
    font-size: clamp(30px, 9vw, 38px);
  }

  .works-hero .orbit-stage {
    width: min(88vw, 340px);
  }

  .display-title {
    font-size: clamp(50px, 16vw, 78px);
  }

  .hero-media,
  .family-hero .hero-media,
  .photo-collage,
  .orbit-stage {
    width: 100%;
  }

  .hero-media::before {
    inset: -13px 13px 13px -13px;
  }

  .chapter-nav {
    top: 70px;
    width: calc(100% - 24px);
    border-radius: 24px;
  }

  .story-chapter {
    padding: 78px 20px;
  }

  .type-stage {
    min-height: 410px;
  }

  .archive-strip {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-template-columns: 1fr;
    padding-inline: 16px;
  }

  .work-card:nth-child(n) {
    grid-column: auto;
    min-height: 0;
    border-radius: 26px 64px 26px 26px;
  }

  .work-card--book {
    display: flex;
  }

  .work-card--book .work-visual {
    align-self: center;
  }

  .filter-bar {
    top: 82px;
    width: calc(100vw - 24px);
    justify-content: flex-start;
  }

  .photo-gallery-shell {
    padding-inline: 16px;
  }

  .photo-grid {
    columns: 1;
  }

  .lightbox {
    width: calc(100% - 16px);
    max-height: calc(100svh - 16px);
    border-radius: 20px 32px 20px 20px;
  }

  .lightbox-layout {
    height: calc(100svh - 48px);
    min-height: 0;
  }

  .time-rail {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 28px;
  }

  .time-rail span:nth-child(2)::after {
    display: none;
  }

  .family-chapter {
    width: calc(100% - 32px);
    margin-bottom: 120px;
  }

  .family-media {
    grid-template-columns: 1fr;
  }

  .family-media--single figure:nth-child(1) {
    transform: none;
  }

  .family-media figure:nth-child(2) {
    transform: none;
  }

  .archive-strip figcaption,
  .family-media figcaption,
  .photo-meta span,
  .family-names span {
    font-size: 10px;
  }

  .family-quote {
    border-radius: 80px 24px 70px 24px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer > :last-child {
    text-align: center;
  }
}

@media (max-height: 760px) and (min-width: 901px) {
  .home-main {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .home-copy h1 {
    font-size: clamp(54px, 6.2vw, 92px);
  }

  .home-copy p {
    margin-top: 20px;
  }

  .home-hint {
    margin-top: 22px;
  }

  .portal-grid {
    grid-template-rows: repeat(2, minmax(190px, 28vh));
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ambient-canvas {
    display: none;
  }

  .has-js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .portal-card,
  .work-card,
  .photo-trigger {
    border: 2px solid CanvasText;
  }
}
