/* 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; }

.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__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 (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; }
