/* =================================== */
/* Danylo Oliinyk - https://iamdev.lol/ */
/* =====November 2026 For Statoplan =====*/
/* =================================== */
/* «Стал CTO. Что дальше?» — light version of the /black + /resource design. */
/* Header, buttons, modal and footer come from css/main.css (same as /black);  */
/* here the palette is turned light and the page blocks are laid out.          */
/* 00. Light palette (overrides css/root.css variables)                        */
/* 01. Light header / footer / modal / buttons                                 */
/* 02. Shared: wrap, section, heading, cards                                   */
/* 03. Hero                                                                    */
/* 04. Intro                                                                   */
/* 05. Topics                                                                  */
/* 06. Speakers                                                                */
/* 07. Register                                                                */
/* 08. Responsive                                                              */
/* =================================== */


/* 00. Light palette Start */
:root{
    --c-bg: #FFFFFF;
    --c-alt: #F4F5F7;
    --c-ink: #16181B;
    --c-t2: #3D434A;
    --c-t3: #5E666E;
    --c-t4: #7C848C;
    --c-line: #DDE1E6;
    --c-line-2: #C9CFD6;
    --c-acc: #1F73AD;          /* text / lines: the logo blue, a bit darker to read on white */
    --c-acc-2: #268AC5;        /* the logo blue as it is */
    --c-acc-soft: rgba(38, 138, 197, .08);
    --c-mono: 'JetBrains Mono', monospace;
    --c-sans: 'IBM Plex Sans', system-ui, sans-serif;

    /* the /black components read these */
    --color-yellow-rgb: 31 115 173;
    --color-yellow: #1F73AD;
    --color-white-rgb: 22 24 27;
    --color-white: #16181B;
    --color-ink-page: #FFFFFF;
    --color-ink-card: #F4F5F7;
    --color-ink-chip: #ECEEF1;
    --color-ink-video: #E9ECEF;
    --color-ink-box: #F4F5F7;
    --color-ink-free: #FFFFFF;
    --color-ink-footer: #F4F5F7;
    --color-line: #DDE1E6;
    --color-line-soft: #E3E6EA;
    --color-line-mid: #D0D5DB;
    --color-line-grey: #C3C9D0;
    --color-line-light: #AAB1B9;
    --color-text: #16181B;
    --color-text-light: #2A2D31;
    --color-text-muted: #4A5158;
    --color-text-soft: #5B636B;
    --color-text-dim: #6B737B;
    --color-text-num: #8A9198;
}

html{ scrollbar-color: var(--c-acc) transparent; }
html::-webkit-scrollbar-track{ background: var(--c-bg); }
html::-webkit-scrollbar-thumb{ background: var(--c-acc); }

body{
    background: var(--c-bg);
    color: var(--c-ink);
    font-family: var(--c-sans);
    font-size: 17px;
    line-height: 1.6;
}

main{ overflow: visible; }
::selection{ background: var(--c-acc-2); color: #FFFFFF; }
/* 00. Light palette End */


/* 01. Light header / footer / modal / buttons Start */
header .container{ width: calc(100% - 48px); max-width: 1240px; }

header.is-scrolled .header__wrap::before{
    background: rgba(255, 255, 255, .82);
    border-color: var(--c-line);
    box-shadow: 0 16px 40px rgba(22, 24, 27, .08);
}

.header__link{ color: var(--c-t2); }
.header__link:hover{ color: var(--c-acc); }

.btn-y, .btn-o{ color: #FFFFFF; }
.btn-y{ background: var(--c-acc); border-color: var(--c-acc); }
.btn-y:hover{ background: #185E8F; color: #FFFFFF; }

@media (max-width: 1024px){
    .header__wrap-col1-ul{ background: rgba(255, 255, 255, .97) !important; border-color: var(--c-line) !important; box-shadow: 0 22px 60px rgba(22, 24, 27, .12) !important; }
}

.modal__backdrop{ background: rgba(22, 24, 27, .45); }
.modal__dialog{ background: #FFFFFF; border-color: var(--c-line); box-shadow: 0 24px 80px rgba(22, 24, 27, .18); }
.modal__bar{ position: sticky; top: 0; z-index: 2; height: 0; padding: 0; border: 0; background: none; }
.modal__bar .modal__close{ position: absolute; top: 12px; right: 12px; background: #FFFFFF; border-color: var(--c-line-2); color: var(--c-t3); }
.modal__bar .modal__close:hover{ border-color: var(--c-acc); color: var(--c-acc); }
.modal__form{ padding-top: 60px; }
.modal__fallback{ border-color: var(--c-line); color: var(--c-t3); }
.modal__fallback-link:hover{ color: var(--c-ink); }

.footer__bottom{ background: #ECEEF1; }
.footer__brand-text{ -webkit-text-stroke-color: #C9CFD6; }
.footer__brand-cursor{ box-shadow: 0 0 34px rgba(38, 138, 197, .45) !important; }

.sticky-cta{ background: rgba(255, 255, 255, .92); border-color: var(--c-line); }
/* 01. Light header / footer / modal / buttons End */


/* 02. Shared Start */
.c-wrap{
    box-sizing: border-box;
    width: 100%;
    max-width: 1288px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.c-sec{ border-bottom: 1px solid var(--c-line); }
.c-sec--alt{ background: var(--c-alt); }

.c-sec__in{
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 96px;
    padding-bottom: 96px;
}

.c-h2{
    margin: 0;
    color: var(--c-ink);
    font-family: var(--c-mono);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.01em;
    text-transform: uppercase;
}

.c-h2 span{ color: var(--c-acc); }

.c-card{
    border: 1px solid var(--c-line);
    background: #FFFFFF;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.c-card--hover:hover{
    border-color: var(--c-acc-2);
    box-shadow: 0 18px 50px rgba(31, 115, 173, .10);
    transform: translateY(-2px);
}

/* blue corner ticks, like the frames on /black */
.c-ticks{ position: relative; }
.c-ticks::before{
    content: "";
    position: absolute;
    inset: -1px;
    pointer-events: none;
    background:
        linear-gradient(var(--c-acc-2), var(--c-acc-2)) left top / 22px 2px no-repeat,
        linear-gradient(var(--c-acc-2), var(--c-acc-2)) left top / 2px 22px no-repeat,
        linear-gradient(var(--c-acc-2), var(--c-acc-2)) right bottom / 22px 2px no-repeat,
        linear-gradient(var(--c-acc-2), var(--c-acc-2)) right bottom / 2px 22px no-repeat;
}

.c-gt{ color: var(--c-acc); font-family: var(--c-mono); }

.c-btn{
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 18px 28px;
    border: 0;
    background: var(--c-acc);
    color: #FFFFFF;
    font-family: var(--c-mono);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.6;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .25s ease;
}

.c-btn:hover{ background: #185E8F; color: #FFFFFF; }
.c-btn svg{ flex-shrink: 0; width: 26px; height: 21px; transition: transform .25s ease; }
.c-btn:hover svg{ transform: translateX(4px); }
/* 02. Shared End */


/* 03. Hero Start */
.c-hero{ border-bottom: 1px solid var(--c-line); }

.c-hero__in{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 56px;
    padding-top: 170px;
    padding-bottom: 96px;
}

.c-hero__text{
    flex: 999 1 600px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.c-date{
    margin: 0;
    color: var(--c-ink);
    font-family: var(--c-mono);
    font-size: 17px;
    letter-spacing: .02em;
}

.c-date b{ color: var(--c-acc); font-weight: 400; }

.c-hero__title{
    margin: 0;
    color: var(--c-ink);
    font-family: var(--c-mono);
    font-size: clamp(46px, 7.4vw, 100px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
    text-transform: uppercase;
}

.c-hero__title span{ display: block; color: var(--c-acc); }

.c-hero__sub{
    margin: 0;
    max-width: 640px;
    color: var(--c-t2);
    font-size: 22px;
    line-height: 1.5;
}

.c-hero__cta{ padding-top: 8px; }

.c-hero__info{
    flex: 1 1 340px;
    min-width: 0;
    background: var(--c-alt);
}

.c-info{
    margin: 0;
    padding: 0;
    list-style: none;
}

.c-info li{
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--c-line);
}

.c-info li:last-child{ border-bottom: 0; }
.c-info__k{ color: var(--c-t4); font-family: var(--c-mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.c-info__v{ color: var(--c-ink); font-family: var(--c-mono); font-size: 17px; font-weight: 700; line-height: 1.45; }
/* 03. Hero End */


/* 04. Intro Start */
.c-intro__in{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
    padding-top: 112px;
    padding-bottom: 112px;
}

/* line drawing on the right: career steps, a flag on top and a dashed way further up */
.c-intro__art{
    flex-shrink: 0;
    width: 340px;
    height: auto;
    overflow: visible;
}

.c-intro__text{
    position: relative;
    max-width: 980px;
    margin: 0;
    padding-left: 40px;
    color: var(--c-ink);
    font-size: clamp(22px, 2.3vw, 30px);
    line-height: 1.5;
}

.c-intro__text::before{
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: var(--c-acc-2);
}

.c-intro__text b{ font-weight: 700; }
/* the drawing: floor and steps are drawn, then the flag, then the dashed way
   shows up and keeps running upwards, the "?" comes last and sways.
   It starts hidden (class .art-anim in the markup) and only draws in when js adds .is-in:
   transitions live on .is-in only, so nothing is ever "un-drawn". */
.art-anim .art-draw{ stroke-dasharray: 1; stroke-dashoffset: 1; }
.art-anim .art-way, .art-anim .art-tip, .art-anim .art-q{ opacity: 0; }
.art-anim .art-tip{ transform: translateY(6px); }
.art-anim .art-q{ transform: translateY(8px); }

.art-anim.is-in .art-draw{
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s cubic-bezier(.65, 0, .25, 1);
}
.art-anim.is-in .art-ground{ transition-duration: .9s; }
.art-anim.is-in .art-steps{ transition-duration: 1.3s; transition-delay: .15s; }
.art-anim.is-in .art-pole{ transition-duration: .45s; transition-delay: 1.35s; }
.art-anim.is-in .art-flag{ transition-duration: .5s; transition-delay: 1.7s; }

.art-anim.is-in .art-way, .art-anim.is-in .art-tip, .art-anim.is-in .art-q{
    opacity: 1;
    transform: none;
    transition: opacity .5s ease, transform .5s ease;
}
.art-anim.is-in .art-way{ transition-delay: 2.1s; }
.art-anim.is-in .art-tip{ transition-delay: 2.35s; }
.art-anim.is-in .art-q{ transition-delay: 2.6s; }

/* the way up keeps going, the question keeps hanging */
.art-way{ animation: artWay 1.4s linear infinite; }
.art-q{ transform-box: fill-box; transform-origin: 50% 100%; }
.is-in .art-q{ animation: artQ 3.2s ease-in-out 3.2s infinite; }
@keyframes artWay{ from{ stroke-dashoffset: 24; } to{ stroke-dashoffset: 0; } }
@keyframes artQ{ 0%, 100%{ transform: rotate(0); } 50%{ transform: rotate(-8deg) translateY(-2px); } }

@media (prefers-reduced-motion: reduce){
    .art-anim .art-draw{ stroke-dashoffset: 0; }
    .art-anim .art-way, .art-anim .art-tip, .art-anim .art-q{ opacity: 1; transform: none; }
    .art-anim.is-in .art-draw, .art-anim.is-in .art-way, .art-anim.is-in .art-tip, .art-anim.is-in .art-q{ transition: none; }
    .art-way, .is-in .art-q{ animation: none; }
}
/* 04. Intro End */


/* 05. Topics Start */
.c-topics{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.c-topic{
    display: flex;
    gap: 24px;
    padding: 36px 32px;
}

.c-topic__n{
    flex-shrink: 0;
    color: var(--c-acc);
    font-family: var(--c-mono);
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
}

.c-topic__t{
    margin: 0;
    color: var(--c-ink);
    font-size: 20px;
    line-height: 1.5;
}
/* 05. Topics End */


/* 06. Speakers Start */
.c-speakers{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.c-speaker{
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.c-speaker__photo{
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 340px;
    overflow: hidden;
    background:
        radial-gradient(60% 70% at 50% 100%, rgba(38, 138, 197, .16) 0%, rgba(38, 138, 197, 0) 70%),
        linear-gradient(180deg, #EEF1F4 0%, #E3E8EE 100%);
}

.c-speaker__photo img{
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center bottom;
    transition: transform .5s ease;
}

.c-speaker:hover .c-speaker__photo img{ transform: scale(1.03); }
/* the close-up portrait has drawn-in shoulders and a longer torso, so at full height
   the head sits at the same level and size as on the other photo */
.c-speaker__photo img.c-speaker__img--close{ height: 100%; }
/* round studio portrait: centred circle inside the same frame */
.c-speaker__photo img.c-speaker__img--round{ align-self: center; height: 88%; width: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.c-speaker__role a{ color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* until the photo arrives: initials in the same frame */
.c-speaker__initials{
    align-self: center;
    color: rgba(31, 115, 173, .35);
    font-family: var(--c-mono);
    font-size: 96px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.c-speaker__body{ padding: 24px 28px 28px; }
.c-speaker__name{ margin: 0; color: var(--c-ink); font-family: var(--c-mono); font-size: 22px; font-weight: 800; line-height: 1.3; }
.c-speaker__role{ margin: 8px 0 0; color: var(--c-t3); font-size: 16px; line-height: 1.5; }
/* 06. Speakers End */


/* 07. Register Start */
.c-reg{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
    align-items: start;
    gap: 64px;
}

.c-reg__text{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 24px;
}

.c-reg__where{ margin: 0; color: var(--c-t2); font-size: 18px; }
.c-reg__form{ margin: 0; color: var(--c-ink); font-size: 18px; font-weight: 500; }

/* the form sits in a card on the right */
.c-reg__box{
    border: 1px solid var(--c-line);
    background: #FFFFFF;
    box-shadow: 0 24px 70px rgba(22, 24, 27, .07);
}

.c-reg__formbox{ min-height: 420px; padding: 32px 32px 8px; }

.c-reg__fallback{
    margin: 0 32px;
    padding: 18px 0 26px;
    border-top: 1px solid var(--c-line);
    color: var(--c-t3);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.c-reg__fallback a{ color: var(--c-acc); text-decoration: underline; text-underline-offset: 3px; }
.c-reg__fallback a:hover{ color: var(--c-ink); }
/* 07. Register End */


/* 08. Responsive Start */
@media (max-width: 1024px){
    .c-hero__in{ padding-top: 140px; padding-bottom: 72px; gap: 40px; }
    .c-hero__info{ flex-basis: 100%; }
    .c-sec__in{ padding-top: 72px; padding-bottom: 72px; }
    .c-intro__in{ gap: 40px; padding-top: 80px; padding-bottom: 80px; }
    .c-intro__art{ width: 240px; }
    .c-speaker__photo{ height: 280px; }
    .c-reg{ grid-template-columns: 1fr; gap: 32px; }
    .c-reg__text{ padding-top: 0; }
}

@media (max-width: 767px){
    body{ font-size: 16px; }
    .c-wrap{ padding-left: 16px; padding-right: 16px; }
    header .container{ width: calc(100% - 32px); }

    .c-hero__in{ padding-top: 112px; padding-bottom: 56px; gap: 32px; }
    .c-hero__text{ gap: 20px; }
    .c-date{ font-size: 14px; }
    .c-hero__sub{ font-size: 18px; }
    .c-hero__cta .c-btn{ width: 100%; justify-content: center; }
    .c-info li{ padding: 16px 18px; }
    .c-info__v{ font-size: 15px; }

    .c-sec__in{ gap: 28px; padding-top: 56px; padding-bottom: 56px; }
    .c-h2{ font-size: 24px; }
    .c-intro__in{ padding-top: 56px; padding-bottom: 56px; }
    .c-intro__art{ display: none; }
    .c-intro__text{ padding-left: 22px; font-size: 20px; }

    .c-topics, .c-speakers{ grid-template-columns: 1fr; gap: 12px; }
    .c-topic{ gap: 16px; padding: 24px 20px; }
    .c-topic__n{ font-size: 30px; }
    .c-topic__t{ font-size: 17px; }

    .c-speaker__photo{ height: 260px; }
    .c-speaker__body{ padding: 20px; }
    .c-speaker__name{ font-size: 19px; }
    .c-speaker__role{ font-size: 15px; }

    .c-reg{ gap: 24px; }
    .c-reg__where, .c-reg__form{ font-size: 16px; }
    .c-reg__formbox{ min-height: 380px; padding: 20px 16px 4px; }
    .c-reg__fallback{ margin: 0 16px; font-size: 13px; }

    .modal__bar .modal__close{ top: 10px; right: 10px; }
}
/* 08. Responsive End */
