/* Mantlenaut: coming soon. Colours from the logo: crust green, mantle browns, core fire, orbit cyan. */
:root {
  --bg: #05070f;
  --bg2: #0a0f1f;
  --text: #e9eefb;
  --muted: #9aa6c5;
  --line: rgba(255, 255, 255, 0.09);
  --glass: rgba(14, 20, 40, 0.55);
  --orange: #f2692a;
  --amber: #ffb800;
  --cream: #fff3b0;
  --cyan: #28c7d8;
  --teal: #14a9c9;
  --green: #3fbf4a;
  --red: #ff4b1f;
  --display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --r: 22px;
  --pad: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 18px; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
p { margin: 0 0 16px; color: #c9d2ea; }
.grad-fire { background: linear-gradient(95deg, var(--amber), var(--orange) 55%, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-cyan { background: linear-gradient(95deg, #9ff3ff, var(--cyan) 50%, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { font: 600 0.78rem/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.kicker.red { color: #ff8a5c; }

/* the night sky behind everything */
.stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* ---------------------------------------------------------------- top bar */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px var(--pad); transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.top.solid { background: rgba(5, 7, 15, 0.72); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom-color: var(--line); }
.top-mark { display: flex; align-items: center; gap: 10px; color: var(--text); font: 700 1.05rem var(--display); letter-spacing: 0.04em; }
.top-mark:hover { text-decoration: none; }
.top-mark img { width: 34px; height: 34px; }
.top-nav { display: flex; gap: 22px; margin-left: auto; }
.top-nav a { color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.top-nav a:hover { color: var(--text); text-decoration: none; }
.top-soon { padding: 7px 14px; border-radius: 99px; font: 600 0.78rem var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: #1b0b02; background: linear-gradient(95deg, var(--amber), var(--orange)); box-shadow: 0 0 22px rgba(242, 105, 42, 0.45); }
@media (max-width: 820px) { .top-nav { display: none; } .top-soon { margin-left: auto; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 110px var(--pad) 90px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform-origin: 62% 40%; animation: drift 38s ease-in-out infinite alternate; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at 50% 42%, rgba(5, 7, 15, 0.1), rgba(5, 7, 15, 0.55) 70%, rgba(5, 7, 15, 0.9)), linear-gradient(to bottom, rgba(5, 7, 15, 0.35), transparent 30%, transparent 60%, var(--bg)); }
@keyframes drift { from { transform: scale(1.05) translate3d(0, 0, 0); } to { transform: scale(1.16) translate3d(-2%, 1.5%, 0); } }
.hero-inner { max-width: 980px; text-align: center; }
.hero-logo { width: min(560px, 82vw); height: auto; margin: 0 auto 10px; filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 60px rgba(242, 105, 42, 0.25)); animation: rise 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero-title { font-size: clamp(2.3rem, 6.2vw, 4.8rem); margin: 6px 0 20px; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); animation: rise 1.1s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero-sub { max-width: 680px; margin: 0 auto 26px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: #dce4f7; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7); animation: rise 1.1s 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; animation: rise 1.1s 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; background: rgba(10, 15, 32, 0.6); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 0.92rem; font-weight: 500; }
.hero-soon { display: inline-flex; align-items: center; gap: 12px; font: 600 0.95rem var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); animation: rise 1.1s 0.52s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(255, 184, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 184, 0, 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-down { position: absolute; left: 50%; bottom: 26px; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 16px; }
.hero-down span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: none; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* icons (data URIs: no requests, fine under the page's security policy) */
.ico { width: 18px; height: 18px; flex: none; background: center / contain no-repeat; }
.ico-play { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffb800'%3E%3Cpath d='M8 5.5v13a1 1 0 0 0 1.5.86l10.4-6.5a1 1 0 0 0 0-1.72L9.5 4.64A1 1 0 0 0 8 5.5z'/%3E%3C/svg%3E"); }
.ico-screen { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328c7d8' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E"); }
.ico-phone { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233fbf4a' stroke-width='2' stroke-linecap='round'%3E%3Crect x='7' y='2.5' width='10' height='19' rx='2.5'/%3E%3Cpath d='M11 18.5h2'/%3E%3C/svg%3E"); }
.ico-people { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2692a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Ccircle cx='17' cy='9' r='2.6'/%3E%3Cpath d='M16 14.2c2.9.3 5 2.6 5 5.8'/%3E%3C/svg%3E"); }
.ico-shield { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff3b0' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 3v5.5c0 4.6-3.2 8.3-7.5 9.5-4.3-1.2-7.5-4.9-7.5-9.5V6z'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* ---------------------------------------------------------------- the promise */
.band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; max-width: 1180px; margin: 0 auto; padding: 0 var(--pad); }
.band-item { padding: 34px 20px; text-align: center; background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)); border: 1px solid var(--line); }
.band-item:first-child { border-radius: var(--r) 0 0 var(--r); }
.band-item:last-child { border-radius: 0 var(--r) var(--r) 0; }
.band-item b { display: block; font: 700 clamp(2rem, 4vw, 3rem) / 1 var(--display); background: linear-gradient(95deg, var(--amber), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.band-item span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr 1fr; } .band-item, .band-item:first-child, .band-item:last-child { border-radius: 0; } .band-item:first-child { border-top-left-radius: var(--r); } .band-item:nth-child(2) { border-top-right-radius: var(--r); } .band-item:nth-child(3) { border-bottom-left-radius: var(--r); } .band-item:last-child { border-bottom-right-radius: var(--r); } }

/* ---------------------------------------------------------------- two-column sections */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; max-width: 1180px; margin: 0 auto; padding: clamp(70px, 10vw, 130px) var(--pad); }
.split.rev .split-text { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev .split-text { order: 0; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; color: #c9d2ea; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.45em; width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, var(--cyan), var(--teal)); box-shadow: 0 0 12px rgba(40, 199, 216, 0.5); transform: rotate(45deg) scale(0.8); }
.ticks b { color: var(--text); }

/* the planet's layers */
.strata { display: grid; gap: 6px; padding: 18px; border-radius: var(--r); background: linear-gradient(180deg, rgba(20, 30, 60, 0.5), rgba(10, 12, 24, 0.7)); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.layer { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; padding: 14px 18px; border-radius: 14px; position: relative; overflow: hidden; }
.layer::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.9; }
.layer b { font: 700 1.05rem var(--display); }
.layer span { grid-row: 2; font-size: 0.86rem; color: rgba(255, 255, 255, 0.78); }
.layer i { grid-row: 1 / 3; grid-column: 2; align-self: center; font: 600 0.85rem var(--body); font-style: normal; color: rgba(255, 255, 255, 0.85); }
.l-surface { background: linear-gradient(90deg, #2c8f35, #3fbf4a); }
.l-crust { background: linear-gradient(90deg, #5a3016, #8a4b21); }
.l-mantle { background: linear-gradient(90deg, #9a4a22, #d8703a); }
.l-lower { background: linear-gradient(90deg, #c2471f, #ee6230); }
.l-outer { background: linear-gradient(90deg, #e03a14, #ff4b1f); }
.l-inner { background: linear-gradient(90deg, #f29300, #ffb800); color: #2a1300; }
.l-inner span, .l-inner i { color: rgba(40, 18, 0, 0.8); }
.l-heart { background: radial-gradient(ellipse at 50% 120%, #fffbe0, #fff3b0 40%, #ffd66b); color: #3a2200; box-shadow: 0 0 36px rgba(255, 220, 120, 0.55); }
.l-heart span, .l-heart i { color: rgba(60, 34, 0, 0.8); }

/* ---------------------------------------------------------------- screenshots */
.shot { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--bg2); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); cursor: zoom-in; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.shot:hover img { transform: scale(1.04); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; font-size: 0.9rem; font-weight: 500; color: #fff; background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent); }
.shot.framed { aspect-ratio: 16 / 9; }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; max-width: 1180px; height: min(62vw, 640px); margin: 0 auto; padding: 0 var(--pad); }
.gallery .tall { grid-row: 1 / 3; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; grid-template-rows: none; height: auto; } .gallery .tall { grid-row: auto; } .gallery .shot { aspect-ratio: 16 / 10; } }

/* ---------------------------------------------------------------- legends */
.legends { max-width: 1180px; margin: 0 auto; padding: clamp(80px, 11vw, 140px) var(--pad) 40px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.legend { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(50px, 7vw, 90px); }
.legend.flip .legend-img { order: 2; }
.legend-img { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 120, 60, 0.18), 0 0 80px rgba(255, 75, 31, 0.18); cursor: zoom-in; }
.legend-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.legend-img:hover img { transform: scale(1.05); }
.legend-text h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
@media (max-width: 900px) { .legend { grid-template-columns: 1fr; } .legend.flip .legend-img { order: 0; } }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--glass); border: 1px solid var(--line); }
.card img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; cursor: zoom-in; }
.card figcaption { padding: 20px 22px 24px; }
.card b { display: block; font: 700 1.25rem var(--display); margin-bottom: 6px; }
.card span { color: #c9d2ea; font-size: 0.97rem; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- together, fair, click and play */
.duo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1180px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--pad); }
.duo-card { padding: 32px 28px; border-radius: var(--r); background: linear-gradient(180deg, rgba(30, 44, 86, 0.45), rgba(12, 16, 32, 0.55)); border: 1px solid var(--line); }
.duo-card h3 { font-size: 1.45rem; }
.big-ico { display: block; width: 46px; height: 46px; margin-bottom: 18px; background: center / 62% no-repeat, radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)); border: 1px solid var(--line); border-radius: 14px; }
.big-ico.ico-people { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2692a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Ccircle cx='17' cy='9' r='2.6'/%3E%3Cpath d='M16 14.2c2.9.3 5 2.6 5 5.8'/%3E%3C/svg%3E"), radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)); }
.big-ico.ico-shield { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff3b0' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 3v5.5c0 4.6-3.2 8.3-7.5 9.5-4.3-1.2-7.5-4.9-7.5-9.5V6z'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5' stroke-linecap='round'/%3E%3C/svg%3E"), radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)); }
.big-ico.ico-play { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffb800'%3E%3Cpath d='M8 5.5v13a1 1 0 0 0 1.5.86l10.4-6.5a1 1 0 0 0 0-1.72L9.5 4.64A1 1 0 0 0 8 5.5z'/%3E%3C/svg%3E"), radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)); }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- beyond the sky */
.beyond { position: relative; min-height: 88vh; display: grid; align-items: center; overflow: hidden; isolation: isolate; margin: clamp(40px, 6vw, 80px) 0; }
.beyond-bg { position: absolute; inset: 0; z-index: -1; }
.beyond-bg img { width: 100%; height: 100%; object-fit: cover; }
.beyond-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 7, 15, 0.92), rgba(5, 7, 15, 0.55) 55%, rgba(5, 7, 15, 0.2)), linear-gradient(to bottom, var(--bg), transparent 18%, transparent 82%, var(--bg)); }
.beyond-inner { max-width: 1180px; width: 100%; margin: 0 auto; padding: 60px var(--pad); }
.beyond-inner h2, .beyond-inner p { max-width: 620px; }
.planets { display: flex; gap: 18px; margin-top: 30px; align-items: center; flex-wrap: wrap; }
.planet { width: 64px; height: 64px; border-radius: 50%; box-shadow: inset -12px -10px 22px rgba(0, 0, 0, 0.55), 0 0 30px rgba(255, 255, 255, 0.08); animation: float 7s ease-in-out infinite; }
.planet.p1 { background: radial-gradient(circle at 34% 30%, #d9b7ff, #7b3fd8 55%, #2a0f5c); }
.planet.p2 { width: 88px; height: 88px; background: radial-gradient(circle at 34% 30%, #5b5b5b, #1b1b1f 55%, #050507); box-shadow: inset -14px -12px 26px rgba(0, 0, 0, 0.7), 0 0 26px rgba(255, 184, 0, 0.25); animation-delay: -2s; }
.planet.p3 { background: radial-gradient(circle at 34% 30%, #eaffff, #7fd8e8 50%, #1f6c8c); animation-delay: -4s; }
.planet.p4 { width: 52px; height: 52px; background: radial-gradient(circle at 34% 30%, #ffcf8a, #e0561d 55%, #5a1406); animation-delay: -1s; }
.planet.p5 { width: 76px; height: 76px; background: radial-gradient(circle at 34% 30%, #b8ffb0, #3fbf4a 50%, #10522a); animation-delay: -5s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------------------------------------------------------------- the end */
.finale { text-align: center; padding: clamp(80px, 12vw, 150px) var(--pad); background: radial-gradient(ellipse 60% 60% at 50% 55%, rgba(242, 105, 42, 0.12), transparent 70%); }
.finale-logo { width: min(420px, 70vw); height: auto; margin: 0 auto 26px; }
.finale h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.finale p { color: var(--muted); font-size: 1.1rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 26px var(--pad); border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.foot-links { display: flex; gap: 18px; }
.foot a { color: var(--muted); }

/* ---------------------------------------------------------------- reveal on scroll, lightbox */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; background: rgba(3, 5, 10, 0.92); backdrop-filter: blur(6px); cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 96vw; max-height: 90vh; border-radius: 14px; box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7); }
.lightbox button { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img, .planet, .pulse, .hero-down span { animation: none; }
  .hero-logo, .hero-title, .hero-sub, .hero-chips, .hero-soon { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
