:root {
  --bg: #f7efe5;
  --bg-soft: #fcf8f2;
  --panel: rgba(255, 253, 248, 0.94);
  --panel-strong: #fffdfa;
  --ink: #201916;
  --ink-soft: #564940;
  --muted: #7d6c61;
  --line: rgba(96, 73, 56, 0.14);
  --line-strong: rgba(76, 52, 37, 0.2);
  --accent: #7b3128;
  --accent-deep: #5a1f18;
  --accent-soft: #f2ddd2;
  --gold: #ae7f43;
  --shadow: 0 18px 50px rgba(54, 35, 22, 0.08);
  --shadow-strong: 0 30px 80px rgba(54, 35, 22, 0.16);
  --radius: 28px;
  --font-sans: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at top left, rgba(174, 127, 67, 0.14), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(123, 49, 40, 0.14), transparent 24%),
    linear-gradient(180deg, var(--bg) 0, var(--bg-soft) 30%, #ffffff 70%);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

a:hover {
  color: var(--accent);
}

.skip {
  position: absolute;
  left: -999px;
  top: auto;
}

.skip:focus {
  left: 18px;
  top: 18px;
  z-index: 50;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(50, 34, 21, 0.05);
}

.navwrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  display: block;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  font-weight: 750;
}

.nav a {
  white-space: nowrap;
}

.cta {
  padding: 0.78rem 1.05rem;
  border: 1px solid rgba(123, 49, 40, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent);
  box-shadow: 0 10px 25px rgba(88, 43, 24, 0.05);
}

.cta:hover {
  color: #fff;
  background: var(--accent);
}

.hamb {
  display: none;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-weight: 800;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.42), transparent 42%),
    radial-gradient(circle at 75% 22%, rgba(123, 49, 40, 0.12), transparent 24%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 28px 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 46px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.section h2,
.card h3,
.panel h3,
.footer h3 {
  font-family: var(--font-display);
}

.hero h1,
.page-hero h1 {
  margin: 0 0 18px;
  color: #120d0b;
  font-size: clamp(3.2rem, 8vw, 7.1rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.hero h2 {
  max-width: 46rem;
  margin: 0 0 22px;
  color: #3f312b;
  font-size: clamp(1.18rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.38;
}

.hero p {
  max-width: 42rem;
  margin: 0 0 1.35rem;
  color: var(--ink-soft);
  font-size: 1.11rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 10px;
}

.hero-point {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(54, 35, 22, 0.05);
}

.hero-point strong {
  display: block;
  margin-bottom: 6px;
  color: #1b1310;
  font-size: 0.92rem;
}

.hero-point span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.98rem 1.22rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 26px rgba(54, 35, 22, 0.06);
  font-weight: 850;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(54, 35, 22, 0.12);
}

.btn.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.portrait-card {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.portrait-card::before {
  content: "";
  position: absolute;
  right: 24px;
  width: min(420px, 82%);
  height: 86%;
  border-radius: 34px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.6), rgba(242, 221, 210, 0.92)),
    linear-gradient(180deg, rgba(174, 127, 67, 0.12), rgba(123, 49, 40, 0.18));
  transform: rotate(6deg);
  box-shadow: var(--shadow);
}

.portrait-card img {
  position: relative;
  z-index: 2;
  max-width: min(510px, 100%);
  border: 1px solid rgba(123, 49, 40, 0.14);
  border-radius: 30px;
  background: #efe5d8;
  box-shadow: var(--shadow-strong);
}

.hero-note {
  position: absolute;
  left: 0;
  bottom: 28px;
  z-index: 3;
  max-width: 290px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-note strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.hero-note p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.cards-band {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 8px auto 0;
  padding: 0 28px 36px;
}

.cards-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 26px;
  align-items: start;
}

.cards-intro {
  padding: 18px 0;
}

.cards-intro p {
  color: var(--ink-soft);
}

.cards-intro .section-note {
  margin-top: 24px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cards[data-layout="featured"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards[data-layout="featured"] .card:first-child {
  grid-row: span 2;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.card .icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 1.2rem;
  font-weight: 900;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.card p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.card a {
  color: var(--accent);
  font-weight: 850;
}

.card-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card.featured {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 241, 233, 0.98)),
    var(--panel);
}

.card.featured h3 {
  font-size: 2rem;
}

.ticker {
  max-width: 1240px;
  margin: 0 auto 18px;
  padding: 0 28px;
}

.ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(247, 239, 229, 0.96));
  color: #372c27;
  box-shadow: var(--shadow);
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 82px 28px;
}

.section-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items: start;
}

.section-copy > :last-child {
  margin-bottom: 0;
}

.section-note {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(54, 35, 22, 0.05);
}

.section-note strong {
  display: block;
  margin-bottom: 6px;
  color: #1b1310;
  font-size: 1rem;
}

.section-note p {
  margin: 0;
  color: var(--ink-soft);
}

.section.alt {
  max-width: none;
  border-top: 1px solid rgba(123, 49, 40, 0.08);
  border-bottom: 1px solid rgba(123, 49, 40, 0.08);
  background: linear-gradient(180deg, rgba(123, 49, 40, 0.06), rgba(255, 255, 255, 0.78));
}

.section.alt > .inner {
  max-width: 1240px;
  margin: 0 auto;
}

.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 18px;
  color: #160f0d;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.lead {
  max-width: 56rem;
  margin: 0 0 1.5rem;
  color: #433731;
  font-size: 1.18rem;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 + .grid-2,
.grid-2 + .grid-3,
.grid-3 + .grid-2,
.grid-3 + .grid-3 {
  margin-top: 24px;
}

.detail-list {
  display: grid;
  gap: 18px;
}

.detail-card {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.detail-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.detail-card p {
  margin: 0;
  color: var(--ink-soft);
}

.panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.panel h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.panel p,
.panel li {
  color: var(--ink-soft);
}

.panel ul {
  margin: 14px 0 0;
  padding-left: 1.1rem;
}

.panel li {
  margin: 0.42rem 0;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.tag {
  padding: 0.4rem 0.78rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #5f5047;
  font-size: 0.82rem;
  font-weight: 800;
}

.notice {
  padding: 18px 20px;
  border: 1px solid rgba(123, 49, 40, 0.14);
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  background: #fff6f2;
  color: #4c342c;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(243, 233, 221, 0.86));
}

.page-hero-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 28px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(280px, 0.86fr);
  gap: 26px;
  align-items: end;
}

.page-hero h1 {
  font-size: clamp(3rem, 6.2vw, 6.2rem);
}

.page-hero p {
  max-width: 48rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.16rem;
}

.crumb {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-hero-note {
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.page-hero-note strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.page-hero-note p {
  margin: 0;
  font-size: 1rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 28px rgba(54, 35, 22, 0.05);
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  color: #160f0d;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.stat span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.source-list {
  display: grid;
  gap: 14px;
}

.source {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.source strong {
  display: block;
}

.source span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer {
  margin-top: 72px;
  color: #fff;
  background: linear-gradient(180deg, #211915 0, #120d0b 100%);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 54px 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
}

.footer h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.footer p,
.footer a {
  color: rgba(255, 248, 240, 0.76);
}

.link-list {
  display: grid;
  gap: 10px;
}

.link-list a {
  width: fit-content;
}

.scope {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sr-only {
  position: absolute;
  left: -9999px;
}

.book-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
}

.book-card img {
  width: 120px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.timeline {
  border-left: 2px solid rgba(123, 49, 40, 0.22);
  padding-left: 24px;
}

.timeline .item {
  position: relative;
  margin: 0 0 26px;
}

.timeline .item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
}

.item time {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 30px 0;
}

.photo-featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.photo-featured figure:first-child {
  grid-column: span 2;
}

.photo-featured figure:first-child img {
  height: 420px;
}

.photo-strip figure,
.photo-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.photo-strip img,
.photo-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  background: #efe6dc;
}

.photo-strip figcaption,
.photo-card figcaption {
  padding: 16px 18px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.photo-strip figcaption strong,
.photo-card figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: #17100e;
}

.photo-card figcaption span {
  display: block;
  color: var(--muted);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.photo-grid .photo-card:first-child {
  grid-column: span 2;
}

.photo-grid .photo-card:first-child img {
  height: 520px;
}

@media (max-width: 1100px) {
  .navwrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  .portrait-card {
    min-height: 0;
    justify-content: center;
    padding-top: 12px;
  }

  .portrait-card::before {
    right: 50%;
    width: min(430px, 90%);
    transform: translateX(50%) rotate(4deg);
  }

  .hero-note {
    left: 18px;
    bottom: 18px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-shell,
  .section-shell,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .ticker-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .photo-grid .photo-card:first-child {
    grid-column: span 1;
  }

  .photo-grid .photo-card:first-child img {
    height: 340px;
  }

  .hero-points,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .navwrap,
  .hero-inner,
  .section,
  .page-hero-inner,
  .cards-band,
  .ticker,
  .footer-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .hero h1 {
    font-size: 3.8rem;
  }

  .hero h2 {
    font-size: 1.08rem;
  }

  .cards,
  .grid-2,
  .grid-3,
  .hero-points,
  .stat-grid,
  .photo-strip,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .panel {
    padding: 24px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-note {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: none;
    margin-top: 18px;
  }

  .portrait-card::before {
    inset: auto 8px 36px 8px;
    width: auto;
    height: 84%;
    transform: rotate(3deg);
  }

  .portrait-card img {
    max-width: 100%;
  }

  .photo-strip img,
  .photo-card img,
  .photo-grid .photo-card:first-child img,
  .photo-featured figure:first-child img {
    height: auto;
  }

  .book-card {
    grid-template-columns: 1fr;
  }

  .book-card img {
    width: 150px;
  }
}
