@import url('https://fonts.googleapis.com/css2?family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* =====================
   CSS VARIABLES
   ===================== */
:root {
  --color-bg: #FAF6F1;
  --color-primary: #8B2020;
  --color-primary-dark: #6B1818;
  --color-accent: #C4973B;
  --color-accent-light: #E8C97A;
  --color-text: #2C1A0E;
  --color-text-light: #6B4E35;
  --color-border: #D4B896;
  --color-border-light: #EAD9C4;
  --color-white: #FFFFFF;
  --color-placeholder-bg: #D4B896;

  --font-heading: 'Philosopher', Georgia, serif;
  --font-body: 'Philosopher', Georgia, serif;

  --container-max: 1200px;
  --section-gap: 5rem;
  --transition: 0.3s ease;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(44, 26, 14, 0.1);
  --shadow-hover: 0 8px 32px rgba(44, 26, 14, 0.18);
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse at 15% 40%, rgba(196, 151, 59, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 70%, rgba(139, 32, 32, 0.04) 0%, transparent 55%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent);
}

ul {
  list-style: none;
}

/* =====================
   UTILITIES
   ===================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-gap) 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-text-light);
  font-style: italic;
  margin-bottom: 2.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Ornamental divider */
.ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.75rem auto 2rem;
  max-width: 280px;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-accent));
}

.ornament::after {
  background: linear-gradient(to left, transparent, var(--color-accent));
}

.ornament-symbol {
  color: var(--color-accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.section-ornament::before,
.section-ornament::after {
  content: '';
  width: 80px;
  height: 1px;
  background: var(--color-border);
}

.section-ornament span {
  color: var(--color-accent);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  letter-spacing: 0.04em;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 32, 32, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-accent:hover {
  background-color: #a67e28;
  border-color: #a67e28;
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn-white-outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.55);
}

.btn-white-outline:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-sm {
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* =====================
   HEADER
   ===================== */
.site-header {
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(44, 26, 14, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.site-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  transition: color var(--transition);
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--color-text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-logo:hover .logo-name {
  color: var(--color-accent);
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-list a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  letter-spacing: 0.03em;
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--color-primary);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: calc(100% - 1.6rem);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.nav-toggle:hover {
  background: rgba(139, 32, 32, 0.08);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =====================
   FOOTER
   ===================== */
.site-footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 0;
  margin-top: var(--section-gap);
  border-top: 3px solid var(--color-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.footer-brand img {
  margin-bottom: 1rem;
  max-height: 70px;
  width: auto;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.25rem;
}

.back-to-kmn {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent-light);
  border: 1px solid rgba(232, 201, 122, 0.4);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.back-to-kmn:hover {
  background: rgba(232, 201, 122, 0.15);
  color: var(--color-accent-light);
  border-color: var(--color-accent-light);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(212, 184, 150, 0.25);
  letter-spacing: 0.04em;
}

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--color-accent-light);
}

.footer-col address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col address a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-col address a:hover {
  color: var(--color-accent-light);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* =====================
   PAGE HERO (inner pages)
   ===================== */
.page-hero {
  background-color: var(--color-primary);
  background-image:
    radial-gradient(ellipse at 30% 70%, rgba(0,0,0,0.25) 0%, transparent 60%),
    repeating-linear-gradient(
      0deg, transparent, transparent 40px,
      rgba(255,255,255,0.015) 40px, rgba(255,255,255,0.015) 41px
    ),
    repeating-linear-gradient(
      90deg, transparent, transparent 40px,
      rgba(255,255,255,0.015) 40px, rgba(255,255,255,0.015) 41px
    );
  color: var(--color-white);
  text-align: center;
  padding: 4rem 1.5rem 3.5rem;
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.page-hero p {
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 600px;
  margin: 0 auto;
}

/* =====================
   HOMEPAGE HERO — BOOK COVER
   ===================== */
.hero {
  background-color: var(--color-primary);
  background-image:
    radial-gradient(ellipse at 80% 20%, rgba(196, 151, 59, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(0,0,0,0.3) 0%, transparent 55%),
    repeating-linear-gradient(
      45deg, transparent, transparent 60px,
      rgba(0,0,0,0.012) 60px, rgba(0,0,0,0.012) 61px
    ),
    repeating-linear-gradient(
      -45deg, transparent, transparent 60px,
      rgba(0,0,0,0.012) 60px, rgba(0,0,0,0.012) 61px
    );
  color: var(--color-white);
  padding: 2.5rem;
  position: relative;
}

/* Book frame */
.hero-frame {
  position: relative;
  border: 1.5px solid rgba(196, 151, 59, 0.65);
  padding: 3.5rem 4rem 3rem;
  text-align: center;
}

.hero-frame::before {
  content: '';
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(196, 151, 59, 0.3);
  pointer-events: none;
}

/* Corner ornaments */
.hero-corner {
  position: absolute;
  width: 44px;
  height: 44px;
  z-index: 2;
}

.hero-corner::before,
.hero-corner::after {
  content: '';
  position: absolute;
  background: rgba(196, 151, 59, 0.78);
}

/* Horizontal arm */
.hero-corner::before { width: 100%; height: 1.5px; }
/* Vertical arm */
.hero-corner::after  { width: 1.5px; height: 100%; }

.hero-corner--tl { top: -1px; left: -1px; }
.hero-corner--tl::before { top: 0; left: 0; }
.hero-corner--tl::after  { top: 0; left: 0; }

.hero-corner--tr { top: -1px; right: -1px; }
.hero-corner--tr::before { top: 0; right: 0; }
.hero-corner--tr::after  { top: 0; right: 0; }

.hero-corner--bl { bottom: -1px; left: -1px; }
.hero-corner--bl::before { bottom: 0; left: 0; }
.hero-corner--bl::after  { bottom: 0; left: 0; }

.hero-corner--br { bottom: -1px; right: -1px; }
.hero-corner--br::before { bottom: 0; right: 0; }
.hero-corner--br::after  { bottom: 0; right: 0; }

/* Diamond dot at each corner peak */
.hero-corner-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  background: rgba(196, 151, 59, 0.9);
  transform: rotate(45deg);
}

.hero-corner--tl .hero-corner-dot { top: -5px; left: -5px; }
.hero-corner--tr .hero-corner-dot { top: -5px; right: -5px; }
.hero-corner--bl .hero-corner-dot { bottom: -5px; left: -5px; }
.hero-corner--br .hero-corner-dot { bottom: -5px; right: -5px; }

/* Side center ornaments */
.hero-side-ornament {
  position: absolute;
  color: rgba(196, 151, 59, 0.6);
  font-size: 1.1rem;
  z-index: 2;
  line-height: 1;
}

.hero-side-ornament--t {
  top: -0.6rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero-side-ornament--b {
  bottom: -0.6rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero-side-ornament--l {
  left: -0.55rem;
  top: 50%;
  transform: translateY(-50%);
}

.hero-side-ornament--r {
  right: -0.55rem;
  top: 50%;
  transform: translateY(-50%);
}

/* Hero inner content */
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.hero-logo {
  max-width: min(680px, 90%);
  width: 100%;
  height: auto;
  margin: 0 auto 1.5rem;
  /* ensure PNG is visible on dark bg */
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.4));
}

.hero-rule {
  width: 120px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  margin: 0 auto 1.25rem;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================
   BIOGRAPHY SECTION
   ===================== */
.bio-section {
  padding: var(--section-gap) 0;
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: center;
}

.bio-text .section-title {
  margin-bottom: 0.75rem;
}

.bio-text .ornament {
  margin: 0.75rem 0 1.75rem;
  max-width: 220px;
}

.bio-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 1.2rem;
}

.bio-text p:first-of-type::first-letter {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-primary);
  float: left;
  line-height: 0.8;
  margin: 0.1em 0.12em 0 0;
  padding: 0.05em 0;
}

.bio-image-wrap {
  position: relative;
}

.bio-image-wrap::before {
  content: '';
  position: absolute;
  inset: -12px -12px 12px 12px;
  border: 2px solid var(--color-accent);
  opacity: 0.4;
  z-index: 0;
  border-radius: var(--radius);
}

.bio-image {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.bio-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center top;
}

/* =====================
   BIOGRAPHY PAGE
   ===================== */
.bio-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem var(--section-gap);
}

.bio-page-img {
  float: right;
  width: 280px;
  margin: 0 0 2rem 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.bio-page-img::before {
  content: '';
  position: absolute;
  inset: -8px -8px 8px 8px;
  border: 1.5px solid var(--color-accent);
  opacity: 0.45;
  z-index: 0;
}

.bio-page-img img {
  width: 100%;
  position: relative;
  z-index: 1;
}

.bio-page h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--color-border-light);
}

.bio-page h2:first-of-type {
  margin-top: 2rem;
}

.bio-page p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: 1.2rem;
}

.bio-page p:first-of-type::first-letter {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--color-primary);
  float: left;
  line-height: 0.8;
  margin: 0.1em 0.12em 0 0;
}

.bio-page .source-note {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-style: italic;
}

/* =====================
   IMAGE PLACEHOLDER
   ===================== */
.img-placeholder {
  background-color: var(--color-placeholder-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(44, 26, 14, 0.4);
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

/* =====================
   BOOKS GRID
   ===================== */
.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.books-grid.grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.book-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--color-border-light);
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.book-cover {
  position: relative;
  overflow: hidden;
  background-color: var(--color-placeholder-bg);
  aspect-ratio: 1 / 1;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.book-card:hover .book-cover img {
  transform: scale(1.04);
}

.book-info {
  padding: 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.book-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
  margin-bottom: auto;
  padding-bottom: 0.9rem;
}

.book-info .btn {
  margin-top: 0.9rem;
  width: 100%;
  text-align: center;
}

/* =====================
   VIDEO GRID
   ===================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.video-grid.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.video-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background-color: #1a0a0a;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary-dark), #3a0f0f);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-style: italic;
  font-size: 0.9rem;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem;
}

.video-placeholder-icon {
  font-size: 2.5rem;
  color: rgba(255,255,255,0.2);
  line-height: 1;
}

.video-info {
  padding: 1rem 1.1rem;
}

.video-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
}

/* =====================
   VIDEO PAGE SUBSECTIONS
   ===================== */
.video-section {
  margin-bottom: 4rem;
}

.video-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-border-light);
}

.video-section-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.video-section-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.video-section-link:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

/* =====================
   NEWS / BLOG CARDS
   ===================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.news-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.news-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--color-placeholder-bg);
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-img img {
  transform: scale(1.04);
}

.news-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 0.78rem;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.news-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.news-excerpt {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.1rem;
}

.news-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition), color var(--transition);
  margin-top: auto;
}

.news-link:hover {
  gap: 0.6rem;
  color: var(--color-accent);
}

/* =====================
   PAGINATION
   ===================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: all var(--transition);
}

.pagination a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(139, 32, 32, 0.05);
}

.pagination .current {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
}

.pagination .ellipsis {
  border-color: transparent;
  background: transparent;
  color: var(--color-text-light);
}

/* =====================
   SECTION SEPARATORS
   ===================== */
.section-sep {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 400px;
  margin: 0 auto;
  padding: 1rem 0;
}

.section-sep::before,
.section-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.section-sep-symbol {
  color: var(--color-accent);
  font-size: 0.9rem;
  letter-spacing: 0.4rem;
  flex-shrink: 0;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .books-grid.grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }

  .bio-grid {
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .hero-frame {
    padding: 3rem 2.5rem 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 3.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
    border-bottom: 2px solid var(--color-primary);
    padding: 1rem 1.5rem 1.5rem;
    display: none;
    box-shadow: 0 8px 20px rgba(44,26,14,0.12);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    width: 100%;
  }

  .nav-list a {
    display: block;
    width: 100%;
    padding: 0.65rem 0.5rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--color-border-light);
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .nav-list a::after {
    display: none;
  }

  .hero {
    padding: 1.5rem;
  }

  .hero-frame {
    padding: 2.5rem 1.5rem 2rem;
  }

  .hero-logo {
    max-width: min(460px, 85%);
  }

  .hero-corner {
    width: 36px;
    height: 36px;
  }

  .hero-corner svg {
    width: 36px;
    height: 36px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .bio-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bio-image-wrap {
    max-width: 300px;
    margin: 0 auto;
  }

  .bio-image img {
    height: 340px;
  }

  .bio-page-img {
    float: none;
    width: 100%;
    margin: 0 0 2rem 0;
    max-width: 300px;
  }

  .books-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

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

  .video-grid,
  .video-grid.grid-2 {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .video-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .books-grid,
  .books-grid.grid-4 {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* =====================
   SCROLLBAR
   ===================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-border-light); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: white;
  font-size: 0.85rem;
  z-index: 9999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* =====================
   HEADER LOGO IMAGE
   ===================== */
.site-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* =====================
   VIDEO GALLERY – CAROUSEL
   ===================== */

.gallery-nav-bar {
  background: var(--color-text);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-bottom: 2px solid var(--color-primary);
}

.gallery-nav-bar::-webkit-scrollbar {
  display: none;
}

.gallery-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  min-width: max-content;
}

.gallery-nav-list a {
  display: block;
  padding: 0.85rem 1.1rem;
  color: var(--color-border);
  text-decoration: none;
  font-size: 0.8rem;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  border-bottom: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.gallery-nav-list a:hover {
  color: var(--color-accent-light);
  border-bottom-color: var(--color-accent);
}

.video-gallery-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-border-light);
}

.video-gallery-section:last-child {
  border-bottom: none;
  padding-bottom: 4rem;
}

.gallery-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--color-accent);
  line-height: 1.3;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-track-outer {
  overflow: hidden;
  flex: 1;
  border-radius: var(--radius);
}

.carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-video-card {
  flex: 0 0 calc(33.333% - 0.67rem);
  min-width: 180px;
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border-light);
}

.carousel-video-card .video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #160808;
  overflow: hidden;
}

.carousel-video-card .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.carousel-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--color-primary-dark) 0%, #2d0d0d 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.45);
}

.carousel-placeholder-icon {
  font-size: 1.8rem;
  opacity: 0.25;
  line-height: 1;
}

.carousel-placeholder-text {
  font-size: 0.78rem;
  font-style: italic;
  letter-spacing: 0.05em;
}

.carousel-video-title {
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
  margin: 0;
}

.carousel-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: var(--color-bg);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  box-shadow: var(--shadow);
}

.carousel-btn:hover:not(:disabled) {
  background: var(--color-accent);
  transform: scale(1.08);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 1024px) {
  .carousel-video-card {
    flex: 0 0 calc(50% - 0.5rem);
  }
}

@media (max-width: 640px) {
  .carousel-video-card {
    flex: 0 0 100%;
    min-width: 0;
  }

  .carousel-btn {
    width: 28px;
    height: 28px;
    font-size: 1.1rem;
  }

  .gallery-title {
    font-size: 1.1rem;
  }
}

/* =====================
   MOBILE HORIZONTAL SLIDERS
   books / video / news → scroll-snap on phones
   ===================== */
@media (max-width: 640px) {

  /* — Books — */
  .books-grid,
  .books-grid.grid-4 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 1rem;
    padding-bottom: 0.5rem;
    /* override existing 480px grid rules */
    grid-template-columns: none;
    max-width: none;
    margin: 0;
  }

  .books-grid::-webkit-scrollbar,
  .books-grid.grid-4::-webkit-scrollbar {
    display: none;
  }

  .books-grid .book-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
    min-width: 0;
  }

  /* — Video grid (homepage preview) — */
  .video-grid,
  .video-grid.grid-2 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 1rem;
    padding-bottom: 0.5rem;
    grid-template-columns: none;
  }

  .video-grid::-webkit-scrollbar,
  .video-grid.grid-2::-webkit-scrollbar {
    display: none;
  }

  .video-grid .video-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
    min-width: 0;
  }

  /* — News grid — */
  .news-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 1rem;
    padding-bottom: 0.5rem;
    grid-template-columns: none;
  }

  .news-grid::-webkit-scrollbar {
    display: none;
  }

  .news-grid .news-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
    min-width: 0;
  }
}
