@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+Gurmukhi:wght@400;500;600;700&display=swap');

:root {
  --bg: #f3efe8;
  --bg-soft: #faf7f1;
  --card: rgba(255, 255, 255, 0.72);
  --card-strong: rgba(255, 255, 255, 0.9);
  --text: #24313a;
  --muted: #5f6d75;
  --accent: #a78049;
  --accent-dark: #7e6133;
  --line: rgba(36, 49, 58, 0.09);
  --shadow: 0 20px 50px rgba(34, 44, 56, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(167, 128, 73, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(99, 133, 152, 0.12), transparent 24%),
    linear-gradient(180deg, #f8f5ef 0%, #f2ede5 100%);
  color: var(--text);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }

.site-header {
  width: min(calc(100% - 2rem), var(--max));
  margin: 1rem auto 0;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 12px;
  z-index: 20;
  background: rgba(250, 247, 241, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  border-radius: 22px;
  box-shadow: 0 10px 40px rgba(34, 44, 56, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 600;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #d4b177, #a78049);
  color: white;
  font-family: 'Noto Sans Gurmukhi', sans-serif;
  font-size: 1rem;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.4);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

nav a {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: 0.2s ease;
}

nav a:hover, nav a.active {
  background: rgba(167, 128, 73, 0.12);
  color: var(--accent-dark);
}

main {
  width: min(calc(100% - 2rem), var(--max));
  margin: 1.4rem auto 3rem;
}

.hero, .split-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1.4rem;
  align-items: stretch;
}

.hero-text, .contact-hero, .content-card, .poem-card, .contact-card, .poem-intro, .page-grid article, .author-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
}

.hero-text {
  padding: clamp(1.7rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 31rem;
}

.hero h1, .contact-hero h1, .kavita-title {
  margin: 0 0 0.6rem;
  line-height: 1.1;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  letter-spacing: -0.03em;
}

.gurmukhi {
  font-family: 'Noto Sans Gurmukhi', 'Raavi', sans-serif;
}

.hero .gurmukhi {
  font-size: 1.1rem;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, #c9ab72, #a78049);
  color: white;
  box-shadow: 0 12px 28px rgba(167, 128, 73, 0.24);
}

.button.ghost {
  background: rgba(255,255,255,0.58);
  color: var(--text);
  border: 1px solid rgba(36, 49, 58, 0.08);
}

.portrait-card {
  background: linear-gradient(180deg, rgba(255,255,255,.76), rgba(255,255,255,.62));
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.portrait-card img {
  width: 100%;
  height: 100%;
  min-height: 31rem;
  object-fit: cover;
}

.portrait-card figcaption {
  padding: 1rem 1.2rem 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.content-card,
.contact-hero,
.poem-card,
.contact-card,
.poem-intro,
.author-card {
  padding: clamp(1.5rem, 2vw, 2rem);
}

.content-card,
.contact-card,
.poem-wrapper,
.page-grid,
.split-layout,
.contact-hero {
  margin-top: 1.4rem;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.page-grid article h3 {
  margin: 0 0 0.7rem;
}

.mini-link {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--accent-dark);
  font-weight: 600;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.contact-list {
  border-left: 1px solid var(--line);
  padding-left: 1rem;
}

.muted {
  color: var(--muted);
}

.poem-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: start;
}

.poem-intro {
  display: grid;
  gap: 1.1rem;
}

.illustration-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(36,49,58,0.08);
}

.illustration-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.author-card {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.author-card img {
  width: 6.4rem;
  height: 6.4rem;
  object-fit: cover;
  border-radius: 22px;
}

.poem-card {
  position: relative;
  overflow: hidden;
}

.poem-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167,128,73,0.14), transparent 68%);
  transform: translate(-30%, -20%);
}

.poem-card h2 {
  margin: 0 0 0.3rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
}

.poem-subtitle {
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.poem-content {
  position: relative;
  z-index: 1;
}

.poem-stanza {
  padding: 1.1rem 0;
  border-top: 1px solid rgba(36,49,58,0.08);
}

.poem-stanza:first-child {
  border-top: 0;
  padding-top: 0.2rem;
}

.poem-line {
  font-family: 'Noto Sans Gurmukhi', 'Raavi', sans-serif;
  font-size: clamp(1.06rem, 1.9vw, 1.24rem);
  line-height: 1.95;
  margin: 0;
}

.poem-author {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(36,49,58,0.15);
  font-family: 'Noto Sans Gurmukhi', 'Raavi', sans-serif;
  font-weight: 600;
  color: var(--accent-dark);
}

.quote-box {
  padding: 1rem 1.1rem;
  border-left: 4px solid rgba(167, 128, 73, 0.55);
  background: rgba(255,255,255,0.58);
  border-radius: 14px;
  color: var(--muted);
}

footer {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto 3rem;
  padding: 1rem 0;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero, .split-layout, .page-grid, .contact-card, .poem-wrapper {
    grid-template-columns: 1fr;
  }
  .hero-text { min-height: auto; }
  .portrait-card img { min-height: 18rem; }
  .contact-list { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1rem; }
}

@media (max-width: 680px) {
  .site-header {
    padding: 0.9rem 1rem;
    border-radius: 18px;
  }
  .brand { font-size: 0.95rem; }
  nav { width: 100%; }
  nav a { padding: 0.55rem 0.8rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .author-card { flex-direction: column; align-items: flex-start; }
  .author-card img { width: 100%; height: auto; max-width: 12rem; }
}


/* SEO-ready content pages */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.4rem;
}
.video-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #ddd4c4;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-card-content {
  padding: 1.2rem;
}
.video-card-content h2 {
  margin: 0 0 .5rem;
}
.feature-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow);
  background: var(--card);
}
.feature-image img {
  width: 100%;
  min-height: 22rem;
  object-fit: cover;
}
.simple-list {
  margin: .8rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.simple-list li { margin: .35rem 0; }
@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr; }
}


.single-video {
  grid-template-columns: minmax(0, 1fr);
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}


/* Introduction page refinement */
.hero-text {
  padding: clamp(2.4rem, 5vw, 4.8rem);
}

.hero-text .lead {
  margin-top: 0.6rem;
  max-width: 62ch;
}

.hero-text h1,
.hero-text .gurmukhi,
.hero-text .lead {
  padding-right: clamp(0.4rem, 2vw, 1.4rem);
}

@media (max-width: 900px) {
  .hero-text {
    padding: 2.1rem;
  }
}

@media (max-width: 680px) {
  .hero-text {
    padding: 1.65rem;
  }

  .hero-text h1,
  .hero-text .gurmukhi,
  .hero-text .lead {
    padding-right: 0;
  }
}
