@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');
:root{
  --brand:#291459;
  --brand-dark:#1d0e3f;
  --brand-2:#3a1d73;
  --gold:#f6c858;
  --gold-deep:#cea136;
  --paper:#faf7ff;
  --paper-2:#f3eefc;
  --card:#ffffff;
  --ink:#221a31;
  --muted:#645b73;
  --line:#e7ddf3;
  --shadow:0 18px 48px rgba(31,13,63,.09);
  --radius:22px;
  --display:'Playfair Display', Georgia, serif;
  --sans:'Manrope', Arial, sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.7 var(--sans);-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
h1,h2,h3,h4,p{margin:0 0 1rem}
h1,h2,h3,h4{line-height:1.12;color:var(--ink)}
.wrap{width:min(1180px,calc(100% - 40px));margin:auto}
.skip{position:absolute;left:-9999px;top:10px;background:#fff;padding:10px 14px;border-radius:8px;z-index:99}
.skip:focus{left:10px}
.kicker{display:block;font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;font-weight:800;color:#9a7420;margin-bottom:14px}
.topbar{background:var(--brand-dark);color:#dcd4eb;font-size:.84rem}
.topbar-inner{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.topbar a{color:#f8d97f;font-weight:700}
.site-header{background:var(--brand);border-bottom:1px solid rgba(255,255,255,.1);position:sticky;top:0;z-index:40}
.head-inner{display:flex;align-items:center;gap:24px;min-height:96px}
.brand{display:flex;align-items:center;min-width:0;max-width:260px}
.brand-logo{width:220px;height:auto;display:block}
.nav{margin-left:auto;display:flex;align-items:center;gap:26px}
.nav a{font-weight:700;font-size:.98rem;color:#ece7f6;opacity:.9}
.nav a:hover,.nav a.nav-active{color:var(--gold)}
.head-cta,.button{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:14px 22px;border-radius:14px;font-weight:800;transition:.2s transform,.2s background,.2s color,.2s border-color;border:1px solid transparent}
.head-cta{margin-left:10px;background:transparent;border-color:rgba(246,200,88,.7);color:#fff}
.head-cta:hover,.button:hover{transform:translateY(-1px)}
.menu-toggle{display:none;background:transparent;border:1px solid rgba(255,255,255,.2);border-radius:12px;padding:10px;margin-left:auto}
.menu-toggle span{display:block;width:22px;height:2px;background:var(--gold);margin:4px 0}
.button.gold{background:var(--gold);color:var(--brand-dark)}
.button.gold:hover{background:#f3d47f}
.button.dark{background:var(--brand);color:#fff}
.button.dark:hover{background:var(--brand-2)}
.button.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.25)}
.button.outline-dark{background:transparent;border-color:var(--brand);color:var(--brand)}
.button.outline-light,.button.white-outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.3)}
.button.full{width:100%}
.text-link{display:inline-flex;align-items:center;gap:8px;color:var(--brand);font-weight:800}
.text-link.upper{text-transform:uppercase;letter-spacing:.1em;font-size:.82rem}
.text-link:hover{color:var(--gold-deep)}

.hero{background:linear-gradient(140deg,var(--brand-dark) 0%,var(--brand) 55%,#462182 100%);padding:80px 0 72px;color:#fff;position:relative;overflow:hidden}
.hero::before,.hero::after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(246,200,88,.18)}
.hero::before{width:520px;height:520px;right:-120px;top:-50px}
.hero::after{width:380px;height:380px;right:80px;top:40px}
.hero-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:52px;align-items:center;position:relative;z-index:1}
.hero-copy h1{font:700 clamp(2.7rem,5vw,5rem)/1.04 var(--display);color:#fff;margin-bottom:20px;max-width:680px}
.hero-copy p{font-size:1.08rem;color:#e5dff0;max-width:620px;margin-bottom:26px}
.hero-eyebrow{display:inline-block;margin-bottom:14px;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);color:#f7d97d;font-size:.82rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:22px}
.hero-meta{display:flex;flex-wrap:wrap;gap:10px}
.hero-meta span{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.08);font-size:.88rem;color:#e7ddf5;border:1px solid rgba(255,255,255,.08)}
.hero-panel{display:grid;gap:18px}
.hero-logo-card{background:linear-gradient(180deg,#fff 0%,#f7f1ff 100%);border:1px solid rgba(255,255,255,.22);border-radius:30px;padding:22px;box-shadow:0 30px 70px rgba(0,0,0,.2)}
.hero-logo-card img{width:100%;border-radius:18px}
.hero-panel-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.hero-panel-grid div{background:rgba(255,255,255,.08);backdrop-filter:blur(5px);border:1px solid rgba(255,255,255,.11);padding:18px;border-radius:18px}
.hero-panel-grid strong{display:block;color:#fff;margin-bottom:6px}
.hero-panel-grid span{color:#ddd3ec;font-size:.92rem}

.section{padding:80px 0}
.soft-section{padding-top:34px}
.ivory-section{background:var(--paper-2)}
.section-intro h2,.about-intro h2,.leader-copy h2,.contact-grid h2{font:700 clamp(2rem,3.8vw,3.4rem)/1.08 var(--display);margin-bottom:12px}
.section-intro p{max-width:700px;color:var(--muted)}
.section-heading-row{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:26px}
.feature-grid,.quick-links-grid,.club-path-grid,.values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.feature-card,.quick-link-card,.club-path,.value-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow)}
.feature-card h3,.quick-link-card h3,.club-path h3,.value-card h3,.result-row h3,.album-title h3,.contact-spot h3{font-size:1.5rem;margin-bottom:10px}
.feature-card p,.quick-link-card p,.club-path p,.value-card p,.editorial-split p,.about-intro p,.leader-copy p,.profile-main p,.contact-grid p,.prose,.empty-state p{color:var(--muted)}
.editorial-split{display:grid;grid-template-columns:.95fr 1.05fr;gap:42px;align-items:start}
.split-highlight{align-items:center}
.association-cards{display:grid;gap:16px;margin-top:26px}
.association-cards>div{display:flex;gap:16px;align-items:center;background:#fff;border:1px solid var(--line);padding:20px 22px;border-radius:18px}
.association-cards span{font-size:1.6rem;color:var(--gold-deep)}
.association-cards small{display:block;font-size:.75rem;letter-spacing:.16em;color:#9a7420;font-weight:800;margin-bottom:6px}
.brand-identity{display:grid;grid-template-columns:.95fr 1.05fr;gap:44px;align-items:center}
.brand-identity-visual{background:#fff;border:1px solid var(--line);border-radius:28px;padding:28px;box-shadow:var(--shadow)}
.brand-identity-visual img{width:min(100%,520px);margin:auto}

.event-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.event-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:26px;overflow:hidden;box-shadow:var(--shadow)}
.event-visual{position:relative;display:grid;place-items:center;min-height:240px;background:linear-gradient(160deg,var(--brand-dark),var(--brand))}
.event-visual img{width:100%;height:100%;object-fit:cover}
.event-generated::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 20%,rgba(246,200,88,.18),transparent 38%),linear-gradient(135deg,rgba(255,255,255,.04),transparent 55%)}
.event-art-mini{position:absolute;top:20px;left:20px;color:#e8defa;font-size:.72rem;font-weight:800;letter-spacing:.14em}
.event-art-icon{font:700 5rem/1 var(--display);color:var(--gold)}
.event-art-bottom{position:absolute;bottom:18px;left:20px;color:#f7e6b2;font-size:.78rem;letter-spacing:.12em}
.event-badge{position:absolute;top:16px;right:16px;padding:8px 12px;border-radius:999px;background:#ffffff1a;border:1px solid #ffffff26;color:#fff;font-size:.75rem;font-weight:800}
.event-copy{padding:20px;display:grid;grid-template-columns:76px 1fr;gap:18px;align-items:start}
.event-datebox{background:var(--paper-2);border:1px solid var(--line);border-radius:18px;padding:14px 8px;text-align:center}
.event-datebox strong{display:block;font-size:1.7rem;color:var(--brand);line-height:1}
.event-datebox small{display:block;margin-top:6px;color:#846d2c;font-size:.72rem;font-weight:800}
.event-status{display:inline-block;margin-bottom:8px;font-size:.76rem;letter-spacing:.12em;font-weight:800;color:#8f6d20;text-transform:uppercase}
.event-copy h3{font-size:1.35rem;margin-bottom:8px}
.event-minor{color:var(--muted);font-size:.95rem;margin-bottom:14px}

.page-hero{background:linear-gradient(145deg,var(--brand-dark),var(--brand));color:#fff;padding:74px 0 68px;position:relative;overflow:hidden}
.page-hero .wrap{position:relative;z-index:1}
.page-hero::after{content:"";position:absolute;right:-120px;top:-50px;width:420px;height:420px;border:1px solid rgba(246,200,88,.18);border-radius:50%}
.page-hero h1{font:700 clamp(2.4rem,4.8vw,4.6rem)/1.04 var(--display);color:#fff;margin-bottom:14px}
.page-hero p{max-width:760px;color:#e7e0f2;font-size:1.05rem}
.page-hero-piece{position:absolute;right:10px;bottom:-18px;font:700 clamp(6rem,18vw,11rem)/1 var(--display);color:rgba(246,200,88,.18);pointer-events:none}
.back-to-people{display:inline-block;margin-bottom:16px;color:#f6d883;font-weight:700}
.breadcrumb{margin-bottom:14px;color:#f1e7ff}

.leadership-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.leadership-card{background:#fff;border:1px solid var(--line);border-radius:26px;overflow:hidden;box-shadow:var(--shadow)}
.leadership-portrait{display:grid;place-items:center;min-height:290px;background:linear-gradient(150deg,#341865,#291459);position:relative;padding:22px}
.leadership-portrait img{width:100%;height:100%;object-fit:cover;border-radius:18px}
.portrait-monogram{font:700 4rem/1 var(--display);color:#fff}
.portrait-piece{position:absolute;right:18px;bottom:14px;color:rgba(246,200,88,.3);font-size:4rem}
.portrait-label{position:absolute;left:16px;bottom:16px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.12);color:#fff;font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.leadership-card-body{padding:24px}
.leadership-card-body h3{font-size:1.7rem;margin-bottom:10px}
.leadership-card-body p{color:var(--muted);min-height:118px}
.profile-grid{display:grid;grid-template-columns:360px 1fr;gap:36px;align-items:start}
.profile-photo{background:linear-gradient(150deg,#341865,#291459);border-radius:30px;min-height:420px;display:grid;place-items:center;position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.08)}
.profile-photo img{width:100%;height:100%;object-fit:cover}
.profile-sidefacts{display:grid;gap:14px;margin-top:18px}
.profile-sidefacts>div{background:#fff;border:1px solid var(--line);padding:18px 20px;border-radius:18px}
.profile-sidefacts small{display:block;font-size:.75rem;letter-spacing:.14em;color:#9a7420;font-weight:800;margin-bottom:7px}
.profile-sidefacts strong{font-size:1.1rem;color:var(--brand)}
.profile-main h2{font:700 clamp(2rem,3vw,3rem)/1.1 var(--display);margin-bottom:18px}
.profile-achievements,.profile-sources{margin-top:28px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px}
.profile-achievements h3,.profile-sources h3{font-size:1.35rem;margin-bottom:12px}
.profile-highlight{display:grid;grid-template-columns:160px 1fr;gap:16px;padding:10px 0;border-top:1px solid var(--line)}
.profile-highlight:first-of-type{border-top:0;padding-top:0}
.profile-highlight strong{color:var(--brand)}
.profile-sources a{display:inline-flex;margin-right:18px;margin-top:8px;color:var(--brand);font-weight:700}

.results-list{display:grid;gap:18px}
.result-row{display:grid;grid-template-columns:64px 1fr auto;gap:20px;align-items:start;background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;box-shadow:var(--shadow)}
.result-symbol{width:64px;height:64px;border-radius:18px;background:linear-gradient(150deg,var(--brand),#4b2788);display:grid;place-items:center;color:var(--gold);font-size:2rem}
.result-row-link{display:flex;align-items:center}
.empty-state{background:#fff;border:1px solid var(--line);border-radius:28px;padding:44px;text-align:center;box-shadow:var(--shadow)}
.empty-piece{display:inline-grid;place-items:center;width:92px;height:92px;border-radius:24px;background:linear-gradient(150deg,var(--brand),#4b2788);color:var(--gold);font-size:3rem;margin-bottom:18px}

.album{margin-bottom:34px}
.album-title{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:18px}
.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.photo-tile{display:block;background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:var(--shadow)}
.photo-tile img{width:100%;height:240px;object-fit:cover}
.photo-tile span{display:block;padding:14px 16px;color:var(--brand);font-weight:700}

.contact-grid{display:grid;grid-template-columns:1fr 380px;gap:28px;align-items:start}
.contact-facts{display:grid;gap:16px;margin-top:22px}
.contact-facts>div{background:#fff;border:1px solid var(--line);padding:20px;border-radius:18px}
.contact-facts span{display:block;color:#9a7420;letter-spacing:.12em;font-size:.78rem;font-weight:800;margin-bottom:8px}
.contact-facts strong{font-size:1.1rem;color:var(--brand)}
.contact-spot{background:linear-gradient(160deg,var(--brand-dark),var(--brand));color:#fff;padding:28px;border-radius:28px;box-shadow:0 24px 60px rgba(31,13,63,.2)}
.contact-spot h3{color:#fff}
.contact-spot p,.contact-spot small{color:#ddd3ee}
.contact-spot-icon{display:inline-grid;place-items:center;width:58px;height:58px;border-radius:18px;background:rgba(255,255,255,.1);font-size:2rem;color:var(--gold);margin-bottom:14px}

.detail-grid{display:grid;grid-template-columns:1fr 340px;gap:28px;align-items:start}
.detail-poster{width:100%;border-radius:26px;border:1px solid var(--line);box-shadow:var(--shadow);margin-bottom:24px}
.info-card,.side-contact,.chess-results-section,.result-note{background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;box-shadow:var(--shadow)}
.info-card dl{margin:0}
.info-card dl div{display:grid;grid-template-columns:110px 1fr;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.info-card dl div:first-child{border-top:0;padding-top:0}
.info-card dt{font-weight:800;color:#9a7420}
.registration-closed{margin-top:12px;color:#8f2c2c;font-weight:700}
.side-contact span{display:block;color:#9a7420;font-weight:800;letter-spacing:.12em;font-size:.8rem;margin-bottom:8px}
.side-contact strong{display:block;font-size:1.3rem;color:var(--brand);margin-bottom:8px}
.side-contact a{font-weight:800;color:var(--brand)}
.chess-results-title{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:16px}
.chess-results-frame{border:1px solid var(--line);border-radius:18px;overflow:hidden}
.chess-results-frame iframe{display:block;width:100%;min-height:620px;border:0;background:#fff}
.chess-results-help{margin-top:14px}

.short-cta,.cta-banner,.fide-promo{display:flex;justify-content:space-between;gap:24px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:28px;padding:34px;box-shadow:var(--shadow)}
.cta-section{padding-top:0}
.cta-banner{background:linear-gradient(160deg,var(--brand-dark),var(--brand));color:#fff;border-color:transparent}
.cta-banner h2,.cta-banner p{color:#fff}
.cta-banner .kicker{color:#f4d57d}
.footer{background:var(--brand-dark);color:#ddd4ec;margin-top:30px}
.footer-top{display:grid;grid-template-columns:1.15fr .55fr .55fr;gap:36px;padding:56px 0 28px}
.footer-logo{width:220px;height:auto;margin-bottom:18px}
.footer-branding p{max-width:620px;color:#cbc2dd}
.footer-badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.footer-badges span{padding:9px 12px;border:1px solid rgba(255,255,255,.12);border-radius:999px;color:#f0e7ff;font-size:.85rem}
.footer-links{display:grid;align-content:start;gap:12px}
.footer-links h4{margin-bottom:6px;color:#fff}
.footer-links a,.footer-links span{color:#d6cdea}
.footer-bottom{display:flex;justify-content:space-between;gap:14px;padding:18px 0 28px;border-top:1px solid rgba(255,255,255,.08);font-size:.92rem}
.footer-bottom a{color:#f7d97d}

.prose{line-height:1.85}
@media (max-width: 1100px){
  .hero-layout,.editorial-split,.brand-identity,.contact-grid,.detail-grid,.profile-grid{grid-template-columns:1fr}
  .hero-panel-grid,.feature-grid,.quick-links-grid,.values-grid,.club-path-grid,.event-grid,.leadership-grid,.photo-grid{grid-template-columns:repeat(2,1fr)}
  .footer-top{grid-template-columns:1fr 1fr}
  .nav{gap:18px}
}
@media (max-width: 860px){
  .topbar-inner,.head-inner,.section-heading-row,.short-cta,.cta-banner,.fide-promo,.album-title,.chess-results-title,.footer-bottom{flex-direction:column;align-items:flex-start}
  .menu-toggle{display:block}
  .nav{display:none;position:absolute;left:20px;right:20px;top:96px;background:var(--brand);padding:18px;border:1px solid rgba(255,255,255,.12);border-radius:18px;box-shadow:var(--shadow)}
  .nav.is-open{display:grid;gap:14px}
  .head-cta{display:none}
  .hero{padding-top:56px}
  .hero-panel-grid,.feature-grid,.quick-links-grid,.values-grid,.club-path-grid,.event-grid,.leadership-grid,.photo-grid{grid-template-columns:1fr}
  .event-copy{grid-template-columns:1fr}
  .profile-highlight,.result-row{grid-template-columns:1fr}
  .footer-top{grid-template-columns:1fr}
}
@media (max-width: 560px){
  .wrap{width:min(100% - 28px,1180px)}
  .brand-logo{width:180px}
  .hero-copy h1,.page-hero h1{font-size:2.4rem}
  .section{padding:60px 0}
  .hero-panel-grid{grid-template-columns:1fr}
  .empty-state,.feature-card,.quick-link-card,.club-path,.value-card,.contact-spot,.info-card,.side-contact,.result-row,.profile-achievements,.profile-sources{padding:22px}
}

/* BAJWA CHESS CLUB V5 — BRAND & LAYOUT REFINEMENTS
   This stylesheet is loaded ONLY by public pages. The admin continues to use
   assets/style.css from the tested purple-gold release. */
:root {
 --brand:#291459;--brand-dark:#1c0c3d;--brand-mid:#3d2075;
 --gold:#f6c858;--gold-light:#ffe39a;
 --paper:#fdfbff;--paper-2:#f5f0fc;--ink:#231833;--muted:#625b70;
 --line:#e8e1f2;--card:#ffffff;
 --display:'Playfair Display',Georgia,serif;
 --sans:'Manrope',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
html{overflow-x:hidden}body{font-size:16px;overflow-x:hidden;background:var(--paper)}
a:focus-visible,button:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.wrap{max-width:1170px;width:calc(100% - 48px)}
.topbar{background:#190a37;color:#dcd4e9;font-size:11px;font-weight:700;letter-spacing:.01em}
.topbar-inner{min-height:36px}
.site-header{position:relative;top:auto;background:#291459;border-bottom:1px solid rgba(246,200,88,.2)}
.head-inner{min-height:90px;gap:22px}
.brand{min-width:220px;max-width:260px;display:flex;gap:13px;align-items:center;white-space:normal}
.brand-crest{display:block;width:51px;height:60px;max-width:51px;flex:0 0 51px;object-fit:contain}
.brand-lettering{display:flex;flex-direction:column;gap:5px;min-width:0;justify-content:center}
.brand-lettering strong{color:#fff;font-family:Georgia,serif;font-size:28px;font-weight:700;letter-spacing:.09em;line-height:1}
.brand-lettering small{color:#f6c858;font-size:9px;font-weight:800;letter-spacing:.14em;white-space:nowrap}
.brand-lettering i{font-style:normal;color:#bba0ea}
.nav{margin-left:auto;gap:20px}
.nav a{font-size:12px;white-space:nowrap;color:#e6e0ec}
.nav a.nav-active,.nav a:hover{color:var(--gold)}
.head-cta{font-size:12px;padding:12px 16px;white-space:nowrap}
.hero{padding:86px 0 78px;min-height:auto;isolation:isolate;background:radial-gradient(ellipse at 96% 30%,#493083 0,transparent 53%),linear-gradient(125deg,#1a0939,#291459 60%,#30175e)}
.hero::before{right:-160px;top:-150px;width:600px;height:600px;border-color:rgba(246,200,88,.15)}
.hero::after{right:-70px;top:-15px;width:400px;height:400px;border-color:rgba(246,200,88,.12)}
.hero-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;gap:45px}
.hero-copy{min-width:0}
.hero-eyebrow{color:var(--gold-light);border:1px solid rgba(246,200,88,.28);background:rgba(246,200,88,.08);letter-spacing:.15em;font-size:10px;padding:8px 15px}
.tiny-diamond{font-size:9px;margin-right:6px}
.hero-copy h1{font:600 clamp(50px,5.05vw,72px)/1.06 var(--display);letter-spacing:-1.5px;max-width:680px;overflow-wrap:normal;color:#fff;margin-bottom:23px}
.hero-copy h1 em{font-style:normal;color:var(--gold)}
.hero-copy>p{font-size:15px;line-height:1.9;color:#ddd3ed;max-width:540px;margin-bottom:30px}
.hero-actions{margin-bottom:28px}
.hero-actions .button{border-radius:7px;font-size:12px;padding:14px 20px}
.hero-meta{display:flex;gap:7px;flex-direction:column;margin-top:30px}
.hero-meta span{font-size:11px;line-height:1.6;color:#ccc1e1;padding:0;display:block;background:none;border:0;border-radius:0}
.hero-meta span:before{content:'◆';color:var(--gold);font-size:7px;vertical-align:middle;margin-right:10px}
.hero-panel{display:flex;flex-direction:column;align-items:center;gap:20px;min-width:0;position:relative}
.hero-logo-card{padding:15px;background:#291459;border:1px solid rgba(246,200,88,.30);border-radius:18px;box-shadow:0 26px 70px #13052970;position:relative;width:min(100%,430px)}
.hero-logo-card:after{content:'';position:absolute;inset:8px;border:1px solid rgba(246,200,88,.10);border-radius:12px;pointer-events:none}
.hero-logo-card img{display:block;width:100%;max-height:330px;aspect-ratio:760 / 512;object-fit:contain;border-radius:0}
.hero-panel-caption{display:flex;gap:11px;align-items:center;justify-content:center;color:#ead7a1;font-size:9px;letter-spacing:.18em;font-weight:800;text-align:center}
.hero-panel-rule{width:22px;height:1px;display:block;background:rgba(246,200,88,.5)}
.section{padding:76px 0}
.soft-section{padding-top:34px;padding-bottom:52px;background:#faf7ff}
.kicker{color:#88611d;font-size:11px;letter-spacing:1.9px}
.section-intro h2{color:#28174c;font-size:clamp(30px,3.4vw,46px);line-height:1.17}
.section-intro p{font-size:14px}
.section-heading-row{align-items:end}
.feature-card,.quick-link-card,.value-card,.club-path,.leadership-card,.event-card{border-radius:15px;box-shadow:0 12px 36px rgba(29,12,61,.06)}
.feature-card{min-height:192px;padding:28px;background:#fff;border-top:3px solid #f6c858}
.feature-card h3{font:700 21px/1.25 var(--display);color:#28174c;margin:8px 0 10px}
.feature-card p{font-size:14px;margin:0}
.quick-link-card,.club-path,.value-card{transition:transform .18s,box-shadow .18s}
.quick-link-card:hover,.club-path:hover,.value-card:hover,.leadership-card:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(38,18,78,.10)}
.quick-link-card h3,.club-path h3,.value-card h3{font:700 22px/1.3 var(--display);color:#291459}
.quick-link-card p,.club-path p,.value-card p{font-size:14px;line-height:1.7}
.ivory-section{background:#f5f0fc}
.editorial-split h2,.brand-identity-content h2{font:700 clamp(30px,3.3vw,48px)/1.15 var(--display);color:#291459}
.editorial-split p,.brand-identity-content p{line-height:1.85;font-size:15px}
.brand-identity-section{padding:14px 0 74px;background:#fff}
.brand-identity-visual{border-radius:16px;padding:16px;display:flex;align-items:center;justify-content:center;background:#faf8ff;box-shadow:none}
.brand-identity-visual img{max-width:460px;max-height:260px;object-fit:contain}
.brand-identity-content{min-width:0}
.association-cards>div{border-radius:12px}
.leadership-card{overflow:hidden}
.leadership-portrait{min-height:240px;aspect-ratio:1.45/1;background:radial-gradient(circle at 70% 20%,#54328e,var(--brand) 65%);text-decoration:none}
.leadership-portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0}
.portrait-monogram{font:700 62px/1 var(--display);color:#fff}
.leadership-card-body{padding:25px}
.leadership-card-body h3{font:700 22px/1.2 var(--display);color:#291459}
.leadership-card-body p{min-height:0;font-size:13px;line-height:1.8;margin-bottom:22px}
.leadership-card .text-link{font-size:12px}
.profile-photo{min-height:410px;aspect-ratio:4 / 4.5;border-radius:16px}
.profile-photo .portrait-monogram{font-size:78px}
.profile-sidefacts>div,.profile-achievements,.profile-sources{border-radius:12px}
.profile-sidefacts>div{display:flex;justify-content:space-between;align-items:center;gap:18px}
.profile-sidefacts small{font-size:10px;margin-bottom:0}
.profile-sidefacts strong{font-size:14px}
.profile-main h2{font:700 clamp(24px,3vw,36px)/1.3 var(--display);color:#28174c}
.profile-main p{font-size:14px;line-height:1.95;margin-bottom:16px}
.profile-highlight{align-items:baseline}
.profile-highlight strong{font-size:14px}.profile-highlight span{font-size:13px;color:var(--muted)}
.profile-sources a{font-size:13px;display:inline-block;margin-bottom:12px}
.profile-grid{grid-template-columns:minmax(260px,330px) minmax(0,1fr)}
.page-hero{background:linear-gradient(112deg,#1b0d3a,#2b145e 80%);padding:62px 0 59px}
.page-hero h1{color:#fff;font-size:clamp(38px,4.8vw,62px)}
.page-hero h1 em{color:#f6c858;font-style:normal}
.page-hero p{font-size:14px}
.page-hero-piece{font-size:160px;bottom:-35px;opacity:.5}
.fide-format-grid,.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.fide-format,.guide-grid>div,.guide-faq,.fide-resources{padding:24px;background:#fff;border:1px solid var(--line);border-radius:14px}
.fide-format h3,.guide-grid h3,.guide-faq h3,.fide-resources h3{font-size:20px;color:var(--brand);margin-bottom:12px}
.fide-format p,.guide-grid p,.guide-faq p,.fide-resources p{font-size:14px;color:var(--muted)}
.guide-grid,.fide-format-grid{margin-top:22px}
.guide-faq{margin-top:20px}
.empty-state{border-radius:14px;padding:44px 28px}
.short-cta,.cta-banner,.fide-promo{border-radius:14px}
.footer{background:#170a33;margin-top:0}
.footer-top{grid-template-columns:minmax(0,1.5fr) minmax(0,.7fr) minmax(0,.8fr);padding-top:58px;padding-bottom:32px}
.footer-branding{max-width:470px}
.footer-logo{width:230px;object-fit:contain;object-position:left top}
.footer-logo-link{display:block;width:230px}
.footer-badges span{font-size:11px}
.footer-links a,.footer-links span{font-size:13px}
.footer-links h4{font-size:15px}
.footer-bottom{font-size:12px}
/* Make informational posters completely readable; only photographs get cropped. */
.event-visual.has-poster img{object-fit:contain;background:#211040}
/* Hide unstyled, decorative elements on old page templates only where appropriate. */
@media(max-width:1100px){
 .head-inner{gap:14px}.nav{gap:12px}.nav a{font-size:11px}
 .brand{min-width:176px}.brand-crest{width:43px;height:50px;flex-basis:43px}
 .brand-lettering strong{font-size:23px}.brand-lettering small{font-size:8px}
 .head-cta{font-size:11px;padding:10px 12px}
 .hero-layout{gap:28px}
 .profile-grid{grid-template-columns:300px minmax(0,1fr)}
}
@media(max-width:860px){
 .head-inner{min-height:78px;flex-direction:row;align-items:center;gap:15px}
 .menu-toggle{display:block;margin-left:auto}
 .nav{display:none;position:absolute;top:78px;left:14px;right:14px;z-index:50;background:#291459;padding:16px;box-shadow:0 20px 40px #190b3477;border:1px solid rgba(246,200,88,.24);border-radius:12px;flex-direction:column;align-items:stretch}
 .nav.is-open{display:flex}.nav a{font-size:14px;padding:9px 10px}
 .head-cta{display:none}
 .topbar-inner{min-height:36px;display:flex;flex-direction:row;align-items:center;justify-content:space-between}
 .topbar-inner>span{max-width:60%;line-height:1.3}
 .hero-layout{grid-template-columns:1fr;gap:38px}
 .hero-copy h1{font-size:clamp(42px,7.5vw,64px);max-width:720px}
 .hero-panel{max-width:460px;justify-self:center}
 .hero-logo-card{max-width:430px}
 .editorial-split,.brand-identity,.profile-grid,.detail-grid,.contact-grid{grid-template-columns:1fr}
 .feature-grid,.leadership-grid,.event-grid,.quick-links-grid,.values-grid,.club-path-grid,.photo-grid,.fide-format-grid,.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .profile-grid{gap:25px}.profile-grid>div:first-child{max-width:480px}
 .footer-top{grid-template-columns:1.3fr 1fr}
}
@media(max-width:620px){
 .wrap{width:calc(100% - 30px)}
 .section{padding:56px 0}
 .topbar{display:none}
 .brand-crest{width:38px;height:46px;flex-basis:38px}
 .brand-lettering strong{font-size:23px}.brand-lettering small{font-size:8px}
 .site-header .head-inner{min-height:74px}
 .nav{top:74px}
 .hero{padding:54px 0 55px}
 .hero-copy h1{font-size:clamp(40px,10vw,57px)}
 .hero-copy>p{font-size:14px}
 .hero-actions{display:flex;flex-direction:column;align-items:stretch}
 .hero-actions .button{width:100%}
 .hero-panel-caption{font-size:8px;letter-spacing:.07em}
 .hero-meta span{font-size:10px}
 .feature-grid,.leadership-grid,.event-grid,.quick-links-grid,.values-grid,.club-path-grid,.photo-grid,.fide-format-grid,.guide-grid{grid-template-columns:1fr}
 .section-heading-row,.short-cta,.cta-banner,.fide-promo,.album-title,.chess-results-title,.footer-bottom{flex-direction:column;align-items:flex-start}
 .section-heading-row{gap:13px}
 .profile-sidefacts>div{align-items:flex-start;flex-direction:column;gap:8px}
 .profile-highlight{grid-template-columns:1fr;gap:3px}
 .footer-top{grid-template-columns:1fr;gap:28px}
 .page-hero{padding:56px 0 52px}
 .page-hero h1{font-size:clamp(35px,8vw,46px)}
 .page-hero-piece{font-size:100px;opacity:.3}
 .brand-identity-visual{padding:12px}
}
/* Page-specific finishing adjustments */
.about-intro{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:58px;align-items:start}
.about-intro>div{min-width:0}
.about-intro h2{font:700 clamp(30px,3.6vw,47px)/1.15 var(--display);color:var(--brand)}
.about-intro p{font-size:15px;line-height:1.85}
.profile-photo{width:100%;min-width:0;min-height:410px;aspect-ratio:auto}
.profile-grid>div{min-width:0}
.profile-main{min-width:0}
.profile-main h2{overflow-wrap:break-word}
@media(max-width:860px){.about-intro{grid-template-columns:1fr;gap:24px}}
