@import 'tailwindcss';

:root {
  --forest: #0b4a36;
  --forest-deep: #073628;
  --gold: #c7963e;
  --parchment: #f8f2e7;
  --paper: #fffdf8;
  --ink: #173b2f;
  --muted: #617168;
  --line: rgba(11, 74, 54, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 72% 34%, rgba(199,150,62,.16), transparent 28%), linear-gradient(135deg, #fbf7ee 0%, var(--parchment) 65%, #efe2c9 100%);
  padding: 0 clamp(24px, 6vw, 92px) 64px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .24;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E");
}
.nav {
  height: 112px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand img { width: min(310px, 54vw); display: block; }
.nav-contact {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 5px;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(700px, 57vw);
  padding-top: clamp(64px, 11vh, 130px);
}
.eyebrow, .section-kicker {
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 34px; height: 2px; background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 26px 0 28px;
  color: var(--forest);
  font-family: Baskerville, "Iowan Old Style", Georgia, serif;
  font-size: clamp(58px, 7.3vw, 112px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .87;
}
h1 em { color: var(--gold); font-weight: 400; }
.hero-copy {
  max-width: 610px;
  color: var(--muted);
  font-family: Baskerville, Georgia, serif;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.48;
}
.primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 15px 20px;
  border: 1px solid var(--forest);
  color: var(--forest);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  transition: .2s ease;
}
.primary-cta:hover { background: var(--forest); color: var(--paper); transform: translateY(-2px); }
.shelf-scene {
  position: absolute;
  z-index: 0;
  right: clamp(-90px, 1vw, 10px);
  bottom: 0;
  width: min(48vw, 700px);
  height: 78%;
  display: grid;
  place-items: end center;
}
.arch {
  width: 85%;
  height: 92%;
  position: relative;
  border: 1px solid rgba(11,74,54,.14);
  border-bottom: 0;
  border-radius: 48% 48% 0 0;
  background: rgba(255,253,248,.36);
  box-shadow: inset 0 0 80px rgba(11,74,54,.05);
}
.book { position: absolute; bottom: 13%; border-radius: 3px 3px 0 0; box-shadow: 5px 8px 18px rgba(7,54,40,.12); }
.book span {
  position: relative;
  display: inline-flex;
  align-items: center;
  writing-mode: vertical-rl;
  margin: 25px 12px;
  text-shadow: 0 1px 0 rgba(255,255,255,.12);
}
.book span::before,
.book span::after {
  content: "✦";
  font: 7px/1 Georgia, serif;
  opacity: .72;
  margin: 8px 0;
}
.book-one span {
  font: 600 15px/1.1 Palatino, "Palatino Linotype", Baskerville, Georgia, serif;
  letter-spacing: .11em;
}
.book-two span {
  font: italic 16px/1.1 Georgia, "Times New Roman", serif;
  letter-spacing: .08em;
}
.book-three span {
  font: 20px/1.1 "Snell Roundhand", "Apple Chancery", "URW Chancery L", cursive;
  letter-spacing: .04em;
}
.book-four span {
  font: 600 13px/1.1 "Avenir Next Condensed", "Arial Narrow", Helvetica, sans-serif;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.book-one { width: 16%; height: 53%; left: 10%; background: var(--forest); color: #e8d9bc; }
.book-two { width: 14%; height: 62%; left: 29%; background: var(--gold); color: var(--forest-deep); }
.book-three { width: 18%; height: 46%; left: 47%; background: #e7d7b9; color: var(--forest); transform: rotate(-7deg); transform-origin: bottom right; }
.book-four { width: 13%; height: 57%; left: 68%; background: #315e4e; color: #f4e9d5; transform: rotate(5deg); transform-origin: bottom left; }
.bookend { position: absolute; right: 3%; bottom: 10%; color: var(--gold); font: 160px/.7 Baskerville, Georgia, serif; }
.shelf-line { position: absolute; left: 5%; right: 5%; bottom: 10%; height: 10px; background: var(--gold); border-radius: 10px; }

.promise { padding: clamp(90px, 12vw, 170px) clamp(24px, 7vw, 110px); background: var(--paper); }
.section-intro { display: grid; grid-template-columns: .7fr 1.4fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.section-intro h2, .closing h2 { font-family: Baskerville, Georgia, serif; color: var(--forest); font-weight: 500; letter-spacing: -.035em; }
.section-intro h2 { font-size: clamp(42px, 5vw, 72px); line-height: 1.02; }
.section-intro > p:last-child { color: var(--muted); font-size: 17px; line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 90px; border-top: 1px solid var(--line); }
.feature-grid article { padding: 42px clamp(20px, 3vw, 46px) 12px; border-right: 1px solid var(--line); }
.feature-grid article:first-child { padding-left: 0; }
.feature-grid article:last-child { border-right: 0; }
.feature-grid svg { color: var(--gold); width: 28px; height: 28px; margin-bottom: 50px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; }
.feature-grid h3 { color: var(--forest); font: 500 27px/1.2 Baskerville, Georgia, serif; }
.feature-grid p { color: var(--muted); line-height: 1.65; }

.closing { text-align: center; color: var(--paper); background: var(--forest); padding: clamp(85px, 11vw, 150px) 24px; }
.closing img { width: 116px; border-radius: 25px; margin-bottom: 25px; }
.closing > p { color: #d2b879; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.closing h2 { max-width: 780px; margin: 20px auto 35px; color: var(--paper); font-size: clamp(42px, 6vw, 78px); line-height: 1.02; }
.closing a { display: inline-flex; align-items: center; gap: 10px; color: #f0d797; text-decoration: none; font-weight: 700; }
footer { display: flex; justify-content: space-between; gap: 30px; padding: 42px clamp(24px, 6vw, 90px); background: var(--forest-deep); color: #dbe6df; font-size: 13px; }
footer > div { display: flex; gap: 18px; align-items: center; }
footer strong { color: white; font-family: Baskerville, Georgia, serif; font-size: 19px; }
.footer-links a { text-decoration: none; }

.privacy-page { min-height: 100vh; background: var(--paper); color: var(--ink); }
.privacy-page .nav { position: static; }
.privacy-content { width: min(760px, calc(100% - 48px)); margin: 0 auto; padding: clamp(70px, 10vw, 130px) 0 120px; }
.privacy-content h1 { max-width: 700px; margin: 12px 0; color: var(--forest); font: 500 clamp(48px, 7vw, 82px)/.98 Baskerville, Georgia, serif; letter-spacing: -.035em; }
.privacy-updated { margin-bottom: 52px; color: var(--muted); font-size: 14px; }
.privacy-content h2 { margin: 46px 0 12px; color: var(--forest); font: 500 29px/1.2 Baskerville, Georgia, serif; }
.privacy-content > p { color: var(--muted); font-size: 18px; line-height: 1.75; }
.privacy-content a { color: var(--forest); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.privacy-back { display: inline-block; margin-top: 58px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 850px) {
  .nav { height: 90px; }
  .nav-contact { display: none; }
  .hero { min-height: auto; padding-bottom: 0; }
  .hero-content { width: 100%; padding: 70px 0 72px; }
  h1 { font-size: clamp(56px, 17vw, 86px); }
  .shelf-scene { position: relative; width: calc(100% + 48px); right: 24px; height: 520px; }
  .arch { width: min(520px, 95%); }
  .section-intro { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; margin-top: 55px; }
  .feature-grid article { border-right: 0; border-bottom: 1px solid var(--line); padding: 34px 0; }
  .feature-grid article:nth-child(odd) { padding-right: 20px; }
  .feature-grid article:nth-child(even) { padding-left: 20px; }
  .feature-grid svg { margin-bottom: 25px; }
  footer, footer > div { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article:nth-child(n) { padding-left: 0; padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
