/* levantinecenter.org — The Register
   Palette (each member has one job):
     --ground   sand    #E8E2D3  page ground
     --ink      ink     #1A1710  all text, dark bands, map ground
     --accent   murex   #5A2A82  accent + whole section grounds (saturated, hue ~285)
     --second   ochre   #8A6A12  secondary: numerals, plate chips, register figures (saturated, hue ~45)
     --panel    bone    #F2EEE4  panels and figure mats inside the sand
*/
:root{
  --ground:#E8E2D3;
  --ink:#1A1710;
  --accent:#5A2A82;
  --accent-lift:#7B45A8;
  --accent-pale:#D9B9F2;
  --second:#8A6A12;
  --second-lift:#C9A53A;
  --panel:#F2EEE4;
  --rule:#D5CDB9;
  --rule-soft:#DED6C4;
  --muted:#6A6454;
  --quiet:#8A8271;
  --serif:"Literata",Georgia,"Times New Roman",serif;
  --sans:"Familjen Grotesk","Helvetica Neue",Arial,sans-serif;
  --pad:clamp(18px,5vw,64px);
  --measure:70ch;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--ground);color:var(--ink);
  font-family:var(--sans);font-size:17px;line-height:1.6;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img{max-width:100%;display:block;height:auto}
a{color:var(--accent);text-decoration:none}
a:hover{color:var(--second);text-decoration:underline;text-underline-offset:3px}
h1,h2,h3,h4{font-family:var(--serif);font-weight:600;letter-spacing:-0.022em;margin:0;text-wrap:pretty}
p{margin:0 0 1.1em}
::selection{background:var(--accent);color:var(--panel)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.wrap{max-width:1280px;margin:0 auto;padding-inline:var(--pad)}
.wrap--narrow{max-width:960px;margin:0 auto;padding-inline:var(--pad)}
.skip{position:absolute;left:-9999px}
.skip:focus{left:12px;top:12px;background:var(--ink);color:var(--panel);padding:8px 12px;z-index:9}

/* ---------- shared furniture ---------- */
.kicker{
  font-size:12px;font-weight:700;letter-spacing:.17em;text-transform:uppercase;
  color:var(--accent);display:flex;align-items:center;gap:9px;margin:0 0 14px;
}
.kicker--ochre{color:var(--second)}
.kicker--pale{color:var(--accent-pale)}
.kicker .ico{flex:0 0 auto}
.ico{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ico--sm{width:17px;height:17px;stroke-width:1.8}
.ico--lg{width:38px;height:38px;stroke-width:1.3}
.num{font-family:var(--serif);font-variant-numeric:tabular-nums;color:var(--second);font-weight:600}
.letterstrip{display:flex;justify-content:space-between;align-items:center;gap:6px;color:var(--accent);padding:2px 0}
.letterstrip svg{flex:0 0 auto;width:clamp(14px,1.5vw,22px);height:auto;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round}
.letterstrip--ochre{color:var(--second)}
.hairline{border:0;border-top:1px solid var(--rule);margin:0}

/* ---------- masthead ---------- */
.masthead{background:var(--ground)}
.masthead__top{display:flex;align-items:center;gap:clamp(14px,3vw,34px);flex-wrap:wrap;padding:22px 0 18px}
.mark{color:var(--accent);flex:0 0 auto}
.mark svg{display:block;width:clamp(46px,6vw,72px);height:auto;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round}
.wordmark{flex:1 1 340px;min-width:0;text-decoration:none;color:inherit;display:block}
.wordmark:hover{text-decoration:none;color:inherit}
.wordmark b{display:block;font-family:var(--serif);font-weight:600;font-size:clamp(32px,4.6vw,58px);line-height:.95;letter-spacing:-0.035em}
.wordmark span{display:block;margin-top:7px;font-size:12px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--accent)}
.masthead__sig{flex:0 1 30ch;font-family:var(--serif);font-size:14.5px;line-height:1.45;color:var(--muted);border-left:1px solid var(--ink);padding-left:16px}
.sections{border-top:1px solid var(--rule);border-bottom:2px solid var(--ink);display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 18px;padding:13px 0 14px}
.sections a{display:flex;align-items:center;gap:8px;font-size:11.5px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--ink)}
.sections .ico--sm{width:20px;height:20px;stroke-width:1.5}
.sections a:hover{color:var(--accent);text-decoration:none}
.sections a[aria-current="page"]{color:var(--accent);box-shadow:inset 0 -2px 0 var(--accent)}
.sections .sections__all{color:var(--second)}
/* printed index — no hover, no dropdown, no overlay */

/* ---------- bands ---------- */
.band{padding:clamp(38px,6vw,72px) 0}
.band--tight{padding:clamp(26px,3.5vw,40px) 0}
.band--rule{border-top:1px solid var(--ink)}
.band--panel{background:var(--panel);border-top:1px solid var(--ink);border-bottom:1px solid var(--ink)}
.band--accent{background:var(--accent);color:#F1E8F8}
.band--accent h2,.band--accent h3{color:#fff}
.band--accent a{color:var(--accent-pale)}
.band--ink{background:var(--ink);color:#DDD5C4}
.band--ink h2,.band--ink h3{color:var(--panel)}
.band--ink a{color:var(--second-lift)}
.band__head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:26px}
.band__head h2{font-size:clamp(26px,3.2vw,40px);line-height:1.05}
.more{font-size:12.5px;font-weight:700;letter-spacing:.15em;text-transform:uppercase}

/* ---------- lead ---------- */
.lead-entry{display:grid;grid-template-columns:minmax(0,1fr);gap:30px}
@media(min-width:900px){.lead-entry{grid-template-columns:minmax(0,1.02fr) minmax(0,1.2fr);gap:clamp(30px,4vw,56px);align-items:start}}
.lead-entry h2{font-size:clamp(30px,4.5vw,56px);line-height:1.02}
.lead-entry .standfirst{font-family:var(--serif);font-size:clamp(17px,1.5vw,20px);line-height:1.5;color:#332E23;margin:16px 0 18px}
.entry-no{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.entry-no .num{font-size:15px}
.entry-no em{font-style:normal;font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);display:flex;align-items:center;gap:8px}
.locus{font-family:var(--serif);font-size:14px;font-variant-numeric:tabular-nums;color:var(--accent);letter-spacing:.01em}

/* ---------- figure system (one drawing system, four treatments) ---------- */
figure{margin:0}
figcaption{font-family:var(--sans)}
.cap{font-size:15.5px;line-height:1.45;color:var(--ink);max-width:62ch}
.credit{display:block;margin-top:7px;font-size:11.5px;line-height:1.4;letter-spacing:.09em;text-transform:uppercase;color:var(--quiet)}
.band--accent .credit,.band--ink .credit{color:rgba(255,255,255,.55)}
.band--accent .cap{color:#EEE3F7}
.band--ink .cap{color:#DDD5C4}
.plate{position:relative}
.plate__chip{
  position:absolute;top:0;left:0;background:var(--second);color:var(--panel);
  font-family:var(--sans);font-size:11px;font-weight:700;letter-spacing:.14em;padding:4px 9px;
}
/* A · plate: bone mat + hairline + chip */
.fig-plate{background:var(--panel);border:1px solid var(--rule);padding:16px}
.fig-plate img{width:100%;aspect-ratio:16/10;object-fit:cover}
.fig-plate figcaption{margin-top:13px;border-top:1px solid var(--rule);padding-top:11px}
/* B · bleed: breaks the measure, chip in the corner */
.fig-bleed{margin:34px 0}
.fig-bleed .plate{background:var(--ink)}
.fig-bleed img{width:100%;aspect-ratio:16/9;object-fit:cover}
.fig-bleed figcaption{margin-top:13px;padding-left:14px;border-left:3px solid var(--accent)}
/* C · inset: sits in the column, prose beside it */
.fig-inset{border:1px solid var(--rule);padding:10px;background:var(--panel);margin:6px 0 18px}
.fig-inset img{width:100%;aspect-ratio:1/1;object-fit:cover}
.fig-inset figcaption{margin-top:10px}
.fig-inset .cap{font-size:14px}
@media(min-width:760px){
  .fig-inset{float:right;width:min(300px,42%);margin:4px 0 18px 28px}
}
/* D · tint: mat in a palette colour, used on coloured grounds */
.fig-tint{background:var(--accent);padding:16px}
.fig-tint img{width:100%;aspect-ratio:3/2;object-fit:cover}
.fig-tint figcaption{margin-top:13px}
.fig-tint .cap{color:#EEE3F7}
.fig-tint .credit{color:rgba(255,255,255,.55)}
.fig-tint--ochre{background:var(--second)}
.article-figure{background:var(--panel);border:1px solid var(--rule);padding:16px;margin:30px 0}
.article-figure img{width:100%;aspect-ratio:16/10;object-fit:cover}
.article-figure figcaption{margin-top:13px;border-top:1px solid var(--rule);padding-top:11px}
.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin:30px 0}
.gallery figure{background:var(--panel);border:1px solid var(--rule);padding:10px}
.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover}
.gallery figcaption{margin-top:9px}
.gallery .cap{font-size:14px}

/* ---------- register table ---------- */
.register{width:100%;border-collapse:collapse;font-size:15.5px}
.register caption{text-align:left;font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--quiet);padding-bottom:9px}
.register th{
  text-align:left;font-family:var(--sans);font-size:11px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--quiet);border-bottom:2px solid var(--ink);padding:0 14px 8px 0;
}
.register td{border-bottom:1px solid var(--rule);padding:13px 14px 13px 0;vertical-align:top}
.register tr:last-child td{border-bottom:2px solid var(--ink)}
.register td:last-child,.register th:last-child{padding-right:0}
.register .r-no{width:52px;white-space:nowrap}
.register .r-name{font-family:var(--serif);font-size:18.5px;font-weight:600}
.register .r-name a{color:var(--ink)}
.register .r-name a:hover{color:var(--accent)}
.register .r-note{display:block;font-size:14px;color:var(--muted);margin-top:2px}
.register .r-pos{font-family:var(--serif);font-variant-numeric:tabular-nums;font-size:14.5px;color:var(--accent);white-space:nowrap}
.register--sm td{padding:10px 12px 10px 0}
@media(max-width:720px){
  .register,.register tbody,.register tr,.register td{display:block;width:100%}
  .register thead{display:none}
  .register tr{border-bottom:1px solid var(--rule);padding:12px 0}
  .register tr:last-child{border-bottom:2px solid var(--ink)}
  .register td{border:0;padding:0 0 4px}
  .register .r-no{display:inline-block;width:auto;margin-right:10px}
  .register .r-name{display:inline}
}

/* ---------- map ---------- */
.map-figure{margin:0}
.map-frame{background:#14110D;border:1px solid var(--ink);overflow:hidden}
.map-frame rect{fill:#14110D}
.map-frame svg{display:block;width:100%;height:auto}
.map-land{fill:#3D3225;stroke:#6E5B41;stroke-width:2}
.map-pin{fill:none;stroke:var(--second-lift);stroke-width:5}
.map-pin--on{stroke:var(--accent-pale);stroke-width:7}
.map-dot{fill:var(--second-lift)}
.map-dot--on{fill:#fff}
.map-label{font-family:var(--sans);font-size:30px;font-weight:600;fill:#F2EEE4;letter-spacing:.01em;paint-order:stroke;stroke:#171310;stroke-width:5px;stroke-linejoin:round}
.map-label--on{fill:#fff;font-size:34px;stroke-width:6px}
.map-figure figcaption{margin-top:11px}
.map-slot{min-height:220px;border:1px dashed var(--rule)}

/* ---------- cards (even height) ---------- */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:clamp(22px,3vw,38px)}
.card{display:flex;flex-direction:column;height:100%}
.card__img{position:relative;background:var(--panel);border:1px solid var(--rule);padding:12px}
.card__img img{width:100%;aspect-ratio:3/2;object-fit:cover}
.card h3{font-size:23px;line-height:1.14;margin:14px 0 8px;min-height:2.28em}
.card h3 a{color:var(--ink)}
.card h3 a:hover{color:var(--accent)}
.card p{font-size:15.5px;line-height:1.5;color:#403A2D;margin:0}
.card .card__foot{margin-top:auto;padding-top:12px}
.pill{
  display:inline-flex;align-items:center;gap:7px;font-size:11.5px;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;color:var(--accent);
}

/* ---------- article ---------- */
.article{padding:clamp(30px,4.5vw,54px) 0 0}
.article__head{max-width:none}
.article h1{font-size:clamp(34px,5.6vw,74px);line-height:1.0;max-width:26ch}
.article__head .locus{display:block;margin-top:16px}
.lead{
  font-family:var(--serif);font-size:clamp(19px,2vw,26px);line-height:1.42;
  color:#332E23;max-width:52ch;margin:18px 0 0;
}
.prose{max-width:var(--measure);font-size:18.5px;line-height:1.68;color:#241F18}
.prose::after{content:"";display:block;clear:both}
.prose h2{font-size:clamp(24px,2.4vw,31px);line-height:1.16;margin:38px 0 14px}
.prose h3{font-size:21px;line-height:1.2;margin:28px 0 10px}
.prose > :first-child{margin-top:0}
.prose a{text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px;text-decoration-color:var(--rule)}
.prose a:hover{text-decoration-color:currentColor}
.prose em{font-style:italic}
.dropcap{float:left;font-family:var(--serif);font-size:62px;line-height:.78;margin:6px 12px 0 0;color:var(--accent);font-weight:600}
.wide{max-width:1080px}

/* article furniture */
.pullquote{margin:34px 0;padding:0;border-top:2px solid var(--ink);border-bottom:2px solid var(--ink)}
.pullquote p{font-family:var(--serif);font-size:clamp(20px,2.2vw,29px);line-height:1.3;margin:0;padding:24px 0;max-width:40ch}
.blockquote{margin:30px 0;padding:0 0 0 20px;border-left:3px solid var(--accent)}
.blockquote p{font-family:var(--serif);font-size:19px;line-height:1.45;margin:0 0 8px}
.blockquote cite{font-style:normal;font-size:13.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--quiet)}
.callout{background:var(--panel);border:1px solid var(--ink);padding:22px 24px;margin:30px 0}
.callout p{margin:0;font-size:17px;line-height:1.55}
.note{font-size:15.5px;line-height:1.5;color:var(--muted);border-left:2px solid var(--second);padding-left:14px;margin:24px 0}

/* notes-for-design panels, set into the flow */
.panel{margin:34px 0;background:var(--panel);border-top:2px solid var(--ink);border-bottom:1px solid var(--rule);padding:20px 22px 22px}
.panel--wide{max-width:1080px}
.panel__label{font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--second);margin:0 0 14px;display:flex;align-items:center;gap:9px}
.panel--dark{background:var(--ink);border-top-color:var(--second);border-bottom:0;color:#DDD5C4}
.panel--dark .panel__label{color:var(--second-lift)}
.panel--dark .timeline .t-what{color:#DDD5C4}
.panel--dark .datatable td{border-color:#39322A;color:#DDD5C4}
.panel--dark .datatable th{color:#9A9280;border-color:#5A4F3E}
.timeline{list-style:none;margin:0;padding:0}
.timeline li{display:grid;grid-template-columns:minmax(0,1fr);gap:2px 20px;padding:11px 0;border-bottom:1px solid var(--rule-soft)}
.timeline li:last-child{border-bottom:0;padding-bottom:0}
.panel--dark .timeline li{border-color:#39322A}
@media(min-width:620px){.timeline li{grid-template-columns:minmax(140px,26%) minmax(0,1fr)}}
.t-when{font-family:var(--serif);font-size:15px;font-weight:600;color:var(--accent);font-variant-numeric:tabular-nums}
.panel--dark .t-when{color:var(--accent-pale)}
.t-what{font-size:15.5px;line-height:1.5;color:#332E23}
.datatable{width:100%;border-collapse:collapse;font-size:15.5px}
.datatable th{text-align:left;font-family:var(--sans);font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--quiet);border-bottom:2px solid var(--ink);padding:0 16px 8px 0}
.datatable td{border-bottom:1px solid var(--rule-soft);padding:10px 16px 10px 0;vertical-align:top;line-height:1.45}
.datatable td:first-child{font-family:var(--serif);font-weight:600;width:34%}
.datatable tr:last-child td{border-bottom:0}
.versus{width:100%;border-collapse:collapse;font-size:15.5px}
.versus th{text-align:left;font-family:var(--sans);font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--quiet);border-bottom:2px solid var(--ink);padding:0 16px 8px 0}
.versus td{border-bottom:1px solid var(--rule-soft);padding:11px 16px 11px 0;vertical-align:top;line-height:1.45}
.versus td:first-child{font-family:var(--serif);font-weight:600}
.statrow{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1px;background:var(--rule);border:1px solid var(--rule)}
.statblock{background:var(--panel);padding:16px 18px;display:flex;flex-direction:column;gap:6px}
.panel--dark .statblock{background:var(--ink)}
.stat-num{font-family:var(--serif);font-size:clamp(24px,2.6vw,34px);line-height:1;font-weight:600;color:var(--accent);font-variant-numeric:tabular-nums}
.panel--dark .stat-num{color:var(--accent-pale)}
.stat-label{font-size:13.5px;line-height:1.4;color:var(--muted)}
.panel--dark .stat-label{color:#9A9280}
.termlist{list-style:none;margin:0;padding:0}
.termlist li{padding:10px 0;border-bottom:1px solid var(--rule-soft);font-size:15.5px;line-height:1.5}
.termlist li:last-child{border-bottom:0}
.termlist b{font-family:var(--serif);display:block;font-weight:600}
.panel--dark .termlist li{border-color:#39322A}
.chart{margin:30px 0}
.chart svg{width:100%;height:auto;display:block}
.chart .bar-rect{fill:var(--accent)}
.chart .bar-rect--alt{fill:var(--second)}
.chart .bar-label{font-family:var(--sans);font-size:11px;fill:var(--ink)}
.chart .bar-val{font-family:var(--serif);font-size:11px;fill:var(--muted)}
.chart figcaption{margin-top:11px}

/* profiles / orgs / references */
.profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin:30px 0}
.profile-card{background:var(--panel);border:1px solid var(--rule);padding:18px;display:flex;flex-direction:column;gap:8px;height:100%}
.profile-card .p-photo{width:100%;aspect-ratio:1/1;object-fit:cover;margin-bottom:6px}
.profile-card h3{font-size:20px;line-height:1.15}
.profile-card .p-role{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--second);margin:0}
.profile-card p{font-size:15px;line-height:1.5;margin:0;color:#403A2D}
.profile-card .p-links{margin-top:auto;padding-top:8px;font-size:14px}
.profile-card.no-photo{border-top:3px solid var(--accent)}
.org-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:14px;margin:26px 0}
.org-card{display:flex;flex-direction:column;gap:4px;background:var(--panel);border:1px solid var(--rule);padding:14px 16px;color:var(--ink)}
.org-card:hover{border-color:var(--accent);text-decoration:none}
.org-card .org-logo{height:34px;width:auto;max-width:100%;object-fit:contain;margin-bottom:6px}
.org-card .org-name{font-family:var(--serif);font-weight:600;font-size:17px;line-height:1.2}
.org-card .org-host{font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--quiet)}
.entity-ref{white-space:nowrap}
.further-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:0;border-top:2px solid var(--ink)}
.further-grid a{
  font-family:var(--serif);font-size:19px;line-height:1.2;font-weight:600;color:var(--ink);
  padding:15px 18px 15px 0;border-bottom:1px solid var(--rule);
}
.further-grid a:hover{color:var(--accent);text-decoration:none}
.related-links{list-style:none;margin:0;padding:0;border-top:2px solid var(--ink)}
.related-links li{border-bottom:1px solid var(--rule)}
.related-links a{display:block;padding:14px 0;font-family:var(--serif);font-size:19px;font-weight:600;color:var(--ink)}
.related-links a:hover{color:var(--accent);text-decoration:none}
.related-links span{display:block;font-family:var(--sans);font-size:14px;font-weight:400;color:var(--muted);margin-top:3px}

/* category page */
.cat-list{list-style:none;margin:0;padding:0;border-top:2px solid var(--ink)}
.cat-list li{border-bottom:1px solid var(--rule);display:grid;grid-template-columns:minmax(0,1fr);gap:2px 24px;padding:16px 0}
@media(min-width:800px){.cat-list li{grid-template-columns:56px minmax(0,1.05fr) minmax(0,1.35fr);align-items:baseline}}
.cat-list a{font-family:var(--serif);font-size:21px;font-weight:600;color:var(--ink);line-height:1.18}
.cat-list a:hover{color:var(--accent)}
.cat-list p{margin:0;font-size:15.5px;line-height:1.5;color:#403A2D}
.section-hero{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:end}
@media(min-width:900px){.section-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(28px,4vw,52px)}}
.section-hero h1{font-size:clamp(44px,7vw,86px);line-height:.92}
.section-hero .blurb{font-family:var(--serif);font-size:clamp(17px,1.6vw,21px);line-height:1.45;margin:16px 0 0;max-width:34ch;color:#332E23}

/* two-column collapse helper */
.split{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(26px,3.5vw,48px)}
@media(min-width:900px){.split{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start}}
.split--map{grid-template-columns:minmax(0,1fr)}
@media(min-width:980px){.split--map{grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:clamp(30px,3.5vw,48px)}}
.trio{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:clamp(22px,3vw,36px)}
.trio > div{border-top:1px solid currentColor;padding-top:14px}
.band--accent .trio > div{border-color:var(--accent-lift)}
.trio h3{font-size:21px;line-height:1.18;margin:0 0 8px}
.trio p{font-size:15.5px;line-height:1.52;margin:0}
.quietline{font-family:var(--serif);font-size:clamp(19px,2.3vw,30px);line-height:1.32;max-width:44ch;margin:24px 0 0}

/* ---------- supporters ---------- */
.supporters{border-top:1px solid var(--ink);background:var(--ground);padding:30px 0 34px}
.supporters__label{font-size:11px;font-weight:700;letter-spacing:.17em;text-transform:uppercase;color:var(--second);margin:0 0 6px;display:flex;align-items:center;gap:9px}
.supporters__note{font-size:14.5px;color:var(--muted);margin:0 0 20px;max-width:62ch}
.sponsor-group{margin-top:18px}
.sponsor-group h3{font-family:var(--sans);font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--quiet);margin:0 0 10px}
@media(max-width:1020px){}
@media(max-width:660px){}
@media(max-width:1000px){}
@media(max-width:700px){}
.sponsor-row{display:flex;flex-wrap:wrap;gap:12px}
.sponsor{flex:1 1 0;min-width:132px;height:62px;background:var(--ink);display:flex;align-items:center;justify-content:center;padding:9px 14px}
.sponsor:hover{outline:1px solid var(--second);text-decoration:none}
.sponsor img{max-height:44px;max-width:100%;width:auto;height:auto;object-fit:contain}
@media(max-width:460px){
  }

/* ---------- footer ---------- */
.foot{background:#100E0A;color:#9A9280;border-top:3px solid var(--second)}
.foot__brand{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:24px 0 14px;border-bottom:1px solid #2A241B}
.foot__brand svg{width:32px;height:32px;flex:0 0 auto;stroke:var(--second-lift);fill:none;stroke-width:2.6;stroke-linecap:round}
.foot__brand b{font-family:var(--serif);font-weight:600;font-size:23px;letter-spacing:-.025em;color:var(--panel)}
.foot__brand span{font-size:10.5px;letter-spacing:.2em;text-transform:uppercase;color:#6F6858;margin-left:auto}
.foot__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:30px 0 22px}
.foot h2{font-family:var(--sans);font-size:10.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#7C7463;margin:0 0 9px}
.foot a{color:#DDD5C4;font-size:14px}
.foot .letterstrip{opacity:.7;padding:8px 0}
.foot a:hover{color:var(--second-lift)}
.foot ul{list-style:none;margin:0;padding:0}
.foot li{margin:0 0 6px}
.foot__base{border-top:1px solid #39322A;padding:18px 0 30px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:12px;letter-spacing:.1em;text-transform:uppercase}
.foot__base p{margin:0}

/* additions */
.sponsor.feat{box-shadow:inset 0 2px 0 var(--second)}
.p-attr{font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--quiet);margin:0}
.org-card.no-logo{border-left:3px solid var(--second)}
.chart.line .line-path{fill:none;stroke:var(--accent);stroke-width:2.5}
.chart.line .line-dot{fill:var(--second)}
.chart.line .axis{stroke:var(--rule);stroke-width:1}
.chart.donut .donut-track{fill:none;stroke:var(--rule);stroke-width:18}
.chart.donut .donut-arc{fill:none;stroke:var(--accent);stroke-width:18;stroke-linecap:butt}
.chart.donut .donut-arc--alt{stroke:var(--second)}
.chart.donut text{font-family:var(--serif);fill:var(--ink)}
.sg-block{border-top:2px solid var(--ink);padding:26px 0 6px;margin-top:30px}
.sg-block > h2{font-size:24px;margin:0 0 6px}
.sg-note{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--quiet);margin:0 0 18px}
.sg-360{width:360px;max-width:100%;border:1px dashed var(--accent);padding:12px;margin:20px 0;overflow:hidden}

/* purple band: the plate fills its column so neither side leaves bare ground */
.band--accent .split{align-items:stretch}
.band--accent .split > div:last-child{display:flex}
.band--accent .fig-tint{display:flex;flex-direction:column;flex:1 1 auto;min-width:0}
.band--accent .fig-tint .plate{flex:1 1 auto;min-height:260px;display:flex}
.band--accent .fig-tint img{height:100%;width:100%;aspect-ratio:auto;object-fit:cover}

/* footer: sections only, entries live in the header index */
.foot__sections{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 18px}
.foot__sections a{display:flex;align-items:baseline;gap:7px;font-family:var(--serif);font-weight:600;font-size:15px;color:#DDD5C4}
.foot__sections a .num{font-size:12px;color:var(--second-lift)}
.foot__meta{display:flex;flex-wrap:wrap;gap:8px 22px;align-items:baseline}


/* header nav: one row, spread; wraps only when it truly must */
@media(min-width:900px){.sections{gap:8px 14px}.sections a{min-width:0}}
@media(min-width:1060px){.sections{flex-wrap:nowrap}.sections a{white-space:nowrap}}

@media(max-width:760px){.sponsor{min-width:44%}}
@media(max-width:430px){.sponsor{min-width:100%}}

/* figures in running text: hard data reads as data */
.fig{font-family:var(--serif);font-variant-numeric:tabular-nums;font-weight:600;color:var(--accent);letter-spacing:.005em;white-space:nowrap}
.band--accent .fig,.band--ink .fig{color:var(--second-lift)}
.prose--open > p:first-of-type{font-size:19.5px;line-height:1.62}
/* paired insertions: deliberate two-up instead of a stacked run */
.pair{display:grid;grid-template-columns:minmax(0,1fr);gap:26px;align-items:start;margin:34px 0}
@media(min-width:900px){.pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px}}
.pair > *{margin-top:0;margin-bottom:0}
.pair .fig-bleed{margin:0}
.pair .panel{margin:0}
.pair .map-figure{margin:0}
.pair > div[style*="max-width:520px"]{max-width:100%!important}


@media(min-width:900px){
  .pair--n3 > :nth-child(3),.pair--n4 > :nth-child(3):last-child{grid-column:1 / -1}
  .pair--n3 > :nth-child(3) .fig-bleed img,.pair--n3 > :nth-child(3) img{aspect-ratio:21/9}
}
.pair > * > img,.pair img{width:100%}
.pair .datatable td:first-child,.pair .versus td:first-child{width:42%}

/* ---------- mobile hardening ---------- */
@media(max-width:700px){
  /* comparison tables stack into labelled blocks */
  .versus,.versus tbody,.versus tr,.versus td{display:block;width:100%}
  .versus thead{display:none}
  .versus tr{border-bottom:1px solid var(--rule-soft);padding:10px 0}
  .versus tr:last-child{border-bottom:0}
  .versus td{border:0;padding:0 0 4px}
  .versus td:first-child{font-size:17px}
  .datatable,.datatable tbody,.datatable tr,.datatable td{display:block;width:100%}
  .datatable thead{display:none}
  .datatable tr{border-bottom:1px solid var(--rule-soft);padding:10px 0}
  .datatable tr:last-child{border-bottom:0}
  .datatable td{border:0;padding:0 0 3px}
  .datatable td:first-child{width:auto;font-size:17px}
  .pair .datatable td:first-child,.pair .versus td:first-child{width:auto}
  .prose{font-size:17.5px}
  .article h1{font-size:clamp(28px,8vw,40px)}
  .dropcap{font-size:52px}
  .panel{padding:16px 16px 18px}
  .statrow{grid-template-columns:minmax(0,1fr)}
  .foot__sections{justify-content:flex-start}
  .sections{justify-content:flex-start}
}
@media(max-width:480px){
  .fig-plate,.article-figure{padding:10px}
  .fig-tint{padding:10px}
  .card__img{padding:8px}
  .gallery{grid-template-columns:minmax(0,1fr)}
  .profile-grid,.org-grid,.further-grid{grid-template-columns:minmax(0,1fr)}
  .timeline li{grid-template-columns:minmax(0,1fr)}
}
/* long tokens (coordinates, URLs, species names) must never push the page wide */
.prose,.cap,.t-what,.stat-label,.register td,.datatable td,.versus td{overflow-wrap:break-word}
.fig{white-space:nowrap}

/* styleguide only: a long list in balanced columns */
.col-list{list-style:none;margin:0;padding:0;columns:220px 3;column-gap:34px}
.col-list li{margin:0 0 5px;font-size:14.5px;break-inside:avoid}

/* the full-coast map is portrait geometry: cap it so it never dominates a band */
.split--map .map-figure{max-width:420px}
.split--map .map-frame{max-height:560px;display:flex}
.split--map .map-frame svg{max-height:560px;width:auto;margin:0 auto}

/* sp-mark-align: marks sit CENTRED in their box. Placement only — Design's size,
   padding, panel and object-fit are untouched. */
.sponsor img,.sponsor-box img,.sp-logo img{object-position:center!important;margin-left:auto!important;margin-right:auto!important;display:block}
.sponsor .sp-logo,.sponsor-box{display:flex;align-items:center;justify-content:center}

/* sp-tile-uniform: a slot never grows to fill its row — every tile the same width in
   every row, whatever the count. Only flex-grow is touched. */
.sponsor{flex-grow:0!important}
.sponsor.lead-line,.sponsor.feat.lead-line{flex-grow:1!important}

/* sp-blurb-unhide: every supporter slot shows its text — no half-texted grids */
.sponsor-blurb:not(:empty){display:block!important;line-height:1.5}

/* sp-blurb-link: money-link anchors in blurbs must inherit the blurb colour (readable on dark OR light tiles) */
.sponsor-blurb a{color:inherit;text-decoration:underline;text-underline-offset:2px}

/* sp-domain-override: per-domain, from work/css_override.css */
/* levantinecenter.org: the supporter grid was laid out in FIXED PIXEL columns and never stretched, so on a
   real desktop the tiles hugged the left and left ~800px of dead space to the right.
   Measured at 2000px: five tiles held at a fixed width against a full-bleed section.
   Fix: fractional columns so the row fills whatever width it is given. Design's tile styling,
   ordering and tier structure are untouched — only the track sizing. */
.sponsor-row,.sponsor-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  align-items:stretch!important;
  width:100%!important;
}
.sponsor-row,.sponsor-grid > *{ min-width:0!important; width:auto!important; }

/* sp-mark-frame: a uniform plate for the money mark, in the tiers where Design sized the plate
   to the artwork instead. Operator's rule: the dark ground is unified whatever the logo's
   size. width:100% (or one fixed width where copy shares the row) + one height for the tier
   + object-fit:contain, so the plate is the same box everywhere and the artwork fits inside
   it. A ground and an inset are added ONLY where none exists — adding a second ground gives
   co-cure's rectangle-inside-a-rectangle. Design's framed tiers are not touched at all. */
.sponsor-row .sponsor.sponsor img{height:41px!important;display:block!important;width:100%!important}

/* op-odd-tier-lead: .sponsor-row (5 tiles), .sponsor-row (5 tiles) lay out two per row with an ODD tile count, so the
   block ended on a lone tile beside an empty cell. The lead tile takes the whole row instead —
   operator: "the 1st item in such rows to be 100% width, then split" — so the grid reads as
   complete. These tiers were already two-per-row, which is why the column pass never wrote the
   rule for them. Checked before writing: no new horizontal overflow, block not more than 15%
   taller. Phone widths only; desktop keeps Design's layout. */
@media (max-width:640px){
  .sponsor-row:has(> *:nth-child(odd):last-child) > *:first-child{grid-column:1 / -1!important}
  .sponsor-row:has(> *:nth-child(odd):last-child) > *:first-child{grid-column:1 / -1!important}
}

/* op-page-overflow: the page scrolled sideways at 320 — svg reached
   332px in a 320px screen (+32px), inside
   div.letterstrip. Remedy: let the row wrap. Structural only, no spacing value of mine;
   tried in order and this is the first that held, with the page's visible copy unchanged.
   Phone widths only — desktop is re-measured after writing and must not move. */
@media (max-width:360px){
  div.letterstrip{flex-wrap:wrap!important}
  svg{min-width:0!important;max-width:100%!important}
}
/* op-heading-levels */
h1:where(.rt-h2){font-family: var(--serif); font-weight: 600; letter-spacing: -0.022em; margin: 0px; text-wrap: pretty;}
.lead-entry h1:where(.rt-h2){font-size: clamp(30px, 4.5vw, 56px); line-height: 1.02;}
/* op-heading-levels:end */
