:root {
  --ink: #201a18;
  --muted: #6f615a;
  --paper: #f8f2e7;
  --paper-deep: #efe2cf;
  --purple: #180f31;
  --purple-soft: #2a1b4d;
  --saffron: #eea11f;
  --gold: #f7cf5b;
  --chilli: #a83b24;
  --white: #fffdf7;
  --line: rgba(70, 46, 33, 0.16);
  --shadow: 0 24px 70px rgba(46, 27, 18, 0.18);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 16%, rgba(238, 161, 31, 0.08), transparent 24rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-160%);
  border-radius: 999px;
  color: white;
  background: var(--purple);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  display: flex;
  width: min(calc(100% - 3rem), var(--max-width));
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  transform: translateX(-50%);
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  fill: var(--saffron);
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.91rem;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--gold);
}

.nav-contact {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  overflow: hidden;
  padding: 8.5rem max(1.5rem, calc((100vw - var(--max-width)) / 2)) 5.5rem;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 18%, rgba(239, 161, 31, 0.17), transparent 24rem),
    linear-gradient(135deg, var(--purple) 0%, #1a1035 58%, #271340 100%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 55px;
  content: "";
  background: var(--paper);
  clip-path: polygon(0 65%, 18% 80%, 39% 53%, 62% 88%, 82% 60%, 100% 76%, 100% 100%, 0 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 670px;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--chilli);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 720px;
  margin-bottom: 1.55rem;
  font-size: clamp(3.25rem, 7.3vw, 6.65rem);
}

h1 em {
  color: var(--gold);
  font-weight: 400;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 4.8vw, 4.6rem);
}

h3 {
  margin-bottom: 0.5rem;
  color: var(--purple);
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

.hero-deck {
  max-width: 590px;
  margin: 0 0 2.2rem;
  color: rgba(255, 253, 247, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 2vw, 1.38rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #281400;
  background: var(--gold);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffe082;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.proof-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.55rem;
  margin: 2.4rem 0 0;
  padding: 0;
  color: rgba(255, 253, 247, 0.6);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  list-style: none;
  text-transform: uppercase;
}

.proof-points li + li::before {
  margin-right: 1.55rem;
  color: var(--saffron);
  content: "✦";
}

.hero-art {
  position: relative;
  z-index: 1;
  min-height: 530px;
}

.book-stack {
  position: absolute;
  overflow: hidden;
  border-radius: 5px;
  background: white;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.36);
}

.book-stack::before {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 7px;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent);
}

.book-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-stack-square {
  top: 7%;
  right: 0;
  width: min(73%, 390px);
  aspect-ratio: 1;
  transform: rotate(5deg);
}

.book-stack-tall {
  bottom: 2%;
  left: 0;
  width: min(51%, 285px);
  aspect-ratio: 0.662;
  transform: rotate(-6deg);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.glow-one {
  top: 5%;
  right: 6%;
  width: 330px;
  height: 330px;
  background: rgba(238, 161, 31, 0.18);
}

.glow-two {
  bottom: 5%;
  left: -4%;
  width: 250px;
  height: 250px;
  background: rgba(168, 59, 36, 0.2);
}

.section {
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8.5rem) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(3rem, 8vw, 6rem);
}

.section-heading > p:last-child {
  max-width: 650px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.book-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(2.5rem, 8vw, 8rem);
  margin-bottom: clamp(6rem, 13vw, 11rem);
}

.book-feature:last-child {
  margin-bottom: 0;
}

.book-feature-diyas .book-image-wrap {
  order: 2;
}

.book-feature-diyas .book-copy {
  order: 1;
}

.book-image-wrap {
  position: relative;
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: 38% 62% 52% 48% / 44% 42% 58% 56%;
  background: var(--paper-deep);
}

.book-feature-diyas .book-image-wrap {
  border-radius: 57% 43% 44% 56% / 49% 57% 43% 51%;
  background: #e6ddef;
}

.book-image-wrap img {
  width: 100%;
  border-radius: 3px;
  box-shadow: var(--shadow);
}

.book-feature-amma .book-image-wrap img {
  max-width: 390px;
  margin: 0 auto;
}

.pill {
  display: inline-flex;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: var(--chilli);
  background: #f1dec9;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.subtitle {
  margin: 0 0 1.65rem;
  color: var(--chilli);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-style: italic;
}

.book-copy > p:not(.subtitle):not(.byline):not(.cause-note) {
  max-width: 610px;
  color: var(--muted);
  font-size: 1.03rem;
}

.byline {
  margin: 1.4rem 0 0;
  font-size: 0.88rem;
  font-weight: 750;
}

.cause-note {
  max-width: 500px;
  padding-left: 1rem;
  border-left: 3px solid var(--saffron);
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  font-style: italic;
}

.text-link {
  display: inline-flex;
  gap: 0.55rem;
  margin-top: 1.15rem;
  border-bottom: 1px solid currentColor;
  color: var(--purple);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--chilli);
}

.story {
  width: 100%;
  padding-right: max(1.5rem, calc((100vw - var(--max-width)) / 2));
  padding-left: max(1.5rem, calc((100vw - var(--max-width)) / 2));
  background: #ecdfca;
}

.story-card {
  max-width: var(--max-width);
  margin: 0 auto;
}

.story-card h2 {
  max-width: 650px;
}

.story-columns {
  display: grid;
  max-width: 940px;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  color: #5e5049;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.signature {
  display: flex;
  max-width: 700px;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.signature-line {
  display: block;
  width: 56px;
  height: 2px;
  flex: 0 0 56px;
  background: var(--chilli);
}

.signature p {
  margin: 0;
  font-size: 0.9rem;
}

.contact {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-right: max(1.5rem, calc((100vw - var(--max-width)) / 2));
  padding-left: max(1.5rem, calc((100vw - var(--max-width)) / 2));
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(238, 161, 31, 0.15), transparent 22rem),
    var(--purple);
}

.contact h2 {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
}

.button-light {
  margin-top: 1.2rem;
  color: var(--purple);
  background: var(--white);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 2rem;
  align-items: center;
  padding: 2.7rem max(1.5rem, calc((100vw - var(--max-width)) / 2));
  color: #b9adcf;
  background: #10091f;
  font-size: 0.78rem;
}

.footer-brand {
  color: var(--white);
}

footer > p {
  margin: 0;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 8rem;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-art {
    width: min(100%, 600px);
    min-height: 520px;
    margin: 0 auto;
  }

  .book-feature {
    gap: 3rem;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .site-header nav a:not(.nav-contact) {
    display: none;
  }

  .nav-contact {
    padding: 0.45rem 0.8rem;
  }

  .hero {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .proof-points {
    display: grid;
    gap: 0.35rem;
  }

  .proof-points li + li::before {
    margin-right: 0.65rem;
  }

  .hero-art {
    min-height: 400px;
  }

  .book-stack-square {
    width: 72%;
  }

  .book-stack-tall {
    width: 49%;
  }

  .section {
    width: min(calc(100% - 2.2rem), var(--max-width));
  }

  .book-feature {
    grid-template-columns: 1fr;
    margin-bottom: 7rem;
  }

  .book-feature-diyas .book-image-wrap,
  .book-feature-diyas .book-copy {
    order: initial;
  }

  .book-image-wrap {
    max-width: 470px;
    margin: 0 auto;
  }

  .story,
  .contact {
    width: 100%;
  }

  .story-columns {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  footer {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
