:root {
  color-scheme: light;
  --paper: #f6f4ef;
  --ink: #263345;
  --muted: #5e6876;
  --gold: #aa8d61;
  --line: #d9dcd9;
  --white: #fff;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 50% -10%, #fff 0, #f9f7f2 45%, var(--paper) 100%);
  color: var(--ink);
  font: 1rem/1.55 "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: #6b5234; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.site-header { background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); }
.header-inner {
  width: min(100% - 48px, 1280px);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.08rem; }
.brand strong { color: #987b50; }
.brand-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: #dfc392; font-size: 1.5rem; }
.portal-link { display: inline-flex; gap: 8px; align-items: center; padding: 10px 18px; border: 1px solid #c5a873; border-radius: 999px; background: #f0e3ca; color: var(--ink); text-decoration: none; font-weight: 700; white-space: nowrap; }
.portal-link:hover { background: #e5d0aa; }
.portal-shell { width: min(100% - 48px, 1280px); margin: 0 auto; padding: 50px 0 80px; }
.eyebrow { margin: 0 0 13px; color: #9b7d51; font-size: .79rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { margin: 0 0 18px; font: 400 clamp(2.5rem, 5vw, 4.7rem)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
.page-intro { max-width: 690px; margin: 0 0 28px; color: var(--muted); font-size: 1.12rem; }
.notice { max-width: 760px; margin: 0 0 28px; padding: 16px 20px; border-left: 4px solid #b38c4f; border-radius: 6px; background: #fff3dc; color: #4f412d; }
body.has-registration-error { overflow: hidden; }
.registration-error-backdrop { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; background: rgba(21, 31, 44, .72); backdrop-filter: blur(3px); }
.registration-error-card { width: min(100%, 520px); padding: clamp(28px, 5vw, 44px); border: 1px solid #ecd9cf; border-radius: 24px; background: #fff; box-shadow: 0 28px 90px rgba(0, 0, 0, .3); }
.registration-error-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 50%; background: #f9e4df; color: #a13d36; font-size: 1.7rem; font-weight: 800; }
.registration-error-card .eyebrow { margin-bottom: 8px; color: #a13d36; }
.registration-error-card h2 { margin: 0 0 14px; font: 400 clamp(1.8rem, 4vw, 2.4rem)/1.2 Georgia, "Times New Roman", serif; }
.registration-error-card p:not(.eyebrow) { margin: 0 0 26px; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }

.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); overflow: hidden; min-height: 520px; border-radius: 28px; background: var(--ink); color: #fff; box-shadow: 0 20px 52px rgba(32,40,50,.12); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(36px, 5vw, 74px); position: relative; z-index: 1; }
.hero .eyebrow { color: #d9bb87; }
.hero h1 { max-width: 690px; margin-bottom: 24px; font-size: clamp(3.3rem, 6vw, 6rem); }
.hero h1 em { color: #e7cda1; font-weight: 400; }
.hero h1 span { display: inline-block; color: #e7cda1; font-size: .43em; vertical-align: top; padding-top: .15em; }
.hero-lead { max-width: 620px; margin: 0 0 30px; color: #dfe4ea; font-size: clamp(1.06rem, 1.6vw, 1.22rem); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.button, button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; padding: 12px 22px; font: 600 1rem "Segoe UI", Arial, sans-serif; text-decoration: none; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.button:hover, button:hover { background: #455b72; transform: translateY(-2px); }
.hero .button { background: #e7cda1; color: #263345; }
.hero .button:hover { background: #f7e3be; }
.text-link { color: #f4e2c4; text-decoration-thickness: 1px; text-underline-offset: 4px; font-weight: 600; }
.hero-portal-link { margin-top: 27px; color: #f4e2c4; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.stage { min-height: 520px; position: relative; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; background: linear-gradient(140deg,#344e63 0%,#1d2a3a 75%); }
.stage:before, .stage:after { content: ""; position: absolute; top: 0; width: 19%; height: 100%; background: repeating-linear-gradient(90deg,#863d3a 0,#a2534a 22%,#6f3030 45%,#9b4841 70%,#64292b 100%); box-shadow: 0 0 40px rgba(0,0,0,.3); }
.stage:before { left: 0; border-radius: 0 0 65% 0; transform: skewX(-9deg); transform-origin: top left; }
.stage:after { right: 0; border-radius: 0 0 0 65%; transform: skewX(9deg); transform-origin: top right; }
.spotlight { position: absolute; top: 5%; width: 80%; height: 110%; background: radial-gradient(ellipse at 50% 54%,rgba(240,214,161,.4),transparent 60%); }
.stage-arch { width: 62%; height: 72%; margin-bottom: -8%; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px solid rgba(223,195,145,.55); border-bottom: 0; border-radius: 45% 45% 0 0; background: linear-gradient(#213246,#121d2c); box-shadow: 0 0 0 16px rgba(210,178,126,.07), 0 0 50px rgba(0,0,0,.45); }
.stage-title { color: #ead6ad; font: 400 clamp(5.5rem, 10vw, 10rem)/1 Georgia,serif; text-shadow: 0 10px 24px rgba(0,0,0,.4); white-space: nowrap; }
.stage-line { width: 30%; height: 2px; background: #c19d67; }
.stage-dots { margin-top: 15px; color: #e6cfaa; letter-spacing: 1.6em; padding-left: 1.6em; font-size: .6rem; }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 24px; }
.step { min-height: 220px; display: flex; flex-direction: column; align-items: flex-start; padding: 26px 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); color: var(--ink); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.step:hover { transform: translateY(-4px); border-color: #c5a873; box-shadow: 0 15px 36px rgba(32,40,50,.08); }
.step:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.step-icon { display: grid; place-items: center; width: 39px; height: 39px; margin-bottom: 14px; border-radius: 12px; background: #f0e9dd; color: #8c6e43; font-size: 1.45rem; font-weight: 600; }
.step h2 { margin: 0 0 6px; font-size: 1.08rem; }
.step p { margin: 0; color: var(--muted); }
.step-action { margin-top: auto; padding-top: 20px; color: #876735; font-weight: 700; }
.back-to-area { display: inline-flex; margin-bottom: 28px; color: #755a36; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.detail-panel { max-width: 850px; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 12px 35px rgba(32,40,50,.04); }
.detail-panel p { max-width: none; margin: 0 0 18px; color: var(--muted); font-size: 1.12rem; line-height: 1.7; }
.detail-panel p:last-child { margin-bottom: 0; }
.detail-panel .button { margin-top: 12px; }
.detail-article { max-width: 1040px; }
.detail-article h2 { margin: 38px 0 16px; font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.25 Georgia, "Times New Roman", serif; color: var(--ink); }
.detail-article p { max-width: none; }
.campanile-quote { margin: 0 0 32px; padding: 8px 0 8px 24px; border-left: 4px solid #b38c4f; }
.detail-article .campanile-quote p { margin: 0 0 12px; color: var(--ink); font: italic 400 clamp(1.2rem, 2vw, 1.55rem)/1.55 Georgia, "Times New Roman", serif; }
.campanile-quote footer { color: #876735; font-weight: 700; }
.initiative-guide { max-width: 1040px; }
.initiative-guide section { padding-top: 4px; }
.initiative-guide-header { margin: calc(-1 * clamp(24px, 4vw, 42px)) calc(-1 * clamp(24px, 4vw, 42px)) 36px; padding: clamp(30px, 5vw, 58px) clamp(24px, 4vw, 42px); border-radius: 22px 22px 0 0; background: var(--ink); color: #fff; }
.detail-article .initiative-guide-header h2 { margin: 8px 0 6px; color: #fff; font-size: clamp(2rem, 4.5vw, 3.7rem); }
.detail-article .initiative-guide-header h2 span { color: #e7cda1; }
.detail-article .initiative-guide-header p { max-width: none; color: #e5e9ed; }
.detail-article .initiative-guide-header .guide-association { margin-bottom: 24px; color: #d9bb87; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.detail-article .initiative-guide-header .guide-kicker { margin: 0 0 8px; color: #f1d6a8; font: 700 clamp(1.2rem, 2.4vw, 1.65rem)/1.3 "Segoe UI", Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.detail-article .initiative-guide-header .guide-subtitle { margin-bottom: 20px; font-size: 1.08rem; }
.detail-article .initiative-guide-header .guide-anniversary { margin: 0; color: #cbd3db; font-size: .96rem; }
.initiative-guide .guide-number { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; margin-right: 8px; border-radius: 50%; background: #f0e3ca; color: #755a36; font: 700 1rem/1 "Segoe UI", Arial, sans-serif; vertical-align: .2em; }
.initiative-guide ul, .initiative-guide ol { max-width: none; margin: 0 0 22px; padding-left: 1.5rem; color: var(--muted); font-size: 1.06rem; line-height: 1.7; }
.initiative-guide li + li { margin-top: 9px; }
.guide-reading-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; margin: 0 0 24px; }
.guide-reading-list div { padding: 17px 19px; border: 1px solid var(--line); border-radius: 14px; background: #faf8f3; }
.guide-reading-list dt { margin-bottom: 4px; color: var(--ink); font-weight: 750; }
.guide-reading-list dd { margin: 0; color: var(--muted); line-height: 1.55; }
.guide-stage-example { width: 100%; margin: 0 0 24px; padding: 25px 28px; border-left: 4px solid #b38c4f; border-radius: 0 16px 16px 0; background: #f7f2e9; }
.detail-article .guide-stage-example p { margin-bottom: 12px; color: var(--ink); font-size: 1rem; }
.detail-article .guide-stage-example .guide-direction { color: var(--muted); font-style: italic; }
.detail-article .guide-stage-example .guide-curtain { margin: 18px 0 0; text-align: center; font-style: italic; }
.guide-exercise { width: 100%; margin: 0 0 14px; padding: 19px 22px; border: 1px solid #d8ccbb; border-radius: 14px; background: #fff8e9; color: var(--muted); line-height: 1.65; }
.guide-exercise strong { color: #805c2c; }
.initiative-guide .guide-checklist { padding-left: 0; list-style: none; }
.guide-checklist li { position: relative; padding-left: 2rem; }
.guide-checklist li:before { content: "✓"; position: absolute; left: 0; color: #48745e; font-weight: 800; }
.guide-references { margin-top: 42px; padding: 2px 26px 10px; border-left: 4px solid #b38c4f; background: #faf8f3; }
.regulation-document { max-width: 1040px; }
.regulation-document section { padding: 2px 0 12px; border-bottom: 1px solid #e5e2da; }
.regulation-document section:last-child { border-bottom: 0; }
.regulation-document .initiative-guide-header { margin-bottom: 18px; }
.regulation-document ul { max-width: none; margin: 0 0 22px; padding-left: 1.5rem; color: var(--muted); font-size: 1.06rem; line-height: 1.7; }
.regulation-document li + li { margin-top: 7px; }
.notice-calendar { display: grid; gap: 10px; width: 100%; margin: 0 0 22px; }
.notice-calendar div { display: grid; grid-template-columns: minmax(150px, .35fr) 1fr; gap: 18px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 13px; background: #faf8f3; }
.notice-calendar dt { color: #805c2c; font-weight: 750; }
.notice-calendar dd { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .guide-reading-list { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .notice-calendar div { grid-template-columns: 1fr; gap: 3px; } }

.interior { max-width: 1050px; }
.interior > form { max-width: 700px; padding: clamp(22px, 4vw, 38px); border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: 0 12px 35px rgba(32,40,50,.04); }
label { display: block; margin: 0 0 22px; font-weight: 650; }
input, textarea, select { display: block; width: 100%; margin-top: 8px; padding: 13px 15px; border: 1px solid #bfc6c8; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
input[type=file] { padding: 12px; cursor: pointer; }
textarea { resize: vertical; min-height: 130px; }
.interior > form button { margin-right: 8px; margin-bottom: 8px; }
.password-control { margin: 0 0 22px; }
.password-control label { margin: 0 0 8px; }
.password-input-row { position: relative; }
.password-input-row input { margin: 0; padding-right: 58px; }
.interior > form .password-toggle { position: absolute; top: 50%; right: 6px; display: grid; place-items: center; width: 42px; height: 42px; margin: 0; padding: 0; transform: translateY(-50%); border: 0; border-radius: 8px; background: transparent; color: var(--ink); }
.interior > form .password-toggle:hover { transform: translateY(-50%); background: #f0e3ca; }
.password-toggle svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.password-toggle .eye-slash { display: none; }
.password-toggle.is-visible .eye-slash { display: block; }
.match-status { margin: -12px 0 20px; color: var(--muted); font-size: .94rem; }
.password-control .match-status { margin: 7px 0 0; }
.match-status:empty { display: none; }
.match-status[data-state="error"] { color: #a13d36; }
.match-status[data-state="success"] { color: #256b48; }
input[aria-invalid="true"] { border-color: #a13d36; }
.field-note { max-width: 570px; margin: -12px 0 22px; color: var(--muted); font-size: .93rem; }
.registration-token-note { margin-top: 28px; }
.school-match { max-width: 700px; padding: 20px 24px; border: 1px solid #d8ccbb; border-radius: 16px; background: #f1eadf; line-height: 1.8; }
.school-match strong { font-size: 1.15rem; }
.test-credentials { display: grid; gap: 8px; max-width: 700px; margin: 18px 0 26px; padding: 18px 22px; border: 1px solid #c8ad7a; border-radius: 14px; background: #fff8e9; color: #263346; }
.test-credentials strong { color: #805c2c; font-size: 1.05rem; }
.test-credentials code { padding: 3px 7px; border-radius: 6px; background: #263346; color: #fff; font-size: 1rem; }
.test-credentials small { color: var(--muted); line-height: 1.5; }
.admin-test-registration { max-width: 800px; margin: 0 0 30px; padding: clamp(24px,4vw,36px); border: 1px solid #c8ad7a; border-radius: 20px; background: #fff8e9; box-shadow: 0 12px 35px rgba(32,40,50,.05); }
.admin-test-registration h2 { margin: 0 0 12px; font: 400 clamp(1.55rem,3vw,2.15rem)/1.25 Georgia,"Times New Roman",serif; }
.admin-test-registration > p:not(.eyebrow) { margin: 0 0 20px; color: var(--muted); line-height: 1.65; }
.admin-test-registration form { max-width: none; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.admin-test-registration .auto-test-flag { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 18px; padding: 15px 17px; border: 1px solid #d8ccbb; border-radius: 12px; background: #fff; cursor: pointer; }
.admin-test-registration .auto-test-flag input { flex: 0 0 auto; width: auto; margin: 4px 0 0; accent-color: var(--ink); }
.admin-test-registration .test-credentials { margin-bottom: 18px; background: #fff; }
.admin-test-registration .back-to-area { margin: 18px 0 0; }
.submission-guide { max-width: 1050px; margin: 0 0 24px; padding: clamp(22px, 3vw, 30px); border: 1px solid #d8ccbb; border-radius: 18px; background: #f5efe5; }
.submission-guide h2 { margin: 0 0 10px; font: 400 1.6rem/1.25 Georgia, "Times New Roman", serif; }
.submission-guide p { margin: 0 0 16px; color: var(--muted); }
.submission-examples { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.submission-example { min-width: 0; padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.submission-example h3 { margin: 0 0 4px; font: 400 1.65rem/1.2 Georgia, "Times New Roman", serif; }
.submission-example .example-author { margin: 0 0 20px; color: #8b6a3f; font-size: .92rem; font-weight: 700; }
.submission-example p { color: var(--ink); font-size: .98rem; line-height: 1.6; }
.example-dialogue { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.submission-example .example-curtain { margin-bottom: 0; color: var(--muted); font-style: italic; text-align: right; }
.confirmation-card { max-width: 820px; margin: 38px auto 20px; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 18px 48px rgba(32,40,50,.07); text-align: center; }
.confirmation-symbol { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: #f0e3ca; color: #755a36; font-size: 2.2rem; font-weight: 700; }
.confirmation-card h1 { margin: 0 0 20px; }
.confirmation-card .page-intro { margin: 0 auto 28px; }
.confirmation-card .button { display: inline-flex; }
.area-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 44px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.area-nav a { padding: 10px 15px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.area-nav a:hover, .area-nav a.active { background: #f0e9dd; }
.area-nav form { margin-left: auto; }
.area-nav button { padding: 9px 16px; background: transparent; color: var(--ink); }
.area-nav button:hover { background: #f0e9dd; transform: none; }
.file-list { max-width: 850px; margin: 22px 0; padding: 0; list-style: none; }
.file-list li { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.file-list li.admitted-file { border-color: #b99960; background: #fffaf0; }
.file-list li.rejected-file { border-color: #dec3c0; background: #fff8f7; }
.file-entry { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.file-list a { font-weight: 650; overflow-wrap: anywhere; }
.file-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #e8d4aa; color: #423519; font-size: .86rem; font-weight: 700; }
.file-rejected-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #f3deda; color: #8d352d; font-size: .86rem; font-weight: 700; }
.file-reasons { color: #8d352d; font-size: .94rem; }
.file-details { max-width: 850px; margin: 0 0 22px; padding: 16px 20px; border-radius: 12px; background: #fff; line-height: 1.6; }
.file-edition { color: var(--muted); font-size: .88rem; }
.file-list time { color: var(--muted); white-space: nowrap; }
.document-preview { max-width: 960px; min-height: 220px; margin: 0; padding: clamp(22px, 4vw, 38px); border: 1px solid var(--line); border-radius: 20px; background: #fff; color: var(--ink); font: 1rem/1.7 Georgia, "Times New Roman", serif; white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 12px 35px rgba(32,40,50,.04); }
.conversation { max-width: 850px; margin: 22px 0; }
.message { width: min(100%, 670px); margin: 0 0 14px; padding: 17px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.message.sent { margin-left: auto; background: #edf1f4; }
.message small { color: var(--muted); font-weight: 600; }
.message p { margin: 8px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
dl { max-width: 850px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 28px; padding: 12px 30px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
dt { margin-top: 18px; color: var(--muted); font-size: .87rem; font-weight: 600; }
dd { margin: 2px 0 18px; font-size: 1.08rem; font-weight: 650; overflow-wrap: anywhere; }
.contact-edit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 30px 0 42px; }
.contact-edit-card { padding: clamp(22px, 3vw, 30px); border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 35px rgba(32,40,50,.04); }
.contact-edit-card h2, .contact-history h2 { margin: 0 0 22px; font: 400 1.75rem/1.2 Georgia, "Times New Roman", serif; }
.contact-edit-card label { margin-bottom: 18px; }
.contact-edit-card .match-status { margin: -8px 0 18px; }
.contact-history { max-width: 850px; }
.contact-history .page-intro { margin-bottom: 18px; }
.contact-history ol { margin: 0; padding: 0; list-style: none; }
.contact-history li { display: grid; grid-template-columns: 150px minmax(0,1fr) minmax(0,1.2fr); gap: 16px; align-items: baseline; margin-bottom: 10px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.contact-history time { color: var(--muted); white-space: nowrap; }
.contact-history strong, .contact-history span { overflow-wrap: anywhere; }
.portal-footer { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.portal-footer a { display: inline-flex; padding: 11px 18px; border: 1px solid #c5a873; border-radius: 999px; background: #f0e3ca; color: var(--ink); font-weight: 700; text-decoration: none; }
.portal-footer a:hover { background: #e5d0aa; }

@media (max-width: 850px) {
  .submission-examples { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 44px; }
  .stage { min-height: 230px; }
  .stage-arch { width: 45%; height: 105%; margin-bottom: -30%; }
  .stage-title { font-size: 6rem; }
}
@media (max-width: 600px) {
  .header-inner, .portal-shell { width: min(100% - 32px, 1280px); }
  .header-inner { min-height: 72px; gap: 10px; flex-wrap: wrap; padding: 12px 0; }
  .brand { font-size: .92rem; gap: 8px; }
  .brand-icon { width: 32px; height: 32px; flex: 0 0 auto; }
  .portal-link { padding: 7px 10px; font-size: .83rem; }
  .portal-shell { padding: 28px 0 54px; }
  .hero { border-radius: 22px; }
  .hero-copy { padding: 36px 26px; }
  .hero h1 { font-size: clamp(2.85rem, 12vw, 4.2rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { min-height: auto; padding: 19px 22px; }
  .area-nav { margin-bottom: 32px; }
  .area-nav a { font-size: .9rem; padding: 8px 10px; }
  .area-nav form { margin-left: 0; }
  dl { grid-template-columns: 1fr; padding: 10px 22px; }
  .file-list li { flex-direction: column; gap: 4px; }
  .contact-edit-grid { grid-template-columns: 1fr; }
  .contact-history li { grid-template-columns: 1fr; gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .button, button, .step { transition: none; }
}
.login-registration-callout{margin:1.25rem 0;padding:1rem 1.1rem;border:1px solid #d8c292;border-radius:16px;background:#fff8e9;color:#243142}
.login-registration-callout p{margin:.35rem 0 .85rem}
.login-registration-callout .button{display:inline-flex;width:auto}
