:root {
  --ink: #15082a;
  --text: #2e3e45;
  --muted: #687583;
  --line: #e6e9ee;
  --soft: #f5f6f8;
  --white: #ffffff;
  --asfo: #cc3366;
  --lfc: #7263a9;
  --cefirc: #ec971f;
  --deep: #26323a;
  --shadow: 0 18px 48px rgba(21, 8, 42, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Rubik, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 42px;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: linear-gradient(135deg, var(--asfo), var(--lfc));
  border-radius: 8px;
  font-weight: 800;
}

.brand strong {
  display: block;
  color: var(--ink);
  font-family: "Bree Serif", serif;
  font-size: 25px;
  line-height: 1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--deep);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a {
  padding: 10px 0;
}

.main-nav a:hover,
.text-link:hover {
  color: var(--asfo);
}

.header-cta,
.btn,
.form-line button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.header-cta {
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 150px);
  display: grid;
  align-items: end;
  padding: 92px 42px 42px;
  overflow: hidden;
}

.hero-img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-img {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(21, 8, 42, .82), rgba(21, 8, 42, .48) 48%, rgba(21, 8, 42, .08)),
    linear-gradient(0deg, rgba(21, 8, 42, .72), rgba(21, 8, 42, .06) 52%);
}

.hero-content {
  position: relative;
  max-width: 850px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: #ffd173;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--asfo);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Bree Serif", serif;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(44px, 6vw, 88px);
}

.hero-text {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .9);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn.primary {
  color: var(--white);
  background: var(--asfo);
}

.btn.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .34);
}

.btn.dark {
  width: 100%;
  color: var(--white);
  background: var(--ink);
}

.hero-panel {
  position: absolute;
  right: 42px;
  bottom: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(520px, calc(100% - 84px));
  overflow: hidden;
  color: var(--white);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

.hero-panel div {
  padding: 18px;
  border-left: 1px solid rgba(255, 255, 255, .18);
}

.hero-panel div:first-child {
  border-left: 0;
}

.hero-panel strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.hero-panel span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
}

.ticker {
  display: flex;
  gap: 10px;
  padding: 18px 42px;
  overflow-x: auto;
  background: var(--ink);
}

.ticker span {
  flex: 0 0 auto;
  padding: 8px 13px;
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: 78px 42px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 460px) minmax(280px, 660px);
  justify-content: space-between;
  gap: 44px;
  background: var(--soft);
}

.intro-grid h2,
.section-heading h2,
.video-copy h2,
.newsletter h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 56px);
}

.intro-grid > p {
  margin: 34px 0 0;
  color: var(--deep);
  font-size: 20px;
}

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

.section-heading.compact {
  align-items: center;
}

.text-link {
  color: var(--lfc);
  font-weight: 800;
}

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

.feature-card {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) 1fr;
  min-height: 360px;
  overflow: hidden;
  color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.feature-card h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 34px;
}

.feature-card p {
  color: rgba(255, 255, 255, .86);
}

.feature-card a {
  margin-top: auto;
  font-weight: 800;
}

.feature-card.magenta {
  background: var(--asfo);
}

.feature-card.violet {
  background: var(--lfc);
}

.label {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.content-area {
  background: var(--soft);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter {
  min-height: 38px;
  padding: 0 13px;
  color: var(--deep);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.filter.is-active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 22px;
  align-items: start;
}

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

.article-card,
.publishing-card,
.structure-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 24px;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.article-card.is-hidden {
  display: none;
}

.source {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 6px 10px;
  color: var(--white);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.source.asfo {
  background: var(--asfo);
}

.source.lfc {
  background: var(--lfc);
}

.source.cefirc {
  background: var(--cefirc);
}

.article-card h3 {
  margin-bottom: 12px;
  font-size: 25px;
}

.article-card p {
  color: var(--muted);
}

.meta {
  margin-top: auto;
  padding-top: 18px;
  color: var(--deep);
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}

.publishing-card {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.publishing-card h3 {
  font-size: 30px;
}

.publishing-card ol {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--deep);
  font-weight: 600;
}

.video-band {
  display: grid;
  grid-template-columns: minmax(280px, 560px) minmax(280px, 1fr);
  gap: 44px;
  align-items: center;
  color: var(--white);
  background: var(--ink);
}

.video-copy h2 {
  color: var(--white);
}

.video-copy p:last-child {
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
}

.video-stack {
  display: grid;
  gap: 14px;
}

.video-stack article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
}

.video-stack span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--ink);
  background: #ffd173;
  border-radius: 8px;
  font-weight: 900;
}

.video-stack strong {
  font-size: 20px;
}

.video-stack small {
  color: rgba(255, 255, 255, .72);
}

.structure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.structure-grid article {
  min-height: 240px;
  padding: 26px;
}

.dot {
  display: block;
  width: 18px;
  height: 18px;
  margin-bottom: 26px;
  border-radius: 50%;
}

.magenta-dot {
  background: var(--asfo);
}

.violet-dot {
  background: var(--lfc);
}

.amber-dot {
  background: var(--cefirc);
}

.structure-grid h3 {
  font-size: 30px;
}

.structure-grid p {
  color: var(--muted);
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(260px, 470px) minmax(280px, 620px);
  gap: 44px;
  align-items: center;
  padding: 78px 42px;
  background: #fff8ed;
}

.newsletter img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.newsletter p {
  color: var(--deep);
  font-size: 18px;
}

form {
  margin-top: 28px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 800;
}

.form-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #e2d7bf;
  border-radius: 8px;
}

.form-line button {
  color: var(--white);
  background: var(--cefirc);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 42px;
  color: rgba(255, 255, 255, .72);
  background: var(--ink);
  font-size: 14px;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

  .feature-grid,
  .article-layout,
  .video-band,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .publishing-card {
    position: static;
  }

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

@media (max-width: 760px) {
  .site-header,
  .section,
  .newsletter,
  .ticker,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-header {
    min-height: auto;
    padding-top: 14px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 620px;
    padding: 64px 20px 24px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-text,
  .intro-grid > p {
    font-size: 17px;
  }

  .hero-panel {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-panel div {
    padding: 10px;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, .18);
  }

  .hero-panel div:first-child {
    border-left: 0;
  }

  .hero-panel strong {
    font-size: 24px;
  }

  .hero-panel span {
    font-size: 10px;
  }

  .intro-grid,
  .feature-card,
  .article-grid,
  .form-line {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .filters {
    justify-content: flex-start;
    margin-top: 22px;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-card img {
    height: 240px;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 10px;
  }
}
