:root {
  --blue-950: #071d49;
  --blue-900: #0a2f73;
  --blue-700: #1554c0;
  --blue-500: #2f7df4;
  --blue-100: #e8f1ff;
  --blue-50: #f5f9ff;
  --ink: #102039;
  --muted: #63728a;
  --white: #fff;
  --line: #dce6f5;
  --yellow: #ffd857;
  --page: 1240px;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; font-size: 14px; }
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
main { width: 100%; max-width: 100%; overflow-x: hidden; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(var(--page), calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Header */
.announcement {
  padding: 8px 24px;
  color: var(--white);
  background: var(--blue-950);
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.announcement { position: relative; z-index: 1; }
.announcement a { color: var(--yellow); margin-left: 8px; }
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-row {
  min-height: 80px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 38px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue-700);
  border-radius: 50% 50% 50% 8px;
  font-family: "Noto Serif Tamil", serif;
  font-size: 19px;
  font-weight: 700;
  transform: rotate(-4deg);
  box-shadow: 0 8px 20px rgba(21,84,192,.2);
}
.brand-mark span { transform: rotate(4deg); }
.brand-copy { line-height: 1.05; }
.brand-copy strong {
  display: block;
  color: var(--blue-950);
  font-family: "Playfair Display", serif;
  font-size: 18px;
  letter-spacing: -.02em;
}
.brand-copy small {
  display: block;
  margin-top: 4px;
  color: var(--blue-700);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.main-nav { justify-self: center; display: flex; align-items: center; gap: 24px; }
.main-nav a { position: relative; padding: 30px 0; font-size: 13px; font-weight: 600; }
.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  background: var(--blue-500);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--blue-700); }
.mobile-nav { display: none; }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn, .menu-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue-950);
  background: var(--white);
  cursor: pointer;
  transition: .2s ease;
}
.icon-btn:hover { color: var(--white); background: var(--blue-700); border-color: var(--blue-700); }
.menu-toggle { display: none; }
.nav-tools svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* Shared elements */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 47px;
  padding: 0 22px;
  border: 1px solid var(--blue-700);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  transition: .25s ease;
}
.button-primary { color: var(--white); background: var(--blue-700); box-shadow: 0 10px 28px rgba(21,84,192,.22); }
.button-primary:hover { background: var(--blue-950); border-color: var(--blue-950); transform: translateY(-2px); }
.button-secondary { color: var(--blue-900); background: transparent; }
.button-secondary:hover { background: var(--white); transform: translateY(-2px); }
.arrow { font-size: 16px; transition: transform .2s ease; }
.button:hover .arrow, .text-link:hover .arrow { transform: translateX(4px); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--blue-700);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-700); font-size: 13px; font-weight: 700; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 80% 14%, rgba(47,125,244,.16), transparent 28%),
    linear-gradient(120deg, var(--blue-50) 0 56%, #edf5ff 56%);
}
.hero::before {
  content: "விடியல்";
  position: absolute;
  right: -30px;
  bottom: -45px;
  color: rgba(21,84,192,.045);
  font-family: "Noto Serif Tamil", serif;
  font-size: clamp(105px, 16vw, 250px);
  font-weight: 700;
  white-space: nowrap;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 62px;
  padding: 68px 0;
}
.hero h1 {
  max-width: 620px;
  margin: 0;
  color: var(--blue-950);
  font-family: "Noto Serif Tamil", serif;
  font-size: clamp(42px, 4.8vw, 66px);
  line-height: 1.22;
}
.hero h1 em { color: var(--blue-500); font-weight: 600; }
.hero-description {
  max-width: 570px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.book-stage { position: relative; min-height: 450px; perspective: 1200px; }
.sun { position: absolute; top: 0; right: 4%; width: 330px; height: 330px; border: 1px solid rgba(21,84,192,.14); border-radius: 50%; }
.sun::before, .sun::after { content: ""; position: absolute; inset: 38px; border: inherit; border-radius: inherit; }
.sun::after { inset: 84px; }
.display-book {
  position: absolute;
  width: 210px;
  height: 310px;
  padding: 25px 22px;
  color: var(--white);
  border-radius: 2px 8px 8px 2px;
  box-shadow: -14px 20px 35px rgba(7,29,73,.22);
  transform-style: preserve-3d;
}
.display-book::before { content: ""; position: absolute; inset: 0 auto 0 8px; width: 2px; background: rgba(255,255,255,.3); }
.display-book.one { z-index: 2; top: 38px; left: 16%; background: linear-gradient(145deg, #0a2862, #1554c0); transform: rotateY(-12deg) rotateZ(-4deg); }
.display-book.two { z-index: 1; top: 92px; right: 1%; color: var(--blue-950); background: linear-gradient(145deg, #e8f1ff, #8eb8f5); transform: rotateY(10deg) rotateZ(6deg); }
.book-kicker { display: block; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.display-book h2 { margin: 30px 0 12px; font-family: "Noto Serif Tamil", serif; font-size: 30px; line-height: 1.3; }
.display-book p { margin: 0; font-size: 16px; font-style: italic; }
.cover-orbit { position: absolute; right: 22px; bottom: 25px; width: 62px; height: 62px; border: 2px solid currentColor; border-radius: 50%; opacity: .55; }
.cover-orbit::before { content: ""; position: absolute; top: 28px; left: -16px; width: 90px; height: 2px; background: currentColor; transform: rotate(-25deg); }
.edition-label {
  position: absolute;
  right: 3%;
  bottom: 0;
  z-index: 4;
  width: 105px;
  height: 105px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--blue-950);
  background: var(--yellow);
  border-radius: 50%;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.45;
  text-transform: uppercase;
  transform: rotate(8deg);
}

/* Benefits and sections */
.benefits { border-block: 1px solid var(--line); background: var(--white); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.benefit { display: flex; align-items: center; justify-content: center; gap: 13px; padding: 20px; font-size: 12px; font-weight: 600; }
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit span { width: 29px; height: 29px; display: grid; place-items: center; color: var(--blue-700); background: var(--blue-100); border-radius: 50%; }
.section { padding: 85px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 36px; }
.section-intro { max-width: 630px; margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.section-heading h2, .story-copy h2, .club-copy h2 {
  margin: 7px 0 0;
  color: var(--blue-950);
  font-family: "Noto Serif Tamil", serif;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.38;
}

/* Book cards */
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.book-card { min-width: 0; }
.book-cover {
  position: relative;
  aspect-ratio: .68;
  overflow: hidden;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  border-radius: 2px 6px 6px 2px;
  box-shadow: 0 15px 28px rgba(7,29,73,.14);
  transition: transform .3s ease, box-shadow .3s ease;
}
.book-card:hover .book-cover { transform: translateY(-8px); box-shadow: 0 24px 38px rgba(7,29,73,.2); }
.book-cover::after { content: ""; position: absolute; inset: 0 auto 0 7px; width: 2px; background: rgba(255,255,255,.28); }
.cover-a { color: white; background: #0c397f; }
.cover-b { color: var(--blue-950); background: #cde1ff; }
.cover-c { color: white; background: #2876df; }
.cover-d { color: var(--blue-950); background: #ffe175; }
.cover-number { position: relative; z-index: 2; font-size: 9px; font-weight: 700; letter-spacing: .07em; opacity: .78; }
.book-cover h3 { position: relative; z-index: 2; width: 100%; margin: auto 0 10px; font-family: "Noto Serif Tamil", serif; font-size: clamp(19px, 1.8vw, 27px); line-height: 1.4; }
.book-cover p { position: relative; z-index: 2; margin: 0; font-size: 11px; font-weight: 600; line-height: 1.5; opacity: .8; }
.cover-shape { position: absolute; right: -35px; bottom: -35px; width: 140px; height: 140px; border: 26px solid currentColor; border-radius: 50%; opacity: .16; }
.book-meta { padding: 17px 2px 0; }
.book-meta h3 { margin: 0 0 6px; color: var(--blue-950); font-family: "Noto Serif Tamil", serif; font-size: 17px; line-height: 1.45; }
.book-meta p { margin: 0 0 10px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.book-meta strong { color: var(--blue-700); font-size: 12px; }
.catalogue-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding: 21px 25px; color: var(--blue-950); background: var(--blue-50); border-left: 4px solid var(--blue-500); }
.catalogue-note strong { font-family: "Noto Serif Tamil", serif; font-size: 17px; }
.catalogue-note span { color: var(--muted); font-size: 12px; }

/* Publisher story */
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; }
.story-visual { position: relative; min-height: 500px; overflow: hidden; background: var(--blue-900); }
.story-visual::before { content: "அ"; position: absolute; top: -72px; left: 50%; color: rgba(255,255,255,.09); font-family: "Noto Serif Tamil", serif; font-size: 420px; transform: translateX(-50%); }
.quote { position: absolute; right: 11%; bottom: 12%; left: 11%; margin: 0; color: var(--white); font-family: "Noto Serif Tamil", serif; font-size: clamp(23px, 2.5vw, 35px); font-style: italic; line-height: 1.35; }
.story-copy { padding: 65px; background: var(--blue-50); display: flex; flex-direction: column; justify-content: center; }
.story-copy p:not(.eyebrow) { max-width: 570px; margin: 21px 0 25px; color: var(--muted); font-size: 14px; line-height: 1.8; }

/* Categories */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.category { min-height: 205px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; transition: .25s ease; }
.category + .category { border-left: 1px solid var(--line); }
.category:hover { color: var(--white); background: var(--blue-700); transform: translateY(-5px); }
.category-number { color: var(--blue-500); font-size: 10px; font-weight: 700; }
.category:hover .category-number { color: var(--yellow); }
.category h3 { margin: 0; font-family: "Noto Serif Tamil", serif; font-size: 22px; line-height: 1.45; }
.category p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.category:hover p { color: rgba(255,255,255,.75); }

/* Book club and newsletter */
.club {
  position: relative;
  overflow: hidden;
  margin-top: 25px;
  color: var(--white);
  border-radius: 90px 0 0;
  background: radial-gradient(circle at 85% 20%, rgba(47,125,244,.3), transparent 24%), var(--blue-950);
}
.club::before { content: ""; position: absolute; right: 8%; bottom: -180px; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.club-grid { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 70px; }
.club .eyebrow { color: #8eb8f5; }
.club-copy h2 { color: var(--white); }
.club-copy > p:not(.eyebrow) { max-width: 600px; color: #b9c9e6; font-size: 14px; line-height: 1.75; }
.club .button-primary { color: var(--blue-950); background: var(--yellow); border-color: var(--yellow); box-shadow: none; }
.club-card { position: relative; padding: 38px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); transform: rotate(2deg); box-shadow: 16px 16px 0 rgba(47,125,244,.2); }
.club-card::before { content: "01"; position: absolute; top: 20px; right: 24px; color: rgba(255,255,255,.15); font-family: "Playfair Display", serif; font-size: 62px; }
.club-card span { color: #8eb8f5; font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.club-card h3 { max-width: 330px; margin: 24px 0 7px; font-family: "Noto Serif Tamil", serif; font-size: 27px; }
.club-card p { margin: 0; color: #b9c9e6; font-size: 12px; }
.newsletter { padding: 72px 0; background: linear-gradient(110deg, #fff1b8, #e8f1ff 70%); }
.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.newsletter h2 { margin: 0 0 7px; color: var(--blue-950); font-family: "Noto Serif Tamil", serif; font-size: 30px; line-height: 1.4; }
.newsletter p { margin: 0; color: var(--muted); }

/* Footer */
.site-footer { padding: 58px 0 24px; color: #bcc9df; background: #051534; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 52px; padding-bottom: 50px; }
.site-footer .brand-copy strong { color: white; }
.footer-about { max-width: 340px; margin: 19px 0 0; font-size: 12px; line-height: 1.7; }
.site-footer h3 { margin: 0 0 17px; color: white; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; font-size: 12px; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding-top: 21px; border-top: 1px solid rgba(255,255,255,.12); font-size: 10px; }
.footer-credit { transition: color .2s ease; }
.footer-credit:hover { color: var(--white); }

/* Error pages */
.status-page { min-height: 68vh; display: grid; place-items: center; padding: 70px 24px; text-align: center; background: radial-gradient(circle at 50% 20%, var(--blue-100), transparent 45%), var(--blue-50); }
.status-card { width: min(650px, 100%); padding: 50px; background: white; border: 1px solid var(--line); box-shadow: 0 24px 65px rgba(7,29,73,.1); }
.status-code { margin: 0; color: var(--blue-500); font-family: "Playfair Display", serif; font-size: clamp(70px, 14vw, 130px); line-height: .8; letter-spacing: -.06em; }
.status-card h1 { margin: 26px 0 13px; color: var(--blue-950); font-family: "Noto Serif Tamil", serif; font-size: clamp(28px, 4vw, 42px); }
.status-card p { max-width: 500px; margin: 0 auto 25px; color: var(--muted); line-height: 1.7; }
.status-email { color: var(--blue-700); font-weight: 700; }

/* Inner pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 76px;
  background: linear-gradient(135deg, var(--blue-50), #fff);
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: "வி";
  position: absolute;
  right: 6%;
  top: -55px;
  color: rgba(21,84,192,.05);
  font-family: "Noto Serif Tamil", serif;
  font-size: 220px;
  font-weight: 700;
}
.page-hero-content { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 {
  margin: 0 0 18px;
  color: var(--blue-950);
  font-family: "Noto Serif Tamil", serif;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.3;
}
.page-hero p:not(.eyebrow) { max-width: 680px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.page-content { padding: 72px 0 90px; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.content-card { padding: 28px; border: 1px solid var(--line); background: var(--white); transition: .25s ease; }
.content-card:hover { transform: translateY(-5px); border-color: var(--blue-500); box-shadow: 0 18px 38px rgba(7,29,73,.08); }
.content-card .card-number { display: block; margin-bottom: 45px; color: var(--blue-500); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.content-card h2, .content-card h3 { margin: 0 0 10px; color: var(--blue-950); font-family: "Noto Serif Tamil", serif; font-size: 21px; line-height: 1.45; }
.content-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.page-note { margin-top: 34px; padding: 24px 26px; color: var(--blue-950); background: var(--blue-50); border-left: 4px solid var(--blue-500); line-height: 1.7; }
.page-note a { color: var(--blue-700); font-weight: 700; }
.simple-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.simple-list article { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.simple-list time, .simple-list .item-label { color: var(--blue-500); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.simple-list h2 { margin: 0; color: var(--blue-950); font-family: "Noto Serif Tamil", serif; font-size: 20px; }
.simple-list p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
/* Individual page identities */
.about-hero { color: var(--white); background: var(--blue-950); border: 0; }
.about-hero h1 { color: var(--white); max-width: 850px; }
.about-hero p:not(.eyebrow) { color: #b9c9e6; }
.about-hero .eyebrow { color: var(--yellow); }
.about-hero::after { color: rgba(255,255,255,.05); content: "அ"; }
.about-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.about-statement { position: sticky; top: 130px; padding-left: 24px; border-left: 4px solid var(--yellow); }
.about-statement strong { display: block; color: var(--blue-950); font-family: "Noto Serif Tamil", serif; font-size: 30px; line-height: 1.5; }
.about-statement p { color: var(--muted); line-height: 1.8; }
.value-list { display: grid; }
.value-row { display: grid; grid-template-columns: 60px 1fr; gap: 25px; padding: 28px 0; border-top: 1px solid var(--line); }
.value-row:last-child { border-bottom: 1px solid var(--line); }
.value-row > span { color: var(--blue-500); font-family: "Playfair Display", serif; font-size: 24px; }
.value-row h2 { margin: 0 0 8px; font-family: "Noto Serif Tamil", serif; font-size: 22px; }
.value-row p { margin: 0; color: var(--muted); line-height: 1.7; }

.books-hero { background: linear-gradient(110deg, #fff 0 58%, var(--yellow) 58%); }
.books-hero::after { content: "60+"; top: -20px; right: 8%; color: rgba(7,29,73,.12); font-family: "Playfair Display", serif; font-size: 170px; }
.catalogue-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 35px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill { padding: 8px 14px; border: 1px solid var(--line); border-radius: 30px; color: var(--muted); background: white; font-size: 11px; }
.filter-pill.active { color: white; background: var(--blue-700); border-color: var(--blue-700); }
.catalogue-preview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.catalogue-book { min-height: 280px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; color: white; box-shadow: 0 16px 30px rgba(7,29,73,.13); }
.catalogue-book:nth-child(1) { background: var(--blue-950); }
.catalogue-book:nth-child(2) { color: var(--blue-950); background: var(--blue-100); }
.catalogue-book:nth-child(3) { background: var(--blue-500); }
.catalogue-book:nth-child(4) { color: var(--blue-950); background: var(--yellow); }
.catalogue-book small { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.catalogue-book h2 { margin: 0; font-family: "Noto Serif Tamil", serif; font-size: 22px; line-height: 1.4; }

.authors-hero { text-align: center; background: white; }
.authors-hero .page-hero-content { margin-inline: auto; }
.authors-hero .eyebrow { justify-content: center; }
.authors-hero::after { right: 50%; transform: translateX(50%); content: "எழுத்து"; font-size: 150px; white-space: nowrap; }
.author-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px 28px; }
.author-profile { text-align: center; }
.author-avatar { width: 150px; height: 150px; display: grid; place-items: center; margin: 0 auto 20px; color: var(--blue-700); background: var(--blue-100); border-radius: 50%; font-family: "Noto Serif Tamil", serif; font-size: 55px; transition: .3s ease; }
.author-profile:nth-child(2) .author-avatar { color: white; background: var(--blue-900); }
.author-profile:nth-child(3) .author-avatar { color: var(--blue-950); background: var(--yellow); }
.author-profile:hover .author-avatar { transform: translateY(-6px) rotate(-4deg); }
.author-profile h2 { margin: 0 0 6px; font-family: "Noto Serif Tamil", serif; font-size: 21px; }
.author-profile p { max-width: 260px; margin: auto; color: var(--muted); line-height: 1.7; }

.blog-hero { padding-bottom: 130px; background: var(--blue-50); }
.blog-hero::after { content: "Journal"; color: rgba(21,84,192,.06); font-family: "Playfair Display", serif; }
.blog-content { margin-top: -85px; padding-top: 0; position: relative; z-index: 2; }
.featured-post { display: grid; grid-template-columns: 1fr 1fr; min-height: 350px; margin-bottom: 45px; background: var(--blue-950); box-shadow: 0 25px 55px rgba(7,29,73,.16); }
.featured-art { display: grid; place-items: center; color: rgba(255,255,255,.12); background: var(--blue-700); font-family: "Noto Serif Tamil", serif; font-size: 180px; }
.featured-copy { padding: 48px; align-self: center; color: white; }
.featured-copy small { color: var(--yellow); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.featured-copy h2 { margin: 18px 0 12px; font-family: "Noto Serif Tamil", serif; font-size: 28px; line-height: 1.5; }
.featured-copy p { color: #b9c9e6; line-height: 1.7; }

.club-page-hero { color: white; background: radial-gradient(circle at 80% 40%, #2374e5, transparent 24%), var(--blue-950); }
.club-page-hero h1 { color: white; }
.club-page-hero p:not(.eyebrow) { color: #c5d5ef; }
.club-page-hero .eyebrow { color: var(--yellow); }
.club-page-hero::after { content: "01"; color: rgba(255,255,255,.08); font-family: "Playfair Display", serif; font-size: 300px; top: -40px; }
.club-steps { counter-reset: clubstep; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.club-step { counter-increment: clubstep; min-height: 260px; padding: 32px; border: 1px solid var(--line); border-right: 0; }
.club-step:last-child { border-right: 1px solid var(--line); }
.club-step::before { content: "0" counter(clubstep); display: block; margin-bottom: 55px; color: var(--blue-500); font-family: "Playfair Display", serif; font-size: 28px; }
.club-step h2 { margin: 0 0 10px; font-family: "Noto Serif Tamil", serif; font-size: 21px; }
.club-step p { margin: 0; color: var(--muted); line-height: 1.7; }

.contact-hero { background: var(--blue-950); }
.contact-hero h1 { color: white; }
.contact-hero p:not(.eyebrow) { color: #b9c9e6; }
.contact-hero .eyebrow { color: var(--yellow); }
.contact-panel { display: grid; grid-template-columns: .75fr 1.25fr; box-shadow: 0 25px 60px rgba(7,29,73,.14); }
.contact-details { padding: 45px; color: white; background: var(--blue-700); }
.contact-details h2 { margin: 0 0 28px; font-family: "Noto Serif Tamil", serif; font-size: 26px; }
.contact-item { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.2); }
.contact-item small { display: block; margin-bottom: 5px; color: #c5d5ef; text-transform: uppercase; }
.contact-message { padding: 45px; display: flex; flex-direction: column; justify-content: center; background: white; }
.contact-message h2 { max-width: 520px; margin: 0 0 16px; color: var(--blue-950); font-family: "Noto Serif Tamil", serif; font-size: 27px; line-height: 1.5; }
.contact-message > p:not(.eyebrow) { max-width: 560px; margin: 0 0 26px; color: var(--muted); line-height: 1.8; }
.contact-message .button { align-self: flex-start; }

@media (max-width: 1060px) {
  .main-nav { gap: 17px; }
  .nav-row { gap: 20px; }
  .book-grid { gap: 17px; }
  .story-copy { padding: 48px; }
  .page-hero::after { right: 2%; }
  .about-layout { gap: 45px; }
  .contact-details, .contact-message { padding: 36px; }
}

@media (max-width: 920px) {
  .announcement { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .menu-toggle { display: grid; }
  .main-nav { display: none; }
  .mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 108px 24px 26px;
    background: var(--white);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    clip-path: inset(0 0 0 100%);
    transform: translateX(100%);
    z-index: 40;
    overflow-y: auto;
    transition: transform .3s ease, opacity .2s ease, visibility 0s linear .3s, clip-path .3s ease;
  }
  .mobile-nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    clip-path: inset(0);
    transform: translateX(0);
    transition-delay: 0s;
  }
  .mobile-nav a { padding: 15px 4px; border-bottom: 1px solid var(--line); font-family: "Playfair Display", serif; font-size: 23px; }
  .mobile-nav a.active { color: var(--blue-700); border-bottom-color: var(--blue-500); }
  .nav-row { grid-template-columns: 1fr auto; }
  .brand { position: relative; z-index: 102; visibility: visible; opacity: 1; }
  .nav-tools { position: relative; z-index: 102; }
  .nav-tools .icon-btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { max-width: 700px; }
  .book-stage { max-width: 560px; width: 100%; margin-inline: auto; }
  .book-grid, .category-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .story-visual { min-height: 390px; }
  .club-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .content-grid { grid-template-columns: repeat(2, 1fr); }
  .catalogue-preview { grid-template-columns: repeat(2, 1fr); }
  .about-layout, .featured-post, .contact-panel { grid-template-columns: 1fr; }
  .about-statement { position: static; max-width: 650px; }
  .author-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-art { min-height: 280px; }
  .club-steps { grid-template-columns: 1fr; }
  .club-step { min-height: auto; border-right: 1px solid var(--line); border-bottom: 0; }
  .club-step:last-child { border-bottom: 1px solid var(--line); }
  .club-step::before { margin-bottom: 30px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, var(--page)); }
  .announcement { font-size: 9px; }
  .nav-row { min-height: 68px; }
  .brand-copy strong { font-size: 16px; }
  .mobile-nav { padding-top: 88px; }
  .hero { min-height: auto; }
  .hero-grid { padding: 54px 0; }
  .hero h1 { font-size: 41px; }
  .hero-description { font-size: 14px; }
  .book-stage { min-height: 370px; transform: scale(.82); transform-origin: top center; margin-bottom: -60px; }
  .display-book.one { left: 4%; }
  .display-book.two { right: 0; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit { justify-content: flex-start; padding: 13px 0; }
  .benefit + .benefit { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 62px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 13px; }
  .book-cover { padding: 17px 15px; }
  .book-cover h3 { font-size: 17px; }
  .catalogue-note { align-items: flex-start; flex-direction: column; }
  .story-copy { padding: 42px 22px; }
  .category-grid { grid-template-columns: 1fr; }
  .category { min-height: 160px; }
  .category + .category { border-left: 0; border-top: 1px solid var(--line); }
  .club { border-radius: 50px 0 0; }
  .club-grid { gap: 32px; }
  .club-card { padding: 28px 22px; }
  .newsletter-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 25px; }
  .footer-bottom { flex-direction: column; }
  .status-card { padding: 38px 20px; }
  .page-hero { padding: 60px 0 55px; }
  .page-hero h1 { font-size: 34px; }
  .page-hero::after { right: -20px; top: -25px; font-size: 140px; }
  .page-content { padding: 55px 0 70px; }
  .content-grid { grid-template-columns: 1fr; }
  .about-layout, .featured-post, .contact-panel { grid-template-columns: 1fr; }
  .about-statement { position: static; }
  .author-grid, .club-steps { grid-template-columns: 1fr; }
  .club-step { border-right: 1px solid var(--line); border-bottom: 0; }
  .club-step:last-child { border-bottom: 1px solid var(--line); }
  .catalogue-toolbar { align-items: flex-start; flex-direction: column; }
  .catalogue-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalogue-book { min-height: 220px; padding: 18px; }
  .featured-copy { padding: 32px 24px; }
  .featured-art { min-height: 260px; }
  .contact-message, .contact-details { padding: 34px 24px; }
  .simple-list article { grid-template-columns: 1fr; gap: 8px; }
  .simple-list .text-link { margin-top: 5px; }
  .featured-post { margin-bottom: 32px; }
  .blog-hero { padding-bottom: 105px; }
  .blog-content { margin-top: -65px; }
  .club-page-hero::after { font-size: 190px; }
  .books-hero { background: linear-gradient(145deg, #fff 0 70%, var(--yellow) 70%); }
  .books-hero::after { font-size: 105px; }
  .footer-credit { align-self: flex-start; }
}

@media (max-width: 430px) {
  .container { width: min(100% - 24px, var(--page)); }
  .announcement { padding-inline: 12px; }
  .brand-copy small { letter-spacing: .1em; }
  .hero h1 { font-size: 36px; }
  .hero-grid { padding: 45px 0; }
  .book-stage { min-height: 335px; transform: none; margin-bottom: 0; }
  .display-book { width: 180px; height: 270px; padding: 21px 18px; }
  .display-book.one { left: 0; top: 30px; }
  .display-book.two { right: 0; top: 65px; }
  .display-book h2 { font-size: 25px; }
  .display-book p { font-size: 13px; }
  .sun { width: 260px; height: 260px; }
  .edition-label { width: 82px; height: 82px; right: 0; font-size: 8px; }
  .book-grid, .catalogue-preview { grid-template-columns: 1fr; }
  .book-cover { max-width: 270px; width: 100%; margin-inline: auto; }
  .book-meta { max-width: 270px; margin-inline: auto; }
  .category { padding: 22px; }
  .story-visual { min-height: 330px; }
  .quote { font-size: 21px; }
  .club-card { transform: none; box-shadow: 9px 9px 0 rgba(47,125,244,.2); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .site-footer { text-align: center; }
  .site-footer .brand { justify-content: center; }
  .footer-about { margin-inline: auto; }
  .footer-links { justify-items: center; }
  .footer-bottom { align-items: center; }
  .footer-credit { align-self: center; }
  .author-grid { grid-template-columns: 1fr; }
  .author-avatar { width: 130px; height: 130px; }
  .catalogue-book { min-height: 200px; }
  .contact-details, .contact-message { padding: 28px 18px; }
  .contact-item a { overflow-wrap: anywhere; }
}
