/* Shaheedi Bunga — Dilruba page
   Light and gentle: cream ground, the navy and gold taken from the illustration. */

:root {
  --cream:      #faf6ee;
  --cream-deep: #f3ecdd;
  --ink:        #16294a;
  --ink-soft:   #4d5d76;
  --blue:       #2e6cae;
  --gold:       #c9a03c;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --gurmukhi: "Noto Sans Gurmukhi", var(--sans);

  --wrap: 1180px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  z-index: 50;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- masthead ---------- */

.masthead {
  padding-block: 22px;
}
.masthead .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.seal {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.wordmark strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .01em;
}
.wordmark span {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- hero ---------- */

.hero {
  padding-block: clamp(24px, 5vh, 56px) clamp(40px, 8vh, 90px);
}

.hero-grid {
  display: grid;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 900px) {
  .hero { min-height: calc(100vh - 90px); display: flex; align-items: center; }
  .hero-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
}

.eyebrow {
  font-family: var(--gurmukhi);
  font-size: clamp(20px, 2.6vw, 27px);
  color: var(--gold);
  margin: 0 0 .35em;
  letter-spacing: .02em;
}

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(52px, 9vw, 104px);
  line-height: .98;
  letter-spacing: -.015em;
  margin: 0 0 .32em;
}
h1 em {
  font-style: italic;
  color: var(--blue);
}

.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 2em;
}

.cue {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.cue-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .35; transform: scale(.8); }
  50%      { opacity: 1;   transform: scale(1); }
}

/* The gaj follows the cursor where there is one, and plays by itself where
   there isn't — so the two cues describe genuinely different behaviour. */
.for-touch { display: none; }
@media (hover: none) and (pointer: coarse) {
  .for-pointer { display: none; }
  .for-touch   { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  .cue-dot { animation: none; opacity: .7; }
}

/* ---------- the illustration ---------- */
/* dilruba-bow (js/dilruba-bow.js) handles its own motion, cursor tracking and
   prefers-reduced-motion — there is nothing to drive from here. */

.stage {
  position: relative;
  width: 100%;
  max-width: min(74vh, 720px);
  margin-inline: auto;
}
dilruba-bow {
  display: block;
  width: 100%;
}
