:root{
  --night:#050505; --night-2:#0d0b07; --turq:#2bbfb8; --turq-deep:#0e6d73; --turq-soft:#58d3cc;
  --gold:#e0b550; --gold-deep:#b8892b; --ivory:#f3ead2; --ivory-dim:#bdb393; --line:rgba(224,181,80,.3);
  --serif:'Cormorant Garamond',Georgia,'Times New Roman',serif;
  --display:'Cinzel','Trajan Pro',Georgia,serif;
  --sans:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --radius:16px; --max:960px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;color:var(--ivory);font-family:var(--serif);font-size:1.2rem;line-height:1.6;
  background:
   radial-gradient(1100px 560px at 50% -10%,rgba(224,181,80,.16),transparent 60%),
   radial-gradient(2px 2px at 20% 30%,rgba(255,255,255,.55),transparent),
   radial-gradient(1.5px 1.5px at 70% 18%,rgba(255,255,255,.45),transparent),
   radial-gradient(1.5px 1.5px at 85% 60%,rgba(255,255,255,.35),transparent),
   radial-gradient(1px 1px at 40% 75%,rgba(255,255,255,.4),transparent),
   var(--night);
  background-attachment:fixed;min-height:100vh;display:flex;flex-direction:column}
main{flex:1;width:100%;max-width:var(--max);margin:0 auto;padding:0 1.1rem 3rem}
a{color:var(--gold)}
a:hover{color:var(--turq-soft)}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:-999px;top:0;background:var(--gold);color:#000;padding:.6rem 1rem;z-index:100}
.skip:focus{left:0}
h1,h2,h3{font-family:var(--display);font-weight:500;letter-spacing:.04em;line-height:1.2;margin:0 0 .6rem}
h1{font-size:clamp(1.9rem,7vw,3.2rem);color:var(--gold)}
h2{font-size:clamp(1.3rem,4.5vw,1.8rem);color:var(--gold)}
h3{font-size:1.05rem;color:var(--ivory)}
p{margin:0 0 1rem}
code{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.85em;background:rgba(255,255,255,.08);padding:.1em .35em;border-radius:5px}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(5,5,5,.9);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--line);
  padding:.55rem 1rem calc(.4rem);display:flex;flex-direction:column;gap:.35rem}
.brand{display:flex;align-items:center;gap:.6rem;text-decoration:none;color:var(--gold)}
.brand-mark{width:38px;height:30px;display:block}
.brand-mark .motif{width:100%;height:100%}
.brand-name{font-family:var(--display);font-size:1.3rem;letter-spacing:.2em}
.nav{display:flex;gap:.25rem;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin:0 -.4rem;padding:0 .4rem}
.nav::-webkit-scrollbar{display:none}
.nav a{font-family:var(--sans);font-size:.85rem;font-weight:500;text-decoration:none;color:var(--ivory-dim);white-space:nowrap;padding:.5rem .8rem;border-radius:999px;min-height:40px;display:flex;align-items:center}
.nav a:hover{color:var(--ivory);background:rgba(255,255,255,.07)}
.nav a[aria-current=page]{color:var(--night);background:var(--gold)}
@media(min-width:760px){
  .site-header{flex-direction:row;align-items:center;justify-content:space-between;padding:.7rem 2rem}
  .nav{margin:0;overflow:visible}
}

/* hero */
.hero,.page-hero{text-align:center;padding:2.5rem 0 1.5rem}
.hero{position:relative;overflow:hidden;margin:0 -1.1rem;padding-left:1.1rem;padding-right:1.1rem}
.hero-inner{position:relative;z-index:1}
.threads{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.hero h1{font-size:clamp(1.7rem,7.2vw,3rem)}
.name-section p{max-width:40em}
.name-section .facts{margin-top:1rem}
.page-hero{padding-top:2rem}
.hero-motif{width:min(220px,55vw);margin:0 auto 1rem;filter:drop-shadow(0 0 22px rgba(224,181,80,.35))}
.hero-motif.sm{width:110px;margin-bottom:.8rem}
.motif{display:block;width:100%;height:auto}
.eyebrow{font-family:var(--sans);font-size:.72rem;font-weight:600;letter-spacing:.28em;text-transform:uppercase;color:var(--turq-soft);margin-bottom:.7rem}
.lead{font-size:1.3rem;color:var(--ivory);max-width:36em;margin:.4rem auto 1.4rem}
.lead-sm{color:var(--ivory-dim);font-size:1.1rem}
.cta{display:flex;flex-wrap:wrap;gap:.7rem;justify-content:center}
.btn{font-family:var(--sans);font-weight:600;font-size:.95rem;text-decoration:none;padding:.85rem 1.4rem;border-radius:999px;min-height:48px;display:inline-flex;align-items:center;border:1px solid var(--gold)}
.btn-gold{background:linear-gradient(180deg,#f0cd7a,var(--gold-deep));color:#1b1405}
.btn-gold:hover{color:#000;filter:brightness(1.08)}
.btn-ghost{color:var(--gold);background:transparent}
.btn-ghost:hover{background:rgba(224,181,80,.12)}

/* sections */
.section{padding:1.6rem 0;border-top:1px solid var(--line)}
.hero+.section,.page-hero+.section{border-top:0}
.callout{background:linear-gradient(135deg,rgba(224,181,80,.12),rgba(224,181,80,.03));border:1px solid var(--line);border-left:3px solid var(--turq);border-radius:var(--radius);padding:1.4rem;margin-top:1.6rem}
.notice{background:rgba(224,181,80,.08);border:1px dashed var(--gold-deep);border-radius:var(--radius);padding:1rem 1.2rem;margin:.8rem 0}
.notice p{margin:0}
.notice-inline{border:1px dashed var(--gold-deep);border-radius:12px;padding:.9rem 1.1rem;background:rgba(224,181,80,.06);color:var(--ivory-dim)}

.tiles{display:grid;gap:.9rem;grid-template-columns:1fr}
@media(min-width:640px){.tiles{grid-template-columns:repeat(2,1fr)}}
@media(min-width:900px){.tiles{grid-template-columns:repeat(3,1fr)}}
.tile{display:block;position:relative;text-decoration:none;color:var(--ivory);background:rgba(16,13,8,.85);border:1px solid var(--line);border-radius:var(--radius);padding:1.2rem 1.2rem 1rem;transition:transform .2s,border-color .2s}
.tile:hover{transform:translateY(-3px);border-color:var(--gold);color:var(--ivory)}
.tile h3{color:var(--gold);font-size:1.15rem}
.tile p{margin:0;color:var(--ivory-dim);font-size:1.05rem}
.tile-k{position:absolute;top:.9rem;right:1.1rem;font-family:var(--display);color:var(--turq);opacity:.9}

/* badges & levels */
.badge,.level{font-family:var(--sans);font-size:.72rem;font-weight:600;letter-spacing:.04em;padding:.28rem .65rem;border-radius:999px;white-space:nowrap;display:inline-block;border:1px solid}
.b-evidence{background:linear-gradient(180deg,#f0cd7a,var(--gold-deep));color:#1b1405;border-color:var(--gold)}
.b-observation{background:rgba(43,191,184,.14);color:#7fe3dd;border-color:var(--turq)}
.b-hypothesis{background:rgba(255,255,255,.06);color:var(--ivory);border:1px dashed var(--ivory-dim)}
.b-mythic{background:transparent;color:var(--gold);border-color:var(--gold-deep);font-style:italic}
.level{font-weight:500;text-transform:none}
.l-well{color:#7fe3dd;border-color:var(--turq);background:rgba(43,191,184,.1)}
.l-scholar{color:#f3d584;border-color:var(--gold-deep);background:rgba(224,181,80,.1)}
.l-uncertain{color:var(--ivory);border:1px dashed var(--ivory-dim);background:rgba(255,255,255,.05)}
.legend{list-style:none;padding:0;margin:1rem 0 0;display:grid;gap:.8rem}
.legend li{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;color:var(--ivory-dim);font-size:1.05rem}
@media(min-width:640px){.legend li{flex-direction:row;align-items:center;gap:1rem}.legend .badge{min-width:11em;text-align:center}}

/* facts / epithets */
.facts{display:grid;gap:.9rem;margin-top:1rem}
@media(min-width:760px){.facts{grid-template-columns:1fr 1fr}}
.fact,.epithet,.claim{background:rgba(16,13,8,.85);border:1px solid var(--line);border-radius:var(--radius);padding:1.1rem 1.2rem}
.fact p,.epithet p{margin:.3rem 0 0;font-size:1.08rem}
.fact-head,.epi-head,.claim-head{display:flex;justify-content:space-between;align-items:flex-start;gap:.6rem;flex-wrap:wrap}
.epithets{list-style:none;padding:0;margin:1rem 0 0;display:grid;gap:.9rem;counter-reset:e}
@media(min-width:760px){.epithets{grid-template-columns:1fr 1fr}}
.epithet{border-left:3px solid var(--gold)}
.epithet h3{color:var(--gold);font-size:1.1rem}
.epithet .note{color:var(--ivory-dim);font-style:italic;font-size:.98rem}

/* claims */
.claims{display:grid;gap:1rem;margin-top:.5rem}
@media(min-width:760px){.claims{grid-template-columns:1fr 1fr}}
.claim{display:flex;flex-direction:column;gap:.6rem}
.claim h3{font-size:1.15rem;color:var(--ivory);margin:0}
.claim .meta{font-family:var(--sans);font-size:.78rem;color:var(--ivory-dim);display:flex;gap:.8rem;flex-wrap:wrap}
.claim .summary{margin:0;font-size:1.1rem}
.claim details{font-size:1.05rem;border-top:1px solid var(--line);padding-top:.6rem}
.claim summary{cursor:pointer;font-family:var(--sans);font-size:.85rem;color:var(--turq-soft);min-height:32px}
.claim .evidence{list-style:none;padding:0;margin:.5rem 0 0;display:grid;gap:.4rem;font-family:var(--sans);font-size:.85rem}
.claim .evidence li{background:rgba(255,255,255,.05);border-radius:10px;padding:.5rem .7rem}
.claim .tags{display:flex;gap:.4rem;flex-wrap:wrap}
.tag{font-family:var(--sans);font-size:.72rem;color:var(--ivory-dim);background:rgba(255,255,255,.06);padding:.15rem .55rem;border-radius:999px}
.claim.is-placeholder{border-style:dashed}
.ph-flag{font-family:var(--sans);font-size:.72rem;color:#f3d584}
.filters{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem}
.chip{font-family:var(--sans);font-size:.82rem;font-weight:500;color:var(--ivory);background:transparent;border:1px solid var(--line);border-radius:999px;padding:.55rem .95rem;min-height:44px;cursor:pointer}
.chip[aria-pressed=true]{background:var(--gold);color:#1b1405;border-color:var(--gold)}
.muted{color:var(--ivory-dim)}
.error{color:#ff9d8f}

/* footer */
.site-footer{text-align:center;padding:1.5rem 1rem 5.5rem;color:var(--ivory-dim);font-family:var(--sans);font-size:.85rem}
.site-footer .small{font-size:.75rem;max-width:36em;margin:.4rem auto 0}
.rule{height:1px;max-width:200px;margin:0 auto 1rem;background:linear-gradient(90deg,transparent,var(--gold),transparent)}

/* guide */
.guide-fab{position:fixed;right:max(1rem,env(safe-area-inset-right));bottom:max(1rem,env(safe-area-inset-bottom));z-index:80;display:flex;align-items:center;gap:.5rem;font-family:var(--sans);font-weight:600;font-size:.95rem;
  background:linear-gradient(180deg,#f0cd7a,var(--gold-deep));color:#1b1405;border:0;border-radius:999px;padding:.8rem 1.15rem;min-height:52px;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.2) inset}
.guide-fab svg{width:22px;height:18px}
.guide-panel{position:fixed;z-index:90;right:0;left:0;bottom:0;height:min(78vh,620px);display:none;flex-direction:column;background:var(--night-2);border:1px solid var(--gold-deep);border-bottom:0;border-radius:20px 20px 0 0;box-shadow:0 -10px 40px rgba(0,0,0,.6);font-family:var(--sans)}
.guide-panel.open{display:flex}
@media(min-width:640px){.guide-panel{left:auto;right:1rem;bottom:1rem;width:380px;height:min(70vh,560px);border-radius:20px;border-bottom:1px solid var(--gold-deep)}}
.guide-head{display:flex;align-items:center;justify-content:space-between;padding:.8rem 1rem;border-bottom:1px solid var(--line)}
.guide-head h2{font-size:1rem;margin:0;color:var(--gold)}
.guide-head p{margin:0;font-size:.72rem;color:var(--ivory-dim)}
.guide-close{background:transparent;border:0;color:var(--ivory);font-size:1.6rem;line-height:1;width:44px;height:44px;cursor:pointer;border-radius:10px}
.guide-log{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.7rem;-webkit-overflow-scrolling:touch}
.msg{max-width:88%;padding:.7rem .9rem;border-radius:16px;font-size:.92rem;line-height:1.5}
.msg.bot{align-self:flex-start;background:rgba(224,181,80,.08);border:1px solid var(--line);border-left:3px solid var(--turq)}
.msg.user{align-self:flex-end;background:rgba(224,181,80,.22);border:1px solid var(--gold-deep)}
.msg a{display:inline-block;margin:.4rem .4rem 0 0;padding:.4rem .8rem;border-radius:999px;background:var(--gold);color:#1b1405;text-decoration:none;font-weight:600;font-size:.82rem}
.guide-chips{display:flex;gap:.4rem;overflow-x:auto;padding:.2rem 1rem .6rem;scrollbar-width:none}
.guide-chips::-webkit-scrollbar{display:none}
.guide-chips button{flex:none;font-family:var(--sans);font-size:.78rem;color:var(--ivory);background:transparent;border:1px solid var(--line);border-radius:999px;padding:.5rem .8rem;min-height:40px;cursor:pointer}
.guide-form{display:flex;gap:.5rem;padding:.7rem 1rem calc(.7rem + env(safe-area-inset-bottom));border-top:1px solid var(--line)}
.guide-form input{flex:1;min-width:0;font-size:16px;font-family:var(--sans);color:var(--ivory);background:rgba(255,255,255,.07);border:1px solid var(--line);border-radius:999px;padding:.7rem 1rem}
.guide-form button{font-family:var(--sans);font-weight:600;background:var(--gold);color:#1b1405;border:0;border-radius:999px;padding:0 1.1rem;min-height:44px;cursor:pointer}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.tile{transition:none}}

/* ---- nav with 8 tabs: scrollable on mobile with edge fade ---- */
@media(max-width:759px){
  .nav{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 28px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 28px),transparent 100%);padding:0 1.6rem 0 .6rem;scroll-snap-type:x proximity}
  .nav a{scroll-snap-align:center}
}
@media(min-width:760px){.nav{flex-wrap:wrap;justify-content:flex-end;gap:.15rem}.nav a{padding:.45rem .7rem}}
@media(min-width:760px) and (max-width:1100px){.nav a{font-size:.78rem;padding:.4rem .55rem}}

/* ---- gallery & screenshot slots ---- */
.gallery{display:grid;gap:1rem;grid-template-columns:1fr}
@media(min-width:640px){.gallery{grid-template-columns:1fr 1fr}}
@media(min-width:960px){.gallery{grid-template-columns:repeat(3,1fr)}}
.photo{margin:0;background:rgba(16,13,8,.85);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.photo.is-placeholder{border-style:dashed}
.photo-frame,.shot{aspect-ratio:4/3;background:#0b0905;display:block}
.photo-frame a,.shot a{display:block;width:100%;height:100%}
.photo-frame img,.shot img{width:100%;height:100%;object-fit:cover;display:block}
.photo-slot{width:100%;height:100%;display:flex;align-items:center;justify-content:center;text-align:center;padding:1rem;font-family:var(--sans);font-size:.82rem;color:var(--ivory-dim);border:1px dashed var(--gold-deep);border-radius:12px;margin:0}
.shot{border-radius:12px;overflow:hidden}
.photo-frame{padding:.6rem 0 0}
.photo-frame .photo-slot{width:calc(100% - 1.2rem);height:calc(100% - .6rem);margin:0 .6rem .6rem}
.photo figcaption{padding:.8rem 1rem 1rem;display:flex;flex-direction:column;gap:.4rem;font-size:1.08rem}
.photo figcaption .meta{font-family:var(--sans);font-size:.78rem;color:var(--ivory-dim)}
.photo details,.obs-card details{font-size:1.05rem}
.photo summary{cursor:pointer;font-family:var(--sans);font-size:.85rem;color:var(--turq-soft);min-height:32px}

/* ---- observation cards ---- */
.obs{grid-template-columns:1fr}
@media(min-width:900px){.obs{grid-template-columns:1fr 1fr}}
.facts-list{margin:0;display:grid;grid-template-columns:1fr;gap:.15rem;font-size:1rem}
.facts-list dt{font-family:var(--sans);font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--turq-soft);margin-top:.4rem}
.facts-list dd{margin:0;word-break:break-word}
.obs-actions{display:flex;flex-wrap:wrap;gap:.5rem}
.mini{font-family:var(--sans);font-size:.78rem;font-weight:600;color:var(--gold);background:transparent;border:1px solid var(--gold-deep);border-radius:999px;padding:.5rem .85rem;min-height:40px;display:inline-flex;align-items:center;text-decoration:none;cursor:pointer}
.mini:hover{background:rgba(224,181,80,.12);color:var(--gold)}

/* ---- coordinate tool ---- */
.tool{display:grid;gap:.5rem;background:rgba(16,13,8,.85);border:1px solid var(--line);border-left:3px solid var(--turq);border-radius:var(--radius);padding:1.1rem;margin:1rem 0}
.tool label{font-family:var(--sans);font-size:.85rem;font-weight:600;margin-top:.3rem}
.tool input{width:100%;font-size:16px;font-family:var(--sans);color:var(--ivory);background:rgba(255,255,255,.07);border:1px solid var(--line);border-radius:12px;padding:.8rem 1rem;min-height:48px}
.tool-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:.6rem}
.tool-actions .btn{cursor:pointer;font-family:var(--sans)}
.results{margin:1rem 0;display:grid;gap:.15rem;background:rgba(224,181,80,.06);border:1px solid var(--line);border-radius:var(--radius);padding:1rem 1.1rem}
.results dt{font-family:var(--sans);font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--turq-soft);margin-top:.6rem}
.results dt:first-child{margin-top:0}
.results dd{margin:0;font-size:1.1rem;word-break:break-word}
.results[hidden],.error[hidden]{display:none}

/* ---- guide persona picker (button + list) ---- */
.guide-persona{position:relative;padding:.45rem 1rem;border-bottom:1px solid var(--line)}
.gp-btn{display:flex;align-items:center;gap:.6rem;width:100%;text-align:left;font-family:var(--sans);color:var(--ivory);background:#14110a;border:1px solid var(--line);border-radius:12px;padding:.35rem .6rem;min-height:48px;cursor:pointer}
.gp-btn:hover,.gp-btn[aria-expanded=true]{border-color:var(--gold)}
.gp-text{display:flex;flex-direction:column;min-width:0;flex:1}
.gp-text strong{font-size:.9rem;color:var(--gold);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gp-text small{font-size:.72rem;color:var(--ivory-dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gp-chev{color:var(--gold);flex:none}
.gp-list{position:absolute;z-index:5;left:1rem;right:1rem;top:calc(100% - .2rem);max-height:min(46vh,340px);overflow-y:auto;margin:0;padding:.3rem;list-style:none;background:#100d07;border:1px solid var(--gold-deep);border-radius:12px;box-shadow:0 12px 30px rgba(0,0,0,.7)}
.gp-list[hidden]{display:none}
.gp-group{font-family:var(--sans);font-size:.65rem;letter-spacing:.2em;text-transform:uppercase;color:var(--turq-soft);padding:.6rem .6rem .25rem}
.gp-list li button{display:flex;align-items:center;gap:.6rem;width:100%;text-align:left;font-family:var(--sans);color:var(--ivory);background:transparent;border:0;border-radius:10px;padding:.35rem .5rem;min-height:48px;cursor:pointer}
.gp-list li button:hover,.gp-list li[aria-selected=true] button{background:rgba(224,181,80,.12)}
.av{position:relative;flex:none;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;overflow:hidden;border:1px solid var(--gold-deep);background:radial-gradient(circle at 35% 30%,#2a2010,#0b0905)}
.av .sigil,.house-img .sigil{font-family:var(--display);color:var(--gold);line-height:1}
.av .sigil{font-size:1.05rem}
.av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 25%;opacity:0}
.av.has-img img{opacity:1}
.av.has-img .sigil{opacity:0}
.guide-chips button.ask-chip{border-color:var(--turq);color:var(--turq-soft)}
.msg .msg-action{display:inline-block;margin:.4rem .4rem 0 0;padding:.4rem .8rem;border-radius:999px;background:transparent;border:1px solid var(--turq);color:var(--turq-soft);font-family:var(--sans);font-weight:600;font-size:.82rem;cursor:pointer;min-height:36px}
.msg-name{display:block;font-size:.68rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--turq-soft);margin-bottom:.15rem}

/* ---- The Seven Hathors page ---- */
.sec-title{font-size:1.3rem;color:var(--gold);margin:0 0 .8rem}
.house-banner{margin:1.4rem 0 0}
.house-banner img{width:100%;height:auto;border-radius:var(--radius);border:1px solid var(--line);display:block}
.house-banner figcaption{font-family:var(--sans);font-size:.78rem;color:var(--ivory-dim);margin-top:.5rem}
.house-grid{display:grid;gap:1.2rem;grid-template-columns:1fr}
.house-card{background:linear-gradient(180deg,rgba(224,181,80,.07),rgba(224,181,80,.015));border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;min-width:0}
.house-card.patron{border-color:var(--gold-deep)}
.house-img{position:relative;aspect-ratio:4/5;background:radial-gradient(circle at 50% 38%,#2a2010 0,#120e07 55%,#070604 100%);display:flex;align-items:center;justify-content:center;overflow:hidden}
.house-img::before{content:"";position:absolute;width:46%;aspect-ratio:1;border:1px solid var(--gold-deep);border-radius:50%;box-shadow:0 0 0 8px rgba(224,181,80,.06),0 0 0 9px rgba(224,181,80,.25)}
.house-img .sigil{font-size:clamp(2.6rem,12vw,3.6rem);position:relative}
.house-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0}
.house-img.has-img img{opacity:1}
.house-img.has-img::before,.house-img.has-img .sigil{display:none}
.house-body{padding:1.1rem 1.2rem 1.3rem;display:flex;flex-direction:column;gap:.55rem;min-width:0}
.house-body h3{margin:0;font-size:1.4rem;color:var(--gold)}
.house-body p{margin:0}
.house-region{font-family:var(--sans);font-size:.8rem;color:var(--turq-soft)}
.house-pron{font-family:var(--sans);font-size:.78rem;color:var(--ivory-dim)}
.house-tag{font-style:italic;color:var(--ivory)}
.house-domains{font-size:.88rem;color:var(--ivory-dim)}
.house-quote{margin:.2rem 0;padding:.1rem 0 .1rem .9rem;border-left:2px solid var(--gold-deep)}
.house-quote cite{display:block;font-family:var(--sans);font-size:.7rem;font-style:normal;letter-spacing:.12em;text-transform:uppercase;color:var(--ivory-dim);margin-top:.2rem}
.ai-style{border:1px solid var(--line);border-left:3px solid var(--turq);border-radius:12px;padding:.8rem .9rem;background:rgba(0,0,0,.25);margin-top:.3rem}
.ai-style h4{margin:0 0 .3rem;font-family:var(--sans);font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;color:var(--turq-soft)}
.ai-style dl{margin:0}
.ai-style dt{font-family:var(--sans);font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ivory-dim);margin-top:.45rem}
.ai-style dd{margin:0;font-size:.9rem}
.chip-row{display:flex;flex-wrap:wrap;gap:.4rem;list-style:none;margin:.6rem 0 0;padding:0}
.chip-row a{display:inline-flex;align-items:center;min-height:40px;padding:0 .8rem;border:1px solid var(--line);border-radius:999px;font-family:var(--sans);font-size:.78rem;text-decoration:none;color:var(--gold)}
.talk-btn{align-self:flex-start;margin-top:.5rem;background:linear-gradient(180deg,#f0cd7a,var(--gold-deep));color:#1b1405;cursor:pointer}
.talk-btn:hover{filter:brightness(1.08)}
.navigator-note{border:1px solid var(--line);border-left:3px solid var(--turq);border-radius:var(--radius);padding:1.1rem 1.2rem;background:rgba(224,181,80,.04)}
.navigator-note p{margin:0 0 .6rem}
@media(min-width:700px){.house-grid{grid-template-columns:repeat(2,1fr)}.house-card.patron{flex-direction:row}.house-card.patron .house-img{flex:0 0 38%;aspect-ratio:auto;min-height:100%}}
@media(min-width:1100px){.house-grid{grid-template-columns:repeat(3,1fr)}}

/* typing indicator and AI note */
.guide-head p{line-height:1.35;padding-right:.5rem}
.msg.typing{padding-bottom:.6rem}
.msg.typing .dots{display:flex;gap:.3rem;align-items:center;height:1.1rem}
.msg.typing .dots i{width:.45rem;height:.45rem;border-radius:50%;background:var(--turq-soft);opacity:.35;animation:hh-dot 1.1s infinite ease-in-out}
.msg.typing .dots i:nth-child(2){animation-delay:.18s}
.msg.typing .dots i:nth-child(3){animation-delay:.36s}
@keyframes hh-dot{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.guide-form button:disabled{opacity:.55;cursor:default}
@media(prefers-reduced-motion:reduce){.msg.typing .dots i{animation:none;opacity:.7}}

/* persona gallery (thumbnails + viewer) */
.house-media{display:flex;flex-direction:column}
.house-gallery{padding:.8rem 1rem 1rem;border-bottom:1px solid var(--line);background:rgba(0,0,0,.25)}
.hg-title{margin:0 0 .5rem;font-size:.82rem;letter-spacing:.04em;color:var(--gold)}
.hg-row{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
.hg-row li{margin:0;min-width:0}
.hg-thumb{display:block;width:100%;aspect-ratio:1;padding:0;border:1px solid var(--gold-deep);border-radius:8px;overflow:hidden;background:#0b0905;cursor:pointer}
.hg-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.hg-thumb:hover,.hg-thumb:focus-visible{border-color:var(--gold);outline:2px solid var(--gold);outline-offset:2px}
.hg-note{margin:.55rem 0 0;font-size:.75rem;color:var(--ivory-dim)}
body.lb-open{overflow:hidden}
.lb{position:fixed;inset:0;z-index:120;background:rgba(0,0,0,.92);display:flex;align-items:center;justify-content:center;padding:3.4rem .5rem 4.2rem}
.lb-fig{margin:0;max-width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center;gap:.6rem;min-height:0}
.lb-fig img{display:block;max-width:100%;max-height:calc(100vh - 14rem);max-height:calc(100dvh - 14rem);width:auto;height:auto;object-fit:contain;border:1px solid var(--gold-deep);border-radius:6px}
.lb-cap{display:flex;flex-direction:column;gap:.2rem;max-width:34rem;text-align:center;font-size:.9rem;color:#e9e1cf}
.lb-count{font-size:.75rem;color:var(--gold)}
.lb-btn{position:absolute;width:44px;height:44px;border-radius:50%;border:1px solid var(--gold-deep);background:rgba(10,8,4,.85);color:var(--gold);font-size:1.7rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.lb-btn:hover,.lb-btn:focus-visible{border-color:var(--gold);outline:2px solid var(--gold);outline-offset:2px}
.lb-close{top:.6rem;right:.6rem}
.lb-prev{left:.5rem;bottom:.8rem}
.lb-next{right:.5rem;bottom:.8rem}
@media(min-width:700px){.house-card.patron .house-media{flex:0 0 38%}.house-card.patron .house-media .house-img{flex:1 1 auto;min-height:0}.lb-prev,.lb-next{bottom:auto;top:50%}.lb-prev{left:1rem}.lb-next{right:1rem}.lb{padding:3.5rem 4rem 1rem}.lb-fig img{max-height:calc(100vh - 9rem);max-height:calc(100dvh - 9rem)}}

/* owner claim block on a persona card */
.owner-claim{margin:1rem 0;border-style:dashed;border-color:var(--gold-deep);gap:.7rem}
.owner-claim .oc-title{margin:0;font-size:1.05rem;color:var(--ivory)}
.oc-fig{margin:0;display:flex;flex-direction:column;gap:.35rem}
.oc-thumb{display:block;width:100%;padding:0;border:1px solid var(--gold-deep);border-radius:8px;overflow:hidden;background:#000;cursor:pointer}
.oc-thumb img{display:block;width:100%;height:auto}
.oc-thumb:hover,.oc-thumb:focus-visible{border-color:var(--gold);outline:2px solid var(--gold);outline-offset:2px}
.oc-fig figcaption{font-family:var(--sans);font-size:.8rem;color:var(--ivory-dim)}
.oc-details{margin:0;display:grid;gap:.25rem .8rem;grid-template-columns:1fr;font-family:var(--sans);font-size:.85rem}
.oc-details dt{color:var(--turq-soft);margin-top:.35rem}
.oc-details dd{margin:0;color:var(--ivory-dim);overflow-wrap:anywhere}
.oc-details dd.is-ph{font-style:italic}
.oc-note{margin:0;font-family:var(--sans);font-size:.78rem;color:var(--ivory-dim)}
