/* California · Spain Chamber of Commerce — site styles
   Brand: see assets/brand and BRAND.md. Colours/typography tokens in :root below. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0}
img{max-width:100%}
[hidden]{display:none!important}
/* Layout: CSCC brand kit v1 on the "Sol" structure — cream ground, square corners, yellow bars as rules, red actions, ink dark bands. Single light look by choice. */
:root{
  --cscc-red:#982224; --cscc-red-dark:#7d1b1d; --cscc-yellow:#E8A92E; --cscc-cream:#FBF9F6;
  --cscc-ink:#1A1A1A; --cscc-sand:#E7E1D8; --cscc-line:#E6E1DA; --muted:#5c564f; --on-dark-muted:#c9c4bc;
  --font-display:'Fraunces', Georgia, serif;
  --font-body:'Instrument Sans', Helvetica, Arial, sans-serif;
  --gutter:clamp(16px,4.5vw,64px); --maxw:1312px; color-scheme:light;
}
*{box-sizing:border-box}
body{background:var(--cscc-cream);color:var(--cscc-ink);font-family:var(--font-body);font-size:16px;line-height:1.6}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
:focus-visible{outline:2px solid var(--cscc-red);outline-offset:3px}
h1,h2,h3{font-family:var(--font-display);font-weight:300;letter-spacing:-0.02em;margin:0;text-wrap:balance;line-height:1.05}
h3{font-weight:400}
p{margin:0}
.wrap{max-width:var(--maxw);margin:0 auto;padding-inline:var(--gutter)}
.eyebrow{font-size:12px;font-weight:600;letter-spacing:.3em;text-transform:uppercase;color:var(--cscc-red)}
.dark .eyebrow,.eyebrow.on-dark{color:var(--cscc-yellow)}
.bar{display:block;width:56px;height:4px;background:var(--cscc-yellow)}
.ph{background:repeating-linear-gradient(135deg,var(--cscc-sand) 0 14px,#efeae2 14px 28px);display:flex;align-items:flex-end;padding:14px;font-size:12px;color:var(--muted);max-width:100%}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 26px;border-radius:0;font-weight:600;font-size:15px;border:1.5px solid transparent;transition:background .15s,color .15s}
.btn-red{background:var(--cscc-red);color:#fff}
.btn-red:hover{background:var(--cscc-red-dark)}
.btn-line{border-color:var(--cscc-ink);color:var(--cscc-ink)}
.btn-line:hover{background:var(--cscc-ink);color:#fff}
.btn-cream{background:var(--cscc-cream);color:var(--cscc-ink)}
.btn-line-w{border-color:#fff;color:#fff}
.btn-line-w:hover{background:#fff;color:var(--cscc-ink)}
.btn-yellow{background:var(--cscc-yellow);color:var(--cscc-ink)}
.link{font-weight:600;color:var(--cscc-red);border-bottom:1.5px solid currentColor;padding-bottom:1px}
.dark .link{color:#fff;border-color:var(--cscc-yellow)}
.proto{background:var(--cscc-ink);color:var(--on-dark-muted);font-size:12px;text-align:center;padding:6px 16px}
.proto b{color:var(--cscc-yellow)}
.dark{background:var(--cscc-ink);color:#fff}

/* logo */
.logo{display:flex;align-items:center;gap:12px;color:var(--cscc-ink)}
.logo svg{width:38px;height:38px;flex-shrink:0}
.logo .wm{display:flex;flex-direction:column;gap:3px}
.logo .name{font-family:var(--font-display);font-weight:400;font-size:23px;letter-spacing:-0.02em;line-height:1;white-space:nowrap}
.logo .desc{display:flex;align-items:center;gap:8px;font-size:8.5px;font-weight:600;letter-spacing:.34em;color:var(--cscc-red);white-space:nowrap}
.logo .desc::before{content:"";width:18px;height:2px;background:var(--cscc-yellow)}
.logo.on-dark{color:#fff}
.logo.on-dark .desc{color:var(--cscc-yellow)}

/* header */
.site-h{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:var(--cscc-cream);border-bottom:1px solid var(--cscc-line)}
.site-h .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:80px}
.nav{display:flex;gap:28px;font-size:14px}
.nav a{padding:6px 0;border-bottom:2px solid transparent}
.nav a:hover{color:var(--cscc-red)}
.nav a.on{border-color:var(--cscc-yellow)}
.h-right{display:flex;align-items:center;gap:14px}
.lang{display:flex;border:1px solid var(--cscc-ink)}
.lang button{border:0;background:transparent;padding:0 10px;font-size:12px;font-weight:600;letter-spacing:.08em;min-height:32px;color:var(--cscc-ink)}
.lang button[aria-pressed="true"]{background:var(--cscc-ink);color:#fff}
.menu-btn{display:none;width:44px;height:44px;border:1px solid var(--cscc-ink);background:transparent;align-items:center;justify-content:center;color:var(--cscc-ink)}
.mnav{border-top:1px solid var(--cscc-line);padding-block:8px 20px}
.mnav a{display:block;padding:14px 0;font-family:var(--font-display);font-size:26px;font-weight:300;border-bottom:1px solid var(--cscc-line)}
@media (max-width:1060px){.nav,.h-right .join{display:none}.menu-btn{display:inline-flex}}
@media (max-width:420px){.logo .name{font-size:19px}.logo svg{width:32px;height:32px}}

/* hero */
.hero .wrap{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(32px,5vw,72px);align-items:center;padding-block:clamp(48px,7vw,96px)}
.hero-copy{display:flex;flex-direction:column;gap:24px}
.hero h1{font-size:clamp(42px,5.6vw,76px);max-width:14ch}
.hero .lead{max-width:46ch}
.hero-media{position:relative;min-width:0}
.hero-media .ph{aspect-ratio:5/4;width:100%}
.hero-media svg{position:absolute;width:clamp(84px,10vw,132px);height:auto;left:clamp(-28px,-2vw,-16px);bottom:clamp(-28px,-2vw,-16px)}
@media (max-width:860px){.hero .wrap{grid-template-columns:1fr}.hero-media svg{left:auto;right:16px}}
.row{display:flex;flex-wrap:wrap;gap:12px}
.page-hero{border-bottom:1px solid var(--cscc-line)}
.page-hero .wrap{padding-block:clamp(56px,8vw,104px);display:flex;flex-direction:column;gap:22px}
.page-hero h1{font-size:clamp(40px,5.6vw,72px);max-width:18ch}
.page-hero p{font-size:clamp(17px,1.5vw,19px);color:var(--muted);max-width:60ch}
.page-hero.center .wrap{align-items:center;text-align:center}

/* tiles */
.tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.tile{padding:clamp(24px,3vw,44px) clamp(18px,2.6vw,36px);display:flex;flex-direction:column;justify-content:space-between;gap:36px;min-height:220px;transition:filter .15s}
.tile:hover{filter:brightness(1.05)}
.tile h3{font-size:clamp(22px,2.2vw,30px)}
.tile p{font-size:14px;margin-top:6px;opacity:.85}
.t-red{background:var(--cscc-red);color:#fff}
.t-yellow{background:var(--cscc-yellow);color:var(--cscc-ink)}
.t-ink{background:var(--cscc-ink);color:#fff}
.t-sand{background:var(--cscc-sand);color:var(--cscc-ink)}
.t-red .eyebrow,.t-ink .eyebrow{color:var(--cscc-yellow)}
.t-yellow .eyebrow,.t-sand .eyebrow{color:var(--cscc-ink)}
@media (max-width:760px){.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.tile{min-height:150px;gap:20px}.tile p{display:none}}

section.block{padding-block:clamp(64px,9vw,120px)}
.split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(32px,6vw,80px);align-items:center}
.split > *{min-width:0}
@media (max-width:860px){.split{grid-template-columns:1fr}}
.h2{font-size:clamp(34px,4.2vw,56px)}
.lead{font-size:clamp(16px,1.4vw,18px);color:var(--muted);max-width:60ch}
.dark .lead{color:var(--on-dark-muted)}
.stack{display:flex;flex-direction:column;gap:22px}
.photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;height:clamp(260px,36vw,500px)}
.photos > div:last-child{display:grid;gap:12px}
.sand{background:var(--cscc-sand)}
.head-row{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:40px}
.head-row .stack{gap:16px}
.fifteen{display:flex;align-items:baseline;gap:14px;border-top:1px solid var(--cscc-line);padding-top:20px}
.fifteen b{font-family:var(--font-display);font-weight:300;font-size:64px;line-height:1;color:var(--cscc-red);font-variant-numeric:tabular-nums}

/* events */
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
@media (max-width:900px){.cards{grid-template-columns:1fr}}
.ev{background:var(--cscc-cream);border:1px solid var(--cscc-line);display:flex;flex-direction:column;text-align:left;padding:0;color:var(--cscc-ink)}
.ev:hover h3{color:var(--cscc-red)}
.ev .ph{height:200px}
.ev-b{padding:24px;display:flex;flex-direction:column;gap:10px}
.ev-b h3{font-size:26px}
.when{font-size:12px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--cscc-red)}
.dark .when{color:var(--cscc-yellow)}
.meta{font-size:14px;color:var(--muted)}
.gala-card{padding:36px;display:flex;flex-direction:column;justify-content:space-between;gap:24px;min-height:340px}
.gala-card h3{font-size:clamp(44px,5vw,64px);font-weight:300}
.gala-card p{color:var(--on-dark-muted)}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}
.chip{border:1px solid var(--cscc-ink);background:transparent;padding:0 16px;min-height:40px;font-weight:600;font-size:13px;color:var(--cscc-ink)}
.chip[aria-pressed="true"]{background:var(--cscc-ink);color:#fff}
.ev-list{display:flex;flex-direction:column;border-top:1px solid var(--cscc-line)}
.ev-row{display:grid;grid-template-columns:120px minmax(0,1fr) 180px 120px;gap:20px;align-items:center;padding:24px 0;border:0;border-bottom:1px solid var(--cscc-line);background:transparent;text-align:left;color:var(--cscc-ink);width:100%}
.ev-row:hover h3{color:var(--cscc-red)}
.ev-row h3{font-size:clamp(22px,2.2vw,28px)}
.tag{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;padding:5px 10px;background:var(--cscc-sand);justify-self:start}
@media (max-width:760px){.ev-row{grid-template-columns:minmax(0,1fr)}.ev-row .hide-s{display:none}}

/* members */
.logos{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:18px 12px;text-align:center;font-family:var(--font-display);font-size:clamp(15px,1.5vw,21px);color:#8a837a}
@media (max-width:760px){.logos{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* membership */
.tiers{display:grid;grid-template-columns:1fr 1fr 1.45fr;gap:24px;padding-block:clamp(48px,6vw,80px)}
@media (max-width:1000px){.tiers{grid-template-columns:1fr}}
.tier{background:#fff;border:1px solid var(--cscc-line);padding:clamp(24px,3vw,40px);display:flex;flex-direction:column;gap:18px}
.tier h3{font-size:32px}
.price{font-family:var(--font-display);font-weight:300;font-size:52px;letter-spacing:-0.02em;font-variant-numeric:tabular-nums;line-height:1}
.price small{font-family:var(--font-body);font-size:15px;color:var(--muted);letter-spacing:0}
.perks{list-style:none;margin:0;padding:18px 0 0;border-top:1px solid var(--cscc-line);display:grid;gap:10px;font-size:15px}
.perks li{display:flex;gap:10px;align-items:baseline}
.perks li::before{content:"";flex-shrink:0;width:10px;height:2px;background:var(--cscc-yellow);transform:translateY(-4px)}
.tier.dark{border-color:var(--cscc-ink)}
.tier.dark .price small,.tier.dark p{color:var(--on-dark-muted)}
.tier.dark .perks{border-color:#3a3a3a;grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:520px){.tier.dark .perks{grid-template-columns:1fr}}
.seg{display:flex;border:1px solid #555}
.seg button{border:0;background:transparent;color:var(--on-dark-muted);padding:0 14px;min-height:40px;font-weight:600;font-size:13px}
.seg button[aria-pressed="true"]{background:var(--cscc-yellow);color:var(--cscc-ink)}
.tier-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.tier .btn{margin-top:auto}

/* misc */
.quote{font-family:var(--font-display);font-weight:300;font-size:clamp(28px,3.2vw,42px);line-height:1.2;letter-spacing:-0.01em}
.prog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
@media (max-width:760px){.prog{grid-template-columns:1fr}}
.prog article{padding:clamp(24px,3vw,44px);display:flex;flex-direction:column;gap:16px;min-height:300px}
.prog h2{font-size:clamp(30px,3vw,42px)}
.prog .btn{align-self:flex-start;margin-top:auto}
.board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
@media (max-width:860px){.board{grid-template-columns:repeat(2,minmax(0,1fr))}}
.board .ph{aspect-ratio:4/5;height:auto}
.news{display:grid;grid-template-columns:2fr 1fr 1fr;gap:24px}
@media (max-width:860px){.news{grid-template-columns:1fr}}
.news a{display:flex;flex-direction:column;gap:10px}
.news a:hover h3{color:var(--cscc-red)}
.news .ph{height:clamp(200px,24vw,320px)}
.news h3{font-size:clamp(24px,2.4vw,32px)}
.objectives{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
@media (max-width:860px){.objectives{grid-template-columns:1fr}}
.objectives div{border-top:1px solid var(--cscc-ink);padding-top:20px;display:flex;flex-direction:column;gap:10px}
.objectives h3{font-size:30px}
.sponsor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
@media (max-width:860px){.sponsor{grid-template-columns:1fr}}
.sponsor div{border:1px solid var(--cscc-line);background:#fff;padding:32px;display:flex;flex-direction:column;gap:12px}
.gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.gallery .ph{aspect-ratio:1;height:auto}
@media (max-width:760px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}

form.f{display:grid;gap:16px}
.f label{display:grid;gap:6px;font-size:13px;font-weight:600}
.f input,.f select,.f textarea{font:inherit;font-weight:400;padding:12px 14px;border:1px solid #bfb7ab;border-radius:0;background:#fff;color:var(--cscc-ink);min-height:48px;width:100%}
.f .two{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media (max-width:520px){.f .two{grid-template-columns:1fr}}
.ok{background:#eef3ec;color:#24502f;border-left:3px solid #24502f;padding:14px 16px;font-weight:600}

.site-f .wrap{padding-block:clamp(56px,7vw,88px) 36px;display:flex;flex-direction:column;gap:48px}
.site-f h2{font-size:clamp(32px,3.8vw,52px);max-width:18ch}
.foot-row{display:flex;justify-content:space-between;gap:32px;flex-wrap:wrap;align-items:flex-end}
.foot-cols{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:32px;border-top:1px solid #3a3a3a;padding-top:40px}
.foot-cols > *{min-width:0}
@media (max-width:760px){.foot-cols{grid-template-columns:1fr}}
.foot-cols ul{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:14px;color:var(--on-dark-muted)}
.foot-cols a:hover{color:#fff}
.foot-meta{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid #3a3a3a;padding-top:22px;font-size:13px;color:var(--on-dark-muted)}
.nl{display:flex;gap:10px;flex-wrap:wrap}
.nl input{font:inherit;padding:0 16px;min-height:48px;border:1px solid #6b6b6b;border-radius:0;background:transparent;color:#fff;width:min(300px,100%)}
.nl input::placeholder{color:#a8a39b}

.overlay{position:fixed;inset:0;background:rgba(26,26,26,.6);z-index:50;display:flex;align-items:center;justify-content:center;padding:16px}
.sheet{background:var(--cscc-cream);max-width:560px;width:100%;max-height:90vh;overflow:auto;padding:clamp(24px,4vw,40px);display:flex;flex-direction:column;gap:18px;border-top:4px solid var(--cscc-yellow)}
.sheet-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.x{border:1px solid var(--cscc-ink);background:transparent;width:44px;height:44px;flex-shrink:0;color:var(--cscc-ink)}
.sheet h2{font-size:clamp(28px,4vw,38px);margin-top:8px}

main > section{animation:fade .35s ease}
@keyframes fade{from{opacity:.5;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){main > section{animation:none}.btn,.tile{transition:none}}

/* content pass additions */
.goals{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 48px;counter-reset:g}
.goals li{display:flex;gap:16px;align-items:baseline;padding:16px 0;border-top:1px solid var(--cscc-line);font-size:16px}
.goals li::before{content:"";flex-shrink:0;width:14px;height:2px;background:var(--cscc-yellow);transform:translateY(-4px)}
@media (max-width:760px){.goals{grid-template-columns:1fr}}
.focus{display:flex;flex-wrap:wrap;gap:8px}
.focus span{border:1px solid var(--cscc-ink);padding:6px 14px;font-size:13px;font-weight:600}
.dark .focus span{border-color:#666}
.svc{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
@media (max-width:900px){.svc{grid-template-columns:1fr}}
.svc article{background:#fff;border:1px solid var(--cscc-line);padding:clamp(24px,3vw,36px);display:flex;flex-direction:column;gap:14px}
.svc h3{font-size:28px}
.off{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--cscc-red)}
.checks{list-style:none;margin:0;padding:0;display:grid;gap:10px;font-size:15px}
.checks li{display:flex;gap:10px;align-items:baseline}
.checks li::before{content:"";flex-shrink:0;width:10px;height:2px;background:var(--cscc-yellow);transform:translateY(-4px)}
.cases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
@media (max-width:760px){.cases{grid-template-columns:1fr}}
.cases article{border-top:1px solid #444;padding-top:24px;display:flex;flex-direction:column;gap:12px}
.cases h3{font-size:clamp(26px,2.6vw,34px)}
.awards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
@media (max-width:860px){.awards{grid-template-columns:1fr}}
.awards div{border-top:1px solid var(--cscc-ink);padding-top:20px;display:flex;flex-direction:column;gap:8px}
.awards h3{font-size:26px}
.past{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 48px}
@media (max-width:760px){.past{grid-template-columns:1fr}}
.past article{padding:22px 0;border-top:1px solid var(--cscc-line);display:flex;flex-direction:column;gap:6px}
.past h3{font-size:22px}
.news-list{display:flex;flex-direction:column;border-top:1px solid var(--cscc-line)}
.news-list a{display:grid;grid-template-columns:150px minmax(0,1fr) 180px;gap:20px;padding:20px 0;border-bottom:1px solid var(--cscc-line);align-items:baseline}
.news-list a:hover h3{color:var(--cscc-red)}
.news-list h3{font-size:22px}
@media (max-width:760px){.news-list a{grid-template-columns:1fr;gap:4px}}
.ev-desc{font-size:15px;color:var(--muted);max-width:62ch}
.board-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 32px}
@media (max-width:900px){.board-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.board-grid{grid-template-columns:1fr}}
.board-grid div{border-top:1px solid var(--cscc-line);padding:20px 0 28px;display:flex;flex-direction:column;gap:6px;min-width:0}
.board-grid strong{font-family:var(--font-display);font-weight:400;font-size:22px;letter-spacing:-0.01em}
.board-grid .role{font-size:11px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--cscc-red)}
.legal{font-size:13px;color:var(--muted);max-width:70ch}
.ext::after{content:" ↗";font-weight:400}

/* fixes: header density, corporate card */
[hidden]{display:none!important}
.btn{white-space:nowrap}
.site-h .wrap{gap:28px}
.nav{gap:24px;margin-left:auto}
.h-right{gap:16px}
.h-right .join{min-height:44px;padding:0 20px;font-size:14px}
@media (max-width:1240px){.nav,.h-right .join{display:none}.menu-btn{display:inline-flex}}
.tier.dark{background:var(--cscc-ink);color:#fff}
.tier.dark h3,.tier.dark .price{color:#fff}
.perks li.lead-in{grid-column:1/-1;font-weight:600;color:var(--cscc-yellow)}
.perks li.lead-in::before{display:none}

/* header v3: compact, one control height (36px) */
.site-h .wrap{min-height:68px;gap:32px}
.logo{gap:10px}
.logo svg{width:34px;height:34px}
.logo .name{font-size:20px}
.logo .desc{font-size:7.5px;gap:6px}
.logo .desc::before{width:14px}
.nav{gap:22px;font-size:14px}
.nav a{padding:4px 0}
.h-right{gap:12px}
.lang button{min-height:36px;padding:0 10px}
.h-right .join{min-height:36px;padding:0 16px;font-size:13px;letter-spacing:.01em}
.menu-btn{width:36px;height:36px}

/* header v4: two rows — brand bar, then navigation sub-header */
.site-h .wrap{min-height:72px}
.site-h > .wrap:first-child{justify-content:space-between}
.subnav{border-top:1px solid var(--cscc-line)}
.subnav .wrap{min-height:0}
.nav{display:flex;margin-left:0;gap:32px;font-size:14px;overflow-x:auto;scrollbar-width:none}
.nav a{padding:12px 0 10px;border-bottom:2px solid transparent;white-space:nowrap}
.h-right .join{display:inline-flex}
.menu-btn{display:none}
@media (max-width:1240px){.nav{display:flex}.h-right .join{display:inline-flex}.menu-btn{display:none}}
@media (max-width:720px){.subnav{display:none}.h-right .join{display:none}.menu-btn{display:inline-flex}}

/* header v5: menu row spans the full width */
.subnav .nav{width:100%;justify-content:space-between;gap:24px}
.subnav .nav a{text-align:center}

/* media pass */
.about-banner{background:var(--cscc-cream);height:clamp(180px,26vw,380px);overflow:hidden}
.about-banner img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 20%;mix-blend-mode:multiply}
.about-hero .wrap{padding-top:clamp(8px,2vw,24px)}
.affil{background:#fff;border:1px solid var(--cscc-line);padding:clamp(24px,3vw,40px);display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.affil img{width:111px;height:auto;flex-shrink:0}

/* media pass 2 */
img.photo{display:block;width:100%;height:100%;object-fit:cover;max-width:100%}
.hero-photo{aspect-ratio:5/4;height:auto}
.photos > img.photo{height:100%;min-height:0}
.photos > div:last-child{grid-template-rows:1fr 1fr;min-height:0}
.photos > div:last-child img{min-height:0}
.case-photo{margin:0;display:flex;flex-direction:column;gap:10px}
.case-photo img{aspect-ratio:4/3;height:auto}
.case-photo figcaption{font-size:13px;color:var(--muted)}
.dark .case-photo figcaption{color:var(--on-dark-muted)}
.ev .ev-b{padding:28px;gap:12px}
.ev .ev-b .bar{width:40px;height:3px}
.news a .bar{width:40px;height:3px}
.avatar{width:96px;height:96px;border-radius:50%;object-fit:cover;margin-bottom:10px;background:var(--cscc-sand);display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-size:30px;color:var(--cscc-red)}
.ev .ev-b{flex:1}
.news-photo{aspect-ratio:4/3;height:auto;object-position:50% 25%}
.news a:first-child .news-photo{aspect-ratio:auto;height:clamp(240px,26vw,360px)}
.news a:not(:first-child) .news-photo{height:clamp(240px,26vw,360px);aspect-ratio:auto}
.board-grid .avatar{filter:grayscale(1) contrast(1.05)}

/* article pages */
.post-head{padding-block:clamp(40px,6vw,72px) clamp(24px,3vw,40px);display:flex;flex-direction:column;gap:18px}
.post-head h1{max-width:20ch}
.post-head h1{font-size:clamp(40px,5.4vw,72px)}
.post-role{font-size:clamp(17px,1.6vw,20px);color:var(--muted);max-width:60ch}
.back{font-size:14px;font-weight:600;color:var(--cscc-red);align-self:flex-start}
.post-figure{margin:0 0 clamp(32px,4vw,56px);max-width:520px}
.post-figure.wide{max-width:none}
.post-figure img{aspect-ratio:4/3;height:auto;object-position:50% 25%}
.post-figure.wide img{aspect-ratio:21/9}
.post-body{max-width:68ch;display:flex;flex-direction:column;gap:20px;font-size:18px;line-height:1.7}
.post-body h2{font-family:var(--font-display);font-weight:400;font-size:clamp(22px,2.2vw,27px);line-height:1.25;letter-spacing:-0.01em;margin-top:20px;padding-top:24px;border-top:1px solid var(--cscc-line)}
.post-lead{font-family:var(--font-display);font-weight:300;font-size:clamp(21px,2vw,25px);line-height:1.45;color:var(--cscc-ink)}
.post-body .checks{font-size:17px}
.post-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-block:12px}
.post-gallery img{aspect-ratio:3/2;height:auto}
.post-byline{font-size:14px;color:var(--muted);border-top:1px solid var(--cscc-line);padding-top:20px;margin-top:12px}
.more-news{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:860px){.more-news{grid-template-columns:1fr}}
/* small phones: keep the header inside the gutter */
@media (max-width:480px){
  .site-h .wrap{gap:12px}
  .h-right{gap:8px}
  .lang button{padding:0 8px;font-size:11px}
  .logo{gap:8px}
  .logo svg{width:30px;height:30px}
  .logo .name{font-size:18px}
  .logo .desc{font-size:6.5px;letter-spacing:.28em}
}
/* mobile menu: stacked list, never wider than the screen */
.site-h .mnav{display:block;min-height:0;padding-block:4px 24px}
.site-h .mnav a{display:block;padding:14px 0;font-size:22px;border-bottom:1px solid var(--cscc-line)}
.site-h .mnav a.btn{display:flex;width:100%;margin-top:20px;border-bottom:0;padding:0 20px}
