:root {
  --paper: #f5f0e8;
  --paper-deep: #ebe2d5;
  --paper-light: #fbf8f2;
  --ink: #20332d;
  --ink-soft: #53645e;
  --green: #24443a;
  --green-deep: #18332b;
  --wood: #80684e;
  --wood-light: #bda78b;
  --vermilion: #9b4939;
  --line: rgba(36, 68, 58, 0.18);
  --line-strong: rgba(36, 68, 58, 0.32);
  --shadow: 0 24px 70px rgba(45, 54, 48, 0.10);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  --sans: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --page-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 4%, rgba(155, 73, 57, 0.08), transparent 26rem),
    radial-gradient(circle at 94% 38%, rgba(36, 68, 58, 0.08), transparent 31rem),
    var(--paper);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
blockquote {
  margin-top: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--paper-light);
  background: var(--green-deep);
  border-radius: 4px;
  font: 700 14px/1.2 var(--sans);
  transform: translateY(-160%);
}

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

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

.page-shell {
  width: min(var(--page-width), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(16px);
}

.draft-notice {
  display: none;
  gap: 12px;
  align-items: baseline;
  margin-top: 18px;
  padding: 12px 16px;
  color: #6f332a;
  border: 1px solid rgba(155, 70, 56, 0.32);
  background: #f7e9e2;
  font: 500 14px/1.65 var(--sans);
}

.is-draft .draft-notice {
  display: flex;
}

.draft-notice strong {
  flex: 0 0 auto;
  color: var(--vermilion);
}

.media-pending:not(.is-draft) #media,
.media-pending:not(.is-draft) .site-nav a[href="#media"] {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--paper-light);
  background: var(--vermilion);
  border-radius: 3px 9px 3px 9px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  transform: rotate(-2deg);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 18px;
  letter-spacing: 0.12em;
}

.brand-copy small {
  color: var(--ink-soft);
  font: 500 11px/1.3 var(--sans);
  letter-spacing: 0.14em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font: 600 14px/1.4 var(--sans);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
}

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

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-contact {
  padding: 9px 16px;
  color: var(--paper-light);
  background: var(--green);
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(52px, 8vw, 110px);
  align-items: center;
  min-height: min(720px, calc(100vh - 84px));
  padding: 68px 4% 84px;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: 110px;
  height: 6px;
  content: "";
  background: var(--vermilion);
}

.kicker,
.eyebrow,
.section-number,
.letter-meta,
.status-label {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: var(--wood);
  font-size: 13px;
}

.kicker span {
  width: 36px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 30px;
  color: var(--green-deep);
  font-size: clamp(52px, 7.2vw, 94px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero h1 em {
  color: var(--vermilion);
  font-style: normal;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 36px;
  color: var(--ink-soft);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid var(--green);
  border-radius: 3px;
  font: 700 15px/1.2 var(--sans);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  color: var(--paper-light);
  background: var(--green);
}

.button-primary:hover {
  background: var(--green-deep);
}

.button-secondary {
  color: var(--green);
  background: transparent;
}

.button-secondary:hover {
  color: var(--paper-light);
  background: var(--green);
}

.hero-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  font: 600 13px/1.5 var(--sans);
  list-style: none;
}

.hero-promises li::before {
  margin-right: 8px;
  color: var(--vermilion);
  content: "·";
  font-size: 24px;
  line-height: 0;
  vertical-align: -2px;
}

.hero-letters {
  min-width: 0;
}

.letter-stage {
  position: relative;
}

.letter-track {
  display: flex;
  min-width: 0;
  gap: 18px;
  padding: 4px 4px 12px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
}

.letter-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 48px;
  height: 64px;
  place-items: center;
  padding: 0;
  color: var(--green-deep);
  background: transparent;
  border: 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: color 160ms ease, opacity 160ms ease;
  visibility: hidden;
}

.letter-arrow-prev {
  left: 8px;
}

.letter-arrow-next {
  right: 8px;
}

.letter-arrow span {
  display: block;
  width: 22px;
  height: 22px;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
  filter: drop-shadow(0 1px 1px rgba(251, 248, 242, 0.9));
}

.letter-arrow-prev span {
  transform: rotate(-45deg);
}

.letter-arrow-next span {
  transform: rotate(135deg);
}

.letter-stage:focus-within .letter-arrow,
.letter-arrow:focus-visible {
  opacity: 0.82;
  pointer-events: auto;
  visibility: visible;
}

.letter-arrow:hover,
.letter-arrow:focus-visible {
  color: var(--vermilion);
  opacity: 1;
}

.letter-arrow[hidden] {
  display: none;
}

.door-letter {
  position: relative;
  padding: clamp(36px, 5vw, 62px);
  overflow: hidden;
  background: rgba(251, 248, 242, 0.82);
  border: 1px solid rgba(128, 104, 78, 0.28);
  box-shadow: var(--shadow);
}

.letter-slide {
  display: flex;
  flex: 0 0 100%;
  min-width: 0;
  min-height: 520px;
  padding: clamp(36px, 3.2vw, 44px);
  flex-direction: column;
  scroll-margin-top: 100px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.door-letter::before {
  position: absolute;
  inset: 13px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(128, 104, 78, 0.18);
}

.seal {
  position: absolute;
  top: 22px;
  right: 22px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--vermilion);
  border: 2px solid currentColor;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  writing-mode: vertical-rl;
  transform: rotate(3deg);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--vermilion);
  font-size: 13px;
}

.letter-title {
  max-width: calc(100% - 64px);
  margin: 0;
  color: var(--green-deep);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.4;
}

.door-letter blockquote {
  margin: 34px 0 28px;
  padding: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 2;
}

.door-letter blockquote p:last-child {
  margin-bottom: 0;
}

.letter-slide blockquote {
  margin: 28px 0 20px;
  font-size: 18px;
  line-height: 1.9;
}

.signature {
  margin: 0;
  color: var(--wood);
  font-size: 15px;
  text-align: right;
}

.letter-slide .signature {
  margin-top: auto;
  padding-top: 18px;
}

.letter-draft-mark {
  display: none;
}

.is-draft .letter-draft-mark {
  display: inline;
}

.letter-line {
  display: block;
  width: 68px;
  height: 1px;
  margin-top: 30px;
  background: var(--wood-light);
}

.section {
  padding: 96px 4%;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 90px;
}

.section-heading,
.heading-pair {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

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

.section-heading-split {
  justify-content: space-between;
  gap: 40px;
}

.section-number {
  min-width: 42px;
  margin: 5px 0 0;
  color: var(--wood);
  font-size: 13px;
}

.section-heading h2,
.contact-copy h2 {
  margin-bottom: 0;
  color: var(--green-deep);
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: clamp(50px, 9vw, 120px);
  align-items: start;
}

.about-copy {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 2;
}

.about-copy .opening-line {
  color: var(--ink);
  font-size: clamp(23px, 2.5vw, 30px);
  font-weight: 600;
  line-height: 1.7;
}

.profile-note {
  display: grid;
  gap: 28px;
  padding: 34px;
  background: rgba(235, 226, 213, 0.66);
  border-top: 3px solid var(--green);
}

.profile-symbol {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  color: var(--paper-light);
  background: var(--green);
  border-radius: 50%;
  box-shadow: 10px 10px 0 rgba(128, 104, 78, 0.18);
  font-size: 28px;
}

.profile-note h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.profile-note p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.section-help {
  background: rgba(251, 248, 242, 0.34);
}

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

.help-card {
  position: relative;
  min-height: 280px;
  padding: 38px 34px;
  overflow: hidden;
  background: var(--paper-light);
  border: 1px solid var(--line);
}

.help-card::after {
  position: absolute;
  right: -22px;
  bottom: -44px;
  width: 120px;
  height: 120px;
  content: "";
  border: 1px solid rgba(155, 73, 57, 0.18);
  border-radius: 50%;
}

.card-index {
  display: block;
  margin-bottom: 44px;
  color: var(--vermilion);
  font-size: 17px;
}

.help-card h3 {
  margin-bottom: 14px;
  color: var(--green-deep);
  font-size: 25px;
}

.help-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.quiet-note {
  margin: 28px 0 0;
  color: var(--ink-soft);
  font: 500 14px/1.7 var(--sans);
}

.quiet-note::before {
  margin-right: 8px;
  color: var(--vermilion);
  content: "※";
}

.heading-note {
  max-width: 240px;
  margin: 14px 0 0;
  color: var(--wood);
  font-size: 15px;
  text-align: right;
}

.sample-notice {
  display: none;
  margin: -24px 0 28px 66px;
  padding: 14px 18px;
  color: var(--ink-soft);
  background: rgba(155, 73, 57, 0.06);
  border-left: 3px solid var(--vermilion);
  font: 500 14px/1.7 var(--sans);
}

.is-draft .sample-notice {
  display: block;
}

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

.letter-card {
  border-bottom: 1px solid var(--line-strong);
}

.letter-card summary {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 112px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
}

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

.letter-meta {
  color: var(--wood);
  font-size: 12px;
}

.letter-title {
  color: var(--green-deep);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.45;
}

.read-more {
  color: var(--ink-soft);
  font: 600 12px/1.4 var(--sans);
}

.read-more::after {
  display: inline-block;
  margin-left: 10px;
  content: "+";
  color: var(--vermilion);
  font-size: 22px;
  line-height: 1;
}

.letter-card[open] .read-more::after {
  content: "−";
}

.letter-body {
  max-width: 820px;
  padding: 4px 0 44px 218px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 2;
}

.letter-body p:last-child {
  margin-bottom: 0;
}

.content-cta {
  margin: 28px 0 0;
  color: var(--ink-soft);
  font: 500 14px/1.7 var(--sans);
  text-align: right;
}

.section-answers {
  background: rgba(251, 248, 242, 0.34);
}

.answer-body {
  max-width: 900px;
}

.question-text {
  margin-bottom: 26px;
  padding: 18px 22px;
  color: var(--ink);
  background: rgba(235, 226, 213, 0.62);
  border-left: 3px solid var(--wood);
}

.answer-copy {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.answer-copy > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--paper-light);
  background: var(--green);
  border-radius: 50%;
  font: 700 16px/1 var(--sans);
}

.answer-copy p {
  margin-bottom: 12px;
}

.answer-policy,
.media-rights {
  margin: 28px 0 0;
  padding: 16px 18px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  font: 500 14px/1.75 var(--sans);
}

.answer-policy strong,
.media-rights strong {
  color: var(--green-deep);
}

.section-media {
  background: rgba(235, 226, 213, 0.28);
}

.content-notice {
  margin: -24px 0 32px 66px;
  padding: 14px 18px;
  color: var(--ink-soft);
  background: rgba(36, 68, 58, 0.06);
  border-left: 3px solid var(--green);
  font: 500 14px/1.7 var(--sans);
}

.content-notice strong {
  color: var(--green-deep);
}

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

.media-grid > .media-card:only-child {
  grid-column: 1 / -1;
  width: min(100%, 780px);
  justify-self: center;
}

.media-card {
  min-width: 0;
  padding: 24px 24px 30px;
  background: var(--paper-light);
  border: 1px solid var(--line);
}

.media-placeholder {
  position: relative;
  display: grid;
  min-height: 230px;
  place-items: center;
  margin-bottom: 28px;
  overflow: hidden;
  color: var(--green);
  background:
    linear-gradient(135deg, rgba(36, 68, 58, 0.08), rgba(155, 73, 57, 0.08)),
    var(--paper-deep);
  border: 1px solid rgba(128, 104, 78, 0.24);
}

.media-placeholder::before {
  position: absolute;
  width: 170px;
  height: 170px;
  content: "";
  border: 1px solid rgba(128, 104, 78, 0.28);
  border-radius: 50%;
}

.media-mark {
  position: relative;
  z-index: 1;
  font-size: 64px;
  line-height: 1;
}

.media-status {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 10px;
  color: var(--paper-light);
  background: var(--green);
  font: 700 11px/1.3 var(--sans);
  letter-spacing: 0.08em;
}

.media-card .letter-meta {
  margin-bottom: 8px;
}

.media-card h3 {
  margin-bottom: 12px;
  color: var(--green-deep);
  font-size: clamp(22px, 2.5vw, 29px);
  line-height: 1.45;
}

.media-card > p:not(.letter-meta) {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.media-card > p.media-hint {
  margin: 22px 0 0;
  padding-top: 14px;
  color: var(--wood);
  border-top: 1px solid var(--line);
  font: 600 13px/1.6 var(--sans);
}

.campus-carousel {
  overflow: hidden;
}

.campus-track {
  display: flex;
  min-width: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
}

.campus-slide {
  display: flex;
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  flex-direction: column;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.campus-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--paper-deep);
  border: 1px solid rgba(128, 104, 78, 0.24);
}

.campus-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campus-photo-note {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  color: var(--paper-light);
  background: rgba(18, 41, 34, 0.78);
  font: 700 10px/1.35 var(--sans);
  letter-spacing: 0.06em;
}

.campus-caption {
  padding-top: 26px;
}

.campus-caption .letter-meta {
  margin-bottom: 8px;
}

.campus-story {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.campus-story-byline {
  margin: 22px 0 0;
  padding-top: 14px;
  color: var(--wood);
  border-top: 1px solid var(--line);
  font: 600 13px/1.65 var(--sans);
}

.campus-arrow-layer {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  aspect-ratio: 16 / 9;
  pointer-events: none;
}

.campus-arrow {
  color: rgba(251, 248, 242, 0.92);
}

.campus-arrow span {
  filter: drop-shadow(0 1px 3px rgba(18, 41, 34, 0.85));
}

.campus-arrow:hover,
.campus-arrow:focus-visible {
  color: #fff;
}

.section-contact {
  border-bottom: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(42px, 8vw, 100px);
  padding: clamp(44px, 7vw, 82px);
  color: var(--paper-light);
  background: var(--green-deep);
}

.contact-copy .section-number {
  color: rgba(251, 248, 242, 0.48);
}

.contact-copy .eyebrow {
  color: #d6a89e;
}

.contact-copy h2 {
  max-width: 650px;
  margin-bottom: 24px;
  color: var(--paper-light);
}

.contact-copy > h2 + p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(251, 248, 242, 0.72);
  font-size: 16px;
}

.submission-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.submission-topics li {
  padding: 7px 11px;
  color: var(--paper-light);
  border: 1px solid rgba(251, 248, 242, 0.32);
  font: 600 12px/1.4 var(--sans);
}

.contact-status {
  padding: 30px;
  color: var(--ink);
  background: var(--paper);
  overflow-wrap: anywhere;
}

.status-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--vermilion);
  font-size: 12px;
}

.status-label i {
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
}

.contact-status h3 {
  margin-bottom: 12px;
  color: var(--green-deep);
  font-size: 24px;
}

.contact-status p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.text-link {
  display: inline-block;
  color: var(--green);
  font: 700 13px/1.5 var(--sans);
  text-underline-offset: 5px;
}

.submission-text-button {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
}

.submission-choices {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.submission-choice {
  display: grid;
  width: 100%;
  min-height: 94px;
  gap: 3px;
  padding: 16px 18px;
  color: var(--ink);
  background: var(--paper-light);
  border: 1px solid var(--line-strong);
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, transform 160ms ease;
}

.submission-choice:hover,
.submission-choice:focus-visible {
  border-color: var(--vermilion);
  transform: translateY(-1px);
}

.submission-choice span {
  color: var(--vermilion);
  font: 700 11px/1.4 var(--sans);
  letter-spacing: 0.1em;
}

.submission-choice strong {
  color: var(--green-deep);
  font-size: 18px;
}

.submission-choice small {
  color: var(--ink-soft);
  font: 500 12px/1.55 var(--sans);
}

.contact-status .receiving-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.receiving-note strong {
  color: var(--vermilion);
}

body.dialog-open {
  overflow: hidden;
}

.submission-dialog {
  width: min(760px, calc(100% - 32px));
  max-width: none;
  max-height: min(88dvh, 840px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper-light);
  border: 1px solid rgba(128, 104, 78, 0.34);
  box-shadow: 0 34px 100px rgba(24, 51, 43, 0.3);
}

.submission-dialog::backdrop {
  background: rgba(24, 51, 43, 0.64);
  backdrop-filter: blur(3px);
}

.dialog-shell {
  display: flex;
  max-height: min(88dvh, 840px);
  flex-direction: column;
}

.dialog-header {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px 22px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.dialog-header .eyebrow {
  margin-bottom: 4px;
}

.dialog-header h2 {
  margin: 0;
  color: var(--green-deep);
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.35;
}

.dialog-close {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  color: var(--green-deep);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  font: 400 28px/1 var(--sans);
}

.dialog-close:hover,
.dialog-close:focus-visible {
  color: var(--paper-light);
  background: var(--green);
  border-color: var(--green);
}

.dialog-body {
  min-height: 0;
  padding: 24px 30px 30px;
  overflow-y: auto;
}

.submission-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.submission-mode-switch button {
  min-height: 46px;
  padding: 10px 14px;
  color: var(--green);
  background: transparent;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  font: 700 14px/1.3 var(--sans);
}

.submission-mode-switch button[aria-pressed="true"] {
  color: var(--paper-light);
  background: var(--green);
  border-color: var(--green);
}

.dialog-status {
  margin-bottom: 20px;
  padding: 13px 15px;
  color: var(--ink-soft);
  background: rgba(155, 73, 57, 0.07);
  border-left: 3px solid var(--vermilion);
  font: 500 13px/1.7 var(--sans);
}

.dialog-status strong {
  color: var(--vermilion);
}

.submission-form {
  display: grid;
  gap: 20px;
}

.identity-details {
  border: 1px solid var(--line);
  background: rgba(235, 226, 213, 0.28);
}

.identity-details summary {
  position: relative;
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 48px 12px 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--sans);
}

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

.identity-details summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 0;
  height: 0;
  content: "";
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--green);
  transform: translateY(-50%);
  transform-origin: 4px 6px;
  transition: transform 160ms ease;
}

.identity-details[open] summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.identity-details summary span {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.identity-details summary strong {
  color: var(--green-deep);
  font-size: 15px;
}

.identity-details summary small {
  color: var(--ink-soft);
  font-size: 12px;
}

.identity-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 4px 16px 18px;
}

.form-field {
  display: grid;
  gap: 7px;
  color: var(--green-deep);
  font: 700 13px/1.5 var(--sans);
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field i {
  color: var(--vermilion);
  font-size: 11px;
  font-style: normal;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fffdf9;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font: 500 15px/1.6 var(--sans);
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #7c8783;
}

.submission-panel {
  display: grid;
  gap: 16px;
}

.submission-panel[hidden] {
  display: none;
}

.form-boundary {
  margin: 0;
  padding: 14px 16px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  font: 500 12px/1.75 var(--sans);
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 2px;
}

.dialog-actions button {
  cursor: pointer;
}

.submission-submit:disabled {
  color: rgba(251, 248, 242, 0.86);
  background: #71807b;
  border-color: #71807b;
  cursor: not-allowed;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .letter-stage:hover .letter-arrow {
    opacity: 0.82;
    pointer-events: auto;
    visibility: visible;
  }
}

@media (hover: none), (pointer: coarse) {
  .letter-stage .letter-arrow {
    opacity: 0.86;
    pointer-events: auto;
    visibility: visible;
  }
}

.submission-workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.submission-workflow article {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}

.submission-workflow article:last-child {
  border-right: 0;
}

.submission-workflow span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-bottom: 16px;
  color: var(--paper-light);
  background: var(--vermilion);
  border-radius: 50%;
  font: 700 12px/1 var(--sans);
}

.submission-workflow h3 {
  margin-bottom: 7px;
  color: var(--green-deep);
  font-size: 16px;
}

.submission-workflow p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.boundaries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.boundaries article {
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}

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

.boundaries h3 {
  margin-bottom: 10px;
  color: var(--green-deep);
  font-size: 17px;
}

.boundaries p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 38px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font: 500 12px/1.6 var(--sans);
}

.site-footer p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(155, 73, 57, 0.72);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    gap: 20px;
    padding: 18px 0;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-letters {
    width: 100%;
    max-width: 680px;
  }

  .about-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .profile-note {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

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

  .help-card {
    min-height: 0;
  }

  .card-index {
    margin-bottom: 24px;
  }

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

  .submission-workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .submission-workflow article:nth-child(2) {
    border-right: 0;
  }

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

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

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

@media (max-width: 680px) {
  html {
    scroll-behavior: auto;
  }

  body {
    font-size: 17px;
  }

  .page-shell {
    width: min(100% - 28px, var(--page-width));
  }

  .site-header {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 0;
    justify-content: stretch;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .site-nav a {
    justify-content: center;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 3px;
  }

  .site-nav a:not(.nav-contact)::after {
    display: none;
  }

  .nav-contact {
    padding: 7px 13px;
  }

  .hero,
  .section {
    padding-right: 4px;
    padding-left: 4px;
  }

  .hero {
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 60px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-lead {
    font-size: 18px;
  }

  .door-letter {
    padding: 32px 24px;
  }

  .letter-slide {
    min-height: 500px;
  }

  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .section-heading,
  .section-heading-split,
  .heading-pair {
    gap: 13px;
  }

  .section-heading-split {
    display: block;
  }

  .heading-note {
    max-width: none;
    margin: 18px 0 0 55px;
    text-align: left;
  }

  .sample-notice,
  .content-notice {
    margin-left: 0;
  }

  .profile-note {
    grid-template-columns: 1fr;
  }

  .letter-card summary {
    grid-template-columns: 1fr auto;
    gap: 8px 18px;
    padding: 26px 4px;
  }

  .letter-meta {
    grid-column: 1 / -1;
  }

  .read-more {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    overflow: hidden;
    font-size: 0;
    white-space: nowrap;
  }

  .read-more::after {
    margin-left: 0;
    font-size: 24px;
  }

  .is-draft .draft-notice {
    display: grid;
    gap: 3px;
  }

  .letter-body {
    padding: 0 0 36px;
  }

  .answer-copy {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
  }

  .answer-copy > span {
    width: 36px;
    height: 36px;
  }

  .content-cta {
    text-align: left;
  }

  .submission-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
  }

  .dialog-shell {
    max-height: calc(100dvh - 20px);
  }

  .dialog-header {
    gap: 14px;
    padding: 20px 18px 17px;
  }

  .dialog-body {
    padding: 18px;
  }

  .identity-fields {
    grid-template-columns: 1fr;
  }

  .form-field-wide {
    grid-column: auto;
  }

  .dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dialog-actions .button {
    width: 100%;
  }

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

  .media-placeholder {
    min-height: 185px;
  }

  .submission-topics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-panel {
    padding: 38px 26px;
  }

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

  .submission-workflow {
    grid-template-columns: 1fr;
  }

  .submission-workflow article,
  .submission-workflow article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .submission-workflow article:last-child {
    border-bottom: 0;
  }

  .boundaries article,
  .boundaries article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .boundaries article:last-child {
    border-bottom: 0;
  }

  .site-footer {
    display: grid;
  }
}

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

  .letter-track,
  .campus-track {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    background: white;
  }

  .site-header,
  .hero-actions,
  .skip-link {
    display: none;
  }

  .page-shell {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }
}
