/* Copyright (c) 2026 Amped RE Technologies, LLC. All rights reserved. Licensed to HANFRA. */
/* ==========================================================================
   HANFRA sample site - visual mockup only, no back end.
   Palette sampled from the association logo (HANFRA-GradRGB-Horizontal.jpg):
   navy #033E8A -> #021C3D, gold #FEBD01. Neutrals biased cool toward navy.
   ========================================================================== */

:root{
  --navy-deep:#021C3D; --navy:#033E8A; --navy-lift:#1F5AA8;
  --gold:#FEBD01; --gold-ink:#8A6300;
  --bg:#F6F8FB; --surface:#FFFFFF; --surface-2:#EDF2F8;
  --text:#0D1929; --text-2:#3D4E64; --text-3:#6A7C93;
  --rule:#D5DFEA; --rule-soft:#E6EDF5;
  --ok:#1B7A4B; --ok-bg:#E4F3EA;
  --warn:#A8600A; --warn-bg:#FBF0DC;
  --display:"Newsreader",Georgia,"Times New Roman",serif;
  --body:"IBM Plex Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,Consolas,monospace;
  --maxw:1180px; --pad:clamp(1.1rem,4vw,3rem);
  --shadow:0 1px 2px rgba(2,28,61,.05),0 6px 20px rgba(2,28,61,.06);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#0A131F; --surface:#0F1C2C; --surface-2:#16273A;
    --text:#E9EFF7; --text-2:#B2C4D8; --text-3:#7F92A9;
    --rule:#23384F; --rule-soft:#1A2B3E;
    --ok:#5FD196; --ok-bg:#12301F; --warn:#F2B95C; --warn-bg:#33260D;
    --gold-ink:#FEBD01;
    --shadow:0 1px 2px rgba(0,0,0,.4),0 6px 20px rgba(0,0,0,.3);
  }
}
:root[data-theme="dark"]{
  --bg:#0A131F; --surface:#0F1C2C; --surface-2:#16273A;
  --text:#E9EFF7; --text-2:#B2C4D8; --text-3:#7F92A9;
  --rule:#23384F; --rule-soft:#1A2B3E;
  --ok:#5FD196; --ok-bg:#12301F; --warn:#F2B95C; --warn-bg:#33260D;
  --gold-ink:#FEBD01;
}

*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--body);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:var(--display);font-weight:500;line-height:1.15;margin:0;letter-spacing:-.011em;text-wrap:balance}
p{margin:0}
img{max-width:100%;display:block}
a{color:var(--navy);text-decoration:none}
:root[data-theme="dark"] a{color:#7FB0F0}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) a{color:#7FB0F0}}
a:hover{text-decoration:underline}
.wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:var(--pad)}
:where(a,button,input,select):focus-visible{outline:2px solid var(--gold);outline-offset:2px}

/* ---------- mockup chrome ---------- */
.mockbar{background:#1B1B1B;color:#F3F3F3;font-family:var(--mono);font-size:11.5px;letter-spacing:.03em}
.mockbar .wrap{display:flex;flex-wrap:wrap;gap:.5rem 1.4rem;align-items:center;padding-block:.55rem}
.mockbar b{color:var(--gold);font-weight:600}
.mockbar .sp{flex:1}
.mockbar button{font:inherit;cursor:pointer;background:#333;color:#F3F3F3;border:1px solid #4A4A4A;border-radius:99px;padding:.25rem .7rem}
.mockbar button[aria-pressed="true"]{background:var(--gold);color:#1B1B1B;border-color:var(--gold)}
.mockbar a{color:#9FD0FF}

/* placeholder highlighting, off by default */
[data-ph]{position:relative}
body.showph [data-ph]{outline:1.5px dashed var(--warn);outline-offset:2px;background:var(--warn-bg)}
/* The label sits INSIDE the box. It used to hang above the top edge, which the
   overflow-x on .tw clipped into an unreadable orange sliver. */
body.showph [data-ph]::after{content:attr(data-ph);position:absolute;top:0;right:0;font-family:var(--mono);font-size:9px;line-height:1.5;letter-spacing:.09em;text-transform:uppercase;background:var(--warn);color:#fff;padding:.05rem .35rem;border-radius:0 0 0 3px;z-index:3;pointer-events:none}
/* On a table the top-right corner is a column header, so the tag goes bottom-right. */
body.showph .tw[data-ph]::after{top:auto;bottom:0;border-radius:3px 0 0 0}

/* ---------- utility bar ---------- */
.util{background:var(--navy-deep);color:#D8E4F3;font-size:13px}
.util .wrap{display:flex;flex-wrap:wrap;gap:.35rem 1.15rem;align-items:center;padding-block:.5rem}
.util a{color:#D8E4F3;font-weight:500;white-space:nowrap}
.util a:hover{color:var(--gold);text-decoration:none}
.util .sp{flex:1;min-width:0}
.util .ext::after{content:" (external)";font-size:.72em;color:var(--gold);letter-spacing:.04em}
/* a.btn, not .btn: the dark-theme link rule is (0,2,1) and would otherwise win,
   putting pale blue text on the gold pill. Measured, not assumed. */
.util a.btn{background:var(--gold);color:#1B1B1B;padding:.2rem .75rem;border-radius:99px;font-weight:600}
.util a.btn:hover{color:#1B1B1B;filter:brightness(1.07)}
.util .search{font-family:var(--mono);font-size:11px;letter-spacing:.06em;opacity:.8}

/* ---------- masthead + nav ---------- */
.masthead{background:var(--surface);border-bottom:1px solid var(--rule)}
.masthead .wrap{display:flex;align-items:center;gap:1.4rem;padding-block:.9rem;flex-wrap:wrap}
/* flex-shrink 1 + min-width 0: with flex:0 0 auto the brand could never be narrower than its
   longest line, so the tagline forced every page 72px wider than a 390px phone (found 2026-09-20). */
.brand{display:flex;align-items:center;gap:.8rem;flex:0 1 auto;min-width:0}
.brand img{height:46px;width:auto;border-radius:3px}
.brand .bt{font-family:var(--display);font-size:1.02rem;line-height:1.2;color:var(--text);min-width:0}
.brand .bt span{display:block;font-family:var(--mono);font-size:9.5px;letter-spacing:.13em;text-transform:uppercase;color:var(--text-3);margin-top:.15rem}
nav.main{margin-left:auto;display:flex;flex-wrap:wrap;gap:.2rem}
nav.main a{font-size:13.5px;font-weight:500;color:var(--text-2);padding:.45rem .7rem;border-radius:5px;white-space:nowrap}
nav.main a:hover{background:var(--surface-2);color:var(--navy);text-decoration:none}
nav.main a.on{color:var(--navy);background:var(--surface-2);box-shadow:inset 0 -2px 0 var(--gold)}
nav.main a.pub{color:var(--gold-ink)}
/* Section dropdowns (2026-11-14). Hover or focus opens the menu where there is a mouse; the arrow button opens it
   anywhere, which is how a phone reaches it. On a narrow screen the menu opens in place under its section. */
nav.main .dd{position:relative;display:flex;align-items:center}
nav.main .ddb{border:0;background:transparent;color:var(--text-3);cursor:pointer;padding:.45rem .3rem .45rem .05rem;margin-left:-.45rem;border-radius:5px;line-height:1;font:inherit}
nav.main .ddb::after{content:"";display:inline-block;width:.42rem;height:.42rem;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-.15rem) rotate(45deg)}
nav.main .ddb:hover,nav.main .ddb:focus-visible{color:var(--navy);background:var(--surface-2)}
nav.main .ddm{display:none;position:absolute;top:100%;left:0;z-index:60;min-width:15rem;flex-direction:column;gap:.05rem;background:var(--surface);border:1px solid var(--rule);border-radius:8px;box-shadow:var(--shadow);padding:.4rem}
nav.main .ddm a{display:block;white-space:normal;font-size:13.5px;padding:.42rem .65rem}
nav.main .dd.open .ddm{display:flex}
nav.main .dd.open .ddb::after{transform:translateY(.05rem) rotate(-135deg)}
@media (hover:hover) and (min-width:861px){
  nav.main .dd:hover .ddm,nav.main .dd:focus-within .ddm{display:flex}
}
@media (max-width:860px){
  nav.main .dd{flex-wrap:wrap}
  nav.main .ddm{position:static;flex-basis:100%;min-width:0;box-shadow:none;margin:.1rem 0 .4rem}
}
/* The bylaws page (2026-11-14): a contents list of the 18 articles, then the text at a reading width. */
.bl-toc{margin-top:1.4rem;display:flex;flex-wrap:wrap;gap:.35rem .5rem;align-items:baseline}
.bl-toc h2{flex-basis:100%;font-size:1rem;margin:0 0 .2rem}
.bl-toc a{font-size:.86rem;padding:.25rem .55rem;border:1px solid var(--rule);border-radius:5px;background:var(--surface)}
.bylaws-text{max-width:46rem}
.bylaws-text h2{font-size:1.25rem;margin:2.2rem 0 .6rem;scroll-margin-top:1rem}
.bylaws-text h3{font-size:1rem;margin:1.3rem 0 .4rem}
.bylaws-text h4{font-size:.95rem;margin:1rem 0 .35rem}
.bylaws-text p,.bylaws-text li{line-height:1.6;margin:0 0 .7rem}
.bylaws-text .bl-title{font-size:1.05rem}
.bylaws-text .bl-i{display:flex;gap:.55rem}
.bylaws-text .bl-l1{margin-left:1.2rem}
.bylaws-text .bl-l2{margin-left:3rem}
.bylaws-text .bl-m{flex:0 0 1.9rem;font-weight:600;color:var(--navy)}
.legal-doc h2{font-size:1.1rem;margin:1.6rem 0 .4rem}
.legal-doc ul{padding-left:1.2rem}
/* Board of Directors (2026-11-14), one row per person as hanfra.com/boards: photo, name, title, phone, email, firm. */
.bod{display:flex;flex-direction:column;gap:1.4rem;max-width:46rem}
.bod-row{display:flex;gap:1.4rem;align-items:center;background:var(--surface);border:1px solid var(--rule);border-radius:8px;padding:1.2rem;box-shadow:var(--shadow)}
.bod-photo{flex:0 0 11rem}
.bod-photo img{display:block;width:11rem;height:11rem;object-fit:cover;border-radius:4px}
.bod-info h3{font-family:var(--display);font-size:1.45rem;margin:0;color:var(--navy)}
.bod-title{font-size:.86rem;letter-spacing:.06em;text-transform:uppercase;color:var(--text-3);margin:.25rem 0 .9rem}
.bod-info p{margin:0;line-height:1.6}
@media (max-width:560px){
  .bod-row{flex-direction:column;align-items:flex-start}
  .bod-photo,.bod-photo img{width:100%;height:auto;flex-basis:auto}
}

/* gold wave divider, echoes the logo mark */
.wave{display:block;width:100%;height:12px;overflow:visible}
.wave path{fill:none;stroke:var(--gold);stroke-width:3;opacity:.9}

/* ---------- page head ---------- */
.phead{background:linear-gradient(168deg,var(--navy) 0%,var(--navy-deep) 70%);color:#EAF1FA;padding-block:clamp(1.9rem,4.5vw,3.2rem);position:relative}
.phead::after{content:"";position:absolute;inset:auto 0 0 0;height:4px;background:var(--gold)}
.phead .kick{font-family:var(--mono);font-size:.66rem;letter-spacing:.19em;text-transform:uppercase;color:var(--gold);margin-bottom:.9rem}
.phead h1{font-size:clamp(1.75rem,4.4vw,2.9rem);color:#fff;max-width:22ch;font-weight:400}
.phead p.sub{margin-top:.9rem;color:#B9CDE6;max-width:62ch;font-size:1.02rem}

/* ---------- hero (home) ---------- */
.hero{background:linear-gradient(168deg,var(--navy) 0%,var(--navy-deep) 72%);color:#EAF1FA;position:relative;overflow:hidden}
.hero::after{content:"";position:absolute;inset:auto 0 0 0;height:5px;background:var(--gold)}
.hero .wrap{padding-block:clamp(2.2rem,5.5vw,4rem);display:grid;gap:clamp(1.6rem,4vw,3rem);grid-template-columns:1.25fr 1fr;align-items:center}
.hero h1{font-size:clamp(1.9rem,4.6vw,3.15rem);color:#fff;font-weight:400;max-width:17ch}
.hero .terr{margin-top:1rem;color:#B9CDE6;font-size:1.06rem;max-width:48ch}
.hero .btns{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.7rem}
.btn{display:inline-block;font-size:.93rem;font-weight:600;padding:.62rem 1.25rem;border-radius:6px;border:1px solid transparent;cursor:pointer;font-family:var(--body)}
/* Every variant is written as a.btn.x so it outranks the theme link color. */
a.btn.gold,.btn.gold{background:var(--gold);color:#1B1B1B}
a.btn.gold:hover{filter:brightness(1.07);text-decoration:none;color:#1B1B1B}
a.btn.ghost,.btn.ghost{border-color:rgba(255,255,255,.4);color:#fff;background:transparent}
a.btn.ghost:hover{background:rgba(255,255,255,.1);text-decoration:none;color:#fff}
a.btn.solid,.btn.solid{background:var(--navy);color:#fff}
a.btn.solid:hover{background:var(--navy-lift);text-decoration:none;color:#fff}
a.btn.line,.btn.line{border-color:var(--rule);color:var(--navy);background:var(--surface)}
:root[data-theme="dark"] a.btn.line{color:#7FB0F0}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) a.btn.line{color:#7FB0F0}}
:root[data-theme="dark"] a.btn.solid{background:var(--navy-lift);color:#fff}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) a.btn.solid{background:var(--navy-lift);color:#fff}}

/* ---------- sections ---------- */
section.b{padding-block:clamp(2rem,4.5vw,3.4rem);border-bottom:1px solid var(--rule-soft)}
section.b.alt{background:var(--surface-2)}
section.b.flush{padding-top:.25rem;border-top:0}
.hanfra-class-detail .shead{margin-bottom:.15rem}
.hanfra-class-detail h3{margin-top:.9rem}
.hanfra-class-detail h3+p,.hanfra-class-detail h3+ol{margin-top:-.45rem}
.hanfra-class-detail ol{margin:0;padding-left:1.3rem}
.hanfra-class-detail ol li+li{margin-top:.35rem}
section.b.dark{background:var(--navy-deep);color:#D8E4F3;border-bottom:0}
section.b.dark h2,section.b.dark h3,section.b.dark h4{color:#fff}
section.b.dark .lede,section.b.dark .muted{color:#A9BDD6}
section.b.gold{background:linear-gradient(180deg,var(--warn-bg),var(--surface));border-top:3px solid var(--gold)}
:root[data-theme="dark"] section.b.gold{background:var(--surface-2)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) section.b.gold{background:var(--surface-2)}}
.shead{display:flex;flex-wrap:wrap;gap:.6rem 1.4rem;align-items:baseline;justify-content:space-between;margin-bottom:1.5rem}
.shead h2{font-size:clamp(1.35rem,3vw,1.95rem)}
.shead .more{font-size:.86rem;font-weight:600;white-space:nowrap}
.eyebrow{font-family:var(--mono);font-size:.64rem;letter-spacing:.17em;text-transform:uppercase;color:var(--gold-ink);margin-bottom:.5rem}
.lede{color:var(--text-2);max-width:70ch;font-size:1.02rem}
.muted{color:var(--text-3);font-size:.88rem}
/* The forms list, on /member-forms/ and in the member portal (2026-11-27). */
.formlib h3{margin:2.2rem 0 0;padding:.6rem .9rem;font-size:1.22rem;color:var(--text);background:var(--surface-2);border-left:5px solid var(--gold);border-radius:4px 4px 0 0}
.formlist{list-style:none;margin:0;padding:0 .9rem;border:1px solid var(--rule);border-top:0;border-radius:0 0 4px 4px}
.formlist li{padding:.55rem 0;border-bottom:1px solid var(--rule);display:flex;flex-wrap:wrap;gap:.2rem .8rem;justify-content:space-between;align-items:baseline}
.formlist li:last-child{border-bottom:0}
.formlist a{font-weight:500}
.stack{display:flex;flex-direction:column;gap:1rem;max-width:72ch;color:var(--text-2)}
.stack strong{color:var(--text)}

/* ---------- cards ---------- */
.grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,255px),1fr))}
.grid.two{grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr))}
.grid.four{grid-template-columns:repeat(auto-fit,minmax(min(100%,195px),1fr))}
.card{background:var(--surface);border:1px solid var(--rule);border-radius:7px;padding:1.05rem 1.15rem;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:.45rem}
.card.top{border-top:3px solid var(--navy)}
.card.topg{border-top:3px solid var(--gold)}
.card h4{font-family:var(--body);font-size:1rem;font-weight:600;color:var(--text)}
.card p{font-size:.9rem;color:var(--text-2)}
.card .k{font-family:var(--mono);font-size:.64rem;letter-spacing:.11em;text-transform:uppercase;color:var(--text-3)}
.card .big{font-family:var(--display);font-size:2rem;line-height:1;color:var(--text);font-variant-numeric:tabular-nums}
.card .foot{margin-top:auto;padding-top:.6rem;font-size:.84rem;font-weight:600}
.card ul{margin:0;padding-left:1.05rem;font-size:.89rem;color:var(--text-2);display:flex;flex-direction:column;gap:.3rem}
.card li::marker{color:var(--gold)}

/* event rows */
.ev{display:grid;grid-template-columns:auto 1fr auto;gap:.9rem 1.15rem;align-items:center;background:var(--surface);border:1px solid var(--rule);border-radius:7px;padding:.9rem 1.1rem;box-shadow:var(--shadow)}
.ev .date{text-align:center;font-family:var(--mono);line-height:1.15;flex:none;min-width:3.1rem}
.ev .date .m{font-size:.62rem;letter-spacing:.11em;text-transform:uppercase;color:var(--gold-ink)}
.ev .date .d{font-family:var(--display);font-size:1.7rem;color:var(--text)}
.ev h4{font-family:var(--body);font-size:.99rem;font-weight:600}
.ev .meta{display:flex;flex-wrap:wrap;gap:.3rem .5rem;margin-top:.35rem}
.ev .price{font-family:var(--mono);font-size:.82rem;color:var(--text-2);white-space:nowrap;text-align:right}
.ev .sub{font-size:.85rem;color:var(--text-2);margin-top:.35rem;line-height:1.45}
.tag{font-family:var(--mono);font-size:.63rem;letter-spacing:.08em;text-transform:uppercase;padding:.14rem .45rem;border-radius:3px;background:var(--surface-2);color:var(--text-2);white-space:nowrap}
.tag.ce{background:var(--ok-bg);color:var(--ok)}
.tag.few{background:var(--warn-bg);color:var(--warn)}
.tag.gold{background:var(--gold);color:#1B1B1B}
.tag.navy{background:var(--navy);color:#fff}

/* ---------- tables ---------- */
/* margin-block, not bare margin: a heading following a table was colliding with it */
.tw{overflow-x:auto;border:1px solid var(--rule);border-radius:6px;background:var(--surface);box-shadow:var(--shadow);margin-block:0 1.6rem}
.tw:last-child{margin-block-end:0}
.shead{margin-top:.4rem}
.steps,.grid,.people,.gal,.dash,.logos,.filters,.form,.call,.note{margin-block-start:0}
.tw + .call,.tw + .note,.grid + .note,.grid + .call,.people + .note,.gal + .call,.dash + .note,.stack + .call,.stack + .note,.call + .note,.call + .call,.steps + .note,.lede + .call,.form + .note{margin-block-start:1.3rem}
/* first column of a prose table should not collapse to a sliver */
td:first-child{min-width:9.5rem}
table{border-collapse:collapse;width:100%;font-size:.89rem;min-width:520px}
th,td{text-align:left;padding:.66rem .9rem;border-bottom:1px solid var(--rule-soft);vertical-align:top;color:var(--text-2)}
thead th{background:var(--surface-2);color:var(--text);font-family:var(--mono);font-size:.65rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;border-bottom:1px solid var(--rule)}
tbody tr:last-child td{border-bottom:0}
td strong{color:var(--text)}
.num{font-variant-numeric:tabular-nums;white-space:nowrap}
tr.total td{background:var(--surface-2);font-weight:600;color:var(--text)}

/* ---------- people ---------- */
.people{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))}
.person{background:var(--surface);border:1px solid var(--rule);border-radius:7px;overflow:hidden;box-shadow:var(--shadow)}
.person .av{aspect-ratio:1/1;background:linear-gradient(160deg,var(--surface-2),var(--rule-soft));display:grid;place-content:center;color:var(--text-3);font-family:var(--display);font-size:2.1rem}
.person .av.photo{display:block;padding:0;background:var(--surface-2)}
.person .av.photo img{width:100%;height:100%;object-fit:cover;display:block}
.person .pb{padding:.8rem .9rem}
.person h4{font-family:var(--body);font-size:.94rem;font-weight:600}
.person .role{font-size:.83rem;color:var(--text-3);margin-top:.12rem}
.person .ct{font-family:var(--mono);font-size:.74rem;color:var(--text-2);margin-top:.5rem;word-break:break-word}

/* ---------- forms (non-functional) ---------- */
.form{background:var(--surface);border:1px solid var(--rule);border-radius:7px;padding:1.2rem;box-shadow:var(--shadow);max-width:640px}
.frow{display:flex;flex-wrap:wrap;gap:.7rem;margin-bottom:.7rem}
.fld{flex:1 1 210px;min-width:0;display:flex;flex-direction:column;gap:.28rem}
.fld label{font-family:var(--mono);font-size:.64rem;letter-spacing:.1em;text-transform:uppercase;color:var(--text-3)}
.fld input,.fld select,.fld textarea{font:inherit;font-size:.92rem;padding:.55rem .65rem;border:1px solid var(--rule);border-radius:5px;background:var(--bg);color:var(--text);width:100%}
.fld textarea{min-height:90px;resize:vertical}

/* filter chips */
.filters{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1.1rem}
.filters button{font:inherit;font-size:.82rem;cursor:pointer;padding:.35rem .8rem;border-radius:99px;border:1px solid var(--rule);background:var(--surface);color:var(--text-2)}
.filters button[aria-pressed="true"]{background:var(--navy);color:#fff;border-color:var(--navy)}

/* callout / annotation */
.call{border-left:3px solid var(--gold);background:var(--surface);padding:.95rem 1.15rem;border-radius:0 5px 5px 0;max-width:72ch;box-shadow:var(--shadow)}
.call .lbl{display:block;font-family:var(--mono);font-size:.63rem;letter-spacing:.15em;text-transform:uppercase;color:var(--gold-ink);font-weight:600;margin-bottom:.4rem}
.call p{font-size:.93rem;color:var(--text-2)}
.note{border-left:3px solid var(--navy-lift);background:var(--surface-2);padding:.8rem 1rem;border-radius:0 5px 5px 0;max-width:72ch;font-size:.87rem;color:var(--text-2)}
.note b{color:var(--text)}

/* steps */
.steps{counter-reset:s;display:flex;flex-direction:column;gap:.6rem;max-width:74ch}
.step{counter-increment:s;display:grid;grid-template-columns:2rem 1fr;gap:0 .9rem;background:var(--surface);border:1px solid var(--rule);border-radius:6px;padding:.85rem 1rem}
.step::before{content:counter(s);font-family:var(--mono);font-weight:600;font-size:.86rem;color:var(--gold-ink);padding-top:.1rem}
.step h4{font-family:var(--body);font-size:.95rem;font-weight:600;margin-bottom:.2rem}
.step p{font-size:.88rem;color:var(--text-2)}

/* logo strip */
.logos{display:flex;flex-wrap:wrap;gap:.7rem}
.logos span{flex:1 1 128px;height:56px;display:grid;place-content:center;background:var(--surface);border:1px solid var(--rule);border-radius:5px;font-family:var(--mono);font-size:.7rem;color:var(--text-3);text-align:center;padding:.4rem}

/* gallery */
.gal{display:grid;gap:.7rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,165px),1fr))}
.gal figure{margin:0;background:var(--surface);border:1px solid var(--rule);border-radius:6px;overflow:hidden}
.gal .im{aspect-ratio:4/3;background:linear-gradient(150deg,var(--surface-2),var(--rule-soft));display:grid;place-content:center;color:var(--text-3);font-family:var(--mono);font-size:.64rem;letter-spacing:.1em;text-transform:uppercase;text-align:center;padding:.5rem}
.gal figcaption{padding:.5rem .65rem;font-size:.8rem;color:var(--text-2)}

/* portal dashboard */
.dash{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,215px),1fr))}
.tile{background:var(--surface);border:1px solid var(--rule);border-radius:7px;padding:1rem 1.1rem;box-shadow:var(--shadow)}
.tile .k{font-family:var(--mono);font-size:.63rem;letter-spacing:.1em;text-transform:uppercase;color:var(--text-3)}
.tile .v{font-family:var(--display);font-size:1.9rem;line-height:1.05;margin-top:.35rem;font-variant-numeric:tabular-nums}
.tile .s{font-size:.83rem;color:var(--text-2);margin-top:.3rem}
.tile.due{border-color:var(--warn);background:var(--warn-bg)}
.tile.due .v,.tile.due .k,.tile.due .s{color:var(--warn)}
.tile.good{border-color:var(--ok)}
.tile.good .v{color:var(--ok)}

/* ---------- footer ---------- */
footer.site{background:var(--navy-deep);color:#A9BDD6;font-size:.87rem;padding-block:2.4rem 2rem;border-top:4px solid var(--gold)}
footer.site a{color:#C8D9EE}
footer.site h4{font-family:var(--mono);font-size:.64rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);margin-bottom:.7rem;font-weight:600}
footer.site .cols{display:grid;gap:1.6rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}
footer.site ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.35rem}
footer.site .legal{margin-top:2rem;padding-top:1.2rem;border-top:1px solid rgba(255,255,255,.14);display:flex;flex-wrap:wrap;gap:.5rem 1.3rem;font-size:.79rem;color:#8AA2BE}
footer.site .eho{display:flex;align-items:center;gap:.55rem;margin-top:1rem;font-size:.79rem}
footer.site .eho .m{border:1.5px solid #8AA2BE;border-radius:3px;padding:.1rem .3rem;font-family:var(--mono);font-size:.62rem}
footer.site address{font-style:normal;line-height:1.7}

@media (max-width:860px){
  .hero .wrap{grid-template-columns:1fr}
  nav.main{margin-left:0;width:100%;border-top:1px solid var(--rule-soft);padding-top:.5rem}
  .ev{grid-template-columns:auto 1fr}
  .ev .price{grid-column:2;text-align:left}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ---- Design notes (2026-09-20) ----------------------------------------------
   Reasons and to-dos for the Board. They are NOT site copy, so they stay hidden
   until the reviewer switches on "Show design notes" in the gray bar. With them
   off, every page reads the way the real site would. The element keeps its .note
   class so the existing sibling-spacing rules above still apply to it. */
.note.dn{display:none;border:1px dashed var(--navy-lift);border-left-width:3px;border-left-style:solid}
.note.dn::before{content:"Design note";display:block;font-family:var(--mono);font-size:.6rem;letter-spacing:.15em;text-transform:uppercase;color:var(--text-3);margin-bottom:.3rem}
body.showdn .note.dn{display:block}
.mockbar .opt{color:#fff;font-weight:600}

/* ==========================================================================
   Added 2026-09-20 for the working site: section nav, real form states, the
   payment picker, notices and the preview ribbon. The mockup and the WordPress
   theme share this one file.
   ========================================================================== */

/* Section nav: the other pages of the section, under the page head. */
.secnav{background:var(--surface);border-bottom:1px solid var(--rule)}
/* The section bar wraps onto a second line; it does not scroll sideways (Mike, 2026-11-27). */
.secnav .wrap{display:flex;flex-wrap:wrap;gap:.15rem;padding-block:.45rem}
.secnav a{flex:none;font-size:.84rem;font-weight:500;color:var(--text-2);padding:.34rem .7rem;border-radius:5px;white-space:nowrap}
.secnav a:hover{background:var(--surface-2);color:var(--navy);text-decoration:none}
.secnav a.on{color:var(--navy);background:var(--surface-2);box-shadow:inset 0 -2px 0 var(--gold)}
:root[data-theme="dark"] .secnav a.on{color:var(--text)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .secnav a.on{color:var(--text)}}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .secnav a.on{color:var(--text)}}

/* A control that stands for a file or feature that does not exist yet. */
.off{opacity:.55;cursor:not-allowed}
.btn.off:hover{filter:none}

/* Forms that really submit. */
.form form{margin:0}
.fld .req{color:var(--warn);font-weight:700;margin-left:.15rem}
.fld .hint{font-size:.78rem;color:var(--text-3)}
.fld.bad input,.fld.bad select,.fld.bad textarea{border-color:var(--warn);box-shadow:0 0 0 2px var(--warn-bg)}
.fld .err{font-size:.8rem;color:var(--warn);font-weight:600}
.fld input:focus-visible,.fld select:focus-visible,.fld textarea:focus-visible,.pick label:focus-within{outline:2px solid var(--gold);outline-offset:1px}
.fld.check{flex-direction:row;align-items:flex-start;gap:.55rem}
.fld.check input{width:auto;margin-top:.28rem;flex:none}
.fld.check label{font-family:var(--body);font-size:.9rem;letter-spacing:0;text-transform:none;color:var(--text-2)}
.hp-field{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.notice{border:1px solid var(--rule);border-left-width:4px;border-radius:5px;background:var(--surface);padding:.85rem 1.05rem;margin-bottom:1rem;max-width:640px;font-size:.94rem}
.notice.ok{border-left-color:var(--ok);background:var(--ok-bg)}
.notice.bad{border-left-color:var(--warn);background:var(--warn-bg)}
.notice h3,.notice h4{font-family:var(--body);font-size:1rem;font-weight:600;margin:0 0 .3rem}
.notice ul{margin:.3rem 0 0 1.1rem;padding:0}
.refcode{font-family:var(--mono);font-size:1.15rem;font-weight:600;letter-spacing:.06em;background:var(--surface-2);border:1px dashed var(--rule);border-radius:5px;padding:.2rem .55rem;display:inline-block}

/* The payment picker: one row per way to pay, each with its price. */
.pick{display:flex;flex-direction:column;gap:.45rem;margin:.2rem 0 .9rem}
.pick label{display:grid;grid-template-columns:auto 1fr auto;gap:.2rem .7rem;align-items:center;border:1px solid var(--rule);border-radius:6px;padding:.6rem .8rem;background:var(--bg);cursor:pointer;font-family:var(--body);font-size:.93rem;letter-spacing:0;text-transform:none;color:var(--text)}
.pick label .sub{grid-column:2 / 4;font-size:.8rem;color:var(--text-3)}
.pick label .amt{font-family:var(--mono);font-size:.9rem;white-space:nowrap}
.pick input{width:auto;margin:0}
.pick label.soon{opacity:.6;cursor:not-allowed}
.pick label:has(input:checked){border-color:var(--navy);box-shadow:inset 0 0 0 1px var(--navy)}
.paybox{border:1px solid var(--rule);border-radius:7px;background:var(--surface);padding:1.1rem 1.2rem;max-width:640px;box-shadow:var(--shadow)}
.paybox dl{display:grid;grid-template-columns:auto 1fr;gap:.35rem 1rem;margin:.6rem 0 0}
.paybox dt{font-family:var(--mono);font-size:.64rem;letter-spacing:.1em;text-transform:uppercase;color:var(--text-3);padding-top:.2rem}
.paybox dd{margin:0}

/* Preview ribbon: shown only while the site is behind the wall. */
.previewbar{background:#1B1B1B;color:#F3F3F3;font-family:var(--mono);font-size:11.5px;letter-spacing:.03em}
.previewbar .wrap{display:flex;flex-wrap:wrap;gap:.4rem 1rem;align-items:center;padding-block:.4rem}
.previewbar b{color:var(--gold)}
.previewbar .sp{flex:1}
.previewbar a{color:#F3F3F3;text-decoration:underline}
.previewbar button{font:inherit;color:#F3F3F3;background:transparent;border:1px solid rgba(255,255,255,.35);border-radius:4px;padding:.18rem .55rem;cursor:pointer}
.previewbar button[aria-pressed="true"]{background:var(--gold);color:#1B1B1B;border-color:var(--gold)}
.boardnotes{border-top:1px dashed var(--rule);background:var(--surface-2)}
.boardnotes .wrap{padding-block:1.2rem}
.boardnotes h2{font-family:var(--mono);font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-ink);margin:0 0 .6rem}
.boardnotes li{font-size:.9rem;color:var(--text-2);margin-bottom:.45rem;max-width:90ch}
body:not(.showdn) .boardnotes{display:none}

/* Event detail and search results in WordPress. */
.evfacts{display:flex;flex-wrap:wrap;gap:.35rem .5rem;margin:.2rem 0 .8rem}
.results .card h4 a{color:inherit}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.skip:focus{position:fixed;left:.6rem;top:.6rem;z-index:50;background:var(--gold);color:#1B1B1B;padding:.5rem .9rem;border-radius:5px;width:auto;height:auto;clip:auto}
.util form.search{display:inline-flex;margin:0}
.util form.search input{font:inherit;font-size:.78rem;padding:.2rem .5rem;border-radius:4px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.08);color:inherit;width:11rem;max-width:40vw}
.util form.search input::placeholder{color:inherit;opacity:.7}

/* Dashboard tabs in the member portal: links that look like the filter chips. */
.filters a.chip{font-size:.82rem;padding:.35rem .8rem;border-radius:99px;border:1px solid var(--rule);background:var(--surface);color:var(--text-2)}
.filters a.chip:hover{text-decoration:none;border-color:var(--navy)}
.filters a.chip.on{background:var(--navy);color:#fff;border-color:var(--navy)}
.dash .tile .s a{font-weight:600}
[hidden]{display:none!important}

/* ==========================================================================
   Home page, 2026-11-11: the photo hero, the figures panel under it, and the
   layouts the home page uses. Same navy, gold and fonts as the rest of the site.
   ========================================================================== */

/* Hero: the blue panel on the left carries the welcome text, and the photographs rotate on the right in
   their own colors, with nothing laid over them. A gold curve, the wave from the logo, divides the two.
   The photos crossfade (js/home.js); without the script the first one shows. */
.hero.hero-split{min-height:clamp(500px,66vh,640px);display:flex;align-items:center;background:radial-gradient(700px 420px at 8% 0%,rgba(31,90,168,.55),transparent 65%),linear-gradient(168deg,var(--navy) 0%,#03275B 92%)}
.hero-split .wrap{display:block;width:100%;padding-block:clamp(3rem,7vh,4.4rem) clamp(7.4rem,14vh,9rem)}
.hero-split .copy{position:relative;z-index:2;max-width:min(30rem,40vw)}
.hero-split h1{font-size:clamp(2.4rem,5.2vw,4rem);max-width:none;letter-spacing:-.02em;line-height:1.05}
.hero-split .terr{margin-top:1.2rem;font-size:clamp(1rem,1.35vw,1.12rem);color:#D5E2F3;max-width:none}
.hero-split .terr strong{color:#fff}
.hero-split .btns{margin-top:1.9rem}
.hero-split .btn{padding:.74rem 1.3rem;font-size:.95rem}
.hero-split .art{position:absolute;inset:0 0 0 46%}
.hero-split .slides{position:absolute;inset:0;overflow:hidden;background:var(--navy-deep);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M12 0C0 28 18 60 5 100H100V0Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M12 0C0 28 18 60 5 100H100V0Z'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.hero-split .slide{position:absolute;inset:0;margin:0;opacity:0;transition:opacity 1.4s ease}
.hero-split .slide.on{opacity:1}
.hero-split .slide img{width:100%;height:100%;object-fit:cover;transform:scale(1.01);transition:transform 9s linear}
.hero-split .slide.on img{transform:scale(1.06)}
.hero-split .edge{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.hero-split .edge path{fill:none;stroke:var(--gold);stroke-width:4}
/* The caption and the controls sit in one small navy pill on the photo, so the photo itself stays clear. */
.hero-split .slidebar{position:absolute;right:max(var(--pad),calc((100vw - var(--maxw)) / 2 + var(--pad)));bottom:clamp(6rem,11vh,6.8rem);display:flex;align-items:center;gap:.9rem;background:rgba(2,28,61,.88);border-radius:99px;padding:.38rem .45rem .38rem 1.1rem;color:#fff;box-shadow:0 6px 20px rgba(2,28,61,.3)}
.hero-split .cap{font-family:var(--mono);font-size:.62rem;letter-spacing:.11em;text-transform:uppercase;color:#C9D8EA;white-space:nowrap;padding-block:.35rem}
.hero-split .cap b{font-family:var(--display);font-size:.98rem;font-weight:500;letter-spacing:0;text-transform:none;color:#fff;margin-right:.35rem}
.hero-split .ctl{display:flex;align-items:center;gap:.7rem}
.hero-split .dots{display:flex;gap:.3rem}
.hero-split .dots button{position:relative;width:1.5rem;height:1.5rem;padding:0;border:0;background:none;cursor:pointer}
.hero-split .dots button::before{content:"";position:absolute;left:0;right:0;top:50%;height:3px;margin-top:-1.5px;border-radius:2px;background:rgba(255,255,255,.35)}
.hero-split .dots button i{position:absolute;left:0;top:50%;height:3px;margin-top:-1.5px;width:0;border-radius:2px;background:var(--gold)}
.hero-split .dots button[aria-current] i{width:100%}
.hero-split.playing .dots button[aria-current] i{animation:hf-fill 7s linear forwards}
@keyframes hf-fill{from{width:0}to{width:100%}}
.hero-split .pause{width:2rem;height:2rem;border-radius:50%;border:1px solid rgba(255,255,255,.45);background:transparent;cursor:pointer;display:grid;place-content:center;padding:0}
.hero-split .pause .ico{display:block;width:10px;height:11px;border-left:3px solid #fff;border-right:3px solid #fff}
.hero-split .pause.paused .ico{width:0;height:0;border-style:solid;border-width:6px 0 6px 10px;border-color:transparent transparent transparent #fff;margin-left:3px}
.hero-split .pause:hover{background:rgba(255,255,255,.14)}

/* The figures panel rides up over the bottom of the hero. */
section.b.statband{padding-block:0 clamp(1.4rem,3vw,2.2rem);border-bottom:0;position:relative;z-index:3}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:-4.8rem;background:var(--surface);border-radius:12px;border-top:4px solid var(--gold);box-shadow:0 2px 6px rgba(2,28,61,.06),0 22px 50px rgba(2,28,61,.16)}
.stat{padding:1.4rem 1.5rem 1.3rem;border-left:1px solid var(--rule-soft)}
.stat:first-child{border-left:0}
.stats{grid-template-columns:1.45fr 1fr 1fr 1fr}
.stats.three{grid-template-columns:1.45fr 1fr 1fr}
.stat.lead{display:flex;flex-direction:column;justify-content:center}
.stat.lead .t{font-family:var(--display);font-size:clamp(1.3rem,2vw,1.62rem);line-height:1.16;color:var(--navy);letter-spacing:-.01em}
.stat.lead .l a{font-weight:600;white-space:nowrap}
:root[data-theme="dark"] .stat.lead .t{color:var(--text)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .stat.lead .t{color:var(--text)}}
.stat .n{font-family:var(--display);font-size:clamp(2.1rem,3.7vw,3rem);line-height:1;color:var(--navy);font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.stat .l{margin-top:.55rem;font-size:.86rem;line-height:1.45;color:var(--text-2)}
:root[data-theme="dark"] .stat .n{color:var(--gold)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .stat .n{color:var(--gold)}}

/* Two columns: a short introduction on the left, the content on the right. */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.9fr);gap:clamp(1.6rem,4.5vw,3.6rem);align-items:start}
.split .intro{position:sticky;top:1.5rem}
.split h2{font-size:clamp(1.7rem,3.4vw,2.5rem)}
.split .lede{margin-top:.85rem}
.split .btns{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.4rem}
.split .contact{margin-top:1.5rem;padding-top:1.1rem;border-top:1px solid var(--rule);font-size:.9rem;color:var(--text-2)}
.split .contact a{font-weight:600;white-space:nowrap}
.evlist{display:flex;flex-direction:column;gap:.7rem}
.evlist #hanfra-events{gap:.7rem}
.evlist .filters{display:none}

/* Membership services: a tiled list with line icons. */
.feats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--rule);border:1px solid var(--rule);border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}
.feat{background:var(--surface);padding:1.3rem 1.35rem 1.25rem;display:grid;grid-template-columns:auto 1fr;gap:.25rem 1rem;align-content:start}
.feat .ic{grid-row:span 2;width:2.7rem;height:2.7rem;border-radius:10px;background:var(--surface-2);color:var(--navy);display:grid;place-content:center;box-shadow:inset 0 -2px 0 var(--gold)}
.feat .ic svg{width:1.4rem;height:1.4rem}
.feat h3{font-family:var(--body);font-size:1rem;font-weight:600;align-self:end}
.feat p{font-size:.89rem;color:var(--text-2)}
:root[data-theme="dark"] .feat .ic{color:#7FB0F0}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .feat .ic{color:#7FB0F0}}
.duesbar{margin-top:1.3rem;display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.4rem;background:var(--surface);border:1px solid var(--rule);border-left:4px solid var(--gold);border-radius:8px;padding:.85rem 1.15rem;box-shadow:var(--shadow);font-size:.9rem;color:var(--text-2)}
.duesbar .lbl{font-family:var(--mono);font-size:.64rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-ink);font-weight:600}
.duesbar ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.3rem 1.2rem;flex:1}
.duesbar li::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--gold);margin-right:.5rem;vertical-align:.12em}
.duesbar a{font-weight:600;white-space:nowrap}

/* The OneKey band: navy, with glass cards. */
section.b.onekey{background:radial-gradient(1100px 420px at 88% -5%,rgba(31,90,168,.6),transparent 62%),linear-gradient(168deg,var(--navy) 0%,var(--navy-deep) 72%)}
section.b.dark .eyebrow{color:var(--gold)}
section.b.dark a,section.b.dark .shead .more{color:var(--gold)}
section.b.dark .lede{color:#C4D4E8}
.card.glass{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14);box-shadow:none}
.card.glass p{color:#C4D4E8}
.card.glass.topg{border-top-color:var(--gold)}

/* A photograph beside the text. */
.split.media{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:stretch}
.split.media .call{margin-top:1.4rem}
.pic{margin:0;position:relative;border-radius:14px;overflow:hidden;min-height:400px;box-shadow:0 22px 50px rgba(2,28,61,.2);background:var(--surface-2)}
.pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pic::after{content:"";position:absolute;inset:0;border-radius:14px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2);pointer-events:none}
.pic figcaption{position:absolute;left:0;right:0;bottom:0;padding:2.4rem 1.1rem .9rem;background:linear-gradient(0deg,rgba(2,28,61,.82),rgba(2,28,61,0));color:#fff;font-family:var(--mono);font-size:.64rem;letter-spacing:.13em;text-transform:uppercase}
.paths{display:flex;flex-direction:column;gap:1rem;margin-top:1.4rem}
.path{border-left:3px solid var(--gold);padding:.15rem 0 .15rem 1.05rem}
.path h3{font-family:var(--body);font-size:1rem;font-weight:600}
.path p{font-size:.92rem;color:var(--text-2);margin-top:.2rem;max-width:62ch}
.path a{display:inline-block;margin-top:.3rem;font-size:.86rem;font-weight:600}

/* Market figures: one panel, big numbers. */
.grid.figs{gap:0;background:var(--surface);border:1px solid var(--rule);border-radius:12px;box-shadow:var(--shadow);overflow:hidden}
.figs .card{border:0;border-radius:0;box-shadow:none;border-left:1px solid var(--rule-soft);padding:1.4rem 1.5rem}
.figs .card:first-child{border-left:0}
.figs .card .big{font-size:clamp(2.2rem,3.8vw,3rem);color:var(--navy)}
:root[data-theme="dark"] .figs .card .big{color:var(--gold)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .figs .card .big{color:var(--gold)}}

/* For buyers and sellers: a photograph in its own colors, with a white panel rising over it. */
section.b.pubband{padding-block:0 clamp(2rem,4.5vw,3.4rem)}
.pubband .strip{margin:0;height:clamp(230px,30vw,400px);overflow:hidden;background:var(--surface-2)}
.pubband .strip img{width:100%;height:100%;object-fit:cover}
.pubband .sheet{position:relative;margin-top:clamp(-7rem,-9vw,-3.5rem);background:var(--surface);border-top:4px solid var(--gold);border-radius:12px;box-shadow:0 2px 6px rgba(2,28,61,.06),0 22px 50px rgba(2,28,61,.16);padding:clamp(1.3rem,3vw,2.1rem)}
.pubband .sheet .shead{margin-bottom:1rem}
.pubband .sheet .grid{gap:0}
.pubband .sheet .card,.pubband .sheet .card:hover{border:0;border-radius:0;box-shadow:none;transform:none;border-left:1px solid var(--rule-soft);padding:.3rem 1.5rem}
.pubband .sheet .card:first-child{border-left:0;padding-left:0}

/* The last band before the footer. */
section.b.cta{background:var(--gold);border-bottom:0;padding-block:clamp(2rem,4.5vw,2.9rem)}
.cta .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.2rem 2rem}
.cta h2{font-size:clamp(1.6rem,3.2vw,2.3rem);color:var(--navy-deep)}
.cta p{margin-top:.35rem;color:#2B2410;max-width:58ch}
section.b.cta p a{color:var(--navy-deep);font-weight:600;text-decoration:underline}
.cta .btns{display:flex;flex-wrap:wrap;gap:.6rem}
section.b.cta a.btn.solid{background:var(--navy-deep);color:#fff}
section.b.cta a.btn.solid:hover{background:var(--navy)}
section.b.cta a.btn.ink{border-color:var(--navy-deep);color:var(--navy-deep);background:transparent}
section.b.cta a.btn.ink:hover{background:rgba(2,28,61,.08);text-decoration:none}

/* Parts lower on the home page ease in as they scroll into view (js/home.js adds these classes). */
.rv{opacity:0;transform:translateY(22px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.rv.in{opacity:1;transform:none}

/* Site-wide touches, 2026-11-11. Every page head gets a soft light from the top right. */
.phead{overflow:hidden}
.phead::before{content:"";position:absolute;inset:0;background:radial-gradient(900px 340px at 88% -10%,rgba(31,90,168,.55),transparent 65%);pointer-events:none}
.phead .wrap{position:relative}
/* A card with a link lifts a little under the pointer. */
.card{transition:transform .25s ease,box-shadow .25s ease}
.card:has(.foot a):hover{transform:translateY(-3px);box-shadow:0 2px 4px rgba(2,28,61,.06),0 14px 34px rgba(2,28,61,.13)}
/* Event dates: a navy tile with a gold month. */
.ev .date{background:var(--navy);border-radius:8px;padding:.45rem .55rem .4rem;min-width:3.4rem}
.ev .date .m{color:var(--gold)}
.ev .date .d{color:#fff}

@media (max-width:860px){
  .hero.hero-split{display:block;min-height:0}
  .hero-split .wrap{padding-block:2.3rem 2.1rem}
  .hero-split .copy{max-width:none}
  .hero-split .art{position:relative;inset:auto;height:clamp(250px,68vw,430px);border-top:4px solid var(--gold)}
  .hero-split .slides{-webkit-mask:none;mask:none}
  .hero-split .edge{display:none}
  .hero-split .slidebar{right:var(--pad);bottom:4.6rem;max-width:calc(100% - 2 * var(--pad))}
  .pubband .sheet .card,.pubband .sheet .card:hover{border-left:0;border-top:1px solid var(--rule-soft);padding:1rem 0}
  .pubband .sheet .card:first-child{border-top:0;padding-top:0}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:-3.6rem}
  .stat{padding:1.1rem 1.1rem 1rem;border-top:1px solid var(--rule-soft)}
  .stat.lead{grid-column:1 / -1;border-top:0}
  .stat:nth-child(2),.stat:nth-child(4){border-left:0}
  .stat:nth-child(4){grid-column:1 / -1}
  .split,.split.media{grid-template-columns:1fr}
  .split .intro{position:static}
  .feats{grid-template-columns:1fr}
  .pic{min-height:0;aspect-ratio:16/10}
  .figs .card:nth-child(odd){border-left:0}
}
@media (max-width:560px){
  .people{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
  .hero-split h1{font-size:2.3rem}
  .hero-split .btns .btn{flex:1 1 auto;text-align:center}
  .hero-split .dots{display:none}
  .hero-split .cap{white-space:normal}
}

/* The month calendar (2026-11-27): the Calendar page's [hanfra_calendar] and the portal's Your calendar. One markup: a
   7-column table on a wide screen, a day-by-day list under 700px, where 7 columns cannot be read. The colors are the
   theme's variables, so the dark theme follows. Today is marked in words as well as by the outline. */
.hcal{margin-top:.6rem}
.hcal-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.8rem}
.hcal-bar[hidden]{display:none}
.hcal-bar .btn{min-height:44px;cursor:pointer}
.hcal-bar .btn[aria-disabled="true"]{opacity:.5;cursor:default}
.hcal-now{font-family:var(--mono);font-size:.82rem;color:var(--text-2)}
.hcal-legend{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem .6rem;margin:0 0 .9rem;padding:0}
.hcal-month{margin-bottom:1.6rem}
.hcal-month[hidden]{display:none}
.hcal-grid{width:100%;border-collapse:collapse;table-layout:fixed;background:var(--surface);border:1px solid var(--rule)}
.hcal-grid caption{text-align:left;font-family:var(--display);font-size:1.45rem;color:var(--text);padding:0 0 .5rem}
.hcal-grid th{font-family:var(--mono);font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:var(--text-2);background:var(--surface-2);padding:.45rem .35rem;border:1px solid var(--rule);text-align:left}
.hcal-grid th abbr{text-decoration:none;border:0}
.hcal-grid td{vertical-align:top;height:6.4rem;padding:.35rem .4rem;border:1px solid var(--rule)}
.hcal-grid td.hcal-pad{background:var(--bg)}
.hcal-n{font-family:var(--mono);font-size:.8rem;color:var(--text-2);margin-bottom:.3rem}
.hcal-wd,.hcal-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.hcal-grid td.hcal-today{background:var(--surface-2);box-shadow:inset 0 0 0 2px var(--navy-lift)}
.hcal-today .hcal-n time{font-weight:700;color:var(--text)}
.hcal-today-w{font-size:.62rem;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--text)}
.hcal-items{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.3rem}
.hcal-it{font-size:.78rem;line-height:1.3;padding:.18rem .3rem .2rem .45rem;border-left:3px solid var(--text-3);background:var(--surface-2);border-radius:2px;overflow-wrap:anywhere;color:var(--text)}
.hcal-t-ce{border-left-color:var(--ok)}
.hcal-t-meeting{border-left-color:var(--navy-lift)}
.hcal-t-event{border-left-color:var(--gold)}
.hcal-t-own{border-left-color:var(--warn);background:var(--warn-bg)}
.hcal-time{display:block;font-family:var(--mono);font-size:.66rem;color:var(--text-2)}
.hcal-time:empty{display:none}
.hcal-a{font-weight:600}
.hcal-full,.hcal-mark{display:inline-block;margin-top:.2rem}
.hcal-mark{font-family:var(--mono);font-size:.62rem;letter-spacing:.06em;text-transform:uppercase;padding:.12rem .4rem;border-radius:3px;white-space:nowrap}
.hcal-mark-registered{background:var(--navy);color:#fff}
.hcal-mark-wait{background:var(--surface);color:var(--text);border:1px solid var(--navy-lift)}
.hcal-mark-mine{background:var(--gold);color:#1B1B1B;font-weight:600}
.hcal-it.hcal-m-registered{box-shadow:inset 0 0 0 1px var(--navy-lift)}
/* The member's own rows stand out on the grid (2026-11-27): filled, with the mark in words. */
.hcal .hcal-it.hcal-m-registered{background:var(--navy);color:#fff;border-left-color:var(--gold)}
.hcal .hcal-it.hcal-m-registered a.hcal-a,.hcal .hcal-it.hcal-m-registered .hcal-time{color:#fff}
.hcal .hcal-it.hcal-m-registered .hcal-mark-registered{background:#fff;color:var(--navy)}
.hcal .hcal-it.hcal-m-wait{background:var(--surface);box-shadow:inset 0 0 0 2px var(--navy-lift)}
.hcal .hcal-it.hcal-m-mine{background:rgba(254,189,1,.24);border-left-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}
.hcal-more{list-style:none}
.hcal-more summary{cursor:pointer;font-size:.74rem;font-weight:600;color:var(--navy);padding:.15rem 0;min-height:24px}
.hcal-more details[open] summary{margin-bottom:.3rem}
:root[data-theme="dark"] .hcal-more summary{color:#7FB0F0}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .hcal-more summary{color:#7FB0F0}}
.hcal-add{display:block;margin-top:.2rem;font-size:.7rem;font-weight:600}
.hanfra-add-cal{font-size:.8rem;font-weight:600;white-space:nowrap}
.price .hanfra-add-cal{display:inline-block;margin-top:.45rem}
/* The member's marks on the public pages, added by cal-marks.js after the page loads (2026-11-27). */
.hcal-on{display:block;margin-top:.2rem;font-size:.7rem;font-weight:600;color:var(--text-2)}
.hanfra-on-cal{font-size:.8rem;font-weight:600;white-space:nowrap;color:var(--text-2)}
.price .hanfra-on-cal{display:inline-block;margin-top:.45rem}
.ev h4 .hcal-mark{margin:0 0 0 .3rem;vertical-align:middle}
.ev.hcal-m-registered{border-color:var(--navy-lift);box-shadow:inset 4px 0 0 var(--navy)}
.ev.hcal-m-wait{border-color:var(--navy-lift);box-shadow:inset 4px 0 0 var(--navy-lift)}
.ev.hcal-m-mine{border-color:var(--gold);background:rgba(254,189,1,.12);box-shadow:inset 4px 0 0 var(--gold)}
.hanfra-class-facts.hcal-m-mine,.hanfra-class-facts.hcal-m-registered{box-shadow:inset 0 0 0 1px var(--gold)}
.hanfra-add-note{margin-top:.7rem;font-size:.86rem;color:var(--text-2)}
.hcal-none,.hcal-foot{font-size:.9rem;color:var(--text-2);margin-top:.6rem}
@media (max-width:700px){
  .hcal-grid,.hcal-grid tbody,.hcal-grid tr,.hcal-grid td{display:block;width:auto;height:auto}
  .hcal-grid{border:0;background:none}
  .hcal-grid caption{display:block}
  .hcal-grid thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .hcal-grid td.hcal-pad,.hcal-grid td.hcal-day:not(.hcal-has):not(.hcal-today){display:none}
  .hcal-grid td{border:0;border-top:1px solid var(--rule);padding:.65rem 0 .7rem}
  .hcal-grid td.hcal-today{padding-left:.6rem;padding-right:.6rem}
  .hcal-wd{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;white-space:normal}
  .hcal-n{font-size:.85rem;color:var(--text);font-weight:600}
  .hcal-it{font-size:.92rem;padding:.4rem .5rem .45rem .6rem}
  .hcal-time{display:inline;margin-right:.45rem;font-size:.78rem}
}
