/* SimPolis coming-soon page: dusk. Dark cool edges, warm lamp light in the middle, the logo blue as the accent.
   A framed hero picture with a quiet menu inside, rounded picture cards, glass buttons. Mobile first. */
:root {
  --night: #0b1230;          /* harbour night */
  --night-2: #121a3f;
  --indigo: #262a62;
  --text: #f6f1e7;
  --dim: #c3b6d2;            /* dusk lavender, readable */
  --blue: #19b1e6;           /* the logo's blue */
  --gold: #ffe2a6;           /* lamp gold */
  --peach: #f5ac9c;
  --edge: rgba(255, 236, 196, 0.20);
  --line: rgba(196, 178, 222, 0.14);
  --gutter: 16px;
  --radius: 28px;
  --font: "Outfit", system-ui, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font: 400 17px/1.6 var(--font); overflow-x: hidden;
  background: radial-gradient(ellipse 80% 50% at 70% 0%, #2b2a6a 0%, rgba(43, 42, 106, 0) 60%),
              radial-gradient(ellipse 60% 40% at 10% 60%, rgba(10, 133, 151, 0.18) 0%, rgba(10, 133, 151, 0) 70%),
              var(--night);
}
img { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: #2a1c08; padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- the hero: one big framed picture ---- */
.hero { padding: 0; }
.hero__frame {
  position: relative; min-height: 100vh; overflow: hidden; background: var(--night-2);
  display: flex; flex-direction: column;
}
@supports (height: 100svh) { .hero__frame { min-height: 100svh; } }
/* the picture runs out into the page's own dusk at the bottom, no edge */
.hero__frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(to bottom, rgba(11, 18, 48, 0), var(--night)); pointer-events: none; z-index: 1; }
.hero__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 70%; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 46% 52% at 22% 62%, rgba(11, 18, 48, 0.82) 0%, rgba(11, 18, 48, 0.55) 45%, rgba(11, 18, 48, 0) 100%),
              linear-gradient(to bottom, rgba(11, 18, 48, 0.45) 0%, rgba(11, 18, 48, 0) 14%);
}

/* the quiet menu inside the frame */
.nav { position: relative; z-index: 2; display: flex; align-items: center; gap: 16px; width: 100%; max-width: 1440px; margin: 0 auto; padding: 24px var(--gutter); }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 19px; letter-spacing: 0.01em; }
.nav__brand img { width: 34px; height: 34px; }
.nav__links { display: none; gap: 34px; margin-left: auto; }
.nav__links a { color: rgba(246, 241, 231, 0.72); text-decoration: none; font-size: 14px; font-weight: 500; padding: 4px 0; border-bottom: 1.5px solid transparent; transition: color .2s, border-color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__links a[aria-current="page"] { color: var(--text); border-bottom-color: var(--text); }
.nav__pill {
  margin-left: auto; font-size: 14px; font-weight: 500; color: var(--text); padding: 9px 18px; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
@media (min-width: 860px) { .nav__links { display: flex; } .nav__pill { margin-left: 0; } }

/* the words on the left */
.hero__text { position: relative; z-index: 2; margin: auto auto 0; width: 100%; max-width: 1440px; padding: 0 var(--gutter) clamp(48px, 9vw, 120px); }
.hero__text > * { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--gold); letter-spacing: 0.02em; margin-bottom: 18px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px 3px rgba(255, 210, 150, 0.6); }
.hero h1 { font-weight: 800; font-size: clamp(42px, 7vw, 88px); line-height: 1.0; letter-spacing: -0.02em; text-shadow: 0 0 40px rgba(25, 177, 230, 0.25), 0 4px 30px rgba(4, 6, 24, 0.6); }
.hero h1 span { color: var(--gold); text-shadow: 0 0 40px rgba(255, 200, 140, 0.35), 0 4px 30px rgba(4, 6, 24, 0.6); }
.hero__lead { margin-top: 20px; max-width: 520px; font-size: clamp(16px, 1.4vw, 18px); color: rgba(246, 241, 231, 0.86); }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* the buttons: a solid light one and a glass one */
.btn { display: inline-flex; align-items: center; justify-content: center; min-width: 190px; padding: 14px 26px; border-radius: 14px; font: 500 16px/1 var(--font); text-decoration: none; transition: transform .15s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--solid { background: #fbf8f2; color: #141a3c; box-shadow: 0 10px 30px rgba(4, 6, 24, 0.4); }
.btn--solid:hover { background: #fff; box-shadow: 0 12px 34px rgba(255, 210, 150, 0.25); }
.btn--glass { color: var(--text); background: linear-gradient(135deg, rgba(167, 139, 181, 0.28), rgba(38, 42, 98, 0.35)); border: 1.5px solid rgba(255, 255, 255, 0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--glass:hover { background: linear-gradient(135deg, rgba(167, 139, 181, 0.40), rgba(38, 42, 98, 0.45)); }

/* ---- sections ---- */
.section { max-width: 1440px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gutter) 0; }
.section__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.section h2 { font-weight: 700; font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.01em; line-height: 1.1; }
.section__head p { color: var(--dim); }

/* the picture cards */
.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.cards--pair, .cards--second { margin-top: 18px; }
@media (min-width: 640px) { .cards--pair { grid-template-columns: 1fr 1fr; } }
.card--fact { display: flex; align-items: center; gap: 20px; padding: 26px 28px; background: radial-gradient(ellipse 70% 90% at 0% 50%, rgba(25, 177, 230, 0.16), rgba(25, 177, 230, 0) 65%), linear-gradient(160deg, rgba(38, 42, 98, 0.9), rgba(18, 26, 63, 0.95)); }
.card--fact h3 { font-size: 22px; color: var(--gold); }
.card--fact p { margin-top: 4px; color: var(--dim); font-size: 15px; line-height: 1.5; }
.fact__icon { flex: none; width: 52px; height: 52px; padding: 12px; border-radius: 16px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: rgba(25, 177, 230, 0.12); border: 1px solid rgba(25, 177, 230, 0.35); box-shadow: 0 0 24px rgba(25, 177, 230, 0.25); }
.card--list { display: flex; align-items: center; background: radial-gradient(ellipse 80% 70% at 85% 10%, rgba(255, 210, 150, 0.16), rgba(255, 210, 150, 0) 60%), linear-gradient(160deg, rgba(38, 42, 98, 0.9), rgba(18, 26, 63, 0.95)); }
.card--list .card__body { padding: 28px; }
.card--list h3 { font-size: 24px; color: var(--gold); }
.features { margin-top: 16px; display: grid; gap: 12px; }
.features li { position: relative; padding-left: 26px; color: var(--text); font-size: 16px; line-height: 1.4; }
.features li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 10px; border-radius: 3px; background: var(--blue); box-shadow: 0 0 10px rgba(25, 177, 230, 0.6); }
.card {
  position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--edge);
  background: linear-gradient(160deg, rgba(38, 42, 98, 0.75), rgba(18, 26, 63, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 240, 210, 0.12), 0 24px 60px rgba(4, 6, 24, 0.5);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 240, 210, 0.18), 0 30px 70px rgba(4, 6, 24, 0.6), 0 0 60px rgba(255, 200, 150, 0.10); }
.card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.card--news img { aspect-ratio: 16 / 9; }
.card__body { padding: 18px 20px 22px; }
.card h3 { font-weight: 600; font-size: 20px; line-height: 1.25; }
.card__body p { margin-top: 6px; color: var(--dim); font-size: 15px; line-height: 1.5; }
.card__body .card__tag { margin: 0 0 6px; color: var(--gold); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; }

/* ---- the carousel: one big picture at a time ---- */
.carousel__view { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--edge); background: var(--night-2); touch-action: pan-y; box-shadow: 0 40px 100px rgba(4, 6, 24, 0.6); }
.carousel__track { display: flex; transition: transform 0.55s cubic-bezier(0.25, 0.7, 0.2, 1); }
.carousel__slide { flex: 0 0 100%; position: relative; }
.carousel__slide img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.carousel__slide figcaption {
  position: absolute; left: 18px; bottom: 18px; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--text);
  background: rgba(11, 18, 48, 0.55); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  color: var(--text); background: rgba(11, 18, 48, 0.5); border: 1px solid rgba(255, 255, 255, 0.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.carousel__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.carousel__arrow:hover { background: #fbf8f2; color: #141a3c; }
.carousel__arrow--prev { left: 14px; }
.carousel__arrow--next { right: 14px; }
.carousel__dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding-top: 20px; }
.carousel__dots button { min-width: 38px; height: 38px; padding: 0 10px; border-radius: 12px; cursor: pointer; font: 500 15px var(--font); color: var(--dim); background: transparent; border: 1px solid var(--line); }
.carousel__dots button:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.35); }
.carousel__dots button[aria-current="true"] { background: var(--gold); border-color: var(--gold); color: #2a1c08; }
@media (min-width: 768px) { .carousel__arrow { width: 56px; height: 56px; } .carousel__arrow--prev { left: 24px; } .carousel__arrow--next { right: 24px; } }
html:not(.js) .carousel__track { flex-direction: column; gap: 24px; }
html:not(.js) .carousel__arrow, html:not(.js) .carousel__dots { display: none; }

/* ---- closing: the pictures dimmed behind ---- */
.closing { position: relative; max-width: 1440px; margin: clamp(64px, 9vw, 120px) auto 0; padding: 0 var(--gutter); }
.closing__wall { display: grid; grid-template-columns: repeat(2, 1fr); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--edge); }
@media (min-width: 768px) { .closing__wall { grid-template-columns: repeat(4, 1fr); } }
.closing__wall img { width: 100%; height: clamp(160px, 26vw, 380px); object-fit: cover; filter: saturate(0.8) brightness(0.45); }
.closing__text {
  position: absolute; inset: 0 var(--gutter); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px;
  border-radius: var(--radius); background: radial-gradient(ellipse 50% 70% at 50% 55%, rgba(255, 200, 150, 0.22), rgba(38, 42, 98, 0.45) 55%, rgba(11, 18, 48, 0.75));
}
.closing__text img { width: 64px; height: 64px; margin-bottom: 10px; filter: drop-shadow(0 0 24px rgba(255, 210, 150, 0.45)); }
.closing h2 { font-weight: 800; font-size: clamp(40px, 6vw, 76px); line-height: 1; letter-spacing: -0.01em; color: var(--gold); text-shadow: 0 0 40px rgba(255, 200, 140, 0.4); }
.closing p { margin-top: 10px; font-size: 18px; color: var(--text); }

/* ---- footer ---- */
.footer { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 64px var(--gutter) 48px; color: var(--dim); font-size: 15px; }
.footer .nav__brand { font-size: 17px; margin-bottom: 4px; }
.footer .nav__brand img { width: 28px; height: 28px; }
.footer__copy { font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel__track, .card, .btn { transition: none; }
}
@media (max-width: 700px) { .hero__shade { background: radial-gradient(ellipse 110% 50% at 30% 68%, rgba(11, 18, 48, 0.85) 0%, rgba(11, 18, 48, 0.55) 55%, rgba(11, 18, 48, 0) 100%), linear-gradient(to bottom, rgba(11, 18, 48, 0.45) 0%, rgba(11, 18, 48, 0) 14%); } }
/* the two facts in colour, so they stand out between the card rows */
.card--fact:first-child { background: radial-gradient(ellipse 60% 120% at 100% 0%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 60%), linear-gradient(120deg, #0a6f8a 0%, #1497cf 55%, #3cc4f0 100%); border-color: rgba(255, 255, 255, 0.35); }
.card--fact:last-child { background: radial-gradient(ellipse 60% 120% at 100% 0%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 60%), linear-gradient(120deg, #e88f86 0%, #f5ac9c 40%, #ffe2a6 100%); border-color: rgba(255, 255, 255, 0.45); }
.card--fact:first-child h3, .card--fact:first-child p { color: #fff; }
.card--fact:first-child p { color: rgba(255, 255, 255, 0.88); }
.card--fact:last-child h3 { color: #2a1530; }
.card--fact:last-child p { color: #4a2a3c; }
.card--fact .fact__icon { stroke: #fff; background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.5); box-shadow: none; }
.card--fact:last-child .fact__icon { stroke: #2a1530; background: rgba(255, 255, 255, 0.35); border-color: rgba(42, 21, 48, 0.25); }
.card--fact:hover { box-shadow: 0 30px 70px rgba(4, 6, 24, 0.6), 0 0 60px rgba(255, 210, 150, 0.18); }
