/* Fortuna Community. Theme A (default) and theme C (club). Tokens first. */
@font-face{font-family:"Inter";src:url("/assets/fonts/inter-Regular.woff") format("woff");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Inter";src:url("/assets/fonts/inter-SemiBold.woff") format("woff");font-weight:600 700;font-style:normal;font-display:swap}
:root{
  --bg:#FBF7EE; --surface:#FFFFFF; --line:#E6DCC4; --ink:#112C69; --ink-soft:#3b4a73;
  --btn-bg:#112C69; --btn-ink:#FBF7EE; --gold:#B5832E; --gold-text:#7A5A12; --ok:#1F5115; --ok-bg:#E3EEDE;
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif; --sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --knot:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='12' viewBox='0 0 28 12'%3E%3Cpath d='M0 6 L7 0 L14 6 L7 12 Z M14 6 L21 0 L28 6 L21 12 Z' fill='none' stroke='%23B5832E' stroke-width='1.4'/%3E%3C/svg%3E")
}
body.theme-c{
  --knot:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='12' viewBox='0 0 28 12'%3E%3Cpath d='M0 6 L7 0 L14 6 L7 12 Z M14 6 L21 0 L28 6 L21 12 Z' fill='none' stroke='%23D9A441' stroke-width='1.4'/%3E%3C/svg%3E");
  --bg:#0E0909; --surface:#1E1113; --line:#442A2D; --ink:#F3EBD8; --ink-soft:#DDD3C3;
  --btn-bg:#D4A84B; --btn-ink:#0E0909; --gold:#D4A84B; --gold-text:#D4A84B;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:1rem/1.6 var(--sans)}
img{max-width:100%;height:auto}
.wrap{max-width:72rem;margin:0 auto;padding-left:16px;padding-right:16px;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
h1,h2{font-family:var(--serif);line-height:1.2;text-wrap:balance;font-weight:600}
h1{font-size:2.3rem;font-size:clamp(1.9rem,1.2rem + 3vw,3rem);margin:.4em 0 .3em}
h2{font-size:1.5rem;margin:1.2em 0 .45em}
p{max-width:65ch;margin:0 0 1em}
a{color:inherit;text-underline-offset:.18em}
.lead{font-size:1.2rem;color:var(--ink-soft)}
.muted{color:var(--ink-soft)}
.skip{position:absolute;left:-999px;top:0;background:var(--btn-bg);color:var(--btn-ink);padding:.7rem 1rem;z-index:20}
.skip:focus{left:0}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
/* header */
.site-head{--bg:#112C69;--ink:#FBF7EE;--ink-soft:#E4DCC6;--surface:#1D3B83;--line:#33509A;--gold:#D9A441;--gold-text:#E8BC62;--btn-bg:#D9A441;--btn-ink:#112C69;background:var(--bg);color:var(--ink);border-bottom:4px solid var(--gold);position:relative;box-shadow:0 6px 18px rgba(17,44,105,.18)}
.head-row{display:flex;flex-wrap:nowrap;align-items:center;gap:.6rem;padding-top:.8rem;padding-bottom:.8rem}
.brand{flex:none;white-space:nowrap;display:flex;align-items:center;gap:.75rem;font:600 1.2rem/1.1 var(--serif);text-decoration:none;letter-spacing:.01em}
.brand-mark{width:64px;height:64px;flex:none;display:block;border-radius:50%;background:#FBF7EE;padding:3px;box-shadow:0 0 0 2px var(--gold)}
@media (max-width:420px){.brand{font-size:1.15rem}.brand-mark{width:56px;height:56px}}
.nav-wide{margin-left:auto}.nav-wide ul{display:flex;gap:.55rem;font-size:.92rem;list-style:none;margin:0;padding:0}
.nav-wide a{white-space:nowrap;display:inline-block;padding:.7rem .1rem;text-decoration:none}
.nav-wide a:hover,.nav-wide a[aria-current]{text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px}
.nav-wide li{position:relative}
.nav-wide .sub{display:none;position:absolute;left:0;top:100%;z-index:30;min-width:15rem;flex-direction:column;gap:0;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:.4rem;box-shadow:0 8px 24px rgba(0,0,0,.14)}
.nav-wide li:hover>.sub,.nav-wide li:focus-within>.sub{display:flex}
.nav-wide .sub a{display:block;padding:.55rem .7rem;white-space:nowrap}
.nav-wide>ul>li:nth-last-child(-n+3) .sub{left:auto;right:0}
.btn-head{padding:.5rem .85rem;white-space:nowrap}.search-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;border-radius:8px;color:var(--ink)}.search-btn:hover{background:var(--surface)}
.nav-accent>a{font-weight:700;color:var(--gold-text)}
.nav-narrow .sub{margin:0 0 .2rem 1rem}.nav-narrow .sub a{padding:.55rem .2rem;font-size:.95rem}
.nav-narrow{display:none;margin-left:auto}
.nav-narrow summary{min-height:44px;display:flex;align-items:center;padding:0 .9rem;border:1px solid var(--ink);border-radius:8px;cursor:pointer;font-weight:600}
.nav-narrow ul{list-style:none;margin:.5rem 0 0;padding:0}
.nav-narrow a{display:block;padding:.8rem .2rem;border-bottom:1px solid var(--line);text-decoration:none}
.btn{display:inline-flex;align-items:center;min-height:44px;padding:.6rem 1.2rem;border-radius:8px;background:var(--btn-bg);color:var(--btn-ink);font-weight:600;text-decoration:none;border:2px solid var(--btn-bg)}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--ink)}
.btn:hover{filter:brightness(1.08)}
@media (max-width:1440px){.head-row{flex-wrap:wrap}.nav-wide,.btn-head,.search-btn{display:none}.nav-narrow{display:block;flex:1;margin-left:auto}.nav-narrow[open]{flex-basis:100%}.nav-narrow summary{width:fit-content;margin-left:auto}}
/* content */
main{padding-top:1rem;padding-bottom:2.5rem}
.crumbs ol{display:flex;flex-wrap:wrap;gap:.3rem;list-style:none;margin:0;padding:0;font-size:.95rem;color:var(--ink-soft)}
.crumbs li+li::before{content:"/";margin-right:.3rem;color:var(--gold-text)}
.cards{list-style:none;margin:0 0 1rem;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(16rem,100%),1fr));gap:1rem}
.card{display:flex;flex-direction:column;gap:.3rem;height:100%;padding:1rem 1.1rem;background:var(--surface);border:1px solid var(--line);border-radius:10px;text-decoration:none}
.card:hover{border-color:var(--gold)}.card.static:hover{border-color:var(--line)}
.card-t{font:600 1.25rem var(--serif)}.card-d{color:var(--ink-soft);font-size:.95rem}
.hero{padding-top:1rem;padding-bottom:0}
.cta-row{margin:1.5rem 0}
.warn{background:var(--surface);border:1px solid var(--gold);border-radius:8px;padding:.7rem .9rem}
.plan{margin-top:2.5rem;border:2px dashed var(--gold);border-radius:10px;padding:1rem 1.2rem;background:var(--surface);max-width:48rem}
.plan-tag{font-weight:700;color:var(--gold-text);margin:0 0 .5rem}
.plan dl{margin:0;display:grid;grid-template-columns:minmax(0,12rem) minmax(0,1fr);gap:.4rem 1rem}
.plan dt{font-weight:600}.plan dd{margin:0}
@media (max-width:560px){.plan dl{grid-template-columns:1fr}.plan dt{margin-top:.5rem}}
.map{list-style:none;margin:0;padding:0}.map li{padding:.15rem 0}.map li.d2{padding-left:1.2rem}.map li.d3{padding-left:2.4rem}.map li.d4{padding-left:3.6rem}.map li.d5{padding-left:4.8rem}
/* footer */
.site-foot{border-top:1px solid var(--line);background:var(--surface);padding-top:2rem;padding-bottom:2rem}
.foot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(14rem,100%),1fr));gap:1.5rem}
.foot-grid ul{list-style:none;margin:0;padding:0}.foot-grid li a{display:inline-block;padding:.35rem 0}
.foot-title{font:600 1.05rem var(--serif);margin-bottom:.4rem}
.foot-small{margin-top:1.5rem;color:var(--ink-soft);font-size:.95rem}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* pilot pages: home and club */
.eyebrow{font-size:.95rem;letter-spacing:.02em;color:var(--gold-text);font-weight:600;margin:0 0 .6rem}
.rule{height:12px;margin-top:1.1rem;margin-bottom:1.1rem;background:var(--knot) repeat-x center;opacity:.9}
section{margin-top:1.5rem;margin-bottom:1.5rem}
section>h2:first-child,.split h2{margin-top:0}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:2.5rem;align-items:center;padding-top:1rem;padding-bottom:1rem}
.hero-grid h1{font-size:2.8rem;font-size:clamp(2.2rem,1.4rem + 3.6vw,3.8rem);margin-top:0}
.hero-pic img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:50% 30%;border-radius:14px;display:block;background:var(--surface)}
.hero-pic.wide img{aspect-ratio:16/9;object-position:50% 40%}
.btn-row{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.4rem;margin-bottom:1.4rem}
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:1.5rem 3rem;align-items:start}
.split h2{margin-top:0}
.split figure{margin:0}
figure img{width:100%;height:auto;border-radius:12px;display:block}
figcaption{font-size:.95rem;color:var(--ink-soft);margin-top:.5rem}
.facts{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(13rem,100%),1fr));gap:1rem}
.facts li{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:1rem}
.facts b{display:block;font:600 1.6rem var(--serif);color:var(--ink)}
.facts span{color:var(--ink-soft);font-size:.95rem}
.event{background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--gold);border-radius:10px;padding:1rem 1.2rem;max-width:36rem}
.event h3{margin:.1rem 0 .3rem;font:600 1.25rem var(--serif)}
.event-date{font-weight:600;color:var(--gold-text);margin:0}
.event-list{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(18rem,100%),1fr))}
.event-list .event{max-width:none}
.closing{text-align:center;padding:2rem 1rem;border-top:1px solid var(--line)}
.closing p{margin-left:auto;margin-right:auto}
.hero-wide{padding-top:0;margin-top:.5rem}
.hero-wide .eyebrow{margin-bottom:.3rem}
@media (max-width:640px){.hero-wide .btn-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.6rem;margin-top:1.1rem;margin-bottom:1.1rem}.hero-wide .btn-row .btn:first-child{grid-column:1/-1;justify-content:center}.hero-wide .btn-row .btn{justify-content:center;text-align:center}.hero-wide .lead{font-size:1.1rem}.hero-wide .hero-pic{margin-top:1rem}}
.hero-wide h1{font-size:2.8rem;font-size:clamp(1.75rem,1rem + 3.6vw,3.8rem);margin-top:0}
.hero-wide .hero-pic{margin-top:1.4rem}
.ru-uk{margin-top:1rem;padding:.8rem 1rem;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.ru-uk p{margin:.2rem 0}
.steps{list-style:none;counter-reset:s;margin:0 0 1rem;padding:0;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(16rem,100%),1fr))}
.steps li{counter-increment:s;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:1rem 1.2rem}
.steps li::before{content:counter(s);display:inline-grid;place-items:center;width:2rem;height:2rem;border-radius:50%;border:2px solid var(--gold);font-weight:600;margin-bottom:.4rem}
.steps h3{margin:.2rem 0;font:600 1.25rem var(--serif)}
.photo-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.75rem}
.photo-grid figure{margin:0}
.photo-grid img{width:100%;height:100%;object-fit:cover;border-radius:10px}
.photo-grid .tall{aspect-ratio:3/4;grid-column:span 2}.photo-grid .wide{aspect-ratio:16/10;grid-column:span 3}
.faq{border-bottom:1px solid var(--line);padding:.2rem 0}
.faq summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600}
.faq p{margin:.2rem 0 .9rem}
.links-row{list-style:none;margin:0 0 1rem;padding:0;display:flex;flex-wrap:wrap;gap:.75rem}
.tagline{font:600 1.5rem var(--serif);color:var(--gold-text);margin-top:1.5rem}
@media (max-width:860px){
  .hero-grid,.split{grid-template-columns:1fr}
  .split{row-gap:.3rem}
  .hero-pic img{aspect-ratio:4/3;object-position:50% 25%}
  .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .photo-grid .tall{grid-column:span 1}
  .photo-grid .tall:nth-child(3){grid-column:span 2;aspect-ratio:4/3}
  .photo-grid .wide{grid-column:span 2}
}

/* markdown pages */
.prose{max-width:48rem}
.prose ul,.prose ol{max-width:65ch;padding-left:1.3rem;margin:0 0 1em}
.prose li{margin-bottom:.35em}
.prose h2{margin-top:1.4em}.prose h3{font:600 1.25rem var(--serif);margin:1.5em 0 .4em}
.prose .event-list,.prose .gallery,.prose .cards,.prose .inline-photo{max-width:none}
.note{background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--gold);border-radius:8px;padding:.2rem 1rem;margin:1.2rem 0;max-width:65ch}
.warn-note{border-left-color:#B5832E}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(15rem,100%),1fr));gap:.75rem;align-items:start;margin:1.2rem 0}
.gallery figure{margin:0}
.inline-photo{margin:1.2rem 0;max-width:48rem}
.event.cancelled{opacity:.8;border-left-color:var(--ink-soft)}
.prose a{font-weight:500}

/* news */
.chips{list-style:none;margin:.4rem 0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem}
.chips a{display:inline-flex;align-items:center;min-height:40px;padding:.3rem .85rem;border:1px solid var(--line);border-radius:999px;font-size:.95rem;text-decoration:none;background:var(--surface)}
.chips a:hover,.chips a[aria-current="page"]{border-color:var(--gold)}
.chips a[aria-current="page"]{font-weight:600}
.chips-proj a{border-style:dashed}
.chips-big a{min-height:44px;line-height:1.9rem;padding:.3rem .9rem}
.news-list{list-style:none;margin:0 0 1rem;padding:0;display:grid;gap:1rem}
.news-list article{padding:1rem 1.1rem;background:var(--surface);border:1px solid var(--line);border-radius:10px}
.news-list h3{margin:.1rem 0 .3rem;font:600 1.25rem var(--serif)}
.news-list p{margin:.2rem 0}
.news-meta{color:var(--ink-soft);font-size:.95rem;margin:.2rem 0}
.news-block{margin-top:2.2rem}

.logo-full{margin:1.5rem 0;max-width:20rem}.logo-full img{width:100%;height:auto;display:block;border-radius:14px}
.hero-wide .hero-pic.wide img{aspect-ratio:16/9;object-position:50% 45%}
@media (max-width:859px){.hero-wide .hero-pic.wide img{aspect-ratio:16/9}}

/* back to top, up link, footer targets, anchors */
html{scroll-behavior:smooth}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
[id]{scroll-margin-top:5rem}
.up{margin:2rem 0 1rem;color:var(--ink-soft)}.up a{display:inline-block;padding:.5rem .2rem}
.to-top-wrap{position:absolute;top:150vh;bottom:0;right:0;left:0;pointer-events:none;z-index:5}
.to-top{position:sticky;top:calc(100vh - 4rem);top:calc(100dvh - 4rem);display:grid;place-items:center;width:48px;height:48px;margin:0 1rem 0 auto;border-radius:50%;background:var(--btn-bg);color:var(--btn-ink);text-decoration:none;font-size:1.4rem;line-height:1;border:2px solid var(--gold);pointer-events:auto}
.site-foot li a,.foot-grid p a{display:inline-block;padding:.35rem 0}
@media print{.site-head,.to-top-wrap,.up,.skip,.site-foot .foot-grid>div:nth-child(n+2),.btn,.cta-row{display:none!important}body{background:#fff;color:#000}a{color:#000}.prose a[href^="http"]::after{content:" (" attr(href) ")";font-size:.85em}}
.event-list{margin-bottom:1.4rem}.prose p+p .btn{margin-top:.2rem}

.level-up{position:fixed;left:1rem;bottom:1rem;min-height:48px;display:inline-flex;align-items:center;gap:.4rem;padding:0 1.1rem;border-radius:24px;background:var(--btn-bg);color:var(--btn-ink);text-decoration:none;font-weight:600;border:2px solid var(--gold);z-index:5}
.level-up:hover,.level-up:focus-visible{outline-offset:3px}
body{padding-bottom:4.5rem;position:relative}
@media print{.level-up{display:none!important}}

/* search */
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.search-form{display:flex;gap:.6rem;flex-wrap:wrap;margin:1rem 0}.search-form input{flex:1 1 16rem;min-height:44px;padding:.5rem .8rem;border:2px solid var(--ink);border-radius:8px;font:inherit;background:var(--surface);color:var(--ink)}
.search-results{list-style:none;margin:0;padding:0;display:grid;gap:.8rem}.search-results li{padding:.8rem 1rem;background:var(--surface);border:1px solid var(--line);border-radius:10px}.search-results a{display:block;font:600 1.1rem var(--serif)}.search-results p{margin:.2rem 0 0}
.tag{display:inline-block;align-self:flex-start;margin-top:.3rem;padding:.2rem .65rem;border:1px solid var(--line);border-radius:999px;font-size:.95rem;color:var(--ink-soft)}
.grant-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:.8rem 1.5rem;margin:1rem 0;padding:1rem 1.2rem;background:var(--surface);border:1px solid var(--line);border-radius:10px}.grant-facts dt{font-weight:600;font-size:.9rem;color:var(--ink-soft)}.grant-facts dd{margin:.1rem 0 0}
.club-logo{display:block;width:min(200px,50vw);height:auto;margin:0 0 1.4rem;border-radius:14px}
.theme-c .site-head{--bg:#150B0D;--surface:#2A1417;--line:#5A2A30;--btn-bg:#D4A84B;--btn-ink:#150B0D;--gold:#D4A84B;--gold-text:#E2BC66}
.mood{margin:1.5rem 0}.mood img{width:100%;height:auto;border-radius:12px;display:block}

.club-tagline{font:600 1.6rem/1.25 var(--serif);font:600 clamp(1.35rem,1rem + 1.6vw,2rem)/1.25 var(--serif);color:var(--gold-text);margin:0 0 1rem}
.prose .cards,.prose .chips,.prose .steps{padding-left:0;max-width:none;list-style:none}

@media (min-width:1700px){html{font-size:112.5%}}
@media (min-width:2300px){html{font-size:137.5%}}
@media (min-width:3200px){html{font-size:175%}}
@media (min-width:1700px){.wrap{max-width:80rem}}

.btn{max-width:100%;overflow-wrap:break-word}
@media (max-width:420px){.brand{flex:1 1 0;min-width:0;white-space:normal;font-size:1.05rem}.brand-mark{width:48px;height:48px}.nav-narrow:not([open]){flex:none}}
@media (max-width:359px){.hero-wide .btn-row{grid-template-columns:minmax(0,1fr)}.brand{font-size:.95rem}}

p{margin-bottom:.9em}.lead{margin-bottom:1em}
.note p:last-child,.card p:last-child,.event p:last-child{margin-bottom:0}.note{padding-top:.9rem;padding-bottom:.9rem}

/* ===== Design variants (preview only, switched on by body class v-inst, v-modern, v-club) ===== */
/* V1: official look for grant-makers and public bodies. White page, navy and forest green from the logo, sans headings, square corners, no ornament */
body.v-inst{--bg:#FFFFFF;--surface:#F3F5F8;--line:#D3DAE4;--ink:#14243F;--ink-soft:#43536B;--btn-bg:#25511D;--btn-ink:#FFFFFF;--gold:#BA893C;--gold-text:#7A5A12;--serif:var(--sans)}
body.v-inst .site-head{--bg:#FFFFFF;--ink:#14243F;--ink-soft:#43536B;--surface:#EEF1F6;--line:#D3DAE4;--gold:#BA893C;--gold-text:#7A5A12;--btn-bg:#25511D;--btn-ink:#FFFFFF;border-top:6px solid #1A2C60;border-bottom:1px solid var(--line);box-shadow:none}
body.v-inst .site-head .brand-mark{background:transparent;box-shadow:none;padding:0}
body.v-inst h1,body.v-inst h2,body.v-inst h3,body.v-inst .card-t{font-weight:700;letter-spacing:-.01em}
body.v-inst .btn,body.v-inst .card,body.v-inst .note,body.v-inst .event,body.v-inst .chips a,body.v-inst .hero-pic img,body.v-inst .tag{border-radius:3px}
body.v-inst .btn-ghost{color:#1A2C60;border-color:#1A2C60}
body.v-inst .rule{height:1px;background:var(--line);opacity:1}
body.v-inst .eyebrow{color:#25511D}
body.v-inst a{color:#1A2C60}
body.v-inst .site-head a,body.v-inst .btn{color:inherit}
body.v-inst .btn:not(.btn-ghost){color:#fff}
body.v-inst .nav-accent>a{color:#25511D}
body.v-inst .club-tagline{color:#25511D}
body.v-inst .site-foot{background:#1A2C60;color:#fff;border-top:0}body.v-inst .site-foot a{color:#fff}
/* V2: modern. Warm white, deep green as the main action colour, navy text, gold as the highlight, big rounded shapes, pill buttons */
body.v-modern{--bg:#F8F6F0;--surface:#FFFFFF;--line:#E4DFD0;--ink:#15223F;--ink-soft:#4A5470;--btn-bg:#25511D;--btn-ink:#FFFFFF;--gold:#BA893C;--gold-text:#7A5A12;--serif:var(--sans)}
body.v-modern .site-head{--bg:#FFFFFF;--ink:#15223F;--ink-soft:#4A5470;--surface:#F1EFE7;--line:#E4DFD0;--gold:#BA893C;--gold-text:#7A5A12;--btn-bg:#25511D;--btn-ink:#FFFFFF;border-bottom:1px solid var(--line);box-shadow:0 1px 0 rgba(21,34,63,.04),0 8px 24px rgba(21,34,63,.06)}
body.v-modern .site-head .brand-mark{background:transparent;box-shadow:none;padding:0}
body.v-modern h1,body.v-modern h2,body.v-modern h3,body.v-modern .card-t{font-weight:800;letter-spacing:-.025em}
body.v-modern h1{font-size:clamp(2.2rem,1.4rem + 3.6vw,3.4rem)}
body.v-modern .btn{border-radius:999px;padding-left:1.5rem;padding-right:1.5rem}
body.v-modern .btn-ghost{color:#15223F;border-color:#15223F}
body.v-modern .card,body.v-modern .event,body.v-modern .note,body.v-modern .steps li,body.v-modern .grant-facts{border-radius:20px;border-color:transparent;box-shadow:0 1px 2px rgba(21,34,63,.06),0 10px 28px rgba(21,34,63,.07)}
body.v-modern .hero-pic img,body.v-modern .mood img,body.v-modern .photo-grid img{border-radius:24px}
body.v-modern .rule{height:1px;background:none;margin-top:.6rem;margin-bottom:.6rem}
body.v-modern .eyebrow{color:#25511D}
body.v-modern .chips a,body.v-modern .tag{background:#fff;border-color:var(--line)}
body.v-modern .club-tagline{color:#25511D}
body.v-modern .nav-accent>a{color:#25511D}
body.v-modern .site-head a{color:inherit}
body.v-modern .site-foot{background:#15223F;color:#fff;border-top:0}body.v-modern .site-foot a{color:#fff}
/* V3: Fortuna Elite Club mood for the whole site. Warm black, gold, burgundy, with the blue and green of the Fortuna Community logo as small accents */
body.v-club{--bg:#0E0909;--surface:#1E1113;--line:#442A2D;--ink:#F3EBD8;--ink-soft:#DDD3C3;--btn-bg:#D4A84B;--btn-ink:#0E0909;--gold:#D4A84B;--gold-text:#D4A84B}
body.v-club .site-head{--bg:#150B0D;--ink:#F3EBD8;--ink-soft:#DDD3C3;--surface:#2A1417;--line:#5A2A30;--gold:#D4A84B;--gold-text:#E2BC66;--btn-bg:#D4A84B;--btn-ink:#150B0D;border-bottom:4px solid #D4A84B}
body.v-club .eyebrow{color:#8FCB84}
body.v-club .prose a,body.v-club main a:not(.btn):not(.card){color:#9DB7F2}
body.v-club .card:hover,body.v-club .chips a:hover{border-color:#8FCB84}
body.v-club .tag{border-color:#3F6B3A;color:#B9DDB2}
body.v-club .note{border-left-color:#8FCB84}
body.v-club .club-tagline{color:#D4A84B}
body.v-club .btn-ghost{color:#F3EBD8;border-color:#F3EBD8}
body.v-club .site-foot{background:#150B0D;border-top:4px solid #D4A84B}
body.v-club .nav-accent>a{color:#E2BC66}
body.v-inst .level-up,body.v-inst .to-top,body.v-modern .level-up,body.v-modern .to-top{color:#fff;border-color:#BA893C}
body.v-club .to-top{color:#0E0909}
body.v-modern .btn:not(.btn-ghost),body.v-modern .site-head .btn-head{color:#fff}
/* Red variant: Fortuna Elite Club colours (warm black, gold, deep red) for the whole Russian reading copy */
body.v-red{--bg:#0E0909;--surface:#1C0F11;--line:#5A2228;--ink:#F3EBD8;--ink-soft:#DDD3C3;--btn-bg:#D4A84B;--btn-ink:#0E0909;--gold:#D4A84B;--gold-text:#E2BC66;--red:#C23B3B;--red-text:#F08A80;--ok:#9BD08F;--ok-bg:#1E2A1C;--knot:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='12' viewBox='0 0 28 12'%3E%3Cpath d='M0 6 L7 0 L14 6 L7 12 Z M14 6 L21 0 L28 6 L21 12 Z' fill='none' stroke='%23C23B3B' stroke-width='1.4'/%3E%3C/svg%3E")}
body.v-red .site-head{--bg:#3A0C12;--ink:#F3EBD8;--ink-soft:#EADFCB;--surface:#4C141B;--line:#7A2A32;--gold:#D4A84B;--gold-text:#E2BC66;--btn-bg:#D4A84B;--btn-ink:#0E0909;border-bottom:4px solid #D4A84B}
body.v-red .brand-mark{background:#FBF7EE;box-shadow:0 0 0 2px #D4A84B}
body.v-red .eyebrow{color:var(--red-text)}
body.v-red .prose a:not(.btn),body.v-red main a:not(.btn):not(.card){color:#F2D48A;text-decoration-color:var(--red)}
body.v-red .card,body.v-red .event,body.v-red .note{border-color:var(--line)}
body.v-red .card:hover,body.v-red .chips a:hover{border-color:var(--red-text)}
body.v-red .tag{border-color:var(--line);color:var(--ink-soft)}
body.v-red .note{border-left-color:var(--red)}
body.v-red .club-tagline,body.v-red h1{color:#F3EBD8}
body.v-red .club-tagline{color:#E2BC66}
body.v-red .btn-ghost{color:#F3EBD8;border-color:#D4A84B}
body.v-red .site-foot{background:#150B0D;border-top:4px solid var(--red);color:#DDD3C3}
body.v-red .site-foot a{color:#F2D48A}
body.v-red .nav-accent>a{color:#E2BC66}
body.v-red .to-top{color:#0E0909}
body.v-red .level-up{color:#0E0909;border-color:#3A0C12}
body.v-red input,body.v-red select,body.v-red textarea{background:var(--surface);color:var(--ink);border-color:#D4A84B}
/* Grant-officer design options (Hallmark-based): v-garden, v-loom, v-civic. Preview only via SITE_VARIANT. */
body.v-garden{--bg:#F2F1E3;--surface:#E9E8D5;--line:#CFCEB4;--ink:#1B2D21;--ink-soft:#3C4F40;--btn-bg:#2B5A2A;--btn-ink:#F6F5E9;--gold:#B08432;--gold-text:#6E5214;--ok:#2B5A2A;--ok-bg:#E1E8D2;--serif:Georgia,"Iowan Old Style","Palatino Linotype",serif;--knot:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='12' viewBox='0 0 28 12'%3E%3Cpath d='M0 6 L7 0 L14 6 L7 12 Z M14 6 L21 0 L28 6 L21 12 Z' fill='none' stroke='%232B5A2A' stroke-width='1.4'/%3E%3C/svg%3E")}
body.v-garden .site-head{--bg:#F2F1E3;--ink:#1B2D21;--ink-soft:#3C4F40;--surface:#E9E8D5;--line:#CFCEB4;--btn-bg:#2B5A2A;--btn-ink:#F6F5E9;--gold:#B08432;--gold-text:#6E5214;border-bottom:1px solid #B9B79A;box-shadow:inset 0 -4px 0 #2B5A2A}
body.v-garden .brand-mark{background:#fff;box-shadow:0 0 0 1px #B9B79A}
body.v-garden h1,body.v-garden h2{font-weight:600;letter-spacing:-.012em}
body.v-garden .btn{border-radius:999px}
body.v-garden .card,body.v-garden .event,body.v-garden .note,body.v-garden .grant-facts{background:var(--surface);border:0;border-radius:4px;box-shadow:none}
body.v-garden .note{border-left:3px solid #2B5A2A;border-radius:0 4px 4px 0}
body.v-garden .eyebrow{color:#2B5A2A}
body.v-garden .tag,body.v-garden .chips a{border-color:#B9B79A;color:var(--ink);background:transparent}
body.v-garden .prose a,body.v-garden main a:not(.btn):not(.card){text-decoration-color:#2B5A2A}
body.v-garden .site-foot{background:#1B2D21;color:#EDEBD6;border-top:0}body.v-garden .site-foot a{color:#EDEBD6}
body.v-garden .to-top,body.v-garden .level-up{color:#F6F5E9;border-color:#B08432}
body.v-garden .club-tagline{color:#2B5A2A}

body.v-loom{--bg:#F6F4EE;--surface:#EDEAE0;--line:#CFCABA;--ink:#1D1B18;--ink-soft:#47433B;--btn-bg:#1A2C60;--btn-ink:#F6F4EE;--gold:#A67A2E;--gold-text:#6B4E12;--serif:"Libre Caslon Text",Georgia,"Times New Roman",serif;--knot:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='12' viewBox='0 0 28 12'%3E%3Cpath d='M0 6 L7 0 L14 6 L7 12 Z M14 6 L21 0 L28 6 L21 12 Z' fill='none' stroke='%231A2C60' stroke-width='1.4'/%3E%3C/svg%3E")}
body.v-loom .site-head{--bg:#F6F4EE;--ink:#1D1B18;--ink-soft:#47433B;--surface:#EDEAE0;--line:#CFCABA;--btn-bg:#1A2C60;--btn-ink:#F6F4EE;--gold:#A67A2E;--gold-text:#6B4E12;border-bottom:2px solid #1D1B18;box-shadow:none}
body.v-loom .brand-mark{background:#fff;box-shadow:0 0 0 1px #1D1B18}
body.v-loom h1,body.v-loom h2{font-weight:400;letter-spacing:-.01em}
body.v-loom .btn,body.v-loom .btn-head,body.v-loom .chips a,body.v-loom .tag,body.v-loom .search-form input{border-radius:0}
body.v-loom .card,body.v-loom .event,body.v-loom .note,body.v-loom .grant-facts{background:transparent;border:0;border-top:1px solid #1D1B18;border-radius:0;box-shadow:none}
body.v-loom .note{border-left:0;background:var(--surface)}
body.v-loom .eyebrow{color:#1A2C60}
body.v-loom .tag,body.v-loom .chips a{border-color:#1D1B18;color:var(--ink);background:transparent}
body.v-loom .site-foot{background:#1A2C60;color:#F1EEE4;border-top:0}body.v-loom .site-foot a{color:#F1EEE4}
body.v-loom .to-top,body.v-loom .level-up{color:#F6F4EE;border-color:#A67A2E;border-radius:0}
body.v-loom .club-tagline{color:#1A2C60}

body.v-civic{--bg:#F5F7FA;--surface:#FFFFFF;--line:#C9D1DD;--ink:#15213F;--ink-soft:#3F4B66;--btn-bg:#25511D;--btn-ink:#FFFFFF;--gold:#BA893C;--gold-text:#7A5812;--ok:#25511D;--ok-bg:#E3EEDE;--serif:var(--sans);--knot:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='12' viewBox='0 0 28 12'%3E%3Cpath d='M0 6 L7 0 L14 6 L7 12 Z M14 6 L21 0 L28 6 L21 12 Z' fill='none' stroke='%231A2C60' stroke-width='1.4'/%3E%3C/svg%3E")}
body.v-civic .site-head{--bg:#1A2C60;--ink:#FFFFFF;--ink-soft:#DDE3F3;--surface:#25397A;--line:#4A5C99;--btn-bg:#25511D;--btn-ink:#FFFFFF;--gold:#D9A94F;--gold-text:#E6BE6E;border-bottom:4px solid #BA893C;box-shadow:none}
body.v-civic .brand-mark{background:transparent;box-shadow:none;padding:0;width:80px;height:80px}
@media (max-width:420px){body.v-civic .brand-mark{width:64px;height:64px}}
body.v-civic h1,body.v-civic h2,body.v-civic .card-t,body.v-civic .brand{font-family:var(--serif);font-weight:700}
body.v-civic h1{letter-spacing:-.02em}
body.v-civic .btn,body.v-civic .btn-head{border-radius:6px}
body.v-civic .card,body.v-civic .event,body.v-civic .grant-facts{background:#fff;border:1px solid #C9D1DD;border-radius:6px;box-shadow:0 1px 0 #C9D1DD}
body.v-civic .note{background:#fff;border:1px solid #C9D1DD;border-left:4px solid #25511D;border-radius:0 6px 6px 0}
body.v-civic .eyebrow{color:#25511D}
body.v-civic .tag,body.v-civic .chips a{background:#fff;border-color:#C9D1DD}
body.v-civic .prose a:not(.btn),body.v-civic main a:not(.btn):not(.card){color:#1A2C60}
body.v-civic .site-foot{background:#15213F;color:#fff;border-top:4px solid #25511D}body.v-civic .site-foot a{color:#fff}
body.v-civic .to-top,body.v-civic .level-up{color:#fff;border-color:#BA893C}
body.v-civic .club-tagline{color:#25511D}
body.v-civic .btn-ghost{color:#1A2C60;border-color:#1A2C60}
body.v-civic .brand{font-weight:600;font-size:1rem}
body.v-civic .nav-wide a{padding-inline:.35rem}
@media (min-width:900px) and (max-width:1360px){body.v-civic .nav-wide a{font-size:.9rem;padding-inline:.25rem}body.v-civic .brand{font-size:.95rem}}

body.v-garden .site-foot p,body.v-garden .site-foot li,body.v-garden .site-foot h2,body.v-garden .site-foot h3,body.v-loom .site-foot p,body.v-loom .site-foot li,body.v-loom .site-foot h2,body.v-loom .site-foot h3,body.v-civic .site-foot p,body.v-civic .site-foot li,body.v-civic .site-foot h2,body.v-civic .site-foot h3{color:inherit}
body.v-garden .site-foot a:not(.btn),body.v-loom .site-foot a:not(.btn),body.v-civic .site-foot a:not(.btn){color:inherit}

button,input,select,textarea{font-family:inherit}
.hero-wide h1 .ln{display:block}
.hero-wide .eyebrow{text-wrap:balance}

.legal-line{margin:.25rem 0 .75rem;font-weight:600;color:var(--ink-soft,inherit);overflow-wrap:anywhere}
.journey{list-style:none;margin:1rem 0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.5rem;counter-reset:j}
.journey li{counter-increment:j;position:relative;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:.75rem .6rem;text-align:center}
.journey li::before{content:counter(j);display:block;font:600 .85rem var(--sans);color:var(--ink-soft,inherit);margin-bottom:.25rem}
.journey li+li::after{content:"\2192";position:absolute;left:-.62rem;top:50%;transform:translateY(-50%);font-weight:600;line-height:1;z-index:1}
.journey a{font-weight:600}
@media (max-width:700px){.journey{grid-template-columns:minmax(0,1fr)}.journey li{text-align:left}.journey li::before{display:inline;margin-right:.5rem}.journey li+li::after{content:"\2193";left:50%;top:-.7rem;transform:translateX(-50%)}}
.lang-sw ul{list-style:none;margin:0;padding:0;display:flex;gap:.1rem}
.lang-sw a{display:block;padding:.45rem .55rem;border-radius:6px;font-weight:600;font-size:.9rem;letter-spacing:.02em;text-decoration:none;color:var(--ink-soft,inherit);min-height:44px;min-width:44px;text-align:center;line-height:1.7}
.lang-sw a:hover{color:var(--ink,inherit);text-decoration:underline}
.lang-sw a[aria-current]{color:var(--gold-text,#fff);box-shadow:inset 0 -3px 0 var(--gold,#D9A94F)}
@media (max-width:560px){.lang-sw a{min-width:38px;padding:.45rem .3rem;font-size:.85rem}.lang-sw ul{gap:0}body.v-civic .brand-mark{width:52px;height:52px}body.v-civic .brand{font-size:.95rem}.nav-narrow summary{padding:0 .7rem}}
@media (max-width:300px){.head-row{row-gap:.25rem}.lang-sw{order:3;flex:1 0 100%}.lang-sw ul{justify-content:flex-end}}
@media (min-width:1441px){.site-head .wrap{max-width:92rem}}
@media (max-width:1440px){.lang-sw{margin-left:auto}.nav-narrow{flex:0 0 auto;margin-left:0}.nav-narrow[open]{flex-basis:100%}}

/* Home hero on wide screens: text on the left, photo on the right, so the photo is on the first screen */
@media (min-width:1000px){
  .hero-wide{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);column-gap:2.5rem;align-items:start}
  .hero-wide>*:not(.hero-pic){grid-column:1}
  .hero-wide .hero-pic{grid-column:2;grid-row:1/span 5;margin-top:.4rem}
  .hero-wide .hero-pic.wide img{aspect-ratio:4/5;object-position:50% 40%}
  .hero-wide h1{font-size:clamp(2rem,1rem + 2.6vw,3.2rem)}
}

/* Home hero on phones and tablets: title, first paragraph, then the photo, then the rest of the text and the buttons */
@media (max-width:999px){
  .hero-wide{display:flex;flex-direction:column}
  .hero-wide>*{order:0}
  .hero-wide .hero-pic{order:1;margin-top:1rem;margin-bottom:1rem}
  .hero-wide>p:not(.lead):not(.eyebrow):not(.btn-row){order:2}
  .hero-wide .btn-row{order:3}
}
/* Phones: logo, name, EN/UA/RU and the menu button always share ONE row (checked 320-560px); the name wraps onto two lines instead of pushing the button down */
@media (max-width:560px){
.head-row{flex-wrap:wrap;gap:.4rem;padding-top:.6rem;padding-bottom:.6rem}
.brand{flex:1 1 0;min-width:0;gap:.5rem;font-size:.95rem;line-height:1.15;white-space:normal}
.brand-mark,body.v-civic .brand-mark{width:44px;height:44px}
.lang-sw{margin-left:0;flex:none}
.lang-sw a{min-width:36px;padding:.45rem .2rem;font-size:.82rem}
.nav-narrow{flex:none;margin-left:0}
.nav-narrow summary{padding:0 .6rem;font-size:.9rem}
.nav-narrow[open]{flex:1 0 100%}
.nav-narrow[open] summary{margin-left:auto}
}
@media (max-width:340px){.head-row{gap:.3rem}.brand{font-size:.8rem;gap:.35rem}.brand-mark,body.v-civic .brand-mark{width:38px;height:38px}.lang-sw a{min-width:30px;padding:.45rem .1rem;font-size:.78rem}.nav-narrow summary{padding:0 .45rem;font-size:.82rem}}
/* long words in Russian and Ukrainian headings (for example "Предпринимательство") must never push the page wider than a 320px phone */
h1,h2,h3{overflow-wrap:break-word;hyphens:auto}
@media (max-width:340px){h1{font-size:1.65rem}}
