:root {
  color-scheme: light;
  --cream: #faf5eb;
  --paper: #fdf9f1;
  --paper-deep: #f1e7d5;
  --ink: #172433;
  --navy: #0d2a47;
  --navy-soft: #183b5a;
  --sepia: #8a5834;
  --sepia-light: #b98b59;
  --muted: #5f625d;
  --rule: #cdbb9c;
  --rule-dark: #a98d68;
  --success: #245b43;
  --danger: #8b2f2a;
  --focus: #c57a24;
  --shadow: 0 24px 70px rgb(47 37 24 / 12%);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, .button { min-height: 48px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-160%); padding: 10px 14px; color: #fff; background: var(--navy); border-radius: 4px; }
.skip-link:focus { transform: none; }

.public-header, .request-header {
  position: relative;
  min-height: 88px; max-width: 1536px; margin: 0 auto; padding: 18px clamp(28px, 3.7vw, 58px);
  display: grid; grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr); align-items: center; gap: 30px;
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 78%, transparent);
}
.public-brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: var(--navy); font-family: var(--serif); font-size: clamp(28px, 2.65vw, 42px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; text-decoration: none; }
.public-header .desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 50px); }
.public-header .desktop-nav a, .header-sign-in { color: var(--navy); font-size: clamp(16px, 1.25vw, 20px); font-weight: 500; text-decoration: none; }
.public-header .desktop-nav a { position: relative; }
.public-header .desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: -5px; left: 0; height: 1px; background: var(--sepia-light); transform: scaleX(0); transition: transform 160ms ease; }
.public-header .desktop-nav a:hover::after, .public-header .desktop-nav a:focus-visible::after, .public-header .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
.mobile-nav { display: none; position: relative; justify-self: end; }
.mobile-nav summary { min-height: 44px; padding: 8px 10px; display: flex; align-items: center; gap: 7px; color: var(--navy); border: 1px solid var(--rule-dark); border-radius: 4px; background: var(--paper); font-size: 13px; font-weight: 750; list-style: none; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::before { content: "☰"; font-size: 18px; line-height: 1; }
.mobile-nav[open] summary::before { content: "×"; }
.mobile-nav nav { position: absolute; z-index: 30; top: calc(100% + 10px); right: 0; width: 220px; padding: 8px; display: grid; gap: 2px; border: 1px solid var(--rule-dark); border-radius: 6px; background: var(--paper); box-shadow: var(--shadow); }
.mobile-nav nav a { min-height: 44px; padding: 9px 12px; display: flex; align-items: center; color: var(--navy); border-radius: 3px; font-size: 15px; font-weight: 650; text-decoration: none; }
.mobile-nav nav a:hover, .mobile-nav nav a:focus-visible, .mobile-nav nav a[aria-current="page"] { background: var(--paper-deep); }
.header-sign-in { justify-self: end; min-height: 44px; display: inline-flex; align-items: center; gap: 11px; padding: 0; }
.header-sign-in svg { width: 21px; height: 21px; color: var(--sepia); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.cover-hero { max-width: 1536px; min-height: min(790px, calc(100svh - 88px)); margin: 0 auto; padding: clamp(28px, 2.2vw, 40px) clamp(28px, 5.9vw, 92px) clamp(42px, 4vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 1.02fr); align-items: center; gap: clamp(36px, 4vw, 60px); }
.cover-copy h1 { max-width: 650px; margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(72px, 7.55vw, 116px); font-weight: 500; letter-spacing: -.058em; line-height: .92; text-wrap: balance; }
.heritage-divider { width: min(100%, 520px); margin: 30px 0 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; color: var(--sepia-light); }
.heritage-divider span { border-top: 1px solid currentColor; }
.heritage-divider i { font-family: var(--serif); font-size: 20px; font-style: normal; line-height: 1; }
.cover-lede { max-width: 620px; margin: 0; font-size: clamp(19px, 1.65vw, 25px); line-height: 1.52; }
.surname-line { max-width: 650px; margin: 26px 0 0; padding: 15px 0; color: var(--sepia); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: clamp(23px, 2.15vw, 34px); line-height: 1.35; white-space: nowrap; }
.surname-line span { margin: 0 .13em; color: var(--sepia-light); }
.cover-actions { display: flex; flex-wrap: nowrap; gap: 22px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 22px; border: 1px solid var(--navy); border-radius: 4px; font-family: var(--sans); font-size: 15px; font-weight: 750; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease; }
.cover-actions .button { min-height: 66px; padding: 14px 24px; font-size: clamp(15px, 1.25vw, 19px); font-weight: 500; }
.cover-actions .button svg { width: 25px; height: 25px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: var(--navy); box-shadow: inset 0 0 0 2px var(--cream), 0 0 0 1px var(--navy), 0 8px 18px rgb(13 42 71 / 14%); }
.button.primary:hover { background: var(--navy-soft); }
.button.secondary { color: var(--navy); background: transparent; }
.button.secondary:hover { background: rgb(255 255 255 / 42%); }
.protected-note { margin: 24px 0 0; display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 15px; }
.protected-note svg { width: 21px; height: 21px; color: var(--sepia); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cover-art { position: relative; width: min(100%, 680px); margin: 0 auto; }
.cover-art img { width: 100%; height: auto; object-fit: contain; mix-blend-mode: multiply; }

.family-lines { padding: 28px 20px clamp(76px, 7vw, 112px); color: var(--ink); background: var(--cream); }
.heritage-panel { max-width: 1494px; margin: 0 auto; padding: clamp(42px, 5vw, 76px) clamp(24px, 6vw, 90px) clamp(52px, 6vw, 88px); border: 1px solid var(--rule-dark); border-radius: 8px; background: rgb(253 249 241 / 32%); }
.family-lines .section-heading { max-width: 1320px; margin: 0 auto 30px; text-align: center; }
.section-heading h2, .privacy-band h2 { margin: 0; font-family: var(--serif); font-size: clamp(39px, 5vw, 72px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
.section-heading p { max-width: 780px; margin: 22px auto 0; font-size: 17px; }
.ornate-section-heading .heading-rule { display: block; margin-bottom: 26px; border-top: 1px solid var(--navy); }
.heading-ornament { width: min(100%, 710px); margin: 20px auto 0; display: flex; align-items: center; justify-content: center; gap: 0; color: var(--sepia-light); font-size: 22px; line-height: 1; }
.heading-ornament::before, .heading-ornament::after { content: ""; width: 44%; border-top: 1px solid currentColor; }
.heading-ornament::before { margin-right: 10px; }
.heading-ornament::after { margin-left: 10px; }
.family-lines-layout { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); align-items: center; gap: clamp(34px, 6vw, 86px); }
.branch-ornament { margin: 0; align-self: stretch; display: flex; align-items: center; }
.branch-ornament img { width: min(100%, 390px); margin: 0 auto; mix-blend-mode: multiply; }
.family-lines-copy { max-width: 760px; }
.family-name-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.family-name-list li { position: relative; padding: 14px 24px; color: var(--navy); font-family: var(--serif); font-size: clamp(42px, 4.25vw, 66px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; text-align: center; }
.family-name-list li:nth-child(1), .family-name-list li:nth-child(2) { border-bottom: 1px solid var(--rule-dark); }
.family-name-list li:nth-child(1)::after, .family-name-list li:nth-child(4)::after { content: ""; position: absolute; top: 14%; right: 0; height: 72%; border-right: 1px solid var(--rule-dark); }
.family-name-list li:nth-child(1)::before, .family-name-list li:nth-child(4)::before { content: ""; position: absolute; z-index: 1; top: 50%; right: 0; width: 7px; height: 7px; background: var(--sepia-light); box-shadow: 0 0 0 4px var(--cream); transform: translate(50%, -50%) rotate(45deg); }
.family-name-list li:nth-child(3) { grid-column: 1 / -1; width: 58%; margin: 0 auto; border-bottom: 1px solid var(--rule-dark); }
.family-name-list li:nth-child(3)::after { content: ""; position: absolute; z-index: 1; right: 50%; bottom: 0; width: 7px; height: 7px; background: var(--sepia-light); box-shadow: 0 0 0 4px var(--cream); transform: translate(50%, 50%) rotate(45deg); }
.family-lines-copy > p { max-width: 700px; margin: 30px auto 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.42; }

.access-section { padding: clamp(58px, 7vw, 96px) clamp(20px, 6vw, 92px) clamp(68px, 8vw, 110px); border-top: 1px solid var(--rule); background: var(--paper); }
.access-section > .section-heading { max-width: 1320px; margin: 0 auto 42px; text-align: center; }
.access-heading { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; }
.access-heading > span { border-top: 1px solid var(--rule-dark); }
.access-heading > span:first-child::before, .access-heading > span:last-child::after { content: "◆"; display: block; width: fit-content; margin-top: -7px; color: var(--sepia-light); font-size: 10px; }
.access-heading > span:last-child::after { margin-left: auto; }
.access-options { width: 100%; max-width: 1000px; min-width: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.access-options article { position: relative; width: 100%; min-width: 0; min-height: 370px; padding: clamp(28px, 4vw, 46px); display: grid; grid-template-rows: auto auto auto 1fr auto; justify-items: center; border: 1px solid var(--rule-dark); border-radius: 14px 14px 4px 14px; background: rgb(253 249 241 / 58%); text-align: center; }
.access-options article::before, .access-options article::after { content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none; }
.access-options article::before { top: -1px; left: -1px; border-top: 3px double var(--rule-dark); border-left: 3px double var(--rule-dark); }
.access-options article::after { right: -1px; bottom: -1px; border-right: 3px double var(--rule-dark); border-bottom: 3px double var(--rule-dark); }
.access-options h3 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(27px, 3vw, 39px); font-weight: 500; }
.card-ornament { width: 80%; margin: 15px 0 12px; display: flex; align-items: center; color: var(--sepia-light); font-size: 13px; line-height: 1; }
.card-ornament::before, .card-ornament::after { content: ""; flex: 1; border-top: 1px solid var(--rule); }
.card-ornament::before { margin-right: 8px; }
.card-ornament::after { margin-left: 8px; }
.price { margin: 2px 0 14px; color: var(--navy); font-family: var(--serif); font-size: clamp(48px, 6vw, 72px); line-height: 1; }
.access-description { max-width: 370px; margin: 0 0 22px; color: var(--ink); font-size: 16px; line-height: 1.42; }
.access-options .button { width: min(100%, 300px); }
.access-note { max-width: 720px; margin: 28px auto 0; color: var(--ink); font-family: var(--serif); font-size: clamp(17px, 1.8vw, 22px); line-height: 1.3; text-align: center; }
.access-terms-note { margin: 24px auto 0; text-align: center; }
.access-steps { max-width: 920px; margin: 32px auto 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: steps; }
.access-steps li { position: relative; display: grid; justify-items: center; gap: 12px; color: var(--navy); font-family: var(--serif); font-size: 19px; text-align: center; }
.access-steps li:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: calc(50% + 38px); width: calc(100% - 48px); border-top: 1px dashed var(--rule-dark); }
.access-steps span { z-index: 1; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--sepia-light); border-radius: 50%; background: var(--cream); font-size: 25px; }

.privacy-band { position: relative; width: min(calc(100% - 40px), 1200px); margin: -26px auto 26px; padding: clamp(26px, 4vw, 48px) clamp(28px, 6vw, 76px); display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 38px; border: 3px double var(--rule-dark); border-radius: 8px; background: var(--paper); }
.privacy-band::before, .privacy-band::after { content: "◆"; position: absolute; left: 50%; color: var(--sepia-light); background: var(--paper); padding: 0 8px; font-size: 12px; transform: translateX(-50%); }
.privacy-band::before { top: -11px; }
.privacy-band::after { bottom: -11px; }
.privacy-band > div:not(.privacy-crest) { max-width: 820px; }
.privacy-band h2 { font-size: clamp(25px, 3vw, 36px); }
.privacy-band p { max-width: 760px; margin: 10px 0 8px; color: var(--ink); font-size: 17px; }
.privacy-crest { display: grid; place-items: center; }
.privacy-crest svg { width: 110px; height: 126px; color: var(--sepia); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.text-link { color: var(--navy); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.public-footer { position: relative; padding: 34px clamp(20px, 5vw, 72px) 24px; display: grid; place-items: center; gap: 18px; color: #f7f1e5; background: #071f36; }
.public-footer::before { content: "❖"; position: absolute; top: -13px; left: 50%; padding: 0 10px; color: var(--sepia-light); background: #071f36; font-size: 22px; transform: translateX(-50%); }
.public-footer nav { width: min(100%, 1040px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.public-footer nav a { padding: 4px 18px; font-family: var(--serif); font-size: 17px; text-align: center; text-decoration-color: transparent; }
.public-footer nav a + a { border-left: 1px solid var(--sepia-light); }
.public-footer nav a:hover, .public-footer nav a[aria-current="page"] { text-decoration-color: currentColor; text-underline-offset: 5px; }
.public-footer .version-footer { margin: 4px 0 0; color: #d4cec4; font-size: 12px; text-align: center; }
.public-footer .version-footer a { color: #fff; }

.public-auth, .public-request { min-height: 100svh; background: var(--cream); }
.public-auth { padding: 20px; display: grid; place-items: center; }
.auth-card { width: min(100%, 520px); padding: clamp(30px, 6vw, 56px); border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); box-shadow: var(--shadow); text-align: center; }
.auth-home { display: block; margin: 0 0 24px; color: var(--muted); font-size: 13px; text-align: left; text-decoration: none; }
.tree-logo { color: var(--sepia); font-family: var(--serif); font-size: 48px; line-height: 1; }
.eyebrow { margin: 18px 0 4px; color: var(--sepia); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.auth-card h1, .request-heading h1 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(36px, 6vw, 52px); font-weight: 600; line-height: 1.1; }
.auth-intro { margin: 16px 0 22px; color: var(--muted); }
.language-switcher { width: fit-content; margin: 22px auto; display: inline-flex; border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
.language-switcher a { min-width: 46px; padding: 7px 12px; color: var(--navy); font-size: 13px; font-weight: 800; text-decoration: none; }
.language-switcher a[aria-current="page"] { color: #fff; background: var(--navy); }
.auth-form, .request-form { display: grid; gap: 20px; text-align: left; }
.auth-form label, .request-form label { display: grid; gap: 7px; color: var(--ink); font-size: 14px; font-weight: 700; }
.auth-form input, .request-form input, .request-form select, .request-form textarea { width: 100%; min-height: 48px; padding: 10px 12px; color: var(--ink); border: 1px solid #aeb4b6; border-radius: 3px; background: #fff; font-size: 16px; font-weight: 400; }
.request-form textarea { min-height: 120px; resize: vertical; }
.auth-form input:focus, .request-form input:focus, .request-form select:focus, .request-form textarea:focus { border-color: var(--sepia); box-shadow: 0 0 0 3px rgb(197 122 36 / 16%); outline: 0; }
.auth-form .button { width: 100%; }
.auth-link { width: 100%; margin-top: 12px; }
.auth-restricted { margin: 24px 0 10px; color: var(--muted); font-size: 13px; }
.message { margin: 20px 0; padding: 14px 16px; border-left: 4px solid var(--sepia); border-radius: 3px; background: #f0e6d5; text-align: left; }
.message.error { color: #641f1b; border-color: var(--danger); background: #f8e7e4; }
.message.success { color: #174a36; border-color: var(--success); background: #e5f1e9; }
.message.notice { color: var(--navy); border-color: var(--sepia); }
.auth-card .version-footer, .request-shell .version-footer { margin: 28px 0 0; color: #666a64; font-size: 12px; text-align: center; }
.auth-card .version-footer a, .request-shell .version-footer a { color: var(--navy); }

.request-header { grid-template-columns: 1fr auto; max-width: 1240px; }
.request-shell { width: min(calc(100% - 32px), 920px); margin: 48px auto; padding: clamp(28px, 6vw, 64px); border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); box-shadow: var(--shadow); }
.request-heading { max-width: 700px; margin: 0 auto 34px; text-align: center; }
.request-heading > p:not(.eyebrow) { color: var(--muted); }
.request-form { gap: 24px; }
.request-form small { color: var(--muted); font-size: 12px; font-weight: 500; }
.request-form fieldset { min-width: 0; margin: 0; padding: 20px; border: 1px solid var(--rule); border-radius: 5px; }
.request-form legend { padding: 0 8px; color: var(--navy); font-family: var(--serif); font-size: 21px; font-weight: 600; }
.membership-tier-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.membership-tier-picker legend { grid-column: 1 / -1; }
.membership-tier-picker label { padding: 20px; display: grid; grid-template-columns: auto 1fr; align-items: center; border: 1px solid var(--rule); border-radius: 4px; background: #fff; cursor: pointer; }
.membership-tier-picker input { width: 22px; min-height: 22px; margin: 0; }
.membership-tier-picker span { display: grid; gap: 2px; }
.membership-tier-picker b { color: var(--navy); font-family: var(--serif); font-size: 20px; }
.membership-tier-picker small { font-size: 15px; }
.membership-form-trap { position: fixed !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.membership-form-trap[hidden] { display: none !important; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid > label:first-child:last-child { grid-column: 1 / -1; }
.contact-address .form-grid { margin-top: 2px; }
.fieldset-help { margin: -4px 0 16px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.muted { color: var(--muted); font-size: 12px; font-weight: 500; }
.payment-step { padding: 22px; border: 1px solid var(--rule-dark); border-radius: 5px; background: var(--paper-deep); text-align: center; }
.button.venmo { color: #fff; border-color: #355fca; background: #355fca; }
.payment-step p { margin: 12px auto 0; color: var(--muted); font-size: 13px; }
.policy-consent { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: center; }
.policy-consent a, .privacy-note a { color: var(--navy); font-weight: 750; text-underline-offset: 3px; }
.submit-request { width: 100%; }
.privacy-note { margin: 28px 0 0; padding-top: 22px; color: var(--muted); border-top: 1px solid var(--rule); font-size: 12px; }

.public-policy { min-height: 100svh; color: var(--ink); background: var(--cream); }
.policy-shell { width: min(calc(100% - 40px), 1000px); margin: clamp(36px, 5vw, 70px) auto; padding: clamp(32px, 6vw, 70px); border: 1px solid var(--rule-dark); border-radius: 8px; background: var(--paper); box-shadow: var(--shadow); }
.policy-heading { max-width: 780px; margin: 0 auto 42px; text-align: center; }
.policy-heading h1 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(44px, 7vw, 72px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.policy-updated { margin: 14px 0 0; color: var(--sepia); font-size: 13px; font-weight: 750; }
.policy-intro { margin: 22px auto 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.policy-sections { display: grid; gap: 0; }
.policy-sections section { padding: 28px 0; border-top: 1px solid var(--rule); }
.policy-sections h2 { margin: 0 0 9px; color: var(--navy); font-family: var(--serif); font-size: clamp(25px, 3vw, 34px); font-weight: 500; }
.policy-sections p { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.7; }
.policy-actions { margin-top: 32px; display: flex; justify-content: center; gap: 16px; }
.policy-footer { margin-top: 0; }
.policy-footer .version-footer { margin: 4px 0 0; color: #d4cec4; }
.policy-footer .version-footer a { color: #fff; }

.pwa-install-link[hidden] { display: none !important; }
.pwa-install-link {
  min-height: 44px;
  margin: 8px 0 0;
  padding: 8px 2px;
  color: var(--navy);
  border: 0;
  border-bottom: 1px solid var(--sepia-light);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}
.pwa-install-link:hover { color: var(--sepia); border-bottom-color: var(--sepia); }
.pwa-install-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 920px) {
  .public-header { grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; }
  .public-header .desktop-nav { display: none; }
  .public-header .mobile-nav { display: block; }
  .cover-hero { min-height: auto; grid-template-columns: 1fr; padding-top: 64px; }
  .cover-copy { text-align: center; }
  .cover-copy h1, .cover-lede, .surname-line, .heritage-divider { margin-right: auto; margin-left: auto; }
  .cover-actions { justify-content: center; }
  .cover-art { width: min(100%, 650px); margin: 0 auto; }
  .family-lines-layout { grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr); gap: 26px; }
  .family-name-list li { padding-right: 12px; padding-left: 12px; font-size: clamp(34px, 5vw, 52px); }
  .privacy-band { grid-template-columns: 110px minmax(0, 1fr); }
  .privacy-crest svg { width: 86px; height: 100px; }
}

@media (max-width: 620px) {
  .public-header, .request-header { min-height: 70px; padding: 13px 16px; gap: 12px; }
  .public-header { gap: 8px; }
  .public-brand { min-width: 0; font-size: 19px; }
  .header-sign-in { min-height: 42px; padding: 0 10px; font-size: 12px; }
  .public-header .header-sign-in svg { display: none; }
  .mobile-nav summary { padding: 7px 8px; font-size: 12px; }
  .cover-hero { padding: 50px 18px 68px; gap: 34px; }
  .cover-copy h1 { font-size: clamp(48px, 15vw, 72px); }
  .cover-lede { font-size: 19px; }
  .surname-line { font-size: 22px; white-space: normal; }
  .cover-actions { display: grid; }
  .cover-actions .button { width: 100%; }
  .family-lines { padding: 18px 10px 58px; }
  .heritage-panel { padding: 40px 16px 48px; }
  .family-lines-layout { grid-template-columns: 1fr; }
  .branch-ornament img { width: 220px; }
  .family-lines-copy { max-width: none; }
  .access-section { padding: 68px 18px; }
  .family-name-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .family-name-list li { padding: 12px 6px; font-size: clamp(26px, 8vw, 34px); }
  .access-options, .access-steps { grid-template-columns: 1fr; }
  .access-options article { min-height: auto; padding-right: 20px; padding-left: 20px; }
  .access-options .price { max-width: 100%; font-size: clamp(40px, 14vw, 48px); overflow-wrap: anywhere; }
  .access-heading { grid-template-columns: 36px 1fr 36px; gap: 10px; }
  .access-steps { gap: 32px; }
  .access-steps li:not(:last-child)::after { top: 58px; left: 50%; width: 1px; height: 28px; border-top: 0; border-left: 1px dashed var(--rule-dark); }
  .privacy-band { width: calc(100% - 20px); margin-top: -34px; padding: 34px 18px; grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .privacy-crest svg { width: 74px; height: 86px; }
  .public-footer { grid-template-columns: 1fr; padding: 30px 18px; }
  .public-footer nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .public-footer nav a { padding: 8px 10px; }
  .public-footer nav a + a { border-left: 0; }
  .public-footer nav a:nth-child(even) { border-left: 1px solid var(--sepia-light); }
  .public-footer nav a:last-child:nth-child(odd) { grid-column: 1 / -1; border-left: 0; }
  .public-auth { padding: 10px; }
  .auth-card { padding: 28px 20px; }
  .request-shell { width: calc(100% - 20px); margin: 18px auto; padding: 28px 18px; }
  .membership-tier-picker, .form-grid { grid-template-columns: 1fr; }
  .policy-shell { width: calc(100% - 20px); margin: 18px auto; padding: 34px 20px; }
  .policy-actions { align-items: stretch; flex-direction: column; }
  .policy-actions .button { width: 100%; }
}

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