:root {
  --navy: #061a2f;
  --navy-soft: #102a43;
  --jade: #0f9e91;
  --jade-bright: #20c7b8;
  --ivory: #f7f4ec;
  --muted: #aebbc5;
  --champagne: #d9bd88;
  --line: rgba(255, 255, 255, 0.11);
}

:where(a, button, [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 3px solid var(--jade-bright);
  outline-offset: 3px;
}

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

* {
  box-sizing: border-box;
}

html {
  background: var(--navy);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  margin: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(25, 199, 184, 0.12), transparent 34%),
    linear-gradient(145deg, #041625 0%, #071c31 52%, #102437 100%);
  color: var(--ivory);
  font-family: "Manrope", sans-serif;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--ivory);
  background: var(--navy-soft);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.article-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.article-orb-one {
  top: 18%;
  left: -180px;
  width: 420px;
  height: 420px;
  background: rgba(28, 190, 176, 0.08);
}

.article-orb-two {
  right: -100px;
  bottom: 4%;
  width: 340px;
  height: 340px;
  background: rgba(217, 189, 136, 0.07);
}

.article-header,
.article-footer {
  width: min(1120px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-inline: auto;
}

.article-header {
  padding-block: 28px;
}

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

.article-brand img,
.article-signature img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
}

.article-brand span,
.article-signature span {
  display: grid;
}

.article-brand small,
.article-signature small {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-back {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.article-shell {
  width: min(960px, calc(100% - 32px));
  margin: clamp(28px, 6vw, 80px) auto 70px;
}

.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(26px, 4vw, 42px);
  background: rgba(15, 38, 59, 0.76);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
}

.article-media {
  height: clamp(280px, 48vw, 520px);
  margin: 0;
  background: var(--navy-soft);
}

.article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  padding: clamp(28px, 7vw, 80px);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.article-meta span {
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(32, 199, 184, 0.13);
  color: var(--jade-bright);
}

.article-content h1,
.article-empty h1 {
  max-width: 15ch;
  margin: 24px 0 34px;
  font-size: clamp(2.2rem, 7vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.article-body {
  max-width: 720px;
  color: #dbe1e4;
  font-size: clamp(1rem, 1.8vw, 1.13rem);
  line-height: 1.85;
}

.article-body p {
  margin: 0 0 1.35em;
}

.article-body h2 {
  margin: 2.2em 0 0.75em;
  color: var(--ivory);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.article-body h3 {
  margin: 1.6em 0 0.55em;
  color: var(--ivory);
  font-size: 1.08rem;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 0.72em;
  margin: 0 0 1.6em;
  padding-left: 1.25em;
}

.article-body li::marker {
  color: var(--jade-bright);
}

.article-lead {
  color: var(--ivory);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.article-callout {
  margin: 2em 0;
  border: 1px solid rgba(32, 199, 184, 0.24);
  border-radius: 20px;
  padding: 22px;
  background: rgba(32, 199, 184, 0.08);
}

.article-callout strong {
  display: block;
  margin-bottom: 7px;
  color: var(--jade-bright);
}

.article-sources {
  margin-top: 3em;
  border-top: 1px solid var(--line);
  padding-top: 1.5em;
  color: var(--muted);
  font-size: 0.82rem;
}

.article-sources strong {
  display: block;
  margin-bottom: 0.7em;
  color: var(--ivory);
}

.article-sources a {
  color: var(--jade-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-disclaimer {
  margin-top: 2em;
  color: var(--muted);
  font-size: 0.84rem;
}

.article-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  margin-top: 24px;
  border-radius: 999px;
  padding: 14px 20px;
  background: linear-gradient(120deg, var(--jade-bright), var(--jade));
  color: #031a29;
  font-size: 0.8rem;
  font-weight: 900;
}

.article-back::before,
.article-cta::before {
  content: "";
  position: absolute;
  top: -65%;
  left: -85%;
  z-index: 2;
  width: 42%;
  height: 230%;
  background: linear-gradient(
    115deg,
    transparent,
    rgba(255, 255, 255, 0.42),
    transparent
  );
  transform: translateX(-135%) rotate(18deg);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

@media (hover: hover) {
  .article-back:hover::before,
  .article-cta:hover::before {
    transform: translateX(470%) rotate(18deg);
  }

  .article-back:hover,
  .article-cta:hover {
    transform: translateY(-3px);
  }
}

.article-signature {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.article-loading,
.article-empty {
  min-height: 500px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 40px;
  color: var(--muted);
  text-align: center;
}

.article-loading span {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--jade-bright);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.article-empty span {
  color: var(--jade-bright);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-empty a {
  border-bottom: 1px solid var(--champagne);
  color: var(--champagne);
}

.article-footer {
  border-top: 1px solid var(--line);
  padding-block: 28px 44px;
  color: var(--muted);
  font-size: 0.75rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 620px) {
  .article-header {
    align-items: flex-start;
  }

  .article-brand span {
    display: none;
  }

  .article-back {
    padding: 10px 13px;
  }

  .article-content {
    padding-inline: 24px;
  }

  .article-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
