/* ==========================================================================
   Jaipur Arts & Health Festival — single stylesheet
   Palette derived from the festival logo; pink leads (Jaipur = Pink City).
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fraunces-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --pink: #e82d7b;
  --pink-deep: #b0175a;
  --pink-soft: #f9d3e3;
  --blush: #fdf1f6;
  --red: #e8413c;
  --yellow: #f0c420;
  --teal: #00a98f;
  --navy: #14105e;
  --ink: #241f3d;
  --ink-soft: #5a5473;
  --white: #ffffff;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 72rem;
  --radius: 1rem;
  --shadow: 0 10px 30px rgba(20, 16, 94, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin: 0 0 1.25rem;
}

a {
  color: var(--pink-deep);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 1.9rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--pink-deep);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(176, 23, 90, 0.35);
}

.btn-primary:hover {
  background: #8f1249;
}

.btn-outline {
  border: 2px solid var(--pink);
  color: var(--pink-deep);
  background: transparent;
}

.btn-outline:hover {
  background: var(--pink-soft);
}

.btn-light {
  background: var(--white);
  color: var(--pink-deep);
}

.btn-ghost {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--pink-soft);
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
}

.brand span {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--pink-deep);
  border-bottom-color: var(--pink);
}

.nav-links .btn {
  padding: 0.55rem 1.4rem;
  border-bottom: none;
  color: var(--white);
}

.nav-links .icon-link {
  display: inline-flex;
  border-bottom: none;
}

.nav-links .icon-link svg {
  width: 22px;
  height: 22px;
  fill: var(--pink-deep);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* --------------------------------------------------------------------------
   Hero — blush background, jaali pattern, scalloped arch base
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 4l10 24-10 24-10-24z' fill='none' stroke='%23e82d7b' stroke-opacity='0.07' stroke-width='1.5'/%3E%3Ccircle cx='28' cy='28' r='2' fill='%23e82d7b' fill-opacity='0.06'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--blush) 0%, #fce4ef 100%);
  text-align: center;
  padding: 4.5rem 0 6.5rem;
  overflow: hidden;
}

.hero-mark {
  width: clamp(96px, 14vw, 150px);
  margin: 0 auto 1.5rem;
}

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

.hero h1 {
  margin-bottom: 0.75rem;
}

.hero .dates {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: var(--white);
  background: var(--pink-deep);
  border-radius: 999px;
  padding: 0.5rem 1.6rem;
  margin: 0.5rem 0 1rem;
  box-shadow: 0 6px 18px rgba(176, 23, 90, 0.3);
}

.hero .tagline {
  max-width: 40rem;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scalloped arch strip pinned to the hero base */
.arch-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 42px;
  display: block;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--blush);
}

.section-head {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 3rem;
}

.section-head .kicker {
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--pink-deep);
  margin-bottom: 0.5rem;
}

.section-head .rule {
  width: 72px;
  height: 4px;
  margin: 1rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pink), var(--yellow));
}

.prose {
  max-width: 46rem;
  margin: 0 auto;
}

.prose .lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   Call-for-collaborators band
   -------------------------------------------------------------------------- */

.cta-band {
  background: linear-gradient(120deg, #8f1249, var(--pink-deep));
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  max-width: 44rem;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.92);
}

/* --------------------------------------------------------------------------
   Info cards (initiative / network)
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 5px solid var(--pink);
  box-shadow: var(--shadow);
  padding: 2rem 1.75rem;
}

.card:nth-child(2) {
  border-top-color: var(--yellow);
}

.card:nth-child(3) {
  border-top-color: var(--teal);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* --------------------------------------------------------------------------
   Organization rows (Pune festival / GSAH / GAIMF)
   -------------------------------------------------------------------------- */

.org-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.org-row:last-child {
  margin-bottom: 0;
}

.org-logo {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 5.5rem;
}

.org-logo img {
  max-width: 100%;
  height: auto;
}

.org-row h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.org-row p {
  color: var(--ink-soft);
}

.org-row p:last-child {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .org-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .org-logo {
    position: static;
    max-width: 20rem;
    margin: 0 auto;
  }
}

/* --------------------------------------------------------------------------
   Gallery placeholder tiles
   -------------------------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.25rem;
}

.gallery-tile {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-family: var(--serif);
  font-size: 1.05rem;
  text-align: center;
  padding: 1rem;
}

.gallery-tile:nth-child(1) { background: linear-gradient(135deg, var(--pink), var(--pink-deep)); }
.gallery-tile:nth-child(2) { background: linear-gradient(135deg, var(--yellow), #d9a80c); color: var(--navy); }
.gallery-tile:nth-child(3) { background: linear-gradient(135deg, var(--teal), #007a67); }
.gallery-tile:nth-child(4) { background: linear-gradient(135deg, var(--navy), #2c2494); }

/* --------------------------------------------------------------------------
   Team page
   -------------------------------------------------------------------------- */

.holding-note {
  text-align: center;
  background: var(--blush);
  border: 2px dashed var(--pink-soft);
  border-radius: var(--radius);
  padding: 3rem 1.5rem;
  max-width: 40rem;
  margin: 0 auto;
}

.team-section {
  margin-bottom: 4rem;
}

.team-section:last-child {
  margin-bottom: 0;
}

.team-section > h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.team-section > .rule {
  width: 72px;
  height: 4px;
  margin: 0 auto 2.5rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pink), var(--yellow));
}

.member {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.member:last-child {
  margin-bottom: 0;
}

.member .portrait {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--pink-soft);
  position: sticky;
  top: 5.5rem;
}

.member h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.member .role {
  color: var(--pink-deep);
  font-weight: 700;
  margin-bottom: 1rem;
}

.member p {
  color: var(--ink-soft);
}

.member p:last-child {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .member {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.75rem 1.25rem;
    text-align: left;
  }

  .member .portrait {
    position: static;
    margin: 0 auto;
  }

  .member h3,
  .member .role {
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Contact / Donate
   -------------------------------------------------------------------------- */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  max-width: 32rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--blush);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

.contact-list svg {
  width: 22px;
  height: 22px;
  fill: var(--pink-deep);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: linear-gradient(135deg, #007a67, #00564a);
  color: rgba(255, 255, 255, 0.92);
  padding: 3.5rem 0 2rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  transition: text-decoration-color 0.15s ease, opacity 0.15s ease;
}

.site-footer a:hover {
  text-decoration-color: var(--white);
  opacity: 0.85;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */

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

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--pink-soft);
    box-shadow: var(--shadow);
    display: none;
    padding: 0.5rem 0 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    padding: 0.6rem 1.25rem;
  }

  .nav-links .btn {
    display: inline-block;
    margin-top: 0.25rem;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  .section {
    padding: 3.25rem 0;
  }

  .hero {
    padding: 3.25rem 0 5rem;
  }
}
