:root {
  --bg: #09111f;
  --panel: #0f1d33;
  --panel-soft: #122744;
  --paper: #f5f7fb;
  --text: #d8e0ec;
  --text-strong: #f8fbff;
  --muted: #8ca0be;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #3dd6c6;
  --accent-deep: #16a5b1;
  --gold: #f0c36a;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --content-width: min(1180px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "PingFang SC", "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(61, 214, 198, 0.18), transparent 35%),
    radial-gradient(circle at top right, rgba(240, 195, 106, 0.14), transparent 32%),
    linear-gradient(180deg, #07111f 0%, #0a1425 100%);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(6, 14, 28, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__inner,
.site-footer__grid,
.hero,
.logo-strip,
.feature-story,
.content-band,
.split-layout,
.cta-panel,
.archive-page,
.single-page {
  width: var(--content-width);
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.site-brand img {
  width: auto;
  height: 36px;
}

.site-navigation .menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-navigation a {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.site-navigation a:hover,
.site-navigation .current-menu-item > a,
.site-navigation .current-post-ancestor > a {
  color: var(--text-strong);
}

.site-header__toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  padding: 0;
}

.site-header__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-strong);
  margin: 6px auto;
}

.site-content {
  padding-bottom: 100px;
}

.landing-page {
  padding-top: 28px;
}

.hero {
  position: relative;
  min-height: calc(100svh - 120px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 34px;
  padding: 76px;
  isolation: isolate;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(7, 17, 31, 0.92) 20%, rgba(12, 39, 68, 0.74) 60%, rgba(61, 214, 198, 0.2) 100%),
    url("/wp-content/uploads/2015/12/rgb-gradient-bar-for-logo-carrasel.jpg") center/cover no-repeat;
  transform: scale(1.04);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% 42%;
  height: 440px;
  background: radial-gradient(circle, rgba(61, 214, 198, 0.32), transparent 68%);
  z-index: -1;
}

.hero__content {
  max-width: 700px;
}

.hero__eyebrow,
.section-kicker,
.site-footer__eyebrow,
.site-footer__meta,
.post-tile__meta {
  margin: 0 0 14px;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}

.hero h1,
.feature-story h2,
.section-heading h2,
.cta-panel h2,
.page-intro h1,
.article-hero h1,
.site-footer h2 {
  margin: 0;
  font-family: "Space Grotesk", "PingFang SC", sans-serif;
  color: var(--text-strong);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3.1rem, 7vw, 6.2rem);
  max-width: 10.5em;
}

.hero__copy {
  max-width: 620px;
  font-size: 1.06rem;
  color: rgba(240, 245, 250, 0.82);
  margin: 22px 0 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: linear-gradient(135deg, var(--accent) 0%, #6bf0d9 100%);
  color: #07111f;
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.03);
}

.hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  color: rgba(240, 245, 250, 0.76);
  font-size: 0.95rem;
}

.hero__signals li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.logo-strip {
  overflow: hidden;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.logo-strip__track {
  display: flex;
  width: max-content;
  animation: protacs-marquee 36s linear infinite;
}

.logo-strip__item {
  min-width: 180px;
  padding: 28px 26px;
  display: grid;
  place-items: center;
  opacity: 0.82;
}

.logo-strip__item img {
  max-height: 42px;
  width: auto;
  filter: grayscale(1) brightness(1.15);
}

.feature-story,
.content-band,
.split-layout,
.cta-panel,
.archive-page,
.single-page {
  margin-top: 88px;
}

.feature-story {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 34px;
  align-items: stretch;
}

.feature-story__media,
.post-tile__media {
  min-height: 320px;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.feature-story__body,
.cta-panel,
.article-sidebar__panel {
  background: linear-gradient(180deg, rgba(18, 39, 68, 0.9), rgba(10, 24, 43, 0.92));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
}

.feature-story__body p {
  color: var(--muted);
}

.feature-story__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--text);
  font-size: 0.95rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.section-heading a {
  color: var(--text-strong);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.post-tile {
  display: grid;
  gap: 18px;
}

.post-tile__body h2,
.post-tile__body h3,
.list-stack__item h3 {
  margin: 0 0 10px;
  font-size: 1.32rem;
  line-height: 1.2;
  color: var(--text-strong);
}

.post-tile__body p,
.list-stack__item p,
.page-intro p,
.cta-panel p,
.article-body,
.site-footer__copy {
  color: var(--muted);
}

.split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.split-layout__column {
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
}

.split-layout__column--accent {
  background: linear-gradient(180deg, rgba(13, 35, 58, 0.94), rgba(12, 23, 41, 0.96));
}

.list-stack {
  display: grid;
  gap: 20px;
}

.list-stack__item {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.list-stack__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.cta-panel {
  position: relative;
  overflow: hidden;
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: auto -12% -55px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 214, 198, 0.24), transparent 68%);
}

.archive-page,
.single-page {
  padding-top: 44px;
}

.page-intro,
.article-hero {
  max-width: 850px;
  margin-bottom: 42px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
}

.article-body,
.article-body--page {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  font-size: 1.04rem;
}

.article-body a {
  color: var(--accent);
}

.article-body p,
.article-body li {
  margin-top: 0;
  margin-bottom: 1.2em;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  color: var(--text-strong);
  font-family: "Space Grotesk", "PingFang SC", sans-serif;
  line-height: 1.1;
}

.article-cover {
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 22px;
}

.article-cover img {
  width: 100%;
}

.article-hero__meta {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 44px 0 70px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-footer__list a {
  color: var(--text);
}

.navigation.pagination {
  margin-top: 34px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes protacs-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .site-header__toggle {
    display: inline-block;
  }

  .site-navigation {
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(7, 17, 31, 0.98);
    border: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.24s ease, transform 0.24s ease;
  }

  .nav-open .site-navigation {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-navigation .menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hero {
    min-height: auto;
    padding: 40px 28px;
  }

  .feature-story,
  .split-layout,
  .site-footer__grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header__inner,
  .site-footer__grid,
  .hero,
  .logo-strip,
  .feature-story,
  .content-band,
  .split-layout,
  .cta-panel,
  .archive-page,
  .single-page {
    width: min(100vw - 24px, 100%);
  }

  .hero h1 {
    font-size: clamp(2.3rem, 14vw, 3.8rem);
  }

  .feature-story__body,
  .cta-panel,
  .article-sidebar__panel,
  .article-body,
  .split-layout__column {
    padding: 24px;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }
}
