/* Global Talent Ukraine — site styles. Tokens taken from the season key-visual. */
:root {
  --font-heading: 'Science Gothic', 'Inter', system-ui, sans-serif;
  --font-display: 'Golos Text', 'Science Gothic', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --gt-amber: #ffbb71; --gt-sun: #fd8a3e; --gt-brown: #471f05; --gt-indigo: #1c1468; --gt-plum: #956086;
  --gt-iris: linear-gradient(90deg, #d86c1a, #fd8a3e 10%, #fdc177 30%, #fdcf86 40%, #e3b9a2 50%, #c59faf 70%, #aa7c99 80%, #9a678b 90%, #956086);
  --color-text: #e9e9ed;
  --n100: #f3f5fe; --n200: #e4e7f5; --n300: #cfd3e5; --n400: #b2b6ca; --n500: #9397ab;
  --line: rgba(255,255,255,.14); --line-soft: rgba(255,255,255,.1); --line-strong: rgba(255,255,255,.18);
  --card: rgba(255,255,255,.04); --card-hover: rgba(253,138,62,.1); --card-active: rgba(253,138,62,.18);
  --body-size: 15px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: env(safe-area-inset-top, 0px); }
body { margin: 0; background: #000; color: var(--color-text); font-family: var(--font-body); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-wrap: pretty; }
h1, h2, h3, h4 { text-transform: uppercase; letter-spacing: .012em; font-weight: 800; font-family: var(--font-heading); }
a { color: var(--gt-amber); text-decoration: none; }
a:hover { color: var(--gt-sun); }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gt-amber); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; } }

/* background */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #000; }
.bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .1; mix-blend-mode: lighten; }
.bg-spin { position: absolute; top: 50%; left: 50%; width: 160vmax; height: 160vmax; background-image: linear-gradient(45deg, #471f05 0%, #000 40%, #1c1468 100%); animation: gtSpin 120s linear infinite; will-change: transform; }
@keyframes gtSpin { from { transform: translate(-50%,-50%) rotate(0); } to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes gtIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.root { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 0 0 48px; }
/* появление при загрузке: блоки всплывают по очереди */
@keyframes gtRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes gtLogoIn { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes gtIrisGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.root > * { animation: gtRise .62s cubic-bezier(.22,.9,.3,1) both; }
.root > *:nth-child(1) { animation-delay: .02s; }
.root > *:nth-child(2) { animation-delay: .14s; }
.root > *:nth-child(3) { animation-delay: .24s; }
.root > *:nth-child(4) { animation-delay: .32s; }
.root > *:nth-child(5) { animation-delay: .4s; }
.hero h1 { animation: gtRise .7s cubic-bezier(.22,.9,.3,1) .26s both; }
.hero p { animation: gtRise .7s cubic-bezier(.22,.9,.3,1) .38s both; }
.iris { transform-origin: left center; animation: gtIrisGrow .9s cubic-bezier(.22,.9,.3,1) .5s both; }
.big-nav a { animation-delay: 0s, var(--d, .45s); }
.big-nav a:nth-child(1) { --d: .46s; }
.big-nav a:nth-child(2) { --d: .56s; }
.big-nav a:nth-child(3) { --d: .66s; }

/* hero */
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, #000 0%, rgba(0,0,0,.74) 40%, rgba(0,0,0,.2) 100%); }
.hero-in { position: relative; padding: clamp(34px, 9vw, 64px) 20px 30px; text-align: center; }
.hero-logo { display: block; width: clamp(122px, 33vw, 176px); height: auto; margin: 0 auto 15px; overflow: visible; }
/* 1. контур малюється всередині фігури */
.hero-logo .lg-line path { stroke-width: 7; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: gtDraw 2.4s cubic-bezier(.45,.05,.3,1) .15s forwards; }
.hero-logo .lg-line { animation: gtLineOut .6s ease 3.1s forwards; }
/* 2. заливка градієнтом, спалах, потім білий */
.hero-logo .lg-grad { opacity: 0; animation: gtGradIn .5s ease 2.5s forwards; }
.hero-logo .lg-white { opacity: 0; animation: gtWhiteIn .7s ease 3.3s forwards; }
.hero-logo { animation: gtFlash 1.1s ease 2.95s; }
@keyframes gtDraw { to { stroke-dashoffset: 0; } }
@keyframes gtLineOut { to { opacity: 0; } }
@keyframes gtGradIn { to { opacity: 1; } }
@keyframes gtWhiteIn { to { opacity: 1; } }
@keyframes gtFlash {
  0% { filter: none; transform: scale(1); }
  45% { filter: drop-shadow(0 0 18px rgba(255,221,180,.95)) brightness(1.5); transform: scale(1.035); }
  100% { filter: none; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) { .hero-logo .lg-white { opacity: 1; } .hero-logo .lg-line { opacity: 0; } }
.hero h1 { font-size: clamp(24px, 6.8vw, 37px); line-height: 1.02; letter-spacing: .02em; margin: 0; }
.hero p { font-size: clamp(12.5px, 3.2vw, 14px); line-height: 1.6; letter-spacing: .04em; text-transform: uppercase; margin: 14px auto 0; max-width: 46ch; color: var(--n200); }
.iris { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gt-iris); }

/* big nav */
.big-nav { display: flex; flex-direction: column; gap: 10px; padding: 24px 20px 0; }
.big-nav a { display: flex; align-items: center; justify-content: center; min-height: 74px; padding: 20px 22px; border: 1px solid transparent; border-radius: 15px; text-align: center; font-family: var(--font-heading); font-weight: 800; font-size: clamp(19px, 5vw, 22px); letter-spacing: .02em; text-transform: uppercase; line-height: 1.15; color: var(--gt-brown); transition: filter .15s;
  background-image: var(--gt-iris); background-size: 260% 100%; background-position: 0% 50%;
  animation: gtIrisFlow 16s ease-in-out infinite alternate, gtRise .66s cubic-bezier(.22,.9,.3,1) both; will-change: background-position, transform; }
.big-nav a:hover { filter: brightness(1.07); color: var(--gt-brown); }
.big-nav a:active { filter: brightness(.96); }
@keyframes gtIrisFlow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* section eyebrows */
.eyebrow-c { font-size: 14px; letter-spacing: .16em; text-align: center; margin: 0 0 6px; color: #fff; }
.sep { display: flex; justify-content: center; margin: 0 0 40px; }
.sterk { display: block; width: clamp(112px, 34vw, 190px); height: auto; color: #fff; opacity: .92; }
.st { display: block; width: 16px; height: auto; color: var(--gt-amber); }
.eyebrow-l { display: flex; align-items: baseline; gap: 12px; margin: 0 0 12px; font-size: 14px; letter-spacing: .16em; white-space: nowrap; color: var(--gt-amber); }
.eyebrow-l span { flex: none; width: 22px; height: 1px; background: var(--gt-amber); }
.eyebrow { font-family: var(--font-body); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; margin: 0; color: var(--gt-amber); font-weight: 400; }

/* events */
.events { padding: clamp(44px, 9vw, 60px) 20px 0; }
.years { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.years button { position: relative; min-height: 56px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 15px; background: transparent; cursor: pointer; font-family: var(--font-heading); font-weight: 800; font-size: clamp(20px, 5.6vw, 26px); letter-spacing: .04em; color: #6f7186; transition: background .15s, border-color .15s, color .15s; }
.years button:hover { background: rgba(255,255,255,.06); }
.years button[aria-selected="true"] { border-color: var(--line); background: var(--card); color: var(--color-text); }
.ev-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.ev { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--color-text); }
a.ev:hover { border-color: var(--gt-amber); background: rgba(253,138,62,.14); color: var(--color-text); }
.ev.soon { border-color: rgba(253,138,62,.55); background: rgba(253,138,62,.1); }
.ev-date { flex: none; width: 62px; font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.1; font-feature-settings: 'tnum' 1; color: var(--gt-amber); }
.ev-main { flex: 1; min-width: 0; display: block; }
.ev-city { display: flex; align-items: center; gap: 9px; font-family: var(--font-heading); font-weight: 800; font-size: clamp(17px, 4.4vw, 21px); letter-spacing: .02em; text-transform: uppercase; line-height: 1.15; }
.gt-mark { flex: none; display: block; width: 42px; height: 15px; color: var(--gt-amber); }
.ev-note { display: block; font-size: 12.5px; line-height: 1.35; margin-top: 5px; color: var(--n400); }
.ev-cd { flex: none; font-family: var(--font-heading); font-weight: 500; font-size: 11.5px; letter-spacing: .05em; text-align: right; line-height: 1.3; white-space: nowrap; font-feature-settings: 'tnum' 1; color: var(--gt-amber); }
.ev-arrow { flex: none; font-size: 18px; color: var(--gt-amber); }
@media (max-width: 460px) { .ev { gap: 9px; } .ev-date { width: 50px; } .gt-mark { width: 27px; height: 10px; } }
@media (max-width: 560px) {
  .ev { flex-wrap: wrap; }
  .ev-cd { order: 1; flex-basis: 100%; width: 100%; text-align: right; margin-top: 7px; }
}

/* footer */
.foot { margin-top: clamp(44px, 9vw, 64px); padding: 32px 20px 0; }
.c-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin-top: 18px; }
@media (max-width: 520px) { .c-list { grid-template-columns: 1fr; } }
.c-card { display: flex; flex-direction: column; gap: 3px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--color-text); transition: border-color .15s, background .15s; }
.c-card:hover { border-color: var(--gt-amber); background: var(--card-hover); color: var(--color-text); }
.c-lab { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gt-amber); }
.c-val { font-family: var(--font-body); font-weight: 600; font-size: 14.5px; line-height: 1.35; overflow-wrap: anywhere; color: #fff; }
.c-note { font-size: 12.5px; line-height: 1.45; color: var(--n400); }

/* партнёри */
.partners { padding: clamp(44px, 9vw, 60px) 20px 0; }
.pt-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px 4px; margin-top: 22px; align-items: center; }
@media (max-width: 700px) { .pt-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 460px) { .pt-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 4px; } }
.pt { display: flex; align-items: center; justify-content: center; min-height: 76px; padding: 10px 12px; border: 0; border-radius: 12px; background: none; opacity: .82; transition: opacity .18s, transform .18s; }
.pt:hover { opacity: 1; transform: translateY(-2px); background: none; }
.pt-static { cursor: default; }
.pt-static:hover { transform: none; }
.pt img { max-width: 100%; width: auto; object-fit: contain; }

.social { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin-top: 18px; }
@media (max-width: 380px) { .social { grid-template-columns: 1fr; } }
.social a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 6px; border: 1px solid var(--line); border-radius: 12px; font-family: var(--font-heading); font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text); }
.social a:hover { border-color: var(--gt-amber); background: var(--card-hover); }
.legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-top: 26px; padding-top: 18px; }
.legal a, .legal button { display: inline-flex; align-items: center; min-height: 40px; padding: 0; background: none; border: 0; cursor: pointer; white-space: nowrap; font-family: var(--font-body); font-size: 12.5px; color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
.legal a:hover, .legal button:hover { color: var(--gt-amber); }
.tm { font-size: 11.5px; line-height: 1.55; margin: 22px auto 0; max-width: 44ch; text-align: center; color: var(--n500); }

/* cookie banner */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); background: rgba(8,6,16,.96); backdrop-filter: blur(14px); border-top: 1px solid rgba(255,255,255,.1); }
.cookie[hidden] { display: none; }
.cookie-in { max-width: 720px; margin: 0 auto; }
.cookie p { font-size: 13.5px; line-height: 1.6; margin: 0; color: var(--n100); }
.cookie p a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); text-underline-offset: 3px; }
.cookie p a:hover { color: #fff; text-decoration-color: #fff; }
.cookie-btns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin-top: 14px; }
@media (max-width: 380px) { .cookie-btns { grid-template-columns: 1fr; } }
.btn-amber, .btn-ghost { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px; border-radius: 12px; cursor: pointer; font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.btn-amber { border: 1px solid rgba(255,255,255,.34); background: rgba(255,255,255,.1); color: #fff; }
.btn-amber:hover { border-color: #fff; background: rgba(255,255,255,.16); }
.btn-ghost { border: 1px solid rgba(255,255,255,.2); background: transparent; color: var(--n200); }
.btn-ghost:hover { border-color: #fff; color: #fff; }

/* article shell */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: rgba(0,0,0,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
@media (max-width: 460px) { .bar { gap: 8px; padding: 10px 12px; } }
.back { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 6px 0 0; color: #fff; }
.back .gt-mark { width: 40px; height: 14px; color: #fff; }
.back span { font-size: 19px; line-height: 1; }
.back:hover { opacity: .7; color: #fff; }
.font-ctl { display: flex; flex: none; gap: 6px; margin-left: auto; }
.font-ctl button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; cursor: pointer; font-family: var(--font-heading); font-weight: 800; font-size: 13px; color: var(--n200); }
.font-ctl button:last-child { font-size: 18px; }
.font-ctl button:hover { border-color: var(--gt-amber); color: var(--gt-amber); }
.pdf { display: inline-flex; align-items: center; justify-content: center; flex: none; min-height: 44px; padding: 0 14px; border: 1px solid var(--gt-amber); border-radius: 10px; font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: .06em; color: var(--gt-amber); }
.pdf:hover { background: rgba(253,138,62,.18); color: var(--gt-amber); }
.art-head { padding: 28px 20px 0; }
.art-head h1 { font-size: clamp(26px, 7.2vw, 38px); line-height: 1.06; letter-spacing: .02em; margin: 12px 0 0; }
.art-head .sub { font-size: 13px; line-height: 1.5; margin: 10px 0 0; color: var(--n400); }

/* document body */
.doc { padding: 22px 20px 0; font-size: var(--body-size); line-height: 1.8; letter-spacing: .005em; color: var(--n100); }
.doc p { margin: 0 0 18px; }
.doc ul { margin: 0 0 18px; padding-left: 22px; }
.doc li { margin-bottom: 10px; }
.doc h3 { font-size: 1.12em; line-height: 1.35; margin: 34px 0 12px; color: #fff; }
.doc h4 { font-size: 1em; line-height: 1.35; margin: 26px 0 10px; color: var(--gt-amber); text-transform: none; letter-spacing: .01em; }
.doc-flat .doc-h1 { font-size: 1.3em; line-height: 1.2; letter-spacing: .03em; margin: 30px 0 14px; color: var(--gt-amber); }
.tbl { overflow-x: auto; margin: 0 0 22px; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .93em; line-height: 1.5; }
.table th { text-align: left; font-family: var(--font-body); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: rgba(233,233,237,.6); padding: 8px 10px 8px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.table td { padding: 8px 10px 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); vertical-align: top; }
.table tbody tr:hover { background: rgba(255,255,255,.04); }
.table td:first-child, .table td.nw, .table th { white-space: nowrap; }

/* accordion */
.acc { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); overflow: hidden; transition: border-color .15s, background .15s; }
.acc:hover { border-color: rgba(255,187,113,.45); }
.acc.open { border-color: var(--gt-amber); background: rgba(253,138,62,.07); }
.acc-btn { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 66px; padding: 16px 16px; background: none; border: 0; cursor: pointer; text-align: left; color: #fff; }
.acc-btn:hover { color: #fff; }
.acc-btn span:first-child { flex: 1; min-width: 0; font-family: var(--font-heading); font-weight: 800; font-size: 1.16em; line-height: 1.22; letter-spacing: .03em; text-transform: uppercase; }
.acc.open .acc-btn span:first-child { color: var(--gt-amber); }
.acc-btn .sign { display: flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px; border: 1px solid var(--gt-amber); border-radius: 50%; font-size: 1em; line-height: 1; color: var(--gt-amber); }
.acc.open .acc-btn .sign { background: var(--gt-amber); color: var(--gt-brown); }
.acc-body { display: none; padding: 0 16px 22px; }
.acc.open .acc-body { display: block; }

/* checklist */
.chk-group { margin-bottom: 26px; }
.chk-list { display: flex; flex-direction: column; gap: 2px; }
.chk { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 11px; background: rgba(255,255,255,.035); cursor: pointer; line-height: 1.62; }
.chk:hover { background: rgba(253,138,62,.12); }
.chk input { width: 21px; height: 21px; margin: 1px 0 0; flex: none; accent-color: #fd8a3e; cursor: pointer; }
.chk .ring { position: absolute; top: 21px; left: 26px; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 2px solid var(--gt-amber); border-radius: 50%; pointer-events: none; opacity: 0; }
.chk.done { background: rgba(253,138,62,.14); color: var(--gt-amber); animation: gtPop .38s cubic-bezier(.34,1.56,.64,1); }
.chk.done .ring { animation: gtBurst .55s ease-out forwards; }
@keyframes gtPop { 0% { transform: scale(1); } 35% { transform: scale(1.035); } 100% { transform: scale(1); } }
@keyframes gtBurst { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.8); } }
.note { font-size: 13px; line-height: 1.55; margin: 12px 0 0; padding: 12px 14px; border-left: 2px solid var(--gt-sun); background: rgba(253,138,62,.08); border-radius: 0 10px 10px 0; color: var(--n200); }
.reset-row { margin: 8px 0 0; }

/* results / empty */
.empty { margin-top: 24px; padding: 28px 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--card); text-align: center; }
.empty svg { display: block; margin: 0 auto; }
.empty p { font-family: var(--font-heading); font-weight: 800; font-size: clamp(18px, 4.6vw, 21px); letter-spacing: .02em; text-transform: uppercase; line-height: 1.2; margin: 18px 0 0; }
.empty p.sub { font-family: var(--font-body); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 13.5px; color: var(--n400); margin-top: 10px; }
