/* Site theme (§6): linen ground, deep olive accent, ochre labels; Cormorant Garamond display over
   Source Sans body at 18px for older guests (NFR-8). Beheer overrides what it needs in its layout. */
:root {
  --bg: #f6f1e8;
  --surface: #fffdfa;
  --fg: #231f1a;
  --muted: #5e574e;
  --accent: #3b4f3c;
  --accent-ink: #f6f1e8; /* text on the accent */
  --accent-soft: #eef1ec; /* selected radio pill */
  --accent-tint: #e4d9c6; /* photo placeholders, labels on accent */
  --gold: #8c6a1f;
  --line: #d9d0c2;
  --line-strong: #c9bfae;
  --error-bg: #f7e6e1;
  --error: #7a2e22;
  --ok: #2d6a2d;
  --radius: 6px;
  --radius-lg: 8px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 18px; /* readable for older guests (NFR-8) */
  line-height: 1.5;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0 0 0.5rem;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  line-height: 1.05;
}
h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}
h3 {
  font-size: 1.75rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--accent);
}
a:hover {
  color: #26352a;
}

input,
button,
select,
textarea {
  font: inherit;
  color: inherit;
}

input[type="text"],
input[type="tel"],
input[type="url"],
input[type="email"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #b8a77a;
  outline-offset: 2px;
}

button {
  min-height: 48px;
  padding: 0.6rem 1.5rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  cursor: pointer;
}

.muted {
  color: var(--muted);
}

/* Shared guest-page pieces (from the design canvas) */
.eyebrow {
  display: block;
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.page-head {
  max-width: 680px;
}
.page-head .lede {
  color: var(--muted);
  margin: 0;
}
.display {
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.display .amp {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.date-line {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 1.2;
  margin: 0;
}

.btn,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn {
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
}
.btn:hover {
  color: var(--accent-ink);
  background: #26352a;
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.card > p,
.card > h2,
.card > h3 {
  margin: 0;
}
.card.accent {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.card.accent .label,
.card.accent .muted {
  color: var(--accent-tint);
}
.card.accent a {
  color: var(--accent-ink);
}
.card.outline {
  border: 1.5px solid var(--accent);
}
.card.dashed {
  border: 1px dashed var(--line-strong);
}
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.card-grid > * {
  flex: 1 1 280px;
  min-width: 0;
}

.details-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}
.details-strip > div {
  flex: 1 1 200px;
  min-width: 0;
  padding-top: 1.25rem;
  border-top: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.details-strip .value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 0;
}
.details-strip .sub {
  margin: 0;
  color: var(--muted);
}

/* Photo frame: an arch (the hero and save-the-date picture) or a plain rectangle. */
.photo {
  position: relative;
  overflow: hidden;
  background: var(--accent-tint);
  border-radius: var(--radius);
}
.photo.arch {
  border-radius: 999px 999px var(--radius) var(--radius);
  aspect-ratio: 4 / 5;
}
.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo .monogram {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: 0.12em;
  color: var(--accent);
  opacity: 0.55;
}

/* Staff-edited Markdown blocks */
.content > :first-child {
  margin-top: 0;
}
.content > :last-child {
  margin-bottom: 0;
}
.content h2,
.content h3 {
  margin-top: 1.5rem;
}
.content ul,
.content ol {
  padding-left: 1.25rem;
}
.content li {
  margin-bottom: 0.25rem;
}
.content h1,
.content h4 {
  margin-top: 1.5rem;
}
.content h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.content input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0 0.4rem 0 0;
  vertical-align: -0.15rem;
  accent-color: var(--accent);
}
.content li:has(> input[type="checkbox"]),
.content li:has(> p > input[type="checkbox"]) {
  list-style: none;
  margin-left: -1.25rem;
}
.content blockquote {
  margin: 0 0 1rem;
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 3px solid var(--line-strong);
  color: var(--muted);
}
.content code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--accent-soft);
}
.content pre {
  padding: 0.75rem 1rem;
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--accent-soft);
}
.content pre code {
  padding: 0;
  background: none;
}
.content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.5rem 0;
}
.content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.content .table-wrap {
  overflow-x: auto;
  margin: 0 0 1rem;
  -webkit-overflow-scrolling: touch;
}
.content table {
  border-collapse: collapse;
  min-width: 100%;
  font-size: 0.95em;
}
.content th,
.content td {
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}
.content th {
  background: var(--accent-soft);
  font-weight: 600;
}
.content del {
  color: var(--muted);
}

.alert {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  background: var(--error-bg);
  color: var(--error);
  font-size: 1rem;
}
.notice {
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
}
.notice p {
  margin: 0;
}
