:root {
  color-scheme: dark;
  --white: #f4f7fb;
  --muted: #a6b2c1;
  --border: rgba(193, 215, 239, .29);
  --bg: #070b10;
  --glow: rgba(149, 196, 255, .65);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--bg); color: var(--white); font-family: "Segoe UI", Inter, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: #070b10 url("assets/planet-scene.svg") center top / cover no-repeat; }
body::after { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3,6,10,.05), rgba(3,7,13,.20) 55%, rgba(3,6,10,.08)); }
a { color: inherit; }
a:focus-visible { outline: 2px solid #bcd7ff; outline-offset: 5px; }
::selection { color: #fff; background: #567ba7; }
.skip-link { position: fixed; z-index: 50; top: -100px; left: 18px; padding: 12px 18px; background: #fff; color: #08111c; border-radius: 8px; }
.skip-link:focus { top: 14px; }
.atmosphere { position: fixed; pointer-events: none; z-index: 0; width: 100%; height: 100%; background: radial-gradient(ellipse at 50% 100%, rgba(136,174,210,.085), transparent 55%); }
.page { position: relative; z-index: 1; isolation: isolate; width: min(100% - 7.8vw, 1480px); min-height: 100svh; margin: 0 auto; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: flex-start; justify-content: space-between; padding-top: 32px; gap: 20px; }
.wordmark { display: inline-flex; flex-direction: column; align-items: center; width: 150px; text-decoration: none; }
.wordmark-main { font-weight: 460; font-size: 27px; line-height: 1; letter-spacing: .46em; padding-left: .46em; }
.wordmark-sub { margin-top: 4px; font-size: 8px; font-weight: 500; letter-spacing: .51em; padding-left: .51em; color: #d4dae4; }
.topbar-motto { color: #c7d0dc; font-size: 9px; line-height: 2.05; letter-spacing: .37em; text-align: left; white-space: nowrap; }
.motto-line { display: inline-block; width: 34px; border-top: 1px solid #aab6c8; margin: 0 0 3px 6px; }
main { flex: 1; }
.hero { width: 100%; min-height: 985px; padding: clamp(82px, 8.8vw, 146px) 0 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-head { position: relative; width: 100%; }
.eyebrow { margin: 0 0 32px; color: #acb8c8; font-size: 11px; letter-spacing: .49em; font-weight: 450; }
.eyebrow span { margin: 0 .6em; }
h1 { margin: 0; display: flex; flex-direction: column; align-items: center; }
.hero-name { display: block; font-weight: 370; font-size: clamp(4.1rem, 9.0vw, 9.1rem); letter-spacing: .38em; padding-left: .38em; line-height: 1; color: #f9fbff; text-shadow: 0 0 12px rgba(237,245,255,.40), 0 0 68px rgba(162,204,255,.19); }
.hero-group { margin-top: 9px; font-size: clamp(1.2rem, 2.6vw, 2.55rem); font-weight: 350; letter-spacing: .47em; padding-left: .47em; color: #d8e0ed; }
.hero-description { margin: 38px auto 0; color: #b9c4d0; font-size: 12px; line-height: 1.95; letter-spacing: .27em; text-transform: uppercase; max-width: 800px; text-wrap: balance; }
.section-heading { margin: clamp(36px, 4vw, 58px) 0 19px; display: flex; align-items: center; gap: 16px; }
.section-heading h2 { margin: 0; font-size: 10px; font-weight: 550; color: #b3becc; letter-spacing: .38em; white-space: nowrap; }
.section-dash { height: 1px; width: 33px; background: linear-gradient(90deg, transparent, #9aaec7); }
.section-dash:last-child { transform: rotate(180deg); }
.cards { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 27px); text-align: left; }
.initiative-card { min-width: 0; height: clamp(340px, 29vw, 390px); position: relative; isolation: isolate; display: block; overflow: hidden; border-radius: 17px; border: 1px solid var(--border); background: linear-gradient(145deg, rgba(30,45,62,.50), rgba(5,9,14,.76) 55%, rgba(12,18,27,.89)); box-shadow: 0 22px 66px rgba(0,0,0,.25), inset 0 1px 0 rgba(232,242,255,.06); backdrop-filter: blur(13px); -webkit-backdrop-filter: blur(13px); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
a.initiative-card { text-decoration: none; }
.initiative-card::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(ellipse at var(--x, 20%) var(--y, 0%), rgba(142,198,253,.19), transparent 58%); transition: opacity .35s ease; pointer-events: none; }
.initiative-card:hover { transform: translateY(-7px); border-color: rgba(180,220,255,.78); box-shadow: 0 0 30px rgba(92,148,213,.20), 0 25px 80px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.12); }
.initiative-card:hover::after { opacity: 1; }
.card-after { border-color: rgba(162,201,248,.79); box-shadow: 0 0 28px rgba(112,172,250,.18), 0 20px 65px rgba(0,0,0,.28), inset 0 0 29px rgba(99,155,220,.10); }
.card-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .53; }
.card-art-after { background: radial-gradient(ellipse at 12% 8%, rgba(89,139,198,.42), transparent 61%), url("assets/landscape.svg") center bottom / 100% auto no-repeat; }
.card-art-brf { background: url("assets/building.svg") right bottom / 71% auto no-repeat; opacity: .54; }
.card-art-family { background: url("assets/orbit.svg") right top / 90% auto no-repeat; opacity: .55; }
.card-art-games { background: radial-gradient(circle at 89% 17%, rgba(143,190,244,.25), transparent 39%), url("assets/orbit.svg") right bottom / 83% auto no-repeat; opacity: .56; }
.card-body { width: 100%; height: 100%; padding: clamp(22px, 3vw, 43px); display: flex; flex-direction: column; align-items: flex-start; position: relative; z-index: 1; }
.card-icon { display: flex; justify-content: center; align-items: center; border-radius: 50%; flex-shrink: 0; width: 76px; height: 76px; color: #f3f8fe; border: 1px solid rgba(180,202,230,.28); background: linear-gradient(155deg, rgba(46,67,91,.42), rgba(4,9,16,.30)); }
.card-icon svg { width: 38px; height: 38px; }
.card-title { display: block; margin: auto 0 0; padding-top: 18px; font-size: clamp(25px, 2.55vw, 37px); line-height: 1.19; letter-spacing: -.035em; font-weight: 430; color: #f7faff; }
.card-description { display: block; max-width: 310px; min-height: 44px; margin: 14px 0 20px; font-size: 14px; line-height: 1.65; letter-spacing: .045em; color: #c7d0db; }
.card-action { margin-top: auto; width: 100%; min-height: 49px; display: flex; justify-content: center; align-items: center; gap: 16px; border: 1px solid rgba(177,204,239,.65); border-radius: 99px; font-size: 10px; line-height: 1.3; letter-spacing: .19em; color: #e8f0fb; background: rgba(16,28,44,.34); transition: background .3s ease, border-color .3s ease; }
.card-after:hover .card-action, .card-games:hover .card-action { background: rgba(99,148,205,.20); border-color: #d5e9ff; }
.card-action span { font-size: 20px; line-height: 0; margin-top: -2px; }
.card-action-muted { border-color: rgba(160,176,196,.36); color: #a6b4c6; background: rgba(12,18,26,.15); }
.closing { margin: 42px 0 0; color: #c1cddc; font-size: 10px; letter-spacing: .55em; line-height: 1.9; }
.closing-rule { display: block; height: 1px; width: 35px; background: #cbd7e6; margin: 0 auto 17px; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 110px; color: #8795a6; font-size: 11px; border-top: 1px solid rgba(186,208,233,.13); }
.footer-motto { display: inline-flex; align-items: center; gap: 15px; letter-spacing: .37em; white-space: nowrap; font-size: 9px; }
.footer-rule { height: 1px; width: 34px; background: #9cacbe; }
[data-reveal] { opacity: 1; transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].visible { opacity: 1; transform: translateY(0); }
@media (min-width: 1600px) { .hero { min-height: 1040px; } }
@media (max-width: 1000px) {
  .page { width: calc(100% - 52px); }
  .hero { padding-top: 120px; min-height: 910px; }
  .hero-name { font-size: clamp(4rem, 10vw, 7.7rem); }
  .card-body { padding: 22px; }
  .card-icon { width: 63px; height: 63px; }
  .card-icon svg { width: 32px; height: 32px; }
  .card-description { font-size: 12px; margin-top: 10px; }
  .card-title { font-size: clamp(24px, 3vw, 31px); }
  .card-action { font-size: 9px; letter-spacing: .10em; }
}
@media (max-width: 720px) {
  body::before { background-size: auto 900px; background-position: center top; }
  .page { width: calc(100% - 34px); }
  .topbar { padding-top: 20px; }
  .wordmark { width: 103px; }
  .wordmark-main { font-size: 20px; }
  .wordmark-sub { font-size: 6px; }
  .topbar-motto { font-size: 6px; letter-spacing: .25em; }
  .motto-line { width: 18px; }
  .hero { padding-top: 114px; min-height: auto; }
  .eyebrow { font-size: 9px; letter-spacing: .22em; margin-bottom: 26px; }
  .hero-name { font-size: clamp(43px, 13vw, 80px); letter-spacing: .18em; padding-left: .18em; }
  .hero-group { font-size: clamp(15px, 5vw, 23px); letter-spacing: .38em; padding-left: .38em; }
  .hero-description { max-width: 380px; margin-top: 28px; line-height: 1.7; font-size: 10px; letter-spacing: .1em; }
  .desktop-break { display: none; }
  .section-heading { margin-top: 58px; }
  .cards { grid-template-columns: minmax(0, 1fr); max-width: 440px; gap: 18px; }
  .initiative-card { height: 340px; }
  .card-body { padding: 28px; }
  .card-icon { width: 70px; height: 70px; }
  .card-title { font-size: 33px; }
  .card-description { font-size: 14px; }
  .card-action { font-size: 10px; letter-spacing: .16em; }
  .closing { margin: 48px 0 85px; font-size: 9px; letter-spacing: .33em; }
  .footer { padding: 22px 0 29px; min-height: 100px; flex-direction: column; justify-content: center; text-align: center; font-size: 10px; }
  .footer-motto { font-size: 8px; }
}
@media (max-width: 380px) { .hero-name { font-size: 41px; } .card-body { padding: 24px; } .card-description { font-size: 13px; } .topbar-motto { font-size: 5.5px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } .js [data-reveal] { opacity: 1; transform: none; } }

/* Four initiatives; adapt without squeezing headings on laptops. */
@media (min-width: 1320px) {
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.45vw, 22px); }
  .card-body { padding: clamp(20px, 2.2vw, 32px); }
  .card-title { font-size: clamp(25px, 2.05vw, 33px); overflow-wrap: break-word; }
  .card-description { font-size: 13px; letter-spacing: .018em; }
  .card-action { font-size: 9px; letter-spacing: .11em; }
}
@media (min-width: 721px) and (max-width: 1319px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .initiative-card { height: 360px; }
  .hero { min-height: auto; padding-bottom: 90px; }
}
/* Games page: the same illuminated planet, only the heading and two white names. */
.games-hero { min-height: min(870px, calc(100svh - 210px)); padding: clamp(110px, 13vw, 185px) 0 90px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.games-title { margin: 0; font-weight: 370; font-size: clamp(46px, 9vw, 115px); letter-spacing: .35em; padding-left: .35em; line-height: 1.2; color: #f9fbff; text-shadow: 0 0 12px rgba(237,245,255,.40), 0 0 68px rgba(162,204,255,.19); }
.games-list { list-style: none; padding: 0; margin: clamp(75px, 11vw, 130px) 0 0; display: flex; flex-direction: column; align-items: center; gap: 34px; }
.games-list li { color: #f7faff; font-weight: 360; font-size: clamp(24px, 3.2vw, 42px); line-height: 1.35; letter-spacing: .055em; }
.back-link { display: inline-flex; align-items: center; gap: 13px; font-size: 10px; letter-spacing: .24em; text-decoration: none; color: #d4e1f1; padding: 9px 0; }
.back-link:hover { color: #fff; text-shadow: 0 0 18px rgba(162,204,255,.6); }
@media (max-width: 720px) {
  .games-hero { min-height: calc(100svh - 170px); padding: 126px 0 70px; }
  .games-title { font-size: clamp(43px, 12vw, 74px); }
  .games-list { margin-top: 100px; gap: 32px; }
  .games-list li { font-size: clamp(24px, 6vw, 32px); }
  .back-link { font-size: 8px; letter-spacing: .10em; }
}
/* Mindre och mer kompakta kort */

.cards {
  max-width: 1240px;
  margin-inline: auto;
}

.initiative-card {
  height: 300px;
}

.card-body {
  padding: 22px;
}

.card-icon {
  width: 58px;
  height: 58px;
}

.card-icon svg {
  width: 30px;
  height: 30px;
}

.card-title {
  font-size: 27px;
  padding-top: 10px;
}

.card-description {
  min-height: 0;
  margin: 8px 0 10px;
  font-size: 12px;
}

.card-action {
  min-height: 42px;
}

@media (max-width: 720px) {
  .initiative-card {
    height: 285px;
  }

  .card-body {
    padding: 20px;
  }
}/* Velve – kompakt premiumlayout */

@media (min-width: 980px) {
  .cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1250px;
    gap: 16px;
  }

  .initiative-card {
    height: 265px;
  }

  .card-body {
    padding: 18px;
  }

  .card-icon {
    width: 48px;
    height: 48px;
  }

  .card-icon svg {
    width: 25px;
    height: 25px;
  }

  .card-title {
    font-size: clamp(19px, 1.65vw, 25px);
    padding-top: 5px;
  }

  .card-description {
    font-size: 11px;
    min-height: 0;
    margin: 7px 0 9px;
    line-height: 1.45;
  }

  .card-action {
    min-height: 36px;
    font-size: 8px;
    letter-spacing: .08em;
  }
}

@media (min-width: 721px) and (max-width: 979px) {
  .initiative-card {
    height: 255px;
  }
}

@media (max-width: 720px) {
  .initiative-card {
    height: 240px;
  }
}/* SPEL – mindre och elegantare text */

.games-title {
  font-size: clamp(36px, 5vw, 60px);
}

.games-list {
  margin-top: 55px;
  gap: 22px;
}

.games-list li {
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.04em;
}

/* Anpassning för mobil */
@media (max-width: 720px) {
  .games-title {
    font-size: 40px;
  }

  .games-list {
    margin-top: 45px;
    gap: 20px;
  }

  .games-list li {
    font-size: 20px;
  }
}