@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --ink: #080c0a;
  --surface: #0f1512;
  --surface-2: #151d19;
  --line: rgba(255, 255, 255, 0.09);
  --muted: rgba(238, 248, 242, 0.74);
  --green: #00e676;
  --green-deep: #29b765;
  --blue: #4fa9ff;
  --yellow: #ffe14d;
  --raised: linear-gradient(180deg, rgba(24,35,29,.98), rgba(18,27,22,.98));
  --shadow: 0 18px 52px rgba(0,0,0,.24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: #fff;
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video, iframe { max-width: 100%; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 11px 16px;
  border-radius: 10px;
  background: #fff;
  color: #07100b;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-shell { width: min(1240px, calc(100% - 96px)); margin: 0 auto; }
.display { font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -.035em; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8be9ad;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 20px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--green), var(--blue)); }
.muted { color: var(--muted); }

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(6, 9, 7, .84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.site-nav { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-logo { display: block; width: 280px; height: auto; content: url('redesign/logo-primary.svg'); }
.footer-logo { content: url('redesign/logo-primary.svg'); }
.site-links { display: flex; align-items: center; gap: 28px; }
.site-link { color: rgba(255,255,255,.76); font-size: 14px; font-weight: 700; transition: color .2s ease; }
.site-link:hover, .site-link[aria-current='page'] { color: #fff; }
.site-link[aria-current='page'] { position: relative; }
.site-link[aria-current='page']::after { content: ''; position: absolute; left: 0; right: 0; bottom: -12px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--green), var(--blue)); }
.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 999px;
  color: #07100b;
  background: linear-gradient(90deg, var(--green), var(--green-deep));
  box-shadow: 0 10px 28px rgba(61, 220, 132, .25);
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(61, 220, 132, .34); }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 96px;
  background: linear-gradient(180deg, #060907, #08100c);
  border-bottom: 1px solid var(--line);
}
.page-hero::before,
.page-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}
.page-hero::before { width: 760px; height: 760px; left: -360px; top: -420px; background: radial-gradient(circle, rgba(61,220,132,.32), transparent 67%); }
.page-hero::after { width: 720px; height: 720px; right: -310px; bottom: -480px; background: radial-gradient(circle, rgba(79,169,255,.28), transparent 67%); }
.page-hero-inner { position: relative; z-index: 1; max-width: 880px; }
.page-hero h1 { max-width: 840px; margin: 18px 0 20px; font-size: clamp(46px, 6.5vw, 78px); line-height: 1.02; font-weight: 700; }
.page-hero p { max-width: 690px; margin: 0; color: rgba(255,255,255,.72); font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.quiet-link { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; color: rgba(255,255,255,.8); font-weight: 800; font-size: 14px; padding: 11px 2px; }
.quiet-link:hover { color: #fff; }

.section { padding: 84px 0; background: var(--surface); }
.section.alt { background: var(--ink); }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head h2 { margin: 12px 0 12px; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.08; }
.section-head p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.story-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--raised);
  box-shadow: 0 1px 0 rgba(255,255,255,.025) inset, 0 16px 44px rgba(0,0,0,.2);
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease;
}
.story-card::after { content: ''; position: absolute; width: 180px; height: 180px; right: -70px; bottom: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(79,169,255,.15), transparent 70%); }
.story-card:hover { transform: translateY(-3px); border-color: rgba(61,220,132,.26); }
.story-number { color: rgba(255,255,255,.66); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.story-card h2 { position: relative; z-index: 1; margin: 34px 0 12px; font-size: clamp(22px, 1.8vw, 27px); line-height: 1.16; }
.story-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); line-height: 1.6; }
.story-card-footer { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; width: 100%; margin-top: auto; padding-top: 24px; }
.story-author { display: block; margin: 0; color: #8be9ad; font-size: 13px; font-weight: 800; }
.story-card-feature { grid-column: 1 / -1; min-height: 310px; padding: 42px; background: radial-gradient(circle at 88% 22%, rgba(79,169,255,.18), transparent 34%), radial-gradient(circle at 74% 80%, rgba(61,220,132,.13), transparent 38%), var(--raised); }
.story-card-feature h2 { max-width: 720px; margin-top: 58px; font-size: clamp(34px, 4vw, 48px); }
.story-card-feature p { max-width: 630px; font-size: 18px; }
.story-card-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: saturate(.72); transition: transform .7s cubic-bezier(.16,1,.3,1),opacity .25s ease; }
.story-card-with-image::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg,rgba(14,24,18,.98) 0%,rgba(14,24,18,.86) 52%,rgba(14,24,18,.45) 100%); }
.story-card-with-image:hover .story-card-image { transform: scale(1.035); opacity: .22; }
.story-card-with-image > :not(.story-card-image) { position: relative; z-index: 2; }
.story-read { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; color: #baf7d1; font-size: 13px; font-weight: 800; }
.story-read svg { width: 17px; height: 17px; transition: transform .2s ease; }
.story-card:hover .story-read svg { transform: translateX(3px); }

.article-page-hero { padding: 68px 0 46px; background: linear-gradient(180deg,#060907,#0a110d); border-bottom: 1px solid var(--line); }
.article-page-title { max-width: 1000px; margin: 16px 0 20px; color: #fff; font-size: clamp(40px,5vw,60px); line-height: 1.06; letter-spacing: -.035em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 9px 20px; color: rgba(255,255,255,.72); font-size: 13.5px; font-weight: 650; }
.article-cover { width: min(1120px,calc(100% - 96px)); aspect-ratio: 2 / 1; margin: 34px auto 0; overflow: hidden; border: 1px solid rgba(174,246,204,.16); border-radius: 24px; background: #111915; box-shadow: 0 24px 64px rgba(0,0,0,.34); }
.article-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.article-reading { padding: 64px 0 88px; background: var(--surface); }
.article-layout { display: grid; grid-template-columns: 190px minmax(0,680px); justify-content: center; gap: 64px; align-items: start; }
.author-card { position: sticky; top: 28px; padding: 19px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.025); }
.author-card span { display: block; color: #93eeb3; font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.author-card strong { display: block; margin: 8px 0 7px; color: #fff; font: 700 17px/1.3 'Plus Jakarta Sans',sans-serif; }
.author-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.article-breadcrumb { display: flex; width: fit-content; min-height: 40px; align-items: center; gap: 8px; color: #baf7d1; font-size: 14px; font-weight: 700; }
.article-page-hero .eyebrow { display: inline-flex; width: fit-content; margin-top: 12px; padding: 6px 10px; border: 1px solid rgba(147,238,179,.16); border-radius: 999px; background: rgba(61,220,132,.055); color: #93eeb3; font-size: 10.5px; letter-spacing: .12em; }
.article-page-hero .eyebrow::before { display: none; }
.article-next { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-next a { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: #baf7d1; font-weight: 800; }

.articles { display: grid; gap: 22px; }
.article-panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--raised);
  box-shadow: var(--shadow);
  overflow: clip;
  scroll-margin-top: 28px;
}
.article-panel summary { list-style: none; cursor: pointer; padding: 30px 34px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; }
.article-panel summary:hover { background: rgba(255,255,255,.018); }
.article-panel summary::-webkit-details-marker { display: none; }
.article-panel summary::after { content: '+'; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.06); color: var(--green); font-size: 24px; font-weight: 700; }
.article-panel[open] summary::after { content: '×'; }
.article-panel summary h2 { margin: 4px 0 0; max-width: 820px; font-size: clamp(25px, 3vw, 36px); line-height: 1.14; }
.article-panel summary span { color: #8be9ad; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.article-panel[open] { border-color: rgba(61,220,132,.2); }
.article-content { border-top: 1px solid var(--line); padding: 46px 34px 52px; }
.article-panel[open] .article-content { animation: article-reveal .36s cubic-bezier(.16,1,.3,1) both; }
@keyframes article-reveal { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.article-body { max-width: 680px; margin: 0 auto; }
.article-lede { color: #fff !important; font-size: 20px !important; font-weight: 700; line-height: 1.55 !important; }
.article-body h2, .article-body h3 { margin: 40px 0 12px; font-size: clamp(24px,2.4vw,30px); line-height: 1.18; letter-spacing: -.025em; }
.article-body p { margin: 0 0 19px; color: rgba(255,255,255,.78); font-size: 16.5px; line-height: 1.76; }
.article-body strong { color: #fff; }
.article-end { margin-top: 34px; padding: 20px 22px; border-left: 3px solid var(--green); border-radius: 0 14px 14px 0; background: rgba(61,220,132,.07); }
.article-sources { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 9px; color: rgba(238,248,242,.58); font-size: 13px; line-height: 1.55; }
.article-sources strong { color: rgba(255,255,255,.82); font-size: 12px; letter-spacing: .11em; text-transform: uppercase; }
.article-sources a { width: fit-content; color: #a7eec0; text-decoration: underline; text-decoration-color: rgba(61,220,132,.35); text-underline-offset: 4px; }
.article-sources a:hover { color: #fff; }
.article-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.article-cta { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; background: linear-gradient(90deg,var(--green),var(--blue)); color: #07100b; font-size: 14px; font-weight: 800; box-shadow: 0 10px 28px rgba(61,220,132,.18); }
.article-back { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; color: rgba(238,248,242,.66); font-size: 14px; font-weight: 800; }
.article-back:hover { color: #fff; }

.video-shell { padding: 2px; border-radius: 28px; background: linear-gradient(135deg, var(--green), var(--blue), rgba(255,255,255,.12)); box-shadow: 0 30px 80px rgba(0,0,0,.42), 0 0 70px rgba(79,169,255,.1); }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 26px; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #050806; cursor: pointer; overflow: hidden; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .86; transition: transform .6s cubic-bezier(.16,1,.3,1),opacity .2s ease; }
.video-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 45%,rgba(0,0,0,.36)); }
.video-play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; color: #06100b; background: linear-gradient(135deg,var(--green),#8bf6b9); box-shadow: 0 18px 45px rgba(0,0,0,.38),0 0 35px rgba(0,230,118,.2); }
.video-play svg { width: 30px; height: 30px; }
.video-poster:hover img { transform: scale(1.025); opacity: .96; }
.news-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 20px; color: rgba(255,255,255,.68); font-size: 13px; font-weight: 700; }
.news-grid { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: repeat(2, minmax(0,1fr)); gap: 20px; }
.news-card { padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: var(--raised); box-shadow: 0 18px 45px rgba(0,0,0,.2); }
.news-card-feature { grid-row: 1 / span 2; padding: 40px; background: radial-gradient(circle at 88% 12%,rgba(79,169,255,.15),transparent 34%),var(--raised); }
.news-card-icon { width: 48px; height: 48px; margin-bottom: 28px; display: grid; place-items: center; border-radius: 15px; background: linear-gradient(135deg,rgba(61,220,132,.22),rgba(79,169,255,.22)); color: #fff; border: 1px solid rgba(142,231,181,.16); }
.news-card-icon svg { width: 23px; height: 23px; }
.news-card h2, .news-card h3 { margin: 12px 0; line-height: 1.15; }
.news-card h2 { max-width: 580px; font-size: clamp(34px,4vw,48px); }
.news-card h3 { font-size: 25px; }
.news-card p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.news-card-feature p { max-width: 620px; font-size: 17px; }
.news-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.outline-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 12px 18px; border: 1px solid rgba(61,220,132,.35); border-radius: 999px; color: #b7f4cb; font-size: 14px; font-weight: 800; transition: background .2s ease, border-color .2s ease; }
.outline-link:hover { background: rgba(61,220,132,.08); border-color: rgba(61,220,132,.65); }
.pending-link { opacity: .58; cursor: not-allowed; }

.site-footer { padding: 58px 0 24px; background: radial-gradient(circle at 8% 0,rgba(61,220,132,.1),transparent 32%),#0b2419; border-top: 1px solid rgba(255,255,255,.1); }
.footer-grid { display: grid; grid-template-columns: 1.6fr .8fr 1.15fr; gap: 56px; align-items: start; }
.footer-logo { display: block; width: 270px; height: auto; }
.footer-copy { max-width: 320px; margin: 8px 0 0; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.65; }
.footer-col h3 { margin: 0 0 16px; color: rgba(255,255,255,.82); font-size: 12px; letter-spacing: .11em; text-transform: uppercase; }
.footer-col nav { display: grid; gap: 11px; }
.footer-col a { min-height: 36px; display: inline-flex; align-items: center; color: rgba(255,255,255,.7); font-size: 13.5px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 46px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: rgba(255,255,255,.64); font-size: 13px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

@media (min-width: 821px) and (max-width: 1100px) {
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-card-feature, .story-card:nth-child(4) { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .site-links .site-link { display: none; }
  .page-hero { padding: 82px 0 72px; }
  .story-grid, .news-grid { grid-template-columns: 1fr; }
  .story-card, .story-card-feature { grid-column: auto; }
  .news-grid { grid-template-rows: auto; }
  .news-card-feature { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 1fr; gap: 28px; }
  .author-card { position: static; display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; max-width: none; }
  .author-card span, .author-card strong { grid-column: 1; }
  .author-card p { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

@media (max-width: 560px) {
  .site-shell { width: min(100% - 36px, 1180px); }
  .site-nav { min-height: 76px; }
  .site-logo { width: 180px; height: auto; }
  .primary-cta { padding: 11px 17px; font-size: 13px; }
  .page-hero { padding: 64px 0 58px; }
  .page-hero h1 { font-size: clamp(42px, 13vw, 62px); }
  .article-page-hero { padding: 40px 0 28px; }
  .article-page-title { margin: 12px 0 17px; font-size: clamp(33px,9.2vw,43px); line-height: 1.08; }
  .article-meta { gap: 7px 15px; font-size: 13px; }
  .article-cover { width: calc(100% - 36px); aspect-ratio: 3 / 2; margin-top: 24px; border-radius: 18px; }
  .article-reading { padding: 42px 0 64px; }
  .section { padding: 62px 0; }
  .story-card { min-height: 220px; padding: 24px; }
  .story-card-feature { grid-column: auto; min-height: 250px; padding: 26px; }
  .story-card-feature h2 { margin-top: 38px; font-size: 30px; }
  .story-card-feature p { font-size: 16px; }
  .article-panel summary { padding: 24px 20px; }
  .article-content { padding: 30px 20px 38px; }
  .article-lede { font-size: 18px !important; }
  .article-body h2, .article-body h3 { margin-top: 34px; font-size: 24px; }
  .article-body p { margin-bottom: 18px; font-size: 16px; line-height: 1.72; }
  .news-card, .news-card-feature { padding: 26px 22px; }
  .news-card h2 { font-size: 31px; }
  .article-actions { align-items: stretch; }
  .article-cta { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
