/* ============================================================
   PRABAL PANDEY — Personal Website Stylesheet
   Design: Ink navy + deep emerald + brass gold — "ledger & manuscript"
   Fonts: Fraunces (display) / Inter (body) / Noto Sans Devanagari
   ============================================================ */

:root {
  --ivory:   #FBF7ED;
  --ivory-d: #F3EBD8;
  --navy:    #10162A;
  --navy-m:  #1B2A4A;
  --emerald: #0E3B2E;
  --emerald-l: #175943;
  --saffron: #C9A227;
  --saffron-d: #A6821D;
  --saffron-l: #E4C662;
  --grey:    #666B78;
  --grey-l:  #98957F;
  --line:    rgba(16,22,42,0.11);
  --radius:  8px;
  --shadow:  0 4px 24px rgba(16,22,42,0.09);
  --shadow-lift: 0 16px 40px rgba(16,22,42,0.16);
  --max-w:   1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--ivory);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 100% 0%, rgba(14,59,46,0.05), transparent 40%),
    radial-gradient(circle at 0% 20%, rgba(201,162,39,0.05), transparent 35%);
  background-attachment: fixed;
}

::selection { background: var(--saffron); color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Fraunces optical-size trick: headings get the 'display' cut */
h1, h2, h3, h4, .logo, .eyebrow-serif {
  font-family: 'Fraunces', serif;
  font-optical-sizing: auto;
}

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---- Utilities ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 72px 0; }
.alt-bg { background: var(--ivory-d); }
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 10px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(.2,.7,.3,1);
  cursor: pointer;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: linear-gradient(120deg, var(--saffron-l) 0%, var(--saffron) 55%, var(--saffron-d) 100%);
  background-size: 180% 100%;
  background-position: 0% 0%;
  color: var(--navy);
  border: 2px solid transparent;
  box-shadow: 0 6px 18px rgba(201,162,39,0.28);
}
.btn-primary:hover { background-position: 100% 0%; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,162,39,0.38); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--line);
}
.btn-ghost:hover { border-color: var(--saffron); color: var(--saffron-d); transform: translateY(-2px); }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,247,237,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--grey);
  transition: color 0.15s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--saffron);
  transition: width 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ---- Hero ---- */
.hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -8%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(14,59,46,0.10) 0%, rgba(14,59,46,0) 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-text { position: relative; }
.eyebrow.eyebrow-lede { display: flex; align-items: center; gap: 10px; }
.eyebrow.eyebrow-lede::before { content: ''; width: 26px; height: 1.5px; background: var(--saffron); display: inline-block; }
.hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.hero h1 em { color: var(--saffron-d); font-style: italic; font-weight: 500; }
.hero-flourish { width: 210px; height: 20px; margin-bottom: 22px; display: block; }
.hero-flourish path {
  fill: none;
  stroke: var(--saffron);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: draw-flourish 1.4s 0.3s cubic-bezier(.3,.8,.4,1) forwards;
}
@keyframes draw-flourish { to { stroke-dashoffset: 0; } }
.hero-sub {
  color: var(--grey);
  max-width: 52ch;
  margin-bottom: 32px;
  font-size: 1.07rem;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image { position: relative; display: flex; justify-content: center; }
.photo-frame {
  width: 288px; height: 336px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ivory-d);
  border: 1px solid rgba(201,162,39,0.35);
  box-shadow: var(--shadow-lift);
  position: relative;
  transform: rotate(-2.2deg);
  transition: transform 0.4s cubic-bezier(.2,.7,.3,1);
}
.photo-frame:hover { transform: rotate(0deg) scale(1.015); }
.photo-frame::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201,162,39,0.55);
  border-radius: 8px;
  pointer-events: none;
  z-index: 2;
}
.photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.photo-frame .photo-placeholder {
  display: none;
  width: 100%; height: 100%;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  color: var(--grey-l);
}
.photo-frame.no-photo img { display: none; }
.photo-frame.no-photo .photo-placeholder { display: flex; }

.social-float {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  right: -48px; top: 50%;
  transform: translateY(-50%);
}
.social-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey);
  transition: all 0.18s ease;
  box-shadow: var(--shadow);
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover { color: var(--saffron-d); border-color: var(--saffron); transform: translateX(-2px); }

/* ---- Cards grid ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 24px;
  transition: all 0.28s cubic-bezier(.2,.7,.3,1);
  display: block;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--emerald-l), var(--saffron));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(201,162,39,0.4); box-shadow: var(--shadow-lift); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(14,59,46,0.09), rgba(201,162,39,0.12));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.card p { font-size: 0.875rem; color: var(--grey); margin-bottom: 16px; }
.card-link { font-size: 0.82rem; font-weight: 600; color: var(--saffron-d); }

/* ---- Featured book ---- */
.featured-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.featured-text h2 {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  margin-bottom: 6px;
}
.book-sub { font-weight: 500; color: var(--grey); margin-bottom: 16px; font-size: 1.05rem; }
.featured-text p { color: var(--grey); max-width: 52ch; margin-bottom: 24px; }
.book-badge {
  width: 168px; height: 168px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--saffron-l) 0%, var(--saffron) 45%, var(--saffron-d) 100%);
  color: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  box-shadow: var(--shadow-lift);
}
.badge-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.75; }
.badge-format { font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.badge-sub { font-size: 0.75rem; opacity: 0.75; }

/* ---- Enquiry strip ---- */
.enquiry-strip { background: linear-gradient(120deg, var(--navy) 0%, var(--emerald) 130%); }
.enquiry-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.enquiry-strip h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 6px;
}
.enquiry-strip p { color: rgba(255,255,255,0.65); }
.enquiry-strip .btn-primary { flex-shrink: 0; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(125deg, var(--navy) 0%, var(--emerald) 140%);
  padding: 64px 0;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(201,162,39,0.3);
}
.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 12px;
}
.page-hero p { color: rgba(255,255,255,0.68); max-width: 50ch; margin: 0 auto; }

/* ---- About page ---- */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
}
.about-photo {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(201,162,39,0.35);
  box-shadow: var(--shadow-lift);
  height: 400px;
  background: var(--ivory-d);
  position: relative;
}
.about-photo::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201,162,39,0.55);
  border-radius: 8px;
  pointer-events: none;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.about-photo .photo-placeholder { display: none; width: 100%; height: 100%; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-size: 4rem; color: var(--grey-l); }
.about-photo.no-photo img { display: none; }
.about-photo.no-photo .photo-placeholder { display: flex; }
.about-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  margin-bottom: 6px;
}
.about-role { color: var(--saffron); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 20px; }
.about-content p { color: var(--grey); margin-bottom: 16px; }
.about-content p:last-child { margin-bottom: 0; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag {
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--ivory-d);
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 500;
}

/* ---- Books page ---- */
.books-grid { display: flex; flex-direction: column; gap: 32px; }
.book-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}
.book-card:hover { border-color: var(--saffron); transform: translateY(-2px); }
.book-spine {
  width: 80px; height: 110px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.book-spine img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spine-emoji { position: relative; z-index: 0; }
.book-spine.ebook { background: linear-gradient(135deg, #C9A227 0%, #A6821D 100%); }
.book-spine.hardcopy { background: linear-gradient(135deg, #10162A 0%, #1B2A4A 100%); }
.book-info h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.book-format {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
  font-weight: 600;
}
.book-format.ebook { background: rgba(201,162,39,0.12); color: var(--saffron-d); }
.book-format.hardcopy { background: rgba(26,31,54,0.08); color: var(--navy); }
.book-info p { color: var(--grey); font-size: 0.92rem; }
.book-cta { flex-shrink: 0; }

/* ---- Research page ---- */
.papers-list { display: flex; flex-direction: column; gap: 24px; }
.paper-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s;
}
.paper-card:hover { border-color: var(--saffron); }
.paper-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.paper-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(201,162,39,0.1);
  color: var(--saffron-d);
}
.paper-journal {
  font-size: 0.8rem;
  color: var(--grey-l);
}
.paper-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.paper-card p { color: var(--grey); font-size: 0.9rem; margin-bottom: 16px; }
.paper-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--saffron);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s;
}
.paper-link:hover { gap: 10px; }

/* ---- Blog page ---- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}
.blog-card:hover { transform: translateY(-3px); border-color: var(--saffron); }
.blog-img {
  height: 180px;
  background: var(--ivory-d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-body { padding: 22px; }
.blog-date { font-size: 0.75rem; color: var(--grey-l); margin-bottom: 8px; }
.blog-body h3 { font-family: 'Fraunces', serif; font-size: 1.1rem; margin-bottom: 8px; }
.blog-body p { font-size: 0.875rem; color: var(--grey); margin-bottom: 16px; }
.blog-link { font-size: 0.82rem; font-weight: 600; color: var(--saffron); }

.blog-coming {
  text-align: center;
  padding: 72px 24px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 10px;
}
.blog-coming .big-icon { font-size: 3rem; margin-bottom: 16px; }
.blog-coming h3 { font-family: 'Fraunces', serif; font-size: 1.5rem; margin-bottom: 10px; }
.blog-coming p { color: var(--grey); max-width: 42ch; margin: 0 auto 24px; }

/* ---- Services page ---- */
.services-hero-text {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 24px 0;
}
.services-hero-text h2 {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  margin-bottom: 14px;
}
.services-hero-text p { color: var(--grey); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.service-icon { font-size: 2rem; margin-bottom: 14px; }
.service-card h3 { font-family: 'Fraunces', serif; font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { font-size: 0.875rem; color: var(--grey); margin-bottom: 16px; }
.service-list { list-style: none; margin-bottom: 16px; }
.service-list li {
  font-size: 0.85rem;
  color: var(--grey);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}
.service-list li::before { content: '✓'; position: absolute; left: 0; color: var(--saffron); font-weight: 700; }

.portfolio-strip { margin-top: 48px; }
.portfolio-strip h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.portfolio-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
  gap: 12px;
}
.portfolio-info h4 { font-family: 'Fraunces', serif; font-size: 1rem; }
.portfolio-info p { font-size: 0.83rem; color: var(--grey); }
.portfolio-item a { font-size: 0.85rem; font-weight: 600; color: var(--saffron); }

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}
.contact-info h2 { font-family: 'Fraunces', serif; font-size: 2rem; margin-bottom: 14px; }
.contact-info p { color: var(--grey); margin-bottom: 28px; }
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.18s;
}
.contact-item:hover { border-color: var(--saffron); }
.c-icon { width: 38px; height: 38px; border-radius: 8px; background: var(--ivory-d); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.c-icon svg { width: 18px; height: 18px; color: var(--saffron); }
.c-label { font-size: 0.75rem; color: var(--grey-l); }
.c-val { font-size: 0.9rem; font-weight: 500; }

/* ---- Enquiry Form ---- */
.enquiry-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.enquiry-form-wrap h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--ivory);
  transition: border-color 0.18s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--saffron); background: #fff; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-success {
  display: none;
  text-align: center;
  padding: 28px;
  color: var(--grey);
}
.form-success .success-icon { font-size: 2.5rem; margin-bottom: 12px; }
.form-success h4 { font-family: 'Fraunces', serif; font-size: 1.3rem; color: var(--navy); margin-bottom: 8px; }

/* ---- Footer ---- */
.site-footer {
  background: linear-gradient(160deg, var(--navy) 0%, var(--emerald) 160%);
  color: rgba(255,255,255,0.7);
  padding: 52px 0 0;
  border-top: 1px solid rgba(201,162,39,0.3);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-left .logo { color: #fff; display: block; margin-bottom: 10px; }
.footer-left p { font-size: 0.85rem; line-height: 1.7; }
.footer-links, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.875rem;
}
.footer-links a, .footer-social a { transition: color 0.15s; }
.footer-links a:hover, .footer-social a:hover { color: var(--saffron); }
.footer-bottom {
  text-align: center;
  padding: 18px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { height: 280px; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .featured-inner { grid-template-columns: 1fr; }
  .book-badge { display: none; }
}

@media (max-width: 640px) {
  .section-pad { padding: 48px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--ivory); padding: 20px 24px; border-bottom: 1px solid var(--line); gap: 16px; z-index: 200; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .site-header { position: relative; }
  .book-card { grid-template-columns: 1fr; }
  .book-spine { width: 60px; height: 80px; }
  .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .enquiry-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 2px;
  border-radius: 2px;
}
