:root {
  --brown: #6b4f3a;
  --brown-deep: #4e3829;
  --sand: #d6b98c;
  --sand-pale: #eee2cd;
  --paper: #faf8f3;
  --white: #fffefa;
  --ink: #2f2f2f;
  --muted: #726d66;
  --line: #ded8cd;
  --green: #5c8d70;
  --amber: #c98b45;
  --red: #b85c5c;
  --sidebar: 250px;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --serif: "Noto Serif TC", "Songti TC", "STSong", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 500;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  background: var(--brown-deep);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.app-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  background: rgba(250, 248, 243, 0.94);
  backdrop-filter: blur(14px);
}

.app-brand, .profile-button { display: flex; align-items: center; }
.app-brand { gap: 12px; }
.app-brand > span:last-child, .profile-copy { display: grid; }
.app-brand strong {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.14em;
}
.app-brand small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.brand-symbol {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(107, 79, 58, 0.45);
  border-radius: 50%;
}
.brand-symbol i, .brand-symbol b {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  background: var(--brown);
  transform: translate(-50%, -50%);
}
.brand-symbol i { width: 1px; height: 17px; transform: translate(-50%, -58%); }
.brand-symbol b { width: 10px; height: 1px; transform: translate(-50%, -200%); }

.header-actions { display: flex; align-items: center; gap: 22px; }
.review-notice {
  color: var(--amber);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.review-notice i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
}
.profile-button {
  gap: 10px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.profile-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sand-pale);
  color: var(--brown);
  font-family: var(--serif);
  font-weight: 700;
}
.profile-copy strong { font-size: 13px; }
.profile-copy small { color: var(--muted); font-size: 10px; }

.app-layout { min-height: 100svh; padding-top: 76px; }
.app-sidebar {
  position: fixed;
  z-index: 80;
  top: 76px;
  bottom: 0;
  left: 0;
  width: var(--sidebar);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  padding: 28px 18px 22px;
  background: #f4efe6;
}
.app-sidebar nav > p {
  margin: 22px 13px 8px;
  color: #9a9186;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.app-sidebar nav > p:first-child { margin-top: 0; }
.app-sidebar nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 13px;
  color: #59544f;
  font-size: 13px;
  font-weight: 650;
  transition: color 160ms ease, background 160ms ease;
}
.app-sidebar nav a > span { width: 20px; color: #8c7763; text-align: center; }
.app-sidebar nav a:hover, .app-sidebar nav a.active {
  background: #e8ded0;
  color: var(--brown-deep);
}
.app-sidebar nav a.active > span { color: var(--brown); }
.sidebar-footer {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding: 18px 12px 0;
  color: var(--muted);
  font-size: 10px;
}
.sidebar-footer p { margin: 0 0 10px; }
.sidebar-footer a { color: var(--brown); font-weight: 700; }

.app-main {
  min-height: calc(100svh - 76px);
  margin-left: var(--sidebar);
  padding: clamp(34px, 5vw, 72px);
  outline: none;
}
.page-shell { width: min(1120px, 100%); margin: 0 auto; }
.narrow-shell { width: min(780px, 100%); margin: 0 auto; }

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}
.page-heading > div { max-width: 700px; }
.page-heading .eyebrow, .section-label, .card-label {
  margin: 0 0 10px;
  color: var(--brown);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.page-heading h1, .public-hero h1, .content-section h2, .auth-panel h2, .course-lesson h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.25;
}
.page-heading h1 { font-size: clamp(34px, 5vw, 56px); }
.page-heading p:last-child { margin: 14px 0 0; color: var(--muted); }
.page-action { flex: 0 0 auto; }

.button {
  min-height: 46px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  background: var(--brown);
  color: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.04em;
  transition: background 160ms ease, transform 160ms var(--ease);
}
.button:hover { background: var(--brown-deep); transform: translateY(-1px); }
.button:active { transform: none; }
.button.secondary { border: 1px solid var(--brown); background: transparent; color: var(--brown); }
.button.secondary:hover { background: #eee5d7; }
.button.quiet { border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.button.quiet:hover { background: #f3ede4; }
.button.danger { background: var(--red); }
.button.full { width: 100%; }
.button[disabled] { cursor: not-allowed; opacity: 0.48; transform: none; }
.text-button { border: 0; padding: 0; background: none; color: var(--brown); cursor: pointer; font-weight: 750; }

.card {
  border: 1px solid var(--line);
  background: var(--white);
}
.card-pad { padding: clamp(22px, 3vw, 34px); }
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 20px;
}
.welcome-card {
  position: relative;
  isolation: isolate;
  min-height: 290px;
  overflow: hidden;
  padding: clamp(30px, 5vw, 56px);
  background: var(--brown);
  color: white;
}
.welcome-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -100px;
  right: -60px;
  width: 330px;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 120px rgba(255,255,255,.02);
}
.welcome-card .card-label { color: var(--sand); }
.welcome-card h1 {
  max-width: 620px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(35px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.3;
}
.welcome-card p:not(.card-label) { max-width: 560px; color: rgba(255,255,255,.72); }
.welcome-card .button { margin-top: 13px; background: white; color: var(--brown); }

.progress-card { display: flex; flex-direction: column; justify-content: space-between; }
.progress-ring {
  --progress: 0deg;
  width: 112px;
  aspect-ratio: 1;
  margin: 5px auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--green) var(--progress), #e7e2da var(--progress));
}
.progress-ring::before {
  content: "";
  grid-area: 1/1;
  width: 84px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
}
.progress-ring strong { z-index: 1; font-family: var(--serif); font-size: 25px; }
.progress-card > p { margin: 0; color: var(--muted); text-align: center; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.info-card { min-height: 210px; padding: 28px; }
.info-card .card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sand-pale);
  color: var(--brown);
  font-family: var(--serif);
  font-size: 19px;
}
.info-card h2 { margin: 0 0 7px; font-family: var(--serif); font-size: 20px; }
.info-card p { margin: 0; color: var(--muted); font-size: 13px; }
.info-card a { display: inline-block; margin-top: 18px; color: var(--brown); font-weight: 750; font-size: 12px; }

.announcement-card { margin-top: 20px; display: grid; grid-template-columns: 140px 1fr; }
.announcement-label { display: grid; place-items: center; padding: 25px; background: var(--sand-pale); color: var(--brown); font-weight: 800; }
.announcement-content { padding: 25px 30px; }
.announcement-content h2 { margin: 0 0 5px; font-family: var(--serif); font-size: 18px; }
.announcement-content p { margin: 0; color: var(--muted); }

.public-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 7vw, 80px);
  background: #e8dcc8;
}
.public-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 8%;
  width: min(300px, 34vw);
  aspect-ratio: 1;
  border: 1px solid rgba(107,79,58,.25);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 40px rgba(107,79,58,.035), 0 0 0 80px rgba(107,79,58,.025);
}
.public-hero h1 { max-width: 730px; font-size: clamp(42px, 6vw, 72px); }
.public-hero > p:not(.section-label) { max-width: 620px; margin: 20px 0 0; color: #645b51; font-size: 17px; }
.content-section { padding: 65px 0 10px; }
.content-section h2 { font-size: clamp(30px, 4vw, 45px); }
.content-section > p { max-width: 760px; color: var(--muted); }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 35px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pillar-card { min-height: 220px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px; background: var(--white); }
.pillar-card > span { color: var(--brown); font-family: var(--serif); font-size: 11px; }
.pillar-card h3 { margin: 54px 0 7px; font-family: var(--serif); font-size: 22px; }
.pillar-card p { margin: 0; color: var(--muted); font-size: 12px; }
.note-panel { margin-top: 35px; border-left: 4px solid var(--amber); padding: 22px 26px; background: #f1e8da; }
.note-panel strong { color: var(--brown-deep); }
.note-panel p { margin: 5px 0 0; color: var(--muted); }

.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-tabs button {
  border: 1px solid var(--line);
  padding: 8px 14px;
  background: var(--white);
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.filter-tabs button.active { border-color: var(--brown); background: var(--brown); color: white; }
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.course-card { position: relative; min-height: 275px; padding: 28px; display: flex; flex-direction: column; }
.course-card-top { display: flex; justify-content: space-between; gap: 12px; }
.course-category { color: var(--brown); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.course-duration { color: var(--muted); font-size: 11px; }
.course-card h2 { margin: 45px 0 9px; font-family: var(--serif); font-size: 25px; }
.course-card p { margin: 0; color: var(--muted); font-size: 13px; }
.course-card-footer { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; }
.course-status { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.course-status i { width: 7px; height: 7px; border-radius: 50%; background: #bbb3a9; }
.course-status.completed { color: var(--green); }
.course-status.completed i { background: var(--green); }
.course-card a { color: var(--brown); font-size: 12px; font-weight: 800; }
.review-badge { display: inline-block; margin-top: 15px; color: var(--amber); font-size: 10px; font-weight: 700; }

.course-lesson { width: min(820px, 100%); margin: 0 auto; }
.breadcrumb { display: flex; gap: 8px; margin-bottom: 30px; color: var(--muted); font-size: 12px; }
.breadcrumb a { color: var(--brown); font-weight: 700; }
.course-lesson h1 { font-size: clamp(38px, 6vw, 62px); }
.lesson-meta { display: flex; flex-wrap: wrap; gap: 18px; margin: 18px 0 35px; color: var(--muted); font-size: 12px; }
.lesson-block { margin-top: 20px; padding: clamp(24px, 4vw, 42px); }
.lesson-block h2 { margin: 0 0 14px; font-family: var(--serif); font-size: 25px; }
.lesson-block h3 { margin: 26px 0 7px; font-family: var(--serif); font-size: 19px; }
.lesson-block p { color: #57524d; }
.objective-list { margin: 0; padding-left: 22px; }
.objective-list li + li { margin-top: 7px; }
.opening-question { border-left: 4px solid var(--sand); background: #f2eadf; }
.opening-question blockquote, .scripture-quote blockquote { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.65; }
.scripture-quote { background: var(--brown); color: white; }
.scripture-quote p, .scripture-quote cite { color: rgba(255,255,255,.72); }
.scripture-quote cite { font-size: 12px; font-style: normal; }
.lesson-form label, .form-field label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 13px; }
.lesson-form textarea, .form-field input, .form-field select, .form-field textarea {
  width: 100%;
  border: 1px solid #cfc7bc;
  border-radius: 0;
  padding: 12px 13px;
  background: white;
  outline: none;
}
.lesson-form textarea:focus, .form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--brown); box-shadow: 0 0 0 2px rgba(107,79,58,.12); }
.quiz-options { display: grid; gap: 8px; margin: 15px 0 0; }
.quiz-options label { border: 1px solid var(--line); display: flex; gap: 10px; padding: 12px 14px; background: white; cursor: pointer; }
.quiz-options label:has(input:checked) { border-color: var(--brown); background: #f2eadf; }
.lesson-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.source-panel { margin: 30px 0; border-top: 1px solid var(--line); padding-top: 22px; color: var(--muted); font-size: 11px; }

.scripture-card { padding: clamp(28px, 6vw, 60px); background: var(--brown); color: white; }
.scripture-card .card-label { color: var(--sand); }
.scripture-card blockquote { max-width: 720px; margin: 20px 0; font-family: var(--serif); font-size: clamp(26px, 4vw, 42px); line-height: 1.7; }
.scripture-card cite { color: rgba(255,255,255,.7); font-style: normal; }
.reflection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.audio-player { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 14px; border: 1px solid rgba(255,255,255,.25); }
.audio-player button { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: transparent; color: white; }
.audio-player span { color: rgba(255,255,255,.7); font-size: 11px; }
.prayer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prayer-card { min-height: 240px; padding: 26px; }
.prayer-card > span { color: var(--brown); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.prayer-card h2 { margin: 55px 0 8px; font-family: var(--serif); font-size: 22px; }
.prayer-card p { margin: 0; color: var(--muted); font-size: 12px; }
.prayer-card button { margin-top: 20px; }

.form-card { padding: clamp(26px, 5vw, 48px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field.full-width { grid-column: 1 / -1; }
.form-field small { display: block; min-height: 18px; margin-top: 4px; color: var(--red); font-size: 10px; }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: var(--red); }
.check-field { display: flex; align-items: flex-start; gap: 10px; margin: 24px 0; color: var(--muted); font-size: 12px; }
.check-field input { margin-top: 5px; }
.form-help { color: var(--muted); font-size: 12px; }
.success-state, .empty-state, .error-state, .loading-state { min-height: 320px; display: grid; place-items: center; align-content: center; text-align: center; }
.success-state h2, .empty-state h2, .error-state h2 { margin: 18px 0 5px; font-family: var(--serif); font-size: 30px; }
.success-state p, .empty-state p, .error-state p { max-width: 520px; margin: 0 0 22px; color: var(--muted); }
.state-mark { width: 54px; height: 54px; border: 1px solid var(--green); border-radius: 50%; display: grid; place-items: center; color: var(--green); font-size: 22px; }
.loading-state { color: var(--muted); }
.loading-mark { width: 34px; height: 34px; border: 2px solid var(--line); border-top-color: var(--brown); border-radius: 50%; animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.question-list { display: grid; gap: 12px; margin-top: 25px; }
.question-item { padding: 22px; }
.question-item-top { display: flex; justify-content: space-between; gap: 20px; }
.question-item h3 { margin: 0; font-family: var(--serif); font-size: 18px; }
.question-item time, .question-status { color: var(--muted); font-size: 10px; }
.question-item p { margin: 12px 0 0; color: var(--muted); }
.private-note { display: flex; gap: 9px; margin: 15px 0; padding: 12px 14px; background: #edf2ee; color: #426950; font-size: 11px; }

.parish-card { display: grid; grid-template-columns: .8fr 1.2fr; }
.parish-visual { min-height: 440px; display: grid; place-items: center; background: #e8dcc8; }
.parish-cross { position: relative; width: 120px; height: 200px; }
.parish-cross::before, .parish-cross::after { content: ""; position: absolute; background: var(--brown); }
.parish-cross::before { top: 0; left: 53px; width: 14px; height: 200px; }
.parish-cross::after { top: 50px; left: 0; width: 120px; height: 14px; }
.parish-details { padding: clamp(30px, 5vw, 54px); }
.parish-details h2 { margin: 0 0 25px; font-family: var(--serif); font-size: 34px; }
.parish-details dl { margin: 0; }
.parish-details dl div { display: grid; grid-template-columns: 100px 1fr; border-top: 1px solid var(--line); padding: 15px 0; }
.parish-details dt { color: var(--brown); font-size: 11px; font-weight: 800; }
.parish-details dd { margin: 0; color: var(--muted); }

.faq-groups { display: grid; gap: 30px; }
.faq-group h2 { margin: 0 0 10px; font-family: var(--serif); font-size: 25px; }
.faq-group details { border-bottom: 1px solid var(--line); background: var(--white); }
.faq-group details:first-of-type { border-top: 1px solid var(--line); }
.faq-group summary { cursor: pointer; padding: 19px 20px; font-family: var(--serif); font-weight: 700; }
.faq-group details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

.auth-dialog { width: min(560px, calc(100% - 28px)); max-height: calc(100svh - 28px); border: 0; padding: clamp(32px, 5vw, 55px); background: var(--white); box-shadow: 0 25px 80px rgba(35,28,22,.3); }
.auth-dialog::backdrop { background: rgba(38,31,26,.68); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.dialog-close span { position: absolute; top: 50%; left: 50%; width: 14px; height: 1px; background: var(--ink); transform: translate(-50%,-50%) rotate(45deg); }
.dialog-close span:last-child { transform: translate(-50%,-50%) rotate(-45deg); }
.auth-panel h2 { font-size: 40px; }
.auth-panel > p { margin: 12px 0 26px; color: var(--muted); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.auth-tabs button { border: 0; border-bottom: 2px solid transparent; padding: 11px; background: transparent; cursor: pointer; color: var(--muted); font-weight: 700; }
.auth-tabs button.active { border-color: var(--brown); color: var(--brown); }
.auth-form { display: grid; gap: 17px; }
.auth-links { margin-top: 12px; text-align: right; }
.text-button { border: 0; padding: 4px 0; background: transparent; color: var(--brown); cursor: pointer; font-size: 12px; font-weight: 700; }
.text-button:hover { text-decoration: underline; }
.recovery-result { display: grid; justify-items: center; text-align: center; }
.recovery-result h2 { margin-bottom: 4px; }
.recovery-result .button { margin-top: 6px; }
.auth-note { margin: 16px 0 0; color: var(--muted); font-size: 10px; }

.app-toast { position: fixed; z-index: 600; right: 22px; bottom: 22px; max-width: calc(100% - 44px); padding: 13px 18px; background: var(--brown-deep); color: white; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity 180ms ease, transform 180ms ease; }
.app-toast.visible { opacity: 1; transform: none; }
.noscript { margin: 90px auto; text-align: center; }
.mobile-nav { display: none; }

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

@media (max-width: 980px) {
  :root { --sidebar: 218px; }
  .app-main { padding: 38px 28px; }
  .review-notice { display: none; }
  .dashboard-grid, .parish-card { grid-template-columns: 1fr; }
  .progress-card { min-height: 260px; }
  .info-grid, .prayer-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .app-header { height: 68px; padding: 0 16px; }
  .app-brand strong { font-size: 17px; }
  .app-brand small, .profile-copy { display: none; }
  .profile-avatar { width: 36px; height: 36px; }
  .app-layout { padding-top: 68px; }
  .app-sidebar { display: none; }
  .app-main { min-height: calc(100svh - 128px); margin-left: 0; padding: 30px 16px 92px; }
  .mobile-nav { position: fixed; z-index: 100; right: 0; bottom: 0; left: 0; height: 64px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(250,248,243,.96); backdrop-filter: blur(14px); }
  .mobile-nav a { display: grid; place-items: center; align-content: center; gap: 1px; color: var(--muted); font-size: 9px; font-weight: 700; }
  .mobile-nav a span { font-family: var(--serif); font-size: 17px; }
  .mobile-nav a.active { color: var(--brown); }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .dashboard-grid, .info-grid, .course-grid, .reflection-grid, .prayer-grid, .form-grid { grid-template-columns: 1fr; }
  .announcement-card { grid-template-columns: 1fr; }
  .announcement-label { place-items: start; }
  .public-hero { min-height: 430px; padding: 34px 26px; }
  .public-hero::after { top: auto; right: -25%; bottom: -20%; width: 75vw; transform: none; }
  .pillar-grid { grid-template-columns: 1fr; }
  .form-field.full-width { grid-column: auto; }
  .parish-visual { min-height: 300px; }
  .lesson-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
