:root {
  --navy: #172b45;
  --burgundy: #8b3545;
  --pale: #f3f7fb;
  --body: #475569;
  --line: #dce4ed;
  --gold: #d9b95f;
  --book-cream: #fbf3df;
  --book-orange: #c35c25;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--navy); background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #a45769; outline-offset: 5px; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1200px; margin: auto; padding: 0 32px; }

header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 76px; }
.brand { font: 700 22px Georgia, serif; white-space: nowrap; }
nav { display: flex; gap: 22px; font-size: 14px; color: var(--body); }
nav a:hover, .text-link:hover { color: var(--burgundy); text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; border-radius: 40px; padding: 11px 24px; background: var(--burgundy); color: white; font-size: 14px; font-weight: 600; box-shadow: 0 5px 12px #8b354516; line-height: 1.5; transition: transform .2s; }
.button:hover { transform: translateY(-2px); }
.compact { padding: 8px 18px; }
.outline { background: white; color: var(--navy); border: 1px solid var(--line); box-shadow: none; }
.menu { display: none; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: white; padding: 10px 20px; }
.skip:focus { top: 12px; }

section, footer { border-top: 1px solid var(--line); }
section > .wrap { padding-top: 88px; padding-bottom: 96px; }
.grain { background-image: radial-gradient(#172b450a 1px, transparent 1px); background-size: 22px 22px; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 64px; }
.hero > .wrap { padding-top: 58px; padding-bottom: 76px; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -.035em; }
h1 { font-size: clamp(44px, 5.4vw, 72px); max-width: 680px; margin-top: 22px; }
h2 { font-size: 38px; margin-top: 14px; }
h3 { font-size: 27px; letter-spacing: -.02em; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--burgundy); letter-spacing: .23em; text-transform: uppercase; margin: 0; }
.intro { font-size: 18px; line-height: 1.75; max-width: 600px; margin-top: 30px; color: var(--body); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

.portrait { background-image: url('assets/pravin-portraits.png'); background-size: 300% 300%; border-radius: 12px; aspect-ratio: 1.065; overflow: hidden; background-repeat: no-repeat; width: 100%; }
.smiling { background-position: 50% 50%; max-width: 422px; justify-self: end; }
.story { background-position: 100% 100%; max-width: 320px; margin-top: 32px; }
.community { background-position: 100% 50%; max-width: 320px; margin-top: 30px; }
.says { background-position: 0 100%; margin-bottom: 30px; max-width: 425px; }
.pale { background: var(--pale); }
.story-grid, .community-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; }
.story-copy { padding-top: 2px; color: var(--body); font-size: 18px; }
.story-copy p:first-child { margin-top: 0; }
.story-copy p + p { margin-top: 26px; }
.section-intro { font-size: 18px; color: var(--body); margin-top: 18px; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 46px; }
.cards article { border: 1px solid var(--line); background: white; border-radius: 18px; padding: 32px; }
.cards article p { color: var(--body); margin: 14px 0 0; }
.icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: #eef2f7; border-radius: 12px; color: var(--burgundy); font-size: 27px; margin-bottom: 24px; }
.text-link { display: inline-flex; gap: 8px; margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--burgundy); }

.book-section { position: relative; overflow: hidden; background: var(--book-cream); }
.book-section::before { content: ''; position: absolute; width: 520px; height: 520px; right: -180px; top: -220px; border-radius: 50%; background: radial-gradient(circle, #d77a3f26 0, #d77a3f00 68%); pointer-events: none; }
.book-grid { position: relative; display: grid; grid-template-columns: minmax(280px, .8fr) 1.25fr; align-items: center; gap: clamp(64px, 9vw, 122px); }
.book-visual { margin: 0; text-align: center; }
.book-cover-frame { position: relative; max-width: 390px; margin: 0 auto; padding: 10px; background: #fff9ec; border: 1px solid #c9b998; border-radius: 5px; box-shadow: 0 28px 48px #172b4533, 0 8px 16px #172b4524; transform: rotate(-1.3deg); }
.book-cover-frame::after { content: ''; position: absolute; inset: 8px -9px -9px 8px; border-radius: 4px; border-right: 7px solid #dccfb3; border-bottom: 8px solid #d3c3a5; z-index: -1; }
.book-cover-frame img { width: 100%; height: auto; border-radius: 2px; }
.book-visual figcaption { margin-top: 26px; color: #6d6455; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.book-copy { max-width: 620px; }
.book-copy .eyebrow { display: inline-block; color: var(--book-orange); }
.book-label { display: inline-block; margin-left: 14px; padding: 3px 11px; border-radius: 20px; background: var(--book-orange); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; vertical-align: 2px; }
.book-copy h2 { max-width: 610px; margin-top: 20px; font-size: clamp(42px, 5vw, 66px); color: var(--navy); }
.book-question { margin: 18px 0 0; color: var(--book-orange); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.2; }
.book-subtitle { margin: 13px 0 0; color: var(--navy); font-size: 17px; font-weight: 700; letter-spacing: .015em; }
.book-intro { max-width: 590px; margin: 27px 0 0; color: #5d5d5a; font-size: 18px; line-height: 1.75; }
.book-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; color: var(--navy); }
.book-points li { position: relative; padding-left: 29px; }
.book-points li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--book-orange); font-weight: 800; }
.book-available { margin: 27px 0 0; color: #655c50; font-size: 15px; font-weight: 700; }
.amazon-stores { position: relative; max-width: 590px; margin-top: 18px; }
.amazon-stores summary { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-width: 245px; padding: 12px 24px; border-radius: 40px; background: var(--book-orange); color: white; cursor: pointer; font-size: 14px; font-weight: 700; line-height: 1.5; box-shadow: 0 6px 16px #c35c2526; list-style: none; transition: transform .2s, box-shadow .2s; }
.amazon-stores summary::-webkit-details-marker { display: none; }
.amazon-stores summary:hover { transform: translateY(-2px); box-shadow: 0 9px 20px #c35c2530; }
.amazon-stores summary:focus-visible { outline: 3px solid #a45769; outline-offset: 5px; }
.amazon-stores summary span { display: inline-block; transition: transform .2s; }
.amazon-stores[open] summary span { transform: rotate(180deg); }
.amazon-store-panel { margin-top: 15px; padding: 20px; border: 1px solid #d6c5a4; border-radius: 16px; background: #fffaf0; box-shadow: 0 16px 32px #172b4515; }
.amazon-store-intro { margin: 0 0 14px; color: #655c50; font-size: 13px; line-height: 1.55; }
.amazon-store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.amazon-store-grid a { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 11px; min-width: 0; padding: 10px 11px; border: 1px solid #e2d7c0; border-radius: 10px; background: white; color: var(--navy); transition: border-color .2s, transform .2s, box-shadow .2s; }
.amazon-store-grid a:hover { border-color: var(--book-orange); transform: translateY(-1px); box-shadow: 0 5px 12px #172b4512; }
.store-code { display: grid; place-items: center; width: 36px; height: 30px; border-radius: 7px; background: #f6e4d4; color: var(--book-orange); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.amazon-store-grid strong, .amazon-store-grid small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.amazon-store-grid strong { font-size: 13px; line-height: 1.3; }
.amazon-store-grid small { margin-top: 2px; color: #756b5f; font-size: 11px; line-height: 1.3; }
.store-arrow { color: var(--book-orange); font-weight: 800; }
.amazon-store-note { margin: 15px 0 0; padding-top: 14px; border-top: 1px solid #e2d7c0; color: #655c50; font-size: 12px; line-height: 1.6; }
.amazon-store-note span { white-space: nowrap; }

.dark { background: #14273f; color: white; }
.dark p { color: #c9d3df; }
.dark .eyebrow, .dark .org { color: var(--gold); }
.dark h2 { font-size: 38px; }
.dark .org { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; margin: 5px 0 0; }
.service { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.service li { display: flex; gap: 20px; background: #ffffff08; border: 1px solid #ffffff25; border-radius: 18px; padding: 26px; }
.service h3 { font-size: 24px; }
.service p { margin: 3px 0 0; }
.award { background: #d9b95f18; border-radius: 50%; width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; color: var(--gold); font-size: 27px; }
.community-details { min-width: 0; }
.recognition-card { margin-top: 22px; padding: 26px; border: 1px solid #d9b95f55; border-radius: 18px; background: linear-gradient(145deg, #ffffff0d, #d9b95f0c); }
.recognition-copy h3 { margin-top: 6px; font-size: 27px; }
.recognition-copy > p:last-child { margin: 10px 0 0; }
.recognition-video { margin-top: 20px; background: #091727; }
.recognition-video .video-poster { position: relative; display: block; padding: 0; }
.recognition-video .video-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .68; transition: opacity .2s, transform .35s; }
.recognition-video .video-poster:hover img { opacity: .82; transform: scale(1.015); }
.video-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 20px; color: #fff; background: linear-gradient(#08182b19, #08182b70); text-shadow: 0 2px 8px #000; }
.dark .video-fallback { color: var(--gold); }

.creative article { padding: 38px; }
.cards .tagline { font-size: 12px; letter-spacing: .1em; color: var(--burgundy); font-weight: 700; margin-top: 20px; }
.video-frame { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; margin-top: 24px; background: var(--navy); }
.video-button { cursor: pointer; width: 100%; height: 100%; border: 0; color: white; background: linear-gradient(130deg, #172b45, #2b496c); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 0; font-weight: 600; overflow: hidden; }
.video-button:hover { background: #294461; }
.video-button small { font-weight: 400; color: #cad9e9; }
.play { font-size: 34px; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-fallback { display: block; font-size: 13px; color: var(--body); text-decoration: underline; margin-top: 8px; }
.badge { display: inline-block; font-size: 11px; text-transform: uppercase; background: #eef2f7; padding: 3px 12px; border-radius: 30px; margin-top: 20px; letter-spacing: .06em; }

footer > .wrap { padding-top: 80px; padding-bottom: 36px; }
.connect-grid { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.connect-grid p { max-width: 600px; font-size: 18px; color: var(--body); }
.contact-actions { display: flex; align-items: start; flex-direction: column; flex-shrink: 0; }
.contact-actions .text-link { font-size: 12px; }
.footer-line { border-top: 1px solid var(--line); margin-top: 62px; padding-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-line p { font-size: 13px; color: var(--body); }

@media (max-width: 1050px) {
  nav { gap: 15px; }
  .nav { gap: 16px; }
  .hero-grid { gap: 34px; }
  .story-grid, .community-grid { gap: 40px; }
  .connect-grid { align-items: start; flex-direction: column; }
  .hero h1 { font-size: 57px; }
  .book-grid { gap: 56px; }
}

@media (max-width: 900px) {
  .menu { display: block; border: 1px solid var(--line); border-radius: 24px; background: white; color: var(--navy); font-size: 13px; padding: 5px 12px; cursor: pointer; }
  .nav { flex-wrap: wrap; min-height: 70px; gap: 10px; }
  .nav .compact { margin-left: auto; font-size: 12px; padding: 7px 12px; }
  nav { display: none; order: 4; width: 100%; padding: 8px 0 20px; gap: 12px; flex-direction: column; }
  nav.open { display: flex; }
}

@media (max-width: 800px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .brand { font-size: 20px; }
  .hero-grid, .story-grid, .community-grid, .book-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero > .wrap { padding-top: 42px; padding-bottom: 56px; }
  .hero h1 { font-size: clamp(42px, 8vw, 64px); }
  .eyebrow { font-size: 11px; letter-spacing: .16em; }
  .smiling { justify-self: center; max-width: 440px; }
  .intro, .story-copy { font-size: 17px; }
  section > .wrap { padding-top: 56px; padding-bottom: 60px; }
  h2, .dark h2 { font-size: 33px; }
  .cards { margin-top: 30px; }
  .creative { grid-template-columns: 1fr; }
  .creative article { padding: 28px; }
  .story, .community { max-width: 340px; }
  .book-visual { order: 2; }
  .book-copy { order: 1; max-width: none; }
  .book-cover-frame { max-width: 330px; }
  .book-copy h2 { font-size: clamp(39px, 10vw, 58px); }
  .book-intro { font-size: 17px; }
  .footer-line { align-items: start; flex-direction: column; gap: 10px; }
  .footer-line p { margin: 0; }
  footer > .wrap { padding-top: 56px; }
  .service li { padding: 22px; }
}

@media (max-width: 520px) {
  .ventures { grid-template-columns: 1fr; }
  .cards article { padding: 26px; }
  .actions { gap: 12px; }
  .button { padding: 11px 19px; }
  .hero h1 { font-size: 44px; }
  .contact-actions { flex-shrink: 1; }
  .nav .brand { font-size: 18px; }
  .amazon-stores summary { width: 100%; }
  .amazon-store-grid { grid-template-columns: 1fr; }
  .amazon-store-panel { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
