:root {
  --bg: #0a0b0d;
  --surface: #121416;
  --surface-2: #181b1d;
  --text: #f3f2ec;
  --muted: #929791;
  --lime: #c7ff36;
  --coral: #ff6b43;
  --line: rgba(255,255,255,.13);
  --pad: clamp(24px, 5vw, 76px);
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; }
body { width: 100%; max-width: 100%; margin: 0; color: var(--text); background: var(--bg); font-family: "Manrope", sans-serif; overflow-x: hidden; overflow-x: clip; }
img, video, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.noise { position: fixed; inset: 0; opacity: .025; pointer-events: none; z-index: 100; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }

.site-header { height: 84px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; position: absolute; top: 0; left: 0; width: 100%; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: "Unbounded", sans-serif; font-weight: 800; font-size: 16px; letter-spacing: .04em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; color: #0a0b0d; background: var(--lime); font-size: 19px; transform: skew(-5deg); }
.site-nav { display: flex; align-items: center; gap: clamp(28px, 4vw, 60px); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.site-nav a { position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px; background: var(--lime); transition: width .25s; }
.site-nav a:hover::after { width: 100%; }
.menu-toggle { display: none; }

.hero { min-height: 780px; height: 100svh; max-height: 1020px; position: relative; display: flex; padding: 140px var(--pad) 80px; align-items: center; isolation: isolate; overflow: hidden; }
.hero-art { position: absolute; z-index: -3; inset: 0; background: url("assets/mad-apps-hero.png") center/cover no-repeat; transform: scale(1.015); animation: hero-in 1.4s ease-out both; }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(6,8,10,.97) 0%, rgba(6,8,10,.89) 30%, rgba(6,8,10,.2) 67%, rgba(6,8,10,.1)), linear-gradient(0deg, rgba(6,8,10,.65), transparent 35%); }
.hero-content { width: min(740px, 63vw); }
.eyebrow { margin: 0 0 24px; color: var(--muted); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 34px; height: 2px; background: var(--lime); }
.hero h1, h2, h3 { font-family: "Unbounded", sans-serif; margin: 0; letter-spacing: -.055em; line-height: 1.03; }
.hero h1 { max-width: 800px; font-size: clamp(52px, 6.2vw, 104px); }
.hero h1 em, .contact h2 em { color: var(--lime); font-style: normal; }
.hero-copy { margin: 30px 0 38px; max-width: 570px; color: #bdc1bc; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 34px; }
.button { min-height: 58px; padding: 0 26px; display: inline-flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.button-primary { color: #0a0b0d; background: var(--lime); transition: transform .25s, box-shadow .25s; }
.button-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(199,255,54,.2); }
.button-primary span { font-size: 19px; }
.text-link { color: #d5d7d2; font-size: 13px; font-weight: 700; border-bottom: 1px solid #666; padding: 12px 0; transition: color .2s, border-color .2s; }
.text-link:hover { color: var(--lime); border-color: var(--lime); }
.hero-meta { position: absolute; left: var(--pad); right: var(--pad); bottom: 30px; display: flex; gap: 34px; font-size: 9px; letter-spacing: .21em; color: #6e746e; }
.scroll-hint { position: absolute; right: var(--pad); bottom: 25px; display: flex; align-items: center; gap: 14px; color: #9ca09b; font-size: 9px; letter-spacing: .25em; writing-mode: vertical-rl; }
.scroll-hint i { color: var(--lime); font-style: normal; font-size: 18px; }
@keyframes hero-in { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1.015); } }

.section { padding: clamp(90px, 11vw, 160px) var(--pad); }
.projects { background: #efeee8; color: #111315; }
.section-heading { display: grid; grid-template-columns: 1.45fr .55fr; align-items: end; gap: 50px; margin-bottom: 70px; }
.section-heading .eyebrow, .about .eyebrow { color: #70746f; }
.section-heading h2, .about h2 { font-size: clamp(42px, 5.5vw, 82px); }
.section-heading h2 span { color: #91958f; }
.section-heading > p { margin: 0 0 7px; max-width: 410px; color: #686c67; line-height: 1.8; font-size: 15px; }
.app-project { min-height: 330px; margin-bottom: 22px; display: grid; grid-template-columns: minmax(260px, .65fr) 1.35fr; overflow: hidden; color: var(--text); background: #171e26; box-shadow: 0 18px 55px rgba(28,43,55,.12); }
.app-project-clickable { cursor:pointer; transition:transform .3s, box-shadow .3s; }.app-project-clickable:hover,.app-project-clickable:focus-visible { transform:translateY(-5px); box-shadow:0 25px 65px rgba(28,43,55,.22); outline:none; }.app-project-clickable:focus-visible { box-shadow:0 0 0 3px #efeee8,0 0 0 6px #527ca7,0 25px 65px rgba(28,43,55,.22); }
.app-project-symbol { position: relative; min-height: 330px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 45%, rgba(129,190,255,.32), transparent 38%), linear-gradient(145deg, #dcecf8, #adc9df); }
.app-project-symbol::before { content: ""; position: absolute; width: 230px; height: 230px; border: 1px solid rgba(44,87,122,.16); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.08), 0 0 0 70px rgba(255,255,255,.06); }
.app-project-symbol .moon { position: relative; width: 120px; height: 120px; border-radius: 50%; background: #fff7d8; box-shadow: -28px 18px 0 #789bc0, 0 18px 40px rgba(71,105,137,.22); transform: translate(14px,-8px); }
.app-project-symbol b { position: absolute; right: 28px; bottom: 25px; padding: 9px 11px; color: #fff; background: #527ca7; font-family: "Unbounded", sans-serif; font-size: 11px; letter-spacing: .08em; transform: rotate(-5deg); }
.app-project-symbol .star { position: absolute; color: #fff7d8; font-style: normal; text-shadow: 0 4px 15px rgba(71,105,137,.3); }
.star-one { top: 24%; left: 22%; font-size: 28px; }.star-two { right: 20%; top: 18%; font-size: 17px; }
.app-project-info { padding: clamp(32px, 4vw, 58px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 25px 45px; }
.app-project-label { grid-column: 1 / -1; color: #8abfff; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.app-project-copy { grid-column: 1; grid-row: 2; align-self: center; }
.app-project h3 { margin-bottom: 18px; font-size: clamp(38px, 4vw, 58px); }
.app-project-info p { max-width: 650px; margin: 0; color: #aeb8c0; font-size: 14px; line-height: 1.7; }
.app-project-tags { grid-column: 1; grid-row: 3; align-self: start; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.app-project-tags li { padding: 7px 11px; color: #b8c5cf; border: 1px solid #3d4b56; border-radius: 30px; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.app-project-actions { grid-column: 2; grid-row: 2 / 4; min-width: 225px; display: grid; align-self: end; gap: 12px; }
.app-project-link { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: #101210; background: var(--text); border-radius: 9px; transition: transform .25s, background .25s; }
.app-project-link:hover { transform: translateY(-3px); background: #b9dcff; }
.app-project-download { color: var(--text); background: transparent; border: 1px solid #506170; }
.app-project-download:hover { background: #19232b; }
.download-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #708290; border-radius: 50%; font-size: 19px; }
.app-project-download small { color: #91a0ac; }
.app-project-link > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; }
.app-project-link small { color: #606b73; font-size: 8px; }
.app-project-link b { font-size: 16px; line-height: 1.1; }
.app-project-link strong { font-size: 20px; }
.managed-apps { display: grid; gap: 22px; }
.managed-app { min-height: 300px; margin-bottom: 22px; display: grid; grid-template-columns: minmax(260px,.65fr) 1.35fr; overflow: hidden; color: var(--text); background: #171e26; box-shadow: 0 18px 55px rgba(28,43,55,.12); }
.managed-app-media { min-height: 300px; background: linear-gradient(145deg,#283746,#101820); background-position:center; background-size:cover; }
.managed-app-body { padding: clamp(32px,4vw,58px); display:flex; flex-direction:column; justify-content:center; align-items:flex-start; }
.managed-app-label { color:#8abfff;font-size:10px;font-weight:800;letter-spacing:.18em;text-transform:uppercase; }
.managed-app h3 { margin:18px 0;font-size:clamp(34px,4vw,56px); }
.managed-app p { max-width:650px;margin:0;color:#aeb8c0;font-size:14px;line-height:1.7; }
.managed-app-tags { display:flex;flex-wrap:wrap;gap:8px;margin:22px 0;padding:0;list-style:none; }
.managed-app-tags li { padding:7px 11px;color:#b8c5cf;border:1px solid #3d4b56;border-radius:30px;font-size:8px;font-weight:700;letter-spacing:.08em;text-transform:uppercase; }
.managed-app-links { display:flex;flex-wrap:wrap;gap:10px; }
.managed-app-links a { padding:12px 16px;color:#101210;background:var(--text);border-radius:8px;font-size:12px;font-weight:800; }
.rustore-card { position: relative; overflow: hidden; min-height: 430px; padding: clamp(38px, 6vw, 82px); display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; color: var(--text); background: radial-gradient(circle at 82% 25%, rgba(199,255,54,.18), transparent 30%), linear-gradient(135deg, #191d1b, #0e1110); transition: transform .3s, box-shadow .3s; }
.rustore-card::before { content: ""; position: absolute; inset: 0; opacity: .25; background: linear-gradient(rgba(199,255,54,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(199,255,54,.08) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent, black); }
.rustore-card:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(17,19,18,.2); }
.rustore-card-copy, .rustore-card-action { position: relative; z-index: 1; }
.rustore-label { display: block; margin-bottom: 28px; color: var(--lime); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.rustore-card h3 { max-width: 820px; font-size: clamp(38px, 5vw, 72px); }
.rustore-card-copy p { max-width: 620px; margin: 28px 0 0; color: #9ea39d; font-size: 15px; line-height: 1.75; }
.rustore-card-action { min-width: 235px; display: flex; align-items: center; gap: 13px; padding: 15px 17px; color: #101210; background: var(--text); border-radius: 9px; transition: background .25s; }
.rustore-card:hover .rustore-card-action { background: var(--lime); }
.rustore-card-action > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; }
.rustore-card-action small { color: #60645f; font-size: 8px; }
.rustore-card-action b { font-size: 18px; line-height: 1.1; }
.rustore-card-action strong { font-size: 21px; }
.store-icon { position: relative; width: 29px; height: 29px; display: block; }
.store-icon i { position: absolute; width: 17px; height: 17px; border-radius: 50% 50% 50% 4px; transform: rotate(45deg); }
.store-icon i:nth-child(1) { background: #7657ff; top: 0; left: 0; }
.store-icon i:nth-child(2) { background: #ff496f; bottom: 0; left: 0; }
.store-icon i:nth-child(3) { background: #22d1a2; right: 0; top: 6px; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; background: var(--lime); color: #111411; }
.about .eyebrow span { background: #111411; }.about h2 span { color: rgba(17,20,17,.38); }.about-body { padding-top: 40px; }.about-body .lead { font-size: clamp(22px, 2.3vw, 34px); line-height: 1.45; font-weight: 700; margin-top: 0; }.about-body > p:not(.lead) { max-width: 650px; line-height: 1.8; color: rgba(17,20,17,.67); }.principles { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 60px; border-top: 1px solid rgba(0,0,0,.22); padding-top: 25px; }.principles div { display: flex; flex-direction: column; gap: 16px; }.principles b { font-size: 10px; letter-spacing: .12em; }.principles span { font-size: 13px; font-weight: 700; line-height: 1.5; }

.contact { min-height: 650px; position: relative; overflow: hidden; display: flex; align-items: center; background: #0d0f11; }.contact-inner { position: relative; z-index: 2; }.contact h2 { font-size: clamp(54px, 7vw, 104px); }.contact .email { display: inline-flex; gap: 35px; align-items: center; margin: 40px 0 18px; padding-bottom: 8px; color: var(--text); font-size: clamp(20px, 2.5vw, 35px); font-weight: 600; border-bottom: 1px solid #636763; }.contact .email:hover { color: var(--lime); border-color: var(--lime); }.contact-inner > p:last-child { color: #757a75; line-height: 1.7; font-size: 13px; }.contact-orbit { position: absolute; right: 7vw; width: min(34vw, 430px); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #313532; border-radius: 50%; }.contact-orbit::before, .contact-orbit::after { content: ""; position: absolute; border: 1px solid #222522; border-radius: 50%; }.contact-orbit::before { inset: 12%; }.contact-orbit::after { inset: -18%; }.contact-orbit i { font-family: "Unbounded"; font-style: normal; font-weight: 800; color: var(--lime); font-size: clamp(90px, 12vw, 170px); }.contact-orbit span { position: absolute; top: 8px; color: #666b66; letter-spacing: .3em; font-size: 9px; }
footer { min-height: 100px; padding: 25px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); }.footer-meta { display:grid; gap:9px; text-align:center; }.footer-meta p { margin:0; }.footer-legal { display:flex; justify-content:center; flex-wrap:wrap; gap:0; }.footer-legal a { display:inline-flex; align-items:center; color:#777c77; font-size:9px; line-height:1.5; letter-spacing:.04em; transition:color .2s; }.footer-legal a:not(:last-child)::after { content:"·"; margin:0 9px; color:#3f433f; }.footer-legal a:hover { color:#c9cdc7; } footer p, .to-top { color: #707570; font-size: 10px; letter-spacing: .08em; }.to-top { text-transform: uppercase; }.to-top:hover { color: var(--lime); }

.contact { display:grid; grid-template-columns:minmax(0,.9fr) minmax(360px,.7fr); gap:clamp(50px,8vw,130px); }
.contact-form { display:grid; grid-template-columns:1fr 1fr; gap:22px; padding:clamp(28px,4vw,48px); background:#15181a; border:1px solid var(--line); position:relative; z-index:2; }
.form-field { display:flex; flex-direction:column; gap:9px; }.form-field-wide,.form-submit { grid-column:1/-1; }
.form-field label { color:#929791; font-size:10px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.form-field input,.form-field textarea { width:100%; padding:13px 0; color:var(--text); background:transparent; border:0; border-bottom:1px solid #454a46; border-radius:0; outline:0; font:inherit; resize:vertical; transition:border-color .2s; }
.form-field input:focus,.form-field textarea:focus { border-color:var(--lime); }.form-field textarea { min-height:125px; }
.form-submit { display:flex; align-items:center; gap:20px; margin-top:8px; }.form-submit button { border:0; cursor:pointer; }.form-submit button:disabled { opacity:.6; cursor:wait; }
.form-status { margin:0; color:#aeb2ad; font-size:13px; line-height:1.5; }.form-status.success { color:var(--lime); }.form-status.error { color:#ff8b6b; }
.form-consent { display:flex; align-items:flex-start; gap:11px; color:#aeb2ad; font-size:12px; line-height:1.55; cursor:pointer; }.form-consent input { width:18px; height:18px; margin:1px 0 0; flex:0 0 auto; accent-color:var(--lime); }.form-consent a { color:var(--text); border-bottom:1px solid #666; }.form-consent a:hover { color:var(--lime); border-color:var(--lime); }
.form-trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .contact { grid-template-columns:1fr; }
  .site-header { height: 72px; }.menu-toggle { width: 42px; height: 42px; display: grid; place-content: center; gap: 6px; background: transparent; color: white; border: 1px solid var(--line); z-index: 2; }.menu-toggle span { width: 18px; height: 1px; background: currentColor; transition: transform .2s; }.menu-toggle.active span:first-child { transform: translateY(3.5px) rotate(45deg); }.menu-toggle.active span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: absolute; top: 0; right: 0; width: min(80vw, 360px); max-width: 100%; height: 100vh; background: #101214; padding: 120px 40px; flex-direction: column; align-items: flex-start; transform: translateX(100%); transition: transform .3s; }.site-nav.open { transform: translateX(0); }
  .hero { min-height: 700px; align-items: flex-end; padding-bottom: 120px; }.hero-content { width: 100%; }.hero-art { background-position: 62% center; }.hero-shade { background: linear-gradient(90deg, rgba(6,8,10,.9), rgba(6,8,10,.38)), linear-gradient(0deg, rgba(6,8,10,.9), transparent 70%); }.hero h1 { font-size: clamp(44px, 9vw, 70px); }.scroll-hint { display: none; }
  .section-heading, .about { grid-template-columns: 1fr; }.section-heading { gap: 25px; }.app-project,.managed-app { grid-template-columns: 1fr; }.app-project-symbol,.managed-app-media { min-height: 260px; }.app-project-info { grid-template-columns: 1fr; }.app-project-label, .app-project-copy, .app-project-tags, .app-project-actions { grid-column: auto; grid-row: auto; }.rustore-card { align-items: flex-start; flex-direction: column; }.about { gap: 10px; }.contact-orbit { right: -17vw; opacity: .42; }
}

@media (max-width: 600px) {
  .contact-form { grid-template-columns:1fr; padding:28px 22px; }.form-field-wide,.form-submit { grid-column:auto; }.form-submit { align-items:flex-start; flex-direction:column; }
  .hero { min-height: 720px; padding-bottom: 105px; }.hero h1 { font-size: 41px; line-height: 1.12; }.hero-copy { margin: 22px 0 28px; font-size: 15px; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }.hero-meta { gap: 15px; flex-wrap: wrap; bottom: 24px; }.hero-meta span:last-child { display: none; }
  .section { padding-top: 85px; padding-bottom: 85px; }.section-heading { margin-bottom: 40px; }.section-heading h2, .about h2 { font-size: 39px; }.section-heading > p { font-size: 14px; }.app-project-symbol { min-height: 220px; }.app-project-symbol::before { width: 170px; height: 170px; }.app-project-symbol .moon { width: 90px; height: 90px; box-shadow: -21px 14px 0 #789bc0, 0 14px 32px rgba(71,105,137,.22); }.app-project-info { padding: 30px 25px; gap: 22px; }.app-project h3 { font-size: 38px; }.app-project-actions { width: 100%; min-width: 0; }.app-project-link { min-width: 0; }.rustore-card { min-height: 460px; padding: 34px 25px; gap: 34px; }.rustore-card h3 { font-size: 38px; }.rustore-card-copy p { font-size: 14px; }.rustore-card-action { width: 100%; min-width: 0; }.principles { grid-template-columns: 1fr; gap: 25px; }.principles div { flex-direction: row; align-items: baseline; gap: 25px; }.contact { min-height: 570px; }.contact h2 { font-size: 52px; }.contact .email { font-size: 19px; gap: 15px; }.contact-orbit { width: 360px; right: -220px; } footer { align-items:flex-start; flex-wrap: wrap; }.footer-meta { order:3; width:100%; text-align:left; }.footer-legal { justify-content:flex-start; } footer p { width: 100%; }
}
