/* germanlegacy.net home page only (layout _includes/home.njk). Landing page design "Reconnect to Your Heritage",
   Claude Design 2026-11-21: warm ivory, dark brown ink, forest-green actions, brass + stone as quiet accents (brass is
   never a small-text colour). IM Fell English = headings (fonts/fonts.css, user 2026-11-21), Newsreader = captions and quotes,
   Public Sans = reading text (fonts/home-fonts.css, self-hosted). */

:root {
  --ivory: #F5F0E6; --band: #EDE5D6; --paper: #FBF8F2; --ink: #302B25; --ink-2: #3E372F; --muted: #5E554A;
  --green: #304A3B; --green-dark: #1F3328; --brass: #9A794C; --stone: #D8CBB8; --stone-2: #C9B9A1; --field: #8C7F6E;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --display: 'IM Fell English', Georgia, 'Times New Roman', serif;   /* all headings (user 2026-11-21) */
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --lift: 0 1px 0 var(--stone), 0 18px 40px rgba(48, 43, 37, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.hp { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
:where(.hp) img { max-width: 100%; height: auto; display: block; }
:where(.hp) a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:where(.hp) a:hover { color: var(--green-dark); }
:where(.hp) :focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
:where(.hp) :is(h1, h2, h3) { font-family: var(--display); font-weight: 400; margin: 0; }
:where(.hp) p { margin: 0; }
:where(.hp) figure { margin: 0; }
.hp-preview { margin: 0; padding: 6px 16px; background: var(--ink); color: #E9E1D3; font-size: 13px; text-align: center; }

.hp-sec { padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(56px, 8vw, 120px); }
.hp-band { background: var(--band); border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.hp-kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hp-h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; }
.hp-lead { font-size: 19px; line-height: 1.7; }
.hp-center { text-align: center; margin-left: auto; margin-right: auto; }
.hp-mat { background: var(--paper); padding: 10px; box-shadow: var(--lift); }
.hp-cap { margin-top: 12px; font-size: 14px; color: var(--muted); }
.hp-arrow { flex: none; transition: transform .2s; }
a:hover > .hp-arrow, a:hover .hp-arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .hp-arrow { transition: none; } a:hover > .hp-arrow, a:hover .hp-arrow { transform: none; } }

/* button rows and strong links */
.hp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hp-actions .hp-text-link { font-weight: 500; padding: 10px 0; }
.hp-link-strong { font-weight: 600; display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; }

/* 1 hero */
.hp-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 104px); }
.hp-hero-text { flex: 1 1 380px; min-width: 0; max-width: 520px; }
.hp-hero-text .hp-kicker { font-size: 14px; margin-bottom: 22px; }
.hp-hero h1 { font-size: clamp(46px, 6vw, 82px); line-height: 1.02; letter-spacing: -.01em; margin-bottom: 28px; }
.hp-hero-text > p:not(.hp-kicker) { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; max-width: 30em; margin-bottom: 36px; }
.hp-hero figure { flex: 1.35 1 440px; min-width: 0; }
.hp-hero .hp-mat { padding: 12px; }
.hp-hero img { width: 100%; aspect-ratio: 1580 / 1225; object-fit: cover; }
.hp-hero figcaption { margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) { .hp-fade { animation: hp-fadeup .9s ease-out both; } }
@keyframes hp-fadeup { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.hp-divider { display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--brass); padding: 0 16px; }
.hp-divider::before, .hp-divider::after { content: ""; height: 1px; background: var(--stone); flex: 0 1 160px; }
.hp-divider svg { width: 30px; height: 25px; stroke-width: 1.6; }

/* 2 journey */
.hp-intro { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.hp-intro h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.12; margin-bottom: 24px; }
.hp-intro p { font-size: 19px; line-height: 1.7; color: var(--ink-2); }
.hp-panels { display: flex; flex-wrap: wrap; gap: 40px 48px; align-items: flex-start; }
.hp-panels figure { flex: 1 1 340px; min-width: 0; }
.hp-panels figure:nth-child(2) { padding-top: clamp(0px, 5vw, 72px); }
.hp-panels .hp-mat { box-shadow: 0 1px 0 var(--stone); }
.hp-panels img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hp-panels figcaption { margin-top: 16px; }
.hp-panels figcaption span { display: block; }
.hp-panels .hp-panel-title { font-family: var(--display); font-size: 24px; line-height: 1.3; margin-top: 4px; }
.hp-panels .hp-panel-src { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* 3 what they carried */
.hp-carried { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 80px; }
.hp-carried-text { flex: 1 1 400px; min-width: 0; max-width: 560px; }
.hp-carried-text .hp-kicker { margin-bottom: 18px; }
.hp-carried-text h2 { margin-bottom: 28px; }
.hp-carried-text .hp-big { font-family: var(--serif); font-size: clamp(21px, 2vw, 25px); line-height: 1.5; margin-bottom: 20px; }
.hp-carried-text p { font-size: 18px; line-height: 1.7; margin-bottom: 20px; }
.hp-carried-text p.hp-last { margin-bottom: 36px; }
.hp-carried-links { display: flex; flex-direction: column; gap: 10px; }
.hp-carried-links .hp-link-strong { font-size: 18px; }
.hp-carried-links a:last-child { font-size: 16px; padding: 6px 0; }
.hp-crate { flex: 1 1 420px; min-width: 0; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.hp-crate figure { flex: 1 1 280px; min-width: 0; max-width: 420px; }
.hp-crate .hp-mat { box-shadow: 0 1px 0 var(--stone), 0 18px 40px rgba(48, 43, 37, .12); transform: rotate(-1deg); }
.hp-crate img { width: 100%; aspect-ratio: 1168 / 1600; object-fit: cover; }
.hp-crate figcaption { margin-top: 16px; }
.hp-quotes { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 22px; padding-top: 24px; }
.hp-quotes div { border-top: 1px solid var(--brass); padding-top: 12px; }
.hp-orig { font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.4; }
.hp-expl { margin-top: 6px !important; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* 4 find a name */
.hp-names { max-width: 820px; margin: 0 auto; }
.hp-names h2 { text-align: center; margin-bottom: 24px; }
.hp-names > .hp-lead { text-align: center; max-width: 640px; margin: 0 auto 16px; }
.hp-names > .hp-lead + .hp-lead { margin-bottom: 40px; }
.hp-search { background: var(--paper); border: 1px solid var(--stone); padding: clamp(22px, 4vw, 40px); }
.hp-search-title { font-family: var(--display); font-size: 26px; margin-bottom: 4px !important; }
.hp-search-note { font-size: 15px; color: var(--muted); margin-bottom: 22px !important; }
.hp-search form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.hp-field { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.hp-field label { font-size: 15px; font-weight: 600; }
.hp-field input { font: inherit; font-size: 18px; color: var(--ink); background: #FFFFFF; border: 1px solid var(--field); border-radius: 3px; padding: 0 16px; min-height: 54px; width: 100%; }
.hp-field input::placeholder { color: #7A6F62; }
.hp-search .hp-btn { gap: 10px; min-height: 54px; padding: 0 28px; }
.hp-search-foot { margin-top: 18px !important; font-size: 14px; color: var(--muted); }
.hp-deprived { margin-top: 40px; border-top: 1px solid var(--ink); padding-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 48px; }
.hp-deprived h3 { flex: 1 1 220px; font-weight: 400; font-size: 22px; line-height: 1.3; }
.hp-deprived div { flex: 2 1 340px; min-width: 0; }
.hp-deprived p { font-size: 17px; line-height: 1.7; margin-bottom: 14px; }
.hp-deprived a { font-weight: 600; display: inline-block; padding: 6px 0; }

/* 5 documents */
.hp-docs-head { max-width: 720px; margin-bottom: 48px; }
.hp-docs-head h2 { margin-bottom: 24px; }
.hp-docs { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.hp-docs figure { flex: 1.6 1 480px; min-width: 0; }
.hp-docs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 18px 40px rgba(48, 43, 37, .14); }
.hp-docs figcaption { margin-top: 14px; }
.hp-reading { flex: 1 1 300px; min-width: 0; }
.hp-reading .hp-kicker { margin-bottom: 18px; }
.hp-reading ol { list-style: none; margin: 0; padding: 0; counter-reset: hp-n; }
.hp-reading li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--stone-2); counter-increment: hp-n; }
.hp-reading li:last-child { border-bottom: 1px solid var(--stone-2); }
.hp-reading li::before { content: counter(hp-n); flex: 0 0 28px; height: 28px; border-radius: 50%; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.hp-reading .hp-orig { font-size: 19px; line-height: 1.4; }
.hp-reading .hp-expl { font-size: 15px; line-height: 1.6; color: var(--ink); }
.hp-reading-note { margin-top: 14px !important; font-size: 13px; color: var(--muted); }
.hp-routes { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 20px; }
.hp-route { flex: 1 1 320px; min-width: 0; background: var(--paper); border: 1px solid var(--stone); padding: 26px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--ink); text-decoration: none; }
.hp-route:hover { color: var(--green); border-color: var(--stone-2); }
.hp-route span span { display: block; }
.hp-route-q { font-size: 15px; color: var(--muted); }
.hp-route-t { font-family: var(--display); font-size: 25px; line-height: 1.25; margin-top: 4px; }

/* 6 your part */
.hp-part { text-align: center; }
.hp-part h2 { margin-bottom: 24px; }
.hp-part > .hp-lead { max-width: 640px; margin: 0 auto 56px; }
.hp-line { max-width: 820px; margin: 0 auto 56px; display: flex; align-items: flex-start; }
.hp-line-node { flex: 0 0 auto; width: 92px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; }
.hp-line-node i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--ivory); }
.hp-line-node i.hp-dash { border-style: dashed; }
.hp-line-node--you { gap: 10px; }
.hp-line-node--you i { width: 20px; height: 20px; border: 0; background: var(--green); margin-top: -2px; }
.hp-line-node--you span { font-family: var(--serif); font-size: 22px; line-height: 1.1; font-weight: 500; }
.hp-line-link { flex: 1 1 0; height: 1px; background: var(--ink); margin-top: 8px; }
.hp-part-note { margin: 22px auto 0 !important; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 520px; }

/* 7 guidance */
.hp-guide { border-top: 1px solid var(--stone); }
.hp-guide-inner { max-width: 820px; margin: 0 auto; }
.hp-guide h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; margin-bottom: 28px; }
.hp-guide ul { list-style: none; margin: 0 0 24px; padding: 0; }
.hp-guide li { border-top: 1px solid var(--stone); }
.hp-guide li:last-child { border-bottom: 1px solid var(--stone); }
.hp-guide li a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 18px; color: var(--ink); text-decoration: none; }
.hp-guide li a:hover { color: var(--green); }
.hp-guide-all { font-weight: 600; display: inline-block; padding: 6px 0; }

/* 8 closing */
.hp-close { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(64px, 9vw, 128px); }
.hp-close-photo { flex: 1 1 280px; min-width: 0; max-width: 400px; }
.hp-close-photo .hp-mat { transform: rotate(1.2deg); }
.hp-close-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hp-close-photo figcaption { margin-top: 18px; }
.hp-close-text { flex: 1.2 1 380px; min-width: 0; }
.hp-close-ship { display: block; width: 44px; height: 37px; color: var(--brass); stroke-width: 1.4; margin-bottom: 22px; }
.hp-close h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; margin-bottom: 24px; }
.hp-close-text > p { font-size: 19px; line-height: 1.7; max-width: 32em; margin-bottom: 36px; }

