/* Mausam's site, in the game's look: day paper and ink, its amber, the
   serif for names; dark like the game's night glass when the phone is. */
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/InstrumentSerif-Regular.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  src: url('/fonts/InstrumentSerif-Italic.ttf') format('truetype');
  font-display: swap;
}

:root {
  --paper: #fbf6ee;
  --panel: rgba(42, 34, 48, 0.035);
  --ink: #2a2230;
  --body: #5b4e49;
  --soft: #6b5d57;
  --kicker: #b25c0c;
  --accent: #ffb347;
  --rule: rgba(42, 34, 48, 0.1);
  --sky-top: #7fa8d8;
  --sky-low: #cbdcea;
  --sun: #fff1c9;
  --dots: rgba(255, 241, 201, 0.95);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1d1a2b;
    --panel: rgba(255, 243, 224, 0.06);
    --ink: #fff3e0;
    --body: #e6d6c0;
    --soft: #d9c6ad;
    --kicker: #ffb347;
    --rule: rgba(255, 230, 190, 0.14);
    --sky-top: #0a1330;
    --sky-low: #41324f;
    --sun: #e9e2d0;
    --dots: rgba(233, 226, 208, 0.6);
  }
}

* {
  box-sizing: border-box;
}
html {
  background: var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
}

/* The real sky's colours over rooftops, washed toward the page. */
.sky {
  position: relative;
  height: 220px;
  background: linear-gradient(var(--sky-top), var(--sky-low) 70%, var(--paper));
  overflow: hidden;
}
.sky .sun {
  position: absolute;
  top: 54px;
  left: 66%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 40px 18px rgba(255, 220, 150, 0.35);
}
.sky .path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sky .roofs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  width: 100%;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 8px 16px 48px;
}
.kicker {
  margin: 0;
  color: var(--kicker);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker .ur {
  margin-left: 10px;
  letter-spacing: 0;
  font-size: 18px;
  font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Urdu Typesetting', serif;
}
h1,
h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.05;
}
h1 {
  font-size: 46px;
  margin: 6px 0 14px;
}
h2 {
  font-size: 28px;
  margin: 34px 0 8px;
}
p {
  margin: 0 0 14px;
}
a {
  color: var(--kicker);
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 30px;
}
nav a {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--accent);
  color: #2a1e2c;
  font-weight: 700;
  text-decoration: none;
}
nav a.quiet {
  background: transparent;
  color: var(--ink);
  border: 1.2px solid var(--rule);
}
.note {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--rule);
  font-size: 15px;
}
.small {
  font-size: 13.5px;
  color: var(--soft);
}
.back {
  display: inline-block;
  margin: 18px 0 0;
  font-size: 15px;
}
