/*
Theme Name: Review Console
Theme URI: https://intraspexion.com
Author: Intraspexion
Description: A document-review visual language for an eDiscovery and legal-data publication. The page borrows the vocabulary of a review platform — custodian metadata, hit highlighting, responsiveness tags, redaction — because that is what the subject actually is.
Version: 1.0.0
Text Domain: review-console
*/

/* ---------------------------------------------------------------------------
   Tokens
   The accent is a deep instrument teal, deliberately NOT the navy-and-gold that
   every legal site reaches for. Amber is reserved: it marks a search hit and
   nothing else, so a highlight on this site always means "this matched".
   --------------------------------------------------------------------------- */
:root{
  --paper:#FBFAF8;
  --surface:#FFFFFF;
  --surface-2:#F3F1EC;
  --ink:#14181F;
  --ink-2:#39414E;
  /* Stepped against --surface-2, not --paper: muted text sits on the darker
     panel more often than on the page, and the lighter value failed there. */
  --muted:#5B6474;
  --rule:#E3DFD8;
  --accent:#0F6A63;
  --accent-ink:#0B4F4A;
  --accent-wash:#E6F1F0;
  --hit:#D98A16;
  --hit-wash:#FCEFD6;
  --priv:#9B2C2C;
  --priv-wash:#FBE9E9;

  --f-display:"Newsreader",Georgia,"Times New Roman",serif;
  --f-text:"Public Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --f-mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;

  --wrap:1180px;
  --rad:10px;
  --shadow:0 1px 2px rgba(20,24,31,.05),0 8px 24px -12px rgba(20,24,31,.12);
}

@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --paper:#0E1116;
    --surface:#151A21;
    --surface-2:#1C222B;
    --ink:#EEF1F5;
    --ink-2:#C2C9D4;
    --muted:#8C96A6;
    --rule:#2A323D;
    --accent:#3FB3A8;
    --accent-ink:#8FD8D0;
    --accent-wash:#12302E;
    --hit:#E7A948;
    --hit-wash:#3A2D15;
    --priv:#E08585;
    --priv-wash:#3A1F1F;
    --shadow:0 1px 2px rgba(0,0,0,.4),0 8px 24px -12px rgba(0,0,0,.6);
  }
}
:root[data-theme="dark"]{
  --paper:#0E1116; --surface:#151A21; --surface-2:#1C222B;
  --ink:#EEF1F5; --ink-2:#C2C9D4; --muted:#8C96A6; --rule:#2A323D;
  --accent:#3FB3A8; --accent-ink:#8FD8D0; --accent-wash:#12302E;
  --hit:#E7A948; --hit-wash:#3A2D15; --priv:#E08585; --priv-wash:#3A1F1F;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 8px 24px -12px rgba(0,0,0,.6);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--paper);color:var(--ink);
  font-family:var(--f-text);font-size:17px;line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto}
a{color:var(--accent-ink);text-underline-offset:3px}
a:hover{color:var(--accent)}

.wrap{width:min(100% - 2rem,var(--wrap));margin-inline:auto}
@media (max-width:640px){ .wrap{width:min(100% - 2rem,var(--wrap))} }

.mono{font-family:var(--f-mono);font-size:.78rem;letter-spacing:.02em;text-transform:uppercase;color:var(--muted)}
.skip{position:absolute;left:-9999px}
.skip:focus{left:1rem;top:1rem;background:var(--surface);padding:.6rem 1rem;z-index:99;border-radius:6px}

/* --- Redaction rule -------------------------------------------------------
   The divider used across the site is a redaction bar: a solid block of ink
   with a short gap, the way a redacted line looks on a produced document. */
.redact-rule{
  height:8px;margin:0;border:0;border-radius:2px;
  /* Uneven blocks, like redacted WORDS of different lengths. Even thirds at low
     opacity read as three stray grey blobs — a rendering fault, not a motif. */
  background:linear-gradient(90deg,
    var(--ink) 0 21%,   transparent 21% 24%,
    var(--ink) 24% 33%, transparent 33% 36%,
    var(--ink) 36% 67%, transparent 67% 70%,
    var(--ink) 70% 81%, transparent 81% 84%,
    var(--ink) 84% 100%);
  opacity:.5;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .redact-rule{opacity:.34}
}
:root[data-theme="dark"] .redact-rule{opacity:.34}

/* --- Header --------------------------------------------------------------- */
.hd{position:sticky;top:0;z-index:40;background:color-mix(in srgb,var(--paper) 88%,transparent);
    backdrop-filter:blur(10px);border-bottom:1px solid var(--rule)}
.hd__in{display:flex;align-items:center;gap:1.5rem;padding:.85rem 0}
.brand{display:flex;align-items:baseline;gap:.55rem;text-decoration:none;color:var(--ink);flex:none}
.brand__mark{
  width:22px;height:22px;flex:none;border-radius:4px;background:var(--accent);
  position:relative;align-self:center;
}
.brand__mark::after{
  content:"";position:absolute;inset:6px 5px auto 5px;height:2px;border-radius:1px;
  background:var(--paper);box-shadow:0 5px 0 var(--paper),0 10px 0 color-mix(in srgb,var(--paper) 55%,transparent);
}
.brand__name{font-family:var(--f-display);font-weight:600;font-size:1.3rem;letter-spacing:-.01em}
.brand__dom{font-family:var(--f-mono);font-size:.68rem;color:var(--muted);letter-spacing:.04em}
.nav{display:flex;gap:1.35rem;margin-left:auto;align-items:center}
.nav__list{display:flex;gap:1.35rem;align-items:center;list-style:none;margin:0;padding:0}
.nav__list li{list-style:none}
.nav a{color:var(--ink-2);text-decoration:none;font-size:.93rem;font-weight:500}
.nav a:hover{color:var(--accent)}
.nav__cta{border:1px solid var(--rule);padding:.42rem .8rem;border-radius:6px;background:var(--surface)}
.burger{display:none;margin-left:auto;background:none;border:1px solid var(--rule);
        border-radius:6px;padding:.45rem .6rem;color:var(--ink);font:inherit;cursor:pointer}
@media (max-width:880px){
  .nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--surface);
       border-bottom:1px solid var(--rule);flex-direction:column;align-items:stretch;
       gap:0;padding:.5rem 1rem 1rem}
  .nav.is-open{display:flex}
  .nav__list{flex-direction:column;align-items:stretch;gap:0;width:100%}
  .nav a{display:block;padding:.7rem .2rem;border-bottom:1px solid var(--rule)}
  .nav__cta{margin-top:.6rem;text-align:center}
  .burger{display:block}
}

/* --- Hero / review console specimen ---------------------------------------- */
.hero{padding:clamp(2.5rem,6vw,4.5rem) 0 clamp(2rem,4vw,3rem)}
.hero__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
            gap:clamp(1.5rem,4vw,3.25rem);align-items:center}
@media (max-width:960px){ .hero__grid{grid-template-columns:1fr} }
.hero h1{
  font-family:var(--f-display);font-weight:600;line-height:1.08;letter-spacing:-.02em;
  font-size:clamp(2.1rem,4.6vw,3.4rem);margin:.6rem 0 .9rem;
}
.hero p.lede{font-size:clamp(1.02rem,1.5vw,1.17rem);color:var(--ink-2);margin:0 0 1.5rem;max-width:46ch}
.hero__acts{display:flex;gap:.7rem;flex-wrap:wrap}
.btn{display:inline-block;padding:.62rem 1.1rem;border-radius:7px;text-decoration:none;
     font-weight:600;font-size:.95rem;border:1px solid transparent}
.btn--pri{background:var(--accent);color:#fff}
.btn--pri:hover{background:var(--accent-ink);color:#fff}
.btn--ghost{border-color:var(--rule);color:var(--ink);background:var(--surface)}
.btn--ghost:hover{border-color:var(--accent);color:var(--accent)}

/* The console: a static specimen, not a fake live product. */
.console{
  background:var(--surface);border:1px solid var(--rule);border-radius:var(--rad);
  box-shadow:var(--shadow);overflow:hidden;font-size:.9rem;
}
.console__bar{display:flex;align-items:center;gap:.5rem;padding:.55rem .8rem;
              border-bottom:1px solid var(--rule);background:var(--surface-2)}
.console__dot{width:9px;height:9px;border-radius:50%;background:var(--rule)}
.console__q{flex:1;font-family:var(--f-mono);font-size:.74rem;color:var(--muted);
            background:var(--paper);border:1px solid var(--rule);border-radius:5px;
            padding:.28rem .5rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.console__body{display:grid;grid-template-columns:1fr 150px}
@media (max-width:520px){ .console__body{grid-template-columns:1fr} .console__rail{display:none} }
.console__doc{padding:1rem 1.05rem;min-height:208px}
.console__doc p{margin:0 0 .7rem;font-size:.87rem;line-height:1.62;color:var(--ink-2)}
.console__doc p:last-child{margin-bottom:0}
mark,.hit{background:var(--hit-wash);color:var(--ink);
          box-shadow:inset 0 -2px 0 var(--hit);border-radius:2px;padding:0 .12em}
.redact{background:var(--ink);color:transparent;border-radius:2px;
        user-select:none;padding:0 .2em}
.console__rail{border-left:1px solid var(--rule);background:var(--surface-2);padding:.85rem .75rem}
.kv{margin:0 0 .65rem}
.kv dt{font-family:var(--f-mono);font-size:.63rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.kv dd{margin:.12rem 0 0;font-size:.79rem;color:var(--ink-2);word-break:break-word}
.chips{display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.2rem}
.chip{font-family:var(--f-mono);font-size:.63rem;letter-spacing:.04em;text-transform:uppercase;
      padding:.18rem .42rem;border-radius:4px;border:1px solid}
.chip--resp{color:var(--accent-ink);border-color:var(--accent);background:var(--accent-wash)}
.chip--priv{color:var(--priv);border-color:var(--priv);background:var(--priv-wash)}
.chip--neut{color:var(--muted);border-color:var(--rule);background:var(--paper)}
.console__foot{display:flex;gap:.5rem;align-items:center;padding:.5rem .8rem;
               border-top:1px solid var(--rule);background:var(--surface-2)}
.switch{display:flex;gap:.3rem;flex-wrap:wrap}
.switch button{font-family:var(--f-mono);font-size:.64rem;letter-spacing:.05em;text-transform:uppercase;
               padding:.26rem .5rem;border-radius:4px;border:1px solid var(--rule);
               background:var(--paper);color:var(--muted);cursor:pointer}
.switch button[aria-pressed="true"]{border-color:var(--accent);color:var(--accent-ink);background:var(--accent-wash)}
.console__count{margin-left:auto;font-family:var(--f-mono);font-size:.64rem;color:var(--muted)}

/* --- Sections -------------------------------------------------------------- */
.sec{padding:clamp(2.2rem,5vw,3.6rem) 0}
.sec__head{margin-bottom:1.6rem}
.sec__head h1,.sec__head h2{font-family:var(--f-display);font-weight:600;letter-spacing:-.015em;
              font-size:clamp(1.45rem,2.6vw,2rem);margin:.35rem 0 .4rem}
.sec__head p{margin:0;color:var(--muted);max-width:62ch}

.grid3{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}
.card{background:var(--surface);border:1px solid var(--rule);border-radius:var(--rad);
      padding:1.15rem 1.2rem;display:flex;flex-direction:column;gap:.5rem}
.card h3{font-family:var(--f-display);font-size:1.12rem;font-weight:600;margin:.1rem 0 0;letter-spacing:-.01em}
.card h3 a{color:inherit;text-decoration:none}
.card h3 a:hover{color:var(--accent)}
.card p{margin:0;font-size:.92rem;color:var(--ink-2)}
.card__meta{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}

/* --- Article list ---------------------------------------------------------- */
.list{display:flex;flex-direction:column}
.list__item{display:grid;grid-template-columns:104px 1fr;gap:1.1rem;
            padding:1.05rem 0;border-top:1px solid var(--rule);align-items:start}
.list__item:last-child{border-bottom:1px solid var(--rule)}
@media (max-width:640px){ .list__item{grid-template-columns:1fr;gap:.35rem} }
.list__date{font-family:var(--f-mono);font-size:.7rem;color:var(--muted);padding-top:.3rem}
.list__t{font-family:var(--f-display);font-size:1.16rem;font-weight:600;margin:0 0 .25rem;letter-spacing:-.01em}
.list__t a{color:inherit;text-decoration:none}
.list__t a:hover{color:var(--accent)}
.list__x{margin:0;font-size:.93rem;color:var(--ink-2)}

/* --- Article --------------------------------------------------------------- */
/* An article's container is narrower than the site's. At the full 1180px the
   prose column measured ~100 characters per line — past the 80ch limit where
   the eye starts losing its place on the return sweep. 940px puts the body at
   roughly 70ch with the contents list still beside it. */
.art{padding:clamp(1.6rem,4vw,2.6rem) 0 clamp(2.5rem,5vw,4rem)}
.art > .wrap{width:min(100% - 2rem,940px)}
/* An index of cards is not prose and does not want a 73ch measure. */
body.page-guides .art > .wrap{width:min(100% - 2rem,var(--wrap))}
body.page-guides .gx{grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}
.crumbs{font-family:var(--f-mono);font-size:.7rem;color:var(--muted);margin-bottom:1.1rem;
        white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.crumbs a{color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--accent)}
/* The leaf is NOT hidden on small screens: hiding it left a dangling
   "Home /" with nothing after the separator. .crumbs already clips with an
   ellipsis, which handles the width on its own. */

/* Three siblings, placed explicitly: header (col 1, row 1), contents list
   (col 2, spanning both rows, sticky), body (col 1, row 2). When the grid
   collapses on a phone, DOM order governs and the reader gets
   title -> contents -> body, which is the order they actually want. */
.art__grid{display:grid;grid-template-columns:minmax(0,1fr) 250px;
           column-gap:clamp(1.5rem,4vw,3rem);align-items:start}
.art__grid--solo{grid-template-columns:minmax(0,1fr)}
.art__hd{grid-column:1;grid-row:1}
.art__side{grid-column:2;grid-row:1 / span 2;position:sticky;top:76px}
.art__main{grid-column:1;grid-row:2;min-width:0}
@media (max-width:980px){
  .art__grid{grid-template-columns:1fr;row-gap:1.5rem}
  .art__hd,.art__side,.art__main{grid-column:1;grid-row:auto}
  .art__side{position:static}
}
.art__hd h1{font-family:var(--f-display);font-weight:600;letter-spacing:-.02em;line-height:1.14;
            font-size:clamp(1.85rem,3.6vw,2.6rem);margin:.5rem 0 .75rem;max-width:24ch}
.art__meta{display:flex;gap:.9rem;flex-wrap:wrap;align-items:center}
.lead{font-size:1.12rem;line-height:1.6;color:var(--ink-2);margin:0 0 1.7rem;max-width:62ch}

.toc{background:var(--surface);border:1px solid var(--rule);border-radius:var(--rad);padding:.9rem 1rem}
.toc>summary{font-family:var(--f-mono);font-size:.68rem;letter-spacing:.07em;text-transform:uppercase;
             color:var(--muted);cursor:pointer;list-style:none}
.toc>summary::-webkit-details-marker{display:none}
.toc ol{list-style:none;margin:.7rem 0 0;padding:0;display:flex;flex-direction:column;gap:.42rem}
.toc a{color:var(--ink-2);text-decoration:none;font-size:.86rem;line-height:1.35;display:block;
       border-left:2px solid transparent;padding-left:.6rem}
.toc a:hover{color:var(--accent)}
.toc a.is-cur{color:var(--accent-ink);border-left-color:var(--accent);font-weight:600}

.prose{font-size:1.04rem;line-height:1.72}
.prose h2{font-family:var(--f-display);font-weight:600;letter-spacing:-.015em;
          font-size:clamp(1.35rem,2.4vw,1.75rem);margin:2.6rem 0 .8rem;scroll-margin-top:84px;
          padding-top:.2rem}
/* A hairline above each section gives the eye a resting point in long prose. */
.prose h2::before{content:"";display:block;width:34px;height:2px;background:var(--accent);
                  opacity:.5;margin-bottom:.75rem;border-radius:1px}
.prose h3{font-family:var(--f-display);font-weight:600;font-size:1.2rem;margin:1.7rem 0 .5rem;scroll-margin-top:84px}
.prose p{margin:0 0 1.15rem}
.prose ul,.prose ol{margin:0 0 1.05rem;padding-left:1.25rem}
.prose li{margin:.3rem 0}
.prose blockquote{margin:1.4rem 0;padding:.2rem 0 .2rem 1.1rem;border-left:3px solid var(--accent);
                  color:var(--ink-2);font-style:normal}
/* Tables keep their own scroll container so a wide one cannot push the page
   sideways, and they sit slightly tighter than body copy. */
.prose figure.tbl,.prose table{width:100%;border-collapse:collapse;margin:1.6rem 0;
  font-size:.89rem;display:block;overflow-x:auto;
  -webkit-overflow-scrolling:touch}
.prose table tbody tr:nth-child(odd){background:var(--surface-2)}
.prose table td,.prose table th{white-space:normal;min-width:7.5rem}
.prose th,.prose td{border:1px solid var(--rule);padding:.55rem .7rem;text-align:left;vertical-align:top}
.prose th{background:var(--surface-2);font-family:var(--f-mono);font-size:.7rem;
          letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-weight:600}
.prose code{font-family:var(--f-mono);font-size:.88em;background:var(--surface-2);
            padding:.1em .35em;border-radius:4px}
.anchor{opacity:0;margin-left:.4rem;text-decoration:none;color:var(--muted);font-weight:400}
.prose h2:hover .anchor,.prose h3:hover .anchor{opacity:1}
@media (pointer:coarse){ .anchor{display:none} }

/* Answer blocks — the AEO layer. */
.ansbox{background:var(--accent-wash);border:1px solid var(--accent);border-radius:var(--rad);
        padding:1rem 1.15rem;margin:0 0 1.5rem}
.ansbox__k{font-family:var(--f-mono);font-size:.64rem;letter-spacing:.08em;text-transform:uppercase;
           color:var(--accent-ink);margin-bottom:.35rem}
.ansbox p{margin:0;color:var(--ink);font-size:1rem}
.takeaways{background:var(--surface);border:1px solid var(--rule);border-left:3px solid var(--hit);
           border-radius:var(--rad);padding:1rem 1.15rem;margin:1.6rem 0}
.takeaways ul{margin:.5rem 0 0;padding-left:1.1rem}
.faq{margin:2.2rem 0 0}
.faq details{border-top:1px solid var(--rule);padding:.85rem 0}
.faq details:last-of-type{border-bottom:1px solid var(--rule)}
.faq summary{cursor:pointer;font-weight:600;font-family:var(--f-display);font-size:1.05rem;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::before{content:"+";color:var(--accent);margin-right:.5rem;font-family:var(--f-mono)}
.faq details[open] summary::before{content:"\2212"}
.faq p{margin:.6rem 0 0;color:var(--ink-2)}

/* Standing disclosure — this is a publication, not a law firm. */
.notice{border:1px solid var(--rule);border-radius:var(--rad);background:var(--surface-2);
        padding:.9rem 1.05rem;margin:2rem 0 0;font-size:.88rem;color:var(--ink-2)}

/* --- 404 --------------------------------------------------------------- */
.nf{max-width:60ch}
.nf__links{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.3rem}
.nf__links a{font-family:var(--f-mono);font-size:.72rem;letter-spacing:.04em;
  text-transform:uppercase;text-decoration:none;color:var(--ink-2);
  border:1px solid var(--rule);border-radius:6px;padding:.4rem .7rem;background:var(--surface)}
.nf__links a:hover{border-color:var(--accent);color:var(--accent-ink)}

/* --- Glossary ---------------------------------------------------------- */
.prose p.gl{scroll-margin-top:84px}
.gl__see{font-family:var(--f-mono);font-size:.68rem;letter-spacing:.04em;
  text-transform:uppercase;text-decoration:none;color:var(--accent-ink);
  white-space:nowrap;margin-left:.15rem}
.gl__see:hover{text-decoration:underline}

/* --- Section shelf (home) --------------------------------------------- */
.secs{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.75rem}
.secs__i{display:flex;flex-direction:column;gap:.3rem;padding:1rem 1.1rem;
  border:1px solid var(--rule);border-radius:var(--rad);background:var(--surface);
  text-decoration:none;transition:border-color .15s ease,transform .15s ease}
.secs__i:hover{border-color:var(--accent);transform:translateY(-1px)}
.secs__n{font-family:var(--f-display);font-weight:600;font-size:1.08rem;color:var(--ink);
         letter-spacing:-.01em}
.secs__i:hover .secs__n{color:var(--accent-ink)}
.secs__c{font-size:.68rem}
.secs__d{font-size:.85rem;line-height:1.5;color:var(--muted);margin-top:.15rem}
@media (prefers-reduced-motion:reduce){ .secs__i{transition:none} .secs__i:hover{transform:none} }

.rule-top{border-top:1px solid var(--rule)}

/* --- Guides index grid ------------------------------------------------- */
.gx{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));
    gap:.75rem;margin:1rem 0 2.2rem}
.gx__i{display:flex;flex-direction:column;gap:.3rem;padding:.9rem 1rem;
       border:1px solid var(--rule);border-radius:var(--rad);background:var(--surface);
       text-decoration:none;transition:border-color .15s ease,transform .15s ease}
.gx__i:hover{border-color:var(--accent);transform:translateY(-1px)}
.gx__t{font-family:var(--f-display);font-weight:600;font-size:1rem;line-height:1.3;
       color:var(--ink);letter-spacing:-.01em}
.gx__i:hover .gx__t{color:var(--accent-ink)}
.gx__x{font-size:.85rem;line-height:1.5;color:var(--muted)}
@media (prefers-reduced-motion:reduce){ .gx__i{transition:none} .gx__i:hover{transform:none} }

/* --- Related guides --------------------------------------------------- */
.rel{margin-top:clamp(2.5rem,5vw,3.5rem);padding-top:clamp(1.5rem,3vw,2rem);
     border-top:1px solid var(--rule)}
.rel__head{display:flex;align-items:baseline;justify-content:space-between;
           gap:1rem;margin-bottom:1rem;flex-wrap:wrap}
.rel__head p{margin:0}
.rel__all{font-family:var(--f-mono);font-size:.72rem;letter-spacing:.04em;
          text-transform:uppercase;text-decoration:none;color:var(--accent-ink)}
.rel__all:hover{text-decoration:underline}
.rel .card h3{font-size:1.02rem}
.rel .card p{font-size:.88rem}

/* --- Footer ---------------------------------------------------------------- */
.ft{border-top:1px solid var(--rule);margin-top:clamp(2.5rem,6vw,4.5rem);
    padding:2.2rem 0 2.6rem;background:var(--surface)}
.ft__grid{display:grid;grid-template-columns:1.4fr repeat(2,1fr);gap:1.6rem}
@media (max-width:760px){ .ft__grid{grid-template-columns:1fr 1fr} }
@media (max-width:460px){ .ft__grid{grid-template-columns:1fr} }
.ft h4{font-family:var(--f-mono);font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;
       color:var(--muted);margin:0 0 .7rem;font-weight:600}
.ft ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.42rem}
.ft a{color:var(--ink-2);text-decoration:none;font-size:.9rem}
.ft__n{font-family:var(--f-mono);font-size:.66rem;color:var(--muted);margin-left:.35rem}
.ft a:hover{color:var(--accent)}
.ft__note{margin:1.8rem 0 0;padding-top:1.2rem;border-top:1px solid var(--rule);
          font-size:.8rem;color:var(--muted);max-width:75ch}

/* --- Reveal (gated on JS so content is never hidden without it) ------------- */
.js .rise{opacity:0;transform:translateY(10px)}
.js .rise.in{opacity:1;transform:none;transition:opacity .5s ease,transform .5s ease}
@media (prefers-reduced-motion:reduce){
  .js .rise{opacity:1;transform:none;transition:none}
}

.ix-focus-note{}
/* Visible keyboard focus everywhere. Previously only .skip had a focus style,
   which left every link, button and summary with no indicator for keyboard
   users. :focus-visible keeps it off mouse clicks. */
a:focus-visible,button:focus-visible,summary:focus-visible,
input:focus-visible,[tabindex]:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px;
  border-radius:3px;
}
:root[data-theme="dark"] a:focus-visible,
:root[data-theme="dark"] button:focus-visible{outline-color:var(--accent-ink)}

.bar{position:fixed;top:0;left:0;height:2px;background:var(--accent);width:0;z-index:60}
