/* elvish.css — Tengwar fonts + script-output styling for elvish.html.
   All URLs are document-relative to this file (../fonts/...), so the page
   works at / (dev) and under /character[-uat] (apache) alike.

   Face roster + licensing: data/elvish/FONTS.md. Defaults are Dan Smith's
   language-matched faces (postcard-ware); Annatar and Parmaitë were retired
   from the translator (non-commercial terms). */

@font-face {
  font-family: "TengwarQuenya";
  src: url("../fonts/elvish/Tengwar-Quenya.woff2") format("woff2"),
       url("../fonts/elvish/Tengwar-Quenya.ttf") format("truetype");
  font-weight: normal; font-style: normal; font-display: swap;
}

@font-face {
  font-family: "TengwarSindarin";
  src: url("../fonts/elvish/Tengwar-Sindarin.woff2") format("woff2"),
       url("../fonts/elvish/Tengwar-Sindarin.ttf") format("truetype");
  font-weight: normal; font-style: normal; font-display: swap;
}

@font-face {
  font-family: "TengwarParmaite";
  src: url("../fonts/elvish/Tengwar-Parmaite.woff2") format("woff2"),
       url("../fonts/elvish/Tengwar-Parmaite.ttf") format("truetype");
  font-weight: normal; font-style: normal; font-display: swap;
}

@font-face {
  font-family: "TengwarOptime";
  src: url("../fonts/elvish/Tengwar-Optime.woff2") format("woff2"),
       url("../fonts/elvish/Tengwar-Optime.ttf") format("truetype");
  font-weight: normal; font-style: normal; font-display: swap;
}

@font-face {
  font-family: "TengwarGreifswalder";
  src: url("../fonts/elvish/Tengwar-Greifswalder.woff2") format("woff2"),
       url("../fonts/elvish/Tengwar-Greifswalder.ttf") format("truetype");
  font-weight: normal; font-style: normal; font-display: swap;
}

@font-face {
  font-family: "TengwarNoldor";
  src: url("../fonts/elvish/Tengwar-Noldor.woff2") format("woff2"),
       url("../fonts/elvish/Tengwar-Noldor.ttf") format("truetype");
  font-weight: normal; font-style: normal; font-display: swap;
}

@font-face {
  font-family: "TengwarTelerin";
  src: url("../fonts/elvish/Tengwar-Telerin.woff2") format("woff2"),
       url("../fonts/elvish/Tengwar-Telerin.ttf") format("truetype");
  font-weight: normal; font-style: normal; font-display: swap;
}

@font-face {
  font-family: "TengwarEldamar";
  src: url("../fonts/elvish/Tengwar-Eldamar.woff2") format("woff2"),
       url("../fonts/elvish/Tengwar-Eldamar.ttf") format("truetype");
  font-weight: normal; font-style: normal; font-display: swap;
}

@font-face {
  font-family: "TengwarElfica";
  src: url("../fonts/elvish/Tengwar-Elfica.woff2") format("woff2"),
       url("../fonts/elvish/Tengwar-Elfica.ttf") format("truetype");
  font-weight: normal; font-style: normal; font-display: swap;
}

@font-face {
  font-family: "TengwarFormal";
  src: url("../fonts/elvish/Tengwar-formal.woff2") format("woff2"),
       url("../fonts/elvish/Tengwar-formal.ttf") format("truetype");
  font-weight: normal; font-style: normal; font-display: swap;
}

/* ── tengwar script block in the output pane ──────────────────────────── */

.tengwar-out {
  font-size: 1.6em;      /* the response font at inscription size */
  line-height: 1.9;
  color: #1f1508;        /* ink on the parchment sheet */
  overflow-wrap: break-word;
}
