/* The Innovation Hub — additions on top of style.css: Cyrillic, the hub's links, the language switch
   and the pages behind the six ports. Same family, same black, same lime. */
@font-face {
  font-family: "Roboto Flex"; font-style: normal; font-display: swap; font-weight: 100 1000; font-stretch: 25% 151%;
  src: url("fonts/roboto-flex-cyrillic-full-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
:root { --rule: rgba(236, 235, 230, 0.14); --rule2: rgba(236, 235, 230, 0.24); }

/* ---------- the hub: every socket leads to its page ---------- */
main { pointer-events: none; }
main .hero, main .seq, main .join > *, .inner main { pointer-events: auto; }
.bub-a, .tag-a { position: absolute; z-index: 3; pointer-events: none; }
.bub-a { inset: 0; border-radius: 50%; }
.tag-a { inset: -12px -14px; }
.bubs.on .bub-a, .tag.on .tag-a { pointer-events: auto; cursor: pointer; }
.bubs.on .bub:hover .bub-ring { transform: scale(1.1); transition: transform 0.6s var(--ease); }
.bubs.on .bub:hover .bub-ph img { transform: scale(1.08); transition: transform 0.9s var(--ease); }
.tag.on:hover .tag-t { color: var(--lime); }

/* ---------- language switch ---------- */
.langs { display: flex; align-items: center; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-variation-settings: "wdth" 115, "wght" 600; }
.langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 44px; padding: 0 4px; color: var(--dim); text-decoration: none; transition: color 0.3s; }
.langs a:hover { color: var(--bone); }
.langs a[aria-current="true"] { color: var(--lime); }
.nav-langs { margin-right: -4px; }
.menu-langs { margin-left: -4px; }
.menu-open .nav .nav-langs { opacity: 0; pointer-events: none; }

/* ---------- footer ---------- */
.foot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand ports langs" "brand legal copy"; align-items: start; gap: 18px clamp(24px, 4vw, 64px); padding-top: clamp(48px, 8vh, 88px); }
.foot-brand { grid-area: brand; }
.foot-ports { grid-area: ports; display: grid !important; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 8px 32px !important; }
.foot-ports a { color: var(--soft); }
.foot-ports a span { color: var(--lime); margin-right: 10px; font-size: 12px; letter-spacing: 0.12em; }
.foot-legal { grid-area: legal; }
.foot-langs { grid-area: langs; justify-self: end; margin-top: -12px; }
.foot-c { grid-area: copy; justify-self: end; align-self: end; text-align: right; }

/* inner pages: the bar stays solid so text never runs under the logo */
.inner .nav.is-solid { background: rgba(0, 0, 0, 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); padding-top: calc(env(safe-area-inset-top, 0px) + 12px); padding-bottom: 12px; }
.inner.menu-open .nav.is-solid { background: none; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---------- skip link ---------- */
.skip { position: fixed; left: var(--gut); top: 12px; z-index: 80; padding: 10px 16px; background: var(--lime); color: #000; text-decoration: none; font-weight: 600; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* ---------- pages behind the ports ---------- */
body.inner::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(236, 235, 230, 0.03) 0 1px, transparent 1px calc((100% - 2 * var(--gut)) / 6)); background-position: var(--gut) 0; background-size: calc(100% - 2 * var(--gut)) 100%; background-repeat: no-repeat; }
.pg { position: relative; z-index: 2; padding: 0 var(--gut); }
.pg a { text-underline-offset: 3px; }
.lime { color: var(--lime); }

.patch { display: flex; margin-top: calc(env(safe-area-inset-top, 0px) + 96px); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; }
.patch::-webkit-scrollbar { display: none; }
.patch a { flex: 1 0 auto; display: flex; align-items: center; gap: 10px; padding: 14px 22px 14px 0; color: var(--dim); text-decoration: none; white-space: nowrap; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-variation-settings: "wdth" 115, "wght" 600; transition: color 0.3s; }
.patch a::before { content: ""; flex: none; width: 8px; height: 8px; border: 1.5px solid currentColor; transform: rotate(45deg); transition: background 0.3s; }
.patch a b { color: var(--lime); font-weight: inherit; }
.patch a:hover { color: var(--bone); }
.patch a[aria-current="page"] { color: var(--bone); }
.patch a[aria-current="page"]::before { border-color: var(--lime); background: var(--lime); box-shadow: 0 0 12px rgba(198, 255, 61, 0.7); }

/* hero: the bubble from the hub opens into the page */
.ph { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 6vw, 110px); align-items: center; min-height: min(84svh, 940px); padding: clamp(48px, 9vh, 120px) 0 clamp(56px, 9vh, 110px); }
.ph .kick { margin-bottom: 26px; }
.ph-t { margin: 0; font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 5.5vw, 108px); line-height: 0.92; letter-spacing: -0.012em; text-wrap: balance; }
.ph-w { display: block; font-variation-settings: "wdth" 128, "wght" 800, "opsz" 144; animation: phw 1.8s var(--ease) 0.15s both; }
.ph-w + .ph-w { animation-delay: 0.28s; }
@keyframes phw { from { font-variation-settings: "wdth" 25, "wght" 300, "opsz" 144; opacity: 0; } 18% { opacity: 1; } to { font-variation-settings: "wdth" 128, "wght" 800, "opsz" 144; opacity: 1; } }
.p-promote .ph-t { font-size: clamp(36px, 4.6vw, 92px); }
.ph-status { display: inline-flex; align-items: center; gap: 12px; margin: 26px 0 0; padding: 8px 14px; border: 1px solid rgba(198, 255, 61, 0.45); color: var(--lime); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-variation-settings: "wdth" 115, "wght" 600; }
.ph-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.ph-intro { max-width: 46ch; margin: 30px 0 0; color: var(--soft); font-size: clamp(17px, 1.3vw, 20px); }
.ph-cta { display: flex; flex-wrap: wrap; gap: 12px 34px; margin-top: 34px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 48px 0 0; border-top: 1px solid var(--rule); max-width: 720px; }
.facts div { padding: 18px 20px 0 0; }
.facts dt { font-size: clamp(26px, 2.3vw, 38px); line-height: 1; font-variation-settings: "wdth" 125, "wght" 720, "opsz" 72; }
.facts dd { margin: 10px 0 0; color: var(--dim); font-size: 13px; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; }
.ph-pic { position: relative; justify-self: end; width: min(100%, 540px); aspect-ratio: 1; --o: 1; }
.ph-ph { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #000; animation: phopen 1.4s var(--ease) both; }
.ph-ph img { width: 100%; height: 100%; object-fit: cover; animation: phzoom 2.4s var(--ease) both; }
@keyframes phopen { from { clip-path: circle(0% at 50% 50%); } to { clip-path: circle(50% at 50% 50%); } }
@keyframes phzoom { from { transform: scale(1.3); } to { transform: scale(1); } }
.ph-pic .win-ring { transform: none; opacity: 1; }
.ph-tag { position: absolute; left: 50%; bottom: -46px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; margin: 0; white-space: nowrap; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-variation-settings: "wdth" 115, "wght" 600; }
.ph-tag::before { content: ""; width: 10px; height: 10px; border: 1.5px solid var(--lime); transform: rotate(45deg); }
.ph-tag .tag-n { color: var(--lime); }

/* sections: index on the left, content on the right */
.sec { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 20px clamp(24px, 4vw, 72px); padding: clamp(64px, 11vh, 132px) 0 0; margin-top: clamp(32px, 6vh, 72px); border-top: 1px solid var(--rule); scroll-margin-top: 80px; }
.sec-n { position: sticky; top: 104px; display: flex; gap: 14px; align-items: baseline; margin: 0; color: var(--soft); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-variation-settings: "wdth" 120, "wght" 600; }
.sec-n b { color: var(--lime); font-weight: inherit; }
.sec-t { margin: 0; font-weight: 400; font-size: clamp(32px, 3.5vw, 60px); line-height: 1; letter-spacing: -0.01em; font-variation-settings: "wdth" 122, "wght" 720, "opsz" 72; text-wrap: balance; }
.lead { max-width: 58ch; margin: 24px 0 0; color: var(--soft); font-size: clamp(17px, 1.25vw, 19px); }
.note { max-width: 62ch; margin: 28px 0 0; color: var(--dim); font-size: 15px; }
.more { margin: 32px 0 0; }
.split { max-width: 64ch; margin-top: 26px; color: var(--soft); font-size: clamp(17px, 1.2vw, 19px); }
.split p { margin: 0 0 16px; }

.rows { margin-top: 48px; border-top: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px clamp(24px, 4vw, 64px); padding: 34px 0 38px; border-bottom: 1px solid var(--rule); }
.row-n { display: block; margin-bottom: 14px; color: var(--lime); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-variation-settings: "wdth" 115, "wght" 600; }
.row h3, .col h3, .not h3, .trip h3, .teacher h3, .book h3 { margin: 0; font-weight: 400; font-size: clamp(26px, 2.3vw, 40px); line-height: 1.02; letter-spacing: -0.005em; font-variation-settings: "wdth" 108, "wght" 620, "opsz" 48; transition: font-variation-settings 0.8s var(--ease), color 0.3s; }
.row:hover h3 { font-variation-settings: "wdth" 132, "wght" 760, "opsz" 48; }
.row-meta { margin: 14px 0 0; color: var(--dim); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.row-b p { margin: 0 0 14px; color: var(--soft); }
.spec { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.spec li { display: flex; gap: 14px; align-items: baseline; }
.spec li::before { content: ""; flex: none; width: 7px; height: 7px; border: 1.5px solid var(--lime); transform: translateY(-2px) rotate(45deg); }

.steps { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 28px; margin: 56px 0 0; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; left: 11px; right: 0; top: 11px; height: 1px; background: linear-gradient(90deg, var(--lime), rgba(198, 255, 61, 0.12)); }
.steps li { position: relative; padding-top: 48px; }
.steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 23px; height: 23px; border-radius: 50%; border: 1.5px solid var(--lime); background: #000 radial-gradient(circle, var(--lime) 0 3px, transparent 4px); }
.st-n { display: block; color: var(--lime); font-size: 12px; letter-spacing: 0.14em; font-variation-settings: "wdth" 115, "wght" 600; }
.steps h3 { margin: 10px 0 10px; font-weight: 400; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.1; font-variation-settings: "wdth" 110, "wght" 640, "opsz" 36; }
.steps p { margin: 0; color: var(--soft); font-size: 16px; }

.faq { margin-top: 44px; border-top: 1px solid var(--rule); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.3; font-variation-settings: "wdth" 106, "wght" 560; transition: color 0.3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px; background: linear-gradient(var(--lime), var(--lime)) center / 100% 1.5px no-repeat, linear-gradient(var(--lime), var(--lime)) center / 1.5px 100% no-repeat; transition: transform 0.45s var(--ease); }
.faq summary:hover { color: var(--lime); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 24px; max-width: 66ch; color: var(--soft); }
.faq .a p { margin: 0; }

.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 48px; border-top: 1px solid var(--rule); }
.col { padding: 30px clamp(18px, 2vw, 32px) 34px 0; border-right: 1px solid var(--rule); }
.col + .col { padding-left: clamp(18px, 2vw, 32px); }
.col:last-child { border-right: 0; }
.col p { margin: 16px 0 0; color: var(--soft); }
.not { margin-top: 48px; padding: 28px 30px 30px; border: 1px dashed var(--rule2); max-width: 900px; }
.not h3 { font-size: clamp(20px, 1.6vw, 26px); }
.not .spec li { color: var(--soft); }
.not .spec li::before { border-color: var(--dim); }

.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 48px 0 0; padding: 0; list-style: none; counter-reset: fl; }
.flow li { position: relative; padding: 0 32px 0 0; }
.flow li::before { counter-increment: fl; content: counter(fl, decimal-leading-zero); display: block; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 50%; border: 1.5px solid var(--lime); color: var(--lime); font-size: 13px; line-height: 45px; text-align: center; letter-spacing: 0.08em; font-variation-settings: "wdth" 115, "wght" 600; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 60px; right: 10px; top: 24px; height: 1px; background: var(--lime); }
.flow li:not(:last-child) b::after { content: ""; position: absolute; right: 8px; top: 20px; width: 9px; height: 9px; border-top: 1.5px solid var(--lime); border-right: 1.5px solid var(--lime); transform: rotate(45deg); }
.flow b, .flow-note b { display: block; font-weight: 400; font-size: clamp(20px, 1.7vw, 28px); line-height: 1.1; font-variation-settings: "wdth" 112, "wght" 660, "opsz" 36; }
.flow span, .flow-note span { display: block; margin-top: 8px; color: var(--soft); font-size: 16px; }
.flow-note { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: baseline; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px dashed var(--rule2); max-width: 760px; }
.flow-note b { color: var(--lime); font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase; font-variation-settings: "wdth" 115, "wght" 600; }
.flow-note span { margin: 0; }

.law { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 44px 0 0; border-top: 1px solid var(--rule); }
.law div { padding: 24px 32px 26px 0; border-bottom: 1px solid var(--rule); }
.law div:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--rule); }
.law dt { color: var(--lime); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-variation-settings: "wdth" 115, "wght" 600; }
.law dd { margin: 10px 0 0; color: var(--soft); }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; padding: 0; list-style: none; }
.tags li { padding: 9px 16px; border: 1px solid var(--rule2); font-size: 14px; letter-spacing: 0.04em; color: var(--bone); }

.feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: 44px; }
.feat-pic { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--rule); }
.feat-pic img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.35) brightness(0.86) contrast(1.06); transition: filter 1s var(--ease), transform 1.6s var(--ease); }
.feat-pic:hover img { filter: none; transform: scale(1.03); }
.feat-t { color: var(--soft); font-size: clamp(17px, 1.2vw, 19px); }
.feat-t p { margin: 0 0 16px; }

.trips { display: grid; gap: clamp(64px, 10vh, 120px); margin-top: 56px; }
.trip { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.trip:nth-child(even) .trip-pic { order: 2; justify-self: end; }
.trip-pic { position: relative; display: block; width: min(100%, 440px); aspect-ratio: 1; --o: 1; }
.trip-ph { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #000; }
.trip-ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.3) brightness(0.85) contrast(1.06); transform: scale(1.04); transition: filter 1s var(--ease), transform 1.6s var(--ease); }
.trip:hover .trip-ph img { filter: none; transform: scale(1); }
.trip-pic .win-ring { transform: none; opacity: 1; }
.trip-place { margin: 0 0 14px; color: var(--lime); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-variation-settings: "wdth" 120, "wght" 600; }
.trip h3 { font-size: clamp(32px, 3.4vw, 58px); text-transform: uppercase; font-variation-settings: "wdth" 118, "wght" 760, "opsz" 72; line-height: 0.95; }
.trip-t > p:not([class]) { max-width: 56ch; margin: 20px 0 0; color: var(--soft); }
.trip-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.trip-facts li { padding: 7px 12px; border: 1px solid var(--rule2); font-size: 13px; letter-spacing: 0.04em; }
.price { margin: 24px 0 0; }
.price b { display: block; font-weight: 400; font-size: clamp(26px, 2.2vw, 36px); line-height: 1; font-variation-settings: "wdth" 125, "wght" 720, "opsz" 72; }
.price .q { display: block; font-size: clamp(18px, 1.4vw, 22px); font-variation-settings: "wdth" 110, "wght" 600; color: var(--bone); }
.price small { display: block; margin-top: 8px; color: var(--dim); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.trip .more { margin-top: 24px; }

.teacher { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 40px; max-width: 900px; }
.mono { position: relative; width: clamp(120px, 14vw, 180px); aspect-ratio: 1; --o: 1; display: grid; place-items: center; }
.mono span { font-size: clamp(34px, 4vw, 54px); color: var(--lime); font-variation-settings: "wdth" 130, "wght" 760, "opsz" 72; }
.mono .win-ring { inset: 0; width: 100%; height: 100%; transform: none; opacity: 1; }
.role { margin: 0 0 14px; color: var(--lime); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-variation-settings: "wdth" 120, "wght" 600; }
.teacher-t p:not(.role) { margin: 0 0 14px; color: var(--soft); font-size: clamp(17px, 1.2vw, 19px); }

.work { display: grid; gap: clamp(48px, 8vh, 96px); margin-top: 48px; }
.work-i { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; text-decoration: none; }
.screen { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--rule2); background: #050505; }
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.6s var(--ease); }
.work-i:hover .screen img { transform: scale(1.03); }
.screen::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(198, 255, 61, 0); transition: box-shadow 0.5s; }
.work-i:hover .screen::after { box-shadow: inset 0 0 0 1px rgba(198, 255, 61, 0.9); }
.ep { position: absolute; inset: 0; display: grid; place-content: center; gap: 14px; text-align: center; background: radial-gradient(ellipse at 50% 60%, #15120b, #050505 70%); }
.ep b { font-weight: 400; font-size: clamp(26px, 3vw, 46px); letter-spacing: 0.32em; text-transform: uppercase; color: #d9c08a; font-variation-settings: "wdth" 120, "wght" 360, "opsz" 72; }
.ep i { font-style: normal; color: #8f8063; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; }
.ep::before { content: ""; width: 64px; height: 1px; margin: 0 auto; background: #b89b5e; order: 2; }
.ep-hub { background: radial-gradient(ellipse at 50% 50%, #0c1404, #050505 70%); }
.ep-hub img { width: 42%; max-width: 220px; margin: 0 auto; mix-blend-mode: lighten; }
.ep-hub::before { display: none; }
.work-t { display: block; }
.work-t b { display: block; font-weight: 400; font-size: clamp(30px, 3vw, 52px); line-height: 1; text-transform: uppercase; font-variation-settings: "wdth" 118, "wght" 740, "opsz" 72; transition: color 0.3s; }
.work-p { display: block; margin-top: 16px; color: var(--soft); }
.work-go { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--lime); font-variation-settings: "wdth" 125, "wght" 680; font-size: 18px; }
.work-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.4s var(--ease); }
.work-i:hover .work-go svg { transform: translateX(6px); }
.work-i:hover b { color: var(--lime); }

.posts { margin-top: 44px; border-top: 1px solid var(--rule); }
.post { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 12px 32px; padding: 30px 0 32px; border-bottom: 1px solid var(--rule); text-decoration: none; }
.post-m { color: var(--dim); font-size: 12px; line-height: 1.7; letter-spacing: 0.12em; text-transform: uppercase; font-variation-settings: "wdth" 115, "wght" 600; }
.post-b b { display: block; font-weight: 400; font-size: clamp(22px, 2vw, 34px); line-height: 1.08; font-variation-settings: "wdth" 108, "wght" 620, "opsz" 48; transition: color 0.3s, font-variation-settings 0.8s var(--ease); }
.post-b span { display: block; max-width: 64ch; margin-top: 12px; color: var(--soft); }
.post:hover .post-b b { color: var(--lime); font-variation-settings: "wdth" 122, "wght" 700, "opsz" 48; }

.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: 48px; padding-bottom: 22px; border-bottom: 2px solid var(--bone); max-width: 1000px; }
.book { position: relative; display: flex; flex-direction: column; min-height: 360px; padding: 24px 22px; border: 1px solid var(--rule2); background: linear-gradient(180deg, rgba(236, 235, 230, 0.04), rgba(236, 235, 230, 0)); }
.book::before { content: ""; position: absolute; left: 12px; top: 0; bottom: 0; width: 1px; background: var(--rule); }
.book b { color: var(--lime); font-weight: 400; font-size: 13px; letter-spacing: 0.14em; font-variation-settings: "wdth" 115, "wght" 600; }
.book h3 { margin-top: auto; font-size: clamp(22px, 1.9vw, 30px); text-transform: uppercase; font-variation-settings: "wdth" 112, "wght" 700, "opsz" 48; }
.book p { margin: 14px 0 0; color: var(--soft); font-size: 15px; }
.book-s { margin-top: 18px; color: var(--dim); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }

/* forms */
.iform { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 36px; margin-top: 44px; max-width: 880px; }
.fld { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.fld.full, .iform .consent, .iform .go, .iform .msg, .iform .hp { grid-column: 1 / -1; }
.fld > label, .fld legend { padding: 0; color: var(--dim); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-variation-settings: "wdth" 115, "wght" 600; }
.fld small { font-size: inherit; letter-spacing: inherit; text-transform: none; opacity: 0.8; }
.fld input, .fld select, .fld textarea { width: 100%; background: transparent; border: 0; border-bottom: 2px solid var(--dim); border-radius: 0; color: var(--bone); padding: 10px 0; font: inherit; font-size: clamp(18px, 1.45vw, 22px); font-variation-settings: "wdth" 106, "wght" 420; transition: border-color 0.3s; }
.fld textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.fld select { appearance: none; padding-right: 30px; cursor: pointer; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%23c6ff3d' stroke-width='2'/></svg>") right 4px center / 14px 9px no-repeat; }
.fld select option { background: #000; color: var(--bone); }
.fld input::placeholder, .fld textarea::placeholder { color: var(--dim); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--lime); }
.fld [aria-invalid="true"] { border-color: var(--err); }
.chips > div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chips label { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--rule2); cursor: pointer; transition: border-color 0.3s, color 0.3s; }
.chips input { appearance: none; width: 10px; height: 10px; margin: 0; border: 1.5px solid var(--dim); transform: rotate(45deg); transition: background 0.2s, border-color 0.2s; }
.chips label:has(input:checked) { border-color: var(--lime); color: var(--lime); }
.chips input:checked { background: var(--lime); border-color: var(--lime); }
.chips input:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(198, 255, 61, 0.5); }
.chips label:hover { border-color: var(--bone); }
.iform .consent { margin-top: 0; }
.iform .go { justify-self: start; }

.band { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(24px, 4vw, 64px); align-items: end; margin-top: clamp(72px, 12vh, 140px); padding: clamp(48px, 9vh, 96px) 0; border-top: 1px solid var(--rule); }
.band .lead { margin-top: 0; }

.credits { margin-top: clamp(56px, 9vh, 96px); padding: 22px 0 0; border-top: 1px solid var(--rule); }
.credits p { max-width: 110ch; margin: 0; color: var(--dim); font-size: 12px; line-height: 1.7; }
.credits b { color: var(--soft); font-weight: 600; margin-right: 6px; }
.credits a { color: var(--soft); }

/* article */
.art { max-width: 780px; margin: 0 auto; padding: clamp(48px, 8vh, 96px) 0 0; }
.art .kick a { text-decoration: none; }
.art-t { margin: 0; font-weight: 400; font-size: clamp(34px, 4vw, 64px); line-height: 1.02; letter-spacing: -0.01em; font-variation-settings: "wdth" 115, "wght" 740, "opsz" 72; text-wrap: balance; }
.art-m { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 22px 0 0; color: var(--dim); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.art-m a { color: var(--lime); text-decoration: none; }
.prose { margin-top: 44px; font-size: 18px; line-height: 1.72; }
.prose p, .prose li { color: #d5d4ce; }
.prose .lede { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.55; color: var(--bone); }
.prose h2 { margin: 56px 0 14px; font-weight: 400; font-size: clamp(24px, 2vw, 32px); line-height: 1.1; font-variation-settings: "wdth" 114, "wght" 680, "opsz" 48; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--lime); }
.prose strong { color: var(--bone); font-weight: 600; }
.prose a { color: var(--bone); text-decoration-color: var(--lime); text-decoration-thickness: 1.5px; }
.prose a:hover { color: var(--lime); }
.prose .disc { margin-top: 40px; color: var(--dim); font-size: 15px; }
.src { margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--rule); }
.src h2 { margin: 0 0 12px; font-weight: 400; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); font-variation-settings: "wdth" 115, "wght" 600; }
.src ol { margin: 0; padding-left: 1.2em; color: var(--dim); font-size: 14px; }
.src li { margin: 6px 0; }
.src a { color: var(--soft); }

/* legal pages inside the page frame */
.pg .legal { max-width: 780px; margin: 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 128px) 0 10vh; }
.tbl { overflow-x: auto; margin: 18px 0; border: 1px solid var(--rule); }
.tbl table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); color: var(--soft); }
.tbl th { color: var(--bone); font-weight: 600; }

/* 404 */
.nf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; min-height: 80svh; align-items: center; padding-top: 120px; }

/* Business English Lab */
.lab [hidden] { display: none !important; }
.lab { margin-top: 40px; }
.lab-tabs { display: flex; flex-wrap: wrap; gap: 0 4px; border-bottom: 1px solid var(--rule); }
.lab-tabs button { position: relative; min-height: 48px; padding: 0 18px; background: none; border: 0; color: var(--dim); font: inherit; font-size: 15px; font-variation-settings: "wdth" 112, "wght" 560; cursor: pointer; transition: color 0.3s; }
.lab-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--lime); transform: scaleX(0); transition: transform 0.5s var(--ease); }
.lab-tabs button:hover { color: var(--bone); }
.lab-tabs button[aria-selected="true"] { color: var(--bone); }
.lab-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.lab-tabs b { margin-left: 8px; color: var(--lime); font-size: 12px; font-weight: 400; }
.lab-p { padding: 40px 0 0; max-width: 820px; }
.qz-top { display: flex; justify-content: space-between; gap: 20px; color: var(--dim); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.qz-bar { height: 2px; margin: 12px 0 30px; background: rgba(236, 235, 230, 0.12); }
.qz-bar i { display: block; height: 100%; width: var(--p, 0%); background: var(--lime); transition: width 0.6s var(--ease); }
.qz-q { margin: 0; font-weight: 400; font-size: clamp(22px, 2vw, 32px); line-height: 1.2; font-variation-settings: "wdth" 106, "wght" 600, "opsz" 48; }
.qz-o { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.qz-o button { width: 100%; min-height: 56px; padding: 14px 18px; text-align: left; background: transparent; border: 1px solid var(--rule2); color: var(--bone); font: inherit; font-size: 18px; line-height: 1.4; cursor: pointer; transition: border-color 0.3s, background 0.3s, color 0.3s; }
.qz-o button:hover:not(:disabled) { border-color: var(--lime); }
.qz-o button:disabled { cursor: default; }
.qz-o button.ok { border-color: var(--lime); background: rgba(198, 255, 61, 0.1); }
.qz-o button.no { border-color: var(--err); background: rgba(255, 157, 138, 0.08); color: var(--soft); }
.qz-e { min-height: 3.2em; margin: 22px 0 0; color: var(--soft); }
.qz-e b { margin-right: 8px; color: var(--lime); font-weight: 600; }
.qz-e.no b { color: var(--err); }
.lab-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; background: transparent; border: 1px solid var(--rule2); color: var(--bone); font: inherit; font-size: 15px; font-variation-settings: "wdth" 112, "wght" 560; cursor: pointer; transition: border-color 0.3s, color 0.3s, background 0.3s; }
.btn:hover { border-color: var(--lime); color: var(--lime); }
.btn.on { background: var(--lime); border-color: var(--lime); color: #000; }
.btn:disabled { opacity: 0.45; cursor: default; }
.qz-end { padding: 8px 0 0; }
.qz-end b { display: block; font-weight: 400; font-size: clamp(56px, 7vw, 110px); line-height: 1; color: var(--lime); font-variation-settings: "wdth" 130, "wght" 780, "opsz" 144; }
.qz-end p { color: var(--soft); }
.cue-card { padding: clamp(22px, 3vw, 36px); border: 1px solid var(--rule2); background: linear-gradient(180deg, rgba(236, 235, 230, 0.04), rgba(236, 235, 230, 0)); }
.cue-card h3 { margin: 0; font-weight: 400; font-size: clamp(22px, 2vw, 30px); line-height: 1.2; font-variation-settings: "wdth" 106, "wght" 640, "opsz" 48; }
.cue-card p { margin: 18px 0 6px; color: var(--dim); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.cue-card ul { margin: 0; padding-left: 1.2em; color: var(--soft); }
.cue-card li::marker { color: var(--lime); }
.cue-card .z { margin-top: 10px; color: var(--soft); font-size: 16px; letter-spacing: 0; text-transform: none; }
.clock { display: flex; align-items: baseline; gap: 18px; margin-top: 28px; }
.clock-d { font-size: clamp(48px, 6vw, 88px); line-height: 1; font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 125, "wght" 720, "opsz" 144; }
.clock-l { color: var(--dim); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.clock.run .clock-d { color: var(--lime); }
.lab-ta { width: 100%; min-height: 150px; margin-top: 8px; padding: 16px 18px; background: transparent; border: 1px solid var(--rule2); color: var(--bone); font: inherit; font-size: 17px; line-height: 1.6; resize: vertical; }
.lab-ta:focus { outline: none; border-color: var(--lime); }
.lab-ta.big { min-height: 320px; }
.lab-lbl { display: block; margin-top: 26px; color: var(--dim); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-variation-settings: "wdth" 115, "wght" 600; }
.f3 { margin-top: 26px; padding: 18px 20px; border-left: 2px solid var(--lime); color: var(--soft); }
.f3 ol { margin: 8px 0 0; padding-left: 1.2em; }
.wc { display: flex; align-items: center; gap: 14px; margin-top: 12px; color: var(--soft); font-size: 15px; }
.wc i { position: relative; flex: 1; height: 2px; background: rgba(236, 235, 230, 0.12); }
.wc i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); background: var(--lime); transition: width 0.3s; }
.chk { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chk label { display: flex; gap: 12px; align-items: baseline; color: var(--soft); cursor: pointer; }
.chk input { accent-color: var(--lime); width: 16px; height: 16px; }
.lab-hint { margin-top: 18px; color: var(--dim); font-size: 14px; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 0.9s, transform 1.1s var(--ease), filter 1.1s var(--ease); }
.js .rv.in, .rv-all .rv { opacity: 1; transform: none; filter: none; }

/* ---------- mobile ---------- */
@media (max-width: 899px) {
  .nav .nav-langs { display: none; }
  .foot { grid-template-columns: 1fr; grid-template-areas: "brand" "ports" "legal" "langs" "copy"; }
  .foot-ports { grid-template-columns: repeat(2, minmax(0, max-content)); }
  .foot-langs, .foot-c { justify-self: start; text-align: left; margin-top: 0; }
  .patch { margin-top: calc(env(safe-area-inset-top, 0px) + 80px); margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); padding-left: var(--gut); }
  .ph { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 40px; padding-top: 40px; }
  .ph-copy, .sec-r, .sec-l { min-width: 0; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts div { padding-right: 12px; }
  .facts dt { font-size: clamp(17px, 4.8vw, 24px); font-variation-settings: "wdth" 100, "wght" 720, "opsz" 72; }
  .facts dd { font-size: 11px; letter-spacing: 0.04em; }
  .ph-pic { order: -1; justify-self: center; width: min(68vw, 320px); margin-bottom: 26px; }
  .ph-t { font-size: clamp(34px, 9.6vw, 56px); }
  .p-promote .ph-t { font-size: clamp(30px, 8.4vw, 48px); }
  .ph-w { font-variation-settings: "wdth" 112, "wght" 800, "opsz" 144; animation-name: phwm; }
  @keyframes phwm { from { font-variation-settings: "wdth" 25, "wght" 300, "opsz" 144; opacity: 0; } 18% { opacity: 1; } to { font-variation-settings: "wdth" 112, "wght" 800, "opsz" 144; opacity: 1; } }
  .sec { grid-template-columns: minmax(0, 1fr); padding-top: 56px; }
  .sec-n { position: static; }
  .row, .feat, .trip, .work-i, .post, .band, .teacher { grid-template-columns: minmax(0, 1fr); }
  .trip:nth-child(even) .trip-pic { order: 0; justify-self: start; }
  .trip-pic { width: min(76vw, 360px); }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps::before { left: 11px; right: auto; top: 12px; bottom: 12px; width: 1px; height: auto; background: linear-gradient(var(--lime), rgba(198, 255, 61, 0.12)); }
  .steps li { padding: 0 0 0 48px; }
  .cols { grid-template-columns: 1fr; }
  .col, .col + .col { padding: 26px 0 28px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .flow { grid-template-columns: 1fr; gap: 26px; }
  .flow li { padding: 0 0 0 66px; }
  .flow li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .flow li:not(:last-child)::after { left: 24px; right: auto; top: 54px; bottom: -22px; width: 1px; height: auto; }
  .flow li:not(:last-child) b::after { display: none; }
  .flow-note { grid-template-columns: 1fr; }
  .law { grid-template-columns: 1fr; }
  .law div:nth-child(even) { padding-left: 0; border-left: 0; }
  .shelf { grid-template-columns: 1fr; border-bottom: 0; padding-bottom: 0; }
  .book { min-height: 0; }
  .book h3 { margin-top: 26px; }
  .iform { grid-template-columns: minmax(0, 1fr); }
  .nf { grid-template-columns: 1fr; padding-top: 110px; gap: 56px; }
  .qz-o button { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; filter: none; }
  .ph-w { animation: none; }
}
