@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Cinzel+Decorative:wght@700&family=Fleur+De+Leah&family=Merienda:wght@400;600;700&family=Quicksand:wght@400;500;600;700&display=swap");
/* FIRM typography hierarchy v1 */
:root {
  color-scheme: light;
  --ink: #26332e;
  --inkMuted: #5b6258;
  --paper: #f6f0e3;
  --gold: #9b753c;
  --line: #cbbd9f;
  --focus: #815724;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Quicksand", Arial, Helvetica, sans-serif;
  background:
    radial-gradient(ellipse at 16% 12%, #48534a 0, transparent 43%),
    radial-gradient(ellipse at 87% 78%, #3b453c 0, transparent 42%),
    #252c28;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.pageShell {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(16px, 4vw, 46px) 16px;
}
.invitation {
  position: relative;
  isolation: isolate;
  width: min(100%, 740px);
  padding: clamp(28px, 5vw, 62px) clamp(23px, 6.5vw, 75px) 27px;
  border: 1px solid #dbcdaf;
  outline: 1px solid #574f3f;
  outline-offset: 6px;
  background:
    radial-gradient(ellipse at 5% 7%, rgba(181, 141, 78, .13), transparent 50%),
    radial-gradient(ellipse at 95% 90%, rgba(143, 108, 54, .1), transparent 47%),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(114, 91, 58, .008) 3px 4px),
    var(--paper);
  box-shadow: 0 22px 60px rgba(5, 9, 7, .32);
}
.invitation::before, .invitation::after {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: #a68956;
  content: "";
  pointer-events: none;
}
.invitation::before { top: 17px; left: 17px; border-top: 1px solid; border-left: 1px solid; }
.invitation::after { right: 17px; bottom: 17px; border-right: 1px solid; border-bottom: 1px solid; }
.identity { text-align: center; }
.identityName {
  text-decoration: none;
  font-family: "Cinzel Decorative", Georgia, serif;
  font-size: clamp(19px, 3.7vw, 28px);
  font-weight: 700;
  font-variant: small-caps;
  letter-spacing: .035em;
  text-wrap: balance;
}
.identityName:hover { text-decoration: underline; text-underline-offset: 4px; }
.identityMotto {
  margin: 6px 0 0;
  color: #655d4e;
  font-size: 12px;
  font-style: italic;
  letter-spacing: .055em;
}
.ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px auto 21px;
  max-width: 320px;
  color: var(--gold);
  font-size: 18px;
}
.ornament::before, .ornament::after {
  flex: 1;
  border-top: 1px solid var(--line);
  content: "";
}
.eyebrow {
  margin: 0;
  color: #6e5c3e;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .19em;
  line-height: 1.6;
  text-align: center;
}
h1 {
  margin: 13px auto 17px;
  max-width: 610px;
  font-family: "Fleur De Leah", "Brush Script MT", Georgia, serif;
  font-size: clamp(50px, 8.2vw, 74px);
  font-weight: 400;
  letter-spacing: -.042em;
  line-height: 1.09;
  text-align: center;
  text-wrap: balance;
}
.introduction, .invitationDetails {
  max-width: 550px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
.introduction {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: clamp(16px, 2.7vw, 18px);
  line-height: 1.55;
}
.invitationDetails {
  margin-top: 0;
  margin-bottom: 29px;
  color: var(--inkMuted);
  font-size: 14px;
  line-height: 1.65;
}
.invitationDetails strong { color: var(--ink); }
.formNote {
  margin: 13px 0 0;
  color: #626153;
  font: 12px/1.65 Arial, Helvetica, sans-serif;
  text-align: center;
}
.formNote a { text-underline-offset: 2px; }
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: #726a59;
  font: 11px Arial, Helvetica, sans-serif;
  letter-spacing: .1em;
}
.footer a { letter-spacing: .02em; text-underline-offset: 3px; }
/* Thank-you and privacy pages use the same restrained site shell. */
.subpage h1 { font-family: "Fleur De Leah", "Brush Script MT", Georgia, serif; font-size: clamp(48px, 8vw, 68px); }
.subpage .introduction { margin-bottom: 25px; }
.subpageBody { max-width: 530px; margin: 0 auto; font-size: 15px; line-height: 1.7; }
.subpageBody p { margin: 0 0 16px; }
.subpageBody h2 { margin: 25px 0 9px; font-family: "Merienda", Georgia, serif; font-size: 20px; font-weight: 600; }
.subpageBody a { text-underline-offset: 3px; }
.textLink {
  display: inline-block;
  margin: 8px 0 4px;
  color: #244934;
  font: 700 13px "Quicksand", Arial, sans-serif;
  text-underline-offset: 4px;
}
@media (max-width: 540px) {
  .pageShell { padding: 16px 12px; }
  .invitation { outline-offset: 3px; padding: 37px 22px 19px; }
  .identityMotto { font-size: 11px; }
  .ornament { margin: 22px auto 20px; }
  .eyebrow { font-size: 9px; letter-spacing: .13em; }
  .invitationDetails { margin-bottom: 22px; }
  .footer { margin-top: 24px; font-size: 9px; }
}

.returnLink { text-align: center; }

/* FIRM site refinement v2: controls and reading comfort only. */
.signupEmbed :is(input, select, textarea) {
  max-width: 100%;
  color: var(--ink);
  font: 16px/1.4 Georgia, "Times New Roman", serif;
}
.signupEmbed :is(input, select, textarea):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.signupEmbed .sib-form-block__button {
  min-height: 44px;
  color: var(--paper);
  background-color: var(--ink);
  border-color: var(--ink);
  border-radius: 3px;
  font: 700 14px/1.35 Arial, Helvetica, sans-serif;
  letter-spacing: .025em;
  cursor: pointer;
}
.signupEmbed .sib-form-block__button:hover { background-color: #244934; }
.signupEmbed .sib-form-block__button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.signupEmbed :is(.entry__label, .entry__specification) { color: var(--ink); }
.confirmationContent .confirmationBody { text-align: center; }
.confirmationContent .confirmationBody p { font-size: clamp(16px, 2.5vw, 18px); }
@media (max-width: 540px) {
  .signupEmbed .sib-form-block__button { width: 100%; }
  .footer { font-size: 10px; }
}

/* Existing selector ownership retained; typographic roles only. */
.identityMotto { font-family: "Cinzel", Georgia, serif; font-weight: 400; }
.eyebrow { font-family: "Cinzel Decorative", Georgia, serif; font-weight: 700; }
.ornament { font-family: "Cinzel", Georgia, serif; }
.introduction, .invitationDetails, .subpageBody { font-family: "Quicksand", Arial, Helvetica, sans-serif; font-weight: 500; }
.formNote, .footer { font-family: "Cinzel", Georgia, serif; }
.signupEmbed :is(input,select,textarea,button,.entry__label,.entry__specification) { font-family: "Quicksand", Arial, Helvetica, sans-serif; }
@media (max-width:540px) { h1 { line-height: 1.18; } }
