/* ALVELDA-HOME-PROD — legacy base + splash design system + r2 layer */
/* Family History — shared design system (FAMILY-HISTORY-5B1E)
   Parchment (vellum panels) + Nordic (cold slate, open space, thin rules) + heraldic (tinctures, SC titling). */
:root{
  --wall:#171513; --wall2:#1f1c19; --slate:#2f3a42; --navy:#1d2a3d;
  --bone:#ece6da; --vellum:#efe2c4; --vellum2:#e4d3ae; --ink:#2a2118; --ink2:#5a4a38;
  --gold:#c9a24a; --gold2:#e0c27a; --gules:#7d1620; --azure:#274a8c; --vert:#2f5d3a; --sable:#141414;
  --rule:rgba(201,162,74,.45);
  --f-title:"IM Fell English SC","Cormorant SC",Georgia,serif;
  --f-body:"Cormorant Garamond",Georgia,serif;
  --f-read:"Libre Caslon Text",Georgia,serif;
  --f-mono:"IBM Plex Mono",ui-monospace,Menlo,monospace;
  --maxw:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--wall);color:var(--bone);font-family:var(--f-body);font-size:20px;line-height:1.55;
  background-image:radial-gradient(ellipse at 50% -10%,rgba(201,162,74,.10),transparent 60%),
  repeating-linear-gradient(0deg,rgba(255,255,255,.012) 0 1px,transparent 1px 3px)}
a{color:var(--gold2)} a:hover{color:#fff}
img{max-width:100%;display:block}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px}

/* nav */
.nav{position:sticky;top:0;z-index:50;background:rgba(23,21,19,.92);backdrop-filter:blur(6px);border-bottom:1px solid var(--rule)}
.nav .wrap{display:flex;align-items:center;gap:22px;height:60px}
.nav .brand{font-family:var(--f-title);font-size:21px;color:var(--vellum);text-decoration:none;letter-spacing:.04em;white-space:nowrap}
.nav .brand b{color:var(--gold)}
.nav ul{list-style:none;display:flex;gap:4px;margin:0 0 0 auto;padding:0;flex-wrap:wrap}
.nav li a{display:block;padding:6px 11px;font-family:var(--f-mono);font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--bone);text-decoration:none;border:1px solid transparent;border-radius:2px}
.nav li a:hover,.nav li a[aria-current]{border-color:var(--rule);color:var(--gold2)}
.nav li a.tree{background:var(--gules);color:var(--vellum);border-color:var(--gold)}
@media (max-width:900px){.nav .wrap{height:auto;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}.nav ul{margin:0}}

/* hero */
.hero{position:relative;min-height:74vh;display:flex;align-items:flex-end;overflow:hidden;border-bottom:1px solid var(--rule)}
.hero .bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.42;filter:saturate(.75) contrast(1.05)}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(23,21,19,.2) 0%,rgba(23,21,19,.55) 55%,var(--wall) 100%)}
.hero .wrap{position:relative;z-index:2;padding-bottom:64px;display:flex;gap:44px;align-items:flex-end;width:100%}
.hero .arms{width:210px;flex:none;filter:drop-shadow(0 10px 30px rgba(0,0,0,.6))}
.kicker{font-family:var(--f-mono);font-size:13px;letter-spacing:.28em;text-transform:uppercase;color:var(--gold)}
h1{font-family:var(--f-title);font-weight:400;font-size:clamp(46px,6.4vw,92px);line-height:1.0;margin:.15em 0 .2em;color:var(--vellum);letter-spacing:.01em}
.lede{font-size:24px;max-width:760px;color:var(--bone);margin:0}
.evo{position:absolute;right:14px;bottom:10px;z-index:3;font-family:var(--f-mono);font-size:10px;letter-spacing:.1em;color:rgba(236,230,218,.55);text-transform:uppercase}
@media (max-width:760px){.hero .wrap{flex-direction:column;align-items:flex-start}.hero .arms{width:140px}}

/* sections */
section{padding:84px 0;border-bottom:1px solid rgba(201,162,74,.14)}
h2{font-family:var(--f-title);font-weight:400;font-size:clamp(34px,4vw,54px);margin:0 0 .3em;color:var(--vellum);line-height:1.05}
h2 small{display:block;font-family:var(--f-mono);font-size:12px;letter-spacing:.26em;text-transform:uppercase;color:var(--gold);margin-bottom:12px}
h3{font-family:var(--f-title);font-weight:400;font-size:28px;margin:0 0 .3em;color:var(--vellum)}
.prose{max-width:780px;font-family:var(--f-read);font-size:18px;line-height:1.75;color:#ddd5c6}
.prose p{margin:0 0 1em}
.cols{display:grid;grid-template-columns:1.25fr 1fr;gap:56px;align-items:start}
@media (max-width:900px){.cols{grid-template-columns:1fr}}
.rule{height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent);margin:40px 0;border:0}

/* vellum panel */
.vellum{background:var(--vellum);color:var(--ink);border-radius:3px;padding:30px 32px;position:relative;
  box-shadow:0 20px 50px rgba(0,0,0,.45),inset 0 0 70px rgba(120,85,30,.22);
  background-image:radial-gradient(ellipse at 20% 10%,rgba(255,255,255,.35),transparent 60%),radial-gradient(ellipse at 80% 90%,rgba(140,100,40,.18),transparent 60%)}
.vellum h3{color:var(--ink)} .vellum a{color:var(--gules)}
.vellum::before{content:"";position:absolute;inset:8px;border:1px solid rgba(90,60,20,.3);pointer-events:none;border-radius:2px}
.blazon{font-family:var(--f-read);font-style:italic;font-size:17px;line-height:1.6}
.blazon .es{font-style:normal;font-family:var(--f-mono);font-size:12.5px;color:var(--ink2);display:block;margin-top:10px;line-height:1.55}

/* tier chips */
.tier{display:inline-block;font-family:var(--f-mono);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;padding:2px 8px;border-radius:2px;border:1px solid;vertical-align:middle;white-space:nowrap}
.t-doc{color:#9fd3a8;border-color:#4f8a5a;background:rgba(47,93,58,.25)}
.t-tree{color:#a9c4ee;border-color:#4d6fa8;background:rgba(39,74,140,.25)}
.t-trad{color:#e7cf8c;border-color:#a8873a;background:rgba(201,162,74,.14)}
.t-unp{color:#f0a3a3;border-color:#a44;background:rgba(125,22,32,.3)}
.t-gap{color:#bbb;border-color:#666;background:rgba(255,255,255,.05)}
.vellum .t-doc{color:#1f5a2c;background:rgba(47,93,58,.12)} .vellum .t-tree{color:#20417a;background:rgba(39,74,140,.1)}
.vellum .t-trad{color:#6d5316} .vellum .t-unp{color:#7d1620;background:rgba(125,22,32,.08)} .vellum .t-gap{color:#555}
.legend{display:flex;flex-wrap:wrap;gap:14px 26px;font-family:var(--f-mono);font-size:12px;color:#bdb4a4}
.legend div{display:flex;gap:10px;align-items:center}

/* lineage ladder */
.ladder{list-style:none;margin:0;padding:0;position:relative}
.ladder::before{content:"";position:absolute;left:15px;top:6px;bottom:6px;width:1px;background:var(--rule)}
.ladder li{position:relative;padding:0 0 22px 48px}
.ladder li::before{content:"";position:absolute;left:9px;top:8px;width:13px;height:13px;transform:rotate(45deg);background:var(--wall);border:1px solid var(--gold)}
.ladder li.hl::before{background:var(--gold)}
.ladder .who{font-family:var(--f-title);font-size:23px;color:var(--vellum);line-height:1.2}
.ladder .meta{font-family:var(--f-mono);font-size:12.5px;color:#b9ae9a;letter-spacing:.02em;margin-top:3px}
.ladder .note{font-family:var(--f-read);font-size:15.5px;color:#cfc6b6;margin-top:4px}
.gen{font-family:var(--f-mono);font-size:10.5px;color:var(--gold);letter-spacing:.18em;text-transform:uppercase}

/* cards (landing) */
.house{margin:0 0 70px}
.house-head{display:flex;align-items:baseline;gap:18px;flex-wrap:wrap;margin-bottom:26px;border-bottom:1px solid var(--rule);padding-bottom:12px}
.house-head h2{margin:0}
.house-head .rel{font-family:var(--f-mono);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#b3a78f}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:22px}
.card{display:flex;flex-direction:column;text-decoration:none;color:var(--ink);background:var(--vellum);border-radius:3px;overflow:hidden;position:relative;
  box-shadow:0 14px 34px rgba(0,0,0,.45),inset 0 0 60px rgba(120,85,30,.2);transition:transform .25s,box-shadow .25s}
.card:hover{transform:translateY(-5px);box-shadow:0 24px 50px rgba(0,0,0,.6),0 0 0 1px var(--gold),inset 0 0 60px rgba(120,85,30,.2);color:var(--ink)}
.card .crest{height:210px;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 45%,rgba(255,255,255,.55),rgba(228,211,174,.0) 70%);border-bottom:1px solid rgba(90,60,20,.25);padding:18px}
.card .crest img,.card .crest svg{max-height:172px;max-width:80%;width:auto;filter:drop-shadow(0 6px 10px rgba(60,40,10,.35))}
.card .body{padding:18px 20px 20px;flex:1;display:flex;flex-direction:column;gap:6px}
.card .name{font-family:var(--f-title);font-size:26px;line-height:1.05;color:var(--ink)}
.card .sub{font-family:var(--f-read);font-size:15px;color:var(--ink2);line-height:1.45;flex:1}
.card .go{font-family:var(--f-mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--gules);margin-top:8px}
.card .crest-note{position:absolute;top:10px;right:10px;font-family:var(--f-mono);font-size:9.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink2);background:rgba(255,255,255,.4);padding:2px 6px;border-radius:2px}
.roundel{width:150px;height:150px;border-radius:50%;border:2px solid var(--ink2);display:flex;align-items:center;justify-content:center;font-family:var(--f-title);font-size:64px;color:var(--ink2);background:rgba(255,255,255,.25);box-shadow:inset 0 0 0 6px rgba(239,226,196,1),inset 0 0 0 7px rgba(90,74,56,.5)}

/* tree CTA */
.treecta{display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center;padding:44px;border:1px solid var(--gold);background:linear-gradient(135deg,rgba(125,22,32,.35),rgba(29,42,61,.55));border-radius:3px}
.btn{display:inline-block;font-family:var(--f-mono);font-size:13px;letter-spacing:.18em;text-transform:uppercase;padding:16px 26px;background:var(--gold);color:var(--wall);text-decoration:none;border-radius:2px;font-weight:600}
.btn:hover{background:var(--vellum);color:var(--wall)}
.btn.ghost{background:transparent;color:var(--gold2);border:1px solid var(--gold)}
@media (max-width:760px){.treecta{grid-template-columns:1fr}}

/* figures & tables */
figure{margin:0} figcaption{font-family:var(--f-mono);font-size:11.5px;color:#a89d88;margin-top:10px;line-height:1.5}
.vellum figcaption{color:var(--ink2)}
.armsfig{display:grid;grid-template-columns:260px 1fr;gap:34px;align-items:center}
@media (max-width:760px){.armsfig{grid-template-columns:1fr}}
table.facts{width:100%;border-collapse:collapse;font-size:16px;font-family:var(--f-read)}
table.facts th{font-family:var(--f-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);text-align:left;border-bottom:1px solid var(--rule);padding:10px 8px}
table.facts td{border-bottom:1px solid rgba(201,162,74,.14);padding:10px 8px;vertical-align:top;color:#ddd5c6}
.honest{border-left:3px solid var(--gules);padding:18px 24px;background:rgba(125,22,32,.14);font-family:var(--f-read);font-size:16.5px;line-height:1.65;color:#e2d9c9}
.honest b{color:var(--vellum)}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px} @media (max-width:900px){.grid3{grid-template-columns:1fr}}
.portrait img{width:100%;aspect-ratio:4/5;object-fit:cover;border:1px solid var(--rule)}

footer{padding:50px 0 70px;font-family:var(--f-mono);font-size:11.5px;color:#8f8573;line-height:1.7}
footer a{color:#b8a57a}

/* ── splash design system (generated from splash-designs/dist) ── */
:root{
  --ink:#1c1714; --wall:#171513; --wall2:#201d1a; --bone:#ece6da; --dim:#9a9187;
  --crimson:#7d1620; --crimson2:#5a0e16; --gold:#c9a24a; --gold2:#e6c878; --goldd:#8d6a26;
  --vellum:#efe2c4; --vellum2:#e2cfa5; --sepia:#3b2a1d;
  --slate:#2f3a42; --steel:#6d7c86; --nbone:#f1eee8; --mist:#dfe2e1; --hair:rgba(47,58,66,.28);
  --zellij:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23b8893b' stroke-width='.9'%3E%3Crect x='14' y='14' width='20' height='20'/%3E%3Crect x='14' y='14' width='20' height='20' transform='rotate(45 24 24)'/%3E%3Cpath d='M0 0L9.9 9.9M48 0L38.1 9.9M0 48L9.9 38.1M48 48L38.1 38.1M24 0v9.9M24 48v-9.9M0 24h9.9M48 24h-9.9'/%3E%3C/g%3E%3C/svg%3E");
  --zellijn:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%232f3a42' stroke-opacity='.22' stroke-width='.7'%3E%3Crect x='14' y='14' width='20' height='20'/%3E%3Crect x='14' y='14' width='20' height='20' transform='rotate(45 24 24)'/%3E%3C/g%3E%3C/svg%3E");
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .24 0 0 0 0 .12 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
em{font-style:italic}
.ar{font-family:Amiri,serif;font-style:normal;font-size:1.12em}
.mast{max-width:1320px;margin:0 auto;padding:96px 3vw 64px;display:grid;grid-template-columns:1.2fr 1fr;gap:48px;align-items:end;border-bottom:1px solid rgba(236,230,218,.12)}
.mast .eyebrow{font:500 11px/1 "IBM Plex Mono",monospace;letter-spacing:.22em;text-transform:uppercase;color:var(--gold)}
.mast h1{font:400 clamp(44px,6vw,86px)/.95 "Instrument Serif",serif;letter-spacing:-.01em;margin-top:22px}
.mast h1 i{color:var(--gold2)}
.mast p{color:var(--dim);max-width:52ch;font-size:15px}
.mast p b{color:var(--bone);font-weight:500}
.index{max-width:1320px;margin:0 auto;padding:28px 3vw 0;display:flex;flex-wrap:wrap;gap:8px 28px;font:400 12px/1.4 "IBM Plex Mono",monospace;color:var(--dim)}
.index a{text-decoration:none;border-bottom:1px solid transparent}
.index a:hover{color:var(--bone);border-color:var(--gold)}
.index span{color:var(--gold)}
.group{max-width:1320px;margin:0 auto;padding:120px 3vw 0}
.group-h{display:flex;justify-content:space-between;align-items:baseline;gap:24px;padding-bottom:18px;border-bottom:1px solid rgba(236,230,218,.12)}
.group-h h2{font:400 clamp(30px,3.4vw,46px)/1 "Instrument Serif",serif}
.group-h h2 small{font:500 11px/1 "IBM Plex Mono",monospace;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);display:block;margin-bottom:14px}
.group-h p{max-width:46ch;color:var(--dim);font-size:14px}
.plate{display:grid;grid-template-columns:auto 1fr auto;gap:28px;align-items:baseline;padding:0 0 18px}
.plate .no{font:400 44px/1 "Instrument Serif",serif;color:var(--gold)}
.plate h3{font:500 20px/1.2 "Schibsted Grotesk",sans-serif;letter-spacing:-.01em}
.plate h3 em{font:400 italic 22px "Instrument Serif",serif;color:var(--dim);margin-left:8px}
.plate p{color:var(--dim);font-size:13.5px;max-width:78ch;margin-top:6px}
.plate .tag{font:500 10.5px/1 "IBM Plex Mono",monospace;letter-spacing:.18em;text-transform:uppercase;padding:7px 10px;border:1px solid rgba(236,230,218,.2);border-radius:99px;white-space:nowrap}
.plate .tag.pa{color:var(--gold2);border-color:rgba(201,162,74,.45)}
.plate .tag.no2{color:#b9c6cd;border-color:rgba(185,198,205,.4)}
.credit{font:400 11px/1.5 "IBM Plex Mono",monospace;color:#6f675f;padding-top:12px;display:flex;justify-content:space-between;gap:20px}
.frame{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;container-type:inline-size;background:#000;box-shadow:0 50px 90px -40px rgba(0,0,0,.85),0 0 0 1px rgba(236,230,218,.06)}
.frame .bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.crest{display:block;width:100%;height:auto}
.cta{display:inline-flex;align-items:center;gap:1cqw;text-decoration:none;cursor:pointer}
html.js .rv{opacity:0;transform:translateY(1.2cqw);transition:opacity 1.1s cubic-bezier(.2,.7,.2,1),transform 1.1s cubic-bezier(.2,.7,.2,1)}
html.js .in .rv{opacity:1;transform:none}
html.js .in .rv.d1{transition-delay:.15s}
html.js .in .rv.d2{transition-delay:.35s}
html.js .in .rv.d3{transition-delay:.55s}
html.js .in .rv.d4{transition-delay:.75s}
.in .kb{animation:kb 22s cubic-bezier(.2,.6,.3,1) both}
@keyframes kb{from{transform:scale(1.07)}to{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){html.js .rv{opacity:1;transform:none;transition:none}
.in .kb{animation:none}}
.p1{background:var(--crimson2)}
.p1 .panel{position:absolute;left:0;top:0;bottom:0;width:35%;background:
  radial-gradient(120% 70% at 50% 0%,rgba(255,200,120,.10),transparent 60%),
  var(--grain),linear-gradient(180deg,#6d121b,#4a0b12);padding:4.2cqw 3.4cqw 3.6cqw;display:flex;flex-direction:column;align-items:center;text-align:center}
.p1 .panel:before{content:"";position:absolute;inset:1.3cqw;border:.18cqw solid var(--gold);box-shadow:inset 0 0 0 .5cqw rgba(0,0,0,0),inset 0 0 0 .62cqw var(--gold);opacity:.85;pointer-events:none}
.p1 .panel:after{content:"";position:absolute;inset:2.2cqw;border:.08cqw dotted rgba(230,200,120,.7);pointer-events:none}
.p1 .roundel{position:relative;width:12.5cqw;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;
  background:radial-gradient(circle at 35% 30%,#f2d98d,#c9a24a 45%,#8d6a26 100%);box-shadow:0 .6cqw 1.6cqw rgba(0,0,0,.45),inset 0 0 0 .3cqw #f0d88f,inset 0 0 0 .55cqw #7a5a1e}
.p1 .roundel svg{position:absolute;inset:.9cqw}
.p1 .roundel img{width:6.6cqw;filter:drop-shadow(0 .25cqw .35cqw rgba(0,0,0,.45))}
.p1 .rub{font:600 .95cqw/1 "Cormorant SC",serif;letter-spacing:.42em;color:var(--gold2);margin-top:2.2cqw}
.p1 h1{font:600 5.6cqw/.9 "Cormorant SC",serif;letter-spacing:.06em;margin-top:1.1cqw;
  background:linear-gradient(180deg,#f7e3a0 0%,#d8b25c 45%,#9a7428 55%,#e9cc7e 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 .15cqw 0 rgba(0,0,0,.35))}
.p1 .tl{font:italic 400 1.75cqw/1.2 "Cormorant Garamond",serif;color:#f1dcb0;margin-top:1cqw}
.p1 .tl .ar{color:var(--gold2)}
.p1 .rule{width:60%;height:1.2cqw;margin:1.5cqw auto;background:var(--zellij) center/1.2cqw repeat-x;opacity:.9}
.p1 .teaser{font:400 1.18cqw/1.55 "Cormorant Garamond",serif;color:#ead6ae;max-width:24cqw}
.p1 .teaser b{font-weight:600;color:#fff0cc}
.p1 .cta{margin-top:auto;font:600 1.02cqw/1 "Cormorant SC",serif;letter-spacing:.3em;color:#2b0a0d;background:linear-gradient(180deg,#efd688,#c49a42);padding:1.05cqw 2cqw;box-shadow:0 .3cqw .8cqw rgba(0,0,0,.35)}
.p1 .painting{position:absolute;right:1.6cqw;top:1.6cqw;bottom:1.6cqw;left:36.6%;border:.35cqw solid #c9a24a;box-shadow:inset 0 0 0 .2cqw #6e5019,0 0 0 .2cqw #6e5019,0 0 0 .75cqw #b38a3a,0 0 0 .95cqw #5a0e16;overflow:hidden}
.p1 .painting img{width:100%;height:100%;object-fit:cover;object-position:50% 62%}
.p1 .cap{position:absolute;right:3cqw;bottom:2.6cqw;font:italic 400 .95cqw/1.3 "Cormorant Garamond",serif;color:#f5e6c4;background:rgba(40,8,12,.72);padding:.5cqw 1cqw;border-left:.2cqw solid var(--gold)}
.p2{background:#0f0905}
.p2 .wing{position:absolute;inset:-6%;width:112%;height:112%;object-fit:cover;filter:blur(2.4cqw) brightness(.42) saturate(.9);transform:scale(1.05)}
.p2 .book{position:absolute;top:0;bottom:0;left:0;right:0;margin:0 auto;width:56.25%;height:100%;object-fit:cover;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%)}
.p2 .shade{position:absolute;inset:0;background:radial-gradient(60% 75% at 50% 50%,transparent 55%,rgba(8,4,2,.55) 100%);pointer-events:none}
.p2 .side{position:absolute;top:0;bottom:0;width:20.5%;display:flex;flex-direction:column;justify-content:space-between;padding:3.4cqw 2.2cqw;color:#e8d3a6}
.p2 .side.l{left:0;text-align:left}
.p2 .side.r{right:0;text-align:right;align-items:flex-end}
.p2 .side .k{font:600 .86cqw/1.5 "Cormorant SC",serif;letter-spacing:.34em;color:#e2bf72}
.p2 .side .k i{display:block;font:italic 400 1.1cqw/1.3 "IM Fell English",serif;letter-spacing:.02em;color:#cdb68c;margin-top:.7cqw}
.p2 .side .bridge{font:italic 400 1.12cqw/1.45 "Cormorant Garamond",serif;color:#dcc59a}
.p2 .side .bridge b{display:block;font:600 .8cqw/1 "Cormorant SC",serif;letter-spacing:.3em;color:#e2bf72;margin-bottom:.6cqw;font-style:normal}
.p2 .side .bridge .ar{color:#e9c877;font-size:1.5cqw}
.p2 .side p{font:italic 400 1.14cqw/1.5 "Cormorant Garamond",serif;color:#ead8b2}
.p2 .side .cta{margin-top:1.4cqw;font:600 .92cqw/1 "Cormorant SC",serif;letter-spacing:.3em;color:#f3dca0;padding:1cqw 1.5cqw;background:#6e1419;box-shadow:inset 0 0 0 .12cqw #c9a24a}
.p2 .opt{position:absolute;left:50%;bottom:1.4cqw;transform:translateX(-50%);font:500 .74cqw/1 "IBM Plex Mono",monospace;letter-spacing:.2em;text-transform:uppercase;color:#f1dfba;background:rgba(20,10,4,.72);padding:.55cqw .9cqw;border:.06cqw solid rgba(201,162,74,.5)}
.v2set{display:grid;gap:44px;margin-top:6px}
.v2h{display:flex;align-items:baseline;gap:16px;padding:0 0 12px;font:500 11px/1.4 "IBM Plex Mono",monospace;letter-spacing:.16em;text-transform:uppercase;color:var(--gold2)}
.v2h b{font:400 30px/1 "Instrument Serif",serif;letter-spacing:0;text-transform:none;color:var(--gold)}
.v2h span{color:var(--dim);letter-spacing:.04em;text-transform:none;font:400 13px/1.45 "Schibsted Grotesk",sans-serif}
.p3{background:var(--vellum)}
.p3 .col{position:absolute;left:0;top:0;bottom:0;width:41%;background:radial-gradient(90% 60% at 40% 30%,#f6ecd4,transparent 70%),var(--grain),linear-gradient(135deg,#efe0bf,#dcc594);padding:3.4cqw 3.2cqw 3cqw 5.4cqw}
.p3 .col:before{content:"";position:absolute;left:1.6cqw;top:1.6cqw;bottom:1.6cqw;width:2.2cqw;background:var(--zellij) center/2.2cqw repeat-y,#7d1620;box-shadow:0 0 0 .15cqw #c9a24a}
.p3 .col:after{content:"";position:absolute;right:0;top:0;bottom:0;width:.15cqw;background:linear-gradient(#c9a24a,#8d6a26)}
.p3 .row{display:flex;align-items:center;gap:1.6cqw}
.p3 .row img{width:6.4cqw;filter:drop-shadow(0 .2cqw .3cqw rgba(60,30,10,.35))}
.p3 .row .meta{font:600 .9cqw/1.5 "Cormorant SC",serif;letter-spacing:.28em;color:#7d1620}
.p3 .row .meta span{display:block;font:italic 400 1.05cqw/1.3 "Cormorant Garamond",serif;letter-spacing:0;color:#6b4a2a}
.p3 .ar-big{font:400 5.2cqw/1.1 Amiri,serif;color:#7d1620;margin-top:2.6cqw;direction:rtl;text-align:left}
.p3 h1{font:500 6.8cqw/.86 "Cormorant Garamond",serif;color:#2a1a10;letter-spacing:-.01em;margin-top:.4cqw}
.p3 h1 em{font-weight:400;color:#8b6a2c}
.p3 .tl{font:italic 400 1.5cqw/1.3 "Cormorant Garamond",serif;color:#5a3a1e;margin-top:1.2cqw}
.p3 .teaser{font:400 1.2cqw/1.6 "Cormorant Garamond",serif;color:#3e2a19;margin-top:1.6cqw;max-width:29cqw}
.p3 .teaser:first-letter{float:left;font:600 3.6cqw/.8 "Cormorant SC",serif;color:#7d1620;margin:.25cqw .5cqw 0 0}
.p3 .cta{position:absolute;left:5.4cqw;bottom:3cqw;font:600 .98cqw/1 "Cormorant SC",serif;letter-spacing:.3em;color:#7d1620;border-bottom:.12cqw solid #7d1620;padding-bottom:.5cqw}
.p3 .archwrap{position:absolute;left:41%;right:0;top:0;bottom:0;background:#3b1e12 var(--zellij) center/3cqw;}
.p3 .archwrap:after{content:"";position:absolute;inset:0;background:radial-gradient(60% 60% at 50% 55%,transparent 30%,rgba(30,12,6,.65))}
.p3 .arch{position:absolute;left:12%;right:12%;top:6%;bottom:0;clip-path:url(#horseshoe);z-index:1}
.p3 .arch img{width:100%;height:100%;object-fit:cover;object-position:50% 58%}
.p3 .archline{position:absolute;left:12%;right:12%;top:6%;bottom:0;z-index:2;pointer-events:none}
.n1 .bg{object-position:50% 74%;filter:saturate(.18) contrast(.96) brightness(1.03)}
.n1 .wash{position:absolute;inset:0;background:linear-gradient(90deg,rgba(241,238,232,.82) 0%,rgba(241,238,232,.45) 40%,transparent 62%)}
.n1 .txt{position:absolute;left:5.2cqw;top:5cqw;width:50cqw;color:var(--slate)}
.n1 .coord{font:400 .88cqw/1 "IBM Plex Mono",monospace;letter-spacing:.14em;color:var(--steel);text-transform:uppercase;display:flex;gap:1.4cqw;align-items:center}
.n1 .coord:before{content:"";width:3cqw;height:.08cqw;background:var(--steel)}
.n1 h4{font:400 8.6cqw/.84 "Instrument Serif",serif;letter-spacing:-.025em;margin-top:2.6cqw;color:#26313a}
.n1 .tl{font:italic 400 2.1cqw/1.15 "Instrument Serif",serif;color:#4c5a64;margin-top:.9cqw}
.n1 .tl .ar{font-size:1.9cqw;color:#26313a}
.n1 .teaser{font:400 1.08cqw/1.65 "Schibsted Grotesk",sans-serif;color:#3a4650;margin-top:2cqw;max-width:27cqw}
.n1 .cta{margin-top:2.6cqw;font:500 .95cqw/1 "Schibsted Grotesk",sans-serif;letter-spacing:.06em;color:var(--nbone);background:#26313a;padding:1.1cqw 1.8cqw}
.n1 .cta i{font-style:normal;transition:transform .3s}
.n1 .cta:hover i{transform:translateX(.4cqw)}
.n1 .id{display:flex;align-items:center;gap:2.1cqw;margin-top:2.4cqw}
.n1 .id .crest{width:7.6cqw;flex:none;filter:drop-shadow(0 .35cqw .6cqw rgba(38,49,58,.22))}
.n1 .id h4{margin-top:0}
.n1 .foot{position:absolute;left:0;right:0;bottom:0;padding:1.3cqw 4.4cqw 1.3cqw 5.2cqw;display:flex;justify-content:space-between;font:400 .78cqw/1 "IBM Plex Mono",monospace;letter-spacing:.14em;color:#26313a;text-transform:uppercase;background:rgba(241,238,232,.86);border-top:.08cqw solid var(--hair)}
.n2 .bg{object-position:50% 50%}
.n2 .txt{position:absolute;left:47.5cqw;top:50%;transform:translateY(-50%);width:36cqw;color:var(--slate)}
.n2 .bg{filter:saturate(.92)}
.n2 .lab{font:500 .82cqw/1 "IBM Plex Mono",monospace;letter-spacing:.2em;text-transform:uppercase;color:var(--steel)}
.n2 h4{font:400 6.6cqw/.9 "Instrument Serif",serif;letter-spacing:-.02em;color:#26313a;margin-top:1.2cqw}
.n2 h4 em{color:#6d7c86}
.n2 .gloss{display:grid;grid-template-columns:auto 1fr;gap:.4cqw 1.6cqw;margin-top:1.8cqw;font:400 1.02cqw/1.55 "Schibsted Grotesk",sans-serif;color:#3a4650;max-width:31cqw;border-top:.08cqw solid var(--hair);padding-top:1.4cqw}
.n2 .gloss dt{font:400 .82cqw/1.9 "IBM Plex Mono",monospace;color:var(--steel);letter-spacing:.08em}
.n2 .gloss .ar{font-size:1.4cqw;line-height:1.1;color:#26313a}
.n2 .cta{margin-top:2cqw;font:500 .95cqw/1 "Schibsted Grotesk",sans-serif;color:#26313a;border-bottom:.1cqw solid #26313a;padding-bottom:.5cqw}
.n3 .bg{object-position:50% 76%;filter:saturate(.9)}
.n3 .head{position:absolute;left:5.2cqw;top:4.2cqw;display:flex;gap:2.4cqw;align-items:center;color:#26313a}
.n3 .head .crest{width:8.4cqw;flex:none;filter:saturate(1.12) contrast(1.06) drop-shadow(0 .5cqw .9cqw rgba(38,49,58,.28))}
.n3 h4{font:400 6.2cqw/.9 "Instrument Serif",serif;letter-spacing:-.02em}
.n3 .tl{font:400 1.05cqw/1.5 "Schibsted Grotesk",sans-serif;color:#46545e;margin-top:1.1cqw;max-width:30cqw}
.n3 .big{position:absolute;right:4.4cqw;top:3.2cqw;font:400 13cqw/.8 "Instrument Serif",serif;color:rgba(38,49,58,.12);letter-spacing:-.04em}
.n3 .side{position:absolute;right:5cqw;top:14.5cqw;width:25cqw;font:400 1.02cqw/1.65 "Schibsted Grotesk",sans-serif;color:#3a4650;border-left:.08cqw solid var(--hair);padding-left:1.6cqw}
.n3 .side b{font-weight:600;color:#26313a}
.n3 .side .cta{margin-top:1.6cqw;font:500 .92cqw/1 "Schibsted Grotesk",sans-serif;color:#26313a;border-bottom:.1cqw solid #26313a;padding-bottom:.45cqw}
.n3 .line{position:absolute;left:5.2cqw;right:5cqw;top:29cqw;height:.08cqw;background:rgba(38,49,58,.35)}
.n3 .line ol{list-style:none;position:absolute;inset:0;display:flex;justify-content:space-between}
.n3 .line li{position:relative;font:500 .82cqw/1 "IBM Plex Mono",monospace;color:#26313a;letter-spacing:.06em;padding-top:1.1cqw;width:0;white-space:nowrap;display:flex;flex-direction:column;align-items:center}
.n3 .line li:before{content:"";position:absolute;top:-.35cqw;left:-.35cqw;width:.7cqw;height:.7cqw;border-radius:50%;background:#f1eee8;border:.08cqw solid #26313a}
.n3 .line li.on:before{background:#26313a}
.n3 .line li span{font:400 .74cqw/1.3 "Schibsted Grotesk",sans-serif;color:#52606a;letter-spacing:0;margin-top:.45cqw}
.a1{background:radial-gradient(70% 90% at 30% 50%,#f7ecd2 0%,transparent 70%),var(--grain),linear-gradient(135deg,#efe1c1,#dcc594)}
.a1:before{content:"";position:absolute;inset:1.4cqw;border:.12cqw solid rgba(125,22,32,.6);box-shadow:inset 0 0 0 .45cqw rgba(0,0,0,0),inset 0 0 0 .55cqw rgba(201,162,74,.85);pointer-events:none;z-index:2}
.a1 .shield{position:absolute;left:7cqw;top:7%;height:86%;width:auto;filter:drop-shadow(0 1.2cqw 1.6cqw rgba(60,30,10,.35)) drop-shadow(0 .2cqw .3cqw rgba(60,30,10,.3))}
.a1 .txt{position:absolute;left:52cqw;right:5cqw;top:50%;transform:translateY(-50%);color:#2a1a10}
.a1 .k{font:600 .95cqw/1 "Cormorant SC",serif;letter-spacing:.42em;color:#7d1620}
.a1 h4{font:500 5.4cqw/.95 "Cormorant Garamond",serif;margin-top:1.4cqw;color:#2a1a10}
.a1 h4 em{color:#8e1a1d}
.a1 .blz{font:italic 400 1.28cqw/1.5 "Cormorant Garamond",serif;color:#4b3522;margin-top:1.6cqw;padding-left:1.2cqw;border-left:.18cqw solid #c9a24a}
.a1 .src{font:400 .76cqw/1.4 "IBM Plex Mono",monospace;letter-spacing:.06em;color:#7a5a36;margin-top:.8cqw}
.a1 .tk{display:flex;gap:1.6cqw;margin-top:2cqw;font:600 .8cqw/1 "Cormorant SC",serif;letter-spacing:.2em;color:#5a3a1e}
.a1 .tk span{display:flex;align-items:center;gap:.5cqw}
.a1 .tk i{width:1.1cqw;height:1.1cqw;border-radius:50%;box-shadow:inset 0 0 0 .06cqw rgba(0,0,0,.35)}
.a1 .cta{margin-top:2.2cqw;font:600 1cqw/1 "Cormorant SC",serif;letter-spacing:.3em;color:#f3dca0;padding:1.05cqw 1.9cqw;background:#6e1419;box-shadow:inset 0 0 0 .12cqw #c9a24a}
.armsdoc{position:relative;margin-top:56px;color:var(--sepia);background:radial-gradient(80% 50% at 50% 0%,#f6ebcf,transparent 70%),var(--grain),linear-gradient(180deg,#efe1c1,#e4d0a4);padding:88px 7% 72px;box-shadow:0 50px 90px -40px rgba(0,0,0,.85)}
.armsdoc:before{content:"";position:absolute;inset:22px;border:1px solid rgba(125,22,32,.55);box-shadow:inset 0 0 0 6px rgba(201,162,74,.8);pointer-events:none}
.ad-hd{text-align:center;padding-bottom:36px;margin-bottom:48px;border-bottom:1px solid rgba(125,22,32,.35)}
.ad-hd small{font:600 13px/1 "Cormorant SC",serif;letter-spacing:.4em;color:#7d1620}
.ad-hd h2{font:500 clamp(40px,4.6vw,66px)/1 "Cormorant Garamond",serif;color:#2a1a10;margin:16px 0 10px}
.ad-hd h2 em{color:#8e1a1d}
.ad-hd p{font:italic 400 19px/1.5 "Cormorant Garamond",serif;color:#5a3a1e}
.ad-grid{display:grid;grid-template-columns:.9fr 1.25fr;gap:64px;align-items:start}
.ad-fig{position:sticky;top:40px}
.ad-fig img{width:100%;height:auto;display:block;filter:drop-shadow(0 22px 26px rgba(60,30,10,.35))}
.ad-fig figcaption{font:italic 400 15px/1.5 "Cormorant Garamond",serif;color:#5a3a1e;margin-top:22px;border-top:1px solid rgba(201,162,74,.7);padding-top:14px}
.ad-body section{margin-bottom:52px}
.ad-body h3{font:500 32px/1.1 "Cormorant Garamond",serif;color:#2a1a10;display:flex;gap:16px;align-items:baseline;border-bottom:1px solid rgba(201,162,74,.7);padding-bottom:10px;margin-bottom:18px}
.ad-body h3 span{font:600 15px/1 "Cormorant SC",serif;color:#7d1620;letter-spacing:.2em}
.ad-body p{font:400 18px/1.62 "Cormorant Garamond",serif;color:#3b2a1d;margin-bottom:12px}
.ad-body blockquote{font:italic 400 22px/1.5 "IM Fell English",serif;color:#5a1a14;padding:6px 0 6px 22px;border-left:3px solid #c9a24a;margin:4px 0 16px}
.ad-body .en{font-style:italic}
.ad-body .lbl{color:#7d1620}
.ad-body .lbl.doc{color:#2f5b33}
.ad-body .lbl.open{color:#8a5a12}
.tinct{width:100%;border-collapse:collapse;font:400 16px/1.45 "Cormorant Garamond",serif;color:#3b2a1d;margin-bottom:6px}
.tinct th{font:600 11px/1 "Cormorant SC",serif;letter-spacing:.22em;color:#7d1620;text-align:left;padding:0 10px 10px 0;border-bottom:1px solid rgba(125,22,32,.35)}
.tinct td{padding:12px 10px 12px 0;border-bottom:1px solid rgba(125,22,32,.14);vertical-align:top}
.tinct td b{display:block;font:600 15px/1.2 "Cormorant SC",serif;letter-spacing:.06em;color:#2a1a10}
.tinct td span{font-style:italic;color:#6b4a2a}
.tinct .sw{display:block;width:26px;height:30px;border-radius:0 0 13px 13px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.3)}
.els{display:grid;gap:30px}
.el{display:grid;grid-template-columns:150px 1fr;gap:24px;align-items:start}
.el img{width:150px;height:150px;object-fit:cover;display:block;box-shadow:0 0 0 1px rgba(125,22,32,.45),0 0 0 5px rgba(201,162,74,.55),0 12px 20px -8px rgba(60,30,10,.5)}
.el h4{font:500 26px/1.1 "Cormorant Garamond",serif;color:#2a1a10}
.el .bl{font:600 12px/1.4 "Cormorant SC",serif;letter-spacing:.14em;color:#7d1620;margin:6px 0 10px}
.el .lit{font-size:17px}
.el .int{font-size:17px;color:#4b3522}
.el .int .lbl{margin:0 8px 0 0;vertical-align:1px}
.ad-src{font:400 15px/1.55 "Cormorant Garamond",serif;color:#4b3522;border-top:1px solid rgba(125,22,32,.35);padding-top:22px}
.ad-src h5{font:600 12px/1 "Cormorant SC",serif;letter-spacing:.3em;margin-bottom:12px;color:#7d1620}
.ad-src ol{padding-left:18px}
.ad-src li{margin-bottom:4px}
@media (max-width:900px){.ad-grid{grid-template-columns:1fr}
.ad-fig{position:static}
.el{grid-template-columns:96px 1fr}
.el img{width:96px;height:96px}}
.hist{max-width:1320px;margin:0 auto;padding:140px 3vw 0}
.codex{position:relative;margin-top:44px;color:var(--sepia);background:radial-gradient(80% 50% at 50% 0%,#f6ebcf,transparent 70%),radial-gradient(60% 40% at 90% 100%,rgba(140,90,40,.18),transparent 70%),var(--grain),linear-gradient(180deg,#efe1c1,#e4d0a4);padding:88px 7% 72px;box-shadow:0 50px 90px -40px rgba(0,0,0,.85)}
.codex:before{content:"";position:absolute;inset:22px;border:1px solid rgba(125,22,32,.55);outline:5px solid transparent;box-shadow:inset 0 0 0 5px rgba(0,0,0,0),inset 0 0 0 6px rgba(201,162,74,.8);pointer-events:none}
.codex .hd{display:grid;grid-template-columns:auto 1fr auto;gap:36px;align-items:center;padding-bottom:36px;margin-bottom:48px;border-bottom:1px solid rgba(125,22,32,.35)}
.codex .hd img{width:92px;filter:drop-shadow(0 3px 5px rgba(60,30,10,.35))}
.codex .hd h2{font:500 clamp(40px,4.6vw,66px)/.95 "Cormorant Garamond",serif;color:#2a1a10}
.codex .hd h2 small{display:block;font:600 13px/1 "Cormorant SC",serif;letter-spacing:.4em;color:#7d1620;margin-bottom:16px}
.codex .hd .ar{font-size:44px;color:#7d1620}
.codex .chs{display:grid;grid-template-columns:1fr 1fr;gap:56px 72px}
.codex .ch .top{display:flex;align-items:baseline;gap:16px;border-bottom:1px solid rgba(201,162,74,.7);padding-bottom:10px}
.codex .ch .num{font:600 15px/1 "Cormorant SC",serif;color:#7d1620;letter-spacing:.2em}
.codex .ch .yr{font:italic 400 30px/1 "IM Fell English",serif;color:#8b6a2c}
.codex .ch .kick{margin-left:auto;font:600 12px/1 "Cormorant SC",serif;letter-spacing:.24em;color:#7d1620}
.codex .ch h3{font:500 32px/1.05 "Cormorant Garamond",serif;color:#2a1a10;margin:18px 0 12px}
.codex .ch p{font:400 18.5px/1.62 "Cormorant Garamond",serif;color:#3b2a1d;margin-bottom:12px;hyphens:auto}
.codex .dc{float:left;width:98px;height:98px;margin:5px 16px 4px 0;shape-outside:margin-box}
.codex .dc img{width:100%;height:100%;display:block;mix-blend-mode:multiply;filter:drop-shadow(0 1px 1px rgba(60,30,10,.25))}
.codex .legend{font-weight:600}
.lbl{display:inline-block;font:500 10px/1 "IBM Plex Mono",monospace;letter-spacing:.14em;padding:5px 7px;margin-top:4px;border:1px solid currentColor;border-radius:2px}
.codex .lbl{color:#7d1620}
.codex .fn{margin-top:60px;padding-top:24px;display:grid;grid-template-columns:1fr 1fr;gap:36px}
.codex .fn{border-top:1px solid rgba(125,22,32,.35);font:400 15px/1.55 "Cormorant Garamond",serif;color:#4b3522}
.fn h5{font:600 12px/1 "Cormorant SC",serif;letter-spacing:.3em;margin-bottom:12px;color:#7d1620}
.fn ol{padding-left:18px}
.fn li{margin-bottom:4px}
.fn a{text-decoration-thickness:1px;text-underline-offset:3px}
.notes{max-width:1320px;margin:0 auto;padding:110px 3vw 120px;display:grid;grid-template-columns:repeat(3,1fr);gap:40px;color:var(--dim);font-size:13.5px}
.notes h6{font:500 11px/1 "IBM Plex Mono",monospace;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);margin-bottom:14px}
.notes b{color:var(--bone);font-weight:500}
.sentinel{font:400 10px/1 "IBM Plex Mono",monospace;color:#4d4741;text-align:center;padding-bottom:40px}
@media (max-width:900px){.mast, .notes{grid-template-columns:1fr}
.codex .chs, .codex .fn{grid-template-columns:1fr}
.plate{grid-template-columns:auto 1fr}
.plate .tag{display:none}}
/* ── r2 layer ── */
/* R2 layer — Miniature / Retablo / Codex. Loaded after legacy site.css + generated splash CSS. */
body.r2{background:#171513;color:var(--bone)}
body.r2 main{display:block}
/* nav */
.r2nav{position:sticky;top:0;z-index:60;background:rgba(23,21,19,.94);backdrop-filter:blur(6px);
  border-top:5px solid #7d1620;border-bottom:1px solid rgba(201,162,74,.5)}
.r2nav .wrap{display:flex;align-items:center;gap:22px;min-height:58px;flex-wrap:wrap;max-width:1500px}
.r2nav .brand{font:400 19px/1 "IM Fell English SC","Cormorant SC",serif;color:var(--bone);text-decoration:none;letter-spacing:.03em;margin-right:auto;display:flex;align-items:center;gap:12px}
.r2nav .brand span{font:400 22px/1 Amiri,serif;color:var(--gold)}
.r2nav ul{display:flex;flex-wrap:wrap;gap:4px 20px;list-style:none;margin:0;padding:0}
.r2nav a{font:500 11px/1.4 "IBM Plex Mono",monospace;letter-spacing:.16em;text-transform:uppercase;color:#d9cfbc;text-decoration:none;border-bottom:1px solid transparent;padding:4px 0}
.r2nav a:hover,.r2nav a[aria-current]{color:var(--gold2);border-bottom-color:var(--gold)}
.r2nav a.tree{color:#171513;background:var(--gold);padding:6px 12px;border:0}
.r2nav a.tree:hover{background:var(--gold2);color:#171513}
/* hero frames: full-bleed 16:9 up to a comfortable max */
.r2-hero{padding:22px 22px 10px;border:0;background:radial-gradient(ellipse at 50% 0%,rgba(125,22,32,.25),transparent 65%)}
.r2-hero .frame{max-width:1560px;margin:0 auto}
.r2-hero .frame h1{margin:0}
.p1 h1,.p3 h1{letter-spacing:inherit}
.evo-tag{position:absolute;right:3%;bottom:3%;z-index:5;font:500 10px/1 "IBM Plex Mono",monospace;letter-spacing:.14em;text-transform:uppercase;color:#f0e2c0;background:rgba(20,16,12,.72);padding:6px 9px;border:1px solid rgba(201,162,74,.5)}
.p1 .crest.gapshield{width:7.2cqw;height:auto;position:relative;z-index:2}
/* codex + arms doc sections sit on the dark wall with breathing room */
.r2-codex,.r2-arms{padding:56px 22px;border:0}
.r2-codex .codex,.r2-arms .armsdoc{max-width:1360px;margin-left:auto;margin-right:auto}
/* section headings shared */
.r2h{font:400 clamp(30px,3.6vw,50px)/1 "IM Fell English SC","Cormorant SC",serif;color:var(--bone);margin:0 0 30px;letter-spacing:.01em}
.r2h small{display:block;font:500 11px/1 "IBM Plex Mono",monospace;letter-spacing:.24em;text-transform:uppercase;color:var(--gold);margin-bottom:14px}
/* landing: houses */
.r2-houses{padding:80px 0 70px;border:0;background:linear-gradient(180deg,transparent,rgba(125,22,32,.10))}
.r2-houses .wrap,.r2-others .wrap,.r2-folio>.wrap{display:block;height:auto;max-width:1360px}
.hgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.house{position:relative;display:flex;flex-direction:column;text-decoration:none;color:#2a2118;
  background:var(--vellum);background-image:radial-gradient(ellipse at 30% 0%,rgba(255,255,255,.35),transparent 60%),linear-gradient(180deg,#f1e5c8,#e2cfa6);
  padding:26px 24px 22px;box-shadow:0 30px 60px -30px rgba(0,0,0,.8),inset 0 0 0 1px rgba(125,22,32,.25),inset 0 0 0 6px #efe2c4,inset 0 0 0 7px rgba(201,162,74,.7);transition:transform .3s}
.house:hover{transform:translateY(-4px)}
.house:before{content:"";position:absolute;left:0;right:0;top:0;height:6px;background:#7d1620}
.hcrest{height:92px;display:flex;align-items:center;margin:6px 0 14px}
.hcrest img{max-height:92px;max-width:90px;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(0,0,0,.35))}
.hcrest .gapshield{height:92px;width:auto}
.hcrest .gapshield path{stroke:#7d1620}.hcrest .gapshield text{fill:#7d1620}
.hcrest:empty:before{content:"";display:block;width:70px;height:84px;border:2px dashed rgba(125,22,32,.5);border-radius:0 0 40px 40px}
.house .hk{font:500 10.5px/1.3 "IBM Plex Mono",monospace;letter-spacing:.18em;text-transform:uppercase;color:#7d1620}
.house h3{font:400 30px/1.05 "IM Fell English SC",serif;margin:8px 0 10px;color:#2a2118}
.house p{font:400 16.5px/1.5 "Cormorant Garamond",serif;color:#4a3b2a;margin:0 0 18px;flex:1}
.house .go{font:600 13px/1 "Cormorant SC",serif;letter-spacing:.12em;color:#7d1620;border-top:1px solid rgba(125,22,32,.3);padding-top:12px}
.treecta{text-align:center;margin:46px 0 30px}
.cta-solid{display:inline-block;font:600 16px/1 "Cormorant SC",serif;letter-spacing:.14em;color:#171513;background:linear-gradient(180deg,#e7c877,#c9a24a);padding:17px 34px;text-decoration:none;box-shadow:0 0 0 1px #7d1620,0 0 0 4px #171513,0 0 0 5px rgba(201,162,74,.7)}
.cta-solid:hover{background:linear-gradient(180deg,#f1d98f,#d6b05a)}
.legend-wrap{max-width:900px;margin:0 auto}
/* other histories */
.r2-others{padding:70px 0 80px;border-top:1px solid rgba(201,162,74,.3);border-bottom:0}
.olist{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:1px solid rgba(201,162,74,.4)}
.olist li{border-bottom:1px solid rgba(201,162,74,.4);border-right:1px solid rgba(201,162,74,.2)}
.olist a{display:block;padding:24px 22px;text-decoration:none;height:100%}
.olist a:hover{background:rgba(125,22,32,.25)}
.olist b{display:block;font:400 26px/1.1 "IM Fell English SC",serif;color:var(--bone);margin-bottom:8px}
.olist span{font:italic 400 16px/1.4 "Cormorant Garamond",serif;color:#bfb29a}
/* legacy (reviewed 5b1e) content folio */
.r2-folio{padding:10px 0 20px}
.r2-folio.legacy{border-top:1px solid rgba(201,162,74,.3);margin-top:30px;padding-top:60px}
.r2-folio section{padding:56px 0}
/* ── Hamilton Iron Crown article, re-set as a parchment codex ── */
.hx{padding:56px 22px}
.hx .hist{position:relative;max-width:1360px;margin:0 auto;color:#2a2118;padding:72px 7% 64px;border:0;
  background:#efe2c4;background-image:radial-gradient(ellipse at 20% 0%,rgba(255,255,255,.4),transparent 55%),radial-gradient(ellipse at 100% 100%,rgba(120,80,30,.18),transparent 60%),linear-gradient(180deg,#f2e6ca,#e6d4ad);
  box-shadow:0 50px 90px -40px rgba(0,0,0,.85),inset 0 0 0 10px #efe2c4,inset 0 0 0 11px rgba(201,162,74,.8),inset 0 0 0 14px #efe2c4,inset 0 0 0 15px rgba(125,22,32,.45)}
.hx .hist:before{content:"";position:absolute;left:0;right:0;top:0;height:8px;background:#7d1620}
.hx .group-h{display:block;font:500 11px/1.4 "IBM Plex Mono",monospace;letter-spacing:.22em;text-transform:uppercase;color:#7d1620;border-bottom:1px solid rgba(125,22,32,.35);padding-bottom:12px;margin:0 0 26px}
.hx h2{font:400 clamp(34px,4vw,58px)/1 "IM Fell English SC",serif;color:#2a2118;margin:0 0 18px}
.hx h2 small,.hx h2 em{color:#7d1620}
.hx h2 small{display:block;font:500 11px/1 "IBM Plex Mono",monospace;letter-spacing:.22em;text-transform:uppercase;margin-bottom:12px}
.hx p{font:400 18px/1.62 "Cormorant Garamond",serif;color:#3a2d20}
.hx a{color:#7d1620}
.hx .tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:26px 0 44px}
.hx .tier{display:block;white-space:normal;text-transform:none;letter-spacing:0;font-family:inherit;font-size:inherit;border:0;border-radius:0;vertical-align:baseline;min-width:0;background:rgba(255,255,255,.35);padding:16px 18px;border-top:3px solid #c9a24a;box-shadow:inset 0 0 0 1px rgba(125,22,32,.15)}
.hx .tier h4{font:600 19px/1.2 "Cormorant SC",serif;margin:8px 0 6px;color:#2a2118}
.hx .tier p{font-size:15.5px;line-height:1.5;margin:0}
.hx .lb{display:inline-block;font:500 10px/1.3 "IBM Plex Mono",monospace;letter-spacing:.14em;text-transform:uppercase;padding:4px 8px;border:1px solid currentColor;background:rgba(255,255,255,.4)}
.hx .lb.ham{color:#274a8c}.hx .lb.may{color:#2f5d3a}.hx .lb.roy{color:#7d1620}.hx .lb.bas{color:#8a5a12}.hx .lb.gap{color:#6b5a48;border-style:dashed}.hx .lb.pub{color:#5a4a38}
.hx .chs{counter-reset:ch}
.hx .ch{display:grid;grid-template-columns:150px 1fr 300px;gap:34px;padding:34px 0;border-top:1px solid rgba(125,22,32,.25)}
.hx .ch .meta .num{display:block;font:400 44px/1 "IM Fell English SC",serif;color:#7d1620}
.hx .ch .meta .yr{display:block;font:600 18px/1.2 "Cormorant SC",serif;color:#2a2118;margin-top:8px}
.hx .ch .meta .kick{display:block;font:500 10px/1.4 "IBM Plex Mono",monospace;letter-spacing:.14em;text-transform:uppercase;color:#6b5a48;margin-top:8px}
.hx .ch h3{font:400 30px/1.1 "IM Fell English SC",serif;color:#2a2118;margin:0 0 12px}
.hx .ch .body p:first-of-type:first-letter{font:400 3.4em/.8 "IM Fell English SC",serif;float:left;color:#7d1620;margin:.08em .1em 0 0;padding:.06em .08em;border:1px solid rgba(201,162,74,.8);background:rgba(125,22,32,.07)}
.hx .ch .side img{width:100%;height:auto;display:block;box-shadow:0 0 0 1px rgba(201,162,74,.8),0 0 0 5px #efe2c4,0 0 0 6px rgba(125,22,32,.35),0 18px 30px -18px rgba(0,0,0,.6);margin:12px 0 10px}
.hx .ch .figcap,.hx .ch .side div{font:italic 400 14px/1.4 "Cormorant Garamond",serif;color:#5a4a38}
.hx .ch.weak{opacity:.92}.hx .ch.weak h3{color:#5a4a38}
.hx .ch.gapc{background:repeating-linear-gradient(135deg,transparent 0 12px,rgba(125,22,32,.04) 12px 24px)}
.hx .fn{margin-top:50px;padding-top:24px;border-top:2px solid rgba(125,22,32,.35);display:grid;grid-template-columns:1fr 1fr;gap:36px;font:400 15px/1.55 "Cormorant Garamond",serif;color:#3a2d20}
.hx .fn h5{font:500 11px/1 "IBM Plex Mono",monospace;letter-spacing:.2em;text-transform:uppercase;color:#7d1620;margin:0 0 12px}
.hx .fn ol,.hx .fn ul{padding-left:20px;margin:0}
.hx .fn li{margin-bottom:6px}
/* footer */
.r2foot{border-top:5px solid #7d1620;box-shadow:inset 0 1px 0 rgba(201,162,74,.6)}
.r2foot .wrap{display:block;height:auto}
/* ── responsive ── */
@media (max-width:1100px){.hgrid,.olist{grid-template-columns:1fr 1fr}.hx .ch{grid-template-columns:120px 1fr}.hx .ch .side{grid-column:2}.hx .tiers{grid-template-columns:1fr 1fr}}
@media (max-width:760px){
  .r2-hero{padding:0}
  .hgrid,.olist,.hx .tiers,.hx .fn{grid-template-columns:1fr}
  .hx .hist{padding:48px 22px 40px}.hx{padding:28px 10px}
  .hx .ch{grid-template-columns:1fr;gap:12px}.hx .ch .side{grid-column:auto}
  .r2-codex,.r2-arms{padding:28px 10px}
  .r2nav .brand{font-size:16px}
  /* stacked fallback for the 16:9 container-unit frames: keep the look, make text legible */
  .r2-hero .frame{aspect-ratio:auto;container-type:normal;overflow:visible}
  .r2-hero .p1 .panel,.r2-hero .p3 .col{position:relative;width:auto;left:auto;top:auto;bottom:auto;padding:44px 30px 40px}
  .r2-hero .frame{overflow:hidden}
  .r2-hero .p1 .painting{overflow:hidden;position:relative;left:auto;right:auto;top:auto;bottom:auto;aspect-ratio:4/3;margin:0}
  .r2-hero .p1 .cap{position:relative;right:auto;bottom:auto;display:block;font-size:14px;padding:10px 14px;margin:0}
  .r2-hero .p1 .roundel{width:120px}.r2-hero .p1 .roundel img{width:64px}.r2-hero .p1 .crest.gapshield{width:70px}
  .r2-hero .p1 .rub{font-size:11px}.r2-hero .p1 h1{font-size:48px}.r2-hero .p1 .tl{font-size:19px}
  .r2-hero .p1 .teaser{font-size:16.5px}.r2-hero .p1 .cta{font-size:13px;padding:13px 20px}
  .r2-hero .p1 .rule{height:12px}
  .r2-hero .p3 .row img{width:56px}.r2-hero .p3 .row .meta{font-size:11px}.r2-hero .p3 .row .meta span{font-size:13px}
  .r2-hero .p3 .ar-big{font-size:52px}.r2-hero .p3 h1{font-size:64px}.r2-hero .p3 .tl{font-size:19px}
  .r2-hero .p3 .teaser{font-size:16.5px}.r2-hero .p3 .teaser:first-letter{font-size:44px}
  .r2-hero .p3 .cta{position:relative;left:auto;bottom:auto;display:inline-block;margin:0 30px 26px;font-size:14px;padding-bottom:6px}
  .r2-hero .p3 .archwrap{position:relative;left:auto;height:120vw;max-height:620px}
  .r2-hero .p3 .col:before{left:10px;top:10px;bottom:10px;width:14px}
  html.js .r2-hero .rv{transform:none}
}
/* links on parchment must be ink/crimson, never gold */
.codex a,.armsdoc a,.hx a,.house a{color:#7d1620}
.codex .fn a,.armsdoc a{text-decoration:underline;text-decoration-color:rgba(125,22,32,.45)}
.hx .group-h p{font:400 19px/1.55 "Cormorant Garamond",serif;letter-spacing:0;text-transform:none;color:#3a2d20;max-width:760px;margin:8px 0 0}
.hx .group-h h2{text-transform:none}
/* gap shield inside the gilt roundel: crimson on gold, not absolutely positioned like the ring svg */
.p1 .roundel svg.gapshield{position:relative;inset:auto;width:5.4cqw;height:auto;z-index:2}
.p1 .roundel svg.gapshield path{stroke:#7d1620;stroke-width:3.5}
.p1 .roundel svg.gapshield text{fill:#7d1620;font-weight:700}
@media (max-width:760px){.r2-hero .p1 .roundel svg.gapshield{width:64px}}
/* mobile: cqw widths/margins fall back to viewport units once the container is dropped -> reset */
@media (max-width:760px){
  .r2-hero .p1 .teaser,.r2-hero .p3 .teaser{max-width:none;width:auto;margin-left:0;margin-right:0}
  .r2-hero .p1 .rub,.r2-hero .p1 .tl,.r2-hero .p3 .tl{margin-top:12px}
  .r2-hero .p3 .teaser{margin-top:16px}
  .r2-hero .p3 .col{width:auto}
  .r2-hero .p1 .panel{text-align:center}
  .r2nav .wrap{gap:10px;padding-top:8px;padding-bottom:8px}
  .r2nav ul{gap:2px 14px}
}
/* ── R2 round 2 (2026-09-25): WS2 crown chain · WS3 O'Donnell arms ── */
.t-fam{color:#b9e4c9;border-color:#3f8a6a;background:rgba(40,110,80,.22)}
.vellum .t-fam{color:#1d5a3f;background:rgba(40,110,80,.12)}
.crownchain li.joint{border-left:3px dashed #c9a24a;padding-left:14px;margin:18px 0}
.crownchain li.crown .who{color:#e0c27a}
.crownchain .note a,.crownnote a{color:inherit;text-decoration:underline;text-decoration-color:rgba(201,162,74,.6)}
.royalarms{margin:0 0 26px}
.royalarms img{width:100%;max-width:440px;display:block;margin:0 auto;border:1px solid rgba(201,162,74,.5);box-shadow:0 8px 24px rgba(0,0,0,.4)}
.royalarms figcaption{font-size:14.5px;line-height:1.55;margin-top:12px}
.royalarms figcaption a{color:inherit;text-decoration:underline}
.odarms{display:flex;justify-content:center}
.odarms svg.odshield{width:100%;max-width:240px;height:auto;filter:drop-shadow(0 6px 14px rgba(0,0,0,.45))}
.hcrest svg.hsvg{height:92px;width:auto;filter:drop-shadow(0 4px 8px rgba(0,0,0,.35))}
.p1 .roundel svg.svgarms{position:relative;inset:auto;width:5.6cqw;height:auto;z-index:2}
@media (max-width:760px){.r2-hero .p1 .roundel svg.svgarms{width:62px}}
.vellum .small{font-size:13px;opacity:.8}

/* R4 (2026-09-26): the gilt seal/roundel under the arms must stay a perfect circle at every width.
   Legacy site.css `.roundel{height:150px}` was overriding `aspect-ratio`, so width (cqw / 120px) and height (150px)
   scaled independently → oval. Height is now derived from width only; flex/grid parents may not stretch or shrink it. */
.r2-hero .p1 .roundel{height:auto!important;aspect-ratio:1/1;flex:none;align-self:auto;box-sizing:border-box;border-radius:50%;min-height:0;max-height:none}
.r2-hero .p1 .roundel > img,.r2-hero .p1 .roundel > svg.gapshield,.r2-hero .p1 .roundel > svg.svgarms{height:auto;max-height:78%;object-fit:contain}

/* R4 painted heraldry (transparent WebP on parchment): no frames/borders, soft cast shadow so the gilt reads as an object */
img.paintedarms{border:0!important;box-shadow:none!important;background:none!important;filter:drop-shadow(0 6px 12px rgba(40,22,6,.38)) drop-shadow(0 1px 2px rgba(40,22,6,.3))}
.royalarms img.paintedarms{max-width:300px;width:78%;height:auto;margin:0 auto}
.royalarms.tudorarms{margin-bottom:34px}
.royalarms img.msinset{max-width:300px;width:78%;margin:14px auto 0;opacity:.95}
.armsfig img.paintedarms{width:100%;max-width:320px;height:auto;display:block;margin:0 auto}
.odarms img.odshield{width:100%;max-width:260px;height:auto;filter:drop-shadow(0 6px 12px rgba(40,22,6,.38))}
.hcrest img.hsvg{height:92px;width:auto;max-width:90px;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(0,0,0,.35))}
.r2-hero .p1 .roundel img.svgarms{position:relative;inset:auto;z-index:2}
.hx .ch .side img.paintedarms{max-width:260px;margin:14px auto 12px}

/* ── nordic story (from splash-designs) ── */
.n1 h1{font:400 8.6cqw/.84 "Instrument Serif",serif;letter-spacing:-.025em;margin-top:2.6cqw;color:#26313a}
.nord .legend{font-weight:600}
.nord .fn{margin-top:60px;padding-top:24px;display:grid;grid-template-columns:1fr 1fr;gap:36px}
.nord{margin-top:64px;background:var(--nbone);color:#26313a;padding:88px 7% 72px;box-shadow:0 50px 90px -40px rgba(0,0,0,.85)}
.nord .hd{display:grid;grid-template-columns:1fr auto;align-items:end;gap:40px;padding-bottom:40px;border-bottom:1px solid var(--hair)}
.nord .hd h2{font:400 clamp(44px,5.4vw,78px)/.9 "Instrument Serif",serif;letter-spacing:-.02em}
.nord .hd h2 em{color:#6d7c86}
.nord .hd small{display:block;font:500 11px/1 "IBM Plex Mono",monospace;letter-spacing:.2em;text-transform:uppercase;color:#6d7c86;margin-bottom:22px}
.nord .hd .seal{display:flex;gap:16px;align-items:center;font:400 11px/1.5 "IBM Plex Mono",monospace;letter-spacing:.1em;color:#6d7c86;text-transform:uppercase;text-align:right}
.nord .hd .seal img{width:54px}
.nord .ch{display:grid;grid-template-columns:200px 1fr 1.35fr;gap:40px;padding:36px 0;border-bottom:1px solid var(--hair)}
.nord .ch .yr{font:400 38px/1 "Instrument Serif",serif}
.nord .ch .kick{font:500 11px/1.4 "IBM Plex Mono",monospace;letter-spacing:.14em;text-transform:uppercase;color:#6d7c86;margin-top:10px}
.nord .ch h3{font:400 30px/1.1 "Instrument Serif",serif;letter-spacing:-.01em}
.nord .ch p{font:400 15.5px/1.7 "Schibsted Grotesk",sans-serif;color:#3a4650;margin-bottom:12px;max-width:62ch}
.nord .lbl{color:#6d7c86;margin-top:14px}
.nord .fn{font:400 13px/1.6 "Schibsted Grotesk",sans-serif;color:#52606a}
.nord .fn h5{font:500 11px/1 "IBM Plex Mono",monospace;letter-spacing:.2em;color:#26313a;text-transform:uppercase}
@media (max-width:900px){.nord .fn{grid-template-columns:1fr}.nord .ch{grid-template-columns:1fr;gap:12px}}
/* ── home layer ── */
/* alvelda.com home layer — appended after the R2 site.css by build_home.py */

/* nav: one tidy row on desktop; at <=760px a standard hamburger (.hm-burger, driven by NAVJS in build_home.py)
   opens the links as a drop-down panel. Without JS (no html.js) the burger stays hidden and the list wraps. */
.r2nav ul{align-items:center}
.hm-burger{display:none}
@media (max-width:760px){
  .r2nav .brand{min-width:0}
  html:not(.js) .r2nav .wrap{flex-wrap:wrap;row-gap:6px}
  html:not(.js) .r2nav .brand{width:100%}
  html.js .r2nav .wrap{flex-wrap:nowrap;min-height:54px}
  html.js .hm-burger{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;margin:0 -6px 0 0;padding:0;
    background:transparent;border:1px solid rgba(201,162,74,.45);border-radius:2px;color:var(--gold2);cursor:pointer}
  .hm-burger:hover,.r2nav.open .hm-burger{background:rgba(201,162,74,.12);border-color:var(--gold)}
  .hm-burger:focus-visible{outline:2px solid var(--gold2);outline-offset:2px}
  .hm-burger .bars{position:relative;display:block;width:20px;height:14px}
  .hm-burger .bars i{position:absolute;left:0;right:0;height:2px;background:currentColor;transition:transform .2s,opacity .2s,top .2s}
  .hm-burger .bars i:nth-child(1){top:0}
  .hm-burger .bars i:nth-child(2){top:6px}
  .hm-burger .bars i:nth-child(3){top:12px}
  .r2nav.open .hm-burger .bars i:nth-child(1){top:6px;transform:rotate(45deg)}
  .r2nav.open .hm-burger .bars i:nth-child(2){opacity:0}
  .r2nav.open .hm-burger .bars i:nth-child(3){top:6px;transform:rotate(-45deg)}
  html.js .r2nav ul{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:0;
    padding:6px 0 16px;background:rgba(23,21,19,.985);border-bottom:1px solid rgba(201,162,74,.5);box-shadow:0 18px 30px rgba(0,0,0,.45);
    max-height:calc(100vh - 70px);overflow-y:auto;overscroll-behavior:contain}
  html.js .r2nav.open ul{display:flex}
  html.js .r2nav li a{display:block;padding:13px 24px;font-size:12px;border-bottom:0;border-left:3px solid transparent;white-space:nowrap}
  html.js .r2nav li a[aria-current]{border-left-color:var(--gold);background:rgba(201,162,74,.1)}
  html.js .r2nav li a.tree{margin:10px 24px 0;padding:13px 12px;text-align:center;border-left:0}
  html.js .r2nav li a.tree[aria-current]{outline:2px solid var(--bone);outline-offset:-4px}
  @media (prefers-reduced-motion:reduce){.hm-burger .bars i{transition:none}}
}

/* page sequence pager */
.hm-pager{border-top:1px solid rgba(201,162,74,.28);margin-top:56px;padding:26px 0 30px;background:rgba(0,0,0,.18)}
.hm-pager .wrap{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:center;height:auto}
.hm-pager a{text-decoration:none;color:var(--gold2);font:400 22px/1.2 "Cormorant Garamond","IM Fell English",serif}
.hm-pager a small{display:block;font:500 10.5px/1.4 "IBM Plex Mono",monospace;letter-spacing:.18em;text-transform:uppercase;color:#a99c85;margin-bottom:4px}
.hm-pager a:hover{color:#fff}
.hm-pager .next{text-align:right}
.hm-pager .pos{font:500 10.5px/1.4 "IBM Plex Mono",monospace;letter-spacing:.18em;text-transform:uppercase;color:#8d816d;text-align:center}
@media (max-width:760px){
  .hm-pager .wrap{grid-template-columns:1fr 1fr;padding:0 20px}
  .hm-pager .pos{grid-column:1/-1;grid-row:1}
  .hm-pager a{font-size:19px}
}

/* home: contents of the site */
.hm-contents{padding:64px 0 10px}
.hm-contents h2{font:400 34px/1.1 "Cormorant Garamond",serif;color:var(--bone);margin:0 0 22px;text-align:center}
.hm-contents ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.hm-contents a{display:block;height:100%;box-sizing:border-box;padding:18px 18px 20px;border:1px solid rgba(201,162,74,.3);text-decoration:none;color:#d9cfbc;background:rgba(0,0,0,.2)}
.hm-contents a:hover{border-color:var(--gold);background:rgba(201,162,74,.08)}
.hm-contents b{display:block;font:500 11px/1 "IBM Plex Mono",monospace;letter-spacing:.2em;color:var(--gold)}
.hm-contents .t{display:block;font:400 23px/1.15 "Cormorant Garamond",serif;color:var(--bone);margin:8px 0 6px}
.hm-contents .d{display:block;font-size:14.5px;line-height:1.5;color:#b9ad97}
@media (max-width:1100px){.hm-contents ol{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.hm-contents ol{grid-template-columns:1fr}.hm-contents{padding-top:44px}}

.hm-see{text-align:center;margin:40px 0 0}
.hm-see a{font:500 12px/1.4 "IBM Plex Mono",monospace;letter-spacing:.16em;text-transform:uppercase;color:var(--gold2);text-decoration:none;border-bottom:1px solid var(--gold)}

/* arms page head */
.hm-head{padding:54px 0 8px;text-align:center}
.hm-head .kick{font:500 11px/1 "IBM Plex Mono",monospace;letter-spacing:.24em;text-transform:uppercase;color:var(--gold);margin:0 0 12px}
.hm-head h1{font:400 56px/1 "Cormorant Garamond",serif;color:var(--bone);margin:0}
@media (max-width:560px){.hm-head h1{font-size:42px}}

/* ── White Cliffs page: a light page, matching the N1 prototype ── */
body.hm-white{background:var(--nbone);color:var(--slate)}
body.hm-white main{background:var(--nbone)}
body.hm-white .r2-hero.hm-cliffs{background:var(--nbone);padding:22px 22px 0}
.hm-cliffs .n1 .txt h1.n1h{margin-top:0}
body.hm-white footer,body.hm-white .r2foot{background:#e6e2da;color:#4c5a64;border-top:1px solid var(--hair)}
body.hm-white footer a{color:#26313a}
body.hm-white .hm-pager{background:#e9e5dd;border-top-color:var(--hair)}
body.hm-white .hm-pager a{color:#26313a}
body.hm-white .hm-pager a small,body.hm-white .hm-pager .pos{color:#6d7c86}
body.hm-white .hm-pager a:hover{color:#000}

/* timeline band (the N3 "859" timeline, set in the White Cliffs palette) */
.hm-line{padding:46px 0 40px;border-bottom:1px solid var(--hair)}
.hm-line h2{font:400 12px/1.4 "IBM Plex Mono",monospace;letter-spacing:.22em;text-transform:uppercase;color:var(--steel);margin:0 0 26px;text-align:center}
.hm-line ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,1fr);position:relative}
.hm-line ol:before{content:"";position:absolute;left:0;right:0;top:9px;height:1px;background:var(--slate);opacity:.45}
.hm-line li{position:relative;padding:0 10px}
.hm-line li a{display:block;padding-top:30px;text-decoration:none;color:#26313a;font:400 34px/1 "Instrument Serif",serif}
.hm-line li a:before{content:"";position:absolute;top:4px;left:10px;width:9px;height:9px;border-radius:50%;background:var(--nbone);border:1.5px solid var(--slate)}
.hm-line li.on a:before{background:#26313a}
.hm-line li span{display:block;margin-top:10px;font:400 14px/1.45 "Schibsted Grotesk",sans-serif;color:#4c5a64}
.hm-line li a:hover span{color:#000}
.hm-line .note{margin:28px auto 0;max-width:680px;text-align:center;font:italic 400 17px/1.5 "Instrument Serif",serif;color:#5b6974}
.hm-nordwrap{padding:10px 0 0}
.hm-nordwrap .nord{margin:0 auto}
.nord .ch{scroll-margin-top:90px}

@media (max-width:900px){
  .hm-line ol{grid-template-columns:1fr;gap:0;padding-left:8px}
  .hm-line ol:before{left:12px;right:auto;top:6px;bottom:6px;width:1px;height:auto}
  .hm-line li{padding:0 0 18px 34px}
  .hm-line li a{padding-top:0;font-size:28px}
  .hm-line li a:before{top:8px;left:0}
  .hm-line li span{margin-top:4px}
}

/* N1 hero on phones: the prototype is sized in container units for a 16:9 frame; restack it */
@media (max-width:760px){
  body.hm-white .r2-hero.hm-cliffs{padding:0}
  .hm-cliffs .frame.n1{aspect-ratio:auto;container-type:normal;overflow:hidden;display:flex;flex-direction:column;box-shadow:none}
  .hm-cliffs .n1 .bg{position:relative;inset:auto;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;order:2;display:block}
  .hm-cliffs .n1 .wash{display:none}
  .hm-cliffs .n1 .txt{position:relative;left:auto;top:auto;width:auto;padding:34px 24px 28px;order:1;background:var(--nbone)}
  .hm-cliffs .n1 .coord{font-size:10.5px;gap:10px}
  .hm-cliffs .n1 .coord:before{width:26px;height:1px}
  .hm-cliffs .n1 .id{gap:16px;margin-top:18px}
  .hm-cliffs .n1 .id .crest{width:64px}
  .hm-cliffs .n1 h1.n1h{font-size:58px;line-height:.9}
  .hm-cliffs .n1 .tl{font-size:21px;margin-top:10px}
  .hm-cliffs .n1 .tl .ar{font-size:20px}
  .hm-cliffs .n1 .teaser{font-size:16.5px;max-width:none;margin-top:16px}
  .hm-cliffs .n1 .cta{font-size:13px;padding:13px 20px;margin-top:20px;display:inline-block}
  .hm-cliffs .n1 .foot{position:relative;order:3;padding:12px 20px;font-size:10px;flex-wrap:wrap;gap:6px 14px;justify-content:center}
  html.js .hm-cliffs .rv{transform:none}
}

/* the R2 base colours h2/h3/links for the dark pages; on the white page use the N1 slate ink */
body.hm-white .nord h2,body.hm-white .nord h3{color:#26313a}
body.hm-white .nord .hd h2 em{color:#6d7c86}
body.hm-white .nord a{color:#26313a;text-decoration:underline;text-decoration-color:rgba(38,49,58,.35);text-underline-offset:3px}
body.hm-white .nord a:hover{text-decoration-color:#26313a}

/* ── the Josephs page ── */
.hm-jh{margin:0;font-family:inherit;font-size:clamp(2rem,4vw,3rem);line-height:1.1;color:#26313a;font-weight:500}
.hm-jh em{color:#6b4a2b}
.hm-jh small{display:block;font-size:.75rem;letter-spacing:.2em;text-transform:uppercase;color:#5a6670;margin-bottom:.8rem}
.nord .ch > div{min-width:0}
.hm-jfig{margin:1.5rem auto 2rem;max-width:min(420px,100%);min-width:0;text-align:center}
.hm-jfig.wide{max-width:min(760px,100%)}
.hm-jfig img{width:100%;max-width:100%;height:auto;display:block;border:1px solid rgba(38,49,58,.25)}
.hm-jfig figcaption{font-size:.85rem;margin-top:.5rem;line-height:1.45;overflow-wrap:anywhere}
.hm-jfig .cr{display:block;margin-top:.25rem;opacity:.8}
.hm-jpair{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:18px;align-items:start;margin:1.2rem auto 1.8rem;max-width:min(760px,100%);min-width:0}
.hm-jpair .hm-jfig{margin:0;max-width:none}
@media (max-width:700px){
  .hm-jpair{grid-template-columns:minmax(0,1fr);gap:8px}
  .hm-jfig,.hm-jfig.wide,.hm-jpair{max-width:100%}
}
/* small originals (Josephs banquet, 360x480 / 480x360): native size, never upscaled */
.hm-jpair.native{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:18px}
.hm-jpair.native .hm-jfig.native{flex:0 1 auto;max-width:100%}
.hm-jpair.native .hm-jfig.native img{width:100%}
/* R26.5: communion pair full column; banquet enlarged, capped at ~2x native (459x317 / 360x480) */
.hm-jpair.big{max-width:100%;grid-template-columns:minmax(0,1fr);gap:22px;justify-items:center}
.hm-jpair.big .hm-jfig{width:100%}
.hm-jpair.big .hm-jfig:last-child{max-width:min(440px,100%)}
.hm-jban{margin:1.2rem auto 1.8rem;max-width:100%;min-width:0}
.hm-jfig.banq{max-width:100%;margin:0 auto 1.4rem}
.hm-jfig.banq.full{width:min(760px,100%)}
.hm-jfig.banq.detail{width:min(540px,100%)}

/* ── R26.6 Josephs: editorial figures, context views, arms band ── */
.hm-jfig.big{max-width:min(760px,100%)}
.hm-jfig.hero-card{max-width:min(620px,100%)}
.hm-jfig.breakout,.hm-jfig.banq.full.breakout{box-sizing:border-box;width:100%;max-width:100%;position:static;margin-left:0;margin-right:0;transform:none;grid-column:1/-1}
.hm-jfig.banq.closeup{width:min(360px,100%)}
.hm-jfig figcaption{font-style:italic}
.hm-jfig .cr{font-style:normal;font-size:.78rem;letter-spacing:.02em}
.hm-ctx{margin:1.4rem auto 1.8rem;max-width:min(460px,100%);min-width:0;text-align:left}
.hm-ctx img{width:100%;height:auto;display:block;filter:grayscale(.35) sepia(.12);border:0;box-shadow:0 0 0 6px #f3efe6}
.hm-ctx figcaption{font-size:.78rem;line-height:1.45;margin-top:.7rem;padding-left:.7rem;border-left:2px solid #b89f7a;color:#4a5560;overflow-wrap:anywhere}
.hm-ctx .ctxk{display:block;font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;color:#8a6d45;font-weight:600;margin-bottom:.2rem}
.hm-ctx .cr{display:block;margin-top:.3rem;font-size:.7rem;opacity:.85}
.hm-jpair.ctx{grid-template-columns:minmax(0,1fr) minmax(0,1fr);max-width:min(760px,100%)}
.hm-jpair.ctx .hm-ctx{margin:0;max-width:none}
.hm-jpair.even{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.hm-unid{margin:2.5rem 0 1rem;padding-top:1.2rem;border-top:1px solid rgba(38,49,58,.2)}
.hm-unid h4{font-size:.8rem;letter-spacing:.18em;text-transform:uppercase;margin:0 0 .4rem}
.hm-unid .hm-jfig{max-width:none}
@media (max-width:700px){
  .hm-jfig.big,.hm-jfig.breakout,.hm-jfig.banq.full.breakout{width:auto;max-width:none;left:auto;margin-left:-16px;margin-right:-16px;transform:none}
  .hm-jfig.big img,.hm-jfig.breakout img{border-left:0;border-right:0}
  .hm-jfig.big figcaption{padding:0 16px}
  .hm-jpair.ctx,.hm-jpair.even{grid-template-columns:minmax(0,1fr)}
}
.hm-jfig.breakout img{width:100%;height:auto}

/* ── R26.7 Josephs: editorial single measure, hero, breakout figures, lightbox ──
   Everything is scoped to body.hm-jos. Figures are sized against the .nord content box
   (min(…,100%)), never against 100vw, so nothing can push the page wider than the viewport. */
body.hm-jos .nord .ch{display:block;padding:56px 0 48px}
body.hm-jos .nord .ch > div:first-child{max-width:40rem;margin:0 auto;display:flex;align-items:baseline;gap:18px;flex-wrap:wrap}
body.hm-jos .nord .ch > div:first-child .kick{margin-top:0}
body.hm-jos .nord .ch > h3{max-width:40rem;margin:.55rem auto 1.3rem;font-size:clamp(28px,3.2vw,38px)}
body.hm-jos .nord .ch > div:last-child > p{max-width:40rem;margin-left:auto;margin-right:auto}
body.hm-jos .nord .ch > div:last-child > .lbl{display:block;width:fit-content;margin:18px 0 0 max(0px,calc(50% - 20rem))}
/* every photo figure: centred; width follows the image so the caption shares its width;
   tall portraits are capped to ~82% of the viewport height (--ar = width/height), never below 20rem */
body.hm-jos .hm-jfig{--cap:760px;box-sizing:border-box;margin:2.6rem auto 3rem;max-width:none;
  width:min(100%,var(--w,100%),max(20rem,min(var(--cap),calc(82vh * var(--ar,.75)))))}
body.hm-jos .hm-jfig figcaption{text-align:left;max-width:60ch;font-size:.86rem;line-height:1.5}
body.hm-jos .hm-jfig.hero-card{--cap:620px}
body.hm-jos .hm-jfig.wide{--cap:760px}
/* hero: the whole-table banquet scan, full content width, never cropped */
body.hm-jos .hm-jfig.jhero{--cap:1400px;margin:44px auto 8px;width:min(100%,1400px,max(20rem,calc(84vh * var(--ar))))}
body.hm-jos .hm-jfig.jhero img{border:0;box-shadow:0 30px 60px -38px rgba(20,28,34,.55)}
body.hm-jos .hm-jfig.jhero figcaption{max-width:70ch;margin:.8rem 0 0;font-size:.9rem}
/* communion card + portrait: breakout pair, columns in proportion to the two aspect ratios → equal heights */
body.hm-jos .hm-jpair.comm{display:grid;grid-template-columns:minmax(0,1.3175fr) minmax(0,.7535fr);gap:24px;
  width:min(1100px,100%);max-width:none;margin:2.8rem auto 3.2rem;align-items:start;justify-items:stretch}
body.hm-jos .hm-jpair.comm .hm-jfig{width:100%;max-width:none;margin:0}
body.hm-jos .hm-jpair.comm .hm-jfig:last-child{max-width:none}
/* banquet near-corner detail (360×480 original, shown at no more than native size) + the close-up, equal heights */
body.hm-jos .hm-jban{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,.534fr);gap:22px;
  width:min(640px,100%);margin:2.6rem auto 3rem;align-items:start}
body.hm-jos .hm-jban .hm-jfig{width:100%;max-width:none;margin:0}
body.hm-jos .hm-jban .hm-jfig.banq.detail{max-width:360px}
body.hm-jos .hm-jpair:not(.comm){margin:2.6rem auto 3rem}
body.hm-jos .hm-unid{max-width:1100px;margin-left:auto;margin-right:auto}
body.hm-jos .hm-unid h4{max-width:40rem;margin-left:auto;margin-right:auto}
body.hm-jos .hm-unid .hm-jpair{width:min(1100px,100%);max-width:none}
body.hm-jos .hm-unid .hm-jpair .hm-jfig{width:100%;margin:0}
/* click to enlarge */
body.hm-jos a.hm-zoom{display:block;cursor:zoom-in;text-decoration:none;border:0}
body.hm-jos a.hm-zoom img{width:100%;height:auto}
body.hm-jos a.hm-zoom:focus-visible{outline:3px solid #26313a;outline-offset:4px}
@media (max-width:820px){
  body.hm-jos .hm-jpair.comm{grid-template-columns:minmax(0,1fr);gap:28px}
  body.hm-jos .hm-jpair.comm .hm-jfig:last-child{width:min(100%,max(20rem,calc(82vh * var(--ar))));justify-self:center}
}
@media (max-width:700px){
  body.hm-jos .nord .ch{padding:40px 0 34px}
  /* hero bleeds to the screen edges: .nord side padding is 7% of the viewport, i.e. 7/86 of the content box */
  body.hm-jos .hm-jfig.jhero{width:auto;margin:28px calc(-7% / .86) 8px}
  body.hm-jos .hm-jfig.jhero figcaption{padding:0 1.1rem}
  body.hm-jos .hm-jfig.big,body.hm-jos .hm-jfig.breakout{margin-left:auto;margin-right:auto}
  body.hm-jos .hm-jfig.big img{border-left:1px solid rgba(38,49,58,.25);border-right:1px solid rgba(38,49,58,.25)}
  body.hm-jos .hm-jfig.big figcaption{padding:0}
  body.hm-jos .hm-jban{grid-template-columns:minmax(0,1fr);justify-items:center;gap:26px}
  body.hm-jos .hm-jban .hm-jfig.banq.closeup{width:min(100%,max(16rem,calc(82vh * var(--ar))))}
}
/* lightbox (native <dialog>, built by LBJS) */
.hm-lb{box-sizing:border-box;width:100vw;height:100vh;max-width:100vw;max-height:100vh;margin:0;padding:3.2rem 1rem 1rem;border:0;background:rgba(18,23,28,.96);color:#ece7dd}
.hm-lb[open]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.8rem}
.hm-lb::backdrop{background:rgba(18,23,28,.85)}
.hm-lb img{display:block;max-width:100%;max-height:calc(100vh - 10rem);width:auto;height:auto;object-fit:contain;cursor:zoom-out}
.hm-lb .hm-lb-c{max-width:60rem;font:italic 400 .9rem/1.5 "Schibsted Grotesk",sans-serif;text-align:left;max-height:5.5rem;overflow:auto}
.hm-lb .hm-lb-c .cr{display:block;font-style:normal;font-size:.76rem;opacity:.8;margin-top:.2rem}
.hm-lb a{color:#ece7dd;text-decoration:underline;text-underline-offset:3px}
.hm-lb .hm-lb-o{font:500 11px/1 "IBM Plex Mono",monospace;letter-spacing:.14em;text-transform:uppercase}
.hm-lb .hm-lb-x{position:absolute;top:.6rem;right:.8rem;width:44px;height:44px;border:1px solid rgba(236,231,221,.5);border-radius:50%;background:transparent;color:#ece7dd;font-size:26px;line-height:1;cursor:pointer}
.hm-lb .hm-lb-x:focus-visible{outline:3px solid #ece7dd;outline-offset:2px}
html.hm-lb-open{overflow:hidden}

.hm-lb .hm-lb-c b,.hm-lb .hm-lb-c .acr{display:block}.hm-lb .hm-lb-c .acr{font-style:normal;font-size:.76rem;opacity:.8;margin-top:.2rem}  /* R26.8 shield captions in the lightbox */
a.hm-zoom.hm-nofv:focus,a.hm-zoom.hm-nofv:focus-visible,body.hm-jos a.hm-zoom.hm-nofv:focus-visible,.hm-arms a.hm-zoom.hm-nofv:focus-visible{outline:none}

/* ── R27.0 arms band: transparent NBP2 cut-outs, one row, full-bleed band (joseph/ under the hero; holly-tudor/) ──
   The band background is painted with a border-image outset (fill 0//0 100vw): it reaches the screen edges without
   widening the box, so it can never cause horizontal scroll (border-image outset does not create scrollable overflow).
   No frames or borders on the figures; each shield floats with a CSS drop-shadow. Variants: default dark (warm
   charcoal, the nav/footer colour family), .light (bone wall), .slate (the page's slate ink) — R27.0 ships dark. */
.hm-arms.hm-band{--b0:#2c2722;--b1:#1c1a17;--b2:#121110;--ink:#efe6d3;--ink2:#d4cbba;--ink3:#aba18f;--gold:#c9a24a;--lnk:#dcbd6e;
  --sh:drop-shadow(0 18px 14px rgba(0,0,0,.55)) drop-shadow(0 4px 4px rgba(0,0,0,.45));
  --shh:drop-shadow(0 26px 20px rgba(0,0,0,.6)) drop-shadow(0 6px 6px rgba(0,0,0,.45));
  position:relative;box-sizing:border-box;width:auto;max-width:none;left:auto;transform:none;margin:40px 0 10px;padding:50px 0 42px;
  text-align:center;border:0;color:var(--ink2);
  border-image:radial-gradient(ellipse 34% 70% at 50% 42%,var(--b0),var(--b1) 62%,var(--b2)) fill 0//0 100vw}
.hm-arms.hm-band.slate{--b0:#36444f;--b1:#26313a;--b2:#1a2228}
.hm-arms.hm-band.light{--b0:#faf8f3;--b1:#ebe6dc;--b2:#ddd6c9;--ink:#1f2930;--ink2:#3c4851;--ink3:#5f6b74;--gold:#8a6a22;--lnk:#26313a;
  --sh:drop-shadow(0 18px 16px rgba(52,40,26,.32)) drop-shadow(0 3px 4px rgba(52,40,26,.3));
  --shh:drop-shadow(0 26px 22px rgba(52,40,26,.36)) drop-shadow(0 5px 6px rgba(52,40,26,.3))}
.hm-arms.hm-band h4{margin:0 0 30px;font:600 .74rem/1.2 "IBM Plex Mono",monospace;letter-spacing:.26em;text-transform:uppercase;color:var(--gold);opacity:1}
.hm-arms.hm-band .row{display:flex;flex-wrap:nowrap;justify-content:center;align-items:flex-start;gap:28px;margin:0 auto;max-width:1240px}
.hm-arms.hm-band.n3 .row{max-width:820px}
.hm-arms.hm-band .hm-arm{flex:1 1 0;min-width:0;max-width:236px;width:auto;margin:0;border:0;padding:0;background:none}
.hm-arms.hm-band .hm-arm a.hm-zoom{display:block;width:min(210px,100%);margin:0 auto;border:0;background:none;cursor:zoom-in;
  text-decoration:none;outline-offset:6px;transition:transform .25s ease}
.hm-arms.hm-band .hm-arm a.hm-zoom picture{display:block}
.hm-arms.hm-band .hm-arm a.hm-zoom img{display:block;width:100%;height:auto;aspect-ratio:480/549;border:0;border-radius:0;box-shadow:none;
  background:none;filter:var(--sh);transition:filter .25s ease;transform:none}
@media (hover:hover){.hm-arms.hm-band .hm-arm a.hm-zoom:hover{transform:translateY(-4px)}.hm-arms.hm-band .hm-arm a.hm-zoom:hover img{filter:var(--shh)}}
@media (prefers-reduced-motion:reduce){.hm-arms.hm-band .hm-arm a.hm-zoom,.hm-arms.hm-band .hm-arm a.hm-zoom img{transition:none}.hm-arms.hm-band .hm-arm a.hm-zoom:hover{transform:none}}
.hm-arms.hm-band .hm-arm a.hm-zoom:focus-visible{outline:3px solid var(--lnk)}
.hm-arms.hm-band .hm-arm figcaption{margin:16px 0 0;font-size:.76rem;line-height:1.42;color:var(--ink2);opacity:1;overflow-wrap:break-word}
.hm-arms.hm-band .hm-arm figcaption b{display:block;font-size:.92rem;color:var(--ink);margin-bottom:.25rem;letter-spacing:.02em}
.hm-arms.hm-band .acr{display:block;margin-top:.4rem;font-size:.64rem;line-height:1.38;color:var(--ink3);opacity:1}
.hm-arms.hm-band a:not(.hm-zoom){color:var(--lnk);text-decoration:underline;text-decoration-color:currentColor;text-underline-offset:2px}
.hm-arms.hm-band .note{max-width:640px;margin:30px auto 0;font-size:.74rem;line-height:1.5;font-style:italic;color:var(--ink3);opacity:1}
.hm-arms.hm-band .note.ai{margin-top:.45rem;font-size:.7rem}
.hm-arms.hm-band .hm-arms-list{display:none}
.hm-lb img[src*="/arms-"][src$=".webp"]{filter:drop-shadow(0 22px 26px rgba(0,0,0,.6)) drop-shadow(0 4px 6px rgba(0,0,0,.5))}
.hm-lb .hm-lb-c .cap{display:block}
@media (max-width:1100px){.hm-arms.hm-band .row{gap:18px}.hm-arms.hm-band .hm-arm figcaption{font-size:.7rem}.hm-arms.hm-band .hm-arm figcaption b{font-size:.84rem}}
/* phones / narrow tablets: five small shields in one row with a name label; full captions in the list below */
@media (max-width:760px){
  .hm-arms.hm-band{margin:30px 0 6px;padding:32px 0 28px}
  .hm-arms.hm-band h4{margin-bottom:20px;font-size:.66rem;letter-spacing:.2em}
  .hm-arms.hm-band .row{gap:8px}
  .hm-arms.hm-band.n3 .row{gap:18px;max-width:300px}
  .hm-arms.hm-band .hm-arm a.hm-zoom{width:100%;outline-offset:3px}
  .hm-arms.hm-band .hm-arm a.hm-zoom img{--sh:drop-shadow(0 9px 7px rgba(0,0,0,.55)) drop-shadow(0 2px 2px rgba(0,0,0,.45))}
  .hm-arms.hm-band.light .hm-arm a.hm-zoom img{--sh:drop-shadow(0 9px 8px rgba(52,40,26,.32)) drop-shadow(0 2px 2px rgba(52,40,26,.3))}
  .hm-arms.hm-band .hm-arm figcaption{margin-top:9px}
  .hm-arms.hm-band .hm-arm figcaption b{font-size:.66rem;letter-spacing:0;margin:0;white-space:nowrap}
  .hm-arms.hm-band .hm-arm figcaption .cap,.hm-arms.hm-band .hm-arm figcaption .acr{display:none}
  .hm-arms.hm-band .hm-arms-list{display:block;list-style:none;margin:22px auto 0;padding:0;max-width:34rem;text-align:left;font-size:.74rem;line-height:1.45;color:var(--ink2)}
  .hm-arms.hm-band .hm-arms-list li{margin:0 0 .7rem;padding-left:.8rem;border-left:2px solid rgba(201,162,74,.45)}
  .hm-arms.hm-band .hm-arms-list li b{color:var(--ink);margin-right:.2rem}
  .hm-arms.hm-band .hm-arms-list .acr{display:block;margin-top:.15rem;font-size:.66rem}
  .hm-arms.hm-band .note{margin-top:18px;text-align:left;font-size:.7rem}
}

/* R27.1 (2026-10-01): seal treatment (a) for every house-page corner, and cut-out arms on the home house cards.
   Charcoal enamel disc + fine gilt rim; the shield sits on its minimum enclosing circle at 80% of the disc
   (assets are MEC-centred squares), so clearance is ~10% all round. Replaces the R4 gold disc + dotted rings. */
.r2-hero .p1 .roundel.r271seal,.r271seal.r271wc{
  background:radial-gradient(circle at 50% 38%,#3a2a2c 0%,#1d1416 55%,#0e0a0b 100%);
  box-shadow:0 0 0 1.5px #e7c873,0 0 0 3px #6e4f1a,0 0 0 4px rgba(231,200,115,.55),0 6px 18px rgba(0,0,0,.55),
    inset 0 0 0 1px rgba(0,0,0,.6),inset 0 2px 10px rgba(0,0,0,.7);
  border:0;display:grid;place-items:center;border-radius:50%;aspect-ratio:1/1;overflow:visible}
.r2-hero .p1 .roundel.r271seal{width:13.5cqw}
.r2-hero .p1 .roundel.r271seal,.r271seal.r271wc{position:relative}
.r271seal picture{display:block;position:absolute;inset:10%;width:auto;height:auto;line-height:0}
.r2-hero .p1 .roundel.r271seal img.r271arms,.r271seal.r271wc img.r271arms,.n1 .id .r271seal img.crest{
  display:block;width:100%;height:100%;max-height:none;max-width:none;object-fit:contain;position:static;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.7))}
.n1 .id .r271seal.r271wc{width:9.5cqw;flex:none}
@media (max-width:760px){
  .r2-hero .p1 .roundel.r271seal{width:120px}
  .hm-cliffs .n1 .id .r271seal.r271wc{width:80px}
}
.hcrest img.r271arms{height:92px;width:92px;max-width:none;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(0,0,0,.35))}
.hcrest picture{display:block;line-height:0}
.r271cap{font-size:.86em;line-height:1.45;margin:10px auto 0;max-width:34em;text-align:center;opacity:.9}
.r271cap .acr,.armsfig figcaption .acr{display:block;font-size:.9em;opacity:.8;margin-top:3px}
.r271careaga{margin-top:34px}
/* ── R27.2 Joseph timeline moved inside the article, after the arms band and before the first chapter ──
   .nord pads 7% of its own width, so a child's % margin (relative to the .nord content box = 86%) of -7%/.86 bleeds it
   exactly back to the full page width it had above the title, with no 100vw (so no scrollbar-width overflow). The
   .nord h2/a colour + underline rules are reset so the timeline keeps the look it had outside the article. */
body.hm-jos .nord > .hm-line{margin:34px calc(-7% / .86) 0;border-top:0;color:#2f3a42}
body.hm-jos .nord > .hm-line h2{color:var(--steel)}
body.hm-jos .nord > .hm-line li a{color:#26313a;text-decoration:none}

/* ── R27.3 (2026-10-01): Codex Albeldensis page + history folios. Real manuscript photographs, shown whole, never
   upscaled: every figure is capped at the width of its largest web copy (--r273max). ── */
.r273h .p1 .painting.r273paint{aspect-ratio:auto;background:radial-gradient(70% 60% at 50% 40%,#2a231c,#141210 80%);display:flex;align-items:center;justify-content:center;padding:26px 22px}
.r273hero{margin:0;width:100%;max-width:min(var(--r273max),560px);text-align:center}
.r273h .r273hero img{width:auto;max-width:100%;max-height:min(560px,70vh);margin:0 auto}
.r273hero figcaption{text-align:left}
.r273hero img,.r273fig img,.r273hfig img{display:block;width:100%;height:auto;max-width:var(--r273max)}
.r273hero img{box-shadow:0 18px 40px rgba(0,0,0,.55);border:1px solid rgba(201,162,74,.45)}
.r273hero figcaption{color:#d9cfbd;font:400 13.5px/1.45 var(--f-body);margin-top:12px}
.r273hero figcaption .cr,.r273fig figcaption .cr,.r273hfig figcaption .cr{display:block;font:400 11.5px/1.45 "Schibsted Grotesk",sans-serif;opacity:.78;margin-top:5px;overflow-wrap:anywhere}
.r273hero figcaption a,.r273fig figcaption a{color:var(--gold2)}
.r273lab{font:500 10.5px/1 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--gold);margin-right:.35em}
.r273art .chs .ch p{overflow-wrap:break-word}
.r273art .fn ol{padding-left:1.2em}
.r273art .fn li{margin:.25em 0}
.r273gal{padding:30px 22px 20px}
.r273gal .wrap{max-width:var(--maxw);margin:0 auto}
.r273gal .kick{font:500 11px/1 var(--f-mono);letter-spacing:.2em;text-transform:uppercase;color:var(--gold);margin:0 0 10px}
.r273gal h2{font:400 clamp(34px,5vw,54px)/1.02 var(--f-title);color:var(--bone);margin:0 0 14px}
.r273gal h3.r273sub{font:400 clamp(24px,3vw,32px)/1.1 var(--f-title);color:var(--gold2);margin:56px 0 10px;border-top:1px solid var(--rule);padding-top:28px}
.r273intro{font:400 18px/1.55 var(--f-body);color:#d9cfbd;max-width:46rem;margin:0 0 12px}
.r273links{font:400 15px/1.6 var(--f-body);margin:0 0 26px}
.r273links a,.r273intro a{color:var(--gold2);text-underline-offset:3px}
.r273grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:34px 26px;align-items:start}
.r273grid2{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}
.r273fig{margin:0;min-width:0;background:rgba(0,0,0,.22);border:1px solid rgba(201,162,74,.22);padding:12px 12px 14px}
.r273fig a.hm-zoom{display:block;cursor:zoom-in}
.r273fig picture{display:block}
.r273fig figcaption{color:#d9cfbd;font:400 15px/1.45 var(--f-body);margin-top:10px}
.r273fig a.hm-zoom:focus-visible,.r273hero a.hm-zoom:focus-visible,.r273hfig a.hm-zoom:focus-visible{outline:3px solid var(--gold2);outline-offset:3px}
/* /history/: folios inside the parchment chapters */
.r273hfig{margin:20px auto 8px;max-width:min(var(--r273max),100%);min-width:0}
.r273hfig.r273port{max-width:min(var(--r273max),100%,380px)}
.r273hfig img{border:1px solid rgba(59,42,29,.35);box-shadow:0 8px 22px rgba(59,42,29,.22)}
.r273hfig a.hm-zoom{display:block;cursor:zoom-in}
.r273hfig figcaption{font:italic 400 15px/1.45 var(--f-body);color:var(--sepia);margin-top:8px}
.r273hfig figcaption .cr{font-style:normal;color:#5a4a38}
.r273hfig figcaption a{color:var(--gules,#7d1620)}
.r273hfig .r273lab{color:#8d6a26}
.r273go{margin:14px 0 0;font:500 15px/1.4 var(--f-body)}
.r273go a,.r273more{color:#7d1620;font-style:normal}
@media (max-width:760px){
 .r273h .p1 .painting.r273paint{padding:18px 14px}
 .r273gal{padding:24px 16px 10px}
 .r273grid,.r273grid2{grid-template-columns:1fr;gap:26px}
}
