:root {
  --paper: #f4ead8;
  --paper-deep: #eadcc4;
  --ink: #241f1a;
  --ink-soft: #4a433c;
  --muted: #7a7268;
  --forest: #2c3a2f;
  --forest-deep: #1e2921;
  --rust: #a45a38;
  --rust-deep: #7e3f26;
  --cream: #fbf6ec;
  --rule: #d7cbb6;
  --shadow: 0 18px 50px rgba(36, 31, 26, 0.08);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(164, 90, 56, 0.08), transparent 55%),
    radial-gradient(900px 400px at 110% 0%, rgba(44, 58, 47, 0.09), transparent 50%),
    var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

a {
  color: var(--rust-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--forest);
}

.wrap {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  padding: 1.4rem 0 0;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.mark {
  display: grid;
  place-items: center;
  min-width: 7.4rem;
  height: 2.7rem;
  padding: 0 0.9rem;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.16em;
}

.brand-meta {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--forest);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

nav a[aria-current="page"] {
  color: var(--rust);
  text-decoration: underline;
}

.diamond-rule {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.15rem 0 0.85rem;
  color: var(--rust);
}

.diamond-rule::before,
.diamond-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rust);
  opacity: 0.7;
}

.diamond-rule span {
  font-size: 0.7rem;
}

.tagline {
  margin: 0;
  text-align: center;
  color: var(--rust);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
}

.hero {
  padding: 2.4rem 0 1rem;
}

h1,
h2,
.lede {
  font-family: var(--serif);
  font-optical-sizing: auto;
}

h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.05;
  font-weight: 560;
  color: var(--forest);
}

h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  color: var(--forest);
  font-weight: 560;
}

.lede {
  font-size: 1.22rem;
  color: var(--ink-soft);
}

.panel {
  background: var(--cream);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.5rem 1.3rem;
  margin: 1.3rem 0;
}

.panel.accent {
  border-left: 6px solid var(--rust);
  background: #f7efe1;
}

.offer-list,
.plain-list {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}

.offer-list li + li,
.plain-list li + li {
  margin-top: 0.45rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  margin: 1.2rem 0 0;
}

.fact {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 0.95rem 1rem;
}

.fact strong {
  display: block;
  font-family: var(--serif);
  color: var(--forest);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 0.6rem;
  border: 1px solid var(--rule);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: var(--cream);
}

th,
td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  vertical-align: top;
}

th {
  background: var(--forest);
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

tbody tr:nth-child(even) {
  background: #f3e7d1;
}

.party {
  color: var(--rust);
  font-family: var(--serif);
  font-weight: 600;
}

.note {
  color: var(--ink-soft);
  font-style: italic;
}

.cta-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.15rem;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--forest-deep);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}

.site-footer {
  margin-top: 3rem;
  padding: 1.3rem 0 2.2rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

form {
  display: grid;
  gap: 1rem;
}

fieldset {
  border: 1px solid var(--rule);
  background: var(--cream);
  padding: 1rem;
}

legend {
  font-family: var(--serif);
  color: var(--forest);
  padding: 0 0.4rem;
  font-weight: 600;
}

label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

input,
select,
textarea {
  font: inherit;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid #cfc3ae;
  padding: 0.55rem 0.65rem;
  width: 100%;
}

textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.child-card {
  border: 1px dashed #c8b79a;
  padding: 0.9rem;
  margin-top: 0.8rem;
  background: #fffaf1;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.check input {
  width: auto;
  margin-top: 0.3rem;
}

.form-status {
  min-height: 1.4rem;
  color: var(--rust-deep);
  font-weight: 600;
}

.form-status.ok {
  color: var(--forest);
}

.kids-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.7rem;
}

button {
  font: inherit;
  cursor: pointer;
  background: var(--rust);
  color: white;
  border: 0;
  padding: 0.72rem 1.15rem;
  font-weight: 600;
}

button.secondary {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--forest);
}

.admin-table td {
  font-size: 0.92rem;
}

pre.payload {
  white-space: pre-wrap;
  font-size: 0.82rem;
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

@media (max-width: 640px) {
  .mark {
    min-width: auto;
    letter-spacing: 0.12em;
  }

  nav {
    width: 100%;
  }
}
