/* Anelli plain-web pages: the public directory and guest RSVP pages.
   Fonts are self-hosted; nothing on these pages loads from another origin. */
@font-face { font-family: "DM Serif Display"; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --rose: #8E2A47; --raspberry: #B4475F; --gold: #C08F2E; --blush: #D9A3B2;
  --ink: #1E2226; --muted: #5C6166; --surface: #FFFFFF; --surface-soft: #F3F1F0; --line: #E2DEDC;
  --on-rose: #FFFFFF;
  --display: "DM Serif Display", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --rose: #D9758F; --raspberry: #E08AA0; --gold: #D9A94A; --blush: #7A3E50;
    --ink: #F2EFEE; --muted: #A9AEB2; --surface: #17191B; --surface-soft: #222528; --line: #33373B;
    --on-rose: #17191B;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 16px/24px var(--sans); }
a { color: var(--rose); }
/* Header: the lockup on the left at 32px mark height, navigation on the
   right, surface background with a line border below (brand book). */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px max(16px, calc((100% - 1088px) / 2)); border-bottom: 1px solid var(--line); }
.lockup { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.wordmark { font: 400 28px/1 var(--display); letter-spacing: 0; }
.site-header nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.site-header nav a:hover { color: var(--rose); }

/* The mark's tiles keep their light-theme colours on every ground; the
   grout is the stroke, redrawn in the background colour. */
.tile { stroke: var(--surface); stroke-width: 1.6; stroke-linejoin: round; }
.tile-rose { fill: #8E2A47; } .tile-gold { fill: #C08F2E; } .tile-blush { fill: #D9A3B2; }
.tile-raspberry { fill: #B4475F; } .tile-gold-light { fill: #D9B25A; } .tile-centre { fill: #C08F2E; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 16px; border-radius: 4px; z-index: 10; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

main { max-width: 720px; margin: 0 auto; padding: 32px 16px; }
h1 { font: 400 32px/38px var(--display); margin: 0 0 16px; }
h2 { font: 600 20px/26px var(--sans); margin: 32px 0 8px; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 20px; }
.card { background: var(--surface-soft); border-radius: 8px; padding: 16px; margin: 0 0 16px; }
.card h2 { margin-top: 0; }
.badge { display: inline-block; font: 600 12px/16px var(--sans); color: var(--ink);
  border: 1px solid var(--gold); border-radius: 4px; padding: 2px 8px; }
form.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
label { display: block; font: 600 12px/16px var(--sans); margin: 16px 0 4px; }
input, select { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  border-radius: 4px; padding: 8px; min-height: 44px; }
input[type=text], input[type=date], input[type=number] { width: 100%; }
.check { display: flex; align-items: center; gap: 8px; font: 400 16px/24px var(--sans); }
.check input { min-height: auto; width: 20px; height: 20px; }
button, .button { font: 600 16px/24px var(--sans); background: var(--rose); color: var(--on-rose); border: 0;
  border-radius: 8px; padding: 10px 16px; min-height: 44px; cursor: pointer; text-decoration: none; display: inline-block; }
button:hover, .button:hover { background: var(--raspberry); }
.notice { border-left: 4px solid var(--gold); padding: 8px 16px; background: var(--surface-soft); border-radius: 4px; }
footer.site-footer { border-top: 1px solid var(--line); }
.site-footer { color: var(--muted); font-size: 14px; line-height: 20px; }
.site-footer p { margin: 0; padding: 0 max(16px, calc((100% - 1088px) / 2)); }
.site-footer p:first-child { padding-top: 32px; }
.site-footer p:last-child { padding-bottom: 32px; }
.num { font-variant-numeric: tabular-nums; }
