/* Yotta Spark – March 2026. Plain CSS, no external dependencies. */
:root {
  --navy: #243f82;
  --navy-deep: #13224a;
  --navy-ink: #0b1532;
  --gold: #f2a33d;
  --white: #ffffff;
  --charcoal: #2b2b2b;
  --grey: #f3f4f7;
  --line: #e1e4ec;
  --muted: #5b6275;
  --head: "Montserrat", "Gotham", "Century Gothic", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --max: 1040px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--charcoal); background: var(--white); line-height: 1.7; font-size: 17px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--head); line-height: 1.25; margin: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--white); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* Masthead */
.masthead { background: var(--white); border-bottom: 4px solid var(--gold); }
.masthead__inner { max-width: var(--max); margin: 0 auto; padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.masthead__logo img { width: min(360px, 62vw); }
.masthead__edition { margin: 0; font-family: var(--head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--navy); white-space: nowrap; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 80% 20%, #2c4c9a 0%, var(--navy-deep) 45%, var(--navy-ink) 100%); color: var(--white); min-height: 520px; display: flex; align-items: center; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__geo { position: absolute; right: -80px; top: 50%; width: 620px; max-width: 70vw; transform: translateY(-50%); opacity: .55; }
.geo-line { stroke-dasharray: 2200; stroke-dashoffset: 0; }
.geo-line--blue { stroke: rgba(140, 170, 255, .45); }
.geo-line--gold { stroke: rgba(242, 163, 61, .8); }
.hero__glow { position: absolute; width: 520px; height: 520px; right: 8%; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(242,163,61,.28), rgba(242,163,61,0) 65%); filter: blur(10px); animation: breathe 7s ease-in-out infinite; }
.hero__content { position: relative; max-width: var(--max); width: 100%; margin: 0 auto; padding: 90px 28px; }
.hero__kicker { font-family: var(--head); letter-spacing: .22em; text-transform: uppercase; font-size: 13px; color: var(--gold); font-weight: 700; margin-bottom: 18px; }
.hero__title { font-size: clamp(34px, 5.6vw, 64px); font-weight: 800; letter-spacing: -.01em; max-width: 760px; }
.hero__title span { display: block; }
.hero__title .accent { color: var(--gold); }
.hero__nav { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero__nav a { color: rgba(255,255,255,.85); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .04em; padding: 6px 0; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.hero__nav a:hover, .hero__nav a:focus-visible { color: var(--white); background-size: 100% 2px; }

/* Sections */
.section { padding: 80px 0; position: relative; }
.section--alt { background: var(--grey); }
.section-title { font-size: clamp(26px, 3.2vw, 36px); color: var(--navy); font-weight: 800; margin-bottom: 36px; }
.section-title span { position: relative; display: inline-block; padding-bottom: 12px; }
.section-title span::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 64px; background: var(--gold); transform-origin: left; }
.section-title--light { color: var(--white); }

.story { padding: 34px 0; border-bottom: 1px solid var(--line); }
.story:first-child { padding-top: 0; }
.story__title { font-size: clamp(22px, 2.5vw, 28px); color: var(--navy); font-weight: 700; margin-bottom: 14px; padding-left: 18px; border-left: 4px solid var(--gold); }
.story__link { font-weight: 600; margin: 0; }
.credits { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.story--credit { border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: 28px; background: linear-gradient(180deg, #fff, #f8f9fc); }
.story--credit:first-child { padding-top: 28px; }
.story--credit .story__title { font-size: 21px; border-left: 0; padding-left: 0; }

.link { color: var(--navy); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--ease), color .25s; padding-bottom: 1px; }
.link:hover, .link:focus-visible { color: #c97a14; background-size: 100% 2px; }
.link--light { color: var(--gold); }
.link--light:hover { color: var(--white); }

.prose { max-width: 860px; }

/* Gallery */
.gallery { margin-top: 36px; columns: 3 260px; column-gap: 18px; }
.gallery__item { margin: 0 0 18px; break-inside: avoid; overflow: hidden; background: var(--line); }
.gallery__item img { width: 100%; transition: transform .9s var(--ease); }
@media (hover: hover) { .gallery__item:hover img { transform: scale(1.04); } }

/* News */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.news { padding: 26px 0; border-top: 1px solid var(--line); }
.news__title { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.news p { color: var(--muted); margin: 0; }

/* Spotlight */
.section--spotlight { background: var(--navy-deep); color: rgba(255,255,255,.88); overflow: hidden; }
.spotlight__bg { position: absolute; inset: -20% -10%; background: radial-gradient(40% 50% at 15% 30%, rgba(242,163,61,.18), transparent 70%), radial-gradient(50% 60% at 90% 80%, rgba(80,120,230,.35), transparent 70%); }
.section--spotlight .container { position: relative; }
.spotlight { display: grid; grid-template-columns: 120px 1fr; gap: 36px; align-items: start; }
.spotlight__play { color: var(--gold); width: 110px; height: 110px; display: block; transition: transform .5s var(--ease), color .3s; }
.spotlight__play:hover { transform: scale(1.08); color: var(--white); }
.spotlight__title { color: var(--white); font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; margin-bottom: 14px; }

/* Experts */
.experts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.expert { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 180px; padding: 30px; text-decoration: none; color: var(--navy); border: 1px solid var(--line); border-left: 4px solid var(--navy); transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.expert:hover, .expert:focus-visible { border-left-color: var(--gold); box-shadow: 0 18px 40px -22px rgba(36,63,130,.45); transform: translateY(-3px); }
.expert__title { font-family: var(--head); font-weight: 700; font-size: 21px; line-height: 1.35; }
.expert__cta { font-weight: 700; font-size: 14px; color: #c97a14; letter-spacing: .04em; }

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,.85); border-top: 4px solid var(--gold); }
.footer__inner { max-width: var(--max); margin: 0 auto; padding: 34px 28px; text-align: center; font-size: 15px; }
.footer a { color: var(--white); font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.footer a:hover, .footer a:focus-visible { color: var(--gold); border-color: var(--gold); }
.footer__copy { margin: 0; font-size: 13px; opacity: .8; }

.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; display: grid; place-items: center; background: var(--navy); color: var(--white); border: 2px solid var(--gold); border-radius: 50%; z-index: 50; transition: transform .3s var(--ease), opacity .3s; }
.to-top svg { width: 20px; height: 20px; }
.to-top:hover { transform: translateY(-3px); }
.js .to-top { opacity: 0; pointer-events: none; }
.js .to-top.is-visible { opacity: 1; pointer-events: auto; }

/* ---- Animation states: only applied when JS has confirmed it is running (.js) ---- */
.js .stagger { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 140ms + 200ms); }
.js.is-loaded .stagger { opacity: 1; transform: none; }
.js .hero__geo .geo-line { stroke-dashoffset: 2200; transition: stroke-dashoffset 2.6s var(--ease) .3s; }
.js.is-loaded .hero__geo .geo-line { stroke-dashoffset: 0; }
.js .masthead__logo { opacity: 0; transform: translateY(-10px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js.is-loaded .masthead__logo { opacity: 1; transform: none; }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .section-title span::after { transform: scaleX(0); transition: transform 1s var(--ease) .25s; }
.js .section-title.in span::after { transform: scaleX(1); }
.js .img-reveal { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js .img-reveal.in { clip-path: inset(0 0 0 0); }

@keyframes breathe { 0%,100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

/* Responsive */
@media (max-width: 1024px) {
  .section { padding: 64px 0; }
  .hero { min-height: 460px; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .credits, .news-grid, .experts { grid-template-columns: 1fr; }
  .spotlight { grid-template-columns: 1fr; gap: 20px; }
  .spotlight__play { width: 72px; height: 72px; }
  .hero__geo { opacity: .3; right: -160px; }
  .hero__content { padding: 64px 22px; }
  .container, .masthead__inner { padding-left: 22px; padding-right: 22px; }
  .masthead__inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .gallery { columns: 2 150px; }
}
@media (max-width: 420px) {
  .gallery { columns: 1; }
  .hero__nav { gap: 6px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .stagger, .js .reveal, .js .masthead__logo { opacity: 1 !important; transform: none !important; }
  .js .img-reveal { clip-path: none !important; }
  .js .hero__geo .geo-line { stroke-dashoffset: 0 !important; }
  .js .section-title span::after { transform: none !important; }
}
