:root {
  --navy: #17263c;
  --blue: #2f5f8f;
  --gold: #c89b4a;
  --cream: #f6f1e8;
  --white: #ffffff;
  --text: #26313d;
  --muted: #66717d;
  --border: #dfe5eb;
  --shadow: 0 18px 45px rgba(20, 37, 59, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(23, 38, 60, 0.97);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .02em;
}
.nav { display: flex; flex-wrap: wrap; gap: 20px; }
.nav a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-size: .95rem;
}
.nav a:hover { color: #fff; }

.hero {
  background:
    radial-gradient(circle at top right, rgba(200,155,74,.24), transparent 32%),
    linear-gradient(135deg, #17263c, #294a6d);
  color: #fff;
  padding: 88px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 64px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  font-size: .78rem;
  color: #e9c985;
  margin: 0 0 12px;
}
h1, h2, h3 { line-height: 1.15; margin-top: 0; color: var(--navy); }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.8rem); margin-bottom: 20px; }
.hero p { color: rgba(255,255,255,.84); font-size: 1.12rem; max-width: 680px; }
.hero-image img {
  max-height: 490px;
  margin: 0 auto;
  filter: drop-shadow(0 22px 34px rgba(0,0,0,.35));
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: .2s ease;
}
.btn-primary { background: var(--gold); color: #17263c; }
.btn-primary:hover { transform: translateY(-2px); background: #d6ad62; }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: var(--border); }

.section { padding: 78px 0; }
.section-alt { background: #f7f9fb; }
.section-cream { background: var(--cream); }
.section-title { max-width: 760px; margin-bottom: 34px; }
.section-title h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 14px; }
.section-title p { color: var(--muted); font-size: 1.05rem; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card-body { padding: 30px; }
.card-image { background: #eef2f6; padding: 34px; }
.card-image img { max-height: 390px; margin: 0 auto; }
.card h3 { font-size: 1.65rem; margin-bottom: 12px; }
.card p { color: var(--muted); }

.book-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.book-cover {
  background: #f2f5f8;
  border-radius: 24px;
  padding: 38px;
  position: sticky;
  top: 110px;
}
.book-cover img { max-height: 560px; margin: 0 auto; filter: drop-shadow(0 18px 25px rgba(0,0,0,.2)); }
.book-content h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.book-content .lead { font-size: 1.15rem; color: var(--muted); }
.feature-list { padding-left: 20px; }
.feature-list li { margin: 9px 0; }
.purchase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0; }
.purchase-box {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 16px;
  padding: 20px;
}
.purchase-box strong { display: block; font-size: 1.08rem; color: var(--navy); }
.price { color: var(--blue); font-weight: 700; margin: 6px 0 14px; }
.quote {
  border-left: 4px solid var(--gold);
  background: #fbf7ef;
  padding: 22px 26px;
  border-radius: 0 16px 16px 0;
  margin: 28px 0;
}

.author-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 48px; align-items: center; }
.author-grid img { border-radius: 20px; box-shadow: var(--shadow); }
.cta {
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { color: rgba(255,255,255,.78); margin: 0; }

.site-footer { background: #111c2b; color: rgba(255,255,255,.72); padding: 34px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: #fff; text-decoration: none; }

@media (max-width: 860px) {
  .hero-grid, .book-layout, .author-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0; }
  .hero-image { order: -1; }
  .hero-image img { max-height: 360px; }
  .book-cover { position: static; }
  .purchase-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .header-inner { min-height: 68px; align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .nav { gap: 12px 16px; }
  .section { padding: 58px 0; }
  .container { width: min(100% - 28px, 1120px); }
}

/* Contact page */
.page-hero {
  background: linear-gradient(135deg, #17263c, #294a6d);
  color: #fff;
  padding: 72px 0;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  margin-bottom: 16px;
}
.page-hero p:not(.eyebrow) {
  color: rgba(255,255,255,.82);
  font-size: 1.1rem;
  max-width: 720px;
}
.narrow { max-width: 900px; }
.contact-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact-copy h2 { font-size: clamp(2rem, 4vw, 3rem); }
.contact-copy > p { color: var(--muted); font-size: 1.05rem; }
.contact-note {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 0 16px 16px 0;
  padding: 24px 28px;
  margin-top: 30px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 34px;
}
.contact-form { display: grid; gap: 20px; }
.form-row.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { display: grid; gap: 8px; }
.form-group label { color: var(--navy); font-weight: 700; }
.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid #cbd4de;
  border-radius: 10px;
  background: #fff;
  color: #17263c;
  font: inherit;
  padding: 13px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group textarea { resize: vertical; min-height: 170px; }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,127,183,.14);
}
.form-submit { border: 0; cursor: pointer; width: fit-content; }
.form-help { color: var(--muted); font-size: .9rem; margin: -8px 0 0; }
.form-alert {
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 22px;
  font-weight: 600;
}
.form-success { background: #e9f7ee; border: 1px solid #a8d8b8; color: #205f37; }
.form-error { background: #fff0f0; border: 1px solid #e7b2b2; color: #8a2525; }
.website-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .form-row.two-column { grid-template-columns: 1fr; }
  .contact-card { padding: 24px; }
  .page-hero { padding: 56px 0; }
}

/* Refined contact page */
.contact-hero-new {
  position: relative;
  overflow: hidden;
  background: linear-gradient(105deg, #fbfaf7 0%, #f8f6f1 58%, #ece7dc 100%);
  border-bottom: 1px solid #e2e4e8;
}
.contact-hero-inner {
  min-height: 285px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 30px;
}
.contact-hero-copy { position: relative; z-index: 2; padding: 52px 0; }
.contact-hero-copy h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 14px;
  letter-spacing: -.02em;
}
.contact-hero-copy p:not(.eyebrow) { max-width: 690px; color: #4e5966; font-size: 1.08rem; }
.contact-hero-art { position: relative; height: 285px; }
.hero-paper {
  position: absolute;
  right: 2%;
  bottom: -40px;
  width: 390px;
  height: 210px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(145deg, #fff, #f5f0e6);
  border: 1px solid rgba(23,38,60,.08);
  box-shadow: 0 24px 50px rgba(23,38,60,.12);
  transform: rotate(-4deg);
}
.hero-paper::after {
  content: '';
  position: absolute;
  inset: 26px 34px;
  background: repeating-linear-gradient(to bottom, transparent 0 26px, rgba(23,38,60,.08) 27px 28px);
}
.hero-pen {
  position: absolute;
  right: 16%;
  top: 108px;
  width: 250px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #102139 0 70%, #c89b4a 70% 78%, #0d1c2e 78% 90%, #d9b86b 90%);
  box-shadow: 0 8px 14px rgba(23,38,60,.2);
  transform: rotate(-12deg);
  z-index: 2;
}
.hero-circle {
  position: absolute;
  right: -100px;
  top: -110px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: rgba(200,155,74,.09);
}
.contact-section-new { padding: 68px 0 72px; background: #fff; }
.contact-grid-new {
  display: grid;
  grid-template-columns: .78fr 1.42fr;
  gap: 52px;
  align-items: start;
}
.contact-sidebar { padding: 12px 0; }
.contact-sidebar h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  margin-bottom: 18px;
}
.contact-intro { color: #4f5b68; font-size: 1.02rem; }
.contact-divider { height: 1px; background: linear-gradient(90deg, var(--gold), rgba(200,155,74,.14)); margin: 28px 0; }
.contact-info-block { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.contact-icon,
.contact-detail-icon,
.contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fbf2df;
  color: #c89332;
  font-weight: 700;
}
.contact-icon { width: 42px; height: 42px; font-size: 1.35rem; }
.contact-info-block h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.25rem; margin: 6px 0 12px; }
.contact-check-list { list-style: none; padding: 0; margin: 0; }
.contact-check-list li { position: relative; padding-left: 26px; margin: 10px 0; color: #384554; }
.contact-check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #d39c37; font-weight: 700; }
.contact-details { display: grid; gap: 16px; }
.contact-detail-row { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; }
.contact-detail-icon { width: 38px; height: 38px; font-size: 1rem; }
.contact-detail-row strong { display: block; color: var(--navy); }
.contact-detail-row span:not(.contact-detail-icon) { display: block; color: #586472; font-size: .94rem; }
.contact-form-card-new {
  background: #fff;
  border: 1px solid #e2e6eb;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(23,38,60,.1);
  padding: 34px;
}
.contact-card-heading { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.contact-card-icon { width: 48px; height: 48px; font-size: 1.3rem; }
.contact-card-heading h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 2rem; margin: 0 0 8px; }
.gold-rule { display: block; width: 28px; height: 2px; background: var(--gold); }
.contact-form-new { display: grid; gap: 20px; }
.form-row-new { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field-new { display: grid; gap: 7px; }
.form-field-new label { color: #283647; font-size: .93rem; font-weight: 700; }
.form-field-new label span { color: #a34a3f; }
.form-field-new input,
.form-field-new textarea {
  width: 100%;
  border: 1px solid #cfd6df;
  border-radius: 7px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  padding: 13px 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-field-new input::placeholder,
.form-field-new textarea::placeholder { color: #8b95a1; }
.form-field-new textarea { min-height: 165px; resize: vertical; }
.form-field-new input:focus,
.form-field-new textarea:focus {
  outline: none;
  border-color: #b88732;
  box-shadow: 0 0 0 3px rgba(200,155,74,.16);
  background: #fffdfa;
}
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-submit-new {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #18304f, #10243d);
  color: #fff;
  padding: 13px 22px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(23,38,60,.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-submit-new:hover { transform: translateY(-2px); box-shadow: 0 11px 22px rgba(23,38,60,.24); }
.privacy-note { margin: -2px 0 0; color: #626d79; font-size: .88rem; }
.contact-bottom-cta { background: linear-gradient(110deg, #10233b, #17365c); color: #fff; padding: 26px 0; }
.contact-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.contact-bottom-copy { display: flex; align-items: center; gap: 22px; }
.book-symbol { color: #e7b95d; font-size: 3rem; line-height: 1; }
.contact-bottom-copy h2 { color: #fff; font-family: Georgia, 'Times New Roman', serif; margin: 0 0 5px; font-size: 1.65rem; }
.contact-bottom-copy p { margin: 0; color: rgba(255,255,255,.82); }
.contact-books-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border: 2px solid #d6a343;
  border-radius: 7px;
  color: #f2c665;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .83rem;
  font-weight: 700;
  padding: 12px 20px;
  white-space: nowrap;
}
.contact-books-button:hover { background: rgba(214,163,67,.1); }

@media (max-width: 900px) {
  .contact-hero-inner,
  .contact-grid-new { grid-template-columns: 1fr; }
  .contact-hero-art { display: none; }
  .contact-grid-new { gap: 34px; }
  .contact-bottom-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  .contact-hero-inner { min-height: 0; }
  .contact-hero-copy { padding: 44px 0; }
  .contact-section-new { padding: 48px 0; }
  .contact-form-card-new { padding: 24px 20px; }
  .form-row-new { grid-template-columns: 1fr; }
  .contact-card-heading h2 { font-size: 1.7rem; }
  .contact-bottom-copy { align-items: flex-start; }
}
