:root {
  --ink: #1f1d1a;
  --muted: #665d51;
  --paper: #f6efdf;
  --paper-deep: #e7d8bc;
  --line: rgba(103, 75, 48, .22);
  --terracotta: #784d3d;
  --gold: #c79746;
  --night: #102237;
  --night-soft: #19334d;
  --cream: #fff9ed;
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin: auto; }
.eyebrow { color: var(--terracotta); font-size: .72rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.site-header { position: relative; z-index: 2; border-bottom: 1px solid rgba(255,255,255,.15); color: var(--cream); background: var(--night); }
.nav { min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); font: 400 1.36rem var(--display); text-decoration: none; letter-spacing: -.03em; }
.brand-mark { width: 34px; height: 34px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: .9rem; }
.nav-links a { color: rgba(255,249,237,.78); text-decoration: none; }
.nav-links a:hover { color: white; }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; font-size: .92rem; font-weight: 700; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.nav-cta { color: var(--night) !important; background: #f1c767; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff9ed; background: var(--terracotta); box-shadow: 0 10px 22px rgba(70,36,27,.17); }
.button-outline { color: var(--cream); border: 1px solid rgba(255,249,237,.5); }

.hero { color: var(--cream); overflow: hidden; background: var(--night); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; min-height: 610px; padding: 72px 0; }
.hero-copy { position: relative; z-index: 1; }
.hero .eyebrow { color: #f0c766; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -.045em; }
h1 { max-width: 680px; font-size: clamp(3.25rem, 7vw, 6rem); line-height: .96; }
.hero p { max-width: 560px; margin: 26px 0 32px; color: rgba(255,249,237,.79); font-size: 1.08rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-art { position: relative; min-height: 430px; }
.hero-art::before { content: ""; position: absolute; inset: 5% 0; border-radius: 28px; background: radial-gradient(circle at 50% 38%, rgba(203,152,70,.22), transparent 65%); }
.hero-book-render { position: absolute; z-index: 1; inset: 6% 0 4% 3%; width: 97%; height: 90%; object-fit: cover; border: 1px solid rgba(246,225,180,.26); box-shadow: 0 25px 40px rgba(0,0,0,.38); }
.hero-quote { position: absolute; z-index: 2; left: 5%; bottom: 14%; width: min(290px, 64%); margin: 0; padding: 20px; border: 1px solid rgba(246,225,180,.32); background: rgba(15,34,55,.68); backdrop-filter: blur(8px); color: #fff8e7; font: italic 1.26rem/1.35 var(--display); }

.intro { padding: 106px 0; background: linear-gradient(115deg, #fbf5e9, #ece0ca); }
.intro-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 72px; }
.intro h2, .experience h2, .author h2, .legal h1 { font-size: clamp(2.45rem, 4.5vw, 4.1rem); line-height: 1; }
.intro p, .author p { color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.intro .lead { margin: 0; color: #3b342c; font: 1.75rem/1.38 var(--display); }
.rule { width: 66px; height: 1px; margin: 28px 0; background: var(--gold); }

.experience { padding: 105px 0; background: var(--night); color: var(--cream); }
.experience-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.experience-heading p { max-width: 430px; margin: 0; color: rgba(255,249,237,.68); line-height: 1.65; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { min-height: 238px; padding: 27px; border: 1px solid rgba(246,225,180,.22); background: linear-gradient(140deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); }
.card-number { color: #edc56d; font-size: .75rem; letter-spacing: .14em; }
.card h3 { margin: 50px 0 12px; font-size: 1.7rem; }
.card p { margin: 0; color: rgba(255,249,237,.7); font-size: .94rem; line-height: 1.65; }

.author { padding: 110px 0; background: var(--paper); }
.author-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: center; }
.portrait-wrap { position: relative; }
.portrait-wrap::after { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--gold); z-index: 0; }
.portrait { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 4.7; object-fit: cover; filter: saturate(.85) sepia(.08); }
.author h2 { margin: 13px 0 22px; }
.author-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.author-links .button-outline { color: var(--terracotta); border-color: var(--terracotta); }

.final-cta { padding: 112px 0; text-align: center; background: var(--paper-deep); }
.final-cta h2 { max-width: 760px; margin: 14px auto 20px; font-size: clamp(2.7rem, 5vw, 4.7rem); line-height: .98; }
.final-cta p { max-width: 560px; margin: 0 auto 32px; color: var(--muted); line-height: 1.7; }
.site-footer { padding: 44px 0; background: #342a24; color: rgba(255,248,233,.7); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: .84rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: white; }
.copyright { font-size: .78rem; }

.legal-page { min-height: 100vh; background: linear-gradient(135deg, #faf4e8, #e9dcc5); }
.legal { max-width: 790px; padding: 86px 0 110px; }
.legal .eyebrow { margin-bottom: 18px; }
.legal h1 { margin-bottom: 16px; }
.legal .updated { color: var(--muted); font-size: .9rem; }
.legal h2 { margin: 42px 0 12px; font-size: 1.65rem; }
.legal p, .legal li { color: #51493f; font-size: 1rem; line-height: 1.72; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--terracotta); }
.support-card { margin-top: 34px; padding: 30px; border: 1px solid var(--line); background: rgba(255,250,240,.62); }

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 560px); }
  .nav { min-height: 62px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta { min-height: 38px; padding: 0 14px; font-size: .8rem; }
  .hero-grid, .intro-grid, .author-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 5px; min-height: auto; padding: 68px 0 28px; }
  h1 { font-size: clamp(3.1rem, 15vw, 4.8rem); }
  .hero-art { min-height: 300px; margin-top: 12px; }
  .hero-book-render { inset: 4% 0 8% 0; width: 100%; height: 87%; }
  .hero-quote { left: 0; bottom: 12%; font-size: 1.05rem; }
  .intro, .experience, .author, .final-cta { padding: 72px 0; }
  .intro-grid, .author-grid { gap: 35px; }
  .experience-heading { display: block; }
  .experience-heading p { margin-top: 18px; }
  .cards { grid-template-columns: 1fr; }
  .portrait-wrap { width: min(100%, 340px); }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}
