/* Layout repairs, using the existing site's typography and colours. */
/* Full visual audit, 11 November. */
@media(min-width:1251px){.desktop-hero .desktop-hero__stat{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.desktop-hero .desktop-hero__stat p{margin:0;max-width:280px}.desktop-hero .desktop-hero__stats{gap:20px}}
.restored-live-strip{padding:34px clamp(22px,3vw,56px);margin:0;background:#f3f0ee}
.media-list .restored-publication{background:#fff;border:0;text-decoration:none;color:#171717;gap:18px;padding:28px}
.media-list .restored-publication h2{font:600 22px/1.25 var(--font-heading);margin:0;text-transform:uppercase}
.media-list .restored-publication>span{font-size:14px;margin-top:auto}
.thank-static-events .desktop-events__cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;gap:28px}
.thank-static-events .desktop-event-card{width:100%;height:260px;min-width:0;color:#fff;background:#171717}
.thank-static-events .desktop-event-card__media{position:absolute;inset:0}
.thank-static-events .desktop-event-card__media:after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.48)}
.thank-static-events .desktop-event-card__inner{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 110px;height:100%}
.thank-static-events .desktop-event-card__content{min-width:0}
.thank-static-events .desktop-event-card__title{font-size:24px}
.thank-static-events .desktop-event-card__text{font-size:15px}
.thank-static-events .desktop-event-card__text,.thank-static-events .desktop-event-card__tag,.thank-static-events .desktop-event-card__month,.thank-static-events .desktop-event-card__time{color:#fff}
.thank-static-events .desktop-events__chips{margin-bottom:22px}
@media(max-width:1023px){
 .mobile-version .hero__title{font-size:clamp(29px,8vw,40px);hyphens:none;overflow-wrap:normal}
 .mobile-version h2,.mobile-version h3{overflow-wrap:anywhere;hyphens:auto}
 .mobile-version h2{hyphens:manual}
 .mobile-version .hero__stat-value{font-size:clamp(27px,8vw,36px)!important}
 .mobile-version .event-card .event-date{font-size:32px;white-space:nowrap}
 .track__list li::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor;top:.65em}
 .cases-page-filters,.cases-filters{display:flex;flex-wrap:wrap;max-width:100%;gap:10px}
 .cases-page-filters>details,.cases-filters>details{flex:1 1 120px;min-width:0;width:auto}
 .mobile-version .cases-filter{display:flex;flex-wrap:wrap;margin:0 0 20px;padding:0;max-width:100%;gap:10px;box-sizing:border-box}
 .mobile-version .cases-filter>details{flex:1 1 120px;min-width:0;width:auto;margin:0}
 .cases-mobile-list{grid-template-columns:minmax(0,1fr)}
 .cases-mobile-list .cases-card{min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
 .mobile-version .reviews{padding-top:28px}
}
@media(max-width:480px){.mobile-version section h2{font-size:25px;line-height:1.18}}
/* October Figma blocks. Everything is live text and original image fills. */
.club-new-blocks{font-family:var(--font-text);color:#171717}
.club-new-blocks *{box-sizing:border-box}
.club-new-blocks h2{font-family:"Circe Contrast",Georgia,serif;font-weight:400;text-transform:uppercase}
.club-new-blocks h2{scroll-margin-top:86px}
.desktop-hero__topbar-cta::after,.desktop-hero__button--primary::after{content:none}
.club-founder{position:relative;isolation:isolate;height:clamp(480px,30.96vw,613px);overflow:hidden;background:#1b1d1b;color:#fff}
.club-founder__portrait{position:absolute;z-index:-1;inset:0 7% 0 30%;overflow:hidden}
.club-founder__portrait img{display:block;width:100%;height:100%;object-fit:cover;max-width:none}
.club-founder__portrait:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#1b1d1b 0,transparent 15%,transparent 90%,#1b1d1b 100%)}
.club-founder__intro{position:absolute;left:8.2%;top:18%;width:27%}
.club-founder__intro h2{margin:0 0 20px;font-size:clamp(31px,2.27vw,45px);line-height:1.18}
.club-founder__intro mark{background:#eeff00;color:#0f0f0f;box-shadow:7px 0 #eeff00,-7px 0 #eeff00;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.club-founder__intro>p{margin:0;max-width:418px;width:85%;font-size:clamp(17px,1.11vw,22px);line-height:1.23;opacity:.9}
.club-founder__cta,.club-speakers__cta{display:inline-flex;align-items:center;justify-content:center;text-transform:uppercase;text-decoration:none;font-family:var(--font-heading);font-size:15px;min-height:61px;padding:18px 28px;color:#171717;background:#eeff00}
.club-founder__cta{margin-top:30px;width:min(309px,90%)}
.club-founder__quote{position:absolute;left:42%;top:31.8%;width:11.7%;margin:0;font-size:clamp(14px,.96vw,19px);line-height:1.21;color:rgba(255,255,255,.7)}
.club-founder__quote>img{display:block;margin-bottom:18px;max-width:40px;height:auto}
.club-founder__quote p{margin:0}
.club-founder__person{position:absolute;left:74%;top:41%;width:10%}
.club-founder__person h3{font-family:var(--font-heading);font-weight:400;font-size:clamp(16px,1.01vw,20px);line-height:1.3;text-transform:uppercase;margin:0 0 7px}
.club-founder__person p{font-size:clamp(14px,.91vw,18px);line-height:1.2;opacity:.8;margin:0}
.club-speakers{background:#26333c;color:#fff;padding:80px 8.2% 100px}
.club-speakers__head{display:flex;align-items:flex-start;justify-content:space-between;gap:32px;margin-bottom:34px}
.club-speakers h2{font-size:clamp(32px,2.27vw,45px);line-height:1.2;margin:0 0 12px}
.club-speakers__head p{font-size:clamp(18px,1.11vw,22px);line-height:1.21;margin:0;max-width:670px;opacity:.9}
.club-speakers__forbes{display:inline-block;width:68px;height:auto;vertical-align:baseline}
.club-speakers__cta{background:#fff;flex:none;min-width:240px;margin-top:6px}
.club-speakers__track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(18px,1.97vw,39px);outline-offset:6px}
.club-speaker{min-width:0;text-align:center}
.club-speaker__photo{height:auto;aspect-ratio:299/351;background:#dfb096;position:relative;overflow:hidden;margin-bottom:18px}
.club-speaker__photo img{display:block;width:100%;height:100%;object-fit:fill;object-position:bottom}
.club-speaker--tokovinin .club-speaker__photo img{transform:scaleX(-1)}
.club-speaker--konyukhov .club-speaker__photo img{position:absolute;left:3.34%;top:1.7%;width:95.99%;height:98.3%}
.club-speaker--ivanov .club-speaker__photo img{position:absolute;left:3.68%;width:90.97%}
.club-speaker h3{font-family:var(--font-heading);font-size:20px;font-weight:400;line-height:1.31;text-transform:uppercase;margin:0 0 4px}
.club-speaker>p{font-size:18px;line-height:1.3;opacity:.8;margin:0}
.club-speaker__logo{display:block;object-fit:contain;margin:8px auto 0;width:118px;height:36px}
.club-speaker__logo--wildberries{width:153px;height:29px;object-fit:fill}
.club-speaker__logo--hoff{width:64px;height:32px}
.club-new-blocks a:focus-visible{outline:3px solid #6a96ff;outline-offset:5px}
@media(max-width:1023px){
 .club-founder{height:auto;display:flex;flex-direction:column;overflow:visible;background:#fff;color:#171717;padding:30px 22px 36px}
 .club-founder__intro,.club-founder__quote,.club-founder__person,.club-founder__portrait{position:static;width:auto}
 .club-founder__intro{order:0}
 .club-founder__intro h2{font-size:25px;line-height:1.2;max-width:285px;margin:0 0 20px}
 .club-founder__desktop-break{display:none}
 .club-founder__intro>p{font-size:18px;line-height:1.21;width:auto;max-width:390px}
 .club-founder__cta{margin-top:24px;width:auto;min-height:52px}
 .club-founder__quote{order:1;color:#171717;font-size:18px;margin:30px 0 20px;max-width:420px}
 .club-founder__quote>img{filter:brightness(.25);margin-bottom:16px;max-width:35px}
 .club-founder__portrait{order:2;z-index:auto;aspect-ratio:280/181;width:100%;max-width:520px}
 .club-founder__portrait img{object-fit:cover;object-position:center 40%}
 .club-founder__portrait:after{display:none}
 .club-founder__person{order:3;position:relative;left:auto;top:auto;margin:-22px 0 0 18px;max-width:215px}
 .club-founder__person h3{display:inline-block;background:#eeff00;padding:4px 8px;font-size:18px;margin:0 0 8px}
 .club-founder__person p{font-size:17px;line-height:1.2;max-width:190px;margin-left:8px}
 .club-speakers{padding:32px 22px 36px;display:flex;flex-direction:column}
 .club-speakers__head{display:contents}
 .club-speakers__head>div{margin-bottom:22px}
 .club-speakers h2{font-size:25px;max-width:240px;margin:0 0 14px}
 .club-speakers__head p{font-size:18px;line-height:1.21;max-width:420px}
 .club-speakers__head p br{display:none}
 .club-speakers__forbes{width:58px}
 .club-speakers__track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:24px;padding:0 0 14px;scrollbar-width:thin;scrollbar-color:#dfb096 #26333c}
 .club-speaker{flex:0 0 215px;scroll-snap-align:start}
 .club-speaker h3{font-size:17px}
 .club-speaker>p{font-size:17px}
 .club-speakers__cta{order:2;align-self:center;margin-top:24px;min-width:240px}
}
.desktop-hero__content{grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:40px}
.desktop-hero__stats{width:100%;grid-template-columns:1fr;gap:22px}
.desktop-hero__stat{max-width:none;display:grid;grid-template-columns:160px 1fr;gap:16px;align-items:center}
.desktop-hero__stat strong{font-size:clamp(32px,3.3vw,54px);line-height:1.05;white-space:nowrap;margin:0}
.hero__stats{gap:20px;flex-wrap:wrap}
.hero__stats>div{min-width:110px;flex:1}
.hero__title{font-size:clamp(40px,10vw,68px);line-height:1.02;overflow-wrap:normal}
.tour-modal__dialog{max-height:92vh;overflow:auto}
.desktop-hero__topbar-cta,.hero__cta-link--lime{background:#DBFE01;color:#171717}
.hero__stat-value{white-space:nowrap;letter-spacing:-.035em}
.restored-publication{display:flex;flex-direction:column;gap:24px;padding:28px;border-top:1px solid #aaa;background:#e9e3dc;min-height:240px;color:#171717}
.restored-publication h2{margin:0;font-size:26px;line-height:1.15}
.restored-publication span{margin-top:auto}
.restored-publication:hover{background:#DBFE01}
.desktop-event-card[data-event-date]{background:linear-gradient(140deg,#262421,#6a5140)}
.desktop-event-card[data-event-date] .desktop-event-card__media img{width:100%;height:100%;object-fit:cover}
.desktop-event-card[data-event-date]{color:#fff}
.desktop-event-card[data-event-date] .desktop-event-card__title,.desktop-event-card[data-event-date] .desktop-event-card__tag,.desktop-event-card[data-event-date] .desktop-event-card__text,.desktop-event-card[data-event-date] .desktop-event-card__month,.desktop-event-card[data-event-date] .desktop-event-card__time{color:inherit}
.desktop-event-card[data-event-date]:not(.desktop-event-card--dark) .desktop-event-card__media:after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.48)}
@media(min-width:1024px) and (max-width:1250px){.desktop-hero__content{grid-template-columns:1fr}.desktop-hero__stats{display:flex;gap:32px;max-width:none}.desktop-hero__stat{display:block;flex:1}.desktop-hero__stat p{margin-top:10px}.desktop-hero__title{font-size:100px}}
@media(max-width:1023px){.hero__stats{display:grid;grid-template-columns:1fr 1fr}.hero__stats>div:last-child{grid-column:1/-1}.hero__stat-value{font-size:36px!important}.tour-modal__dialog{width:calc(100% - 24px)}}
@media(max-width:1023px){.media-list,.media-list .restored-publication{width:100%;min-width:0;box-sizing:border-box}.restored-publication h2{font-size:24px;overflow-wrap:anywhere}.media-list{padding-left:22px;padding-right:22px}}
.desktop-hero{background:linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.2)),url('../assets/optimized/2c6651413a920d6d-1920-84.webp') center/cover no-repeat #111;background-blend-mode:normal,luminosity}
.hero__image img{filter:grayscale(1)}
.story-card__title,.desktop-story-card__title{font-family:var(--font-heading);font-weight:600}
.story-card__text,.desktop-story-card__text{font-family:var(--font-text);font-weight:400}
/* Case content must flow, rather than overlap fixed grid rows. */
.desktop-story-card{grid-template-columns:132px minmax(0,1fr);grid-template-rows:118px auto;min-height:360px;height:auto;align-self:stretch}
.desktop-story-card__body{display:flex;flex-direction:column;grid-column:2;grid-row:1 / span 2;padding:26px;gap:16px;min-width:0}
.desktop-story-card__body>.desktop-story-card__eyebrow,.desktop-story-card__body>.desktop-story-card__title,.desktop-story-card__body>.desktop-story-card__text,.desktop-story-card__body>.desktop-story-card__meta,.desktop-story-card__body>.desktop-story-card__details{padding:0;margin:0;max-width:none;align-self:auto}
.desktop-story-card__title{font-size:25px;line-height:1.12}
.desktop-story-card__meta{margin-top:auto!important;flex-wrap:wrap;gap:20px;padding-top:12px!important}
.desktop-story-card__photo{height:118px;min-height:0;overflow:hidden}
.desktop-story-card__photo img{height:118px;min-height:0;object-fit:cover}
.desktop-story-card__details{margin-top:4px!important}
.desktop-story-card{display:block;position:relative;height:auto;min-height:0;align-self:start}
.desktop-story-card__photo{float:left;width:132px;height:150px}
.desktop-story-card__photo img{height:150px}
.desktop-story-card__body{display:flex;margin-left:132px;padding:26px;min-height:460px;height:auto;box-sizing:border-box}
.desktop-story-card__person{position:static;grid-area:auto}
/* Restore the original identity column beneath each portrait. */
.desktop-story-card{display:grid;grid-template-columns:132px minmax(0,1fr);grid-template-rows:150px auto;align-self:start}
.desktop-story-card__photo{float:none;grid-column:1;grid-row:1;width:132px;height:150px}
.desktop-story-card__body{grid-column:2;grid-row:1 / span 2;margin-left:0;min-height:460px}
.desktop-story-card>.desktop-story-card__person{grid-column:1;grid-row:2;align-self:start;margin:0;padding:18px 14px;border-right:1px solid rgba(23,23,23,.08);position:static;min-width:0}
@media(min-width:1024px){
.desktop-story__pages{align-items:flex-start}
.desktop-story__page{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;align-content:start;height:auto}
.desktop-story-card__body{min-height:0;height:auto}
.desktop-story-card__meta{margin-top:12px!important}
.desktop-story-card{min-height:0;height:auto}
}
.desktop-story-card__name{overflow-wrap:anywhere;hyphens:auto;max-width:100%;min-width:0}
.desktop-story-card__role{overflow-wrap:anywhere;hyphens:auto;max-width:100%;min-width:0}
.formats__card-photo img{display:block;width:100%;height:100%;object-fit:cover}
.restored-press{padding:60px clamp(22px,3vw,56px);background:#f3f0ee;color:#171717}
.restored-press h2{font-family:var(--font-display);font-weight:400;font-size:clamp(36px,4vw,64px);text-transform:uppercase}
.restored-press__cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:28px}
.restored-press>a{color:inherit;font-family:var(--font-heading)}
@media(max-width:1023px){.restored-press__cards{grid-template-columns:1fr}}
/* Press titles and card titles have separate type scales. */
.restored-press{box-sizing:border-box;scroll-margin-top:90px}
.restored-press>h2{margin:0 0 32px;font-family:var(--font-display);font-size:clamp(36px,4vw,64px);line-height:1.08}
.restored-press__cards{align-items:stretch}
.restored-press .restored-publication{box-sizing:border-box;display:flex;flex-direction:column;width:auto;min-width:0;max-width:none;min-height:290px;height:auto;padding:28px;gap:24px;border:1px solid #d7cfc7;border-radius:0;text-decoration:none;background:#e9e3dc;color:#171717}
.restored-press .restored-publication>p{margin:0;font-family:var(--font-heading);font-size:14px;letter-spacing:.04em}
.restored-press .restored-publication>h2{margin:0;font-family:var(--font-heading);font-size:26px;line-height:1.15;font-weight:600;text-transform:none;overflow-wrap:break-word}
.restored-press .restored-publication>span{margin-top:auto;font-family:var(--font-text);font-size:16px}
.restored-press .restored-publication:hover{background:#DBFE01}
.restored-press .restored-publication:focus-visible{outline:2px solid #171717;outline-offset:4px}
.restored-press>a{display:inline-flex;padding:14px 22px;background:#DBFE01;text-decoration:none;font-size:16px}
@media(max-width:1023px){.restored-press{padding:40px 22px}.restored-press .restored-publication{min-height:240px;padding:24px}.restored-press .restored-publication>h2{font-size:24px}}
/* Restore the original press component: white editorial cards on the page surface. */
.restored-press .restored-publication{background:#fff;border:0;min-height:290px;padding:30px;gap:18px}
.restored-press .restored-publication>p{font-family:var(--font-heading);font-size:20px;line-height:1.2;min-height:28px;letter-spacing:0}
.restored-press .restored-publication>h2{font-size:22px;line-height:1.25;text-transform:uppercase}
.restored-press .restored-publication>span{font-size:14px}
.restored-press .restored-publication:hover{background:#fff;box-shadow:inset 0 0 0 2px #DBFE01}
.restored-press>h2 mark{background:#DBFE01;color:inherit;padding:0 .06em}
.restored-press .restored-publication:first-child>p{color:#c49b25}
@media(max-width:1023px){.restored-press .restored-publication{padding:24px;min-height:260px}.restored-press .restored-publication>h2{font-size:21px}}
.restored-press .restored-publication:hover,.restored-publication:hover{background:#fff;box-shadow:none;border-color:transparent;transform:none}
.press-logo{height:48px;display:flex;align-items:center;margin:0 0 6px}
.press-logo img{display:block;width:auto;height:auto;max-width:200px;max-height:42px;object-fit:contain}
.press-logo--dark{background:#171717;padding:10px;width:200px;box-sizing:border-box}
.press-logo--dark img{max-width:180px;max-height:32px}
.restored-publication:hover,.restored-press .restored-publication:hover{background:#fff;box-shadow:none;border:0;transform:none}
@media(max-width:1023px){
.residents-page-filters{display:flex;flex-wrap:wrap;width:100%;min-width:0;gap:10px;box-sizing:border-box}
.residents-page-filters>details{min-width:0;flex:1 1 140px;width:auto}
.event-detail-speakers__track{display:flex;overflow-x:auto;max-width:100%;min-width:0;gap:16px}
.event-detail-speakers__track>.event-speaker-card{flex:0 0 230px;min-width:0}
}
@media(max-width:1023px){.event-detail-mobile-hero h1,.event-detail-hero h1,.small-event-page h1,h1{overflow-wrap:anywhere;hyphens:auto;max-width:100%}}

/* Keep the desktop composition throughout its actual 1024px+ range. */
@media(min-width:1024px){
 .desktop-hero{min-height:0}
 .desktop-hero__content{grid-template-columns:minmax(0,1fr) 240px;min-height:660px;padding-top:120px;padding-bottom:48px;gap:48px;align-items:end}
 .desktop-hero__title{font-size:clamp(100px,9vw,160px)}
 .desktop-hero__eyebrow{font-size:clamp(22px,1.7vw,32px)}
 .desktop-hero__lead{font-size:18px;max-width:500px}
 .desktop-hero__benefits{max-width:700px;gap:24px;margin-top:36px}
 .desktop-hero__stats{display:grid;grid-template-columns:1fr;gap:24px;width:100%}
 .desktop-hero__stat{display:flex;flex-direction:column;align-items:flex-start;gap:6px;max-width:none}
 .desktop-hero__stat strong{font-size:clamp(36px,3vw,54px)}
 .desktop-hero__stat p{margin:0;max-width:220px}
 .desktop-events__cards{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 24px)/2.5);gap:16px}
 .desktop-event-card{min-height:310px}
 .desktop-event-card__inner{box-sizing:border-box;grid-template-columns:minmax(0,1fr) 102px;gap:16px;padding:24px;height:100%}
 .desktop-event-card__title{font-size:24px;line-height:1.08;overflow-wrap:normal}
 .desktop-event-card__day{font-size:48px;line-height:1;white-space:nowrap;letter-spacing:-.06em}
 .desktop-event-card__meta{padding-left:12px}
 .desktop-sport__gallery{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:clamp(100px,9vw,172px);gap:10px}
 .desktop-sport__gallery .desktop-sport-photo{grid-column:auto;grid-row:auto;aspect-ratio:auto;height:100%;min-height:0;overflow:hidden}
 .desktop-sport__gallery .desktop-sport-photo:nth-child(-n+6){grid-column:span 2;grid-row:span 2}
 .desktop-sport__gallery .desktop-sport-photo:nth-child(n+7):nth-child(-n+10){grid-column:span 3;grid-row:span 1}
 .desktop-sport-photo img{display:block;width:100%;height:100%;object-fit:cover}
 .desktop-app__layout{grid-template-columns:minmax(260px,34%) minmax(0,1fr);gap:clamp(32px,5vw,90px);align-items:end}
 .desktop-app__phones{margin:0;min-height:0;align-self:end}
 .desktop-app__phones img{width:100%;height:auto;max-height:500px;object-fit:contain;object-position:left bottom}
 .desktop-app__content{padding:12px 0 48px;min-width:0}
 .desktop-app__title{font-size:clamp(32px,2.65vw,52px);line-height:1.08}
 .desktop-app__list{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
 .desktop-last__inner{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:40px;align-items:end;padding-top:48px}
 .desktop-last__title{font-size:clamp(32px,2.75vw,54px);line-height:1.08;text-wrap:balance}
 .desktop-last__preview img{width:100%;max-width:600px;margin:0 auto}
 .club-speaker__logo--wildberries{object-fit:contain}
}
@media(min-width:1024px) and (max-width:1350px){
 .desktop-hero__nav a{padding:0 7px;font-size:10px}
 .desktop-hero__phone-icons{display:none}
 .desktop-hero__phone-link{font-size:14px}
 .desktop-hero__brand img{width:150px}
 .desktop-hero__content{gap:32px;min-height:610px}
 .desktop-events__cards{grid-auto-columns:calc((100% - 16px)/2)}
 .desktop-app__list{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}
 .desktop-app__text{max-width:none}
}
/* Preserve faces in the final gallery row instead of narrow horizontal crops. */
@media(min-width:1024px){
 .desktop-sport__gallery{grid-template-columns:repeat(12,minmax(0,1fr))}
 .desktop-sport__gallery .desktop-sport-photo:nth-child(-n+6){grid-column:span 4;grid-row:span 2}
 .desktop-sport__gallery .desktop-sport-photo:nth-child(n+7):nth-child(-n+10){grid-column:span 3;grid-row:span 2}
 .restored-live-strip{color:#171717;padding:30px var(--desktop-pad);box-sizing:border-box}
 .club-speaker__logo--wildberries{filter:brightness(0) invert(1);object-fit:contain}
}
.club-speaker__logo--wildberries{filter:brightness(0) invert(1);object-fit:contain}
@media(min-width:1024px){.desktop-sport__gallery .desktop-sport-photo:nth-child(n+11){grid-column:span 4;grid-row:span 2}}
/* Visible editorial context distributed across the relevant homepage sections. */
.homepage-context{box-sizing:border-box;width:100%;max-width:1380px;margin:40px auto 0;padding:0 var(--desktop-pad,32px) 32px;color:#171717}
.homepage-context h2{font-family:var(--font-heading);font-size:24px;line-height:1.25;font-weight:500;text-transform:none;letter-spacing:0;margin:0 0 18px;max-width:900px}
.homepage-context p{font-family:var(--font-text);font-size:16px;line-height:1.65;margin:0 0 14px;max-width:1000px}
@media(max-width:1023px){.homepage-context{padding:0 22px 24px;margin-top:28px}.homepage-context h2{font-size:22px}.homepage-context p{font-size:15px;line-height:1.55}}
/* The step accent belongs to the labels, never to a percentage of section height. */
.desktop-track::before{content:none}
@media(min-width:1024px){
 .desktop-track__steps-head{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;background:linear-gradient(90deg,#f0d9d8,#e9c9d7);margin-top:26px;padding:12px 0}
 .desktop-track__steps-head-item{padding:0 12px;line-height:1.2}
 .desktop-track__steps{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto auto auto;gap:14px 18px;padding-top:22px}
 .desktop-track__step{display:grid;grid-row:span 3;grid-template-rows:subgrid;align-content:start}
 .desktop-track__step-title{line-height:1.15}
 .desktop-track__step-text,.desktop-track__list{margin-top:0;max-width:none}
 .desktop-track__list{align-content:start;line-height:1.5}
}
@media(min-width:1024px){
 .desktop-track__steps-head{position:relative;isolation:isolate;background:none}
 .desktop-track__steps-head::before{content:"";position:absolute;inset:0;left:calc((min(100vw,var(--desktop-shell)) - 100vw)/2 - var(--desktop-pad));right:calc((min(100vw,var(--desktop-shell)) - 100vw)/2 - var(--desktop-pad));background:linear-gradient(90deg,#f0d9d8,#e9c9d7);z-index:-1;pointer-events:none}
}

/* Give actionable event cards pointer, focus and hover feedback. */
:is([data-event-register], [data-event-url]):not(:disabled) {
  cursor: pointer;
}
:is([data-event-register], [data-event-url]):not(:disabled):focus-visible {
  outline: 3px solid #b6c400;
  outline-offset: -4px;
}
@media (hover: hover) and (pointer: fine) {
  :is([data-event-register], [data-event-url]):not(:disabled) {
    transition: filter 180ms ease, box-shadow 180ms ease;
  }
  :is([data-event-register], [data-event-url]):not(:disabled):hover {
    filter: brightness(1.1);
    box-shadow: inset 0 0 0 2px #bcc900;
  }
}
@media (prefers-reduced-motion: reduce) {
  :is([data-event-register], [data-event-url]):not(:disabled) {
    transition: none;
  }
}
.desktop-stuck-banner:has([data-event-register]) { grid-template-columns:repeat(3,minmax(0,1fr)); }
.desktop-stuck-banner:has(> :nth-child(2):last-child) { grid-template-columns:repeat(2,minmax(0,1fr)); }
.desktop-stuck-banner:has(> :first-child:last-child) { grid-template-columns:1fr; }
#club, #residents, #events, #formats, #cases, #leisure, #home, #tour, [id^="desktop-"] {
  scroll-margin-top:76px;
}
.desktop-tour__fineprint a, .tour-form__fineprint a { color:inherit; text-decoration:underline; }

.desktop-story__controls .desktop-story__arrow {
  width:auto;
  min-width:72px;
  padding-inline:12px;
  border-radius:20px;
  font-size:13px;
}
.desktop-story__page .desktop-story-card__name,
.desktop-story__page .desktop-story-card__role,
.story-card__title { hyphens:manual; overflow-wrap:break-word; }
.events-page-mobile .published-events,
.events-page-desktop .published-events {
  box-sizing:border-box; margin:auto; width:min(100%,1440px);
  padding:110px clamp(20px,4vw,60px) 80px;
}
.published-events h1 { font:400 clamp(36px,5vw,72px)/1.05 var(--font-contrast, "Circe Contrast", serif); }
.published-events h2 { margin:42px 0 18px; font-size:25px; }
.published-events__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.published-event {
  border:1px solid #e4dcd4; background:#fff; color:#171717; text-align:left;
  display:flex; flex-direction:column; padding:0; font:inherit; text-decoration:none; min-width:0;
}
.published-event > img { width:100%; aspect-ratio:16/9; object-fit:cover; }
.published-event__body { display:flex; flex:1; flex-direction:column; gap:8px; padding:18px; }
.published-event__date, .published-event__time { font-size:14px; }
.published-event__title { font-size:20px; font-weight:700; }
.published-event__description { font-size:15px; }
@media(max-width:1023px) {
  .published-events__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #club, #residents, #events, #formats, #cases, #leisure, #home, #tour { scroll-margin-top:64px; }
}
@media(max-width:575px) {
  .published-events__grid { grid-template-columns:1fr; }
}
[data-form-status]:empty { display:none; }
[data-form-status] { color:inherit; font-size:14px; line-height:1.4; margin:8px 0; }
.tour-modal__submit-row:has([data-form-status]:not(:empty)) { flex-wrap:wrap; }
[data-form-status]:not(:empty) { flex:1 0 100%; }
.published-event:disabled { cursor:default; }
.desktop-stuck-banner__item:not([hidden]) { flex:1 1 0; min-width:0; }

/* Align desktop homepage content with the main section grid. */
@media (min-width:1024px) {
  .hero-desktop-page .desktop-page {
    --homepage-gutter: max(var(--desktop-pad), calc((100% - var(--desktop-shell)) / 2 + var(--desktop-pad)));
  }
  .hero-desktop-page :is(#press-desktop, .club-speakers, .restored-live-strip) {
    padding-inline: var(--homepage-gutter);
  }
  .hero-desktop-page .homepage-context { max-width:var(--desktop-shell); }
  .hero-desktop-page .desktop-residents__inner .desktop-reviews__inner,
  .hero-desktop-page .desktop-residents__inner .homepage-context {
    padding-inline:0;
  }
  .hero-desktop-page .desktop-faq__list { max-width:none; }
}

@media (min-width:1024px) {
  .hero-desktop-page .club-founder__intro { left:var(--homepage-gutter); }
}
@media (max-width:1023px) {
  body:has(#desktop-club) .mobile-version .page {
    --homepage-gutter:16px;
  }
  body:has(#desktop-club) .mobile-version .page :is(
    .hero, .reviews, .preview, .story, .sport, .home, .app,
    .invite, .tour-form, .faq, .last, .club-founder, .club-speakers, #press-mobile,
    .formats__inner, .track__inner
  ) {
    padding-inline:var(--homepage-gutter);
  }
  body:has(#desktop-club) .mobile-version .page :is(
    .story, .sport, .home, .app, .invite, .tour-form, .faq, .last
  ) {
    max-width:none;
  }
  body:has(#desktop-club) .mobile-version :is(.reviews,.preview,.story,.invite) > .homepage-context {
    padding-inline:0;
  }
  body:has(#desktop-club) .mobile-version :is(.track,.formats) > .homepage-context {
    padding-inline:var(--homepage-gutter);
  }
}

@media (max-width:1023px) {
  body:has(#desktop-club) .mobile-version .page .hero__wrap {
    width:100%;
    max-width:none;
    margin-inline:0;
    padding-inline:0;
  }
  body:has(#desktop-club) .mobile-version .page :is(.hero,.team) {
    max-width:none;
    margin-inline:0;
    padding-inline:var(--homepage-gutter);
  }
}

/* Keep the Telegram link styled as a full button. */
a.last__button, a.desktop-last__button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  box-sizing:border-box;
}
.app__phones img, .last__preview img, .desktop-last__preview img { height:auto; }
body:has(#desktop-club) .mobile-version .app__phones {
  margin-inline:0;
}

/* The wide gallery follows the mosaic rather than stretching all photos into equal tiles. */
@media (min-width:1024px) {
  .hero-desktop-page .desktop-sport__gallery {
    grid-auto-rows:clamp(72px,7vw,126px);
  }
  .hero-desktop-page .desktop-sport__gallery .desktop-sport-photo:nth-child(1) { grid-column:1 / span 5; grid-row:1 / span 2; }
  .hero-desktop-page .desktop-sport__gallery .desktop-sport-photo:nth-child(2) { grid-column:6 / span 4; grid-row:1 / span 2; }
  .hero-desktop-page .desktop-sport__gallery .desktop-sport-photo:nth-child(3) { grid-column:10 / span 3; grid-row:1 / span 2; }
  .hero-desktop-page .desktop-sport__gallery .desktop-sport-photo:nth-child(4) { grid-column:1 / span 5; grid-row:3 / span 2; }
  .hero-desktop-page .desktop-sport__gallery .desktop-sport-photo:nth-child(5) { grid-column:6 / span 3; grid-row:3 / span 2; }
  .hero-desktop-page .desktop-sport__gallery .desktop-sport-photo:nth-child(6) { grid-column:9 / span 4; grid-row:3 / span 2; }
  .hero-desktop-page .desktop-sport__gallery .desktop-sport-photo:nth-child(n+7) { grid-column:span 3; grid-row:span 2; }
  .hero-desktop-page .desktop-sport__gallery .desktop-sport-photo:nth-child(n+11) { grid-column:span 4; grid-row:span 2; }
}

@media (min-width:1024px) {
  .desktop-story__page .desktop-story-card > .desktop-story-card__person {
    padding-inline:9px;
  }
  .desktop-story__page .desktop-story-card__name {
    font-size:12px;
  }
}

@media (min-width:1024px) {
  .hero-desktop-page .desktop-sport__gallery .desktop-sport-photo:is(:nth-child(1),:nth-child(2),:nth-child(4)) img {
    object-position:center top;
  }
}
