:root {
  --bg: #f4f0e8;
  --paper: #fffdf8;
  --ink: #171714;
  --muted: #6b685f;
  --line: #d9d2c4;
  --accent: #8d2e2b;
  --accent-dark: #67201e;
  --dark: #171714;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(23, 23, 20, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a { color: inherit; }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 210, 196, .75);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
  border-radius: 50%;
  font-family: "Libre Baskerville", serif;
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.hero {
  padding: 100px 0 90px;
  background:
    radial-gradient(circle at 80% 20%, rgba(141,46,43,.10), transparent 34%),
    linear-gradient(180deg, #fffdf8 0%, #f5f0e7 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 70px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  color: var(--ink);
}

h1, h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  letter-spacing: -.035em;
}

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  line-height: .98;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: #444139;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--accent-dark);
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
}

.text-link {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 42px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.trust-row span::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}

.hero-card {
  position: relative;
  min-height: 500px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid #cabfad;
  border-radius: 26px;
  background: #d8cbb7;
  box-shadow: var(--shadow);
}

.hero-card-content {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  z-index: 3;
  padding: 28px;
  border-radius: 18px;
  background: rgba(255,253,248,.93);
  backdrop-filter: blur(10px);
}

.hero-card-content h2 {
  font-size: 1.65rem;
  line-height: 1.2;
}

.card-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.hero-card ul {
  padding-left: 18px;
  margin: 14px 0 0;
  color: #504b42;
}

.book-spine {
  position: absolute;
  width: 73%;
  height: 56px;
  left: 13%;
  border-radius: 6px 10px 10px 6px;
  box-shadow: 0 14px 24px rgba(0,0,0,.12);
}

.spine-1 { top: 65px; background: #6b2624; transform: rotate(-4deg); }
.spine-2 { top: 126px; background: #30463e; transform: rotate(2deg); }
.spine-3 { top: 187px; background: #a18b63; transform: rotate(-1deg); }

.section { padding: 100px 0; }

.section-light { background: var(--bg); }

.section-dark {
  background: var(--dark);
  color: white;
}

.section-dark h2,
.section-dark h3 { color: white; }

.section-heading {
  max-width: 850px;
  margin-bottom: 54px;
}

.section-heading.narrow { max-width: 720px; }

.section-heading > p:last-child,
.section-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }

.card,
.mini-card {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
}

.card {
  padding: 28px;
  min-height: 250px;
}

.card p,
.mini-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.number {
  display: block;
  margin-bottom: 56px;
  color: var(--accent);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .1em;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
}

.feature p { margin: 0; color: var(--muted); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tags span {
  padding: 11px 15px;
  border: 1px solid #44443e;
  border-radius: 999px;
  color: #e5e2da;
  font-size: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat strong {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 2.4rem;
  color: var(--accent);
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

.mini-card {
  padding: 22px;
  min-height: 150px;
}

.legal {
  padding-top: 20px;
}

.legal-box {
  padding: 44px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.legal-box h2 { font-size: 2.2rem; }
.legal-box > p { color: var(--muted); margin: 0; }

.contact {
  background: #eee6d9;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
}

.contact-grid > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-note {
  padding-top: 18px;
  border-top: 1px solid #cfc4b2;
}

.contact-form {
  padding: 30px;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid #d9cebc;
}

.contact-form label {
  display: block;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea { resize: vertical; }

.contact-form small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
}

.footer {
  padding: 50px 0 24px;
  background: #11110f;
  color: #d9d6cf;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand { color: white; }

.footer p {
  max-width: 440px;
  color: #8f8d87;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}

.footer-links a {
  color: #d9d6cf;
  text-decoration: none;
}

.copyright {
  display: flex;
  justify-content: space-between;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid #292925;
  color: #77756f;
  font-size: 12px;
}

@media (max-width: 900px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { padding-top: 70px; }
  .hero-grid,
  .split,
  .contact-grid,
  .legal-box {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .hero-card { min-height: 430px; }
  .cards.three { grid-template-columns: 1fr; }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 72px 0; }
  h1 { font-size: 3.2rem; }
  .cards.four { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 8px; }
  .hero-card { min-height: 410px; padding: 20px; }
  .hero-card-content { left: 20px; right: 20px; bottom: 20px; }
  .footer-grid,
  .copyright { flex-direction: column; }
  .footer-links { text-align: left; }
}


.scan-difference {
  background: #fffdf8;
}

.scan-card {
  position: relative;
  overflow: hidden;
}

.scan-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--accent);
  opacity: .75;
}

.preservation-box {
  margin-top: 24px;
  padding: 34px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg);
}

.preservation-box h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.65rem;
  line-height: 1.2;
  margin-bottom: 0;
}

.preservation-box > p {
  margin: 0;
  color: var(--muted);
}

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

.responsible-sourcing {
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .preservation-box {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

@media (max-width: 600px) {
  .expertise .stats {
    grid-template-columns: 1fr;
  }
}
