/* ============================================================
   DESIGN TOKENS & VARIABLES
   ============================================================ */
:root {
  --ink-deep:        #1a2744;
  --ink-medium:      #2c4a7c;
  --ink-light:       #4a7ab5;
  --ink-pale:        #7ba3d4;
  --parchment:       #faf6f0;
  --parchment-warm:  #f5efe5;
  --parchment-deep:  #ede5d8;
  --cream:           #fff9f0;
  --blush:           #f0ddd5;
  --sage:            #c8d5c0;
  --lavender:        #d5cfe5;
  --dusty-rose:      #d4a5a5;
  --gold:            #c9a96e;
  --gold-light:      #e8d5a8;
  --gold-pale:       #e8d9b8;

  /* Tokens used by the Testimonials & Footer sections */
  --warm-white:      #fdfcfa;
  --card-bg:         #ffffff;
  --navy:            #2c3e5a;
  --navy-light:      #3d5a80;
  --text-body:       #4a4540;

  --text-primary:    #1a2744;
  --text-secondary:  #4a5568;
  --text-muted:      #718096;
  --bg-primary:      #faf6f0;
  --bg-card:         rgba(255, 255, 255, 0.72);
  --border-light:    rgba(26, 39, 68, 0.08);
  --shadow-soft:     0 4px 24px rgba(26, 39, 68, 0.06);
  --shadow-elevated: 0 12px 48px rgba(26, 39, 68, 0.1);

  --font-serif:      'Georgia', 'Cormorant Garamond', 'Times New Roman', serif;
  --font-display:    'Cormorant Garamond', 'Georgia', serif;

  --ease-smooth:     cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-bounce:     cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-elegant:    cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: var(--font-serif);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}
img { max-width: 100%; display: block; }

/* ============================================================
   CUSTOM FOUNTAIN PEN CURSOR (FIXED HOTSPOT)
   ============================================================ */
.cursor-pen {
  position: fixed;
  width: 28px;
  height: 28px;
  pointer-events: none;
  z-index: 100000;
  /* offset so the SVG pen-tip (bottom-left corner) aligns with actual pointer */
  transform: translate(-1px, -1px);
}
.cursor-pen svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 1px 3px rgba(26, 39, 68, 0.25));
}
.cursor-pen.hovering svg {
  filter: drop-shadow(0 2px 6px rgba(26, 39, 68, 0.35));
  transform: rotate(-10deg) scale(1.12);
  transition: transform 0.2s var(--ease-smooth), filter 0.2s;
}

.ink-droplet {
  position: fixed;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, var(--ink-medium) 0%, var(--ink-deep) 50%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  animation: inkDrop 0.7s var(--ease-smooth) forwards;
}
@keyframes inkDrop {
  0%   { transform: scale(0); opacity: 1; }
  30%  { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(2); opacity: 0; }
}

a, button, .nav-link, .btn, input, textarea, select, [role="button"] {
  cursor: none !important;
}

/* ============================================================
   LOADING SCREEN — BOOK PAGE FLIP (FIXED ANIMATION)
   ============================================================ */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: var(--parchment);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-elegant), visibility 0.8s;
}
.loading-screen.hidden {
  opacity: 0; visibility: hidden; pointer-events: none;
}

/* --- Book construct --- */
.book-loader {
  width: 180px;
  height: 220px;
  perspective: 1000px;
  position: relative;
  /* Cover opens toward the left, so nudge the book right to keep
     the whole construct visually centered on screen. */
  margin-left: 250px;
}
/* Spine / back cover */
.book-loader .back-cover {
  position: absolute;
  /* width: 100%; */
  height: 100%;
left: 0; right: 0; margin: 0 auto;
  backg round: linear-gradient(135deg, var(--ink-deep) 0%, #1e3355 100%);
  border-radius: 3px 10px 10px 3px;
  box-shadow: 0 6px 28px rgba(26, 39, 68, 0.35);
}
.book-loader .back-cover::before {
  content: '';
  position: absolute;
  left: 0;  top: 0; bottom: 0;
  width: 14px;
  background: linear-gradient(90deg, rgba(0,0,0,0.25), transparent);
  border-radius: 3px 0 0 3px;
}
/* Stacked page edges (static) */
.book-loader .page-edges {
  position: absolute;
  right: 4px;
  top: 6px;
  bottom: 6px;
  width: 8px;
  background: repeating-linear-gradient(
    to bottom,
    #f8f3eb 0px, #f8f3eb 2px,
    #e8e2d8 2px, #e8e2d8 3px
  );
  border-radius: 0 2px 2px 0;
}
/* Flipping pages */
.book-loader .flip-page {
  position: absolute;
  width: calc(100% - 14px);
  height: calc(100% - 12px);
  top: 6px;
  left: 14px;
  transform-origin: left center;
  transform-style: preserve-3d;
  animation: flipPage 1.2s ease-in-out infinite;
}
.book-loader .flip-page:nth-child(3) { animation-delay: 0s; }
.book-loader .flip-page:nth-child(4) { animation-delay: 0.18s; }
.book-loader .flip-page:nth-child(5) { animation-delay: 0.36s; }
.book-loader .flip-page .front,
.book-loader .flip-page .back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 0 6px 6px 0;
}
.book-loader .flip-page .front {
  background: linear-gradient(100deg, #f0ebe3 0%, #faf6f0 40%, #f5efe5 100%);
  /* Faint text lines */
  background-image:
    repeating-linear-gradient(
      transparent, transparent 16px,
      rgba(26, 39, 68, 0.05) 16px, rgba(26, 39, 68, 0.05) 17px
    );
  background-position: 20px 24px;
}
.book-loader .flip-page .front::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: rgba(0,0,0,0.04);
}
.book-loader .flip-page .back {
  background: linear-gradient(260deg, #e8e2d8 0%, #f0ebe3 100%);
  transform: rotateY(180deg);
}

@keyframes flipPage {
  0%   { transform: rotateY(0deg);    z-index: 10; }
  35%  { transform: rotateY(-90deg);  z-index: 10; }
  50%  { transform: rotateY(-180deg); z-index: 0;  }
  100% { transform: rotateY(-180deg); z-index: 0;  }
}

/* Front cover (on top, opens first then stays open) */
.book-loader .front-cover {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--ink-deep) 0%, var(--ink-medium) 100%);
  border-radius: 3px 10px 10px 3px;
  transform-origin: left center;
  animation: openCover 1.2s ease-in-out forwards;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 12px rgba(0,0,0,0.2);
}
.book-loader .front-cover::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 14px;
  background: linear-gradient(90deg, rgba(0,0,0,0.2), transparent);
  border-radius: 3px 0 0 3px;
}
.book-loader .front-cover img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.9;
}
@keyframes openCover {
  0%   { transform: rotateY(0deg); }
  40%  { transform: rotateY(-165deg); }
  100% { transform: rotateY(-165deg); }
}

.loading-text {
  margin-top: 44px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink-medium);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: loadPulse 1.6s ease-in-out infinite;
  margin-left: 90px;
}
.loading-tagline {
  margin-top: 0px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  letter-spacing: 0.15em;
  margin-left: 90px;
}
@keyframes loadPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
  opacity: 0;
  transition: opacity 1s var(--ease-elegant) 0.3s;
}
.main-content.visible { opacity: 1; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 48px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 246, 240, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.4s var(--ease-elegant);
}
.navbar.scrolled {
  height: 60px;
  box-shadow: var(--shadow-soft);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}
.nav-logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-bounce);
  box-shadow: 0 2px 8px rgba(26, 39, 68, 0.1);
}
.navbar.scrolled .nav-logo {
  width: 36px; height: 36px;
}
.nav-brand:hover .nav-logo {
  transform: rotate(-8deg) scale(1.08);
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-deep);
}
.nav-brand-tagline {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-link {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  position: relative;
  transition: all 0.3s var(--ease-smooth);
  letter-spacing: 0.03em;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  width: 0; height: 1.5px;
  background: var(--ink-medium);
  transition: all 0.3s var(--ease-smooth);
  transform: translateX(-50%);
}
.nav-link:hover {
  color: var(--ink-deep);
  background: rgba(26, 39, 68, 0.04);
}
.nav-link:hover::after { width: 55%; }
.nav-link.active {
  color: var(--ink-deep);
  font-weight: 500;
}
.nav-link.active::after {
  width: 55%;
  background: var(--gold);
}
.nav-toggle {
  display: none;
  background: none; border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink-deep);
  margin: 5px 0;
  transition: all 0.3s var(--ease-smooth);
  border-radius: 2px;
}

/* ============================================================
   HERO SECTION (with full-bleed image)
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
/* Dark overlay for readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 39, 68, 0.55) 0%,
    rgba(26, 39, 68, 0.45) 40%,
    rgba(26, 39, 68, 0.60) 100%
  );
  z-index: 1;
}
.hero-inner {
  max-width: 860px;
  padding: 140px 48px 100px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero-logo-wrapper {
  margin-bottom:18px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-elegant) 0.4s forwards;
}
.hero-logo-wrapper img {
  width: 90px; height: 90px;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.1);
}
.hero-ornament {
  display: inline-block;
  width: 50px; height: 1px;
  background: var(--gold-light);
  margin-bottom: 24px;
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-elegant) 0.6s forwards;
}
.hero-ornament::before, .hero-ornament::after {
  content: '';
  position: absolute;
  width: 5px; height: 5px;
  background: var(--gold-light);
  border-radius: 50%;
  top: 50%; transform: translateY(-50%);
}
.hero-ornament::before { left: -10px; }
.hero-ornament::after  { right: -10px; }

.hero-subtitle-top {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-elegant) 0.7s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-elegant) 0.9s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  font-style: italic;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-elegant) 1.0s forwards;
}
.hero-description {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-elegant) 1.1s forwards;
}
.hero-cta-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-elegant) 1.3s forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-elegant) 1.8s forwards;
}
.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--gold-light), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================================
   BUTTONS — INK SPLASH HOVER EFFECT
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 13px 32px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.45s var(--ease-smooth), border-color 0.45s var(--ease-smooth),
              transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}
/* Ink splash pseudo-element shared by all buttons */
.btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s var(--ease-smooth), height 0.5s var(--ease-smooth);
  z-index: -1;
}
.btn:hover::before {
  width: 320px;
  height: 320px;
}
.btn:hover {
  transform: translateY(-2px);
}

/* --- Primary (glass on hero) → fills to deep blue ink --- */
.btn-primary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn-primary::before {
  background: var(--ink-deep);
}
.btn-primary:hover {
  color: var(--cream);
  border-color: var(--ink-deep);
  box-shadow: 0 6px 22px rgba(26,39,68,0.3);
}

/* --- Secondary (gold) → fills to deep blue ink --- */
.btn-secondary {
  background: var(--gold);
  color: var(--ink-deep);
  border: 1.5px solid var(--gold);
  font-weight: 500;
}
.btn-secondary::before {
  background: var(--ink-deep);
}
.btn-secondary:hover {
  color: var(--cream);
  border-color: var(--ink-deep);
  box-shadow: 0 6px 22px rgba(26,39,68,0.25);
}

/* --- Dark (blue bg) → fills to cream ink --- */
.btn-dark {
  background: var(--ink-deep);
  color: var(--cream);
  border: 1.5px solid var(--ink-deep);
}
.btn-dark::before {
  background: var(--cream);
}
.btn-dark:hover {
  color: var(--ink-deep);
  border-color: var(--ink-deep);
  box-shadow: 0 6px 22px rgba(26,39,68,0.15);
}

/* --- Outline (transparent) → fills to deep blue ink --- */
.btn-outline {
  background: transparent;
  color: var(--ink-deep);
  border: 1.5px solid rgba(26, 39, 68, 0.2);
}
.btn-outline::before {
  background: var(--ink-deep);
}
.btn-outline:hover {
  color: var(--cream);
  border-color: var(--ink-deep);
  box-shadow: 0 6px 22px rgba(26,39,68,0.2);
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.section {
  padding: 100px 48px;
  position: relative;
}
.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 60px;
}
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 14px;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 400;
  color: var(--ink-deep);
  margin-bottom: 18px;
  line-height: 1.2;
}
.section-divider {
  width: 36px; height: 1.5px;
  background: var(--gold);
  margin: 0 auto 18px;
}
.section-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-elegant), transform 0.7s var(--ease-elegant);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  background: linear-gradient(180deg, var(--parchment-deep) 0%, var(--parchment) 50%, var(--cream) 100%);
}
.about-grid {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-image-wrapper {
  position: relative;
}
.about-image-frame {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  position: relative;
}
.about-image-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.about-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 10px;
  pointer-events: none;
}
.about-decorative {
  position: absolute;
  top: -16px; right: -16px;
  width: 100px; height: 100px;
  border: 1px solid var(--gold-light);
  border-radius: 10px;
  z-index: -1;
  opacity: 0.6;
}
.about-content h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--ink-deep);
  margin-bottom: 20px;
  line-height: 1.3;
}
.about-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}
.about-content .emphasis {
  font-style: italic;
  color: var(--ink-medium);
  border-left: 2px solid var(--gold);
  padding-left: 16px;
  margin: 24px 0;
}

/* ============================================================
   THE SERIES — Predicate Uncertainty
   ============================================================ */
.series-section {
  background: var(--cream);
}
.series-grid {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.series-content h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--ink-deep);
  margin-bottom: 20px;
  line-height: 1.3;
}
.series-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}
.series-content .emphasis {
  font-style: italic;
  color: var(--ink-medium);
  border-left: 2px solid var(--gold);
  padding-left: 16px;
  margin: 24px 0;
}
.series-content .emphasis p { margin-bottom: 0; }
.series-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.series-image-wrapper {
  position: relative;
}
.series-image-frame {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  position: relative;
}
.series-image-frame img {
  width: 100%;
  display: block;
}
.series-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201,169,110,0.15);
  border-radius: 10px;
  pointer-events: none;
}
.series-decorative {
  position: absolute;
  bottom: -16px; left: -16px;
  width: 100px; height: 100px;
  border: 1px solid var(--gold-light);
  border-radius: 10px;
  z-index: -1;
  opacity: 0.6;
}

/* ============================================================
   BLOG / RECENT POSTS
   ============================================================ */
.blog-section { background: var(--cream); }
.posts-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.45s var(--ease-smooth);
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(201,169,110,0.2);
}
.post-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.post-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-smooth);
}
.post-card:hover .post-card-image img {
  transform: scale(1.06);
}
.post-card-category {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-deep);
  font-weight: 500;
}
.post-card-body {
  padding: 24px;
}
.post-card-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.post-card-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--ink-deep);
  line-height: 1.35;
  margin-bottom: 10px;
  transition: color 0.3s;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card:hover .post-card-title {
  color: var(--ink-medium);
}
.post-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-link {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-medium);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  transition: gap 0.3s, color 0.3s;
}
.post-card-link:hover {
  gap: 10px;
  color: var(--ink-deep);
}

/* ============================================================
   BOOKS SECTION
   ============================================================ */
.books-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--parchment-warm) 100%);
}
.books-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.book-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.45s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}
.book-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity 0.35s;
}
.book-card:hover::before { opacity: 1; }
.book-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elevated);
}
.book-cover-img {
  width: 150px; height: 225px;
  margin: 0 auto 24px;
  border-radius: 4px;
  box-shadow: 0 8px 28px rgba(26,39,68,0.18);
  transition: transform 0.45s var(--ease-bounce);
  overflow: hidden;
}
.book-cover-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.book-card:hover .book-cover-img {
  transform: translateY(-3px) rotateY(-4deg);
}
.book-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink-deep);
  margin-bottom: 6px;
}
.book-genre {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.book-card > p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}
.book-buy-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-book {
  padding: 9px 18px;
  font-size: 0.76rem;
  font-family: var(--font-serif);
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.06em;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.45s var(--ease-smooth), border-color 0.45s var(--ease-smooth),
              transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}
.btn-book::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s var(--ease-smooth), height 0.5s var(--ease-smooth);
  z-index: -1;
}
.btn-book:hover::before {
  width: 260px;
  height: 260px;
}
.btn-book:hover {
  transform: translateY(-2px);
}
.btn-book.amazon {
  background: var(--ink-deep);
  color: var(--cream);
  border: 1px solid var(--ink-deep);
}
.btn-book.amazon::before {
  background: var(--cream);
}
.btn-book.amazon:hover {
  color: var(--ink-deep);
  border-color: var(--ink-deep);
}
.btn-book.archway {
  background: transparent;
  color: var(--ink-deep);
  border: 1px solid rgba(26,39,68,0.2);
}
.btn-book.archway::before {
  background: var(--ink-deep);
}
.btn-book.archway:hover {
  color: var(--cream);
  border-color: var(--ink-deep);
}
.btn-book.signed {
  background: var(--gold);
  color: var(--ink-deep);
  border: 1px solid var(--gold);
}
.btn-book.signed::before {
  background: var(--gold-light);
}
.btn-book.signed:hover {
  color: var(--ink-deep);
  border-color: var(--gold-light);
}

/* "Get an autographed copy" link under the section description */
.autographed-link-wrap {
  margin-top: 14px;
}
.autographed-link {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth);
}
.autographed-link:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}

/* Autographed banner */
.autographed-banner {
  max-width: 960px;
  margin: 44px auto 0;
  background: linear-gradient(135deg, var(--ink-deep) 0%, var(--ink-medium) 100%);
  border-radius: 12px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.autographed-banner::before {
  content: '';
  position: absolute;
  top: -60%; right: -15%;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(201,169,110,0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.autographed-content h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  margin-bottom: 6px;
}
.autographed-content p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.55;
}
.btn-autographed {
  padding: 13px 28px;
  background: var(--gold);
  color: var(--ink-deep);
  border: none;
  border-radius: 4px;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s var(--ease-smooth);
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.btn-autographed:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--warm-white); padding: 100px 48px; position: relative; }

.testimonials-section .section-inner { max-width: 1140px; margin: 0 auto; }

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

.testimonial-card {
  background: var(--card-bg); border: 1px solid var(--border-light);
  border-radius: 12px; padding: 36px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0; transform: translateY(20px); position: relative;
}

.testimonial-card.visible { opacity: 1; transform: translateY(0); }

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.05);
}

.testimonial-quote-icon {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 48px; color: var(--gold-pale); line-height: 1; margin-bottom: 8px;
}

.testimonial-stars {
  display: flex; gap: 2px; color: var(--gold); font-size: 14px; margin-bottom: 16px;
}

.testimonial-text {
  font-size: 15px; color: var(--text-body); line-height: 1.8;
  font-style: italic; margin-bottom: 24px;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--border-light);
}

.testimonial-name { font-size: 14px; font-weight: 600; color: var(--navy); }

.testimonial-role { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   SUBSCRIBE
   ============================================================ */
.subscribe-section {
  background: linear-gradient(180deg, var(--parchment) 0%, var(--parchment-warm) 100%);
}
.subscribe-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.subscribe-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 28px auto 0;
}
.subscribe-input {
  flex: 1;
  padding: 13px 18px;
  border: 1.5px solid var(--border-light);
  border-radius: 4px;
  font-family: var(--font-serif);
  font-size: 0.88rem;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  transition: all 0.3s var(--ease-smooth);
  color: var(--text-primary);
  outline: none;
}
.subscribe-input::placeholder { color: var(--text-muted); }
.subscribe-input:focus {
  border-color: var(--ink-light);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 0 3px rgba(74,122,181,0.1);
}
.subscribe-btn {
  padding: 13px 24px;
  background: var(--ink-deep);
  color: var(--cream);
  border: none;
  border-radius: 4px;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  transition: all 0.3s var(--ease-smooth);
  white-space: nowrap;
}
.subscribe-btn:hover {
  background: var(--ink-medium);
  transform: translateY(-2px);
}
.subscribe-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--cream); }
.contact-form-wrap {
  max-width: 520px;
  margin: 0 auto;
}
.contact-form-wrap form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form-wrap textarea {
  resize: vertical;
  font-family: var(--font-serif);
}
.contact-form-wrap .form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy); color: rgba(255,255,255,0.6);
  padding: 64px 32px 32px; position: relative;
}

footer::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.3), transparent);
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}

.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

.footer-logo img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
}

.footer-logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px; font-weight: 600; color: #fff;
  letter-spacing: 1px;
}

.footer-logo-tagline {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold);
}

.footer-about { font-size: 14px; line-height: 1.7; margin-bottom: 20px; max-width: 280px; }

.footer-social { display: flex; gap: 12px; }

.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); text-decoration: none;
  transition: all 0.3s ease; font-size: 16px;
}

.footer-social a:hover {
  border-color: var(--gold); color: var(--gold); transform: translateY(-2px);
}

.footer-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px; font-weight: 600; color: #fff;
  margin-bottom: 20px; letter-spacing: 0.5px;
}

.footer-links {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.5); text-decoration: none;
  font-size: 14px; transition: all 0.3s ease;
  display: inline-flex; align-items: center; gap: 6px;
}

.footer-links a:hover { color: var(--gold); transform: translateX(4px); }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; margin-bottom: 12px;
}

.footer-contact-item .iconify { color: var(--gold); margin-top: 3px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}

.footer-copyright { font-size: 13px; color: rgba(255,255,255,0.35); }

.footer-bottom-links { display: flex; gap: 24px; }

.footer-bottom-links a {
  font-size: 13px; color: rgba(255,255,255,0.35);
  text-decoration: none; transition: color 0.3s ease;
}

.footer-bottom-links a:hover { color: var(--gold); }

/* ============================================================
   SCROLL-TO-TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 42px; height: 42px;
  background: var(--ink-deep);
  color: var(--cream);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.35s var(--ease-smooth);
  box-shadow: 0 4px 14px rgba(26,39,68,0.2);
}
.scroll-top.visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.scroll-top:hover {
  background: var(--ink-medium);
  transform: translateY(-3px);
}

/* ============================================================
   UTILITIES (moved from inline styles)
   ============================================================ */
.mt-8 { margin-top: 8px; }
.self-start { align-self: flex-start; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor-pen { display: none; }
  a, button, .nav-link, .btn, input, textarea, select, [role="button"] {
    cursor: auto !important;
  }
  .navbar { padding: 0 20px; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 260px; height: 100vh;
    background: var(--parchment);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    transition: right 0.4s var(--ease-smooth);
    box-shadow: -6px 0 28px rgba(0,0,0,0.1);
    z-index: 1000;
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: block; z-index: 1001; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .section, .testimonials-section { padding: 56px 20px; }
  .hero-inner { padding: 120px 20px 56px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .series-grid { grid-template-columns: 1fr; gap: 40px; }
  .posts-grid { grid-template-columns: 1fr; }
  .books-grid { grid-template-columns: 1fr; }
  .autographed-banner {
    flex-direction: column; text-align: center; padding: 28px 24px;
  }
  .subscribe-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   DECORATIVE PARTICLES
   ============================================================ */
.particle {
  position: fixed;
  width: 2.5px; height: 2.5px;
  background: var(--gold-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: particleFloat 18s linear infinite;
}
@keyframes particleFloat {
  0%   { opacity: 0; transform: translateY(100vh) translateX(0); }
  10%  { opacity: 0.25; }
  90%  { opacity: 0.25; }
  100% { opacity: 0; transform: translateY(-10vh) translateX(25px); }
}

/* ============================================================
   AUTOGRAPH PAGE — page hero
   ============================================================ */
.page-hero {
  position: relative;
  padding: 190px 48px 90px;
  text-align: center;
  background: linear-gradient(135deg, var(--ink-deep) 0%, #1e3355 100%);
  overflow: hidden;
}
.page-hero-overlay {
  position: absolute;
  top: -40%; right: -10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(201,169,110,0.14), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  z-index: 1;
}
.page-hero .hero-ornament { margin: 0 auto 22px; }

/* Book price line on the autograph cards */
.book-price {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.03em;
  margin-top: 4px;
}

/* Order form fieldset */
.order-fieldset {
  border: 1px solid rgba(26,39,68,0.15);
  border-radius: 8px;
  padding: 20px 22px 22px;
  margin: 4px 0;
}
.order-fieldset legend {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink-deep);
  padding: 0 10px;
}
.order-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}
.order-title-row + .order-title-row {
  border-top: 1px solid rgba(26,39,68,0.08);
}
.order-check {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 210px;
  flex: 1 1 210px;
  font-family: var(--font-serif);
  color: var(--ink-deep);
  cursor: pointer;
}
.order-check input[type="checkbox"] {
  width: 17px; height: 17px;
  accent-color: var(--gold);
  cursor: pointer;
}
.order-format { flex: 1 1 160px; min-width: 150px; }
.order-inscription { flex: 2 1 200px; min-width: 180px; }

@media (max-width: 768px) {
  .page-hero { padding: 140px 20px 60px; }
  .order-title-row { flex-direction: column; align-items: stretch; }
  .order-check { min-width: 0; }
}

/* ============================================================
   ORDER / PRODUCT DETAIL PAGE
   ============================================================ */
.product-section {
  padding-top: 150px;
  max-width: 1120px;
  margin: 0 auto;
}
.product-back {
  display: inline-block;
  margin-bottom: 34px;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--ink-deep);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.3s var(--ease-smooth);
}
.product-back:hover { color: var(--gold); }

.product-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.product-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(26,39,68,0.22);
  background: var(--cream);
}
.product-image img {
  width: 100%;
  height: auto;
  display: block;
}
.product-info .section-label { margin-bottom: 10px; display: inline-block; }
.product-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--ink-deep);
  margin-bottom: 8px;
}
.product-author {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  font-size: 1rem;
}
.product-desc {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  color: var(--ink-deep);
  font-size: 0.95rem;
}
.product-features .iconify {
  color: var(--gold);
  font-size: 19px;
  flex-shrink: 0;
}
.product-price-box {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 26px;
  border: 1px solid rgba(201,169,110,0.4);
  border-radius: 8px;
  background: rgba(201,169,110,0.07);
}
.product-price-label {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.product-price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink-deep);
  font-weight: 500;
}

/* Order layout: form + summary */
.order-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 64px;
  scroll-margin-top: 110px;
}
.order-form {
  background: var(--warm-white);
  border: 1px solid rgba(26,39,68,0.1);
  border-radius: 12px;
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.order-heading {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--ink-deep);
  margin-bottom: 4px;
}
.order-subheading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink-deep);
}
.order-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.order-field label {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--ink-deep);
  letter-spacing: 0.02em;
}
.order-optional {
  color: var(--text-secondary);
  font-style: italic;
  font-size: 0.82rem;
}
.order-field textarea { resize: vertical; font-family: var(--font-serif); }

.qty-control {
  display: flex;
  align-items: stretch;
  gap: 10px;
  max-width: 200px;
}
.qty-btn {
  width: 44px;
  border: 1px solid rgba(26,39,68,0.2);
  background: var(--cream);
  border-radius: 6px;
  font-size: 1.3rem;
  color: var(--ink-deep);
  cursor: pointer;
  transition: background 0.25s var(--ease-smooth), color 0.25s var(--ease-smooth);
}
.qty-btn:hover { background: var(--ink-deep); color: var(--cream); }
.qty-control input {
  text-align: center;
  width: 70px;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Order summary card */
.order-summary {
  background: linear-gradient(135deg, var(--ink-deep) 0%, #1e3355 100%);
  color: var(--cream);
  border-radius: 12px;
  padding: 32px 30px;
  position: sticky;
  top: 100px;
}
.summary-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 20px;
  color: #fff;
}
.summary-book {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.summary-book img {
  width: 58px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.summary-title { font-family: var(--font-display); font-size: 1.05rem; }
.summary-format { font-size: 0.82rem; color: var(--gold-light); margin-top: 3px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  padding: 8px 0;
  color: rgba(255,255,255,0.82);
}
.summary-total {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 1.25rem;
  color: #fff;
}
.summary-total span:last-child { color: var(--gold-light); font-weight: 500; }
.summary-note {
  margin-top: 16px;
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-image { max-width: 340px; margin: 0 auto; }
  .order-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}
@media (max-width: 768px) {
  .product-section { padding-top: 120px; }
  .order-form { padding: 26px 22px; }
}
