:root {
  --ink: #17120f;
  --muted: #685d54;
  --surface: #fffaf4;
  --paper: #ffffff;
  --line: rgba(23, 18, 15, 0.14);
  --saffron: #d78322;
  --marigold: #f2b84b;
  --teal: #0f6f73;
  --berry: #9b2d55;
  --green: #55704c;
  --shadow: 0 24px 70px rgba(38, 25, 18, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 250, 244, 0.94);
  box-shadow: 0 8px 28px rgba(23, 18, 15, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 3px;
  font-family: "Noto Sans Gurmukhi", sans-serif;
  font-size: 0.76rem;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: #fff;
  display: grid;
  align-items: end;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(20, 12, 8, 0.76), rgba(20, 12, 8, 0.42) 44%, rgba(20, 12, 8, 0.12)),
    linear-gradient(0deg, rgba(20, 12, 8, 0.38), rgba(20, 12, 8, 0.04) 48%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 clamp(18px, 7vw, 96px) clamp(44px, 11vh, 108px);
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero .eyebrow {
  color: var(--marigold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.2rem, 11vw, 10rem);
  line-height: 0.86;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 28px;
  font-size: clamp(1.08rem, 2vw, 1.36rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: #17120f;
  background: var(--marigold);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
}

.section,
.intro-band,
.cta-section {
  padding: clamp(58px, 9vw, 112px) 0;
}

.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-band {
  background: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.25fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.16;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.split,
.about,
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
  margin-top: 36px;
}

.story-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(38, 25, 18, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.feature-card {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(15, 111, 115, 0.88), rgba(155, 45, 85, 0.86)),
    var(--teal);
  box-shadow: var(--shadow);
}

.feature-card p,
.feature-card .tag {
  color: rgba(255, 255, 255, 0.82);
}

.tag {
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.editorial-section {
  background: #fff;
}

.editorial-grid,
.content-list,
.community-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(30px, 6vw, 88px);
  align-items: start;
}

.editorial-copy {
  max-width: 760px;
}

.lead {
  color: var(--ink);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.65;
}

blockquote {
  margin: 32px 0 0;
  padding: 22px 0 0;
  border-top: 2px solid var(--marigold);
  color: var(--teal);
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.12;
}

.accent {
  color: #fff;
  background: #183f3f;
}

.accent .kicker {
  color: var(--marigold);
}

.accent p {
  color: rgba(255, 255, 255, 0.72);
}

.rubric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.rubric-grid > div {
  min-height: 210px;
  padding: 24px;
  background: #183f3f;
}

.content-list {
  align-items: stretch;
}

.list-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.list-panel article {
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
}

.list-panel .tag {
  margin-bottom: 12px;
}

.community-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(155, 45, 85, 0.9), rgba(15, 111, 115, 0.92)),
    var(--berry);
}

.community-section .kicker {
  color: var(--marigold);
}

.community-section p {
  color: rgba(255, 255, 255, 0.76);
}

.community-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
}

.community-actions > div {
  min-height: 178px;
  padding: 24px;
  background: rgba(23, 18, 15, 0.22);
}

.editorial-plan {
  background: #fff;
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
}

.plan-card {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.plan-card ol {
  margin: 18px 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.72;
}

.plan-card li + li {
  margin-top: 8px;
}

.about-copy {
  padding-top: 8px;
}

.text-link {
  display: inline-flex;
  color: var(--teal);
  font-weight: 800;
  border-bottom: 2px solid currentColor;
}

.cta-section {
  background: #fff;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

select {
  appearance: none;
}

textarea {
  resize: vertical;
}

.hidden-field {
  display: none;
}

.contact-form .button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.thanks-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(15, 111, 115, 0.92), rgba(155, 45, 85, 0.86)),
    var(--teal);
}

.thanks-view {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 32px;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0;
}

.thanks-brand {
  color: #fff;
}

.thanks-panel {
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.thanks-panel h1 {
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 6rem);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: #fff;
  background: #17120f;
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
}

.footer-links {
  display: flex;
  gap: 18px;
  font-weight: 800;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    left: 12px;
    right: 12px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 250, 244, 0.98);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(20, 12, 8, 0.78), rgba(20, 12, 8, 0.16) 70%),
      linear-gradient(90deg, rgba(20, 12, 8, 0.58), rgba(20, 12, 8, 0.12));
  }

  .hero-content {
    width: min(100% - 32px, 680px);
    margin: 0 16px 42px;
  }

  .intro-grid,
  .split,
  .about,
  .cta-grid,
  .story-grid,
  .editorial-grid,
  .content-list,
  .community-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .story-card {
    min-height: 220px;
  }

  .rubric-grid,
  .community-actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 3.7rem);
    line-height: 0.92;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .button,
  .contact-form .button {
    width: 100%;
  }

  .button {
    padding: 0 14px;
  }

  .rubric-grid,
  .community-actions {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
