/*!
Theme Name: DKDH 2026
Theme URI: https://ltlmtn.com
Description: Custom theme for Dirk Hoogstra by Ltl Mtn.
Author: Elliot Toman
Author URI: https://ltlmtn.com
Version: 1.0.0
Text Domain: dkdh
Tags: custom, one-page, dark, books
*/

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

:root {
  --black: #0a0907;
  --dark: #111009;
  --char: #1a1814;
  --ember: #c8922a;
  --gold: #e8b84b;
  --ash: #7a7368;
  --mist: #c4bdb2;
  --cream: #f0ebe3;
  --blue-light: #a8c4f0;
  --blood-light: #d4726a;
  --emerald: #8bd76b;
  --forest: #437030;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Josefin Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--mist);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

/* ======================================================
   NAV
   ====================================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 60px;
  background: linear-gradient(to bottom, rgba(10, 9, 7, 0.95) 0%, transparent 100%);
  transition: background 0.4s ease, padding 0.3s ease;
}

nav.scrolled {
  background: rgba(10, 9, 7, 0.97);
  border-bottom: 1px solid rgba(200, 146, 42, 0.12);
  padding: 18px 60px;
}

/* Logo */
.nav-logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--cream);
  text-decoration: none;
  flex-shrink: 0;
}

/* Nav links list (also used as the wp_nav_menu container) */
.nav-links {
  display: flex;
  gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ember);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--cream);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Dropdown sub-menu (desktop hover) */
.nav-links .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 180px;
  list-style: none;
  background: rgba(10, 9, 7, 0.97);
  border: 1px solid rgba(200, 146, 42, 0.15);
  padding: 10px 0;
  z-index: 200;
}

.nav-links .menu-item-has-children:hover>.sub-menu {
  display: block;
}

.nav-links .sub-menu a {
  display: block;
  padding: 8px 20px;
  white-space: nowrap;
  font-size: 0.62rem;
}

.nav-links .sub-menu a::after {
  display: none;
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
  flex-shrink: 0;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ======================================================
   HERO
   ====================================================== */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 50%, rgba(200, 146, 42, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 20% 30%, rgba(120, 80, 20, 0.08) 0%, transparent 60%),
    linear-gradient(160deg, #0f0d0a 0%, #0a0907 50%, #0d0b08 100%);
}

.hero-line {
  position: absolute;
  left: 60px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(200, 146, 42, 0.3) 30%, rgba(200, 146, 42, 0.3) 70%, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 40px;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 28px;
  display: block;
  animation: fadeUp 1s ease 0.2s both;
}

.hero-name {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 10vw, 9rem);
  font-weight: 300;
  line-height: 0.92;
  color: var(--cream);
  margin-bottom: 32px;
  animation: fadeUp 1s ease 0.4s both;
}

.hero-name em {
  font-style: italic;
  color: var(--gold);
}

.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ash);
  letter-spacing: 0.04em;
  margin-bottom: 56px;
  animation: fadeUp 1s ease 0.6s both;
}

.hero-cta {
  display: inline-flex;
  gap: 24px;
  animation: fadeUp 1s ease 0.8s both;
}

/* Buttons */
.btn {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 36px 12px;
  transition: all 0.3s;
  display: inline-block;
}

.btn-primary,
.hero-cta .btn {
  background: var(--ember);
  color: var(--black);
  border: 1px solid var(--ember);
}

.btn-primary:hover,
.hero-cta .btn:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.btn-ghost,
.hero-cta .btn:nth-of-type(even) {
  background-color: transparent;
  color: var(--mist);
  border: 1px solid rgba(200, 146, 42, 0.3);
}

.btn-ghost:hover,
.hero-cta .btn:nth-of-type(even):hover {
  border-color: var(--ember);
  color: var(--cream);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-indicator span {
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ash);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--ember), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* ======================================================
   SHARED SECTION STYLES
   ====================================================== */
section {
  padding: 120px 60px;
}

.section-label {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ember);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 60px;
}

.section-label::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: rgba(200, 146, 42, 0.3);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.08;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

/* ======================================================
   ABOUT
   ====================================================== */
#about {
  background: var(--dark);
  position: relative;
}

#about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200, 146, 42, 0.2), transparent);
}

.about-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.about-top {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 72px;
  align-items: start;
  margin-bottom: 72px;
}

.about-photo-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.author-photo-frame {
  position: relative;
  width: 100%;
}

.author-photo-frame::before {
  content: '';
  position: absolute;
  inset: -8px -8px 8px 8px;
  border: 1px solid rgba(200, 146, 42, 0.2);
  pointer-events: none;
  z-index: 0;
}

.author-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(10, 9, 7, 0.5) 100%);
  pointer-events: none;
  z-index: 1;
}

.author-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  display: block;
  position: relative;
  z-index: 0;
  filter: grayscale(15%) contrast(1.05);
  transition: filter 0.4s ease;
}

.author-photo-frame:hover .author-photo {
  filter: grayscale(0%) contrast(1.05);
}

.author-name-plate {
  border-left: 2px solid var(--ember);
  padding-left: 18px;
}

.author-name-plate .name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 4px;
}

.author-name-plate .title {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash);
}

.about-bio-col {
  padding-top: 8px;
}

.about-bio-col .section-label {
  margin-bottom: 40px;
}

.about-bio-col .section-title {
  margin-bottom: 36px;
}

.about-bio-col p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--mist);
  margin-bottom: 22px;
}

.about-bio-col p:last-of-type {
  margin-bottom: 0;
}

.about-quote {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  line-height: 1.55;
  border-left: 2px solid var(--ember);
  padding-left: 24px;
  margin: 36px 0;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(200, 146, 42, 0.1);
  border: 1px solid rgba(200, 146, 42, 0.1);
}

.credential {
  background: var(--dark);
  padding: 28px 24px;
  transition: background 0.3s;
}

.credential:hover {
  background: rgba(200, 146, 42, 0.04);
}

.credential-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 400;
  color: var(--ember);
  line-height: 1;
  margin-bottom: 6px;
}

.credential-label {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash);
}

/* ======================================================
   BOOKS
   ====================================================== */
#books {
  background: var(--black);
  position: relative;
}

#books::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200, 146, 42, 0.2), transparent);
}

.books-header {
  max-width: 1200px;
  margin: 0 auto 80px;
}

.books-header .section-title {
  margin-bottom: 20px;
}

.books-header p {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.25;
  font-style: italic;
  color: var(--ash);
  max-width: 560px;
}

.series-block {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(200, 146, 42, 0.1);
}

.series-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.series-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.series-tag {
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 5px 14px 2px;
}

/* Kept for backwards-compatibility / non-shortcode use */
.tag-fantasy {
  background: var(--ember);
  color: var(--black);
}

.tag-scifi {
  background: #1a3a6e;
  color: var(--blue-light);
}

.tag-horror {
  background: #5a0f0f;
  color: #e8a0a0;
}

.tag-thriller {
  background: #666;
  color: #ccc;
}

.tag-scifantasy {
  background: var(--forest);
  color: var(--emerald);
}

.series-name {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.book-card {
  display: flex;
  flex-direction: column;
}

.book-cover-wrap {
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(200, 146, 42, 0.08);
}

.book-card:hover .book-cover-wrap {
  transform: translateY(-6px);
}

.front-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

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

.book-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 8px;
}

.book-desc {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--ash);
  flex: 1;
  transition: color 0.3s;
}

.book-card:hover .book-desc {
  color: var(--mist);
}

.book-buy {
  display: inline-block;
  margin-top: 16px;
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid;
  padding-bottom: 2px;
  transition: all 0.3s;
}

/* ======================================================
   CONTACT
   ====================================================== */
#contact {
  background: var(--dark);
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200, 146, 42, 0.2), transparent);
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.contact-left .section-title {
  margin-bottom: 24px;
}

.contact-left p {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ash);
  line-height: 1.8;
  margin-bottom: 48px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-channel {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.channel-label {
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ember);
}

.channel-value {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--cream);
}

.channel-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.channel-value a:hover {
  color: var(--gold);
}

/* Contact form (optional — include if using) */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ash);
}

.form-input,
.form-textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(200, 146, 42, 0.15);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 14px 18px;
  outline: none;
  resize: none;
  width: 100%;
  transition: border-color 0.3s, background 0.3s;
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(200, 146, 42, 0.5);
  background: rgba(200, 146, 42, 0.03);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(122, 115, 104, 0.5);
}

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

.form-submit {
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--ember);
  color: var(--ember);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 14px 40px;
  cursor: pointer;
  transition: all 0.3s;
}

.form-submit:hover {
  background: var(--ember);
  color: var(--black);
}

/* ======================================================
   FOOTER
   ====================================================== */
footer {
  background: var(--black);
  border-top: 1px solid rgba(200, 146, 42, 0.1);
  padding: 48px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--ash);
  letter-spacing: 0.1em;
}

.footer-copy {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: rgba(122, 115, 104, 0.5);
}

.footer-sidebar {
  margin: 0 auto;
  color: var(--ash);
}

/* ======================================================
   ANIMATIONS
   ====================================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.25s;
}

.reveal-delay-3 {
  transition-delay: 0.35s;
}

/* ======================================================
   ENTRY CONTENT (page.php / single.php)
   ====================================================== */
.entry-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 140px 60px 80px;
}

.entry-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 32px;
}

.entry-content {
  color: var(--mist);
  line-height: 1.9;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
  font-family: var(--serif);
  color: var(--cream);
  margin: 32px 0 12px;
}

.entry-content p {
  margin-bottom: 20px;
}

.entry-content a {
  color: var(--ember);
}

.entry-content a:hover {
  color: var(--gold);
}

.entry-content img {
  max-width: 100%;
  height: auto;
}

/* ======================================================
   ARCHIVE / LOOP
   ====================================================== */
.archive-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 60px 80px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 60px;
}

.post-card {
  display: flex;
  flex-direction: column;
}

.post-card-thumb {
  aspect-ratio: 4/7;
  overflow: hidden;
  margin-bottom: 20px;
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

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

.post-card-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 12px;
  text-decoration: none;
  display: block;
}

.post-card-title:hover {
  color: var(--gold);
}

.post-card-excerpt {
  font-size: 0.85rem;
  color: var(--ash);
  line-height: 1.75;
}

.post-card-meta {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 10px;
}

/* Single book */
.book-single-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 60px 80px;
}

.book-single-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 72px;
  align-items: start;
}

.book-single-grid > div {
  position: relative;
}

.book-single-cover {
  height: auto;
  object-fit: contain;
  object-position: top;
  width: 100%;
  border: 1px solid rgba(200, 146, 42, 0.1);
}

.book-single-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 24px;
}

.book-single-grid p {
  font-size: 1.05rem;
  color: var(--mist);
  line-height: 1.85;
  margin-bottom: 32px;
}

.book-single-content {
  color: var(--mist);
  line-height: 1.9;
  margin-bottom: 32px;
}

.book-single-meta {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 8px;
}

.book-single-series a {
  color: var(--cream);
  text-decoration: none;
}

.book-single-series a:hover {
  color: var(--gold);
}

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

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

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

/* ======================================================
   RESPONSIVE — 900px (mobile nav breakpoint)
   ====================================================== */
@media (max-width: 900px) {
  nav {
    padding: 22px 28px;
  }

  nav.scrolled {
    padding: 16px 28px;
  }

  section {
    padding: 80px 28px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 9, 7, 0.98);
    border-top: 1px solid rgba(200, 146, 42, 0.12);
    padding: 16px 28px 24px;
  }

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

  .nav-links li {
    border-bottom: 1px solid rgba(200, 146, 42, 0.08);
    padding: 10px 0;
  }

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

  /* Mobile sub-menu: shown on tap via JS */
  .nav-links .sub-menu {
    display: none;
    position: static;
    border: none;
    background: none;
    padding: 8px 0 0 16px;
    min-width: auto;
  }

  .nav-links .submenu-open>.sub-menu {
    display: block;
  }

  /* Visual cue for parent items */
  .nav-links .menu-item-has-children>a::after {
    content: none;
  }

  .nav-links .menu-item-has-children>a .toggle-arrow {
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.2s;
  }

  .nav-links .submenu-open>a .toggle-arrow {
    transform: rotate(90deg);
  }

  /* About layout */
  .about-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-photo-col {
    flex-direction: row;
    align-items: center;
    gap: 28px;
  }

  .author-photo-frame {
    width: 160px;
    flex-shrink: 0;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-line {
    display: none;
  }

  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 40px 28px;
  }

  .entry-wrap {
    padding: 120px 28px 60px;
  }

  .archive-wrap {
    padding: 120px 28px 60px;
  }

  .book-single-wrap {
    padding: 120px 28px 60px;
  }

  .book-single-grid {
    grid-template-columns: 1fr;
  }

  .book-single-cover {
    max-width: 280px;
    margin-bottom: 32px;
  }
}

/* ======================================================
   RESPONSIVE — 600px
   ====================================================== */
@media (max-width: 600px) {
  .books-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }

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

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

  .about-photo-col {
    flex-direction: column;
    align-items: flex-start;
  }

  .author-photo-frame {
    width: 100%;
  }

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