:root {
  --navy: #0F1E2D;
  --navy-deep: #09131E;
  --blue: #1157F8;
  --off-white: #F7F8FA;
  --white: #FFFFFF;
  --slate: #495969;
  --line-dark: rgba(15,30,45,.14);
  --line-light: rgba(255,255,255,.14);
  --shell: min(92vw, 1280px);
  --ease: cubic-bezier(.22,1,.36,1);
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--blue) var(--navy-deep); }
html::-webkit-scrollbar { width: 8px; }
html::-webkit-scrollbar-track { background: var(--navy-deep); }
html::-webkit-scrollbar-thumb { border-radius: 10px; background: var(--blue); }
body { margin: 0; color: var(--navy); background: var(--off-white); font-family: var(--font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body, main { overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { color: inherit; font: inherit; }
p, h1, h2, h3 { margin-top: 0; }
::selection { color: var(--white); background: var(--blue); }
:where(a, button, input, [tabindex]):focus-visible { outline: 3px solid #7FA6FF; outline-offset: 4px; }
[hidden] { display: none !important; }

.portal-shell { width: var(--shell); margin-inline: auto; }
.portal-skip { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 14px; color: var(--navy); background: var(--white); transform: translateY(-160%); }
.portal-skip:focus { transform: translateY(0); }
.portal-kicker { margin-bottom: 30px; color: #9EB9FF; font-size: 10px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.portal-kicker--dark { color: var(--blue); }

.portal-header { position: sticky; z-index: 100; top: 0; height: 76px; color: var(--white); background: rgba(9,19,30,.94); border-bottom: 1px solid var(--line-light); backdrop-filter: blur(16px); }
.portal-header__inner { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.portal-brand { display: block; width: 122px; }
.portal-brand img { width: 100%; height: auto; }
.portal-header__nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.portal-header__nav > a:not(.portal-header__cta) { padding: 12px 0; border-bottom: 1px solid transparent; }
.portal-header__nav > a:not(.portal-header__cta):hover { border-color: var(--blue); }
.portal-header__cta { display: inline-flex; align-items: center; gap: 28px; min-height: 48px; padding: 0 8px 0 18px; border: 1px solid rgba(255,255,255,.25); border-radius: 100px; }
.portal-header__cta span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); font-size: 16px; }

.portal-hero { position: relative; min-height: 590px; padding: clamp(100px, 11vw, 160px) 0 80px; overflow: hidden; color: var(--white); background: var(--navy); }
.portal-hero__grid, .article-hero__grid { position: absolute; inset: 0; opacity: .42; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 96px 96px; mask-image: linear-gradient(to bottom, #000, transparent 92%); }
.portal-target { position: absolute; width: min(53vw, 760px); aspect-ratio: 1; right: -19vw; top: 50%; transform: translateY(-50%); }
.portal-target i, .portal-card__target i { position: absolute; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.portal-target i:first-child { inset: 0; }
.portal-target i:nth-child(2) { inset: 18%; }
.portal-target i:nth-child(3) { inset: 36%; border-color: rgba(17,87,248,.7); }
.portal-target span, .portal-card__target span { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); transform: translate(-50%,-50%); }
.portal-hero__content { position: relative; z-index: 1; }
.portal-hero h1 { max-width: 1050px; margin-bottom: clamp(55px, 7vw, 90px); font-size: clamp(3rem, 6.4vw, 6.6rem); line-height: .94; letter-spacing: -.065em; text-wrap: balance; }
.portal-hero__bottom { display: grid; grid-template-columns: 1fr .85fr; gap: 10vw; align-items: end; padding-top: 28px; border-top: 1px solid var(--line-light); }
.portal-hero__bottom > p { max-width: 570px; margin: 0; color: rgba(255,255,255,.65); font-size: clamp(1rem, 1.5vw, 1.25rem); }
.portal-search label { display: block; margin-bottom: 10px; color: rgba(255,255,255,.6); font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.portal-search__field { display: flex; min-height: 62px; padding: 6px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; background: rgba(255,255,255,.06); }
.portal-search input { width: 100%; min-width: 0; padding: 0 16px; color: var(--white); border: 0; outline: 0; background: transparent; font-size: 16px; }
.portal-search input::placeholder { color: rgba(255,255,255,.42); }
.portal-search button { display: grid; place-items: center; flex: 0 0 48px; width: 48px; border: 0; border-radius: 6px; color: var(--white); background: var(--blue); cursor: pointer; font-size: 20px; }

.portal-feed { padding: clamp(90px, 10vw, 150px) 0; background: var(--off-white); }
.portal-feed__heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 55px; }
.portal-feed__heading h2, .related__heading h2 { max-width: 800px; margin: 0; font-size: clamp(2.6rem, 5.2vw, 5.4rem); line-height: .96; letter-spacing: -.06em; }
.portal-feed__heading > p { margin: 0; color: var(--slate); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.portal-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; padding-bottom: 24px; border-bottom: 1px solid var(--line-dark); }
.portal-filters button { min-height: 42px; padding: 0 18px; border: 1px solid var(--line-dark); border-radius: 100px; background: transparent; cursor: pointer; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: color .25s ease, background .25s ease, border-color .25s ease; }
.portal-filters button:hover, .portal-filters button.is-active { color: var(--white); border-color: var(--navy); background: var(--navy); }
.portal-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.portal-card { position: relative; display: flex; flex-direction: column; min-height: 490px; padding: clamp(30px, 4vw, 54px); overflow: hidden; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--white); }
.portal-card--featured { grid-column: 1 / -1; min-height: 570px; color: var(--white); background: var(--navy); }
.portal-card__target { position: absolute; width: 500px; height: 500px; right: -230px; bottom: -260px; opacity: .55; }
.portal-card__target i:first-child { inset: 0; }
.portal-card__target i:nth-child(2) { inset: 28%; }
.portal-card__target span { width: 28px; height: 28px; }
.portal-card__meta { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 20px; padding-bottom: 22px; color: var(--slate); border-bottom: 1px solid var(--line-dark); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.portal-card--featured .portal-card__meta { color: rgba(255,255,255,.55); border-color: var(--line-light); }
.portal-card__content { position: relative; z-index: 1; max-width: 850px; margin: auto 0; padding: 50px 0; }
.portal-card__content > p:first-child { margin-bottom: 22px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.portal-card h3 { margin-bottom: 24px; font-size: clamp(2rem, 3.5vw, 4.5rem); line-height: 1.02; letter-spacing: -.055em; }
.portal-card:not(.portal-card--featured) h3 { font-size: clamp(1.7rem, 2.4vw, 2.8rem); }
.portal-card h3 a::after { position: absolute; content: ""; inset: 0; }
.portal-card__content > p:last-child { max-width: 630px; margin: 0; color: var(--slate); }
.portal-card--featured .portal-card__content > p:last-child { color: rgba(255,255,255,.62); }
.portal-card__link { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding-top: 20px; color: var(--navy); border-top: 1px solid var(--line-dark); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.portal-card--featured .portal-card__link { color: var(--white); border-color: var(--line-light); }
.portal-card__link span { color: var(--blue); font-size: 18px; transition: transform .3s var(--ease); }
.portal-card:hover .portal-card__link span { transform: translateX(5px); }
.portal-empty { padding: 80px 24px; border: 1px solid var(--line-dark); text-align: center; }
.portal-empty p { margin-bottom: 6px; font-size: 1.6rem; font-weight: 700; }
.portal-empty span { color: var(--slate); }

.portal-contact { padding: clamp(80px, 9vw, 130px) 0; color: var(--white); background: var(--blue); }
.portal-contact__inner { display: flex; justify-content: space-between; align-items: end; gap: 60px; }
.portal-contact h2 { max-width: 850px; margin: 0; font-size: clamp(2.8rem, 5.7vw, 6.2rem); line-height: .95; letter-spacing: -.065em; }
.portal-contact__inner > a { display: flex; justify-content: space-between; align-items: center; flex: 0 0 min(360px, 100%); min-height: 68px; padding: 0 10px 0 22px; color: var(--navy); border-radius: 8px; background: var(--white); font-size: 12px; font-weight: 800; }
.portal-contact__inner > a span { display: grid; place-items: center; width: 48px; height: 48px; color: var(--white); border-radius: 6px; background: var(--navy); font-size: 20px; }
.portal-footer { padding: 56px 0; color: rgba(255,255,255,.55); background: var(--navy-deep); }
.portal-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 35px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.portal-footer p { margin: 0; }
.portal-footer__inner > a:last-child { color: var(--white); }

.article-hero { position: relative; padding: clamp(80px, 9vw, 130px) 0 clamp(90px, 10vw, 150px); overflow: hidden; color: var(--white); background: var(--navy); }
.article-hero > .portal-shell { position: relative; z-index: 1; }
.article-back { display: inline-block; margin-bottom: clamp(60px, 8vw, 110px); color: rgba(255,255,255,.62); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.article-back:hover { color: var(--white); }
.article-hero__meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 30px; color: #9EB9FF; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.article-hero h1 { max-width: 1110px; margin-bottom: 40px; font-size: clamp(3rem, 6.2vw, 6.8rem); line-height: .94; letter-spacing: -.065em; text-wrap: balance; }
.article-hero .portal-shell > p { max-width: 780px; margin: 0; color: rgba(255,255,255,.66); font-size: clamp(1.15rem, 2vw, 1.65rem); line-height: 1.35; }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); justify-content: space-between; gap: clamp(60px, 10vw, 150px); padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(90px, 12vw, 180px); }
.article-aside { position: sticky; top: 110px; align-self: start; padding-top: 22px; border-top: 2px solid var(--blue); }
.article-aside > span { color: var(--slate); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.article-aside strong { display: block; margin: 8px 0 20px; font-size: 1.35rem; }
.article-aside p { color: var(--slate); font-size: .88rem; }
.article-aside a { display: inline-block; margin-top: 18px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.article-content section + section { margin-top: 74px; padding-top: 74px; border-top: 1px solid var(--line-dark); }
.article-content h2 { margin-bottom: 30px; font-size: clamp(2rem, 3.5vw, 3.6rem); line-height: 1.05; letter-spacing: -.05em; }
.article-content p { color: #334454; font-size: clamp(1.05rem, 1.35vw, 1.18rem); line-height: 1.85; }
.article-content p + p { margin-top: 24px; }
.related { padding: clamp(90px, 10vw, 150px) 0; background: #EEF2F6; }
.related__heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 60px; }
.related__heading > a { color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.related__grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.related-card { position: relative; min-height: 390px; padding: clamp(28px, 4vw, 48px); border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--white); }
.related-card > div { display: flex; justify-content: space-between; gap: 20px; color: var(--slate); font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.related-card h3 { margin: 70px 0 24px; font-size: clamp(1.7rem, 2.6vw, 2.8rem); line-height: 1.06; letter-spacing: -.05em; }
.related-card h3 a::after { position: absolute; content: ""; inset: 0; }
.related-card p { color: var(--slate); }
.related-card > a:last-child { position: absolute; z-index: 2; left: clamp(28px, 4vw, 48px); right: clamp(28px, 4vw, 48px); bottom: 32px; padding-top: 16px; color: var(--blue); border-top: 1px solid var(--line-dark); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 820px) {
  :root { --shell: calc(100vw - 36px); }
  .portal-header { height: 70px; }
  .portal-brand { width: 112px; }
  .portal-header__nav > a:first-child { display: none; }
  .portal-header__cta { gap: 12px; padding-left: 14px; font-size: 9px; }
  .portal-header__cta span { width: 30px; height: 30px; }
  .portal-hero { min-height: 0; padding: 86px 0 72px; }
  .portal-target { width: 110vw; right: -76vw; opacity: .58; }
  .portal-hero h1 { margin-bottom: 55px; font-size: clamp(3rem, 12.6vw, 5.4rem); }
  .portal-hero__bottom, .article-layout { grid-template-columns: 1fr; }
  .portal-hero__bottom { gap: 42px; }
  .portal-search__field { min-height: 58px; }
  .portal-feed { padding: 84px 0; }
  .portal-feed__heading, .related__heading { align-items: flex-start; flex-direction: column; }
  .portal-filters { flex-wrap: nowrap; margin-inline: -18px; padding-inline: 18px; overflow-x: auto; scrollbar-width: none; }
  .portal-filters::-webkit-scrollbar { display: none; }
  .portal-filters button { flex: 0 0 auto; }
  .portal-grid, .related__grid { grid-template-columns: 1fr; }
  .portal-card--featured { grid-column: auto; }
  .portal-card, .portal-card--featured { min-height: 440px; }
  .portal-card h3, .portal-card:not(.portal-card--featured) h3 { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .portal-contact__inner { align-items: stretch; flex-direction: column; }
  .portal-contact__inner > a { flex-basis: auto; width: 100%; }
  .portal-footer__inner { align-items: flex-start; flex-direction: column; }
  .article-hero { padding: 65px 0 88px; }
  .article-back { margin-bottom: 65px; }
  .article-hero h1 { font-size: clamp(3rem, 12.5vw, 5.3rem); }
  .article-layout { gap: 75px; padding-top: 80px; }
  .article-aside { position: relative; top: auto; order: 2; }
  .article-content { order: 1; }
  .article-content section + section { margin-top: 58px; padding-top: 58px; }
  .article-content p { line-height: 1.75; }
  .related__grid { border-left: 1px solid var(--line-dark); }
}

@media (max-width: 480px) {
  :root { --shell: calc(100vw - 28px); }
  .portal-header__cta { width: 42px; min-height: 42px; padding: 5px; border: 0; }
  .portal-header__cta { font-size: 0; }
  .portal-header__cta span { width: 32px; height: 32px; font-size: 16px; }
  .portal-hero h1, .article-hero h1 { letter-spacing: -.055em; }
  .portal-filters { margin-inline: -14px; padding-inline: 14px; }
  .portal-card { min-height: 420px; padding: 28px 24px; }
  .portal-card__content { padding-block: 42px; }
  .portal-card__meta { align-items: flex-start; flex-direction: column; gap: 6px; }
  .portal-contact h2 { font-size: 2.75rem; }
  .article-hero__meta { flex-direction: column; gap: 7px; }
  .related-card { min-height: 420px; padding: 28px 24px; }
  .related-card > div { align-items: flex-start; flex-direction: column; gap: 6px; }
  .related-card > a:last-child { left: 24px; right: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
