/* Sunlogics Power Fund — site stylesheet */
:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #eef4fb;
  --ink: #0b1f33;
  --ink-2: #3d5269;
  --muted: #64788d;
  --line: #dde6f0;
  --sky: #0a6fd1;
  --sky-600: #0859aa;
  --sky-50: #e8f2fd;
  --sun: #ffb400;
  --sun-600: #e09a00;
  --sun-50: #fff6dc;
  --leaf: #12a37f;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 51, .06), 0 2px 8px rgba(11, 31, 51, .04);
  --shadow: 0 10px 30px -12px rgba(11, 31, 51, .18), 0 2px 6px rgba(11, 31, 51, .05);
  --shadow-lg: 0 30px 60px -20px rgba(10, 111, 209, .28);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sky-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sun); color: var(--ink); }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 249, 252, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(221, 230, 240, .7);
  animation: slideDown .7s var(--ease) both;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 1 auto; min-width: 0; }
.brand img { display: block; width: 520px; max-width: 100%; height: auto; }
@media (max-width: 1240px) { .brand img { width: min(520px, calc(100vw - 180px)); } }
@media (max-width: 600px) {
  .header-inner { min-height: 72px; gap: 12px; }
  .brand img { width: calc(100vw - 32px - 60px); }
  .nav-toggle { padding: 10px 12px; }
  .nav-toggle .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .2s, color .2s; }
.site-nav a:hover { background: var(--sky-50); color: var(--sky); }
.site-nav a[aria-current="page"] { color: var(--sky); background: var(--sky-50); }
.site-nav .nav-cta a { background: var(--ink); color: #fff; margin-left: 6px; }
.site-nav .nav-cta a:hover { background: var(--sky); color: #fff; }
.nav-toggle { display: none; }

@media (max-width: 1240px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    font: inherit; font-weight: 700; font-size: .95rem; color: var(--ink);
    background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer;
  }
  .nav-toggle .bars { position: relative; width: 18px; height: 12px; }
  .nav-toggle .bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
  .nav-toggle .bars span:nth-child(1) { top: 0; }
  .nav-toggle .bars span:nth-child(2) { top: 5px; }
  .nav-toggle .bars span:nth-child(3) { top: 10px; }
  .nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .35s var(--ease), visibility 0s .35s;
  }
  .js .site-nav.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .35s var(--ease); }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 2px; }
  .site-nav a { padding: 12px 14px; border-radius: 12px; font-size: 1.02rem; }
  .site-nav .nav-cta a { margin: 8px 0 0; text-align: center; }
  .no-js .nav-toggle { display: none; }
  .no-js .header-inner { flex-wrap: wrap; padding-block: 10px; }
  .no-js .site-nav ul { flex-direction: row; flex-wrap: wrap; padding: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: .98rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--sky); color: #fff; box-shadow: 0 10px 24px -10px rgba(10, 111, 209, .7); }
.btn-primary:hover { background: var(--sky-600); color: #fff; transform: translateY(-2px); }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(224, 154, 0, .8); }
.btn-sun:hover { background: var(--sun-600); color: var(--ink); transform: translateY(-2px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sky); color: var(--sky); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--sky); transform: translateY(-2px); }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sky);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--sun); border-radius: 2px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.pill b { background: var(--sun-50); color: var(--sun-600); border-radius: 999px; padding: 2px 10px; font-size: .75rem; letter-spacing: .04em; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 100px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; z-index: -1;
  background: radial-gradient(circle at center, rgba(255, 180, 0, .22), rgba(255, 180, 0, 0) 60%);
  animation: glow 9s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -30% -20%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; z-index: -1;
  background: radial-gradient(circle at center, rgba(10, 111, 209, .14), rgba(10, 111, 209, 0) 62%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 .hl { color: var(--sky); text-decoration: underline; text-decoration-thickness: .085em; text-underline-offset: .16em; text-decoration-skip-ink: auto; text-decoration-color: rgba(255, 180, 0, 0); animation: underline 1s 1s var(--ease) forwards; }
@keyframes underline { to { text-decoration-color: var(--sun); } }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding: 0; list-style: none; font-size: .9rem; color: var(--muted); font-weight: 600; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--leaf); }
.hero-art { position: relative; }
.hero-art .art-card { background: var(--surface); border-radius: 28px; box-shadow: var(--shadow-lg); padding: 18px; border: 1px solid var(--line); animation: floaty 7s ease-in-out infinite; }
.hero-art .art-card img { border-radius: 18px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero-art .chip {
  position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px; font-size: .85rem; line-height: 1.3; color: var(--muted);
}
.hero-art .chip strong { display: block; color: var(--ink); font-size: 1.05rem; }
.hero-art .chip .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.hero-art .chip .ico svg { width: 22px; height: 22px; }
.hero-art .chip-a { left: -26px; bottom: 34px; animation: rise .9s .9s var(--ease) both, floaty 6s 1.8s ease-in-out infinite; }
.hero-art .chip-b { right: -18px; top: -22px; animation: rise .9s 1.1s var(--ease) both, floaty 8s 2s ease-in-out infinite; }
.ico-sun { background: var(--sun-50); color: var(--sun-600); }
.ico-sky { background: var(--sky-50); color: var(--sky); }
.ico-leaf { background: #e3f6f0; color: var(--leaf); }
.sun-svg { position: absolute; width: 140px; right: -40px; bottom: -50px; z-index: -1; opacity: .9; }
.sun-svg .rays { transform-origin: 70px 70px; animation: spin 30s linear infinite; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; margin: 8px auto 0; width: 100%; }
  .hero-art .chip-a { left: 8px; }
  .hero-art .chip-b { right: 8px; }
}
@media (max-width: 480px) {
  .hero-art .chip { padding: 9px 12px; font-size: .78rem; }
  .hero-art .chip .ico { width: 32px; height: 32px; }
  .hero-art .chip-a { bottom: -18px; }
}

/* ---------- Load animation (staggered) ---------- */
.load-in > * { animation: rise .8s var(--ease) both; }
.load-in > *:nth-child(1) { animation-delay: .10s; }
.load-in > *:nth-child(2) { animation-delay: .22s; }
.load-in > *:nth-child(3) { animation-delay: .34s; }
.load-in > *:nth-child(4) { animation-delay: .46s; }
.load-in > *:nth-child(5) { animation-delay: .58s; }
.load-in > *:nth-child(6) { animation-delay: .70s; }
.zoom-in { animation: zoomIn 1.1s .25s var(--ease) both; }

/* Scroll reveal: only hides content when JS is running */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { margin: 0; }
.section-head p { max-width: 560px; margin: 10px 0 0; }
.center { text-align: center; }
.center .section-head { justify-content: center; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--sky), var(--sun)); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .2s; }
.stat.is-visible::after, .no-js .stat::after { transform: scaleX(1); }
.stat strong { display: block; font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.stat span { display: block; margin-top: 6px; font-size: .92rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #c8d8ea; }
.feature .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.feature .ico svg { width: 26px; height: 26px; }
.feature p { margin: 0; font-size: .98rem; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.media-stack { position: relative; padding: 0 0 36px 36px; }
.media-stack::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border-radius: 24px; background: repeating-linear-gradient(135deg, var(--sky-50) 0 10px, transparent 10px 20px); z-index: 0; }
.media-stack img { position: relative; z-index: 1; border-radius: 22px; box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--sky-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6fd1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- Cards (articles) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards, .cards.two { grid-template-columns: 1fr; } }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #c8d8ea; }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.card-media img, .card-media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img, .card:hover .card-media svg { transform: scale(1.06); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card .meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--sky-50); color: var(--sky); font-size: .74rem; font-weight: 700; letter-spacing: .02em; }
.tag.sun { background: var(--sun-50); color: #a06e00; }
.tag.leaf { background: #e3f6f0; color: #0c7a5e; }
.card h2, .card h3 { font-size: 1.14rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; margin-bottom: 10px; }
.card h2 a, .card h3 a { color: var(--ink); text-decoration: none; }
.card h2 a::after, .card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card h2 a:hover, .card h3 a:hover { color: var(--sky); }
.card p { font-size: .95rem; margin: 0 0 16px; }
.more { font-weight: 700; font-size: .9rem; color: var(--sky); display: inline-flex; gap: 6px; align-items: center; text-decoration: none; }
.card .more { margin-top: auto; }
.more svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
.card:hover .more svg, a.more:hover svg, .feature:hover .more svg { transform: translateX(4px); }
.card.featured { grid-column: span 2; flex-direction: row; }
.card.featured .card-media { aspect-ratio: auto; flex: 1.1; min-height: 280px; }
.card.featured .card-body { flex: 1; padding: 32px; justify-content: center; }
.card.featured h2, .card.featured h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
@media (max-width: 960px) { .card.featured { grid-column: 1 / -1; } }
@media (max-width: 620px) { .card.featured { flex-direction: column; } .card.featured .card-media { min-height: 0; aspect-ratio: 16 / 9; } .card.featured .card-body { padding: 22px; } }

/* ---------- Quotes / testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 26px; position: relative; display: flex; flex-direction: column; }
.quote::before { content: "\201C"; position: absolute; top: 6px; right: 22px; font-size: 5rem; line-height: 1; font-weight: 800; color: var(--sun); opacity: .35; }
.quote blockquote { margin: 0 0 20px; font-size: 1.04rem; color: var(--ink); font-weight: 500; line-height: 1.6; }
.quote figcaption { margin-top: auto; font-size: .88rem; color: var(--muted); line-height: 1.45; }
.quote figcaption strong { display: block; color: var(--ink); font-size: .95rem; }
.stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--sun); }
.stars svg { width: 18px; height: 18px; }

/* ---------- Logos / press strip ---------- */
.press-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 38px; align-items: center; padding: 0; margin: 0; list-style: none; }
.press-strip li { font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em; color: #8a9bb0; transition: color .2s; white-space: nowrap; }
.press-strip li:hover { color: var(--ink); }
.press-label { text-align: center; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 18px; }

/* ---------- Projects table ---------- */
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .project-grid { grid-template-columns: 1fr; } }
.project { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .3s var(--ease), box-shadow .3s; position: relative; overflow: hidden; }
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--sun), var(--sky)); }
.project h3 { font-size: 1.05rem; margin: 6px 0 4px; }
.project p { margin: 0; font-size: .9rem; color: var(--muted); }
.project .count { display: inline-block; margin-top: 12px; font-size: .78rem; font-weight: 700; color: var(--sky); background: var(--sky-50); padding: 3px 10px; border-radius: 999px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
th { background: var(--surface-2); color: var(--ink); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: var(--sky-50); }

/* ---------- Timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--sun), var(--sky)); border-radius: 2px; }
.timeline li { position: relative; padding: 0 0 30px 46px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 4px solid var(--sky); box-shadow: 0 0 0 5px var(--sky-50); }
.timeline .when { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sun-600); }
.timeline h3 { margin: 4px 0 6px; }
.timeline p { margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(44px, 7vw, 84px) 0 clamp(36px, 5vw, 60px); overflow: hidden; isolation: isolate; background: linear-gradient(180deg, var(--sky-50), var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(255, 180, 0, .28), rgba(255, 180, 0, 0) 65%); animation: glow 9s ease-in-out infinite alternate; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 22em; }
.page-hero .lead { font-size: 1.15rem; max-width: 42em; margin: 0; }
.breadcrumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #b3c2d2; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--sky); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: .9rem; color: var(--muted); font-weight: 600; }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta svg { width: 16px; height: 16px; color: var(--sky); }

/* ---------- Article layout ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } }
.prose { font-size: 1.08rem; color: var(--ink-2); }
.prose > * + h2 { margin-top: 1.8em; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.prose h3 { margin-top: 1.5em; }
.prose .summary { font-size: 1.22rem; color: var(--ink); font-weight: 500; line-height: 1.65; padding-left: 20px; border-left: 4px solid var(--sun); }
.prose blockquote { margin: 1.6em 0; padding: 22px 26px; background: var(--sun-50); border-radius: var(--radius-sm); color: var(--ink); font-size: 1.12rem; font-weight: 500; }
.prose blockquote p:last-child { margin: 0; }
.prose blockquote cite { display: block; margin-top: 10px; font-style: normal; font-size: .9rem; font-weight: 700; color: var(--muted); }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius); box-shadow: var(--shadow); }
.prose figcaption { margin-top: 10px; font-size: .88rem; color: var(--muted); }
.prose ul li, .prose ol li { margin-bottom: .45em; }
.lead-figure { margin: 0 0 2em; }
.lead-figure img, .lead-figure svg { border-radius: var(--radius); width: 100%; box-shadow: var(--shadow); }
.source-box { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; font-size: .96rem; }
.source-box p { margin: 0; }
.source-box p + p { margin-top: 8px; }
.aside-box { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.aside-box + .aside-box { position: static; margin-top: 20px; }
.aside-box h2 { font-size: 1.05rem; margin-bottom: 12px; }
.aside-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .94rem; }
.aside-box ul li { padding-left: 18px; position: relative; }
.aside-box ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.aside-box .links li::before { display: none; }
.aside-box .links li { padding: 0; }
.aside-box .links a { font-weight: 600; text-decoration: none; }
.aside-box .links a:hover { text-decoration: underline; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 3em; }
.pager a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 700; font-size: .96rem; line-height: 1.4; transition: border-color .2s, transform .25s var(--ease); }
.pager a:hover { border-color: var(--sky); transform: translateY(-2px); }
.pager small { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.pager .next { text-align: right; grid-column: 2; }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager .next { grid-column: auto; text-align: left; } }
.share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 2em; font-size: .9rem; font-weight: 700; color: var(--ink); }
.share a { display: inline-flex; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; color: var(--ink-2); }
.share a:hover { border-color: var(--sky); color: var(--sky); }

/* ---------- Press gallery ---------- */
.scan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
@media (max-width: 960px) { .scan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .scan-grid { grid-template-columns: 1fr; } }
.scan { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.scan:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.scan > a { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #f3efe6; }
.scan img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.scan:hover img { transform: scale(1.04); }
.scan figcaption { padding: 16px 18px 18px; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.scan figcaption strong { display: block; color: var(--ink); font-size: .98rem; margin-bottom: 2px; }
.scan figcaption a { display: inline-block; margin-top: 8px; font-weight: 700; }

.press-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.press-list li a { display: flex; gap: 18px; align-items: center; justify-content: space-between; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-weight: 700; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.press-list li a:hover { border-color: var(--sky); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.press-list small { display: block; font-weight: 600; color: var(--muted); font-size: .82rem; margin-bottom: 2px; }
.press-list svg { width: 20px; height: 20px; flex: none; color: var(--sky); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #c3d6ec; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 34px 18px 0; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2.5px solid var(--sky); border-bottom: 2.5px solid var(--sky); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: 0 0 18px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: clamp(36px, 6vw, 64px);
  background: linear-gradient(120deg, var(--sky) 0%, #2b8cf0 55%, #57a9ff 100%); color: #eaf4ff;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.cta::before { content: ""; position: absolute; right: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(255, 196, 41, .95), rgba(255, 180, 0, 0) 66%); animation: glow 7s ease-in-out infinite alternate; }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { margin: 0; font-size: 1.08rem; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-card .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.contact-card .ico svg { width: 26px; height: 26px; }
.contact-card p { margin: 0 0 14px; }
.contact-card a.big { font-weight: 800; font-size: 1.1rem; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a9bbcd; padding: 64px 0 28px; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #d6e3f0; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer .brand { margin-bottom: 18px; }
.site-footer .brand img { width: min(100%, 320px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; font-size: .86rem; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; background: linear-gradient(90deg, var(--sky), var(--sun)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glow { from { opacity: .65; transform: scale(.94); } to { opacity: 1; transform: scale(1.06); } }
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .cta, .share, .pager, .nav-toggle { display: none !important; }
  body { background: #fff; }
}

/* ---------- Small-screen polish ---------- */
.pill b { white-space: nowrap; }
.card.featured .card-media img { object-position: 70% center; }
@media (max-width: 480px) {
  .prose .summary { font-size: 1.1rem; padding-left: 16px; }
  .prose { font-size: 1.02rem; }
  .page-hero h1 { font-size: clamp(1.75rem, 7.6vw, 2.2rem); }
}
