:root {
  --red-950: #41080c;
  --red-900: #650b12;
  --red-800: #8f1018;
  --red-700: #b11924;
  --red-100: #f8e7e6;
  --cream: #f8f5ef;
  --paper: #fffdf9;
  --ink: #1d1817;
  --muted: #716866;
  --line: rgba(55, 28, 28, 0.14);
  --white-line: rgba(255, 255, 255, 0.2);
  --radius-sm: 16px;
  --radius-md: 28px;
  --radius-lg: 42px;
  --container: 1240px;
  --side: clamp(20px, 4vw, 64px);
  --section-space: clamp(88px, 11vw, 160px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family:
    "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

body.drawer-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

img {
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--red-900);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 3px solid #f0a2a7;
  outline-offset: 4px;
}

.section-shell {
  width: min(calc(100% - var(--side) * 2), var(--container));
  margin: 0 auto;
}

.section {
  padding-block: var(--section-space);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  color: #fff;
  transition:
    background 300ms ease,
    color 300ms ease,
    box-shadow 300ms ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(248, 245, 239, 0.88);
  box-shadow: 0 1px 0 rgba(40, 20, 20, 0.08);
  backdrop-filter: blur(20px);
}

.nav-shell {
  width: min(calc(100% - var(--side) * 2), var(--container));
  height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-mark {
  width: 118px;
  height: 69px;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 300ms ease;
}

.site-header.scrolled .brand-mark img {
  filter: brightness(0) saturate(100%) invert(15%) sepia(90%) saturate(3373%)
    hue-rotate(346deg) brightness(82%) contrast(103%);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  font-size: 14px;
}

.site-nav > a {
  position: relative;
}

.site-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease);
}

.site-nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 11px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition:
    color 220ms ease,
    background 220ms ease;
}

.nav-cta:hover {
  color: var(--red-900);
  background: #fff;
}

.scrolled .nav-cta:hover {
  color: #fff;
  background: var(--red-900);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 177, 168, 0.24), transparent 25%),
    radial-gradient(circle at 18% 85%, rgba(255, 217, 195, 0.14), transparent 32%),
    linear-gradient(135deg, var(--red-950) 0%, var(--red-800) 48%, #a0141c 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  top: -28vw;
  right: -15vw;
  width: 72vw;
  height: 72vw;
}

.orbit-two {
  right: 3vw;
  bottom: -22vw;
  width: 48vw;
  height: 48vw;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - var(--side) * 2), var(--container));
  margin: 0 auto;
  padding-block: 150px 120px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 24px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.hero-logo {
  width: min(56vw, 710px);
  filter: drop-shadow(0 18px 34px rgba(44, 2, 7, 0.18));
}

.hero-logo img {
  width: 100%;
  display: block;
}

.hero-lead {
  max-width: 620px;
  margin: clamp(28px, 3.5vw, 44px) 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}

.button {
  min-height: 54px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  color: var(--red-900);
  background: #fff;
  box-shadow: 0 14px 34px rgba(55, 3, 8, 0.2);
}

.button-outline {
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.button-plus {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  transition:
    transform 280ms var(--ease),
    color 220ms ease;
}

.button-outline:hover .button-plus,
.button-outline:focus-visible .button-plus {
  transform: rotate(90deg) scale(1.08);
}

.button-outline:active .button-plus {
  transform: rotate(45deg) scale(0.92);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-block: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 14px;
}

.hero-actions .text-link {
  margin-left: 16px;
}

.text-link span {
  transition: transform 220ms var(--ease);
}

.text-link:hover span {
  transform: translate(3px, 3px);
}

.hero-note {
  position: absolute;
  right: max(var(--side), calc((100vw - var(--container)) / 2));
  bottom: 70px;
  z-index: 2;
  width: min(330px, 28vw);
  padding-top: 20px;
  border-top: 1px solid var(--white-line);
}

.note-index {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.hero-note p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.75;
}

.hero-slogan p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 1.55vw, 24px);
  font-weight: 520;
  letter-spacing: 0.06em;
  line-height: 1.65;
}

.section-kicker {
  color: var(--red-700);
}

.section-title {
  margin: 0;
  font-size: clamp(42px, 5.8vw, 82px);
  font-weight: 540;
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.intro {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(60px, 10vw, 150px);
  align-items: end;
}

.intro-copy {
  padding-bottom: 4px;
}

.intro-copy p {
  margin: 0;
  color: #554c4a;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.9;
}

.intro-copy p + p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
}

.departments {
  background: var(--cream);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 400px);
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(56px, 8vw, 100px);
}

.heading-aside {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.department-list {
  border-top: 1px solid var(--line);
}

.department-card {
  position: relative;
  min-height: 190px;
  padding: 38px 0;
  display: grid;
  grid-template-columns: 80px 1fr 290px;
  gap: 36px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: color 240ms ease;
}

.department-card::after {
  content: "↗";
  position: absolute;
  top: 38px;
  right: 0;
  color: var(--red-700);
  font-size: 17px;
  opacity: 0;
  transform: translate(-5px, 5px);
  transition:
    opacity 220ms ease,
    transform 260ms var(--ease);
}

.department-card:hover,
.department-card:focus-visible {
  color: var(--red-800);
}

.department-card:hover::after,
.department-card:focus-visible::after {
  opacity: 1;
  transform: translate(0, 0);
}

.department-number,
.department-en {
  color: #a49a97;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.department-en {
  margin: 0 0 13px;
}

.department-main h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 560;
  letter-spacing: -0.04em;
}

.department-main > p:last-child {
  max-width: 640px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.tag-list {
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.tag-list li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  transition:
    background 220ms ease,
    color 220ms ease;
}

.department-card:hover .tag-list li {
  color: var(--red-900);
  background: #fff;
}

.proof-strip {
  margin-top: 80px;
  padding: 22px 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-block: 1px solid var(--line);
}

.proof-strip > button {
  min-height: 110px;
  padding-inline: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-right: 1px solid var(--line);
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-align: center;
  transition:
    color 220ms ease,
    background 220ms ease;
}

.proof-strip > button:hover,
.proof-strip > button:focus-visible {
  color: var(--red-700);
  background: rgba(177, 25, 36, 0.045);
}

.proof-strip > button:first-child {
  padding-left: 0;
}

.proof-strip > button:last-child {
  border-right: 0;
}

.proof-strip strong {
  color: var(--red-800);
  font-size: clamp(18px, 1.7vw, 25px);
  font-weight: 560;
  line-height: 1.35;
}

.moments {
  color: #fff;
  background: #211b1a;
}

.moments .section-kicker {
  color: #e78d91;
}

.moments .heading-aside {
  color: rgba(255, 255, 255, 0.52);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
}

.photo-card {
  margin: 0;
}

.photo-card-wide {
  grid-row: auto;
}

.photo-card-tall {
  grid-row: auto;
}

.photo-frame {
  position: relative;
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(105, 39, 38, 0.88), rgba(44, 28, 27, 0.92));
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
}

.photo-card-tall .photo-frame {
  min-height: 0;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 65%, rgba(26, 9, 10, 0.2));
}

.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition:
    transform 700ms var(--ease),
    filter 500ms ease;
}

.photo-card-wide .photo-frame img {
  object-position: center 48%;
}

.photo-card-tall .photo-frame img {
  object-position: center center;
}

.photo-card-contain .photo-frame {
  background: linear-gradient(135deg, rgba(105, 39, 38, 0.88), rgba(44, 28, 27, 0.92));
}

.photo-card-contain .photo-frame img {
  object-fit: cover;
  object-position: center center;
}

.photo-card-contain:hover .photo-frame img {
  transform: scale(1.025);
  filter: saturate(1.04);
}

.photo-card:hover .photo-frame img {
  transform: scale(1.025);
  filter: saturate(1.04);
}

.photo-card figcaption {
  padding: 16px 5px 28px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.photo-card figcaption time {
  font-size: 9px;
  letter-spacing: 0.16em;
}

.more-moments {
  margin-top: clamp(62px, 8vw, 100px);
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.more-moments-heading {
  margin-bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.more-moments-heading span {
  color: #e78d91;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.more-moments-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.moment-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.moment-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-sm);
  filter: saturate(0.9);
  transition:
    transform 400ms var(--ease),
    filter 300ms ease;
}

.moment-strip img:hover {
  transform: translateY(-3px);
  filter: saturate(1.05);
}

.requirements {
  background: var(--paper);
}

.requirements-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) 1.22fr;
  gap: clamp(60px, 10vw, 140px);
  align-items: start;
}

.requirements-intro {
  position: sticky;
  top: 130px;
}

.requirements-intro > p:last-child {
  max-width: 440px;
  margin: 34px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.requirement-cards {
  display: grid;
  gap: 16px;
}

.requirement-card {
  min-height: 260px;
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.requirement-label {
  color: var(--red-700);
  font-size: 11px;
}

.requirement-card h3 {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.requirement-card strong {
  display: block;
  margin-top: 18px;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 560;
  letter-spacing: -0.05em;
}

.requirement-card p {
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.check-list {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
}

.check-list li::before {
  content: "·";
  position: absolute;
  left: 3px;
  color: var(--red-700);
  font-size: 30px;
  line-height: 16px;
}

.requirement-card-accent {
  color: #fff;
  border-color: transparent;
  background: var(--red-800);
}

.requirement-card-accent .requirement-label,
.requirement-card-accent h3,
.requirement-card-accent p {
  color: rgba(255, 255, 255, 0.68);
}

.requirement-card-accent h3 {
  color: #fff;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 560;
}

.requirement-card-accent a {
  display: inline-flex;
  gap: 12px;
  margin-top: 30px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  font-size: 13px;
}

.contact {
  position: relative;
  overflow: hidden;
  min-height: min(760px, 92svh);
  padding-block: clamp(130px, 15vw, 210px);
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 211, 198, 0.16), transparent 42%),
    linear-gradient(145deg, #9b111d 0%, #7d1018 42%, #481014 100%);
}

.contact-glow {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(76vw, 920px);
  height: min(76vw, 920px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 clamp(44px, 7vw, 92px) rgba(255, 255, 255, 0.018),
    0 0 0 clamp(96px, 15vw, 190px) rgba(255, 255, 255, 0.01);
  opacity: 0.9;
}

.contact-inner {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
}

.contact-statement {
  margin: 0;
  max-width: 1120px;
  font-size: clamp(46px, 7.6vw, 116px);
  font-weight: 460;
  letter-spacing: -0.055em;
  line-height: 1.08;
  text-wrap: balance;
  text-shadow: 0 18px 54px rgba(65, 0, 7, 0.22);
}

.drawer-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 450ms;
}

.drawer-layer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(31, 7, 9, 0.42);
  opacity: 0;
  cursor: default;
  backdrop-filter: blur(5px);
  transition: opacity 380ms ease;
}

.drawer-layer.is-open .drawer-backdrop {
  opacity: 1;
}

.about-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(620px, 46vw);
  height: 100%;
  padding: clamp(28px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(177, 25, 36, 0.09), transparent 32%),
    var(--paper);
  box-shadow: -30px 0 80px rgba(35, 5, 8, 0.18);
  overflow-y: auto;
  overflow-x: hidden;
  outline: none;
  transform: translateX(100%);
  transition: transform 480ms var(--ease);
}

.drawer-layer.is-open .about-drawer {
  transform: translateX(0);
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
}

.drawer-school-mark {
  width: 150px;
  height: 88px;
}

.drawer-school-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(15%) sepia(90%) saturate(3373%)
    hue-rotate(346deg) brightness(82%) contrast(103%);
}

.drawer-close {
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
  transition:
    border-color 220ms ease,
    background 220ms ease;
}

.drawer-close:hover {
  border-color: rgba(143, 16, 24, 0.32);
  background: var(--red-100);
}

.drawer-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 1px;
  background: var(--ink);
}

.drawer-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.drawer-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.drawer-content {
  min-width: 0;
  margin-block: auto;
  padding-block: clamp(70px, 11vh, 120px) 60px;
}

.drawer-kicker {
  margin: 0 0 24px;
  color: var(--red-700);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.2em;
}

.drawer-content h2 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(42px, 4.4vw, 68px);
  font-weight: 540;
  letter-spacing: -0.06em;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.drawer-divider {
  width: 48px;
  height: 2px;
  margin-block: 42px;
  background: var(--red-700);
}

.drawer-content > p:not(.drawer-kicker) {
  margin: 0;
  color: #5d5351;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 2;
  text-align: justify;
}

.drawer-content .drawer-intro {
  color: var(--ink);
  font-weight: 540;
}

.drawer-content .drawer-intro + p {
  margin-top: 24px;
}

.drawer-footer {
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.department-drawer-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 500ms;
}

.department-drawer-layer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.department-drawer-layer .drawer-backdrop {
  opacity: 0;
}

.department-drawer-layer.is-open .drawer-backdrop {
  opacity: 1;
}

.department-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(860px, 64vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  box-shadow: -34px 0 90px rgba(35, 5, 8, 0.22);
  overflow: hidden;
  outline: none;
  transform: translateX(100%);
  transition: transform 520ms var(--ease);
}

.department-drawer-layer.is-open .department-drawer {
  transform: translateX(0);
}

.department-drawer-top {
  position: relative;
  z-index: 3;
  min-height: 96px;
  padding: 16px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(18px);
}

.department-drawer-brand {
  width: 126px;
  height: 64px;
}

.department-drawer-brand img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(15%) sepia(90%) saturate(3373%)
    hue-rotate(346deg) brightness(82%) contrast(103%);
}

.department-drawer-top .drawer-close {
  border-color: var(--line);
  background: transparent;
}

.department-drawer-scroll {
  min-height: 0;
  flex: 1 1 auto;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.department-drawer-photo {
  position: relative;
  height: clamp(330px, 48vh, 520px);
  margin: 0;
  overflow: hidden;
  background: #4b2a2c;
}

.department-drawer-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(33, 6, 9, 0.12), transparent 42%, rgba(33, 6, 9, 0.16));
}

.department-drawer-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.department-drawer-copy {
  padding: clamp(50px, 6vw, 80px);
}

.department-drawer-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 540;
  letter-spacing: -0.06em;
  line-height: 1;
}

.department-drawer-lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--red-800);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 540;
  line-height: 1.75;
}

.department-duty-list {
  margin: 0;
  padding: 0;
  display: grid;
  list-style: none;
  counter-reset: duty;
}

.department-duty-list li {
  counter-increment: duty;
  position: relative;
  min-height: 98px;
  padding: 25px 0 25px 64px;
  border-top: 1px solid var(--line);
  color: #554c4a;
  font-size: 16px;
  line-height: 1.85;
}

.department-duty-list li::before {
  content: counter(duty, decimal-leading-zero);
  position: absolute;
  top: 28px;
  left: 0;
  color: var(--red-700);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.department-drawer-tags {
  margin: 40px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
}

.department-drawer-tags li {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

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

@media (max-width: 900px) {
  .nav-shell {
    height: 74px;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    padding: 0;
    display: grid;
    place-content: center;
    gap: 6px;
    border: 0;
    color: inherit;
    background: transparent;
  }

  .menu-toggle span {
    width: 22px;
    height: 1px;
    display: block;
    background: currentColor;
    transition: transform 240ms ease;
  }

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

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

  .site-nav {
    position: fixed;
    inset: 0;
    padding: 120px var(--side) 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    color: #fff;
    background: var(--red-950);
    font-size: 32px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 240ms ease,
      visibility 240ms ease,
      transform 240ms ease;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-cta {
    margin-top: auto;
    font-size: 18px;
  }

  .hero-content {
    padding-top: 130px;
  }

  .hero-note {
    display: none;
  }

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

  .intro-grid,
  .requirements-grid {
    gap: 52px;
  }

  .section-heading {
    gap: 30px;
  }

  .heading-aside {
    max-width: 600px;
  }

  .department-card {
    grid-template-columns: 52px 1fr;
  }

  .department-card .tag-list {
    grid-column: 2;
  }

  .proof-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .proof-strip > button:nth-child(3n) {
    border-right: 0;
  }

  .proof-strip > button:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .requirements-intro {
    position: static;
  }

  .about-drawer {
    width: min(680px, 82vw);
  }

  .department-drawer {
    width: min(780px, 84vw);
  }
}

@media (max-width: 640px) {
  :root {
    --radius-md: 22px;
    --section-space: 90px;
  }

  .brand-mark {
    width: 102px;
    height: 60px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-content {
    width: calc(100vw - 40px);
    min-width: 0;
    max-width: calc(100vw - 40px);
    margin-inline: 20px;
    padding-block: 120px 150px;
  }

  .hero-logo {
    width: min(100%, 560px);
    filter: drop-shadow(0 14px 26px rgba(44, 2, 7, 0.16));
  }

  .hero-logo img {
    width: 100%;
    max-width: 100%;
  }

  .hero-lead br {
    display: none;
  }

  .hero-lead,
  .hero-actions {
    max-width: calc(100vw - 40px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .button {
    width: 100%;
  }

  .hero-actions .text-link {
    margin-left: 0;
  }

  .section-title {
    font-size: clamp(40px, 12vw, 56px);
  }

  .department-card {
    padding-block: 30px;
    grid-template-columns: 36px 1fr;
    gap: 18px;
  }

  .department-main > p:last-child {
    font-size: 14px;
  }

  .department-card .tag-list {
    grid-column: 1 / -1;
    margin-left: 54px;
  }

  .proof-strip {
    margin-top: 60px;
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip > button {
    min-height: 104px;
    padding: 16px 10px;
    border-right: 1px solid var(--line);
  }

  .proof-strip > button:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .proof-strip > button:nth-child(even) {
    border-right: 0;
  }

  .proof-strip > button:nth-child(4) {
    border-bottom: 1px solid var(--line);
  }

  .proof-strip > button:first-child {
    padding-left: 0;
  }

  .proof-strip strong {
    font-size: 20px;
  }

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

  .photo-card-tall {
    grid-row: auto;
  }

  .photo-frame,
  .photo-card-tall .photo-frame {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .photo-card:nth-child(3) .photo-frame,
  .photo-card:nth-child(4) .photo-frame {
    min-height: 0;
  }

  .more-moments-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .moment-strip {
    margin-right: calc(var(--side) * -1);
    padding-right: var(--side);
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .moment-strip::-webkit-scrollbar {
    display: none;
  }

  .moment-strip img {
    width: min(72vw, 300px);
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .requirement-card {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .requirement-card strong {
    font-size: 46px;
  }

  .contact {
    min-height: min(640px, 86svh);
    padding-block: 120px;
  }

  .contact-glow {
    width: 92vw;
    height: 92vw;
  }

  .contact-statement {
    max-width: 9em;
    font-size: clamp(44px, 13vw, 68px);
    letter-spacing: -0.04em;
    line-height: 1.14;
  }

  .about-drawer {
    right: 18px;
    left: 18px;
    width: auto;
    max-width: none;
    padding: 24px 22px 30px;
    border-radius: 26px;
  }

  .drawer-school-mark {
    width: 132px;
    height: 76px;
  }

  .drawer-content {
    padding-block: 64px 48px;
  }

  .drawer-content h2 {
    font-size: clamp(38px, 11vw, 50px);
    word-break: break-all;
  }

  .drawer-content > p:not(.drawer-kicker) {
    font-size: 15px;
    line-height: 1.95;
    text-align: left;
  }

  .drawer-divider {
    margin-block: 34px;
  }

  .drawer-footer {
    grid-template-columns: 1fr 1fr;
    row-gap: 10px;
  }

  .department-drawer {
    right: 14px;
    left: 14px;
    width: auto;
    max-width: none;
    border-radius: 24px;
  }

  .department-drawer-top {
    min-height: 78px;
    padding: 10px 18px;
  }

  .department-drawer-brand {
    width: 100px;
    height: 52px;
  }

  .department-drawer-photo {
    height: min(58vw, 300px);
  }

  .department-drawer-copy {
    padding: 38px 22px 44px;
  }

  .department-drawer-copy h2 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .department-drawer-lead {
    font-size: 16px;
  }

  .department-duty-list li {
    min-height: 0;
    padding: 22px 0 22px 42px;
    font-size: 14px;
    line-height: 1.8;
  }

  .department-duty-list li::before {
    top: 25px;
  }
}

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

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

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