:root {
  --bg: #eef9ff;
  --ink: #09263a;
  --muted: #527080;
  --cyan: #08bce8;
  --line: rgba(8, 112, 151, .13);
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: inherit; }
img, video { max-width: 100%; }
.skip-link { position: fixed; z-index: 3000; top: 10px; left: 10px; transform: translateY(-180%); padding: 10px 14px; border-radius: 999px; color: #fff; background: #087ca8; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.footer-privacy { color: inherit; text-underline-offset: 3px; }

.blog-nav {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px clamp(18px, 5vw, 72px);
  pointer-events: none;
}
.blog-nav > * { pointer-events: auto; }
.blog-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 13px 6px 7px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 17px;
  background: rgba(248,253,255,.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 32px rgba(18,85,118,.1);
  font: 800 .82rem/1 "Manrope", sans-serif;
  letter-spacing: .08em;
}
.blog-brand img { width: 38px; height: 38px; object-fit: cover; border-radius: 11px; }
.blog-nav nav {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 999px;
  background: rgba(245,252,255,.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(16,81,112,.08);
}
.blog-nav nav a { padding: 9px 15px; border-radius: 999px; color: #456475; text-decoration: none; font: 700 .72rem/1 "Manrope", sans-serif; letter-spacing: .06em; }
.blog-nav nav a:hover, .blog-nav nav a.is-active { color: #fff; background: #08aeda; }
.blog-nav nav a.contact-link { color: #12384b; background: rgba(255,255,255,.72); }

.blog-hero, .article-hero { position: relative; min-height: min(820px, 88vh); overflow: hidden; background: #dff5ff; }
.blog-hero video, .article-hero__scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.blog-hero__veil, .article-hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(236,249,255,.98) 0%, rgba(236,249,255,.78) 36%, rgba(236,249,255,.08) 70%), linear-gradient(0deg, var(--bg) 0%, transparent 25%); }
.blog-hero__content, .article-hero__content { position: relative; z-index: 2; width: min(760px, 78vw); padding: clamp(170px, 23vh, 240px) 0 110px clamp(24px, 7vw, 110px); }
.blog-hero__content > span, .article-tag { display: inline-flex; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.74); color: #087ca8; font: 800 .72rem/1 "Manrope", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.blog-hero h1, .article-hero h1 { margin: 22px 0 0; max-width: 760px; overflow-wrap: anywhere; hyphens: auto; font: 800 clamp(3.2rem, 7.1vw, 7.2rem)/.95 "Manrope", sans-serif; letter-spacing: -.065em; text-wrap: balance; }
.blog-hero p, .article-hero__content > p { max-width: 580px; margin: 28px 0 0; color: #345b6e; font-size: clamp(1.05rem, 1.5vw, 1.32rem); line-height: 1.55; }
.blog-hero__orb { position: absolute; z-index: 2; right: 11vw; bottom: 13vh; width: 180px; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; backdrop-filter: blur(8px); animation: float 6s ease-in-out infinite; }
.blog-hero__orb i { position: absolute; inset: 20%; border: 1px solid rgba(8,188,232,.38); border-radius: 50%; }
.blog-hero__orb i:nth-child(2) { inset: 35%; background: rgba(8,188,232,.2); }
.blog-hero__orb i:nth-child(3) { inset: 47%; background: #08bce8; box-shadow: 0 0 32px #08bce8; }
@keyframes float { 50% { transform: translateY(-18px) rotate(12deg); } }

.posts-section { padding: 70px clamp(18px, 5vw, 72px) 120px; }
.section-heading { display: grid; grid-template-columns: 160px 1fr; align-items: end; gap: 20px; margin-bottom: 42px; }
.section-heading span { font: 800 .72rem/1 "Manrope", sans-serif; letter-spacing: .14em; color: #0782ac; }
.section-heading h2 { margin: 0; font: 750 clamp(2.3rem, 4vw, 4.4rem)/1 "Manrope", sans-serif; letter-spacing: -.05em; }
.posts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1440px; margin: 0 auto; }
.post-card { display: grid; grid-template-columns: minmax(190px, .82fr) 1.18fr; min-height: 350px; overflow: hidden; color: inherit; text-decoration: none; border: 1px solid rgba(255,255,255,.9); border-radius: 30px; background: rgba(255,255,255,.68); box-shadow: 0 24px 70px rgba(17,83,112,.1); transition: transform .35s ease, box-shadow .35s ease; }
.post-card:hover { transform: translateY(-7px); box-shadow: 0 32px 90px rgba(17,83,112,.16); }
.post-card__visual { position: relative; min-height: 260px; overflow: hidden; }
.post-card__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, rgba(248,253,255,.86)); }
.post-card__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.post-card:hover .post-card__visual img { transform: scale(1.045); }
.post-card__visual > span { position: absolute; z-index: 2; top: 18px; left: 18px; padding: 8px 11px; border-radius: 999px; color: #fff; background: var(--card-accent); font: 800 .7rem/1 "Manrope", sans-serif; }
.post-card__copy { display: flex; flex-direction: column; padding: 30px 30px 26px 10px; }
.post-card__tag { color: var(--card-accent); font: 800 .68rem/1.2 "Manrope", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.post-card h2 { margin: 15px 0 0; overflow-wrap: anywhere; hyphens: auto; font: 750 clamp(1.5rem, 2.1vw, 2.35rem)/1.08 "Manrope", sans-serif; letter-spacing: -.04em; }
.post-card p { margin: 17px 0 20px; color: var(--muted); line-height: 1.52; }
.post-card__copy > div { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; color: #6d8794; font-size: .74rem; }
.post-card__copy b { color: var(--card-accent); letter-spacing: .08em; }

.article-hero { min-height: min(760px, 82vh); }
.article-hero__content { width: min(980px, 82vw); padding-top: clamp(145px, 18vh, 210px); }
.article-hero h1 { max-width: 900px; font-size: clamp(2.7rem, 5.7vw, 6rem); }
.article-back { display: block; width: fit-content; margin-bottom: 22px; color: #3e6678; text-decoration: none; font: 800 .68rem/1 "Manrope", sans-serif; letter-spacing: .13em; }
.article-tag { color: var(--post-accent); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 25px; color: #4f7181; font-size: .82rem; }
.article-meta a { color: inherit; font-weight: 700; text-underline-offset: 3px; }
.article-proof { position: absolute; z-index: 3; right: clamp(28px, 5vw, 80px); bottom: 56px; width: min(340px, 27vw); margin: 0; padding: 10px; border: 1px solid rgba(255,255,255,.86); border-radius: 22px; background: rgba(248,253,255,.74); backdrop-filter: blur(18px); box-shadow: 0 24px 65px rgba(16,81,112,.14); }
.article-proof img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; }
.article-proof figcaption { padding: 11px 4px 3px; color: #527080; font: 800 .62rem/1 "Manrope", sans-serif; letter-spacing: .12em; }

.article-layout { position: relative; display: grid; grid-template-columns: 110px minmax(0, 820px); justify-content: center; gap: 32px; padding: 70px 24px 130px; }
.article-rail { position: sticky; top: 110px; align-self: start; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 18px 10px; color: #60808f; font: 800 .6rem/1 "Manrope", sans-serif; letter-spacing: .12em; }
.article-progress { width: 2px; height: 210px; overflow: hidden; background: rgba(8,126,169,.13); }
.article-progress i { display: block; width: 100%; height: 100%; transform: scaleY(0); transform-origin: top; background: var(--post-accent); }
.article-rail a { text-decoration: none; }
.article-paper { overflow: hidden; border: 1px solid rgba(255,255,255,.9); border-radius: 34px; background: rgba(255,255,255,.78); box-shadow: 0 28px 90px rgba(17,83,112,.1); }
.article-body { padding: clamp(32px, 6vw, 76px); }
.article-body p, .article-body li { color: #294e60; font-size: clamp(1.03rem, 1.3vw, 1.16rem); line-height: 1.82; }
.article-body p { margin: 0 0 1.45em; }
.article-body h2 { margin: 2.3em 0 .7em; font: 750 clamp(1.7rem, 2.8vw, 2.65rem)/1.12 "Manrope", sans-serif; letter-spacing: -.035em; }
.article-body h2:first-child { margin-top: 0; }
.article-body ul, .article-body ol { padding-left: 1.35em; }
.article-body li { margin-bottom: .75em; padding-left: .35em; }
.article-body strong { color: #0b789f; }
.article-body a { color: #0782ac; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.source-links { margin-top: 1.25rem; padding: 20px 24px 14px 2.9rem !important; border: 1px solid rgba(8,126,169,.12); border-radius: 20px; background: rgba(224,247,255,.48); }
.source-links li { font-size: .94rem; }
.article-author { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 22px; margin: 0 clamp(28px, 6vw, 76px) clamp(32px, 5vw, 60px); padding: 24px; border: 1px solid rgba(8,126,169,.12); border-radius: 24px; background: rgba(231,248,255,.62); }
.article-author img { width: 76px; height: 76px; object-fit: cover; border-radius: 20px; box-shadow: 0 12px 28px rgba(17,83,112,.13); }
.article-author span { color: #0782ac; font: 800 .64rem/1 "Manrope", sans-serif; letter-spacing: .13em; }
.article-author h2 { margin: 8px 0 6px; font: 750 1.35rem/1.1 "Manrope", sans-serif; }
.article-author h2 a { color: inherit; text-decoration: none; }
.article-author p { margin: 0; color: #4a6c7c; line-height: 1.55; }
.article-related { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 0 clamp(28px, 6vw, 76px) clamp(32px, 5vw, 60px); }
.article-related a { padding: 18px 20px; border: 1px solid rgba(8,126,169,.12); border-radius: 17px; color: #087ca8; background: rgba(255,255,255,.72); text-decoration: none; font-weight: 800; }
.article-cta { padding: clamp(32px, 5vw, 64px); color: #fff; background: linear-gradient(135deg, #087ca8, #08bce8); }
.article-cta > span { font: 800 .68rem/1 "Manrope", sans-serif; letter-spacing: .14em; }
.article-cta h2 { max-width: 580px; margin: 20px 0 0; font: 750 clamp(2rem, 3.7vw, 3.7rem)/1.02 "Manrope", sans-serif; letter-spacing: -.05em; }
.article-cta p { margin: 14px 0 26px; color: rgba(255,255,255,.82); }
.article-cta a { display: inline-flex; padding: 13px 21px; border-radius: 999px; color: #075b7b; background: #fff; text-decoration: none; font-weight: 800; }

footer { padding: 28px; text-align: center; color: #62808f; font: 700 .63rem/1.5 "Manrope", sans-serif; letter-spacing: .1em; border-top: 1px solid var(--line); }
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity .7s ease, transform .7s ease; }

@media (max-width: 1050px) {
  .posts-grid { grid-template-columns: 1fr; }
  .post-card { grid-template-columns: minmax(220px, .72fr) 1.28fr; }
  .article-proof { display: none; }
  .article-hero__content { width: min(900px, 90vw); }
}

@media (max-width: 760px) {
  .blog-nav { padding: 12px 14px; }
  .blog-brand span { display: none; }
  .blog-brand img { width: 34px; height: 34px; }
  .blog-nav nav a { display: none; }
  .blog-nav nav a.is-active, .blog-nav nav a.contact-link { display: block; padding: 9px 12px; }
  .blog-hero, .article-hero { min-height: 720px; }
  .blog-hero__veil, .article-hero__veil { background: linear-gradient(0deg, var(--bg) 0%, rgba(236,249,255,.82) 44%, rgba(236,249,255,.08) 75%); }
  .blog-hero__content, .article-hero__content { width: auto; padding: 310px 20px 90px; }
  .blog-hero h1, .article-hero h1 { font-size: clamp(2.6rem, 13vw, 4.3rem); }
  .blog-hero__orb { display: none; }
  .posts-section { padding: 45px 14px 80px; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .post-card { display: block; min-height: 0; border-radius: 24px; }
  .post-card__visual { height: 220px; }
  .post-card__visual::after { background: linear-gradient(0deg, rgba(248,253,255,.92), transparent 60%); }
  .post-card__copy { padding: 22px; }
  .article-layout { display: block; padding: 34px 12px 80px; }
  .article-rail { display: none; }
  .article-paper { border-radius: 24px; }
  .article-body { padding: 28px 23px; }
  .article-author { grid-template-columns: 56px 1fr; gap: 15px; margin: 0 18px 28px; padding: 18px; }
  .article-author img { width: 56px; height: 56px; border-radius: 15px; }
  .article-related { grid-template-columns: 1fr; margin: 0 18px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blog-hero__orb { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
