/* KawnMedia — the house layer.
   Every world (page) keeps its own look; this file only holds what the house shares:
   reset, the house bar on top, the house footer underneath, and the orbit mark. */
@font-face{font-family:"Noto Kufi Arabic";src:url(/assets/fonts/NotoKufiArabic-var.ttf) format("truetype");font-weight:100 900;font-display:swap}
@font-face{font-family:"IBM Plex Sans Arabic";src:url(/assets/fonts/IBMPlexSansArabic-Regular.ttf) format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"IBM Plex Sans Arabic";src:url(/assets/fonts/IBMPlexSansArabic-Medium.ttf) format("truetype");font-weight:500;font-display:swap}
@font-face{font-family:"IBM Plex Sans Arabic";src:url(/assets/fonts/IBMPlexSansArabic-Bold.ttf) format("truetype");font-weight:700;font-display:swap}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img,svg{display:block;max-width:100%}
a{color:inherit}
:focus-visible{outline:3px solid var(--focus,#D4A24C);outline-offset:3px;border-radius:4px}
.skip{position:absolute;inset-inline-start:12px;top:-60px;z-index:100;padding:10px 16px;background:#fff;color:#000;border-radius:8px}
.skip:focus{top:8px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---- the orbit mark (shared geometry, colour per world) ---- */
.mark{--m-planet:#16305C;--m-planet-2:#081429;--m-ring:#D4A24C;--m-glow:rgba(90,170,255,.35)}
.mark .ring{fill:none;stroke:var(--m-ring);stroke-width:2.2;stroke-linecap:round}
.mark .moon{fill:var(--m-ring)}

/* ---- house bar (top strip on every world) ---- */
.house-bar{--hb-bg:#070B14;--hb-fg:#EDE4D3;--hb-dim:rgba(237,228,211,.55);--hb-line:rgba(237,228,211,.12);
  position:relative;z-index:20;background:var(--hb-bg);color:var(--hb-fg);border-bottom:1px solid var(--hb-line);
  font:500 12.5px/1 "Inter","Segoe UI",system-ui,sans-serif;letter-spacing:.06em}
.house-bar .in{max-width:1200px;margin:0 auto;padding:9px 24px;display:flex;align-items:center;gap:18px}
.house-bar .home{display:flex;align-items:center;gap:9px;text-decoration:none;font-weight:700;letter-spacing:.02em;font-size:13.5px}
.house-bar .home svg{width:26px;height:26px}
.house-bar .mark .ring{stroke-width:4.2}
.house-bar .mark .moon{transform-box:fill-box;transform-origin:center;transform:scale(1.5)}
.house-bar .tag{color:var(--hb-dim);text-transform:uppercase;font-size:11px;letter-spacing:.16em}
.house-bar nav{margin-inline-start:auto;display:flex;gap:4px;flex-wrap:wrap}
.house-bar nav a{text-decoration:none;color:var(--hb-dim);padding:6px 10px;border-radius:999px;transition:color .2s,background .2s}
.house-bar nav a:hover{color:var(--hb-fg);background:var(--hb-line)}
.house-bar nav a[aria-current]{color:var(--hb-fg);background:var(--hb-line)}
.house-bar .dot{width:7px;height:7px;border-radius:50%;display:inline-block;margin-inline-end:7px;vertical-align:1px}
@media (max-width:720px){.house-bar .tag{display:none}.house-bar nav a{padding:6px 7px}.house-bar .in{gap:10px;padding:8px 14px}}
@media (max-width:460px){.house-bar nav a .lbl{display:none}.house-bar nav a .dot{margin:0}}

/* ---- house footer (the mother signature under every world) ---- */
.house-foot{--hf-bg:#070B14;--hf-fg:#EDE4D3;--hf-dim:rgba(237,228,211,.55);--hf-line:rgba(237,228,211,.12);--hf-acc:#D4A24C;
  background:var(--hf-bg);color:var(--hf-fg);font:15px/1.6 "Inter","Segoe UI",system-ui,sans-serif;position:relative;overflow:hidden}
.house-foot .in{max-width:1200px;margin:0 auto;padding:64px 24px 34px;position:relative}
.house-foot .top{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:34px}
.house-foot .brand{display:flex;gap:14px;align-items:flex-start}
.house-foot .brand svg{width:54px;height:54px;flex:none}
.house-foot .brand b{display:block;font:600 24px/1.1 "Fraunces",Georgia,serif;letter-spacing:-.01em}
.house-foot .brand p{margin:8px 0 0;color:var(--hf-dim);font-size:14px;max-width:24em}
.house-foot h4{margin:4px 0 12px;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--hf-acc);font-weight:600}
.house-foot ul{list-style:none;margin:0;padding:0}
.house-foot li{margin:0 0 7px}
.house-foot li a{text-decoration:none;color:var(--hf-dim);transition:color .2s}
.house-foot li a:hover{color:var(--hf-fg)}
.house-foot .bottom{margin-top:48px;padding-top:20px;border-top:1px solid var(--hf-line);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:var(--hf-dim);font-size:13px}
.house-foot .bottom a{text-decoration:none;margin-inline-end:16px}
.house-foot .bottom a:hover{color:var(--hf-fg)}
.house-foot .word{position:absolute;inset-inline-end:-2%;bottom:-.24em;font:italic 400 clamp(90px,17vw,240px)/1 "Fraunces",Georgia,serif;
  color:var(--hf-line);pointer-events:none;user-select:none;letter-spacing:-.03em}
@media (max-width:860px){.house-foot .top{grid-template-columns:1fr 1fr}.house-foot .brand{grid-column:1/-1}}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001s!important;animation-iteration-count:1!important;transition:none!important;scroll-behavior:auto!important}}
