@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Gurmukhi:wght@500&family=Source+Sans+3:wght@400;600;700&family=Source+Serif+4:opsz,wght@8..60,500;8..60,600&display=swap");

:root {
  --navy: #000021;
  --gold: #f8e940;
  --paper: #000021;
  --ink: #111111;
  --muted: #555555;
  --sheet: #ffffff;
  --line: #e6e6e6;
  --link: #00008b;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--navy);
  color: white;
  font-family: Verdana, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--link); }
a:hover { color: gray; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: white;
  color: black;
  padding: 0.4rem 0.7rem;
}
.skip:focus { top: 0.5rem; }

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #2a2748;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  text-decoration: none;
  font-family: Verdana, Arial, sans-serif;
  font-size: 1.05rem;
}
.brand span span {
  display: block;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand img { width: 46px; }
.nav-toggle {
  margin-left: auto;
  display: none;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font: 700 0.8rem Arial, sans-serif;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.7rem;
}
#site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-left: auto;
}
#site-nav a {
  color: var(--gold);
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#site-nav a[aria-current="page"] { color: white; text-decoration: overline; }
#site-nav a:hover { color: lightblue; }

.tuk {
  margin: 0;
  padding: 1.05rem 1.5rem 1rem;
  background: var(--navy);
  color: #f8e940;
  text-align: center;
  font-family: "Noto Sans Gurmukhi", sans-serif;
  font-size: 19px;
  letter-spacing: 0;
  line-height: 1.45;
  border-bottom: 1px solid rgba(248, 233, 64, 0.35);
}

main { width: min(74rem, calc(100% - 2rem)); margin: 0 auto; padding: 1.5rem 0 3rem; text-align: center; }
.hero {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.35rem;
  background: #000021;
  color: #f8e940;
  padding: 2.2rem 1rem 2.4rem;
  min-width: 0;
}
.hero > * { min-width: 0; max-width: 100%; }
.bani {
  margin: 0;
  max-width: 100%;
  color: #f8e940;
  font-family: "Noto Sans Gurmukhi", sans-serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.hero .khanda { width: min(240px, 62%); }
.apkrh {
  margin: 0;
  padding: 0.2em 0 0.28em;
  max-width: 100%;
  color: #8d8d8d;
  -webkit-text-fill-color: #8d8d8d;
  font-family: "Noto Sans Gurmukhi", sans-serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.9vw, 1.85rem);
  line-height: 1.75;
  letter-spacing: 0;
  background: none;
}
.wordmark { width: min(260px, 72%); background: #000021; }
.hero .wordmark { width: min(420px, 78%); max-width: 100%; height: auto; }
.eyebrow {
  margin: 0 0 0.4rem;
  color: var(--gold);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.pageTitle, .sheet h1, .sheet h2 {
  color: #f8e940;
}
.hero h1 { margin: 0 0 0.7rem; color: var(--gold); font-size: clamp(1.8rem, 4vw, 2.6rem); font-family: Verdana, Arial, sans-serif; }
.doors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}
.doors a {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  gap: 0.2rem;
  min-height: 4.6rem;
  padding: 1rem 1.1rem;
  background: transparent;
  color: #f8e940;
  text-decoration: none;
  border: 1px solid rgba(248, 233, 64, 0.55);
}
.doors a:hover { background: rgba(248, 233, 64, 0.08); color: #ffffff; }
.doors span, .section-head a {
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f8e940;
}
.doors strong { color: #f8e940; font-size: 1.35rem; font-weight: 600; }
.doors em { font-style: normal; color: var(--muted); font-size: 0.95rem; }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.35rem; margin-bottom: 0.4rem; }
.lede { font-size: 1.2rem; max-width: 40rem; }
.address { color: var(--gold); font-family: Arial, sans-serif; letter-spacing: 0.04em; }
.when { display: flex; flex-wrap: wrap; justify-content: center; text-align: center; gap: 0.7rem; }
.when div {
  background: transparent;
  color: #f7f4ea;
  border: 1px solid rgba(248, 233, 64, 0.45);
  min-width: 12rem;
  padding: 0.7rem 0.85rem;
}
.when b { display: block; color: #f8e940; font-family: Arial, sans-serif; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.25rem; }
.when span { display: block; color: #f7f4ea; }

.sheet {
  background: transparent;
  color: #f7f4ea;
  border: 0;
  padding: 0.2rem 0 1.5rem;
  margin: 0 auto;
  text-align: center;
}
.sheet h1, .sheet h2 { text-align: center; }
.sheet h1 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 500;
  margin: 0 0 1.1rem;
  padding-bottom: 0;
  border-bottom: 0;
}
.sheet h1::after {
  content: "";
  display: block;
  width: 3.5rem;
  margin: 0.55rem auto 0;
  border-bottom: 1px solid rgba(248, 233, 64, 0.55);
}
.sheet p { font-size: 1.05rem; line-height: 1.75; }
.sheet ul, .sheet ol { padding-left: 0; list-style-position: inside; }
main a { color: #f8e940; text-decoration: none; }
main a:hover { color: #ffffff; }
.prose { max-width: 40rem; margin-left: auto; margin-right: auto; }
.prose p, .post {
  text-align: left;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.85;
  color: #f7f4ea;
}
.prose p { margin: 0 0 1.15rem; }
.post {
  max-width: 40rem;
  margin: 0 auto 0.5rem;
  white-space: pre-line;
  border-top: 0;
  padding: 0 0 1.6rem;
}
.post + .post { border-top: 1px solid rgba(248, 233, 64, 0.22); padding-top: 1.4rem; }
.post h2, .post .by {
  text-align: center;
  font-family: Verdana, Arial, sans-serif;
  white-space: normal;
}
.post h2 { font-size: 1.05rem; margin: 0 0 0.2rem; }
.post .by { margin: 0 0 1.1rem; }
.kicker, .by, .index span { color: #c4c0a8; font-family: Arial, sans-serif; font-size: 0.85rem; }
.index { list-style: none; margin: 0; padding: 0; }
.index li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
  border-bottom: 1px solid rgba(248, 233, 64, 0.22);
  padding: 0.85rem 1rem;
}
.index a { text-decoration: none; color: #ffffff; font-size: 1.15rem; }
.index span { margin-top: 0; white-space: normal; }
.index li:hover { background: rgba(248, 233, 64, 0.08); }
.find { display: block; margin: 0 auto 1.2rem; text-align: center; font-family: Arial, sans-serif; font-size: 0.9rem; }
.find input {
  display: block;
  width: min(100%, 32rem);
  margin: 0.45rem auto 0;
  text-align: center;
  padding: 0.65rem 0.75rem;
  border: 1px solid #ccc;
  border-bottom: 3px solid var(--navy);
  font: 1.05rem "Source Serif 4", Georgia, serif;
  background: white;
}
.pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.2rem 0.35rem;
  margin: 0.2rem 0 1rem;
  font-family: Arial, sans-serif;
}
.pages a, .pages button, .pages span {
  color: #f8e940;
  min-width: 2.1rem;
  padding: 0.3rem 0.5rem;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}
.pages a[aria-current="page"], .pages button[aria-current="page"] {
  color: #000021;
  background: #f8e940;
}
.pages a:hover, .pages button:hover { color: #ffffff; }
.pages a[aria-current="page"]:hover, .pages button[aria-current="page"]:hover { color: #000021; }
.pages .here { color: #000021; background: #f8e940; }
.pages .jump {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.7rem;
}
.pages .jump input {
  width: 4.2rem;
  padding: 0.28rem 0.35rem;
  border: 0;
  background: #ffffff;
  color: #111111;
  font: inherit;
  text-align: center;
}
.pages button.go, .pages button.go:hover { color: #000021; background: #f8e940; }
audio { width: min(100%, 28rem); display: block; margin: 0.4rem auto 1rem; }
.sheet img { display: block; margin-left: auto; margin-right: auto; }
footer {
  background: var(--navy);
  color: white;
  text-align: center;
  padding: 1.2rem 1.25rem 2rem;
  font-family: Verdana, Arial, sans-serif;
  font-size: 13px;
}
footer a { color: var(--gold); }

@media (min-width: 801px) {
  .apkrh {
    font-size: clamp(1.65rem, 2.45vw, 2.15rem);
    white-space: nowrap;
    line-height: 1.8;
  }
  .apkrh span { display: inline; }
}
@media (max-width: 800px) {
  .apkrh {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    font-size: 1.26rem;
    line-height: 1.45;
  }
  .apkrh span { display: block; max-width: 100%; }
  .hero .wordmark { width: min(260px, 86%); }
  .nav-toggle { display: inline-block; }
  #site-nav { display: none; width: 100%; margin-left: 0; }
  #site-nav.is-open { display: flex; flex-direction: column; }
  .hero, .doors { grid-template-columns: 1fr; }
  .doors { grid-template-columns: 1fr 1fr; }
  .index span { white-space: normal; }
}
