:root {
  --purple: #6a31d6;
  --purple-dark: #4f20aa;
  --gold: #f1c50e;
  --gold-dark: #d9ad00;
  --ink: #211b2e;
  --muted: #665f70;
  --surface: #ffffff;
  --soft: #f5f2fb;
  --line: #ded8e8;
  --shadow: 0 14px 35px rgba(44, 25, 80, .13);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.55 Arial, Helvetica, sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--purple-dark); }
a:hover { color: #321176; }
button, input, textarea { font: inherit; }
.shell { width: min(1140px, calc(100% - 36px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: #fff; color: #111; padding: 10px 14px; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--purple); box-shadow: 0 3px 14px rgba(0,0,0,.18); }
.header-inner { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--gold); text-decoration: none; font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.85rem); }
.brand img { width: 100px; height: 100px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 7px; }
.primary-nav > a, .nav-group > a { color: #fff; text-decoration: none; font-weight: 700; padding: 11px 13px; border-radius: 8px; }
.primary-nav a:hover, .primary-nav a.active { color: var(--gold); background: rgba(255,255,255,.1); }
.nav-group { position: relative; display: flex; align-items: center; }
.submenu-toggle { border: 0; background: transparent; color: #fff; padding: 10px 5px; cursor: pointer; }
.submenu { display: none; position: absolute; top: 100%; left: 0; min-width: 225px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 7px; }
.submenu a { display: block; text-decoration: none; padding: 10px 12px; border-radius: 6px; }
.nav-group:focus-within .submenu, .nav-group.submenu-open .submenu { display: block; }
@media (hover: hover) and (min-width: 901px) { .nav-group:hover .submenu { display: block; } }
.menu-toggle { display: none; width: 46px; height: 42px; border: 1px solid rgba(255,255,255,.55); border-radius: 8px; background: transparent; padding: 9px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: #fff; margin: 5px 0; }
.hero { min-height: 390px; color: #fff; display: grid; align-items: center; background: linear-gradient(rgba(23, 12, 40, .6), rgba(23, 12, 40, .6)), url('../images/golvaschool.jpg') center/cover; }
.hero-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.hero-card { text-align: center; padding: 34px 25px; background: rgba(20, 10, 37, .27); backdrop-filter: blur(2px); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); }
.hero-card .icon { width: 50px; height: 50px; margin: 0 auto 15px; filter: brightness(0) invert(1); }
.hero-card h2 { margin: 0 0 10px; font: 700 1.55rem Georgia, 'Times New Roman', serif; }
.hero-card p { margin: 0; }
.quick-links { background: var(--gold); padding: 58px 0; }
.quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.quick-card { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ink); text-decoration: none; text-align: center; background: rgba(255,255,255,.42); border: 2px solid transparent; border-radius: var(--radius); padding: 24px 16px; transition: transform .2s, background .2s, box-shadow .2s; }
.quick-card:hover { color: var(--ink); background: #fff; border-color: var(--purple); transform: translateY(-4px); box-shadow: var(--shadow); }
.quick-card img { width: 58px; height: 58px; object-fit: contain; margin-bottom: 16px; }
.quick-card h3 { margin: 0 0 12px; font: 700 1.2rem Georgia, 'Times New Roman', serif; }
.quick-card span { font-weight: 700; text-decoration: underline; }
.alert-section { padding: 46px 0 22px; }
.alert-box { max-width: 650px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); }
.alert-box h2 { margin: 0 0 4px; font-family: Georgia, 'Times New Roman', serif; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 9px; background: var(--purple); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 20px; cursor: pointer; }
.button:hover { color: #fff; background: var(--purple-dark); }
.button.gold { background: var(--gold); color: #111; }
.button.gold:hover { background: var(--gold-dark); color: #111; }
.news-section { background: var(--purple); color: #fff; padding: 58px 0 64px; }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading-row h2 { margin: 0; color: #fff; font: 700 clamp(1.9rem, 4vw, 2.65rem) Georgia, 'Times New Roman', serif; }
.gold-text { color: var(--gold); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { overflow: hidden; display: flex; flex-direction: column; min-width: 0; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(18, 7, 38, .25); }
.news-image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #eeeaf5; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.news-image:hover img { transform: scale(1.035); }
.news-image-placeholder img { object-fit: contain; padding: 28px; }
.news-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 22px; }
.news-card-body time { color: var(--muted); font-size: .88rem; font-weight: 700; }
.news-card-body h2, .news-card-body h3 { margin: 7px 0 10px; font: 700 1.3rem/1.25 Georgia, 'Times New Roman', serif; }
.news-card-body h2 a, .news-card-body h3 a { color: var(--ink); text-decoration: none; }
.news-card-body h2 a:hover, .news-card-body h3 a:hover { color: var(--purple); }
.news-card-body p { margin: 0 0 18px; color: var(--muted); }
.read-more { margin-top: auto; font-weight: 800; text-decoration: none; }
.news-empty { border: 1px dashed rgba(255,255,255,.5); border-radius: var(--radius); padding: 30px; text-align: center; color: rgba(255,255,255,.88); }
.news-archive { background: var(--soft); }
.news-archive .news-card { border: 1px solid var(--line); box-shadow: var(--shadow); }
.archive-empty { color: var(--muted); border-style: solid; }
.article-hero time { font-weight: 700; }
.article-copy { max-width: 850px; margin: auto; }
.article-image { width: 100%; max-height: 520px; margin-bottom: 30px; border-radius: 12px; object-fit: contain; background: var(--soft); }
.article-body { font-size: 1.08rem; line-height: 1.75; }
.back-link { margin: 30px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 700; }
.info-section { padding: 45px 0 70px; }
.section-title { text-align: center; margin: 0 0 28px; font: 700 clamp(1.8rem, 4vw, 2.65rem) Georgia, 'Times New Roman', serif; color: var(--purple); }
.info-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.info-card { min-height: 185px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); padding: 22px 14px; text-align: center; text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s, background .2s; }
.info-card:hover { color: var(--purple-dark); background: #fff; border-color: var(--purple); transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card img { width: 72px; height: 72px; object-fit: contain; }
.info-card span { font-size: 1.02rem; line-height: 1.3; font-weight: 700; }
.partner-links { margin-top: 42px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 42px; }
.partner-links img { max-height: 50px; width: auto; }
.facebook-link { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #1877f2; color: #fff; font-weight: 900; font-size: 1.6rem; text-decoration: none; }
.page-hero { background: var(--purple); color: #fff; padding: 58px 0; text-align: center; }
.page-hero h1 { margin: 0 0 10px; color: var(--gold); font: 700 clamp(2rem, 5vw, 3.4rem) Georgia, 'Times New Roman', serif; }
.page-hero p { margin: 0 auto; max-width: 760px; }
.content-section { padding: 56px 0 76px; }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.person-card { overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); text-align: center; }
.person-card img { width: 100%; aspect-ratio: 4/4.35; object-fit: cover; object-position: center 18%; background: var(--soft); }
.person-card .placeholder { width: 100%; aspect-ratio: 4/4.35; display: grid; place-items: center; background: var(--soft); }
.person-card .placeholder img { width: 45%; height: auto; aspect-ratio: auto; object-fit: contain; }
.person-body { padding: 20px; }
.person-body h2, .person-body h3 { margin: 0 0 4px; font-family: Georgia, 'Times New Roman', serif; }
.person-body p { margin: 0; color: var(--purple); font-weight: 700; }
.content-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 5vw, 50px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 700; margin-bottom: 6px; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid #bdb4c9; border-radius: 8px; padding: 12px; background: #fff; }
.form-field input:focus, .form-field textarea:focus { outline: 3px solid rgba(106,49,214,.24); border-color: var(--purple); }
.notice { border-radius: 8px; padding: 12px 15px; margin-bottom: 18px; }
.notice.success { background: #e5f7eb; color: #145a2d; }
.notice.error { background: #fde9e8; color: #84211d; }
.facebook-panel { background: var(--soft); border-radius: var(--radius); padding: 24px; }
.facebook-panel iframe { width: 100%; max-width: 500px; height: 650px; border: 0; }
.policy-tools { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; }
.policy-tools input { flex: 1; min-width: 0; border: 1px solid #bdb4c9; border-radius: 9px; padding: 12px 14px; }
.policy-table-wrap { overflow-x: auto; }
.policy-table { width: 100%; border-collapse: collapse; background: #fff; }
.policy-table th { background: var(--purple); color: #fff; text-align: left; }
.policy-table th, .policy-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); }
.policy-table tbody tr:nth-child(even) { background: var(--soft); }
.policy-table tbody tr:hover { background: #eee8fa; }
.policy-table td:first-child { min-width: 320px; }
.policy-table a { font-weight: 700; }
.titleix-copy { max-width: 850px; margin: auto; font-size: 1.06rem; }
.meal-page { background: linear-gradient(180deg, var(--soft) 0, #fff 420px); }
.meal-intro { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-bottom: 30px; }
.meal-intro > div { max-width: 720px; }
.meal-intro h2, .meal-card h2, .meal-note h2 { margin: 0 0 12px; font-family: Georgia, 'Times New Roman', serif; }
.meal-intro p:last-child, .meal-card p:last-child, .meal-note p:last-child { margin-bottom: 0; }
.meal-actions { display: flex; flex: 0 0 auto; flex-direction: column; gap: 12px; }
.meal-actions .button { text-align: center; }
.eyebrow { margin: 0 0 5px; color: var(--purple); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.meal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.meal-card { border: 1px solid var(--line); border-top: 5px solid var(--gold); border-radius: var(--radius); background: #fff; padding: 28px; box-shadow: 0 8px 22px rgba(44, 25, 80, .08); }
.meal-card p { margin: 0 0 14px; }
.meal-steps { margin: 0 0 16px; padding-left: 22px; }
.meal-steps li { margin-bottom: 9px; padding-left: 4px; }
.meal-note { margin-top: 30px; border-left: 6px solid var(--purple); border-radius: 10px; background: #f0ebfa; padding: 24px 28px; }
.meal-note p { margin: 0 0 10px; }
.admin-shell { max-width: 760px; margin: 50px auto; }
.admin-shell-wide { max-width: 1140px; margin: auto; }
.admin-nav { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin-bottom: 22px; }
.admin-news-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); gap: 26px; align-items: start; }
.news-editor, .news-manage-list { padding: 30px; }
.news-editor h2, .news-manage-list h2 { margin-top: 0; font-family: Georgia, 'Times New Roman', serif; }
.field-note { color: var(--muted); font-size: .86rem; font-weight: 400; }
.current-image { display: flex; align-items: center; gap: 16px; margin: -4px 0 20px; padding: 12px; background: var(--soft); border-radius: 10px; }
.current-image img { width: 100px; height: 70px; border-radius: 6px; object-fit: cover; }
.optional-fields { margin: 0 0 20px; border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px 1px; }
.optional-fields summary { margin-bottom: 12px; color: var(--purple-dark); font-weight: 800; cursor: pointer; }
.publish-check { display: flex; align-items: center; gap: 9px; margin: 18px 0; font-weight: 800; }
.publish-check input { width: 20px; height: 20px; }
.editor-actions, .manage-actions { display: flex; align-items: center; gap: 10px; }
.button-muted { background: #746d7d; }
.button-danger { background: #a82c2c; }
.button-danger:hover { background: #7d1e1e; }
.button-small { padding: 8px 13px; font-size: .88rem; }
.manage-news-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.manage-news-item:last-child { border-bottom: 0; }
.manage-news-item h3 { margin: 5px 0 2px; font: 700 1.02rem/1.3 Georgia, 'Times New Roman', serif; }
.manage-news-item time { color: var(--muted); font-size: .85rem; }
.status-pill { display: inline-block; border-radius: 999px; padding: 3px 8px; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.status-pill.published { background: #dff5e5; color: #16602b; }
.status-pill.draft { background: #eeeaf1; color: #62596a; }
.admin-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.upload-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.upload-card h2 { margin-top: 0; }
.upload-card input[type=file] { width: 100%; margin: 12px 0 18px; }
.site-footer { background: #e9e5ee; padding: 24px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; color: #554e5e; }
.footer-inner p { margin: 0; }
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 92px; left: 0; right: 0; align-items: stretch; flex-direction: column; gap: 0; background: var(--purple-dark); padding: 12px 18px 20px; }
  .primary-nav.open { display: flex; }
  .primary-nav > a, .nav-group > a { display: block; padding: 13px; }
  .nav-group { display: grid; grid-template-columns: 1fr auto; }
  .submenu { position: static; grid-column: 1 / -1; margin: 0 10px 8px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .meal-intro { align-items: flex-start; flex-direction: column; }
  .meal-actions { width: 100%; }
  .admin-news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .shell { width: min(100% - 24px, 1140px); }
  .header-inner { min-height: 78px; }
  .brand img { width: 60px; height: 60px; }
  .brand span { max-width: 190px; line-height: 1.1; }
  .primary-nav { top: 78px; }
  .hero { min-height: auto; padding: 35px 0; }
  .hero-grid, .quick-grid, .people-grid, .admin-actions, .meal-grid, .news-grid { grid-template-columns: 1fr; }
  .quick-links { padding: 38px 0; }
  .quick-card { min-height: 175px; }
  .alert-box { align-items: flex-start; flex-direction: column; }
  .section-heading-row { align-items: flex-start; flex-direction: column; }
  .admin-nav, .manage-news-item { align-items: flex-start; flex-direction: column; }
  .info-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .info-card { min-height: 165px; padding: 18px 10px; }
  .info-card img { width: 58px; height: 58px; }
  .info-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 6px); justify-self: center; }
  .policy-table th:nth-child(2), .policy-table td:nth-child(2), .policy-table th:nth-child(3), .policy-table td:nth-child(3) { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
