:root {
  --ivory: #f3eddf;
  --ivory-deep: #e8ddc9;
  --paper: #fffaf0;
  --charcoal: #262424;
  --charcoal-soft: #373332;
  --wine: #7d2230;
  --wine-dark: #5f1722;
  --brass: #b18a4d;
  --sand: #d7c29f;
  --muted: #6f6962;
  --line: rgba(38, 36, 36, 0.18);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --shadow-soft: 0 24px 70px rgba(38, 28, 24, 0.14);
  --shadow-deep: 0 32px 90px rgba(0, 0, 0, 0.26);
  --content: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: var(--wine);
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #c24e60;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 0.65rem 1rem;
  transform: translateY(-180%);
  background: var(--paper);
  color: var(--charcoal);
  border: 2px solid var(--wine);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(38, 36, 36, 0.12);
  background: rgba(243, 237, 223, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(calc(100% - 48px), var(--content));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.wordmark,
.footer-wordmark {
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.wordmark {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  font-size: 1.12rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2rem);
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
  background: var(--wine);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.25rem;
  border: 2px solid var(--wine);
  border-radius: 2px;
  background: var(--wine);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  letter-spacing: 0.015em;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--wine-dark);
  background: var(--wine-dark);
  color: #fff;
}

.button-small {
  min-height: 44px;
  padding: 0.6rem 0.95rem;
  font-size: 0.82rem;
}

.button-light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--charcoal);
}

.button-light:hover {
  border-color: var(--sand);
  background: var(--sand);
  color: var(--charcoal);
}

.button-outline {
  background: transparent;
  color: var(--wine);
}

.button-outline:hover {
  color: #fff;
}

.mobile-nav {
  display: none;
  position: relative;
  margin-left: auto;
}

.mobile-nav summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--charcoal);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav nav {
  position: absolute;
  top: calc(100% + 0.8rem);
  right: 0;
  width: min(82vw, 300px);
  display: grid;
  padding: 0.7rem;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.mobile-nav nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0.4rem 0.65rem;
  text-decoration: none;
  font-weight: 650;
}

.mobile-nav nav a:last-child {
  margin-top: 0.4rem;
  background: var(--wine);
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 78px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(177, 138, 77, 0.12) 1px, transparent 1px) 0 0 / 120px 100%,
    var(--ivory);
}

.hero::before {
  position: absolute;
  top: -18%;
  right: -12%;
  width: 55vw;
  height: 55vw;
  border: 1px solid rgba(125, 34, 48, 0.13);
  border-radius: 50%;
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1320px);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(5rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--wine);
  font-size: 0.73rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

h1 {
  max-width: 15ch;
  font-size: clamp(2.8rem, 5.3vw, 5.4rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2.25rem, 4.3vw, 4.2rem);
  line-height: 1.04;
}

.hero-intro {
  max-width: 62ch;
  margin: 1.8rem 0 0;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
}

.core-line {
  margin: 1.4rem 0 0;
  color: var(--wine);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-style: italic;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero-actions > div,
.chapter-cta > div,
.closing-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.external-note {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.2;
}

.text-link {
  color: var(--charcoal);
  font-size: 0.87rem;
  font-weight: 750;
}

.war-records-teaser {
  margin: 1.6rem 0;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(64, 54, 43, 0.28);
  border-radius: 0.35rem;
  background: rgba(243, 237, 223, 0.42);
}

.story-copy .war-records-teaser__title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 600;
}

.story-copy .war-records-teaser__text {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.65;
}

.war-records-teaser__button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 1.65rem;
  padding: 0.18rem 0.22rem;
  border: 1px solid transparent;
  border-radius: 0.22rem;
  background: transparent;
  text-decoration: none;
  line-height: 1;
}

.language-switcher img {
  display: block;
  max-width: 1.5rem;
  max-height: 1rem;
  width: auto;
  height: auto;
  border: 1px solid rgba(64, 54, 43, 0.35);
  border-radius: 0.08rem;
}

.language-switcher a:hover,
.language-switcher a:focus-visible {
  border-color: rgba(64, 54, 43, 0.55);
  background: rgba(255, 255, 255, 0.38);
}

.language-switcher a[aria-current="page"] {
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.52);
}

.mobile-language-switcher {
  margin-top: 0.75rem;
}

.hero-visuals {
  position: relative;
  min-height: 610px;
}

.cover-figure {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 2%;
  width: min(47%, 360px);
  margin: 0;
  transform: rotate(1.4deg);
  filter: drop-shadow(0 28px 38px rgba(38, 28, 24, 0.28));
}

.cover-figure img {
  width: 100%;
}

.family-figure {
  position: absolute;
  z-index: 1;
  right: 30%;
  bottom: 0;
  width: min(68%, 465px);
  margin: 0;
  padding: 0.75rem;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  transform: rotate(-2.2deg);
}

.family-figure figcaption,
figure figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.hero-index {
  position: absolute;
  right: 2vw;
  bottom: 0.75rem;
  margin: 0;
  color: rgba(38, 36, 36, 0.09);
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
}

.story-section,
.book-section {
  padding: clamp(5.5rem, 10vw, 10rem) 0;
}

.section-inner {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.split-grid-reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.story-copy {
  max-width: 630px;
}

.story-copy h2 {
  margin-bottom: 1.8rem;
}

.story-copy > p:not(.eyebrow, .signature, .standalone-line) {
  max-width: 61ch;
  margin: 0 0 1rem;
}

.story-copy > p + p {
  margin-top: 1rem;
}

.standalone-line {
  margin: 1.6rem 0 0;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.35;
}

.image-card,
.document-card,
.drawing-card,
.manuscript-card,
.portrait-card {
  position: relative;
  margin: 0;
}

.image-card img {
  width: 100%;
  box-shadow: var(--shadow-soft);
}

.image-card-wide {
  padding: clamp(1rem, 2.5vw, 2rem);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.image-card-wide img {
  box-shadow: none;
}

.quote-inline,
.quote-large,
.quote-pair {
  margin-right: 0;
  margin-left: 0;
  color: var(--wine);
  font-family: var(--serif);
  font-style: italic;
}

.quote-inline {
  margin-top: 2rem;
  padding-left: 1.35rem;
  border-left: 3px solid var(--wine);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.42;
}

.section-before {
  background: var(--paper);
}

.section-dossier {
  background:
    linear-gradient(rgba(38, 36, 36, 0.038) 1px, transparent 1px) 0 0 / 100% 32px,
    var(--ivory-deep);
}

.document-card-pass {
  max-width: 590px;
  padding: clamp(1.2rem, 3vw, 2.6rem);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  transform: rotate(-1deg);
}

.figure-number {
  position: absolute;
  z-index: 2;
  top: -1.35rem;
  left: -1.3rem;
  min-width: 3.6rem;
  height: 3.6rem;
  display: grid;
  place-items: center;
  padding: 0 0.5rem;
  background: var(--wine);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.section-key {
  background: var(--paper);
}

.key-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.75fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 9rem);
}

.quote-large {
  position: relative;
  margin: 2.3rem 0;
  padding: 2rem 0 2rem 2rem;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  line-height: 1.35;
}

.quote-large::before {
  position: absolute;
  top: 1.6rem;
  left: 0;
  color: var(--brass);
  content: "“";
  font-size: 3rem;
  line-height: 1;
}

.manuscript-card {
  padding: clamp(1rem, 2.5vw, 2rem);
  background: #f7f1e7;
  box-shadow: var(--shadow-soft);
}

.manuscript-card a {
  display: block;
}

.manuscript-card img {
  width: 100%;
}

.manuscript-card figcaption span {
  color: var(--wine);
  font-weight: 700;
}

.section-danzig {
  overflow: hidden;
  background: var(--charcoal);
  color: #f5eee1;
}

.section-danzig .eyebrow {
  color: #d6b67e;
}

.danzig-heading {
  max-width: 800px;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.danzig-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.danzig-image {
  margin: 0;
}

.danzig-image img {
  width: 100%;
  filter: grayscale(1) contrast(1.03);
  box-shadow: var(--shadow-deep);
}

.danzig-image figcaption,
.section-danzig .external-note {
  color: #bbb1a6;
}

.quote-light {
  border-color: #d6b67e;
  color: #f5eee1;
}

.chapter-cta {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(1.4rem, 3vw, 2.4rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.chapter-cta p {
  max-width: 48ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.35;
}

.chapter-cta-dark {
  border-color: rgba(255, 255, 255, 0.2);
}

.section-craft {
  background: var(--ivory);
}

.craft-image {
  padding: 1.2rem;
  background: var(--paper);
}

.craft-image img {
  box-shadow: none;
}

.section-wait {
  background: var(--paper);
}

.drawing-card {
  padding: clamp(1rem, 2.5vw, 2rem);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.drawing-card img {
  width: 100%;
}

.quote-pair {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sand);
  font-size: clamp(1.28rem, 1.9vw, 1.62rem);
  line-height: 1.45;
}

.quote-pair p {
  margin: 0;
}

.quote-pair p + p {
  margin-top: 1.5rem;
}

.section-home {
  background:
    radial-gradient(circle at 80% 20%, rgba(177, 138, 77, 0.13), transparent 32%),
    var(--ivory);
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.home-drawing {
  transform: rotate(0.6deg);
}

.quote-relief {
  color: var(--charcoal);
}

.home-grid .chapter-cta {
  grid-column: 1 / -1;
}

.section-new-start {
  overflow: hidden;
  background: var(--paper);
}

.workshop-image::after {
  position: absolute;
  z-index: -1;
  right: -1.2rem;
  bottom: 1.2rem;
  width: 82%;
  height: 75%;
  content: "";
  background: var(--sand);
}

.workshop-image {
  z-index: 1;
}

.section-legacy {
  background: var(--ivory-deep);
}

.legacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 9rem);
}

.portrait-card {
  max-width: 430px;
  justify-self: center;
  padding: 1rem;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  transform: rotate(1deg);
}

.signature {
  margin: 2.4rem 0 0;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.35;
}

.signature span {
  display: block;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.supplement-section {
  position: relative;
  overflow: hidden;
  padding: clamp(5.5rem, 10vw, 9rem) 0;
  background:
    radial-gradient(circle at 12% 86%, rgba(177, 138, 77, 0.15), transparent 30%),
    var(--ivory);
}

.supplement-section::after {
  position: absolute;
  top: 12%;
  right: -7rem;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(125, 34, 48, 0.12);
  border-radius: 50%;
  content: "";
}

.supplement-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.supplement-cover {
  width: min(100%, 370px);
  margin: 0 auto;
  padding: clamp(0.65rem, 1.5vw, 0.9rem);
  background: var(--paper);
  box-shadow: var(--shadow-deep);
  transform: rotate(-0.5deg);
}

.supplement-cover img {
  width: 100%;
}

.supplement-copy {
  max-width: 720px;
}

.supplement-copy h2 {
  max-width: 15ch;
  margin-bottom: 1.8rem;
}

.supplement-copy > p:not(.eyebrow, .supplement-notice, .supplement-route) {
  max-width: 62ch;
  margin: 0 0 1rem;
}

.supplement-notice {
  max-width: 48ch;
  margin: 0 0 1.8rem;
  padding: 0.95rem 1.2rem;
  border-left: 3px solid var(--wine);
  background: rgba(125, 34, 48, 0.06);
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.4;
}

.supplement-route {
  max-width: 62ch;
  margin: 1.8rem 0 0;
  padding: 0.9rem 0;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.035em;
}

.supplement-download {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.supplement-button {
  min-width: min(100%, 18rem);
}

.supplement-download p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.4;
}

.book-section {
  background: var(--charcoal);
  color: #f5eee1;
}

.book-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 9rem);
}

.book-cover {
  width: min(100%, 360px);
  margin: 0 auto;
  filter: drop-shadow(0 32px 48px rgba(0, 0, 0, 0.42));
}

.book-copy {
  max-width: 760px;
}

.book-copy .eyebrow {
  color: #d6b67e;
}

.book-copy h2 {
  max-width: 14ch;
  margin-bottom: 0.8rem;
}

.book-subtitle {
  margin: 0 0 1.8rem;
  color: #d9cfc1;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-style: italic;
}

.benefit-list {
  margin: 2rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.5rem;
  list-style: none;
}

.benefit-list li {
  position: relative;
  padding-left: 1.25rem;
}

.benefit-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #d6b67e;
  content: "—";
}

.product-details {
  margin-top: 2.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.product-details h3 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.product-details dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
}

.product-details dl div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-details dt {
  color: #bdb3a8;
  font-size: 0.76rem;
}

.product-details dd {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: right;
}

.purchase-actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.book-section .button-outline {
  border-color: #e8ddc9;
  color: #f5eee1;
}

.book-section .button-outline:hover {
  background: #e8ddc9;
  color: var(--charcoal);
}

.availability-note {
  margin: 0.8rem 0 0;
  color: #bdb3a8;
  font-size: 0.72rem;
}

.closing-section {
  padding: clamp(6rem, 11vw, 11rem) 24px;
  background:
    linear-gradient(rgba(38, 36, 36, 0.8), rgba(38, 36, 36, 0.9)),
    var(--wine);
  color: var(--paper);
  text-align: center;
}

.closing-inner {
  width: min(100%, 850px);
  margin: 0 auto;
}

.closing-section .eyebrow {
  color: #d6b67e;
}

.closing-section h2 {
  margin-bottom: 2rem;
}

.closing-section p {
  max-width: 66ch;
  margin: 0 auto 1rem;
}

.closing-line {
  padding-top: 1rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
}

.closing-action {
  align-items: center;
  margin-top: 2rem;
}

.closing-section .external-note {
  color: #bdb3a8;
}

.site-footer {
  background: #1e1d1d;
  color: #ded5c8;
}

.footer-inner {
  width: min(calc(100% - 48px), var(--content));
  min-height: 150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.footer-wordmark {
  font-size: 1.25rem;
}

.footer-inner p {
  margin: 0;
  color: #a89f95;
  font-size: 0.75rem;
}

.footer-inner nav {
  display: flex;
  justify-content: flex-end;
  gap: 1.4rem;
}

.footer-inner nav a {
  font-size: 0.8rem;
}

.back-to-top {
  position: fixed;
  z-index: 80;
  right: 1rem;
  bottom: 1rem;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  background: var(--charcoal);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 1rem;
  }

  .desktop-nav a {
    font-size: 0.78rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
    gap: 2.5rem;
  }

  .hero-visuals {
    min-height: 540px;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 900px) {
  .header-language-switcher {
    display: none;
  }
}

@media (max-width: 880px) {
  .hero {
    padding-bottom: 2rem;
  }

  .hero-index {
    right: 1rem;
    bottom: 0.35rem;
    font-size: clamp(3.4rem, 14vw, 6rem);
    line-height: 1;
  }

  .split-grid > .story-copy,
  .key-grid > .story-copy,
  .danzig-grid > .story-copy,
  .home-grid > .story-copy,
  .legacy-grid > .story-copy { order: 1; }

  .split-grid > figure,
  .key-grid > figure,
  .danzig-grid > figure,
  .home-grid > figure,
  .legacy-grid > figure { order: 2; }

  .home-grid > .chapter-cta { order: 3; }
  .supplement-grid > .supplement-copy,
  .book-grid > .book-copy { order: 1; }
  .supplement-grid > figure,
  .book-grid > figure { order: 2; }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 4.5rem;
  }

  .hero-copy,
  .hero-visuals {
    display: contents;
  }

  .hero-copy .eyebrow {
    order: 1;
  }

  .hero-copy h1 {
    order: 2;
  }

  .cover-figure {
    position: relative;
    top: auto;
    right: auto;
    order: 3;
    width: min(44vw, 300px);
    margin: 0 auto;
    transform: none;
  }

  .hero-copy .core-line {
    order: 4;
    margin-top: 0;
    text-align: center;
  }

  .hero-actions {
    order: 5;
    justify-content: center;
  }

  .hero-intro {
    order: 6;
    max-width: 680px;
    margin: 0 auto;
  }

  .family-figure {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    order: 7;
    width: min(86vw, 560px);
    margin: 0 auto;
    transform: rotate(-1deg);
  }

  .split-grid,
  .split-grid-reverse,
  .key-grid,
  .danzig-grid,
  .home-grid,
  .legacy-grid,
  .supplement-grid,
  .book-grid {
    grid-template-columns: 1fr;
  }


  .story-copy {
    max-width: 720px;
  }

  .document-card-pass,
  .manuscript-card,
  .drawing-card,
  .image-card,
  .portrait-card {
    width: min(100%, 680px);
    margin-right: auto;
    margin-left: auto;
  }

  .manuscript-card {
    max-width: 540px;
  }

  .danzig-grid .story-copy {
    max-width: 660px;
  }

  .supplement-cover {
    width: min(60vw, 320px);
  }

  .supplement-copy {
    max-width: 720px;
  }

  .home-grid .chapter-cta {
    grid-column: auto;
  }

  .chapter-cta {
    align-items: flex-start;
  }

  .book-cover {
    width: min(62vw, 350px);
  }

  .book-copy {
    margin: 0 auto;
  }

  .book-copy h2 {
    max-width: 18ch;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 74px;
  }

  body {
    font-size: 0.97rem;
  }

  .war-records-teaser {
    padding: 1rem;
  }

  .war-records-teaser__button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .header-inner {
    width: min(calc(100% - 28px), var(--content));
    min-height: 68px;
  }

  .wordmark {
    font-size: 1rem;
  }

  .section-inner,
  .footer-inner {
    width: min(calc(100% - 32px), var(--content));
  }

  .hero-inner {
    width: min(calc(100% - 32px), 1320px);
    padding-top: 3.5rem;
    padding-bottom: 6.5rem;
    gap: 1.6rem;
  }

  .hero-index {
    right: 0.8rem;
    bottom: 0.5rem;
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  h1 {
    font-size: clamp(2.55rem, 12.5vw, 4rem);
  }

  h2 {
    font-size: clamp(2.15rem, 10vw, 3.25rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.2rem;
  }

  .hero-actions > div,
  .hero-actions .button {
    width: 100%;
  }

  .cover-figure {
    width: min(58vw, 270px);
    margin: 0 auto;
  }

  .family-figure {
    width: min(96%, 480px);
  }

  .story-section,
  .supplement-section,
  .book-section {
    padding: 5.5rem 0;
  }

  .split-grid,
  .split-grid-reverse,
  .key-grid,
  .home-grid,
  .legacy-grid,
  .supplement-grid,
  .book-grid {
    gap: 3rem;
  }

  .supplement-cover {
    width: min(72vw, 280px);
  }

  .supplement-button {
    width: 100%;
  }

  .quote-large {
    padding-left: 1.5rem;
  }

  .chapter-cta {
    flex-direction: column;
  }

  .chapter-cta > div,
  .chapter-cta .button {
    width: 100%;
  }

  .figure-number {
    top: -1rem;
    left: -0.5rem;
  }

  .benefit-list,
  .product-details dl {
    grid-template-columns: 1fr;
  }

  .purchase-actions {
    display: grid;
  }

  .footer-inner {
    min-height: 190px;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 2rem 0;
    text-align: center;
  }

  .footer-inner nav {
    justify-content: center;
  }
}

@media (max-width: 390px) {
  .mobile-nav nav {
    right: -0.2rem;
  }

  .button {
    width: 100%;
  }

  .text-link {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .back-to-top,
  .hero-actions,
  .chapter-cta,
  .supplement-download,
  .purchase-actions,
  .closing-action {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .story-section,
  .book-section,
  .closing-section {
    padding: 2rem 0;
    background: #fff;
    color: #000;
  }
}
