/* Light theme, centred card layout. The accent colour is set per request from the site configuration. */
@font-face { font-family: "Playfair Display"; font-weight: 400; font-display: swap; src: url("/fonts/playfair-400.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-display: swap; src: url("/fonts/playfair-700.woff2") format("woff2"); }
:root { --accent: #e8890c; --page: #eeeeee; --strip: #f6f6f6; --ink: #222; --muted: #666; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, h2, .logo span { font-family: "Playfair Display", Georgia, serif; }
a { color: inherit; } img { max-width: 100%; height: auto; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 20; }
.top { max-width: 1040px; margin: 0 auto; padding: 18px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.logo { text-decoration: none; } .logo img { max-height: 90px; width: auto; display: block; } .logo span { font-size: 2rem; font-weight: 700; }
nav ul { list-style: none; margin: 0; padding: 0; }
nav > ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
nav a, nav .group > button { display: block; padding: 8px 12px; text-decoration: none; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; }
nav a:hover, nav a[aria-current="page"], nav .group > button:hover { color: var(--accent); }
.group { position: relative; }
.group > ul { display: none; position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; box-shadow: 0 6px 18px #0002; border-radius: 8px; z-index: 10; padding: 6px 0; }
.group:hover > ul, .group:focus-within > ul, .group.open > ul { display: block; }
.burger { display: none; font: inherit; padding: 6px 14px; border: 1px solid #bbb; border-radius: 8px; background: #fff; }
main { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.card { background: #fff; border-radius: 10px; box-shadow: 0 1px 6px #0001; padding: 0 24px 28px; text-align: center; overflow: hidden; }
.card > h1 { margin: 0 -24px 24px; padding: 14px 24px; background: var(--strip); font-size: 1.7rem; }
.card > .hero { display: block; margin: 0 -24px 20px; width: calc(100% + 48px); max-width: none; }
.card > .hero + h1 { background: none; margin-bottom: 8px; }
.portrait { width: 220px; border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.lead { font-size: 1.15rem; color: var(--muted); }
.gallery { list-style: none; padding: 0; margin: 0; columns: 3 240px; column-gap: 14px; }
.gallery li { break-inside: avoid; margin-bottom: 14px; }
.gallery img { display: block; width: 100%; border-radius: 6px; }
.empty { color: var(--muted); }
.viewer { border: 0; padding: 12px; border-radius: 10px; max-width: 96vw; max-height: 96vh; text-align: center; }
.viewer::backdrop { background: #000c; } .viewer img { display: block; max-height: 82vh; margin: 0 auto 8px; }
.viewer button, .btn { font: inherit; padding: 8px 18px; margin: 4px; border-radius: 999px; border: 1px solid #bbb; background: #fff; cursor: pointer; }
.btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.foot { text-align: center; color: var(--muted); font-size: .85rem; padding: 24px 16px 36px; }
.pill-uat { background: var(--accent); color: #fff; border-radius: 999px; padding: 1px 8px; font-weight: 700; }
.prose { text-align: left; max-width: 720px; margin: 0 auto; }
.banner { background: #fff4e0; border-left: 4px solid var(--accent); padding: 10px 14px; margin: 0 0 18px; }
.form { text-align: left; max-width: 560px; margin: 0 auto; }
.f label { display: block; font-weight: 600; margin-top: 12px; }
.f input, .f textarea, .f select { width: 100%; font: inherit; padding: 8px; border: 1px solid #bbb; border-radius: 8px; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.ticks { margin: 14px 0; padding: 12px 14px; background: var(--strip); border-radius: 12px; }
.ticks label.check { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0; cursor: pointer; }
.ticks input[type=checkbox] { width: 20px; height: 20px; flex: none; accent-color: var(--accent); }
.msg { min-height: 1.4em; font-weight: 600; } .msg.err { color: #b3261e; }
.hint { color: var(--muted); font-size: .9rem; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.form [hidden], [data-normal][hidden], [data-parent][hidden], [data-code][hidden], [data-thanks][hidden] { display: none !important; }
.tick { width: 64px; fill: none; stroke: var(--accent); stroke-width: 5; }
@media (max-width: 700px) {
  .js .burger { display: block; } .js nav { display: none; } .js nav.open { display: block; }
  nav > ul { flex-direction: column; align-items: center; text-align: center; }
  .group > ul { display: block; position: static; box-shadow: none; background: none; font-size: .95rem; }
  .card { padding: 0 14px 20px; } .card > h1 { margin: 0 -14px 18px; } .card > .hero { margin: 0 -14px 16px; width: calc(100% + 28px); }
}
