:root {
  --paper: #fffafc;
  --paper-strong: #fff3f7;
  --blush: #f7d7e2;
  --pink: #eba8bf;
  --pink-hot: #dd789f;
  --wine: #8d3f5b;
  --ink: #291d22;
  --ink-soft: #76636b;
  --line: rgba(82, 45, 59, 0.14);
  --shadow: 0 24px 70px rgba(116, 67, 85, 0.15);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", Arial, sans-serif;
  --shell: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--pink) var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 3%, rgba(247, 204, 219, 0.5), transparent 24rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

img,
video {
  display: block;
  width: 100%;
}

video:fullscreen,
video:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: 50% 50% !important;
  transform: none !important;
  background: #160d12 !important;
}

video:fullscreen::backdrop {
  background: #160d12;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: white;
  background: var(--pink-hot);
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.19;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.94' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.11'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 50;
  display: flex;
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 100px;
  background: rgba(255, 250, 252, 0.76);
  box-shadow: 0 12px 42px rgba(100, 56, 72, 0.09);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
  transition: transform 0.35s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-hidden {
  transform: translate(-50%, -105px);
}

.site-header.is-scrolled {
  background: rgba(255, 250, 252, 0.92);
  box-shadow: 0 12px 42px rgba(100, 56, 72, 0.15);
}

.brand {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.brand span {
  color: var(--pink-hot);
  margin-left: 3px;
  font-size: 0.8em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
}

.main-nav a:not(.nav-accent)::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: var(--pink-hot);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-accent {
  padding: 12px 17px;
  border-radius: 100px;
  color: white;
  background: var(--ink);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-accent:hover {
  background: var(--wine);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--paper-strong);
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.25s ease;
}

.scroll-companion {
  position: fixed;
  top: 50%;
  right: 12px;
  z-index: 25;
  display: flex;
  height: 56vh;
  min-height: 340px;
  max-height: 560px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--wine);
  pointer-events: auto;
  user-select: none;
  transform: translateY(-50%);
}

.companion-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.companion-track {
  position: relative;
  width: 34px;
  flex: 1;
  background: transparent;
}

.companion-track::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(141, 63, 91, 0.18);
  content: "";
  transform: translateX(-50%);
  transition: background 0.2s ease;
}

.companion-track:hover::before,
.companion-track:focus-within::before {
  background: rgba(221, 120, 159, 0.55);
}

.companion-range {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(270px, calc(56vh - 70px), 490px);
  height: 34px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: grab;
  outline: none;
  touch-action: none;
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center;
}

.companion-range:active {
  cursor: grabbing;
}

.companion-range:focus-visible {
  outline: none;
}

.companion-range::-webkit-slider-runnable-track {
  width: 100%;
  height: 34px;
  border: 0;
  background: transparent;
}

.companion-range::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(221, 120, 159, 0.65);
  border-radius: 70% 30% 65% 35%;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 250, 252, 0.98);
  box-shadow: 0 3px 12px rgba(221, 120, 159, 0.3);
  margin-top: 8px;
  transform: rotate(45deg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, scale 0.2s ease;
}

.companion-range:hover::-webkit-slider-thumb,
.companion-range:focus-visible::-webkit-slider-thumb,
.companion-range:active::-webkit-slider-thumb {
  border-color: var(--pink-hot);
  box-shadow: 0 4px 18px rgba(221, 120, 159, 0.45);
  scale: 1.16;
}

.companion-range::-moz-range-track {
  width: 100%;
  height: 34px;
  border: 0;
  background: transparent;
}

.companion-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(221, 120, 159, 0.65);
  border-radius: 70% 30% 65% 35%;
  background: rgba(255, 250, 252, 0.98);
  box-shadow: 0 3px 12px rgba(221, 120, 159, 0.3);
  transform: rotate(45deg);
}

body.is-scrubbing .companion-track::before {
  width: 2px;
  background: var(--pink-hot);
}

body.is-scrubbing .scroll-companion {
  opacity: 1;
}

.flower-garden {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.scroll-flower {
  position: absolute;
  width: 100px;
  height: 100px;
  opacity: 0.22;
  filter: drop-shadow(0 12px 20px rgba(221, 120, 159, 0.16));
  transform: scale(0.64) rotate(-8deg);
  transition: opacity 0.7s ease, transform 0.85s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.scroll-flower-1 { top: 17%; left: -28px; }
.scroll-flower-2 { top: 38%; right: 34px; transform: scale(0.48) rotate(14deg); }
.scroll-flower-3 { bottom: 18%; left: 4%; transform: scale(0.42) rotate(22deg); }
.scroll-flower-4 { right: -24px; bottom: 8%; transform: scale(0.72) rotate(-18deg); }

.flower-petal {
  --petal-angle: calc(var(--petal) * 60deg);
  position: absolute;
  top: 50%;
  left: 50%;
  width: 29px;
  height: 46px;
  border: 1px solid rgba(221, 120, 159, 0.24);
  border-radius: 80% 25% 75% 30%;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.86), rgba(235, 168, 191, 0.56));
  opacity: 0.25;
  transform: translate(-50%, -100%) rotate(var(--petal-angle)) scaleY(0.16);
  transform-origin: 50% 100%;
  transition:
    transform 0.72s cubic-bezier(0.2, 0.8, 0.2, 1) calc(var(--petal) * 42ms),
    opacity 0.48s ease calc(var(--petal) * 38ms);
}

.scroll-flower b {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff7fb, #d97b9e 75%);
  box-shadow: 0 0 0 7px rgba(235, 168, 191, 0.15);
  transform: translate(-50%, -50%) scale(0.5);
  transition: transform 0.65s ease 0.16s;
}

body.scrolling-down .scroll-flower {
  opacity: 0.68;
  transform: scale(0.92) rotate(6deg);
}

body.scrolling-down .scroll-flower-2 { transform: scale(0.68) rotate(-10deg); }
body.scrolling-down .scroll-flower-3 { transform: scale(0.62) rotate(-4deg); }
body.scrolling-down .scroll-flower-4 { transform: scale(1) rotate(8deg); }

body.scrolling-down .flower-petal {
  opacity: 0.76;
  transform: translate(-50%, -100%) rotate(var(--petal-angle)) scaleY(1);
}

body.scrolling-down .scroll-flower b {
  transform: translate(-50%, -50%) scale(1);
}

body.scrolling-up .scroll-flower {
  opacity: 0.16;
  transform: scale(0.48) rotate(-12deg);
}

body.scrolling-up .flower-petal {
  opacity: 0.12;
  transform: translate(-50%, -100%) rotate(var(--petal-angle)) scaleY(0.08);
}

body.scrolling-up .scroll-flower b {
  transform: translate(-50%, -50%) scale(0.35);
}

.floating-petals i {
  position: fixed;
  z-index: 0;
  width: 11px;
  height: 18px;
  border-radius: 80% 20% 70% 30%;
  background: rgba(235, 168, 191, 0.24);
  pointer-events: none;
  animation: floatPetal 13s ease-in-out infinite;
}

.floating-petals i:nth-child(1) { top: 18%; left: 7%; }
.floating-petals i:nth-child(2) { top: 68%; left: 91%; animation-delay: -2s; }
.floating-petals i:nth-child(3) { top: 40%; left: 82%; animation-delay: -5s; }
.floating-petals i:nth-child(4) { top: 82%; left: 14%; animation-delay: -7s; }
.floating-petals i:nth-child(5) { top: 10%; left: 70%; animation-delay: -9s; }
.floating-petals i:nth-child(6) { top: 56%; left: 4%; animation-delay: -11s; }

@keyframes floatPetal {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(10deg); }
  50% { transform: translate3d(18px, -28px, 0) rotate(120deg); }
}

.hero {
  position: relative;
  display: grid;
  width: min(1420px, 100%);
  min-height: 100svh;
  margin-inline: auto;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  padding: 115px max(24px, 7vw) 80px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: 15%;
  left: -7%;
  width: 31vw;
  height: 31vw;
  border: 1px solid rgba(235, 168, 191, 0.4);
  border-radius: 50%;
  content: "";
}

.hero-orbit {
  position: absolute;
  top: 17%;
  right: 4%;
  width: 47vw;
  height: 47vw;
  max-width: 720px;
  max-height: 720px;
  border: 1px solid rgba(235, 168, 191, 0.35);
  border-radius: 50%;
  animation: orbit 18s linear infinite;
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pink);
  content: "";
}

.hero-orbit::before {
  top: 7%;
  left: 25%;
}

.hero-orbit::after {
  right: 8%;
  bottom: 26%;
  width: 7px;
  height: 7px;
}

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

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--wine);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 30px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.section-heading h2,
.intro h2,
.tutorial-intro h2,
.biography h2,
.collab h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(72px, 9vw, 142px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.72;
}

.hero h1 em,
.section-heading h2 em,
.intro h2 em,
.tutorial-intro h2 em,
.biography h2 em,
.collab h2 em {
  color: var(--pink-hot);
  font-weight: 500;
}

.hero h1 em {
  margin-left: 0.44em;
}

.hero-lead {
  max-width: 490px;
  margin: 38px 0 0 10px;
  color: var(--ink-soft);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 32px 0 0 10px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 24px;
  border: 0;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button-primary {
  color: white;
  background: var(--ink);
  box-shadow: 0 13px 28px rgba(41, 29, 34, 0.16);
}

.button-primary:hover {
  background: var(--wine);
  box-shadow: 0 16px 34px rgba(141, 63, 91, 0.23);
  transform: translateY(-3px);
}

.text-link {
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  z-index: 2;
  width: min(47vw, 640px);
  height: min(72vh, 770px);
  justify-self: end;
}

.hero-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--blush);
  box-shadow: var(--shadow);
}

.hero-photo img {
  height: 100%;
  object-fit: cover;
}

.hero-photo-main {
  right: 5%;
  width: 74%;
  height: 86%;
  border-radius: 47% 47% 24px 24px;
  transform: rotate(2.5deg);
}

.hero-photo-small {
  bottom: 0;
  left: 0;
  width: 37%;
  height: 38%;
  border: 8px solid var(--paper);
  border-radius: 22px;
  transform: rotate(-7deg);
}

.scribble {
  position: absolute;
  z-index: 3;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  transform: rotate(-8deg);
}

.scribble-one {
  top: 3%;
  left: 2%;
}

.hero-sticker {
  position: absolute;
  top: 10%;
  right: 0;
  z-index: 4;
  display: grid;
  width: 83px;
  height: 83px;
  place-items: center;
  border: 7px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: white;
  background: var(--pink-hot);
  box-shadow: 0 10px 30px rgba(141, 63, 91, 0.2);
  font-family: var(--serif);
  font-size: 27px;
  line-height: 0.55;
  text-align: center;
  transform: rotate(9deg);
}

.hero-sticker small {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-count {
  position: absolute;
  right: 0;
  bottom: 4%;
  z-index: 4;
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  background: rgba(255, 250, 252, 0.86);
  box-shadow: 0 15px 40px rgba(100, 56, 72, 0.11);
  backdrop-filter: blur(14px);
}

.hero-count strong {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.hero-count b {
  color: var(--pink-hot);
  font-size: 20px;
}

.hero-count span {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero-scroll i {
  position: relative;
  width: 1px;
  height: 35px;
  margin-top: 9px;
  overflow: hidden;
  background: var(--line);
}

.hero-scroll i::after {
  position: absolute;
  top: -100%;
  width: 100%;
  height: 100%;
  background: var(--pink-hot);
  content: "";
  animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
  70%, 100% { transform: translateY(200%); }
}

.intro {
  padding-block: 130px 120px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 70px;
}

.section-kicker span,
.section-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--wine);
  font-size: 10px;
  font-weight: 700;
}

.section-kicker p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 9vw;
}

.intro h2 {
  font-size: clamp(54px, 7vw, 95px);
  line-height: 0.86;
}

.intro-copy {
  max-width: 530px;
  padding-top: 10px;
  color: var(--ink-soft);
}

.intro-copy .big-copy {
  margin-top: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
}

.fact-row {
  display: grid;
  margin-top: 90px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.fact-row article {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: center;
  padding: 20px 28px;
  border-right: 1px solid var(--line);
}

.fact-row article:last-child {
  border-right: 0;
}

.fact-row span,
.fact-row small {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fact-row strong {
  margin: 8px 0 2px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
}

.manifesto {
  position: relative;
  display: grid;
  min-height: 580px;
  place-items: center;
  padding: 80px 24px;
  color: white;
  background:
    linear-gradient(rgba(73, 35, 50, 0.83), rgba(73, 35, 50, 0.83)),
    url("assets/photos/pavlova-05.webp") center 42% / cover fixed;
  overflow: hidden;
}

.manifesto-line {
  position: absolute;
  top: 36px;
  left: 0;
  width: max-content;
  margin: 0;
  color: rgba(255, 255, 255, 0.24);
  font-family: var(--serif);
  font-size: 35px;
  font-style: italic;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
}

@keyframes marquee {
  to { transform: translateX(-33.333%); }
}

.manifesto-inner {
  position: relative;
  max-width: 860px;
  text-align: center;
}

.quote-mark {
  position: absolute;
  top: -100px;
  left: 50%;
  color: var(--pink);
  font-family: var(--serif);
  font-size: 160px;
  line-height: 1;
  transform: translateX(-50%);
}

.manifesto blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 76px);
  font-style: italic;
  line-height: 0.95;
}

.manifesto-inner p {
  margin-top: 35px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story,
.archive {
  padding-block: 130px;
}

.section-heading {
  display: grid;
  margin-bottom: 90px;
  grid-template-columns: 0.55fr 1.1fr 0.7fr;
  align-items: end;
  gap: 35px;
}

.section-heading h2 {
  font-size: clamp(58px, 7vw, 102px);
  line-height: 0.82;
}

.section-heading > p {
  margin: 0 0 5px;
  color: var(--ink-soft);
}

.milestone {
  position: relative;
  display: grid;
  margin: 70px 0;
  padding: 60px 8%;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 15% 50%, rgba(247, 215, 226, 0.6), transparent 35%),
    rgba(255, 255, 255, 0.58);
  grid-template-columns: 0.8fr 1.2fr auto;
  align-items: center;
  gap: 50px;
  overflow: hidden;
}

.milestone::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 45px;
  height: 1px;
  background: var(--pink-hot);
  content: "";
}

.milestone-number {
  display: flex;
  flex-direction: column;
}

.milestone-number strong {
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(60px, 8vw, 108px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.7;
}

.milestone-number span,
.milestone-year {
  margin-top: 15px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.milestone > p {
  max-width: 510px;
  margin: 0;
  color: var(--ink-soft);
}

.milestone-year {
  writing-mode: vertical-rl;
}

.milestone-current {
  color: white;
  border: 0;
  background: var(--ink);
}

.milestone-current .milestone-number strong {
  color: var(--pink);
}

.milestone-current .milestone-number span,
.milestone-current .milestone-year,
.milestone-current > p {
  color: rgba(255, 255, 255, 0.65);
}

.photo-chapter {
  display: grid;
  margin: 80px 0 120px;
  grid-template-columns: 1.18fr 0.82fr 0.82fr;
  grid-auto-rows: 280px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--blush);
  cursor: zoom-in;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(41, 29, 34, 0.42));
  content: "";
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery-item figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  left: 16px;
  z-index: 2;
  color: white;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover::after,
.gallery-item:hover figcaption {
  opacity: 1;
}

.gallery-item:hover figcaption {
  transform: translateY(0);
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.photo-chapter .gallery-item:first-child {
  grid-row: span 2;
}

.photo-chapter .gallery-item:nth-child(2) {
  grid-column: span 2;
}

.birthday-feature {
  position: relative;
  display: grid;
  margin: 90px 0 20px;
  padding: 55px;
  border-radius: 32px;
  background: #f9e6ed;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: 45px;
  overflow: hidden;
}

.birthday-feature::after {
  position: absolute;
  top: -110px;
  left: -90px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(221, 120, 159, 0.3);
  border-radius: 50%;
  content: "";
}

.birthday-copy {
  position: relative;
  z-index: 1;
}

.capsule {
  display: inline-block;
  padding: 8px 13px;
  border: 1px solid rgba(141, 63, 91, 0.2);
  border-radius: 100px;
  color: var(--wine);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.birthday-copy h3 {
  margin: 20px 0 16px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(60px, 7vw, 98px);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.75;
}

.birthday-copy p {
  color: var(--ink-soft);
}

.hand-note {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  transform: rotate(-4deg);
}

.birthday-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.birthday-gallery .gallery-item {
  height: 480px;
  border-radius: 180px 180px 16px 16px;
}

.birthday-gallery .gallery-item:nth-child(2) {
  transform: translateY(-25px);
}

.tutorials {
  display: grid;
  padding-block: 140px;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 7vw;
}

.tutorial-intro {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.tutorial-intro .section-number {
  margin-bottom: 28px;
}

.tutorial-intro h2 {
  margin-bottom: 30px;
  font-size: clamp(60px, 7vw, 90px);
  line-height: 0.82;
}

.tutorial-intro > p:last-child {
  max-width: 410px;
  color: var(--ink-soft);
}

.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.tutorial-card {
  position: relative;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(141, 63, 91, 0.1);
  border-radius: 24px;
  background: white;
  box-shadow: 0 18px 45px rgba(100, 56, 72, 0.08);
}

.tutorial-card.reveal,
.tutorial-card.reveal.is-visible {
  transform: none;
}

.tutorial-card:nth-child(2),
.tutorial-card:nth-child(5) {
  margin-top: 55px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ink);
  aspect-ratio: 9 / 14;
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--ink);
}

.video-frame video:fullscreen,
.video-frame video:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  background: #000;
}

.video-error {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 28px;
  color: white;
  background: linear-gradient(160deg, rgba(38, 25, 31, 0.96), rgba(91, 47, 65, 0.94));
  text-align: center;
}

.video-error[hidden] {
  display: none;
}

.video-error strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
}

.video-error span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.video-error div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
}

.video-error button,
.video-error a {
  min-height: 38px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: white;
  background: transparent;
  font: 600 10px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
}

.video-error button {
  color: var(--ink);
  background: white;
}

.tutorial-card h3 {
  margin: 16px 8px 3px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
}

.tutorial-card p {
  margin: 0 8px 10px;
  color: var(--ink-soft);
  font-size: 11px;
}

.tutorial-index {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 3;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--wine);
  background: rgba(255, 250, 252, 0.9);
  font-size: 9px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.archive {
  padding-top: 100px;
}

.archive-block {
  margin: 130px 0;
}

.archive-meta {
  display: grid;
  margin-bottom: 38px;
  grid-template-columns: 0.5fr 0.8fr 1fr;
  align-items: end;
  gap: 40px;
}

.archive-meta > span {
  color: var(--wine);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.archive-meta h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(45px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.archive-meta p {
  max-width: 470px;
  margin: 0;
  color: var(--ink-soft);
}

.masonry-gallery {
  display: columns;
  columns: 4 220px;
  column-gap: 14px;
}

.masonry-gallery .gallery-item {
  margin-bottom: 14px;
  break-inside: avoid;
}

.masonry-gallery .gallery-item img {
  height: auto;
  aspect-ratio: auto;
}

.compact-gallery {
  display: columns;
  columns: 4 220px;
  column-gap: 14px;
}

.compact-gallery .gallery-item {
  margin-bottom: 14px;
  border-radius: 14px;
  break-inside: avoid;
}

.compact-gallery .gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

.masonry-gallery-small {
  columns: 3 250px;
}

.duo-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.duo-gallery .gallery-item {
  height: min(76vw, 760px);
}

.duo-gallery .gallery-item:nth-child(2) {
  margin-top: 90px;
}

.feature-session {
  padding: 60px;
  border-radius: 32px;
  color: white;
  background: var(--ink);
}

.feature-session .archive-meta p {
  color: rgba(255, 255, 255, 0.6);
}

.feature-session .archive-meta > span {
  color: var(--pink);
}

.angel-pink {
  padding: 60px;
  border-radius: 32px;
  background: linear-gradient(135deg, #f5d8e6, #fff7fa);
}

.angel-white {
  padding: 60px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  background: linear-gradient(135deg, #fff, #f1edf0);
  box-shadow: var(--shadow);
}

.milestone-compact {
  margin-top: -30px;
  transform: scale(0.92);
}

.milestone-first {
  border-style: dashed;
}

.birthday-14 {
  background: linear-gradient(135deg, #f7cee0, #fff5f8);
}

.single-gallery .gallery-item {
  height: 670px;
}

.archive-ending {
  margin-bottom: 0;
}

.biography {
  display: grid;
  padding-block: 150px;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 8vw;
}

.bio-photo {
  position: relative;
  min-height: 780px;
}

.bio-photo::before {
  position: absolute;
  inset: -22px 30px 24px -22px;
  z-index: -1;
  border: 1px solid var(--pink);
  border-radius: 240px 240px 20px 20px;
  content: "";
}

.bio-photo img {
  height: 100%;
  border-radius: 240px 240px 20px 20px;
  object-fit: cover;
}

.bio-photo span {
  position: absolute;
  right: -48px;
  bottom: 90px;
  padding: 13px 18px;
  border-radius: 100px;
  color: white;
  background: var(--pink-hot);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  transform: rotate(-7deg);
}

.bio-copy .section-number {
  margin-bottom: 25px;
}

.biography h2 {
  margin-bottom: 65px;
  font-size: clamp(60px, 7vw, 90px);
  line-height: 0.82;
}

.bio-list article {
  display: grid;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 54px 1fr;
  gap: 20px;
}

.bio-list article > span {
  color: var(--pink-hot);
  font-family: var(--serif);
  font-size: 18px;
}

.bio-list h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
}

.bio-list p {
  margin: 0;
  color: var(--ink-soft);
}

.socials {
  padding-block: 30px 140px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.social-card {
  position: relative;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 38px;
  border-radius: 28px;
  color: white;
  background: var(--ink);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.social-card::after {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
  transition: transform 0.5s ease;
}

.social-card:hover {
  transform: translateY(-6px);
}

.social-card:hover::after {
  transform: scale(1.25);
}

.social-card-pink {
  color: var(--ink);
  background: var(--pink);
}

.social-card > span,
.social-card small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social-card strong {
  margin: 8px 0;
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.social-card i {
  position: absolute;
  top: 32px;
  right: 32px;
  font-size: 26px;
  font-style: normal;
}

.collab {
  display: grid;
  margin-bottom: 90px;
  padding: 90px;
  border-radius: 38px;
  color: white;
  background:
    radial-gradient(circle at 5% 100%, rgba(235, 168, 191, 0.28), transparent 30%),
    var(--ink);
  grid-template-columns: 0.9fr 1.1fr;
  gap: 9vw;
}

.collab-copy .section-number {
  margin-bottom: 25px;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--pink);
}

.collab-copy .eyebrow {
  color: var(--pink);
}

.collab h2 {
  font-size: clamp(58px, 7vw, 92px);
  line-height: 0.82;
}

.collab-copy > p {
  max-width: 440px;
  margin-top: 35px;
  color: rgba(255, 255, 255, 0.62);
}

.collab-copy > a {
  display: inline-block;
  margin-top: 15px;
  border-bottom: 1px solid var(--pink);
  color: var(--pink);
  font-weight: 700;
}

.collab-form {
  display: grid;
  gap: 24px;
}

.collab-form label {
  display: grid;
  gap: 8px;
}

.collab-form label > span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.collab-form input,
.collab-form select,
.collab-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  outline: none;
  color: white;
  background: transparent;
  resize: vertical;
}

.collab-form input,
.collab-form select {
  height: 46px;
}

.collab-form textarea {
  padding-block: 10px;
}

.collab-form input:focus,
.collab-form select:focus,
.collab-form textarea:focus {
  border-color: var(--pink);
}

.collab-form ::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.collab-form option {
  color: var(--ink);
}

.collab-form .button {
  width: fit-content;
  margin-top: 8px;
  color: var(--ink);
  background: var(--pink);
  box-shadow: none;
}

.form-note {
  margin: -10px 0 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
}

.site-footer {
  display: grid;
  width: var(--shell);
  margin-inline: auto;
  padding: 50px 0 32px;
  border-top: 1px solid var(--line);
  grid-template-columns: 0.5fr 1fr 0.7fr;
  gap: 40px;
  align-items: start;
}

.site-footer > p {
  max-width: 470px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.site-footer > div {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  font-size: 11px;
  font-weight: 700;
}

.site-footer > span {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: white;
  background: rgba(26, 18, 21, 0.94);
}

.lightbox[open] {
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  place-items: center;
}

.lightbox::backdrop {
  background: rgba(26, 18, 21, 0.8);
  backdrop-filter: blur(10px);
}

.lightbox figure {
  display: grid;
  width: 100%;
  height: 100%;
  margin: 0;
  place-items: center;
  padding: 40px 20px;
}

.lightbox img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 100px);
  border-radius: 12px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.lightbox figcaption {
  position: absolute;
  bottom: 18px;
  left: 50%;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.lightbox-close,
.lightbox-nav {
  z-index: 3;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 25px;
}

.inner-note {
  position: relative;
  margin-block: 30px 120px;
  padding: 70px clamp(28px, 6vw, 80px);
  border: 1px solid rgba(221, 120, 159, 0.2);
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 30%, rgba(247, 215, 226, 0.78), transparent 18rem),
    rgba(255, 255, 255, 0.58);
  box-shadow: 0 24px 70px rgba(116, 67, 85, 0.08);
  overflow: hidden;
}

.inner-note-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  align-items: start;
  gap: 6vw;
}

.inner-note-grid > span {
  color: var(--wine);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.inner-note-grid p {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 58px);
  font-style: italic;
  line-height: 1;
}

.inner-note-flower {
  position: absolute;
  right: -55px;
  bottom: -55px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(221, 120, 159, 0.2);
  border-radius: 50% 10% 50% 10%;
  transform: rotate(32deg);
}

.timeline-period {
  position: relative;
  padding-block: 18px 38px;
}

.timeline-period + .timeline-period {
  border-top: 1px solid var(--line);
}

.milestone-gallery {
  margin-top: 38px;
}

.bio-lead {
  margin: 0 0 38px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.05;
}

.birthday-memory {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr;
  align-items: start;
  gap: 20px;
}

.milestone-media {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
  align-items: start;
  gap: 20px;
}

.milestone-video {
  width: 100%;
}

.milestone-video video {
  height: auto;
  max-height: 760px;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  object-position: center;
}

.birthday-video {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(141, 63, 91, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 45px rgba(100, 56, 72, 0.1);
}

.birthday-video video {
  max-height: 720px;
  border-radius: 16px;
  background: var(--ink);
  aspect-ratio: 9 / 14;
  object-fit: cover;
}

.birthday-video span {
  display: block;
  padding: 12px 7px 4px;
  color: var(--wine);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.subpage-main {
  position: relative;
  z-index: 2;
  padding-top: 105px;
}

.subpage-hero {
  display: grid;
  min-height: calc(100svh - 105px);
  grid-template-columns: 1.05fr 0.78fr;
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
  padding-block: 70px;
}

.subpage-hero-copy h1 {
  max-width: 760px;
  margin: 28px 0 35px;
  font-family: var(--serif);
  font-size: clamp(72px, 9vw, 132px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.76;
}

.subpage-hero-copy h1 em {
  color: var(--pink-hot);
  font-weight: 500;
}

.subpage-hero-copy > p:last-child {
  max-width: 600px;
  color: var(--ink-soft);
  font-size: 18px;
}

.subpage-hero-photo {
  position: relative;
  height: min(72vh, 760px);
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(141, 63, 91, 0.12);
  border-radius: 240px 240px 24px 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  overflow: hidden;
}

.subpage-hero-photo::before {
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.subpage-hero-photo img {
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.subpage-hero-photo figcaption {
  position: absolute;
  right: 26px;
  bottom: 24px;
  left: 26px;
  z-index: 3;
  padding: 12px 16px;
  border-radius: 100px;
  color: var(--ink);
  background: rgba(255, 250, 252, 0.86);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.about-letter {
  display: grid;
  padding-block: 130px;
  border-top: 1px solid var(--line);
  grid-template-columns: 0.9fr 1.1fr;
  gap: 7vw;
}

.about-letter > div {
  grid-column: 2;
}

.about-letter h2,
.archive-page-heading h2 {
  margin: 0 0 45px;
  font-family: var(--serif);
  font-size: clamp(58px, 7vw, 98px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.83;
}

.about-letter h2 em,
.archive-page-heading h2 em {
  color: var(--pink-hot);
  font-weight: 500;
}

.about-letter .big-copy {
  max-width: 840px;
  margin-top: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1.04;
}

.about-letter div > p:last-child {
  max-width: 700px;
  color: var(--ink-soft);
}

.biography-page {
  padding-top: 70px;
}

.page-next {
  display: flex;
  margin-block: 70px 120px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-next > span {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.page-next a {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1;
}

.page-next a i {
  color: var(--pink-hot);
  font-style: normal;
  transition: transform 0.25s ease;
}

.page-next a:hover i {
  display: inline-block;
  transform: translateX(8px);
}

.story-line {
  padding-block: 80px 120px;
}

.story-line-item {
  display: grid;
  padding: 70px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 0.36fr 0.52fr 1.45fr;
  align-items: start;
  gap: 4vw;
}

.story-line-item > span {
  padding-top: 8px;
  color: var(--wine);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-line-item > strong {
  color: var(--pink-hot);
  font-family: var(--serif);
  font-size: clamp(50px, 6vw, 85px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.78;
}

.story-line-item h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  line-height: 0.9;
}

.story-line-item p {
  max-width: 690px;
  margin-top: 0;
  color: var(--ink-soft);
}

.story-gallery-wide {
  width: 100%;
  margin-top: 32px;
  padding-left: 0;
  grid-column: 1 / -1;
}

.story-inline-gallery {
  margin-top: 36px;
}

.story-inline-gallery.duo-gallery .gallery-item {
  height: min(54vw, 650px);
}

.story-birthday-video {
  width: min(420px, 100%);
  margin-top: 28px;
}

.story-line-first {
  border-bottom: 1px solid var(--line);
}

.page-tutorials {
  padding-top: 100px;
  border-top: 1px solid var(--line);
}

.archive-page {
  padding-block: 80px 130px;
  border-top: 1px solid var(--line);
}

.archive-page-heading {
  display: grid;
  margin-bottom: 70px;
  grid-template-columns: 0.5fr 1.5fr;
  align-items: start;
  gap: 6vw;
}

.archive-full-gallery {
  columns: 4 240px;
}

.archive-full-gallery .gallery-item {
  margin-bottom: 16px;
}

.collab-page {
  margin-top: 60px;
}

.official-links {
  padding-bottom: 120px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease var(--delay, 0ms),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 34px, 760px);
  }

  .main-nav {
    gap: 16px;
  }

  .main-nav a:not(.nav-accent) {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 145px;
  }

  .hero-copy {
    z-index: 4;
  }

  .hero h1 {
    font-size: clamp(74px, 16vw, 120px);
  }

  .hero-visual {
    width: min(90vw, 650px);
    height: 680px;
    margin-top: 70px;
    justify-self: center;
  }

  .hero-orbit {
    top: 45%;
    right: -12%;
    width: 90vw;
    height: 90vw;
  }

  .hero-scroll {
    display: none;
  }

  .intro-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    padding-top: 0;
  }

  .fact-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact-row article:nth-child(2) {
    border-right: 0;
  }

  .fact-row article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .manifesto {
    background-attachment: scroll;
  }

  .section-heading > p {
    max-width: 560px;
  }

  .milestone {
    padding: 50px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .milestone-year {
    position: absolute;
    top: 28px;
    right: 25px;
  }

  .birthday-feature {
    grid-template-columns: 1fr;
  }

  .tutorials {
    grid-template-columns: 1fr;
  }

  .tutorial-intro {
    position: static;
  }

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

  .archive-meta p {
    grid-column: 2;
  }

  .biography {
    grid-template-columns: 1fr;
  }

  .bio-photo {
    min-height: 720px;
  }

  .collab {
    padding: 60px;
    grid-template-columns: 1fr;
  }

  .subpage-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 80px 110px;
  }

  .subpage-hero-photo {
    width: min(650px, 88vw);
    height: 720px;
    justify-self: center;
  }

  .about-letter,
  .archive-page-heading {
    grid-template-columns: 1fr;
  }

  .about-letter > div {
    grid-column: 1;
  }

  .story-line-item {
    grid-template-columns: 0.42fr 0.58fr;
  }

  .story-line-item > div {
    grid-column: 1 / -1;
    padding-left: 38%;
  }

  .story-line-item > .story-gallery-wide {
    padding-left: 0;
  }

  .compact-gallery {
    columns: 3 180px;
  }

  .birthday-memory {
    grid-template-columns: 1fr;
  }

  .birthday-video {
    width: min(460px, 100%);
  }
}

@media (max-width: 680px) {
  :root {
    --shell: calc(100% - 28px);
  }

  body {
    font-size: 14px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    height: 58px;
    padding-left: 18px;
  }

  .menu-toggle {
    display: block;
    z-index: 2;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: -10px -10px auto;
    display: flex;
    height: 100svh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding: 70px 38px;
    background: rgba(255, 247, 250, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a:not(.nav-accent) {
    display: block;
    font-family: var(--serif);
    font-size: 42px;
    font-weight: 500;
    letter-spacing: -0.04em;
    text-transform: none;
  }

  .nav-accent {
    margin-top: 12px;
  }

  .scroll-companion {
    right: 5px;
    opacity: 0.55;
  }

  .companion-label {
    display: none;
  }

  .hero {
    padding: 112px 18px 55px;
  }

  .hero h1 {
    font-size: clamp(72px, 23vw, 104px);
  }

  .hero-lead {
    margin-left: 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
  }

  .hero-visual {
    width: 100%;
    height: 510px;
    margin-top: 55px;
  }

  .hero-photo-main {
    right: 2%;
    width: 82%;
  }

  .hero-photo-small {
    width: 42%;
    height: 34%;
    border-width: 5px;
  }

  .hero-count {
    right: -4px;
    padding: 13px 16px;
  }

  .hero-count strong {
    font-size: 34px;
  }

  .hero-sticker {
    width: 66px;
    height: 66px;
    font-size: 22px;
  }

  .intro,
  .story,
  .archive,
  .biography {
    padding-block: 90px;
  }

  .section-kicker {
    margin-bottom: 44px;
  }

  .fact-row {
    grid-template-columns: 1fr;
  }

  .fact-row article {
    min-height: 120px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .manifesto {
    min-height: 520px;
  }

  .manifesto blockquote {
    font-size: 42px;
  }

  .section-heading {
    margin-bottom: 60px;
  }

  .milestone {
    margin: 50px 0;
    padding: 42px 28px;
  }

  .milestone::before {
    width: 18px;
  }

  .photo-chapter {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }

  .photo-chapter .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }

  .photo-chapter .gallery-item:nth-child(2) {
    grid-column: span 1;
  }

  .birthday-feature,
  .feature-session,
  .angel-pink,
  .angel-white {
    padding: 34px 18px;
    border-radius: 24px;
  }

  .birthday-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .birthday-gallery .gallery-item {
    height: 330px;
  }

  .birthday-gallery .gallery-item:first-child {
    grid-column: span 2;
  }

  .birthday-gallery .gallery-item:nth-child(2) {
    transform: none;
  }

  .tutorials {
    padding-block: 90px;
  }

  .tutorial-grid {
    grid-template-columns: 1fr;
  }

  .tutorial-card:nth-child(2),
  .tutorial-card:nth-child(5) {
    margin-top: 0;
  }

  .video-frame {
    aspect-ratio: 9 / 13;
  }

  .archive-block {
    margin: 85px 0;
  }

  .archive-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .archive-meta p {
    grid-column: auto;
  }

  .masonry-gallery {
    columns: 2 130px;
    column-gap: 8px;
  }

  .masonry-gallery .gallery-item {
    margin-bottom: 8px;
    border-radius: 12px;
  }

  .compact-gallery {
    columns: 2 130px;
    column-gap: 8px;
  }

  .compact-gallery .gallery-item {
    margin-bottom: 8px;
    border-radius: 12px;
  }

  .duo-gallery {
    gap: 8px;
  }

  .duo-gallery .gallery-item {
    height: 470px;
    border-radius: 12px;
  }

  .duo-gallery .gallery-item:nth-child(2) {
    margin-top: 40px;
  }

  .single-gallery .gallery-item {
    height: 560px;
  }

  .bio-photo {
    min-height: 550px;
  }

  .bio-photo span {
    right: -2px;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .social-card {
    min-height: 210px;
    padding: 28px;
  }

  .collab {
    width: calc(100% - 16px);
    margin-bottom: 50px;
    padding: 48px 22px;
    border-radius: 26px;
  }

  .collab h2 {
    font-size: 56px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer > div {
    justify-content: flex-start;
  }

  .lightbox[open] {
    grid-template-columns: 48px 1fr 48px;
  }

  .lightbox figure {
    padding-inline: 4px;
  }

  .scroll-flower-2,
  .scroll-flower-3 {
    display: none;
  }

  .scroll-flower-1 {
    left: -48px;
  }

  .scroll-flower-4 {
    right: -48px;
  }

  .inner-note {
    margin-bottom: 75px;
    padding: 48px 24px;
    border-radius: 24px;
  }

  .inner-note-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .inner-note-grid p {
    font-size: 34px;
  }

  .birthday-memory {
    grid-template-columns: 1fr;
  }

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

  .birthday-video {
    width: 100%;
  }

  .subpage-main {
    padding-top: 78px;
  }

  .subpage-hero {
    width: calc(100% - 28px);
    padding-block: 58px 85px;
  }

  .subpage-hero-copy h1 {
    margin-top: 20px;
    font-size: clamp(66px, 20vw, 94px);
  }

  .subpage-hero-copy > p:last-child {
    font-size: 15px;
  }

  .subpage-hero-photo {
    width: 100%;
    height: 590px;
    border-radius: 180px 180px 20px 20px;
  }

  .about-letter {
    padding-block: 85px;
  }

  .about-letter h2,
  .archive-page-heading h2 {
    font-size: 58px;
  }

  .page-next {
    align-items: flex-start;
    flex-direction: column;
    margin-block: 40px 85px;
  }

  .story-line {
    padding-block: 40px 90px;
  }

  .story-line-item {
    padding: 52px 0;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .story-line-item > div {
    grid-column: auto;
    padding-left: 0;
  }

  .story-line-item > strong {
    font-size: 68px;
  }

  .story-inline-gallery.duo-gallery .gallery-item {
    height: 450px;
  }

  .archive-page {
    padding-block: 70px 90px;
  }

  .archive-full-gallery {
    columns: 2 135px;
  }

  .official-links {
    padding-bottom: 85px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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