/* Site-wide tokens, type, header, footer, buttons and fields. */

:root {
  --blush: #fdf2f5;
  --paper: #ffffff;
  --plum: #6e1443;
  --plum-deep: #4f0d30;
  --rose: #9e2d69;
  --ink: #211b1c;
  --slate: #6d5a62;
  --rule: #f0dfe6;
  --wax: #9e1f4f;
  --gold-chip: linear-gradient(135deg, #f4d7ad, #dfb08e);
  --plum-fill: linear-gradient(155deg, #9e2d69, #6e1443);
  --shadow-card: 0 6px 22px -10px rgb(110 20 67 / 0.28), 0 1px 3px rgb(110 20 67 / 0.08);
  --font-display: "Playfair Display", Georgia, serif;
  --font-text: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-caps: "Cinzel", Georgia, serif;
  --font-script: "Great Vibes", cursive;
  --radius-control: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; /* clears the sticky header */ }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
/* An icon pointing at a shared drawing has no size of its own, so it must not be squeezed by the rule above. */
.icon { flex: none; max-width: none; }
a { color: var(--plum); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--plum);
  text-wrap: balance;
}
p { margin: 0 0 1em; }

.wrap { width: min(1400px, 100% - 2rem); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 30; padding: 0.6rem 1rem; background: var(--paper); }
.skip:focus { top: 1rem; }

/* Header: a soft pink wash across the full width */
.site-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 64px; padding-block: 0.55rem; }
.site-head::before {
  content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1;
  background: linear-gradient(110deg, rgb(252 209 207 / 0.57), rgb(204 117 155 / 0.14) 36%, rgb(255 255 255 / 0.12) 60%, rgb(240 200 170 / 0.3)), rgb(255 255 255 / 0.88);
  border-bottom: 1px solid rgb(110 20 67 / 0.08);
  backdrop-filter: blur(10px);
}
.site-head--sticky { position: sticky; top: 0; z-index: 20; }
.wordmark {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--plum); text-decoration: none; white-space: nowrap;
}
.wordmark svg { flex: none; width: 13px; color: var(--rose); }
.wordmark-text { display: grid; justify-items: center; line-height: 1; }
.wordmark-caps { font-family: var(--font-caps); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.32em; padding-left: 0.32em; }
.wordmark-script { margin-top: 0.12em; font-family: var(--font-script); font-size: 1.75rem; }
.site-nav { display: flex; align-items: center; gap: 0.5rem; }
.site-nav a:not(.btn) { padding: 0.55rem 1rem; border-radius: 999px; color: var(--ink); font-size: 0.95rem; text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--plum); background: rgb(255 255 255 / 0.7); }

/* Buttons: pills, the main one filled with the plum gradient */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 46px; padding: 0.6em 1.4em;
  border: 1px solid transparent; border-radius: var(--radius-control);
  font-family: var(--font-text); font-size: 0.95rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, filter 0.15s;
}
.btn svg { flex: none; width: 1em; height: 1em; }
.btn-primary { background: var(--plum-fill); color: #fff; box-shadow: 0 8px 18px -10px rgb(110 20 67 / 0.7); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-quiet { background: #fff; color: var(--plum); border-color: rgb(110 20 67 / 0.3); }
.btn-quiet:hover { border-color: var(--plum); background: var(--blush); }
.btn[hidden] { display: none; }
.link-button { padding: 0; font: inherit; color: var(--plum); background: none; border: 0; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.link-button[hidden] { display: none; }

/* Fields */
.field { display: grid; gap: 0.3rem; }
.field label, .field .label { font-weight: 600; font-size: 0.95rem; }
.hint { margin: 0; color: var(--slate); font-size: 0.88rem; line-height: 1.45; }
input, textarea, select {
  width: 100%; min-height: 48px; padding: 0.65em 0.9em;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid #e2c6d3; border-radius: 10px;
}
textarea { min-height: 6.5em; resize: vertical; line-height: 1.5; }
input:focus-visible, textarea:focus-visible { border-color: var(--plum); outline-offset: 1px; }

/* Footer: a plum band with link columns */
.site-foot { margin-top: 5rem; padding-block: 3.5rem 1.5rem; color: #fdf2ed; background: var(--plum); }
.site-foot a { color: #fdf2ed; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-title { margin: 0 0 2.5rem; font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 500; line-height: 1.1; text-align: center; color: #fff; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.foot-cols h2 { margin-bottom: 1rem; font-size: 1.3rem; font-weight: 500; color: #fff; }
.foot-cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; font-size: 0.88rem; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgb(253 242 237 / 0.2); font-size: 0.78rem; }
.foot-base p { margin: 0; }

@media (max-width: 860px) {
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .site-nav a:not(.btn) { display: none; }
  .wordmark-script { font-size: 1.55rem; }
}

@media (max-width: 420px) {
  .site-head { gap: 0.75rem; }
  .wordmark { gap: 0.45rem; }
  .wordmark-caps { font-size: 0.66rem; letter-spacing: 0.26em; }
  .wordmark-script { font-size: 1.45rem; }
  .site-nav .btn { min-height: 40px; padding: 0.45em 0.9em; font-size: 0.8rem; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
}
