/* Two-tone BanglaWorks wordmark, tuned to the existing dark green palette. */
.brand {
  color: #f4f5ef;
  letter-spacing: -0.055em;
}

.brand > span:last-child {
  color: #f4f5ef;
  font-weight: 750;
}

.brand > span:last-child .brand-light {
  color: #cce898;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.brand small {
  color: #a1adb7;
}

.brand-symbol {
  box-shadow: 0 0 0 1px #cce89838, 0 0 18px #cce89820;
}

.footer-wordmark span:first-child {
  background-image: linear-gradient(#e7ffbd85, #cce89808 88%);
}

.footer-wordmark span:last-child {
  background-image: linear-gradient(#cce89868, #cce89805 88%);
  font-weight: 650;
}

@media (max-width: 640px) {
  .footer-wordmark {
    font-size: clamp(42px, 14vw, 180px);
  }
}

.field-wide{grid-column:1 / -1}

/* Mobile journey uses native horizontal scrolling and never pins the page. */
.mobile-journey{display:none}
.story-globe{pointer-events:none}
.story-nav{position:relative;z-index:8}
.candidate-group>.candidate{width:20%}

/* Keep every desktop chapter on the same 1280px grid as the sections below. */
@media(min-width:761px){
  .cinematic-story .story-sticky{
    --journey-gutter:96px;
    justify-content:flex-start;
    gap:22px;
    padding:32px 0 20px;
  }
  .cinematic-story .story-top,
  .cinematic-story .story-content,
  .cinematic-story .story-nav{
    width:min(1280px,calc(100% - var(--journey-gutter)));
    margin-inline:auto;
  }
  .cinematic-story .story-top{
    flex:none;
    padding-bottom:20px;
    border-bottom:1px solid #cce89825;
    gap:24px;
  }
  .cinematic-story .story-top>span{
    color:#d6e9b5;
    font:600 clamp(16px,1.35vw,20px)/1.4 Manrope,sans-serif;
    letter-spacing:.035em;
  }
  .cinematic-story .story-top>a{
    flex:none;
    min-height:46px;
    padding:11px 16px;
    gap:12px;
    border:1px solid #cce89855;
    border-radius:8px;
    background:#cce89808;
    color:#dcebc9;
    font-size:14px;
    line-height:1.4;
    transition:background .2s,border-color .2s;
  }
  .cinematic-story .story-top>a:hover{background:#cce89816;border-color:#cce898a0}
  .cinematic-story .story-top>a:focus-visible{outline:2px solid #cce898;outline-offset:4px}
  .cinematic-story .story-top>a svg{width:18px;height:18px}
  .cinematic-story .story-content{
    flex:0 1 auto;
    margin-block:auto;
    height:clamp(410px,58svh,600px);
    min-height:0;
    grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
    gap:52px;
    padding-top:0;
  }
  .cinematic-story .chapter-copy-stack{align-items:start;align-self:start;margin-top:clamp(20px,4svh,44px)}
  .cinematic-story .chapter-copy{max-width:520px}
  .cinematic-story .chapter-copy h2{font-size:clamp(32px,3.6vw,52px);line-height:1.12}
  .cinematic-story .chapter-copy>p:not(.world-eyebrow){max-width:460px}
  .cinematic-story .chapter-detail{max-width:460px}
  .cinematic-story .story-stage{height:100%;min-height:0;max-height:none}
  .cinematic-story .story-nav{flex:none;margin-top:0;gap:20px;padding:18px 0 4px}
  .cinematic-story .story-nav button{font-size:13px;line-height:1.45;gap:10px}
  .cinematic-story .story-nav button>span{flex:none;white-space:nowrap;font-size:11px;line-height:1.7}
}
@media(min-width:761px) and (max-width:1050px){
  .cinematic-story .story-sticky{--journey-gutter:64px;gap:18px;padding-top:24px}
  .cinematic-story .story-content{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:24px}
  .cinematic-story .story-top{gap:16px;padding-bottom:16px}
  .cinematic-story .story-top>a{padding-inline:12px;font-size:12px}
  .cinematic-story .story-nav{gap:12px}
  .cinematic-story .story-nav button{font-size:11px;gap:6px}
}
@media(min-width:761px) and (max-height:800px){
  .cinematic-story .story-sticky{gap:16px;padding-top:20px;padding-bottom:14px}
  .cinematic-story .story-top{padding-bottom:14px}
  .cinematic-story .story-content{height:clamp(360px,62svh,460px)}
  .cinematic-story .chapter-number{font-size:42px;margin-bottom:16px}
  .cinematic-story .chapter-copy .world-eyebrow{margin-bottom:12px}
  .cinematic-story .chapter-copy h2{font-size:clamp(30px,3.3vw,44px)}
  .cinematic-story .chapter-copy>p:not(.world-eyebrow){margin-top:18px;font-size:15px;line-height:1.55}
  .cinematic-story .chapter-detail{margin-top:20px;padding-top:16px}
  .cinematic-story .story-nav{padding-top:14px}
  .cinematic-story .live-brief{width:230px;padding:18px;top:6%}
  .cinematic-story .live-brief strong{font-size:24px;margin:10px 0 14px}
  .cinematic-story .brief-row{min-height:36px;font-size:11px}
  .cinematic-story .brief-status{margin-top:12px;min-height:16px;font-size:10px}
}
@media(max-width:760px), (max-width:1050px) and (pointer:coarse){
  .mobile-journey{display:block;position:relative;padding:36px 0 28px;background:#0b151e;scroll-margin-top:88px}
  .mobile-journey-heading{padding:0 5vw 22px}
  .mobile-journey-heading .eyebrow{margin:0 0 12px;font-size:10px;letter-spacing:.09em;color:#cce898}
  .mobile-journey-heading h2{font-size:clamp(26px,7vw,38px);line-height:1.14;max-width:480px;letter-spacing:-.025em}
  .mobile-journey-hint{margin:12px 0 0;color:#a8bac8;font-size:13px;line-height:1.5}
  .mobile-journey-track{display:flex;gap:14px;align-items:stretch;position:relative;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:5vw;padding:0 5vw 12px;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#cce89870 #ffffff0b;-webkit-overflow-scrolling:touch}
  .mobile-journey-track:focus-visible{outline:2px solid #cce898;outline-offset:-2px}
  .mobile-journey-card{flex:0 0 88%;min-width:0;overflow:hidden;border:1px solid #cce89826;border-radius:16px;background:#101f2a;scroll-snap-align:start;display:flex;flex-direction:column}
  .mobile-journey-card:last-child{scroll-snap-align:end}
  .mobile-picture,.mobile-route{height:clamp(190px,57vw,300px);position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at center,#203b3c,#0c1923 80%)}
  .mobile-picture>img{width:100%;height:100%;display:block;object-fit:cover}
  .mobile-picture:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#0b171dbb);pointer-events:none}
  .mobile-people>svg{width:100%;height:100%;display:block;padding:4px 4px 32px}
  .mobile-picture-badge{position:absolute;z-index:1;left:14px;right:14px;bottom:14px;padding:8px 10px;border:1px solid #cce89838;border-radius:7px;background:#0a171ee8;color:#d4e6c5;font-size:11px;line-height:1.4}
  .mobile-route>svg{display:block;width:100%;height:calc(100% - 32px);font:500 14px Manrope,sans-serif}
  .mobile-card-copy{padding:20px;display:flex;flex-direction:column;flex:1}
  .mobile-card-meta{display:flex;align-items:center;gap:12px;color:#d0e6b3;font-size:11px;line-height:1.4}
  .mobile-card-meta>span:first-child{font-size:26px;line-height:1;letter-spacing:-.04em}
  .mobile-card-meta>span:last-child{border-left:1px solid #cce89838;padding-left:12px}
  .mobile-card-place{margin:18px 0 10px;color:#91a7b1;font-size:9px;line-height:1.5;letter-spacing:.07em}
  .mobile-card-copy h3{font-size:clamp(25px,6.5vw,34px);line-height:1.16;font-weight:500;letter-spacing:-.025em;word-spacing:.03em}
  .mobile-card-text{margin:16px 0 20px;color:#bdcbd1;font-size:14px;line-height:1.65}
  .mobile-card-detail{margin:auto 0 0;border-top:1px solid #ffffff18;padding-top:14px;color:#cce0c9;font-size:11px;line-height:1.5}
  .mobile-journey-controls{display:flex;align-items:center;gap:12px;padding:14px 5vw 0;color:#b9cbb8;font-size:12px}
  .mobile-journey-controls button{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid #cce89840;border-radius:50%;color:#d3e9b8;background:#cce8980a;font-size:20px;cursor:pointer}
  .mobile-journey-controls button:disabled{opacity:.3;cursor:default}
  .mobile-journey-controls button:focus-visible{outline:2px solid #cce898;outline-offset:3px}
  .mobile-journey-controls>span{min-width:48px;text-align:center;font-variant-numeric:tabular-nums}
  .mobile-journey-controls>a{margin-left:auto;max-width:140px;text-align:right;color:#bdcbd1;font-size:11px;line-height:1.5}
}

.language-switcher{display:flex;align-items:center;gap:3px;flex:none;font-size:12px;letter-spacing:.04em}
.language-switcher a{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:36px;padding:6px;color:#b6c5c2;text-decoration:none;border-radius:5px;border:1px solid transparent}
.language-switcher a:hover,.language-switcher a:focus-visible{color:#eef5e8;border-color:#cce89880;outline-offset:3px}
.language-switcher .is-current{color:#cce898;border-color:#cce89840;background:#cce8980c}
.telegram-language-note{margin:0;color:#c4d1c6;font-size:13px;line-height:1.5}
.form-error{margin:12px 0;padding:12px 14px;border:1px solid #eab39b66;border-radius:6px;color:#ffd4bd;background:#43291e66;font-size:14px;line-height:1.5}
html[lang="en"] .world-copy h1{font-size:clamp(42px,4.9vw,82px)}
html[lang="en"] .story-nav button{overflow-wrap:anywhere}
html[lang="en"] .page-hero h1{overflow-wrap:normal;hyphens:auto}
@media(min-width:1051px) and (max-width:1299px){.desktop-nav{display:none}.menu-toggle{display:inline-flex}.header-cta{margin-left:auto}.mobile-nav.is-open{display:flex}}
@media(min-width:641px) and (max-width:1050px){html[lang="en"] .world-copy h1{font-size:8vw}}
@media(max-width:640px){
  .site-header{gap:10px}
  .site-header .brand{margin-right:auto}
  .site-header .brand small{font-size:6px;letter-spacing:.04em}
  .language-switcher{gap:0;font-size:11px}
  .language-switcher a{min-width:30px;padding:5px}
  html[lang="en"] .world-copy h1{font-size:clamp(34px,10vw,50px)}
  html[lang="en"] .story-nav button{font-size:10px}
}
@media(max-width:360px){
  .site-header{padding-inline:12px;gap:6px}
  .site-header .brand{font-size:20px;gap:8px;min-width:0}
  .site-header .brand-symbol{width:32px;height:32px;flex:none}
  .site-header .brand small{font-size:5px}
  .language-switcher a{min-width:28px}
  .pale-panel,.split-content>div{min-width:0}
  .contact-phone{white-space:normal;overflow-wrap:anywhere}
  .page-content h2{overflow-wrap:anywhere}
}

/* Keep the added Telegram action in the footer's own responsive grid. */
.footer-top{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) auto;gap:14px 32px}
.footer-top>.brand{grid-column:1;grid-row:1 / 3;min-width:0}
.footer-top>p{grid-column:2;grid-row:1 / 3;margin:0}
.footer-top>.footer-action{grid-column:3;grid-row:1;font-size:20px}
.footer-top>.bw-telegram-footer{grid-column:3;grid-row:2;margin:0!important;justify-self:start}
.footer-wordmark{font-size:clamp(44px,14.5vw,260px);line-height:1;margin:36px 0 0}
.footer-wordmark span{background-clip:text;-webkit-background-clip:text}
@media(max-width:900px){
  .footer-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
  .footer-top>.brand{grid-column:1;grid-row:1}
  .footer-top>p{grid-column:2;grid-row:1}
  .footer-top>.footer-action{grid-column:1;grid-row:2}
  .footer-top>.bw-telegram-footer{grid-column:2;grid-row:2;align-self:center}
}
@media(max-width:640px){
  .page-hero h1{overflow-wrap:anywhere}
  .footer-top{grid-template-columns:minmax(0,1fr);gap:20px}
  .footer-top>.brand,.footer-top>p,.footer-top>.footer-action,.footer-top>.bw-telegram-footer{grid-column:1;grid-row:auto}
  .footer-links{display:flex;flex-wrap:wrap;gap:16px 22px}
  .footer-bottom{align-items:flex-start;line-height:1.6}
  .footer-wordmark{margin:30px 0 0;font-size:14vw}
}

/* Give desktop headings a clear word boundary in both language versions. */
@media(min-width:1024px){
  h1,h2,h3,h4,h5,h6,
  .hero h1,.world-copy h1,.world-copy h2,
  .chapter-copy h2,.participation-list h3,
  .specialty-row>button,.specialty-trigger,
  .requirement-card strong,.ticket-route strong,.marquee-track{
    letter-spacing:-.015em;
    word-spacing:.10em;
  }
  .world-copy h1{letter-spacing:-.03em;word-spacing:.12em}
  .specialty-trigger small{word-spacing:.08em}
}
@media(min-width:1024px) and (max-width:1050px){
  html[lang="en"] .world-copy h1{font-size:6vw}
}

/* A single application section: copy, one action, and shared contact details. */
.bottom-cta{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:28px 48px;
  align-items:center;
  padding:40px;
}
.bottom-cta>div:first-child{min-width:0}
.bottom-cta .bw-bottom-copy{
  max-width:620px;
  margin:14px 0 0;
  color:#c9d3cc;
  font-size:16px;
  line-height:1.65;
}
.bottom-cta>.button{
  grid-column:2;
  grid-row:1;
  justify-self:end;
  min-height:56px;
  white-space:nowrap;
}
.bottom-cta>.bw-bottom-phones{
  grid-column:1 / -1;
  margin:0;
  padding-top:22px;
  border-top:1px solid #cce89826;
  gap:8px 28px;
  font-size:14px;
}
.bottom-cta>.bw-bottom-phones a{white-space:normal;overflow-wrap:anywhere}
.bottom-cta>.telegram-language-note{
  grid-column:1 / -1;
  margin:-12px 0 0;
  color:#a6b7ac;
  font-size:12px;
}
@media(max-width:640px){
  .bottom-cta{grid-template-columns:minmax(0,1fr);gap:24px;padding:24px}
  .bottom-cta .bw-bottom-copy{font-size:15px}
  .bottom-cta>.button{grid-column:1;grid-row:auto;justify-self:start;width:100%;white-space:normal;text-align:center}
  .bottom-cta>.bw-bottom-phones{flex-direction:column;align-items:flex-start;gap:10px;padding-top:20px}
}
