@import url('https://fonts.googleapis.com/css2?family=Alegreya:wght@400;500;700;800&family=Barlow+Condensed:wght@500;700&display=swap');

:root {
  --bg: #edf5ed;
  --paper: #fcfffc;
  --ink: #1c2b1c;
  --muted: #556755;
  --accent: #0a5f0a;
  --accent-2: #5aa05a;
  --line: #d5e6d5;
  --shadow: 0 12px 30px rgba(10, 56, 10, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Alegreya', Georgia, serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, rgba(90, 160, 90, 0.16), transparent 34%),
    radial-gradient(circle at 85% 12%, rgba(10, 95, 10, 0.12), transparent 30%),
    linear-gradient(180deg, #f7fbf7 0%, var(--bg) 42%, #e3efe3 100%);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(6px);
  background: rgba(246, 252, 246, 0.92);
  border-bottom: 1px solid rgba(10, 95, 10, 0.14);
}

.nav-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.35rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  line-height: 1;
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links a {
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(10, 95, 10, 0.12);
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.2rem 1rem 3rem;
}

.hero {
  margin-top: 0.8rem;
  background: linear-gradient(125deg, #0a5f0a 0%, #1d7a1d 100%);
  color: #fff8eb;
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero:after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  right: -80px;
  top: -90px;
  background: radial-gradient(circle, rgba(146, 214, 146, 0.28), transparent 70%);
}

.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: 'Barlow Condensed', sans-serif;
  color: #d8f2d8;
  font-size: 0.9rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.6rem;
  line-height: 1.15;
}

h1 {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
}

h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.25rem);
}

.hero p {
  max-width: 62ch;
  margin: 0 0 1rem;
  color: #e7f6e7;
}

.hero-with-media {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 1rem;
  align-items: center;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 240, 210, 0.34);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.62rem 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(90deg, #5aa05a, #92c892);
  color: #0f2f0f;
  box-shadow: 0 5px 16px rgba(90, 160, 90, 0.32);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff8eb;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.card .btn-secondary {
  background: #eaf6ea;
  color: #1f3a1f;
  border: 1px solid #9ec79e;
  box-shadow: none;
}

.card .btn-secondary:hover {
  background: #dff0df;
}

.btn-disabled {
  background: #d6e2d6;
  color: #758575;
  cursor: not-allowed;
  opacity: 0.7;
  display: inline-block;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-disabled:hover {
  transform: none;
}

.grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: 0 8px 20px rgba(40, 25, 10, 0.08);
}

.card p {
  margin-top: 0;
}

.author-block {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0.9rem;
  align-items: center;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(140deg, #1f6d1f, #76b176);
  border: 3px solid #eff8ef;
  box-shadow: 0 6px 16px rgba(18, 53, 18, 0.23);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #eff8ef;
}

.book-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.book-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem;
  background: #f7fbf7;
}

.book-item strong {
  display: block;
}

.book-item .tiny {
  color: var(--muted);
  font-size: 0.95rem;
}

.book-hook {
  margin: 0 0 0.9rem;
  padding: 0.8rem 0.9rem;
  border-left: 4px solid var(--accent);
  background: #f4fbf4;
  border-radius: 0 10px 10px 0;
  color: #294229;
}

.book-hook strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.book-questions {
  margin: 0 0 0.9rem;
  padding-left: 1.2rem;
}

.book-questions li {
  margin: 0 0 0.45rem;
}

.split {
  margin-top: 1.15rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.small-note {
  color: var(--muted);
}

.excerpt {
  border-left: 3px solid var(--accent-2);
  padding-left: 0.85rem;
  margin-bottom: 0.9rem;
}

.excerpt h4 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.excerpt p {
  margin: 0;
}

.contact-layout {
  margin-top: 1.15rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1.1fr;
  align-items: stretch;
}

.contact-photo-card,
.contact-form-card {
  display: flex;
  flex-direction: column;
}

.contact-photo {
  margin: 0.25rem 0 0.5rem;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 0.55rem;
}

.contact-form label {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.88rem;
  color: #2a462a;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #b8d4b8;
  border-radius: 10px;
  background: #f8fcf8;
  color: var(--ink);
  padding: 0.62rem 0.72rem;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(90, 160, 90, 0.32);
  border-color: #6aa96a;
}

.contact-form .btn {
  margin-top: 0.4rem;
  justify-self: start;
}

.form-status {
  display: none;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.form-status.show {
  display: block;
}

.form-status.error {
  background: #fff2f2;
  border: 1px solid #efb8b8;
  color: #7a1f1f;
}

.form-status.info {
  background: #f1f8f1;
  border: 1px solid #bad7ba;
  color: #214321;
}

.fade-up {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s ease forwards;
}

.fade-up:nth-child(2) {
  animation-delay: 0.08s;
}

.fade-up:nth-child(3) {
  animation-delay: 0.14s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  max-width: 1120px;
  margin: 1rem auto 2rem;
  padding: 0 1rem;
}

.footer-inner {
  background: #f2faf2;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.2fr 1fr 1fr;
  box-shadow: 0 8px 20px rgba(40, 25, 10, 0.06);
}

.footer-panel h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.55rem;
}

.footer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-mission {
  margin: 0;
  color: #2a462a;
}

.footer-links,
.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.footer-links a {
  color: #1f3a1f;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact li {
  color: #2a462a;
}

.footer-contact a {
  color: #1f3a1f;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  line-height: 1.2;
}

.footer-contact .social-link .social-icon {
  width: 1em;
  height: 1em;
  min-width: 16px;
  min-height: 16px;
  max-width: 16px;
  max-height: 16px;
  display: block;
  fill: currentColor;
  flex: 0 0 auto;
}

.footer-meta {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  display: inline;
}

.footer-credit {
  margin: 0 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  display: inline;
}

.site-footer {
  text-align: center;
}

.footer-credit a {
  color: inherit;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: #d9cb7a;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.footer-credit a:hover {
  color: #465b46;
  text-decoration-color: #c8b867;
}


.book-cover {
  width: 120px;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 8px;
  display: block;
}
@media (max-width: 860px) {
  .grid,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 0.95rem;
    gap: 0.9rem;
  }

  .footer-logo {
    width: 60px;
    height: 60px;
  }

  .footer-panel h3 {
    margin-bottom: 0.35rem;
  }

  .footer-mission,
  .footer-meta,
  .footer-contact,
  .footer-links {
    font-size: 0.95rem;
  }

  .footer-meta,
  .footer-credit {
    display: block;
    margin-top: 0.25rem;
  }

  .footer-contact .social-link .social-icon {
    min-width: 14px;
    min-height: 14px;
    max-width: 14px;
    max-height: 14px;
  }

  .social-link {
    gap: 0.3rem;
  }

  .hero-with-media {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 1.4rem;
  }

  .contact-photo img {
    min-height: 240px;
  }
}





