:root {
  --black: #08090a;
  --charcoal: #111214;
  --charcoal-2: #18191a;
  --cream: #f4eee5;
  --cream-2: #ebe3d8;
  --stone: #d7d5d1;
  --stone-2: #c8c7c4;
  --ink: #201c1a;
  --muted: #5e5a56;
  --pink: #d05a76;
  --pink-dark: #b93f5d;
  --line: #8d8b87;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --script: "Brush Script MT", "Segoe Script", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #d9d8d4;
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.45;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: white;
  padding: .75rem 1rem;
  color: #111;
}
.skip-link:focus { top: 1rem; }

.site-header {
  background: linear-gradient(180deg, #0d0e0f, #070809);
  color: #fff;
  border-bottom: 1px solid #252628;
}
.header-inner {
  min-height: 104px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 58px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  letter-spacing: .05em;
}
.brand-family {
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.08;
  white-space: nowrap;
  padding-top: 2px;
}
.brand-year {
  margin-top: 8px;
  color: var(--pink);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: .95rem;
  letter-spacing: .16em;
}
.brand-year span { width: 74px; height: 1px; background: var(--pink); display: inline-block; }
.header-nav { display: flex; align-items: center; gap: 28px; font-family: var(--sans); font-size: .8rem; letter-spacing: .06em; }
.header-nav > a { text-decoration: none; }
.header-nav > a:not(.button):hover { color: var(--pink); }

.button, .submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: linear-gradient(90deg, #c84c6a, #d5657e);
  color: white;
  text-decoration: none;
  font-family: var(--sans);
  letter-spacing: .08em;
  cursor: pointer;
  box-shadow: inset 0 1px rgba(255,255,255,.18);
  transition: transform .18s ease, filter .18s ease;
}
.button:hover, .submit-button:hover { filter: brightness(1.04); transform: translateY(-1px); }
.button:focus-visible, .submit-button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 3px solid rgba(208,90,118,.5);
  outline-offset: 3px;
}
.button { min-width: 270px; padding: 14px 24px; }
.button-small { min-width: 194px; padding: 13px 20px; }

.hero { background: #111; }
.hero img { width: 100%; height: auto; }

.legacy {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.025) 0 1px, transparent 1.5px) 0 0/8px 8px,
    linear-gradient(180deg, #0c0d0e, #060708);
  color: #f9f8f5;
  text-align: center;
  border-top: 1px solid #3b3b3b;
  border-bottom: 1px solid #525252;
}
.legacy-inner { max-width: 1180px; margin: 0 auto; padding: 28px 24px 32px; }
.legacy h2 { margin: 0; font-size: clamp(2.15rem, 3.8vw, 2.85rem); font-weight: 400; letter-spacing: .01em; white-space: nowrap; }
.legacy h2 em { color: var(--pink); font-style: italic; }
.heart-rule { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 6px 0 8px; }
.heart-rule span { width: 150px; height: 1px; background: var(--pink); opacity: .8; }
.heart-rule b { color: var(--pink); font-family: var(--sans); font-size: 1.2rem; }
.legacy p { margin: 0 auto 18px; max-width: 710px; font-size: 1rem; color: #f3f0ec; }

.details-section {
  padding: 18px 40px 10px;
  background: #d9d8d4;
  border: 0;
}
.details-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr 2fr 1fr; gap: 14px; }
.detail-card {
  min-height: 160px;
  border: 1px solid #85827d;
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(247,242,235,.94));
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.32), 0 2px 7px rgba(0,0,0,.12);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
}
.detail-icon { width: 50px; height: 50px; border: 1.5px solid var(--pink); border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; color: var(--pink); }
.detail-icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.detail-label { margin: 0; font-size: .9rem; letter-spacing: .04em; }
.detail-value { margin: 3px 0 0; color: var(--pink); font-size: 2.05rem; line-height: 1.15; }
.detail-value-small { font-size: 1.4rem; }

.family-list-section {
  padding: 0 40px 16px;
  background: #d9d8d4;
  border: 0;
}
.family-list-shell {
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid #7f7c77;
  border-radius: 7px;
  background: rgba(245,242,237,.42);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.20), 0 3px 10px rgba(0,0,0,.12);
  display: grid;
  grid-template-columns: minmax(355px, 40%) 1fr;
  overflow: hidden;
}
.family-list-intro { min-height: 398px; background: var(--cream); border-right: 1px solid #8b8884; }
.family-list-intro img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.form-wrap { padding: 20px 24px 18px; background: linear-gradient(180deg, rgba(235,233,229,.92), rgba(225,224,220,.95)); }
.family-form { margin: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 22px; }
.field label { display: block; margin-bottom: 4px; font-size: .78rem; color: #2b2927; }
.field label span { color: var(--pink-dark); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #c2bfbb;
  background: rgba(255,255,255,.72);
  color: #24211f;
  border-radius: 2px;
  padding: 9px 10px;
  font-family: var(--sans);
  font-size: .78rem;
  min-height: 38px;
}
.field textarea { resize: vertical; min-height: 70px; }
.consent-row { display: flex; gap: 9px; align-items: flex-start; margin: 12px 0 12px; font-size: .78rem; cursor: pointer; }
.consent-row input { margin: 2px 0 0; width: 17px; height: 17px; accent-color: var(--pink); }
.submit-button { width: 74%; min-height: 42px; margin: 0 auto; gap: 14px; display: flex; font-size: .9rem; }
.form-status { margin: 10px 0 0; text-align: center; font-family: var(--sans); font-size: .78rem; line-height: 1.4; }
.form-status:empty { display: none; }
.form-status.success { color: #2b683b; }
.form-status.warning { color: #8a5a16; font-weight: 600; }
.form-status.error { color: #8d253c; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.site-footer {
  background: linear-gradient(180deg, #0d0e0f, #070809);
  color: #f7f4ee;
  border-top: 1px solid #5b5b5b;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 120px;
  padding: 16px 48px;
  display: grid;
  grid-template-columns: 1.8fr 1fr .55fr;
  gap: 28px;
  align-items: center;
}
.footer-family { display: flex; align-items: center; gap: 22px; }
.footer-family img { width: 88px; height: 88px; object-fit: cover; border-radius: 50%; mix-blend-mode: screen; }
.footer-family p, .footer-contact p { margin: 3px 0; }
.footer-script { color: var(--pink); font-family: var(--script); font-size: 2.15rem; line-height: 1; }
.footer-contact { border-left: 1px solid rgba(208,90,118,.5); padding-left: 28px; font-size: .86rem; }
.footer-heading { color: var(--pink); font-family: var(--sans); letter-spacing: .06em; font-weight: 700; }
.footer-contact a { display: inline-block; margin-top: 8px; color: var(--pink); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-year { color: rgba(255,255,255,.30); font-size: 5.1rem; line-height: 1; text-align: right; letter-spacing: .04em; text-shadow: 0 0 1px rgba(255,255,255,.06); }

@media (max-width: 900px) {
  .header-inner { padding: 16px 28px 18px; }
  .header-nav > a:not(.button) { display: none; }
  .brand-year span { width: 34px; }
  .details-grid { grid-template-columns: 1fr 1fr; }
  .family-list-shell { grid-template-columns: 1fr; }
  .family-list-intro { min-height: 0; border-right: 0; border-bottom: 1px solid #8b8884; display: flex; justify-content: center; }
  .family-list-intro img { width: min(100%, 520px); height: auto; object-fit: contain; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .submit-button { width: 100%; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-year { display: none; }
}

@media (max-width: 680px) {
  .header-inner { min-height: auto; padding: 14px 18px 16px; flex-direction: column; align-items: stretch; gap: 10px; }
  .brand { align-items: center; text-align: center; }
  .brand-family { font-size: 1.4rem; white-space: normal; }
  .brand-year { font-size: .72rem; justify-content: center; }
  .header-nav { justify-content: center; }
  .button-small { min-width: 210px; }
  .hero img { min-height: 0; height: auto; object-fit: contain; }
  .legacy-inner { padding: 24px 18px 28px; }
  .legacy h2 { font-size: 2.05rem; line-height: 1.1; white-space: normal; }
  .legacy p { font-size: .95rem; }
  .desktop-break { display: none; }
  .button { min-width: 235px; min-height: 46px; }
  .details-section, .family-list-section { padding-left: 12px; padding-right: 12px; background: #d9d8d4; }
  .details-section { padding-top: 14px; padding-bottom: 10px; }
  .family-list-section { padding-top: 0; padding-bottom: 12px; }
  .details-grid { grid-template-columns: 1fr; }
  .detail-card { min-height: 130px; }
  .form-grid { grid-template-columns: 1fr; }
  .family-list-shell { display: block; }
  .family-list-intro { min-height: 0; border-right: 0; border-bottom: 1px solid #8b8884; }
  .family-list-intro img { width: 100%; max-width: 520px; height: auto; }
  .form-wrap { padding: 18px 14px; }
  .footer-inner { grid-template-columns: 1fr; padding: 22px 18px; text-align: center; }
  .footer-family { justify-content: center; }
  .footer-contact { border-left: 0; border-top: 1px solid rgba(208,90,118,.5); padding: 16px 0 0; }
}

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