/* Tales of Khassid global navigation — shared across the static site. */
html.tok-drawer-open,
html.tok-drawer-open body { overflow: hidden !important; }

.site-header { z-index: 900 !important; }
.site-header .header-inner { min-height: 76px !important; gap: 1rem !important; }
.site-header .nav-stack,
.site-header .header-support-row,
header.site-header div.nav-stack,
header.site-header div.header-support-row { display: none !important; visibility: hidden !important; }
.site-header .brand { position: relative; z-index: 2; }
.site-header .brand-title { letter-spacing: .01em; }
.site-header .brand-subtitle { max-width: 360px; line-height: 1.25; }

.tok-language-link {
  margin-left: auto; padding: .45rem .68rem; border: 1px solid rgba(21,49,73,.24);
  color: #153149; background: rgba(255,255,255,.42); font: 750 .72rem/1 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .08em; text-decoration: none; text-transform: uppercase;
}
.tok-language-link:hover, .tok-language-link:focus-visible { border-color: #9a5a3d; background: #fffaf0; }
.tok-language-link + .tok-quick-nav { margin-left: 0; }

html.tok-translation-covenant-open,
html.tok-translation-covenant-open body { overflow: hidden !important; }
.tok-translation-covenant-scrim {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 24px;
  overflow-y: auto; background: rgba(3,14,22,.88); backdrop-filter: blur(10px);
}
.tok-translation-covenant {
  width: min(760px,100%); margin: auto; padding: clamp(1.7rem,5vw,3.4rem);
  border: 1px solid rgba(215,182,75,.62); border-top: 5px solid #d7b64b;
  color: #e8eff1; background: #0b2a3d; box-shadow: 0 34px 90px rgba(0,0,0,.48);
}
.tok-translation-covenant__mark {
  width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 1.1rem;
  border: 1px solid #d7b64b; border-radius: 50%; color: #e3c45e; font: 700 1.45rem Georgia,serif;
}
.tok-translation-covenant__eyebrow {
  margin: 0 0 .55rem; color: #e3c45e; font-size: .68rem; font-weight: 850;
  letter-spacing: .17em; text-transform: uppercase;
}
.tok-translation-covenant h1 {
  max-width: 680px; margin: 0 0 1.35rem; color: #fffaf0;
  font: 700 clamp(1.8rem,4.4vw,3rem)/1.08 Georgia,serif; letter-spacing: -.02em;
}
.tok-translation-covenant__copy p { margin: 0 0 1rem; color: #d2dee2; line-height: 1.68; }
.tok-translation-covenant__actions { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-top: .45rem; }
.tok-translation-covenant__enter {
  min-height: 52px; padding: .75rem 1.2rem; border: 0;
  color: #132735; background: #d7b64b; font: 850 .88rem/1.2 Inter,ui-sans-serif,system-ui,sans-serif;
  cursor: pointer;
}
.tok-translation-covenant__enter:hover,
.tok-translation-covenant__enter:focus-visible { background: #e4c85d; outline: 3px solid rgba(255,250,240,.82); outline-offset: 3px; }
.tok-translation-covenant__stay {
  min-height: 46px; padding: .65rem .8rem; border: 0; color: #d2dee2; background: transparent;
  font: 750 .78rem/1.2 Inter,ui-sans-serif,system-ui,sans-serif; text-decoration: underline; cursor: pointer;
}
.tok-translation-covenant__stay:hover,
.tok-translation-covenant__stay:focus-visible { color: #fffaf0; outline: 2px solid rgba(255,250,240,.75); outline-offset: 2px; }
@media(max-width:600px){
  .tok-translation-covenant-scrim { align-items: start; padding: 12px; }
  .tok-translation-covenant { padding: 1.45rem; }
}

/* Translation-correction intake (footer link + feedback dialog). */
.tok-feedback-link { color: #9fb0bb; font-size: .74rem; text-decoration: underline; text-underline-offset: .16em; }
.tok-feedback-link:hover, .tok-feedback-link:focus-visible { color: #f3d775; }
.tok-feedback-dialog { width: min(560px,100%); }
.tok-feedback-form { display: grid; gap: .3rem; margin-top: .4rem; }
.tok-feedback-form label { margin-top: .55rem; color: #e3c45e; font: 750 .72rem/1.2 Inter,ui-sans-serif,system-ui,sans-serif; letter-spacing: .04em; }
.tok-feedback-form textarea {
  width: 100%; padding: .6rem .7rem; border: 1px solid rgba(215,182,75,.4); color: #eaf1f3;
  background: rgba(255,255,255,.06); font: 400 .92rem/1.5 Inter,ui-sans-serif,system-ui,sans-serif; resize: vertical;
}
.tok-feedback-form textarea:focus-visible { outline: 2px solid #d7b64b; outline-offset: 1px; }
.tok-feedback-note { margin: .9rem 0 0; padding: .7rem .85rem; border-left: 3px solid #7fc0cb; color: #d2dee2; background: rgba(127,192,203,.1); font-size: .86rem; }

.tok-quick-nav { margin-left: auto; display: grid; justify-items: end; align-content: center; gap: .2rem; }
.tok-social-icons { display: flex; align-items: center; gap: .18rem; }
.tok-quick-nav a,
.site-header .nav-toggle.tok-menu-button {
  min-height: 42px !important; display: inline-flex !important; align-items: center; justify-content: center;
  padding: 0 .78rem !important; border: 1px solid transparent !important; background: transparent !important;
  color: #153149 !important; font: 750 .82rem/1 Inter, ui-sans-serif, system-ui, sans-serif !important;
  letter-spacing: .055em; text-transform: uppercase; text-decoration: none; cursor: pointer;
}
.tok-quick-nav a:hover, .tok-quick-nav a:focus-visible { border-color: rgba(31,71,108,.25) !important; background: rgba(255,255,255,.55) !important; }
.tok-quick-nav .tok-social-icon { width: 38px; padding: 0 !important; }
.tok-quick-nav .tok-social-icon img { width: 17px; height: 17px; display: block; }
.tok-quick-nav .tok-quick-nav__newsletter { min-height: 23px !important; padding: 0 .45rem !important; border-color: rgba(215,182,75,.58) !important; background: #fff8dc !important; color: #634910 !important; font-size: .65rem !important; letter-spacing: .02em; text-transform: none; }
.site-header .nav-toggle.tok-menu-button,
header.site-header .nav-toggle.tok-menu-button {
  width: auto !important; min-width: 100px !important; flex: 0 0 auto !important;
  gap: .6rem; margin-left: .3rem !important; border-color: rgba(31,71,108,.24) !important;
  background: #153149 !important; color: #fffaf0 !important;
}
.tok-menu-icon { width: 19px; height: 14px; display: grid; align-content: space-between; }
.tok-menu-icon i { display: block; height: 1px; background: currentColor; }

.tok-drawer-scrim { position: fixed; inset: 0; z-index: 990; background: rgba(5,13,22,.66); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
.tok-drawer-scrim.is-open { opacity: 1; visibility: visible; }
.tok-drawer {
  position: fixed; inset: 0 0 0 auto; z-index: 1000; width: min(440px, 92vw); overflow-y: auto;
  color: #eef4f7; background: #0d2234; box-shadow: -30px 0 70px rgba(0,0,0,.38);
  transform: translateX(102%); transition: transform .32s cubic-bezier(.22,.8,.22,1);
}
.tok-drawer.is-open { transform: translateX(0); }
.tok-drawer__head { min-height: 106px; padding: 1.5rem 1.6rem 1.15rem; display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid rgba(215,182,75,.28); }
.tok-drawer__eyebrow { display: block; color: #d7b64b; font: 800 .7rem/1.2 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.tok-drawer__title { display: block; margin-top: .45rem; font: 700 1.65rem/1.05 Georgia, serif; }
.tok-drawer__close { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.22); color: white; background: transparent; font-size: 1.7rem; cursor: pointer; }
.tok-drawer__body { padding: .65rem 1.6rem 2.5rem; }
.tok-drawer__section { border-bottom: 1px solid rgba(255,255,255,.1); }
.tok-drawer__row { display: flex; align-items: center; min-height: 58px; }
.tok-drawer__row > a { flex: 1; padding: 1rem 0; color: #fff; font: 700 1.08rem/1.25 Georgia, serif; text-decoration: none; }
.tok-drawer a.tok-menu-active,
.tok-drawer__row > a[aria-current="page"],
.tok-drawer__children a[aria-current="page"] { color: #e5c65f; }
.tok-drawer__toggle { width: 42px; height: 42px; border: 0; color: #d7b64b; background: transparent; font-size: 1.25rem; cursor: pointer; transition: transform .2s; }
.tok-drawer__toggle[aria-expanded="true"] { transform: rotate(45deg); }
.tok-drawer__children { margin: -.25rem 0 .85rem; padding: 0 0 .15rem 1rem; border-left: 1px solid rgba(215,182,75,.35); }
.tok-drawer__children[hidden] { display: none; }
.tok-drawer__children a { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .48rem .65rem; color: #c9d5dc; font: 650 .88rem/1.35 Inter, sans-serif; text-decoration: none; }
.tok-drawer__subgroup + .tok-drawer__subgroup { border-top: 1px solid rgba(255,255,255,.065); }
.tok-drawer__subrow { display: flex; align-items: center; }
.tok-drawer__subrow > a { flex: 1; }
.tok-drawer__subtoggle { flex: 0 0 38px; width: 38px; height: 38px; font-size: 1.05rem; }
.tok-drawer__grandchildren { margin: .05rem 0 .45rem .8rem; padding: .15rem 0 .2rem .75rem; border-left: 1px solid rgba(127,192,203,.32); }
.tok-drawer__grandchildren[hidden] { display: none; }
.tok-drawer__grandchildren a { justify-content: flex-start; padding: .4rem .45rem; color: #aebfc9; font-size: .8rem; font-weight: 600; }
.tok-drawer__grandchildren a::before { content: ""; width: 4px; height: 4px; flex: 0 0 4px; margin-right: .15rem; border-radius: 50%; background: #7fc0cb; opacity: .72; }
.tok-drawer__grandchildren a[aria-current="page"] { color: #f3d775; }
.tok-menu-status { flex: 0 0 auto; margin-left: .9rem; color: #7fc0cb; font-size: .54rem; font-weight: 950; line-height: 1; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.tok-drawer__children a:hover, .tok-drawer__children a:focus-visible { color: #fff; background: rgba(255,255,255,.06); }
.tok-drawer__direct { display: block; padding: 1rem 0; color: #fff; font: 700 1.08rem/1.25 Georgia, serif; text-decoration: none; }
.tok-drawer__direct[aria-current="page"] { color: #e5c65f; }
.tok-drawer__errata { margin-top: .65rem; border-top: 1px solid rgba(215,182,75,.45); border-bottom-color: rgba(215,182,75,.45); }
.tok-drawer__errata .tok-drawer__direct { color: #f0d878; }
.tok-drawer__errata .tok-drawer__direct > span { display: block; margin-top: .28rem; color: #9fb0bb; font: 650 .68rem/1.35 Inter, sans-serif; letter-spacing: .025em; }
.tok-footer-errata { margin-right: .15rem; padding-right: 1rem; border-right: 1px solid rgba(215,182,75,.42); color: #f0d878 !important; font-weight: 800; }
.tok-drawer__footer { padding-top: 1.4rem; color: #9fb0bb; font-size: .76rem; line-height: 1.6; }
.tok-drawer__footer a { color: #d8e1e6; }
.tok-drawer__connections { margin-top: 1rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.tok-drawer__connections > span { display: block; margin-bottom: .65rem; color: #d7b64b; font-size: .68rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.tok-drawer__connections div { display: flex; flex-wrap: wrap; gap: .5rem; }
.tok-drawer__connections a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(215,182,75,.28); color: #d7b64b; background: rgba(255,255,255,.035); text-decoration: none; }
.tok-drawer__connections img, .tok-drawer__connections svg { width: 18px; height: 18px; display: block; }
.tok-drawer__connections svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tok-drawer__connections a:hover, .tok-drawer__connections a:focus-visible { border-color: rgba(243,215,117,.72); color: #f3d775; background: rgba(255,255,255,.09); }

.tok-context-nav { position: relative; z-index: 8; background: #eef1ef; border-bottom: 1px solid rgba(25,34,42,.12); }
.tok-context-nav__inner { width: min(1160px, calc(100% - 32px)); min-height: 50px; margin: auto; display: flex; align-items: center; gap: .35rem; overflow-x: auto; }
.tok-context-nav__label { margin-right: .65rem; color: #6d5825; font: 800 .68rem/1 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.tok-context-nav a { padding: .58rem .7rem; color: #29445c; font: 700 .8rem/1.2 Inter, sans-serif; text-decoration: none; white-space: nowrap; }
.tok-context-nav a[aria-current="page"] { color: #142f47; background: rgba(255,255,255,.7); box-shadow: inset 0 -2px #c29636; }

/* Universal breadcrumbs identify the neighborhood before the page depth. */
.tok-breadcrumb-band,
.breadcrumb-band { background: linear-gradient(180deg,#fffdf7 0%,#f5ecd9 100%); border-top: 1px solid rgba(215,182,75,.52); border-bottom: 1px solid rgba(154,90,61,.22); }
.tok-breadcrumb-inner { width: min(1160px, calc(100% - 32px)); min-height: 54px; margin: 0 auto; display: flex; align-items: center; }
.tok-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; margin: 0 !important; color: #153149 !important; font: 850 .75rem/1.45 Inter, sans-serif; letter-spacing: .035em; text-transform: uppercase; }
.tok-breadcrumb a { color: #153149 !important; text-decoration: none; }
.tok-breadcrumb a:hover, .tok-breadcrumb a:focus-visible { color: #8c4e34 !important; text-decoration: underline; text-underline-offset: .18em; }
.tok-breadcrumb-separator { margin: 0 .08rem; color: #b58b30 !important; font-size: 1.05em; }
.tok-breadcrumb .breadcrumb-current { color: #8c4e34 !important; font-weight: 950; }
@media (max-width: 560px) { .tok-breadcrumb-inner { min-height: 48px; } .tok-breadcrumb { padding: .55rem 0; font-size: .68rem; } }

@media (max-width: 760px) {
  .site-header .header-inner { width: calc(100% - 24px) !important; min-height: 68px !important; }
  .site-header .brand-mark { width: 46px !important; height: 46px !important; }
  .site-header .brand-title { font-size: 1.02rem !important; }
  .site-header .brand-subtitle { display: none !important; }
  .tok-quick-nav { margin-left: auto; }
  .tok-quick-nav a { display: none !important; }
  .site-header .nav-toggle.tok-menu-button { width: auto !important; min-width: 92px; margin-left: 0 !important; }
  .tok-drawer__head, .tok-drawer__body { padding-left: 1.25rem; padding-right: 1.25rem; }
}
@media (max-width: 380px) {
  .site-header .header-inner { gap: .45rem !important; }
  .site-header .brand { min-width: 0; gap: .4rem !important; }
  .site-header .brand-mark { width: 40px !important; height: 40px !important; flex: 0 0 40px; }
  .site-header .brand-title { font-size: .86rem !important; line-height: 1.05 !important; }
  .tok-language-link { min-width: 0; margin-left: auto; padding: .42rem .48rem; font-size: .65rem; letter-spacing: .055em; }
  .site-header .nav-toggle.tok-menu-button { min-width: 76px !important; gap: .35rem !important; padding: 0 .45rem !important; font-size: .7rem !important; }
  .tok-menu-icon { width: 17px; }
}
@media (prefers-reduced-motion: reduce) { .tok-drawer, .tok-drawer-scrim { transition: none; } }

.tok-about-layout { display: grid !important; grid-template-columns: minmax(190px, 235px) minmax(0, 1fr) !important; gap: clamp(2rem, 5vw, 4.5rem) !important; align-items: start; }
.tok-about-nav { position: sticky; top: 104px; padding: 1.15rem 1.1rem; border: 1px solid rgba(31,71,108,.16); border-top: 3px solid #d7b64b; background: rgba(255,255,255,.56); }
.tok-about-nav__title { display: block; margin-bottom: .65rem; color: #8c4e34; font: 850 .68rem/1 Inter,sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.tok-about-nav a { display: block; padding: .55rem .2rem; border-top: 1px solid rgba(31,71,108,.1); color: #27445d; font: 650 .88rem/1.35 Inter,sans-serif; text-decoration: none; }
.tok-about-nav a:hover, .tok-about-nav a:focus-visible { color: #102f47; }
.tok-about-nav a[aria-current="page"] { color: #153149; font-weight: 850; }
.tok-about-nav a[aria-current="page"]::before { content: "— "; color: #b78b2c; }
@media (max-width: 760px) { .tok-about-layout { grid-template-columns: 1fr !important; gap: 1.5rem !important; } .tok-about-nav { position: static; } .tok-about-nav nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .75rem; } }
@media (max-width: 480px) { .tok-about-nav nav { grid-template-columns: 1fr; } }

.tok-image-reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .85s cubic-bezier(.22,.75,.2,1); }
.tok-image-reveal.tok-image-reveal--left { transform: translateX(-32px); }
.tok-image-reveal.tok-image-reveal--right { transform: translateX(32px); }
.tok-image-reveal.is-revealed { opacity: 1; transform: translate(0,0); }
@media (prefers-reduced-motion: reduce) { .tok-image-reveal, .tok-image-reveal.tok-image-reveal--left, .tok-image-reveal.tok-image-reveal--right { opacity: 1; transform: none; transition: none; } }
.visitor-promise { margin: 3rem 0; padding: 1.5rem 1.6rem; border-left: 3px solid #d7b64b; background: rgba(255,255,255,.58); }
.visitor-promise h2 { margin-top: 0 !important; }
.visitor-promise-kicker { margin: 0 0 .35rem; color: #9b6920; font-size: .75rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.visitor-promise blockquote { margin: 1.1rem 0; padding: .15rem 0 .15rem 1rem; border-left: 1px solid rgba(155,105,32,.55); color: #153149; font-family: Georgia, 'Times New Roman', serif; font-size: 1.2rem; font-style: italic; }
.visitor-promise blockquote p { margin: 0; }
.visitor-promise p:last-child { margin-bottom: 0; color: #153149; font-weight: 800; }

/* Editorial headings should read as composed signposts, not perpetual emphasis. */
.article-flow > h2 { font-style: normal !important; }
