:root {
  --green: #123e31;
  --green-2: #1d5a45;
  --leaf: #2e7d32;
  --gold: #e9a93a;
  --gold-soft: #e9c980;
  --cream: #fff8ec;
  --paper: #ffffff;
  --ink: #1c2a24;
  --muted: #5b6b63;
  --line: #e6dcc8;
  --red: #b3261e;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(18, 62, 49, 0.08);
  font-family: 'Noto Sans', 'Noto Sans Devanagari', system-ui, sans-serif;
}
:lang(hi) { font-family: 'Noto Sans Devanagari', 'Noto Sans', system-ui, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; }
a { color: var(--green-2); }
a:hover { color: var(--leaf); }
h1, h2, h3 { line-height: 1.25; color: var(--green); margin: 0 0 0.5em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* header */
.topline { background: var(--green); color: var(--gold-soft); text-align: center; font-size: 0.8rem; letter-spacing: 0.12em; padding: 6px 16px; text-transform: uppercase; }
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; gap: 14px; min-height: 76px; }
.badge img { display: block; width: 56px; height: 56px; object-fit: contain; }
.badge.left { display: none; }
.brand { font-weight: 700; font-size: 1.35rem; color: var(--green); text-decoration: none; line-height: 1.1; margin-right: auto; }
.brand span { display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.menu-toggle { background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 1.1rem; color: var(--green); cursor: pointer; }
.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 16px 16px; box-shadow: var(--shadow); }
.main-nav.open { display: flex; }
.main-nav a { white-space: nowrap; text-decoration: none; color: var(--ink); padding: 10px 4px; font-weight: 600; border-bottom: 1px solid #f1ead9; }
.main-nav a[aria-current] { color: var(--leaf); }
.main-nav .pill { margin-top: 8px; border: 2px solid var(--green); border-radius: 999px; text-align: center; color: var(--green); }
.badge.main { order: 0; }
@media (min-width: 1180px) {
  .badge.left { display: block; }
  .badge img { width: 64px; height: 64px; }
  .menu-toggle { display: none; }
  .main-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 4px; padding: 0; box-shadow: none; border: 0; }
  .main-nav a { border: 0; padding: 8px 10px; font-size: 0.95rem; }
  .main-nav .pill { margin: 0 0 0 6px; padding: 6px 14px; }
}

/* buttons */
.btn { display: inline-block; background: var(--green); color: #fff; border: 2px solid var(--green); border-radius: 999px; padding: 11px 22px; font-weight: 700; font-size: 0.98rem; text-decoration: none; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--green-2); color: #fff; }
.btn.light { background: transparent; color: var(--green); }
.btn.light:hover { background: var(--green); color: #fff; }
.btn.small { padding: 7px 16px; font-size: 0.9rem; }
.btn.block { display: block; text-align: center; margin-top: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* hero */
.hero { background: radial-gradient(circle at 80% 30%, #fff3c8 0, transparent 45%), linear-gradient(160deg, #fffaf0, var(--cream)); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; gap: 24px; padding: 44px 0 52px; align-items: center; }
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: var(--leaf); margin: 0 0 8px; }
.kicker a { color: inherit; text-decoration: none; }
.kicker.gold { color: var(--gold-soft); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.hero-mark { text-align: center; }
/* the master logo is a JPEG on white: multiply blends the white into the cream background */
.hero-mark img { width: min(380px, 80vw); mix-blend-mode: multiply; }
@media (min-width: 860px) { .hero-inner { grid-template-columns: 1.2fr 1fr; padding: 64px 0 72px; } }

/* sections */
.section { padding: 48px 0; }
.band { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 8px; margin-bottom: 24px; }
.section-head p { color: var(--muted); margin: 0; }
.section-head .count { color: var(--muted); font-weight: 400; }
@media (min-width: 860px) { .section-head { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.subhead { margin-top: 40px; }
.more { margin-top: 18px; font-weight: 700; }
.empty, .soon, .note { color: var(--muted); }
.soon { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px 20px; }

.finder { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; max-width: 460px; }
.finder label { font-weight: 600; font-size: 0.9rem; }
input, textarea, select { font: inherit; padding: 11px 14px; border: 1px solid #cfc4ad; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }

.cat-grid, .feature-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.cat-card, .feature { display: flex; flex-direction: column; gap: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--ink); transition: transform 0.15s, box-shadow 0.15s; }
.cat-card strong, .feature strong { color: var(--green); font-size: 1.05rem; }
.cat-card span, .feature span { color: var(--muted); font-size: 0.93rem; }
a.cat-card:hover, a.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.cat-card { border-left: 4px solid var(--gold); }
.feature { border-top: 4px solid var(--leaf); }

/* events */
.event-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.event-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.section:not(.band) .event-card { background: var(--paper); }
.event-card h3 { margin: 0; font-size: 1.35rem; }
.event-card h3 a { text-decoration: none; color: var(--green); }
.event-card p { margin: 0; }
.event-card .btn { align-self: flex-start; margin-top: 10px; }
.event-cat { color: var(--leaf); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.event-meta { display: flex; flex-direction: column; gap: 2px; font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.event-layout { display: grid; gap: 28px; margin-top: 24px; }
.event-image { border-radius: var(--radius); margin-bottom: 16px; }
.event-facts { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; align-self: start; }
.event-facts dl, .contact-facts { margin: 0; }
dt { font-weight: 700; color: var(--green); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 12px; }
dt:first-child { margin-top: 0; }
dd { margin: 2px 0 0; }
.text-link { display: block; margin-top: 16px; font-weight: 600; text-align: center; }
@media (min-width: 860px) { .event-layout { grid-template-columns: 1.6fr 1fr; } }

/* logos */
.logo-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 150px), 1fr)); }
.logo-grid li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; padding: 14px; }
.logo-grid a { display: grid; place-items: center; width: 100%; height: 100%; }
.logo-grid img { max-height: 100%; width: auto; object-fit: contain; }
.disclaimer { color: var(--muted); font-size: 0.88rem; margin-top: 16px; }

/* location + vision */
.location { background: var(--green); color: #e9f1ec; border-radius: 20px; padding: 32px 24px; display: grid; gap: 24px; margin: 24px 0; }
.location h2 { color: #fff; }
.pin-form { background: rgba(255, 255, 255, 0.08); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; align-self: center; }
.pin-form label { font-weight: 600; }
.pin-form .btn { background: var(--gold); border-color: var(--gold); color: var(--green); }
.pin-msg { margin: 0; min-height: 1.6em; }
.vision { border: 2px solid var(--gold-soft); border-radius: 20px; padding: 32px 24px; margin: 24px 0 48px; background: linear-gradient(120deg, #fffdf6, #fff4dc); text-align: center; }
.vision p { max-width: 60ch; margin: 0 auto; color: var(--muted); font-size: 1.08rem; }
@media (min-width: 860px) { .location { grid-template-columns: 1.3fr 1fr; padding: 44px; } }

/* prose + forms */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; font-size: 1.4rem; }
.prose h3 { margin-top: 1.2em; font-size: 1.15rem; }
.prose li { margin-bottom: 4px; }
.contact { display: grid; gap: 32px; }
@media (min-width: 860px) { .contact { grid-template-columns: 1fr 1.1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 4px; font-weight: 600; font-size: 0.92rem; }
.notice { border-radius: 10px; padding: 14px 16px; margin: 0; }
.notice.ok { background: #e7f4ea; color: #1b5e20; }
.notice.err { background: #fdecea; color: var(--red); }
.contact-facts { margin-top: 20px; }

/* footer */
.site-footer { background: var(--green); color: #d6e4dc; padding: 36px 0 28px; text-align: center; margin-top: 24px; }
.footer-banner { background: #fff; border-radius: 12px; width: min(520px, 100%); padding: 6px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 18px 0; }
.footer-links a { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.footer-links a:hover { color: var(--gold-soft); }
.legal { font-size: 0.82rem; margin: 0; color: #a9c2b5; }

/* letter-spacing breaks Devanagari conjuncts */
:lang(hi) .kicker, :lang(hi) .eyebrow, :lang(hi) .topline, :lang(hi) .brand span, :lang(hi) dt, :lang(hi) .event-cat { letter-spacing: 0; }

/* phase 2: explore cards, breeds, directory, official links */
.explore-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.explore-card { display: flex; flex-direction: column; gap: 6px; background: var(--green); color: #dfeae4; border-radius: var(--radius); padding: 20px; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s; }
.explore-card strong { color: #fff; font-size: 1.15rem; }
.explore-card .count { color: var(--gold-soft); font-weight: 700; }
.explore-card span { font-size: 0.92rem; }
.explore-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: #fff; }
.cat-card.featured { border-left-color: var(--leaf); background: #fbfff8; }

.filters { display: grid; gap: 12px; margin-bottom: 20px; }
.filters .finder { margin: 0; max-width: none; }
@media (min-width: 700px) { .filters { grid-template-columns: 2fr repeat(auto-fit, minmax(180px, 1fr)); max-width: 860px; } }

.breed-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.breed-card { display: flex; flex-direction: column; gap: 2px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--muted); font-size: 0.92rem; transition: transform 0.15s, box-shadow 0.15s; }
.breed-card img { border-radius: 10px; margin-bottom: 8px; aspect-ratio: 16 / 10; object-fit: cover; }
.breed-card strong { color: var(--green); font-size: 1.08rem; }
a.breed-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--muted); }

.org-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.org-card { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--muted); font-size: 0.92rem; }
.org-card img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.org-text { display: flex; flex-direction: column; gap: 2px; }
.org-card strong { color: var(--green); font-size: 1.05rem; }
.org-cat { color: var(--leaf); font-weight: 600; }
.tick { color: var(--leaf); font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
a.org-card:hover { box-shadow: var(--shadow); color: var(--muted); }
.org-logo { max-width: 180px; margin-bottom: 16px; }
.verified { display: inline-block; background: #e7f4ea; color: #1b5e20; border-radius: 999px; padding: 4px 14px; font-weight: 600; font-size: 0.92rem; }

.link-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.link-card { display: flex; flex-direction: column; gap: 4px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--leaf); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--muted); font-size: 0.93rem; }
.link-card strong { color: var(--green); font-size: 1.02rem; }
.link-card em { font-style: normal; color: var(--green-2); font-weight: 700; margin-top: auto; padding-top: 6px; }
a.link-card:hover { box-shadow: var(--shadow); color: var(--muted); }
.notice-box { border-left: 4px solid var(--gold); background: #fff4dc; border-radius: 10px; padding: 16px 18px; margin-top: 24px; max-width: 80ch; }
