/* ==========================================================================
   Playtime Punjabi
   Bold editorial · paper & ink · Fraunces + Plus Jakarta Sans
   ========================================================================== */

/* The exact font the stroke data was captured over (snap_strokes.py) and that
   the iOS app registers at runtime. Self-hosted so the letterforms — and the
   ink bounding box the strokes are normalised to — match the guides exactly.
   Declared at normal weight because the file is already SemiBold; asking for
   600 here would make the browser synthesise a second layer of boldness. */
@font-face {
  font-family: "GurmukhiInk";
  src: url("assets/NotoSansGurmukhi-SemiBold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ink & paper */
  --paper:      #FBF6EC;
  --paper-2:    #F3EADA;
  --art:        #F9F2E0;   /* cream baked into the letter illustrations */
  --ink:        #16233B;
  --ink-2:      #55617A;
  --ink-3:      #606A7E;   /* darkened for WCAG AA on both paper tones */
  --rule:       rgba(22, 35, 59, 0.14);

  /* brand accents (from the logo) */
  --orange:     #E9782A;
  --orange-ink: #A75114;   /* text-safe orange: 5.09:1 on paper */
  --teal:       #2C8C93;
  --gold:       #F2B62C;

  --shell:      1240px;
  --r:          14px;

  --display: "Fraunces", Georgia, serif;
  --ui:      "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --pa:      "Noto Sans Gurmukhi", "Fraunces", serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 32px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 12px 20px; z-index: 200; border-radius: 0 0 var(--r) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* film grain ------------------------------------------------------------- */
.grain {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── typography primitives ─────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  color: var(--ink);
}

p { margin: 0 0 1.1em; color: var(--ink-2); }
p:last-child { margin-bottom: 0; }

.kicker {
  font-family: var(--ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 28px;
}

/* ── buttons ───────────────────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ui);
  font-weight: 600; font-size: 0.92rem;
  padding: 11px 20px;
  border: 1.5px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.pill-lg { padding: 15px 28px; font-size: 1rem; }
.pill .ico { width: 15px; height: 15px; }

.pill-solid  { background: var(--ink); color: var(--paper); }
.pill-solid:hover  { background: var(--orange); transform: translateY(-2px); }

.pill-line   { border-color: var(--rule); color: var(--ink); }
.pill-line:hover   { border-color: var(--ink); background: var(--ink); color: var(--paper); transform: translateY(-2px); }

.pill-invert { background: var(--paper); color: var(--ink); }
.pill-invert:hover { background: var(--gold); transform: translateY(-2px); }

/* ── masthead ──────────────────────────────────────────────────────────── */
.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 246, 236, 0.88);            /* fallback: color-mix is
     dropped wholesale on older Safari, which would leave this transparent */
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.masthead.stuck { border-bottom-color: var(--rule); }

.masthead-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 76px;
}

.wordmark-img { height: 46px; width: auto; }

.nav { display: flex; gap: 34px; }
.nav a {
  position: relative;
  font-size: 0.92rem; font-weight: 600;
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 4px 0;
  color: var(--ink);
}
.nav-num {
  font-size: 0.62rem; font-weight: 700;
  color: var(--ink-3); letter-spacing: 0.06em;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.nav a:hover .nav-num { color: var(--orange); }

.masthead-end { display: flex; align-items: center; gap: 14px; }

.burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px;
  background: none; border: 1.5px solid var(--rule); border-radius: 100px;
  cursor: pointer;
}
.burger span { width: 16px; height: 1.5px; background: var(--ink); margin: 0 auto; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* ── hero ──────────────────────────────────────────────────────────────── */
.hero { padding: 90px 0 64px; }

.hero-shell { position: relative; }

/* The figure is anchored inside .hero-copy, so it stands on the hairline that
   .hero-foot draws — level with the headline, above the blurb and buttons.
   flow-root stops the headline's bottom margin collapsing out of .hero-copy,
   which is what keeps bottom:0 landing exactly on that rule. */
.hero-copy {
  position: relative;
  display: flow-root;

  /* How far in from the right edge the child stands. Change this one value to
     move the figure — the headline's gutter follows it automatically, so the
     type can never run underneath. 1in = 96px in CSS. */
  --kid-shift: 2in;
  --kid-space: 280px;          /* figure's own width, plus breathing room */
}
.hero-copy .kicker,
.hero-copy .hero-type { padding-right: calc(var(--kid-shift) + var(--kid-space)); }

/* The photo's background was recoloured to exactly --paper, so it reads as a
   cut-out with no visible frame. */
.hero-kid {
  position: absolute;
  right: var(--kid-shift);
  bottom: 0;
  margin: 0;
  z-index: 1;
  pointer-events: none;
}
/* a stack of frames, all cropped to the same box so the figure doesn't jump */
.hero-kid .slides {
  position: relative;
  height: clamp(275px, 32vw, 440px);
  aspect-ratio: 660 / 1214;
}
.hero-kid .slides img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .9s var(--ease);
}
.hero-kid .slides img.is-on { opacity: 1; }

.hero-type {
  font-size: clamp(2.9rem, 8.6vw, 7.4rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.045em;
  font-variation-settings: "SOFT" 60, "WONK" 1;
  margin: 0 0 52px;
}
.hero-type .line { display: block; }
.hero-type em {
  font-style: italic;
  font-weight: 900;
  color: var(--orange);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

.hero-mark {
  display: inline-block;
  vertical-align: baseline;
  width: clamp(56px, 11vw, 132px);
  margin-left: clamp(8px, 1.6vw, 22px);
  transform: translateY(0.1em) rotate(-4deg);
  animation: bob 6s ease-in-out infinite;
}
.hero-mark img { width: 100%; }

@keyframes bob {
  0%, 100% { transform: translateY(0.1em) rotate(-4deg); }
  50%      { transform: translateY(-0.06em) rotate(3deg); }
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  border-top: 1px solid var(--rule);
  padding-top: 34px;
}
.hero-blurb { max-width: 46ch; font-size: 1.1rem; margin: 0; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── marquee ───────────────────────────────────────────────────────────── */
.marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  padding: 16px 0;
  background: var(--paper-2);
}
.marquee-track {
  display: flex; gap: 44px; width: max-content;
  animation: slide 46s linear infinite;
}
.marquee-item {
  font-family: var(--pa);
  font-size: 1.55rem;
  color: var(--ink);
  opacity: 0.42;
  white-space: nowrap;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ── bands ─────────────────────────────────────────────────────────────── */
.band { padding: 104px 0; }
.band-paper { background: var(--paper-2); }

.band-ink { background: var(--ink); color: var(--paper); }
.band-ink h2, .band-ink h3 { color: var(--paper); }
.band-ink p { color: rgba(251, 246, 236, 0.66); }
.band-ink .band-num { color: rgba(251, 246, 236, 0.42); border-color: rgba(251,246,236,0.2); }
.band-ink .band-head { border-bottom-color: rgba(251, 246, 236, 0.16); }

.band-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: end;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 30px;
  margin-bottom: 44px;
}

.band-num {
  display: inline-block;
  font-family: var(--ui);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.band-title {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 900;
  font-variation-settings: "SOFT" 50, "WONK" 1;
}
.band-title span[lang="pa"] { font-family: var(--pa); font-weight: 700; }

.band-note { font-size: 1rem; margin: 0; max-width: 44ch; justify-self: end; }
.band-note a { border-bottom: 1.5px solid var(--orange); }
.band-note a:hover { color: var(--orange); }

/* ── video grid ────────────────────────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px 26px;
}

.vcard {
  grid-column: span 2;
  display: flex; flex-direction: column;
  background: none; border: none; padding: 0; margin: 0;
  text-align: left; cursor: pointer;
  font-family: inherit;
  transition: transform .3s var(--ease);
}
/* the two newest run wide across the top row; the rest sit three to a row */
.vcard.is-lead { grid-column: span 3; }

.vcard:hover { transform: translateY(-5px); }

.vthumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper-2);
  margin-bottom: 15px;
}
.vthumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease), filter .4s var(--ease);
}
.vcard:hover .vthumb img { transform: scale(1.045); }

.vplay {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(22, 35, 59, 0.18);
  opacity: 0; transition: opacity .3s var(--ease);
}
.vcard:hover .vplay, .vcard:focus-visible .vplay { opacity: 1; }
.vplay span {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--paper);
  display: grid; place-items: center;
  transform: scale(0.85);
  transition: transform .3s var(--ease);
}
.vcard:hover .vplay span { transform: scale(1); }
.vplay svg { width: 17px; height: 17px; margin-left: 3px; fill: var(--ink); }

.vtag {
  position: absolute; left: 12px; top: 12px;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  background: var(--paper); color: var(--ink);
  padding: 5px 11px; border-radius: 100px;
}

/* titles come from YouTube and can run long; without a clamp one of them
   stretches its card and every card in that grid row matches its height */
.vtitle {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--display);
  font-size: 1.16rem; font-weight: 700;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin: 0 0 7px;
}
.vcard.is-lead .vtitle { font-size: 1.55rem; }

.vmeta { font-size: 0.82rem; color: var(--ink-3); font-weight: 500; }

.grid-empty { text-align: center; padding: 48px 0; color: var(--ink-3); }

/* ── painti / alphabet ─────────────────────────────────────────────────── */
.painti {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 342px;
  gap: 44px;
  align-items: start;
}

.painti-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 9px;
  outline: none;
}

/* Tiles are light picture-cards on the dark band. --art matches the cream
   ground baked into the illustrations so each image blends into its card. */
.akhar {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--art);
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  transition: transform .22s var(--ease), border-color .22s var(--ease),
              box-shadow .22s var(--ease);
}
.akhar img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s var(--ease);
}
.akhar .ak-letter {
  position: absolute; left: 5px; top: 5px;
  min-width: 23px; height: 23px;
  padding: 0 5px;
  display: grid; place-items: center;
  font-family: var(--pa);
  font-size: 0.95rem; font-weight: 700; line-height: 1;
  color: var(--paper);
  background: var(--ink);
  border-radius: 100px;
  transition: background .22s var(--ease);
}
.akhar:hover { transform: translateY(-3px); border-color: rgba(251, 246, 236, 0.45); }
.akhar:hover img { transform: scale(1.07); }

.akhar.is-on {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 0 0 4px rgba(233, 120, 42, 0.22);
}
.akhar.is-on .ak-letter { background: var(--orange); }

/* NOTE: this panel is a light card inside the dark .band-ink section, so every
   rule below is scoped under .painti-detail. That keeps its specificity above
   `.band-ink p`, which would otherwise repaint this text cream-on-cream. */
.painti-detail {
  position: sticky; top: 108px;
  color: var(--ink);
  overflow-x: visible;          /* the swipe row is a phone-only behaviour */
}

/* One card per letter. On a wide screen only the selected one is shown; on a
   phone they all lay out in a row and this becomes a scroll-snap carousel. */
.pd-card {
  position: relative;
  display: none;
  overflow: hidden;
  background: var(--paper);
  border-radius: 20px;
  padding: 26px 30px 30px;
  min-height: 320px;
}
.pd-card.is-on { display: block; }

/* phulkari embroidery motif, tucked into the corner */
.pd-card::after {
  content: "";
  position: absolute; right: -18px; bottom: -18px;
  width: 116px; height: 116px;
  background: url("assets/phulkari.jpg") center/contain no-repeat;
  transform: rotate(180deg);
  opacity: 0.22;
  pointer-events: none;
}

.pd-card .pd-art {
  margin: 0 0 20px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--art);
  aspect-ratio: 1;
  max-height: 232px;
  display: grid; place-items: center;
}
.pd-card .pd-art img {
  width: 100%; height: 100%;
  object-fit: contain;
  animation: pop .4s var(--ease);
}
.pd-card .pd-art.is-rare img { opacity: 0.45; filter: saturate(0.5); }

@keyframes pop {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: none; }
}

.pd-card .pd-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 18px;
}
.pd-card .pd-letter {
  font-family: var(--pa);
  font-size: 3.4rem;
  line-height: 1;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  flex: none;
}
.pd-card .pd-name {
  font-family: var(--pa);
  font-size: 1.3rem; font-weight: 600;
  color: var(--orange-ink);
  margin: 0 0 1px;
}
.pd-card .pd-roman {
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}
.pd-card .pd-divider { height: 1px; background: var(--rule); margin: 0 0 20px; }

.pd-card .pd-label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 9px;
}
.pd-card .pd-word {
  font-family: var(--pa);
  font-size: 2rem; font-weight: 600;
  color: var(--ink); line-height: 1.2;
  margin: 0 0 4px;
}
.pd-card .pd-gloss { font-size: 0.95rem; color: var(--ink-2); margin: 0; }
.pd-card .pd-note  { font-size: 0.92rem; color: var(--ink-3); font-style: italic; margin: 0; }

.pd-card .pd-actions {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 22px;
  position: relative; z-index: 1;
}
.pd-btn {
  font-family: var(--ui);
  font-size: 0.84rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 15px;
  background: var(--paper-2);
  border: 1.5px solid var(--rule);
  border-radius: 100px;
  color: var(--ink);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.pd-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateY(-2px); }
.pd-btn-go { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.pd-btn-go:hover { background: var(--orange-ink); border-color: var(--orange-ink); color: #fff; }

.pd-card .pd-hint {
  font-size: 0.85rem; color: var(--ink-3);
  border-top: 1px solid var(--rule);
  margin-top: 22px; padding-top: 16px;
}

/* ── tracer overlay ────────────────────────────────────────────────────── */
.tracer {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(11, 18, 31, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  padding: 20px;
  animation: fade .25s var(--ease);
}
.tracer[hidden] { display: none; }

.tr-panel {
  width: min(620px, 100%);
  max-height: 96vh;
  overflow-y: auto;
  background: var(--paper);
  border-radius: 24px;
  padding: 22px 24px 20px;
  display: flex; flex-direction: column; gap: 16px;
}

.tr-top { display: flex; align-items: center; gap: 16px; }
.tr-id { flex: 1; min-width: 0; }
.tr-name {
  font-family: var(--pa);
  font-size: 1.5rem; font-weight: 700;
  color: var(--ink); margin: 0; line-height: 1.1;
}
.tr-roman {
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--ink-3); margin: 2px 0 0;
}

.tr-progress { display: flex; gap: 5px; }
.tr-pip {
  width: 22px; height: 5px;
  border-radius: 100px;
  background: var(--rule);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.tr-pip.is-done { background: var(--pip); }
.tr-pip.is-now  { background: var(--pip); opacity: .45; transform: scaleY(1.6); }

.tr-x {
  flex: none;
  width: 38px; height: 38px;
  font-size: 1.5rem; line-height: 1;
  background: none; border: 1.5px solid var(--rule);
  border-radius: 50%; color: var(--ink);
  cursor: pointer; transition: all .2s var(--ease);
}
.tr-x:hover { background: var(--ink); color: var(--paper); }

.tr-stage { position: relative; }
#tr-canvas {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  background: #FFFDF8;
  border-radius: 22px;
  box-shadow: 0 6px 20px rgba(22, 35, 59, 0.09);
  touch-action: none;            /* let the finger draw, not scroll */
  cursor: crosshair;
}

.tr-feedback {
  position: absolute; left: 50%; bottom: 14px;
  transform: translateX(-50%);
  margin: 0;
  font-family: var(--ui);
  font-size: 0.88rem; font-weight: 600;
  padding: 0 16px; line-height: 34px;
  border-radius: 100px;
  white-space: nowrap;
  opacity: 0; transition: opacity .25s var(--ease);
  pointer-events: none;
}
.tr-feedback.is-good { background: #E4F5EA; color: #24713F; opacity: 1; }
.tr-feedback.is-try  { background: #FDECEA; color: #A33A32; opacity: 1; }

/* ── reward: covers the canvas so the picture can be big ───────────────── */
/* The reward lives inside a fixed square, so on a phone a fixed-size picture
   pushed the word and buttons out of the box. The picture is now the flexible
   item: everything else takes the height it needs and the art absorbs the
   rest, so nothing is ever clipped at any screen size. */
.tr-reward {
  position: absolute; inset: 0;
  display: flex; align-items: stretch; justify-content: center;
  background: var(--art);
  border-radius: 22px;
  padding: 20px;
  animation: pop .45s var(--ease);
  overflow: hidden;
}
.tr-reward[hidden] { display: none; }

.rw-in {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  width: 100%; max-width: 420px;
  text-align: center;
}

.rw-cheer {
  font-family: var(--pa);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 700;
  color: var(--orange-ink);
  margin: 0 0 10px;
  animation: rise .5s var(--ease) both;
}

/* Square, sized by HEIGHT so aspect-ratio can derive the width. Capping the
   width instead would fight `height: 100%` and stretch this into a rectangle,
   which object-fit: cover then crops. Height shrinks under flex pressure on
   small screens; width follows it, so the box stays square everywhere. */
.rw-art {
  flex: 0 1 auto;
  min-height: 0;                /* lets it shrink inside the flex column */
  height: 100%;
  max-height: 260px;
  width: auto;
  aspect-ratio: 1;
  margin: 0 auto 12px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(22, 35, 59, 0.13);
  animation: rise .5s .06s var(--ease) both;
}
.rw-art img { width: 100%; height: 100%; object-fit: cover; }

.rw-word {
  font-family: var(--pa);
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 4px;
  animation: rise .5s .12s var(--ease) both;
}
.rw-translit {
  font-size: 0.95rem; font-weight: 600;
  color: var(--ink-2); margin: 0;
  animation: rise .5s .16s var(--ease) both;
}
.rw-note {
  font-size: 0.95rem; color: var(--ink-2);
  font-style: italic; margin: 0; max-width: 34ch;
  margin-inline: auto;
  animation: rise .5s .12s var(--ease) both;
}

.rw-actions {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin-top: 20px;
  animation: rise .5s .2s var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* auto-advance countdown — the bar fills over exactly ADVANCE_MS, passed in
   from tracer.js as --dur, so what's on screen matches the real timer */
.rw-next {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  margin-top: 16px;
  animation: rise .5s .26s var(--ease) both;
}
.rw-next-bar {
  display: block;
  width: 130px; height: 4px;
  background: var(--rule);
  border-radius: 100px;
  overflow: hidden;
}
/* held empty until the reward has finished animating in (--in), then fills
   over --dur — so the bar tracks the real timer rather than starting early */
.rw-next-bar i {
  display: block; height: 100%; width: 100%;
  background: var(--orange);
  border-radius: inherit;
  transform-origin: left;
  animation: fill var(--dur, 1500ms) linear var(--in, 760ms) both;
}
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.rw-next-label {
  font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

/* a bar that snaps to full would misdescribe the wait — drop it instead */
@media (prefers-reduced-motion: reduce) {
  .rw-next-bar { display: none; }
}

/* phone: trim the fixed rows so the flexible picture stays a decent size */
@media (max-width: 600px) {
  .tr-reward { padding: 14px; }
  .rw-cheer    { font-size: 1.1rem;  margin-bottom: 6px; }
  .rw-art      { margin-bottom: 8px; }
  .rw-word     { font-size: 1.7rem; }
  .rw-translit { font-size: 0.8rem; }
  .rw-note     { font-size: 0.85rem; }
  .rw-actions  { margin-top: 12px; gap: 6px; flex-wrap: nowrap; }
  .rw-actions .tr-btn { padding: 7px 12px; font-size: 0.78rem; white-space: nowrap; }
  .rw-next       { margin-top: 10px; gap: 5px; }
  .rw-next-label { display: none; }
}

.tr-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tr-btn {
  font-family: var(--ui);
  font-size: 0.85rem; font-weight: 600;
  padding: 9px 15px;
  background: none;
  border: 1.5px solid var(--rule);
  border-radius: 100px;
  color: var(--ink);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.tr-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tr-btn-go { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.tr-btn-go:hover { background: var(--orange-ink); border-color: var(--orange-ink); color: #fff; }

.tr-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: var(--ink-2);
  cursor: pointer;
}
.tr-nav { display: flex; gap: 8px; margin-left: auto; }

@media (max-width: 560px) {
  .tr-panel { padding: 16px 16px 14px; border-radius: 18px; }
  .tr-tools { gap: 6px; }
  .tr-btn { padding: 8px 12px; font-size: 0.8rem; }
  .tr-nav { margin-left: 0; width: 100%; }
  .tr-btn-go { flex: 1; }
}

/* ── story ─────────────────────────────────────────────────────────────── */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: center;
}
.story-lead {
  font-family: var(--display);
  font-size: 1.6rem; font-weight: 600;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  line-height: 1.32; letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 22px;
}
.story-copy .band-title { margin-bottom: 26px; }

.ledger { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.ledger li {
  border-bottom: 1px solid var(--rule);
  padding: 13px 0;
  font-size: 0.95rem; font-weight: 500;
  color: var(--ink);
  display: flex; align-items: center; gap: 12px;
}
.ledger li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); flex: none;
}

.story-art { margin: 0; }

/* Crossfading pair. Both photos sit on exactly --paper, so `contain` letterboxes
   them invisibly and they can share one frame despite differing aspect ratios. */
.story-art .slides {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 53 / 100;
  margin-inline: auto;
}
.story-art .slides img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.story-art .slides img.is-on { opacity: 1; }

.story-art figcaption {
  font-size: 0.85rem; color: var(--ink-3);
  margin-top: 16px; font-style: italic;
  text-align: center;
}

/* ── parents rows ──────────────────────────────────────────────────────── */
.rows { border-top: 1px solid var(--rule); }
.row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  padding: 34px 0;
  border-bottom: 1px solid var(--rule);
  transition: padding-left .3s var(--ease);
}
.row:hover { padding-left: 12px; }
.row h3 {
  font-size: 1.45rem; font-weight: 700;
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.row p { margin: 0; }

/* ── closer ────────────────────────────────────────────────────────────── */
.closer { background: var(--ink); color: var(--paper); padding: 116px 0; }
.closer-in { text-align: center; }
.closer h2 {
  color: var(--paper);
  font-size: clamp(2.6rem, 7.5vw, 5.6rem);
  font-weight: 900;
  font-variation-settings: "SOFT" 70, "WONK" 1;
  margin-bottom: 16px;
}
.closer p { color: rgba(251, 246, 236, 0.62); margin-bottom: 34px; }

/* ── footer ────────────────────────────────────────────────────────────── */
.foot { background: var(--ink); color: rgba(251, 246, 236, 0.6); padding: 0 0 40px; }
.foot-in {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
  border-top: 1px solid rgba(251, 246, 236, 0.14);
  padding-top: 34px;
}
/* No filter here. The logo PNG is 50% transparent, so brightness(0) invert(1)
   collapsed the outline, lettering and characters into one solid white
   silhouette — a legible shape but an unreadable logo. Shown in full colour
   on a light chip so it reads against the dark footer. */
.foot-logo {
  height: 58px;
  background: var(--paper);
  border-radius: 14px;
  padding: 7px 12px;
}
.foot-nav { display: flex; gap: 26px; flex-wrap: wrap; font-size: 0.9rem; font-weight: 500; }
.foot-nav a:hover { color: var(--gold); }
.foot-fine { font-size: 0.82rem; margin: 0; color: rgba(251, 246, 236, 0.62); }

/* ── lightbox ──────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(11, 18, 31, 0.94);
  display: grid; place-items: center;
  padding: 28px;
  animation: fade .28s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }

.lightbox-stage { width: min(1100px, 100%); }
.lightbox-frame {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: var(--r); overflow: hidden;
  background: #000;
}
.lightbox-frame iframe { width: 100%; height: 100%; border: 0; }

.lightbox-close {
  position: absolute; top: 22px; right: 26px;
  width: 46px; height: 46px;
  font-size: 1.7rem; line-height: 1;
  background: none; border: 1.5px solid rgba(251,246,236,0.3);
  border-radius: 50%; color: var(--paper);
  cursor: pointer; transition: all .22s var(--ease);
}
.lightbox-close:hover { background: var(--paper); color: var(--ink); }

/* ══════════ practice page (learn.html) ══════════ */
.learn-body {
  background: var(--paper-2);
  /* the drawer and the sticky columns all hang off this, so the header's
     height is declared once rather than guessed at in three places */
  --bar-h: 74px;
}

.learn-bar {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 16px;
  min-height: var(--bar-h);
  padding: 10px 28px;
  background: rgba(243, 234, 218, 0.90);            /* fallback, as above */
  background: color-mix(in srgb, var(--paper-2) 90%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.learn-back {
  font-family: var(--ui);
  font-size: 0.9rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--ink-2);
  transition: color .2s var(--ease);
}
.learn-back:hover { color: var(--orange); }

.learn-title {
  font-family: var(--display);
  font-size: 1.1rem; font-weight: 700;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  margin: 0 0 0 8px;
  color: var(--ink);
}

/* pushed to the far right; holds the rail button and the logo */
.learn-end {
  display: flex; align-items: center; gap: 14px;
  margin-left: auto;
}
.learn-logo {
  display: block;
  flex: none;
  transition: transform .2s var(--ease);
}
.learn-logo img { height: 44px; width: auto; }
.learn-logo:hover { transform: translateY(-1px); }
.learn-title span[lang="pa"] { font-family: var(--pa); font-weight: 600; }

/* three columns: letters · canvas · context */
.learn-main {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 290px;
  gap: 26px;
  align-items: start;
  max-width: 1560px;
  margin: 0 auto;
  padding: 26px 28px 56px;
}

/* ── shared panel bits ─────────────────────────────────────────────────── */
.lp-label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 12px;
}
.lp-note { font-size: 0.82rem; color: var(--ink-3); margin: 0; }

/* ── letter rail ───────────────────────────────────────────────────────── */
.lp-rail {
  position: sticky; top: calc(var(--bar-h) + 18px);
  background: var(--paper);
  border-radius: 22px;
  padding: 18px;
  max-height: calc(100vh - var(--bar-h) - 50px);
  max-height: calc(100dvh - var(--bar-h) - 50px);
  overflow-y: auto;
}
.lp-rail-label { padding-left: 2px; }
.lp-rail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }

.lp-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--art);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 0; cursor: pointer;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.lp-tile img { width: 100%; height: 100%; object-fit: cover; }
.lp-l {
  position: absolute; left: 5px; top: 5px;
  min-width: 21px; height: 21px; padding: 0 5px;
  display: grid; place-items: center;
  font-family: var(--pa);
  font-size: 0.85rem; font-weight: 700; line-height: 1;
  color: var(--paper); background: var(--ink);
  border-radius: 100px;
}
.lp-tile:hover { transform: translateY(-2px); border-color: var(--rule); }
.lp-tile.is-on { border-color: var(--orange); }
.lp-tile.is-on .lp-l { background: var(--orange); }

/* completed tick */
.lp-tick {
  position: absolute; right: 5px; bottom: 5px;
  width: 19px; height: 19px;
  display: grid; place-items: center;
  font-size: 0.68rem; font-weight: 700;
  color: #fff; background: #4CAF7D;
  border-radius: 50%;
  opacity: 0; transform: scale(.5);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.lp-tile.is-done .lp-tick { opacity: 1; transform: none; }
.lp-tile.is-done img { opacity: .82; }

/* ── canvas column ─────────────────────────────────────────────────────── */
.tracer-page {
  position: static; inset: auto;
  display: block;
  background: none;
  -webkit-backdrop-filter: none;   /* .tracer sets the prefixed one too */
  backdrop-filter: none;
  padding: 0; animation: none;
}
.tracer-page .tr-panel {
  width: 100%;
  max-width: none;
  max-height: none;
  overflow: visible;
  background: var(--paper);
  border-radius: 24px;
  padding: 20px;
  gap: 18px;
}
/* The canvas is square, so width alone would make it taller than the window on
   a wide screen. The cap goes on the stage rather than the canvas, so the
   reward overlay (inset: 0) keeps lining up with the canvas exactly. */
.tracer-page .tr-stage {
  width: min(100%, calc(100vh - 250px));
  width: min(100%, calc(100dvh - 250px));   /* dvh tracks the iOS URL bar */
  margin-inline: auto;
}
.tracer-page #tr-canvas {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* ── side panel ────────────────────────────────────────────────────────── */
.lp-side {
  position: sticky; top: calc(var(--bar-h) + 18px);
  display: flex; flex-direction: column; gap: 14px;
}

.lp-card {
  background: var(--paper);
  border-radius: 22px;
  padding: 22px 20px 20px;
  text-align: center;
}
.lp-glyph {
  font-family: var(--pa);
  font-size: 4.2rem; line-height: 1; font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}
.lp-card .tr-name {
  font-family: var(--pa);
  font-size: 1.25rem; font-weight: 600;
  color: var(--orange-ink);
  margin: 0 0 2px;
}
.lp-card .tr-roman {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 16px;
}
.lp-hear { width: 100%; justify-content: center; }

.lp-block {
  background: var(--paper);
  border-radius: 22px;
  padding: 18px 20px;
}
.lp-block .tr-progress { margin-bottom: 10px; }
.lp-block .tr-pip { width: 100%; height: 6px; }

/* progress ring */
.lp-prog { display: flex; align-items: center; gap: 14px; }
.lp-ring { width: 54px; height: 54px; flex: none; transform: rotate(-90deg); }
.lp-ring circle { fill: none; stroke-width: 4; }
.lp-ring-bg { stroke: var(--rule); }
.lp-ring-fg {
  stroke: #4CAF7D; stroke-linecap: round;
  transition: stroke-dashoffset .6s var(--ease);
}
.lp-count { font-size: 0.95rem; color: var(--ink-2); margin: 0; }
.lp-count strong {
  font-family: var(--display);
  font-size: 1.5rem; font-weight: 900;
  color: var(--ink);
  margin-right: 2px;
}

.lp-reset {
  margin-top: 14px;
  width: 100%;
  font-family: var(--ui);
  font-size: 0.78rem; font-weight: 600;
  padding: 8px 12px;
  background: none;
  border: 1.5px solid var(--rule);
  border-radius: 100px;
  color: var(--ink-3);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.lp-reset:hover { border-color: var(--ink); color: var(--ink); }

.lp-check {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.86rem; font-weight: 600;
  color: var(--ink-2);
  padding: 5px 0;
  cursor: pointer;
}
.lp-keys { margin-top: 10px; }

.lp-railbtn { display: none; }

/* ── narrower: drop the side panel under the canvas ────────────────────── */
@media (max-width: 1280px) {
  .learn-main {
    grid-template-columns: 260px minmax(0, 1fr);
    max-width: 1100px;
  }
  .lp-side {
    grid-column: 1 / -1;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .lp-side > * { flex: 1 1 220px; }
  .lp-card { display: flex; align-items: center; gap: 16px; text-align: left; }
  .lp-glyph { margin: 0; font-size: 3rem; }
  .lp-card .tr-roman { margin-bottom: 0; }
  .lp-hear { width: auto; margin-left: auto; }
}

/* ── small: rail becomes a drawer ──────────────────────────────────────── */
@media (max-width: 900px) {
  .learn-main { grid-template-columns: 1fr; padding: 18px 18px 44px; }
  .lp-railbtn { display: inline-flex; }
  /* Drawer hangs off the real bar height — hard-coding it meant the panel
     slid under the header the moment the header changed size. z-index sits
     above the tracer so nothing in the canvas column can paint over it. */
  .lp-rail {
    position: fixed;
    inset: var(--bar-h) 0 auto 0;
    z-index: 450;
    border-radius: 0 0 22px 22px;
    max-height: min(64vh, calc(100vh - var(--bar-h) - 16px));
    max-height: min(64dvh, calc(100dvh - var(--bar-h) - 16px));
    display: none;
    box-shadow: 0 18px 40px rgba(22, 35, 59, 0.22);
  }
  .lp-rail.open { display: block; }

  /* dims the page behind the open drawer and catches taps to dismiss it */
  .lp-scrim[hidden] { display: none; }
  .lp-scrim {
    position: fixed; inset: 0; z-index: 440;
    background: rgba(11, 18, 31, 0.42);
    opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease);
  }
  .lp-scrim.open { opacity: 1; pointer-events: auto; }
  .lp-rail-grid { grid-template-columns: repeat(7, 1fr); }
  .lp-side { flex-direction: column; }
  .lp-side > * { flex: none; }
}

@media (max-width: 560px) {
  .learn-body { --bar-h: 62px; }
  .learn-title { display: none; }
  .learn-logo img { height: 36px; }
  .learn-bar { padding: 8px 16px; gap: 10px; }
  .lp-rail-grid { grid-template-columns: repeat(5, 1fr); }
  .tracer-page .tr-panel { padding: 14px; border-radius: 18px; }
  .lp-card { flex-wrap: wrap; }
  .lp-hear { width: 100%; margin-left: 0; justify-content: center; }
}

/* ── reveal ────────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ══════════ responsive ══════════ */
@media (max-width: 1080px) {
  .painti { grid-template-columns: 1fr; }
  .painti-detail { position: static; }
  .painti-grid { grid-template-columns: repeat(7, 1fr); }

  /* Swipe left and right through the word cards. scroll-snap does the
     physics; script.js just reads which card ended up in the middle. */
  .painti-detail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .painti-detail::-webkit-scrollbar { display: none; }

  .pd-card {
    display: block;                 /* every card is present, not just the one */
    flex: 0 0 100%;
    scroll-snap-align: center;
    min-height: 0;
  }
  .pd-card .pd-hint { display: flex; align-items: center; gap: 8px; }
  .pd-card .pd-hint::after {
    content: "swipe for more →";
    color: var(--ink-3);
    margin-left: auto;
  }
}

@media (max-width: 1180px) {
  /* narrower page: pull the figure back toward the edge so the type keeps room */
  .hero-copy { --kid-shift: 1in; --kid-space: 240px; }
  .hero-kid .slides { height: clamp(242px, 30vw, 374px); }
}
@media (max-width: 1000px) {
  .hero-copy { --kid-shift: 0in; --kid-space: 225px; }
}

@media (max-width: 900px) {
  .shell { padding: 0 24px; }
  .band { padding: 78px 0; }

  .band-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .band-note { justify-self: start; }

  .hero { padding: 64px 0 48px; }
  .hero-foot { grid-template-columns: 1fr; gap: 28px; align-items: start; }

  /* stop overlapping: the figure drops below the headline and centres */
  .hero-copy { display: block; }
  .hero-copy .kicker,
  .hero-copy .hero-type { padding-right: 0; }
  .hero-kid {
    position: static;
    display: flex;
    justify-content: center;
    margin: 0 0 28px;
  }
  .hero-kid .slides { height: clamp(308px, 62vw, 440px); }

  .video-grid { grid-template-columns: repeat(4, 1fr); }
  .vcard, .vcard.is-lead { grid-column: span 2; }
  .vcard.is-lead .vtitle { font-size: 1.32rem; }

  .story { grid-template-columns: 1fr; gap: 44px; }
  .story-art { order: -1; }

  .row { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 720px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 6px 24px 14px;
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity .28s var(--ease), transform .28s var(--ease);
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--rule); }
  .nav a:last-child { border-bottom: none; }
  .burger { display: flex; }

  .painti-grid { grid-template-columns: repeat(5, 1fr); }
  .akhar { font-size: 1.4rem; border-radius: 9px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .video-grid { grid-template-columns: 1fr; gap: 34px; }
  .vcard, .vcard.is-lead { grid-column: span 1; }
  .hero-cta .pill { width: 100%; justify-content: center; }
  .foot-in { flex-direction: column; align-items: flex-start; }
  .painti-detail { padding: 28px 24px; }
  .pd-letter { font-size: 4.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* practise link in the main nav */
.nav-go {
  color: var(--orange) !important;
  font-weight: 700;
}
.nav-go::after { background: var(--orange) !important; }

/* ══════════ 404 ══════════ */
.nf { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 40px 0; }
.nf-in { text-align: center; max-width: 560px; }
.nf-logo { height: 92px; width: auto; margin: 0 auto 28px; }
.nf-oops {
  font-family: var(--pa);
  font-size: 1.6rem; font-weight: 600;
  color: var(--orange-ink);
  margin: 0 0 8px;
}
.nf-title {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 900;
  font-variation-settings: "SOFT" 60, "WONK" 1;
  margin: 0 0 14px;
}
.nf-blurb { font-size: 1.05rem; margin: 0 auto 30px; max-width: 42ch; }
.nf-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* plain-text context on the practice page — explains the canvas activity to
   readers and to search engines, which can't see a <canvas> */
.lp-about {
  grid-column: 1 / -1;
  max-width: 68ch;
  margin: 8px auto 0;
  padding: 28px 22px 4px;
}
.lp-about h2 {
  font-size: 1.5rem;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  margin-bottom: 14px;
}
.lp-about p { font-size: 0.98rem; }
.lp-about a { border-bottom: 1.5px solid var(--orange); }
.lp-about a:hover { color: var(--orange-ink); }
.lp-about span[lang="pa"] { font-family: var(--pa); }
