:root {
  color-scheme: light;
  --paper: #fff;
  --canvas: #fcfaf9;
  --ink: #19171b;
  --muted: #5f5962;
  --line: #e9e1e2;
  --red: #b82039;
  --red-dark: #94182d;
  --red-soft: #f9ebee;
  --display: 'Bricolage Grotesque', Inter, system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 1rem/1.6 var(--body); }
a { color: inherit; text-decoration: none; }
:is(a, button, input, textarea):focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
img { display: block; width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.06; }
.wrap { width: min(calc(100% - 3rem), 72rem); margin-inline: auto; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 5; padding: .7rem 1rem; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 4.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font: 800 1.45rem/1 var(--display); letter-spacing: -.035em; }
.brand-mark { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; border-radius: .63rem; background: var(--red); color: white; }
.brand-mark svg { width: 1.6rem; height: 1.6rem; }
.site-nav, .site-footer nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); font-size: .9rem; font-weight: 650; }
.site-nav > a:not(.button):hover, .site-footer a:hover { color: var(--red); text-decoration: underline; text-underline-offset: .2em; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.15rem; padding: .75rem 1.2rem; border: 1px solid #dbd0d2; border-radius: .7rem;
  background: var(--paper); font-size: .9375rem; font-weight: 700; line-height: 1.25; text-align: center;
  transition: background-color .18s, border-color .18s, box-shadow .18s;
}
button.button { font-family: inherit; cursor: pointer; }
button.button:disabled { opacity: .65; cursor: wait; }
.button[hidden] { display: none; }
.button:hover { background: var(--red-soft); border-color: #caa3ab; }
.button-small { min-height: 2.65rem; padding: .55rem 1rem; color: var(--red-dark); }
.button-primary { color: white; background: var(--red); border-color: var(--red); box-shadow: 0 4px 0 #e8b5bf; }
.button-primary:hover { background: var(--red-dark); border-color: var(--red-dark); box-shadow: 0 4px 0 #dfa4af; }

.hero {
  background-color: #fbf5f5;
  background-image: linear-gradient(to bottom, #fff0 45%, var(--canvas) 89%),
    radial-gradient(ellipse at 50% 14%, #fffc 0%, transparent 52%),
    linear-gradient(90deg, #bb27460b 1px, transparent 1px),
    linear-gradient(#bb27460b 1px, transparent 1px);
  background-size: auto, auto, 57px 57px, 57px 57px;
  background-position: center top;
  padding-top: clamp(3.25rem, 6.6vw, 5.35rem);
}
.hero-copy { max-width: 58rem; margin-inline: auto; text-align: center; }
.section-label {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-bottom: .95rem; color: var(--red-dark); font-size: .875rem;
  font-weight: 700; letter-spacing: .075em; text-transform: uppercase;
}
.section-label span { width: .52rem; height: .52rem; border-radius: 2px; background: currentColor; }
.hero h1 { font-size: clamp(3rem, 7.1vw, 6.15rem); font-weight: 800; letter-spacing: -.065em; line-height: .99; }
.hero h1 span { color: var(--red); }
.hero-summary { max-width: 36rem; margin: 1.3rem auto 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.22rem); }
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .85rem; margin: 1.65rem auto 0; }
.hero-figure {
  position: relative; isolation: isolate; overflow: hidden; margin-top: 3rem;
  border: 1px solid #e1d3d1; border-radius: 1.15rem; background: #e8c6af;
  box-shadow: 0 20px 50px #30101914;
}
.hero-figure img { height: clamp(16rem, 36vw, 27rem); object-fit: cover; object-position: center 61%; }

.section { padding-block: clamp(3.6rem, 8vw, 6.6rem); }
.section-intro { max-width: 42rem; }
.section-intro h2 { font-size: clamp(2.25rem, 4.45vw, 3.9rem); font-weight: 800; letter-spacing: -.055em; }
.section-intro p:not(.section-label) { margin-top: .9rem; max-width: 34rem; color: var(--muted); font-size: 1.075rem; }
.features { display: grid; gap: 1.1rem; margin-top: 2rem; }
.features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature, .access-card, .registration-form { min-width: 0; padding: clamp(1.2rem, 2.5vw, 1.75rem); border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); }
.feature h3, .access-card h3 { margin: 0 0 .65rem; font-size: 1.55rem; letter-spacing: -.035em; }
.feature p, .access-card p { color: var(--muted); }
.feature-graphic {
  position: relative; overflow: hidden; height: 6rem; margin-bottom: 1.45rem; border-radius: .6rem;
  background-color: #f9edf0;
  background-image: linear-gradient(90deg, #9e2d4615 1px, transparent 1px), linear-gradient(#9e2d4615 1px, transparent 1px);
  background-size: 18px 18px; background-position: center center;
  display: flex; align-items: center; justify-content: center;
}
.feature-plan span {
  width: 2.55rem; height: 2rem; border: 2px solid #a72540; background: #f7b8c5;
  box-shadow: 0 4px 0 #b2485c; transform: rotate(-23deg) skewX(16deg);
}
.feature-plan span:nth-child(even) { background: #ffd9e0; transform: translateY(-.55rem) rotate(-23deg) skewX(16deg); }
.feature-signal { gap: .52rem; align-items: flex-end; padding-bottom: 1.4rem; }
.feature-signal span { width: 1.15rem; height: 1.05rem; border-radius: .28rem .28rem 0 0; background: #b82039; }
.feature-signal span:nth-child(2) { height: 1.65rem; background: #c64359; }
.feature-signal span:nth-child(3) { height: 2.25rem; background: #d57385; }
.feature-signal span:nth-child(4) { height: 2.85rem; background: #e3a3b0; }
.feature-roll-call { flex-direction: column; gap: .44rem; }
.feature-roll-call span { display: block; width: 6.2rem; height: .47rem; border-radius: 1rem; background: linear-gradient(90deg, var(--red) 0 8%, transparent 8% 16%, #ce7f90 16% 100%); }
.feature-roll-call span:nth-child(3) { opacity: .66; }
.feature-roll-call span:nth-child(4) { opacity: .42; }

.workflow { background: #211b22; color: white; }
.workflow-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: start; gap: clamp(1.5rem, 6vw, 5rem); }
.workflow .section-label { color: #ffb1bf; }
.workflow .section-intro h2 { max-width: 30rem; }
.workflow-steps div { padding-block: 1.25rem; border-top: 1px solid #ffffff30; }
.workflow-steps div:first-child { padding-top: .9rem; }
.workflow-steps div:last-child { padding-bottom: 0; }
.workflow-steps dt { margin-bottom: .3rem; font-size: 1.125rem; font-weight: 700; }
.workflow-steps dd { color: #d9cfd9; }

.access-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.35rem; margin-top: 2rem; }
.other-campus { margin-top: 1.35rem; color: var(--muted); }
.registration { background: #fbf0f2; border-top: 1px solid var(--line); }
.registration-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; gap: clamp(1.5rem, 6vw, 5rem); }
.registration-form label { display: block; margin-bottom: .3rem; font-size: .9375rem; font-weight: 700; }
.registration-form label span { color: var(--muted); font-weight: 500; }
.registration-form :is(input, textarea) {
  display: block; width: 100%; margin-bottom: 1.1rem; padding: .65rem .75rem;
  border: 1px solid #b9a7aa; border-radius: .55rem; background: var(--paper); color: var(--ink); font: inherit;
}
.registration-form textarea { resize: vertical; }
#registration-status:not(:empty) { margin-top: 1rem; }
#registration-status[data-error] { color: var(--red-dark); }
#registration-email-draft { margin-top: .7rem; }
.registration noscript a { color: var(--red-dark); text-decoration: underline; }
.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { min-height: 5.75rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.5rem; }
.site-footer strong { margin-right: .7rem; font: 800 1.25rem/1 var(--display); }
.site-footer p span { color: var(--muted); font-size: .875rem; }

@media (max-width: 53rem) {
  .features { grid-template-columns: 1fr; }
  .feature-graphic { height: 5rem; max-width: 12rem; margin-bottom: 1.05rem; }
}
@media (max-width: 43rem) {
  .wrap { width: min(calc(100% - 2rem), 72rem); }
  .header-inner { min-height: 4rem; }
  .hero h1 { letter-spacing: -.052em; }
  .desktop-break { display: none; }
  .hero-figure { margin-top: 2.25rem; border-radius: .85rem; }
  .workflow-inner, .registration-inner { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 32rem) {
  .site-nav > a:not(.button) { display: none; }
  .site-nav { gap: .4rem; }
  .site-nav .button { padding-inline: .55rem; font-size: .8rem; }
  .hero h1 { font-size: clamp(2.65rem, 11vw, 3.9rem); }
  .hero-figure img { height: 15rem; object-position: 57% 59%; }
  .actions { gap: .7rem; }
  .actions .button { flex: 1 1 12rem; }
  .site-footer p span { display: block; margin-top: .25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
