:root {
  --paper: #ffffff;
  --paper-blue: #f3faff;
  --sky: #dff3ff;
  --sky-strong: #8fd9f7;
  --ink: #082d5c;
  --ink-soft: #40546a;
  --coral: #ff6f55;
  --line: #cfe4f2;
  --shadow: 0 18px 50px rgba(8, 45, 92, 0.09);
  --radius: 22px;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --serif: "Songti SC", STSong, "Noto Serif CJK SC", SimSun, serif;
  --content: min(1280px, calc(100vw - 96px));
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

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

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

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

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(48px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid rgba(8, 45, 92, 0.09);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 220ms ease, height 220ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(8, 45, 92, 0.06);
}

.scroll-progress {
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--coral);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand__mark {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.6;
}

.brand__dot {
  fill: var(--coral);
  stroke: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.2vw, 52px);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #172f4f;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  inset: auto 0 5px;
  height: 2px;
  background: var(--coral);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(480px, 0.87fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 42px 68px;
  padding: calc(var(--header-height) + 62px) max(48px, calc((100vw - 1280px) / 2)) 48px;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: var(--header-height) 0 0;
  background:
    radial-gradient(circle at 78% 35%, rgba(143, 217, 247, 0.26), transparent 34%),
    linear-gradient(116deg, #ffffff 0%, #ffffff 54%, #f7fcff 100%);
  content: "";
}

.hero__copy {
  align-self: center;
  max-width: 650px;
  padding-top: 16px;
}

.hero h1,
.section h2,
.closing blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.015em;
}

.hero h1 {
  font-size: clamp(56px, 5.7vw, 92px);
  line-height: 1.18;
}

.hero__copy > p {
  max-width: 560px;
  margin: 24px 0 32px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 50px;
  border-radius: 12px;
  background: var(--coral);
  color: white;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.text-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 111, 85, 0.24);
}

.text-link svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero__media {
  position: relative;
  align-self: stretch;
  margin: 0;
  min-height: min(720px, calc(100svh - 158px));
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero__media img {
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__media::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.hero__track {
  position: absolute;
  z-index: -1;
  right: 43%;
  bottom: 30px;
  width: 64vw;
  height: 230px;
  transform: rotate(-3deg);
  transform-origin: right bottom;
  opacity: 0.72;
  overflow: hidden;
}

.hero__track span {
  position: absolute;
  right: -8%;
  bottom: calc(var(--i, 0) * 38px);
  width: 110%;
  height: 190px;
  border: 2px solid white;
  border-radius: 50% 0 0 50%;
  box-shadow: 0 0 0 1px var(--line);
}

.hero__track span:nth-child(1) { --i: 0; }
.hero__track span:nth-child(2) { --i: 1; }
.hero__track span:nth-child(3) { --i: 2; }
.hero__track span:nth-child(4) { --i: 3; }

.hero__note {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 0;
  color: #597087;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.18em;
}

.section {
  width: 100%;
  padding: clamp(96px, 10vw, 160px) max(48px, calc((100vw - 1280px) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading__rule {
  grid-column: 1 / -1;
  width: 54px;
  height: 4px;
  background: var(--coral);
}

.section h2 {
  font-size: clamp(42px, 4.7vw, 72px);
  line-height: 1.24;
}

.section-heading > p,
.gallery__heading > p {
  max-width: 560px;
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.9;
}

.photo-frame {
  margin: 0;
}

.photo-frame img {
  border-radius: var(--radius);
  object-fit: cover;
}

.photo-frame figcaption {
  margin-top: 12px;
  color: #536a80;
  font-size: 14px;
}

.teacher {
  position: relative;
  background: var(--paper);
}

.teacher::after {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 170px;
  background: linear-gradient(176deg, transparent 34%, var(--sky) 35%, #acdff8 100%);
  content: "";
  pointer-events: none;
}

.teacher > * {
  position: relative;
  z-index: 1;
}

.teacher__story {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(300px, 0.9fr);
  gap: clamp(44px, 6vw, 88px);
  align-items: center;
}

.teacher__classroom img {
  aspect-ratio: 1.45;
  object-position: center;
}

.teacher__principles {
  position: relative;
  display: grid;
  gap: 42px;
  margin: 0;
  padding: 16px 0;
  list-style: none;
}

.teacher__principles::before {
  position: absolute;
  top: 36px;
  bottom: 36px;
  left: 18px;
  width: 1px;
  background: var(--line);
  content: "";
}

.teacher__principles li {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 20px;
  align-items: start;
}

.teacher__principles li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--coral);
  border-radius: 50%;
  background: white;
  color: var(--coral);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
}

.teacher__principles h3 {
  margin: 1px 0 6px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.3;
}

.teacher__principles p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.then-and-now {
  display: grid;
  grid-template-columns: 0.8fr 1.05fr 1.05fr 1.35fr;
  gap: 20px;
  align-items: end;
  margin-top: 72px;
}

.then-and-now figure:nth-child(even) {
  transform: translateY(28px);
}

.then-and-now img {
  width: 100%;
  height: clamp(260px, 28vw, 430px);
}

.then-and-now__portrait img {
  object-position: center 28%;
}

.then-and-now__athlete img {
  object-position: center 30%;
}

.then-and-now__gym img {
  object-position: center 38%;
}

.then-and-now__candid img {
  object-position: center 35%;
}

.teacher__quote {
  max-width: 780px;
  margin: 122px 0 42px auto;
  padding: 0;
  text-align: right;
}

.teacher__quote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.3vw, 50px);
  font-weight: 700;
  line-height: 1.55;
}

.campus {
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
}

.campus__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.72fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
}

.campus__heading .section-heading__rule {
  grid-column: 1 / -1;
}

.campus__heading p {
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.9;
}

.campus__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.campus__filters button {
  min-width: 78px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  padding: 0 18px;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.campus__filters button:hover,
.campus__filters button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.campus__archive {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: 18px 28px;
  align-items: stretch;
}

.campus-card {
  grid-column: 2;
  display: grid;
  grid-template-columns: minmax(150px, 0.92fr) minmax(180px, 1.08fr);
  gap: 20px;
  align-items: center;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: zoom-in;
}

.campus-card[hidden] {
  display: none;
}

.campus-card > img {
  width: 100%;
  height: 184px;
  border-radius: var(--radius);
  object-fit: cover;
  transition: transform 300ms cubic-bezier(.2, .75, .2, 1);
}

.campus-card:hover > img {
  transform: translateY(-4px);
}

.campus-card__copy,
.campus-card__meta,
.campus-card__text {
  display: block;
}

.campus-card__meta {
  margin-bottom: 8px;
  color: #2d75b7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.campus-card__copy strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(21px, 1.8vw, 28px);
  line-height: 1.35;
}

.campus-card__text {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.campus-card--anchor {
  grid-column: 1;
  grid-row: 1 / span 3;
  display: block;
  padding-right: 20px;
  border-right: 1px solid var(--line);
}

.campus-card--anchor > img {
  height: 574px;
  margin-bottom: 18px;
}

.campus-card--anchor .campus-card__copy {
  display: grid;
  grid-template-columns: 0.48fr 1fr;
  gap: 6px 24px;
  align-items: start;
  padding: 0 8px;
}

.campus-card--anchor .campus-card__meta {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin-top: 7px;
}

.campus-card--anchor .campus-card__copy strong,
.campus-card--anchor .campus-card__text {
  grid-column: 2;
}

.campus-card--anchor .campus-card__copy strong {
  font-size: clamp(28px, 2.6vw, 40px);
}

.campus__continuing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 68px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.campus__continuing::before,
.campus__continuing::after {
  width: min(24vw, 240px);
  border-top: 1px dashed var(--coral);
  content: "";
}

.campus__continuing svg {
  width: 24px;
  fill: none;
  stroke: var(--coral);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.campus__noscript {
  border-left: 3px solid var(--coral);
  color: var(--ink-soft);
  padding-left: 16px;
}

.timeline {
  background: linear-gradient(180deg, var(--paper-blue), #ffffff 74%);
}

.timeline__heading {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 78px;
}

.timeline__heading > span {
  height: 1px;
  background: linear-gradient(90deg, var(--coral) 0 54px, var(--line) 54px 100%);
}

.timeline__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 0 0 clamp(100px, 12vw, 170px);
  padding: 52px 0 0;
  list-style: none;
}

.timeline__rail::before,
.timeline__rail::after {
  position: absolute;
  top: 13px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--line);
  content: "";
}

.timeline__rail::after {
  top: 20px;
  opacity: 0.65;
}

.timeline__rail li {
  position: relative;
}

.timeline__rail li::before {
  position: absolute;
  top: -47px;
  left: 0;
  width: 16px;
  height: 16px;
  border: 4px solid var(--paper-blue);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 1px var(--coral);
  content: "";
}

.timeline__rail time {
  display: block;
  margin-bottom: 17px;
  font-family: var(--serif);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 700;
}

.timeline__rail h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 21px;
}

.timeline__rail p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.wedding-story {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(420px, 1.3fr) minmax(220px, 0.58fr);
  gap: 28px;
  align-items: end;
}

.wedding-story__copy {
  align-self: center;
  padding-right: 24px;
}

.wedding-story__date {
  margin: 0 0 24px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.wedding-story__copy h3 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(36px, 3.6vw, 54px);
  line-height: 1.3;
}

.wedding-story__copy > p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.wedding-story__couple img {
  aspect-ratio: 0.74;
  object-position: center;
}

.wedding-story__bride img {
  aspect-ratio: 0.66;
  object-position: center 22%;
}

.family {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.35fr);
  gap: 48px 72px;
  align-items: center;
  background: var(--paper);
}

.family__copy {
  align-self: start;
  padding-top: 52px;
}

.family__copy h2 {
  margin: 28px 0 34px;
}

.family__copy p {
  color: var(--ink-soft);
  font-size: 16px;
}

.family__main-photo img {
  aspect-ratio: 1.42;
  object-position: center;
}

.letter {
  align-self: start;
  max-width: 520px;
  border-left: 3px solid var(--coral);
  margin: 16px 0 0 16%;
  padding: 8px 0 8px 28px;
}

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

.letter__title {
  margin-bottom: 12px !important;
  color: var(--ink) !important;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}

.family__quiet-photo {
  width: 76%;
  justify-self: end;
}

.family__quiet-photo img {
  aspect-ratio: 1.5;
  object-position: center 42%;
}

.gallery {
  background: var(--paper-blue);
}

.gallery__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.gallery__heading .section-heading__rule {
  grid-column: 1 / -1;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: start;
}

.gallery__item {
  grid-column: span 4;
  display: block;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: zoom-in;
}

.gallery__item--wide,
.gallery__item--landscape {
  grid-column: span 6;
}

.gallery__item img {
  width: 100%;
  height: clamp(320px, 35vw, 520px);
  border-radius: var(--radius);
  object-fit: cover;
  transition: transform 380ms cubic-bezier(.2, .75, .2, 1), filter 220ms ease;
}

.gallery__item--landscape img {
  aspect-ratio: 1.35;
  height: auto;
}

.gallery__item--wide img {
  object-position: center 32%;
}

.gallery__item--tall img {
  height: clamp(430px, 49vw, 690px);
}

.gallery__item:nth-child(2),
.gallery__item:nth-child(5),
.gallery__item:nth-child(8) {
  margin-top: 54px;
}

.gallery__item:hover img {
  transform: translateY(-6px);
  filter: saturate(1.03);
}

.gallery__item span {
  position: relative;
  display: block;
  margin-top: 12px;
  padding-bottom: 10px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
}

.gallery__item span::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--coral);
  content: "";
}

.closing {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: 120px 48px 160px;
  background: linear-gradient(180deg, #eef9ff 0%, #dff3ff 58%, #b8e3fa 100%);
  overflow: hidden;
  overflow: clip;
}

.closing blockquote {
  position: relative;
  z-index: 2;
  margin: 0;
  text-align: center;
}

.closing blockquote::before,
.closing blockquote::after {
  position: absolute;
  color: var(--coral);
  font-family: var(--serif);
  font-size: 54px;
  line-height: 1;
}

.closing blockquote::before {
  top: -18px;
  left: -38px;
  content: "“";
}

.closing blockquote::after {
  right: -38px;
  bottom: -30px;
  content: "”";
}

.closing blockquote p {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.55;
}

.closing__track {
  position: absolute;
  right: -12vw;
  bottom: -120px;
  width: 115vw;
  height: 340px;
  transform: rotate(-2deg);
}

.closing__track span {
  position: absolute;
  inset: auto 0 calc(var(--track-index) * 46px);
  height: 220px;
  border-top: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 50% 0 0 0;
}

.closing__track span:nth-child(1) { --track-index: 0; }
.closing__track span:nth-child(2) { --track-index: 1; }
.closing__track span:nth-child(3) { --track-index: 2; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 1.2fr) auto;
  gap: 36px;
  align-items: center;
  min-height: 128px;
  padding: 32px max(48px, calc((100vw - 1280px) / 2));
  background: var(--ink);
  color: white;
}

.site-footer p {
  margin: 0;
}

.site-footer > p:first-child {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.08em;
}

.site-footer__privacy {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.7;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: white;
  font-size: 13px;
  text-decoration: none;
}

.lightbox {
  width: min(1160px, calc(100vw - 40px));
  max-width: none;
  height: min(900px, calc(100svh - 40px));
  max-height: none;
  border: 0;
  border-radius: 24px;
  background: #061e3b;
  color: white;
  padding: 0;
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(4, 17, 34, 0.84);
  backdrop-filter: blur(8px);
}

.lightbox__toolbar {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 24px;
}

.lightbox__toolbar p {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
}

.lightbox__close,
.lightbox__nav {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  cursor: pointer;
}

.lightbox svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.lightbox__stage {
  height: calc(100% - 66px);
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 8px;
  padding: 0 18px 18px;
}

.lightbox__stage img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: contain;
}

.js [data-reveal] {
  opacity: 1;
  transform: none;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1050px) {
  :root {
    --content: min(100% - 56px, 900px);
  }

  .site-header,
  .hero,
  .section,
  .site-footer {
    padding-right: 32px;
    padding-left: 32px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 0.85fr);
    gap: 32px;
  }

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

  .teacher__story {
    grid-template-columns: 1.8fr 1fr;
    gap: 40px;
  }

  .then-and-now {
    grid-template-columns: repeat(2, 1fr);
  }

  .then-and-now figure:nth-child(even) {
    transform: none;
  }

  .wedding-story {
    grid-template-columns: 0.85fr 1.25fr;
  }

  .wedding-story__bride {
    display: none;
  }

  .family {
    grid-template-columns: 0.72fr 1.3fr;
    gap: 44px;
  }

  .letter {
    margin-left: 0;
  }

  .campus__archive {
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  }

  .campus-card--anchor > img {
    height: 536px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
    --radius: 16px;
  }

  html {
    scroll-padding-top: 80px;
  }

  .site-header {
    height: var(--header-height);
    padding: 0 18px;
  }

  .brand {
    font-size: 21px;
  }

  .brand__mark {
    width: 27px;
    height: 27px;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 64px;
    min-height: 44px;
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 13px;
    cursor: pointer;
  }

  .menu-button__lines {
    display: grid;
    gap: 5px;
    width: 19px;
  }

  .menu-button__lines i {
    display: block;
    height: 1.5px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] .menu-button__lines i:first-child {
    transform: translateY(3.25px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-button__lines i:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    padding: 8px 18px 18px;
    box-shadow: 0 18px 34px rgba(8, 45, 92, 0.08);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .site-nav a {
    min-height: 46px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: calc(var(--header-height) + 44px) 18px 36px;
  }

  .hero::before {
    inset: var(--header-height) 0 0;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 45%, #eef9ff 100%);
  }

  .hero__copy {
    width: 100%;
    padding-top: 0;
  }

  .hero h1 {
    font-size: clamp(44px, 11.5vw, 58px);
    line-height: 1.19;
  }

  .hero__copy > p {
    margin: 18px 0 24px;
    font-size: 16px;
  }

  .text-link {
    min-height: 46px;
    padding: 0 18px;
  }

  .hero__media {
    order: 2;
    width: 100%;
    min-height: 0;
    aspect-ratio: 0.77;
    border-radius: 18px;
  }

  .hero__track {
    right: -12%;
    bottom: 16px;
    width: 112vw;
    height: 160px;
    opacity: 0.6;
  }

  .hero__track span {
    height: 126px;
  }

  .hero__note {
    order: 3;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-align: center;
  }

  .section {
    padding: 88px 18px;
  }

  .section-heading,
  .gallery__heading,
  .timeline__heading,
  .campus__heading {
    display: block;
    margin-bottom: 36px;
  }

  .section-heading__rule,
  .gallery__heading .section-heading__rule {
    display: block;
    margin-bottom: 22px;
  }

  .section h2 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .section-heading > p,
  .gallery__heading > p {
    margin-top: 22px;
    font-size: 16px;
  }

  .teacher__story {
    display: block;
  }

  .teacher__classroom figcaption {
    margin-bottom: 42px;
  }

  .teacher__principles {
    gap: 30px;
  }

  .then-and-now {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    margin-top: 58px;
  }

  .then-and-now img {
    height: 250px;
  }

  .then-and-now__candid {
    grid-column: 1 / -1;
  }

  .then-and-now__candid img {
    height: 310px;
  }

  .photo-frame figcaption {
    margin-top: 9px;
    font-size: 12px;
    line-height: 1.55;
  }

  .teacher__quote {
    margin: 84px 0 26px;
    text-align: left;
  }

  .teacher__quote p {
    font-size: 29px;
  }

  .teacher::after {
    height: 120px;
  }

  .campus__filters {
    gap: 8px;
    margin-bottom: 28px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 2px 2px 8px;
    scrollbar-width: none;
  }

  .campus__filters::-webkit-scrollbar {
    display: none;
  }

  .campus__filters button {
    min-width: 72px;
    min-height: 40px;
    flex: 0 0 auto;
    padding: 0 15px;
  }

  .campus__archive {
    display: block;
  }

  .campus-card,
  .campus-card--anchor {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
    padding: 0 0 28px;
  }

  .campus-card > img,
  .campus-card--anchor > img {
    height: 265px;
    margin: 0 0 14px;
  }

  .campus-card__copy,
  .campus-card--anchor .campus-card__copy {
    display: block;
    padding: 0 2px;
  }

  .campus-card--anchor .campus-card__meta {
    margin-top: 0;
  }

  .campus-card__copy strong,
  .campus-card--anchor .campus-card__copy strong {
    font-size: 26px;
  }

  .campus-card__text {
    font-size: 14px;
  }

  .campus__continuing {
    margin-top: 44px;
    font-size: 15px;
  }

  .campus__continuing::before,
  .campus__continuing::after {
    width: 28px;
  }

  .timeline__heading > span {
    display: block;
    width: 54px;
    margin-top: 28px;
  }

  .timeline__rail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 88px;
    padding: 0 0 0 34px;
  }

  .timeline__rail::before {
    top: 8px;
    bottom: 8px;
    left: 7px;
    width: 1px;
    height: auto;
  }

  .timeline__rail::after {
    display: none;
  }

  .timeline__rail li {
    padding: 0 0 46px;
  }

  .timeline__rail li:last-child {
    padding-bottom: 0;
  }

  .timeline__rail li::before {
    top: 5px;
    left: -34px;
  }

  .timeline__rail time {
    margin-bottom: 8px;
    font-size: 25px;
  }

  .wedding-story {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .wedding-story__copy {
    order: 0;
    padding: 0;
  }

  .wedding-story__couple {
    order: 1;
  }

  .wedding-story__bride {
    display: block;
    order: 2;
    width: 62%;
    align-self: flex-end;
    margin-top: -76px;
  }

  .wedding-story__copy h3 {
    font-size: 40px;
  }

  .family {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .family__copy {
    order: 0;
    padding-top: 0;
  }

  .family__main-photo {
    order: 1;
  }

  .letter {
    order: 2;
    margin: 6px 0 8px;
  }

  .family__quiet-photo {
    order: 3;
    width: 100%;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
  }

  .gallery__item,
  .gallery__item--wide,
  .gallery__item--landscape {
    grid-column: span 1;
    margin-top: 0 !important;
  }

  .gallery__item--landscape,
  .gallery__item--wide:last-child {
    grid-column: 1 / -1;
  }

  .gallery__item img,
  .gallery__item--tall img {
    height: 270px;
  }

  .gallery__item--landscape img,
  .gallery__item--wide:last-child img {
    height: 250px;
    aspect-ratio: auto;
  }

  .gallery__item span {
    font-size: 13px;
    line-height: 1.6;
  }

  .closing {
    min-height: 440px;
    padding: 100px 34px 130px;
  }

  .closing blockquote p {
    font-size: clamp(28px, 8vw, 38px);
  }

  .closing blockquote::before {
    left: -18px;
  }

  .closing blockquote::after {
    right: -18px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 34px 18px;
  }

  .site-footer a {
    justify-self: start;
  }

  .lightbox {
    width: calc(100vw - 16px);
    height: calc(100svh - 16px);
    border-radius: 18px;
  }

  .lightbox__toolbar {
    height: 58px;
    padding: 0 8px 0 16px;
  }

  .lightbox__toolbar p {
    font-size: 14px;
  }

  .lightbox__stage {
    position: relative;
    height: calc(100% - 58px);
    display: block;
    padding: 0 8px 8px;
  }

  .lightbox__stage img {
    height: 100%;
  }

  .lightbox__nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(6, 30, 59, 0.65);
  }

  .lightbox__nav--prev { left: 14px; }
  .lightbox__nav--next { right: 14px; }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 43px;
  }

  .section h2 {
    font-size: 37px;
  }

  .then-and-now img {
    height: 225px;
  }

  .gallery__item img,
  .gallery__item--tall img {
    height: 245px;
  }
}

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

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
