/* Noorjahan Public School — shared design tokens (from the school seal: ink black, antique gold, stone grey) */
:root {
  --ink: #161513;
  --ink-2: #3b3833;
  --muted: #6d675d;
  --gold: #9c6a1f;
  --gold-2: #b98a3e;
  --gold-soft: #f3e8d2;
  --paper: #faf7f1;
  --card: #ffffff;
  --stone: #e6e3dc;
  --line: #e4ddd0;
  --ok: #1f7a4d;
  --ok-soft: #e3f3ea;
  --bad: #b3261e;
  --bad-soft: #fbe9e7;
  --warn: #a15c00;
  --warn-soft: #fdf0dc;
  --shadow: 0 1px 2px rgba(22, 21, 19, .06), 0 8px 24px rgba(22, 21, 19, .06);
  --radius: 14px;
  --font-head: 'Cormorant Garamond', 'Noto Serif Devanagari', Georgia, serif;
  --font-body: 'Inter', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: var(--gold); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
html[lang="hi"] body { line-height: 1.7; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .6rem 1.15rem; border-radius: 999px; border: 1px solid transparent; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .12s ease, background .15s ease; }
.btn:hover { background: #000; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn.gold { background: var(--gold); }
.btn.gold:hover { background: #87591a; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--gold-soft); }
.btn.danger { background: var(--bad); }
.btn.small { min-height: 36px; padding: .35rem .85rem; font-size: .9rem; }

.field { display: grid; gap: .3rem; }
.field > span { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.input, select.input, textarea.input { width: 100%; min-height: 44px; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
textarea.input { min-height: 90px; resize: vertical; }
.input:focus { border-color: var(--gold-2); outline: none; box-shadow: 0 0 0 3px rgba(185, 138, 62, .2); }
