/* App pages: shared layout, skins and interactive showcases */

.app-intro { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.app-intro .h2 { max-width: 12ch; }
.app-intro .body p { color: var(--dim); font-size: 18px; }
.app-intro .body p:first-child { color: var(--paper); font-size: clamp(20px, 2vw, 24px); line-height: 1.45; }
@media (max-width: 860px) { .app-intro { grid-template-columns: 1fr; } }

.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(40px, 5vw, 64px); }
.facts-row div { padding: 20px 18px 20px 0; }
.facts-row div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.facts-row dt { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.facts-row dd { margin: 0; font-size: 16px; }
@media (max-width: 760px) { .facts-row { grid-template-columns: 1fr 1fr; } .facts-row div:nth-child(3) { border-left: 0; padding-left: 0; } .facts-row div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.roadmap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.roadmap .card { border-style: dashed; }
.roadmap .card .num { color: var(--mute); }

.legal { font-size: 13px; color: var(--mute); max-width: 70ch; }

/* ---------- Arcade Kinetic (Forgeflight) ---------- */
.skin-arcade { --accent: #FF8A3D; --accent-hi: #FFCF5A; background: radial-gradient(1200px 800px at 80% 60%, rgba(255, 90, 43, .08), transparent 60%), #0d0710; }
.skin-arcade .card { background: linear-gradient(180deg, rgba(255, 138, 61, .07), rgba(255, 61, 110, .02)); }
.skin-arcade .feat-ico { background: linear-gradient(135deg, #FF5A2B, #FF3D6E); color: #fff; box-shadow: 0 8px 24px -8px rgba(255, 90, 43, .7); transform: rotate(-6deg); }
.skin-arcade .card:hover .feat-ico { animation: wob .6s var(--ease-out); }
@keyframes wob { 30% { transform: rotate(8deg) scale(1.12); } 60% { transform: rotate(-10deg) scale(.96); } 100% { transform: rotate(-6deg); } }
.sticker { display: inline-block; padding: 6px 12px; border-radius: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; background: #FFCF5A; color: #2a0f06; transform: rotate(-3deg); box-shadow: 0 6px 0 #b8541f; }
.arcade-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .arcade-box { grid-template-columns: 1fr; } }
.game { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 10; background: #1B1F3A; box-shadow: 0 0 0 1px rgba(255, 207, 90, .25), 0 40px 90px -30px rgba(255, 90, 43, .55); touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.game canvas { width: 100%; height: 100%; }
.game .hud { position: absolute; top: 14px; left: 18px; right: 18px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: #FFF4EC; pointer-events: none; text-shadow: 0 2px 0 rgba(0, 0, 0, .4); }
.game .hud b { font-size: 22px; color: #FFCF5A; }
.game .overlay { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 10px; background: radial-gradient(closest-side, rgba(22, 9, 18, .55), rgba(22, 9, 18, .2)); cursor: pointer; }
.game .overlay h3 { font-family: var(--serif); font-size: clamp(30px, 4vw, 48px); margin: 0; color: #FFF4EC; }
.game .overlay p { margin: 0; color: #C9ACA3; font-size: 15px; }
.game .overlay[hidden] { display: none; }
@media (max-width: 600px) { .game { aspect-ratio: 4 / 5; } }
.how-play { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.how-play li { display: flex; gap: 12px; align-items: center; color: var(--dim); font-size: 16px; }
.how-play kbd { font-family: var(--mono); font-size: 12px; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--paper); background: rgba(255, 255, 255, .04); min-width: 2.4em; text-align: center; }

.ladder { display: flex; gap: 10px; flex-wrap: wrap; }
.ladder span { padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(255, 207, 90, .3); background: rgba(255, 138, 61, .08); font-size: 15px; transition: transform .4s var(--ease-out), background .3s; }
.ladder span:hover { transform: translateY(-4px) rotate(-2deg); background: rgba(255, 138, 61, .18); }
.ladder span small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: #FFCF5A; text-transform: uppercase; }
.worlds { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 18px; }
.worlds div { border-radius: 12px; padding: 14px 10px; font-size: 13px; text-align: center; background: var(--w); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
@media (max-width: 700px) { .worlds { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Blueprint (Radon Tracker) ---------- */
.skin-blueprint { --accent: #5b8cff; --accent-hi: #a9c2ff; background-color: #070d1d; background-image: linear-gradient(rgba(91, 140, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 140, 255, .06) 1px, transparent 1px), linear-gradient(rgba(91, 140, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 140, 255, .03) 1px, transparent 1px); background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; }
.skin-blueprint .card { background: rgba(7, 13, 29, .75); border-color: rgba(91, 140, 255, .22); border-radius: 6px; }
.skin-blueprint .card::after { content: ""; position: absolute; top: 8px; right: 8px; width: 10px; height: 10px; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); opacity: .6; }
.skin-blueprint .feat-ico { border-radius: 4px; background: transparent; border: 1px solid rgba(91, 140, 255, .5); }
.skin-blueprint .h2, .skin-blueprint .display { font-family: var(--serif); }
.skin-blueprint .eyebrow::before { width: 34px; background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 7px); height: 1px; }
.dim-line { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: .16em; margin-bottom: 14px; }
.dim-line::before, .dim-line::after { content: ""; flex: 1; height: 1px; background: rgba(91, 140, 255, .4); }

.gauge-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .gauge-wrap { grid-template-columns: 1fr; } }
.gauge-panel { border: 1px solid rgba(91, 140, 255, .3); border-radius: 8px; padding: clamp(20px, 3vw, 36px); background: rgba(7, 13, 29, .8); position: relative; }
.gauge-panel .tag { position: absolute; top: -11px; left: 20px; background: #070d1d; padding: 0 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--accent); }
.gauge { width: 100%; max-width: 440px; margin: 0 auto; }
.gauge .val { font-family: var(--serif); font-size: 64px; fill: var(--paper); }
.gauge .unit { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; fill: var(--dim); }
.gauge .band-name { font-family: var(--sans); font-size: 16px; font-weight: 500; }
.gauge #needle { transition: transform .9s cubic-bezier(.34, 1.56, .64, 1); transform-origin: 200px 200px; }
html[data-calm] .gauge #needle { transition: none; }
.detectors { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 10px; justify-content: center; }
.seg { display: inline-flex; padding: 4px; border-radius: 8px; border: 1px solid rgba(91, 140, 255, .3); gap: 2px; }
.seg button { border: 0; background: none; padding: 8px 12px; border-radius: 5px; cursor: pointer; font-size: 14px; color: var(--dim); }
.seg button[aria-pressed="true"] { background: rgba(91, 140, 255, .2); color: var(--paper); }
.range { width: 100%; accent-color: var(--accent); margin-top: 10px; }
.band-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 18px; }
.band-scale div { font-size: 12px; padding: 10px 8px; border-radius: 4px; border-top: 3px solid var(--c); background: rgba(255, 255, 255, .03); color: var(--dim); }
.band-scale b { display: block; color: var(--paper); font-weight: 500; font-size: 13px; }
.guidance { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--bc, var(--accent)); background: rgba(255, 255, 255, .03); border-radius: 0 6px 6px 0; font-size: 15px; color: var(--dim); min-height: 76px; }

/* ---------- Bull Pit ---------- */
.skin-bull { --accent: #f5b700; --accent-hi: #ffd75e; background: radial-gradient(900px 600px at 15% 40%, rgba(245, 183, 0, .07), transparent 60%), #0b0f17; }
.screens { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 860px) { .screens { grid-template-columns: 1fr; justify-items: center; } }
.tabs { display: grid; gap: 8px; }
.tabs button { text-align: left; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); border-radius: 14px; padding: 16px 18px; cursor: pointer; transition: border-color .3s, background .3s; }
.tabs button[aria-selected="true"] { border-color: var(--accent); background: rgba(245, 183, 0, .07); }
.tabs button b { display: block; font-weight: 500; font-size: 17px; margin-bottom: 4px; }
.tabs button span { color: var(--dim); font-size: 15px; }
.browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); background: #0b0f17; }
.browser .bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.browser img { width: 100%; }

/* ---------- PaperHawk ---------- */
.skin-hawk { --accent: #2fd27a; --accent-hi: #8ff0b8; background: radial-gradient(900px 600px at 80% 30%, rgba(47, 210, 122, .06), transparent 60%), #0b0f0d; }
.control { border-radius: 22px; border: 1px solid rgba(47, 210, 122, .25); background: linear-gradient(180deg, #0f1512, #0a0d0b); padding: clamp(20px, 3vw, 34px); font-family: var(--mono); box-shadow: 0 40px 100px -40px rgba(47, 210, 122, .25); }
.control .row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(47, 210, 122, .12); font-size: 13px; letter-spacing: .08em; }
.control .row:last-child { border-bottom: 0; }
.control .label { color: #7f9a8a; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.alive { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-hi); }
.alive i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(47, 210, 122, .6); animation: pulse 1.6s infinite; }
.control.paused .alive i { background: #e0b84a; animation: none; box-shadow: 0 0 12px #e0b84a; }
.control.paused .alive { color: #f0d58a; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 210, 122, .55); } 70% { box-shadow: 0 0 0 14px rgba(47, 210, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 210, 122, 0); } }
html[data-calm] .alive i { animation: none; box-shadow: 0 0 10px var(--accent); }
.switch { position: relative; width: 52px; height: 30px; border-radius: 99px; border: 1px solid rgba(47, 210, 122, .4); background: rgba(47, 210, 122, .1); cursor: pointer; padding: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), background .3s; }
.switch[aria-checked="true"] { border-color: #e0b84a; background: rgba(224, 184, 74, .15); }
.switch[aria-checked="true"]::after { transform: translateX(22px); background: #e0b84a; }
.control .caption { margin-top: 14px; font-size: 11px; color: #5d7466; letter-spacing: .06em; font-family: var(--sans); }
.layers { display: grid; gap: 10px; counter-reset: l; }
.layers li { list-style: none; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(47, 210, 122, .025); }
.layers li::before { counter-increment: l; content: counter(l, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 3px; }
.layers b { font-weight: 500; display: block; margin-bottom: 2px; }
.layers span { color: var(--dim); font-size: 15px; }

/* ---------- Chore Champs ---------- */
.skin-chore { --accent: #e8467c; --accent-hi: #f5b301; }
.cream { background: #fbf4e6; color: #1b2340; border-radius: 32px; padding: clamp(24px, 4vw, 56px); }
.cream .eyebrow { color: #e8467c; }
.cream .h2 { color: #1b2340; }
.cream em { color: #e8467c; }
.cream .lede, .cream .dim { color: #4c557a; }
.champ { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(16px, 3vw, 32px); margin-top: 30px; }
@media (max-width: 880px) { .champ { grid-template-columns: 1fr; } }
.pane { background: #fff; border-radius: 22px; padding: 20px; box-shadow: 0 2px 0 rgba(27, 35, 64, .06), 0 20px 50px -24px rgba(27, 35, 64, .3); }
.pane h3 { font-size: 15px; font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #8a90ab; font-weight: 500; margin: 0 0 12px; }
.chore { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; border: 2px solid #f1e8d6; margin-bottom: 8px; transition: background .3s, border-color .3s; }
.chore .em { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fdf0d2; font-size: 22px; flex: none; }
.chore .nm { flex: 1; font-weight: 600; color: #1b2340; }
.chore .nm small { display: block; font-weight: 400; color: #8a90ab; font-size: 13px; }
.chore button { border: 0; cursor: pointer; border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: 14px; background: #f5b301; color: #1b2340; box-shadow: 0 4px 0 #b07d00; transition: transform .15s; }
.chore button:active { transform: translateY(3px); box-shadow: 0 1px 0 #b07d00; }
.chore.waiting { background: #fff6e0; border-color: #f5d27a; }
.chore.waiting button { background: #eadfc6; color: #8a7a55; box-shadow: none; cursor: default; }
.chore.done { background: #eaf8ef; border-color: #a6e3bd; }
.chore.done button { background: #3bb46e; color: #fff; box-shadow: none; }
.approve { display: grid; gap: 8px; min-height: 58px; }
.approve .empty { color: #8a90ab; font-size: 14px; padding: 10px 0; }
.approve .req { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff6e0; font-size: 14px; color: #1b2340; animation: pop .45s var(--ease-out); }
.approve .req button { border: 0; border-radius: 10px; padding: 8px 12px; background: #e8467c; color: #fff; font-weight: 700; cursor: pointer; }
@keyframes pop { from { transform: scale(.9); opacity: 0; } }
.wallet { display: flex; align-items: center; gap: 16px; }
.coin { width: 58px; height: 58px; flex: none; }
.wallet .amt { font-family: var(--serif); font-size: 48px; line-height: 1; color: #1b2340; }
.wallet .amt small { font-family: var(--sans); font-size: 14px; color: #8a90ab; margin-left: 6px; }
.lvl { height: 12px; border-radius: 99px; background: #f1e8d6; overflow: hidden; margin: 14px 0 6px; }
.lvl i { display: block; height: 100%; width: var(--w, 0%); background: linear-gradient(90deg, #f5b301, #e8467c); border-radius: inherit; transition: width .8s var(--ease-out); }
.lvl-meta { display: flex; justify-content: space-between; font-size: 13px; color: #8a90ab; }
.jar-row { display: flex; gap: 16px; align-items: center; margin-top: 18px; padding-top: 18px; border-top: 2px dashed #f1e8d6; }
.jar { width: 64px; height: 80px; border-radius: 12px 12px 18px 18px; border: 3px solid #c9d0e4; position: relative; overflow: hidden; flex: none; background: #f8fbff; }
.jar::before { content: ""; position: absolute; top: -3px; left: -3px; right: -3px; height: 12px; background: #e8467c; border-radius: 6px 6px 0 0; z-index: 1; }
.jar i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h, 10%); background: repeating-linear-gradient(0deg, #f5b301 0 8px, #e2a200 8px 10px); transition: height .9s var(--ease-out); }
.rewards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.rewards div { border-radius: 14px; padding: 12px; background: #fbf4e6; font-size: 13px; color: #1b2340; text-align: center; font-weight: 600; }
.rewards small { display: block; color: #e8467c; font-weight: 700; }
.flycoin { position: fixed; width: 26px; height: 26px; z-index: 80; pointer-events: none; }

/* ---------- Brass & Glass (Website Studio) ---------- */
.skin-glass { --accent: #c9a15b; --accent-hi: #ecd29a; background: radial-gradient(1000px 700px at 20% 10%, rgba(201, 161, 91, .1), transparent 60%), radial-gradient(900px 700px at 90% 80%, rgba(120, 140, 200, .08), transparent 60%), #080a10; }
.glass { background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid rgba(236, 210, 154, .22); border-radius: 24px; backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 30px 80px -40px rgba(0, 0, 0, .9); }
.wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .wall { grid-template-columns: repeat(2, 1fr); } }
.cell { border-radius: 20px; min-height: 190px; display: grid; place-items: center; position: relative; padding: 22px 14px 40px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); overflow: hidden; }
.cell .lab { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.b-jelly { border: 0; cursor: pointer; padding: 16px 28px; border-radius: 18px; font-weight: 600; background: linear-gradient(180deg, #ffd88a, #e3a447); color: #2a1b05; box-shadow: 0 6px 0 #9c6a22, 0 14px 30px -10px rgba(227, 164, 71, .7); }
.b-magnet { border: 1px solid var(--line-2); cursor: pointer; width: 96px; height: 96px; border-radius: 50%; background: rgba(255, 255, 255, .04); transform: translate(var(--mx, 0), var(--my, 0)); }
.b-magnet span { display: inline-block; transform: translate(var(--tx, 0), var(--ty, 0)); }
.b-fill { position: relative; overflow: hidden; border: 1px solid var(--brass); cursor: pointer; padding: 14px 26px; border-radius: 999px; background: none; color: var(--brass-hi); isolation: isolate; transition: color .5s; }
.b-fill::before { content: ""; position: absolute; left: var(--fx, 50%); top: var(--fy, 50%); width: 10px; height: 10px; border-radius: 50%; background: var(--brass); transform: translate(-50%, -50%) scale(0); transition: transform .7s var(--ease-out); z-index: -1; }
.b-fill:hover { color: var(--ink); }
.b-fill:hover::before { transform: translate(-50%, -50%) scale(40); }
.b-tilt { border: 0; cursor: pointer; padding: 22px 30px; border-radius: 16px; background: linear-gradient(135deg, #2b3550, #161d2e); color: var(--paper); transform: perspective(500px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .1); }
.b-press { border: 0; cursor: pointer; padding: 16px 30px; border-radius: 14px; background: #ece6d8; color: var(--ink); font-weight: 600; box-shadow: 0 8px 0 #9b958a; transform: translateY(var(--py, 0px)); transition: transform .08s, box-shadow .08s; }
.b-press:active { --py: 7px; box-shadow: 0 1px 0 #9b958a; }
.b-shine { position: relative; overflow: hidden; border: 1px solid rgba(236, 210, 154, .35); cursor: pointer; padding: 16px 28px; border-radius: 12px; background: #11151f; color: var(--brass-hi); letter-spacing: .04em; }
.b-shine::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); transition: left .9s var(--ease-out); }
.b-shine:hover::after { left: 130%; }
.b-ripple { position: relative; overflow: hidden; border: 0; cursor: pointer; padding: 16px 30px; border-radius: 999px; background: #1d2740; color: var(--paper); }
.b-ripple i { position: absolute; border-radius: 50%; background: rgba(236, 210, 154, .45); transform: scale(0); animation: rip .8s var(--ease-out) forwards; pointer-events: none; }
@keyframes rip { to { transform: scale(1); opacity: 0; } }
.b-hold { position: relative; overflow: hidden; border: 1px solid var(--line-2); cursor: pointer; padding: 16px 26px; border-radius: 14px; background: rgba(255, 255, 255, .03); color: var(--paper); isolation: isolate; }
.b-hold::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--brass-lo), var(--brass)); transform: scaleX(var(--hp, 0)); transform-origin: left; z-index: -1; }
.b-hold.done { color: var(--ink); }

.feel { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .feel { grid-template-columns: 1fr; } }
.feel-switch { display: inline-flex; padding: 5px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.feel-switch button { border: 0; background: none; cursor: pointer; padding: 10px 18px; border-radius: 99px; color: var(--dim); font-size: 15px; transition: background .3s, color .3s; }
.feel-switch button[aria-pressed="true"] { background: var(--brass); color: var(--ink); }
.mock { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 11; border: 1px solid var(--line-2); }
.mock .forged, .mock .plain { position: absolute; inset: 0; transition: opacity .7s var(--ease-out), transform .9s var(--ease-out), filter .7s; }
.mock .plain { background: #f4f5f7; color: #222; font-family: Arial, Helvetica, sans-serif; padding: 22px; opacity: 0; transform: scale(.98); }
.mock[data-mode="plain"] .plain { opacity: 1; transform: none; }
.mock[data-mode="plain"] .forged { opacity: 0; transform: scale(1.02); filter: blur(6px); }
.plain .pnav { display: flex; justify-content: space-between; font-size: 13px; border-bottom: 1px solid #ddd; padding-bottom: 10px; }
.plain .pnav span:last-child { color: #2a62c9; }
.plain h4 { font-size: 26px; margin: 30px 0 10px; font-weight: 700; }
.plain p { font-size: 14px; color: #666; max-width: 40ch; }
.plain .pbtn { display: inline-block; margin-top: 10px; background: #2a62c9; color: #fff; padding: 10px 16px; border-radius: 4px; font-size: 14px; }
.plain .pimg { position: absolute; right: 22px; bottom: 22px; width: 38%; aspect-ratio: 4 / 3; background: #d9dce2; border-radius: 4px; display: grid; place-items: center; color: #999; font-size: 12px; }
.forged img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.forged::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 10, 16, .85), rgba(8, 10, 16, .1)); }
.forged .fc { position: absolute; z-index: 1; left: 28px; bottom: 28px; right: 28px; }
.forged .fc h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 48px); line-height: 1; margin: 10px 0 14px; }

.ba { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line-2); user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; }
.ba .side { position: absolute; inset: 0; }
.ba .before { clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0); z-index: 1; }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: var(--brass-hi); z-index: 2; transform: translateX(-1px); }
.ba .handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; border-radius: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; background: var(--brass); color: var(--ink); font-size: 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.ba .tag { position: absolute; top: 14px; z-index: 3; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, .55); color: #fff; }
.ba .tag.l { left: 14px; }
.ba .tag.r { right: 14px; }

.directions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 1000px) { .directions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .directions { grid-template-columns: 1fr; } }
.dir { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); color: var(--fg); min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; position: relative; transition: transform .6s var(--ease-out); }
.dir:hover { transform: translateY(-6px); }
.dir .sw { display: flex; gap: 6px; }
.dir .sw i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.dir h3 { font-size: 26px; margin: 0 0 8px; }
.dir p { font-size: 14px; opacity: .8; margin: 0; }
.dir .used { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; opacity: .7; margin-top: 12px; }

/* ---------- Website Studio: before and after sides ---------- */
.ba .before { background: #f2f3f5; color: #262a33; font-family: Arial, Helvetica, sans-serif; }
.ba .after { background: radial-gradient(700px 400px at 70% 20%, rgba(201, 161, 91, .22), transparent 60%), #0b0e16; color: var(--paper); }
.ba .site { position: absolute; inset: 0; padding: clamp(16px, 3vw, 34px); display: flex; flex-direction: column; }
.ba .site .nv { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding-bottom: 12px; }
.before .site .nv { border-bottom: 1px solid #d5d8de; }
.before .site .nv b { font-size: 16px; }
.before .site .nv span { color: #2a62c9; }
.before .site h4 { font-size: clamp(20px, 3vw, 34px); margin: auto 0 8px; font-weight: 700; max-width: 18ch; }
.before .site p { font-size: 14px; color: #6b7080; max-width: 40ch; margin: 0 0 14px; }
.before .site .pb { align-self: flex-start; background: #2a62c9; color: #fff; padding: 10px 18px; border-radius: 4px; font-size: 14px; }
.before .site .stock { position: absolute; left: clamp(16px, 3vw, 34px); top: 84px; width: 26%; aspect-ratio: 4 / 3; background: repeating-linear-gradient(45deg, #dfe2e7 0 10px, #e8eaee 10px 20px); border-radius: 4px; display: grid; place-items: center; color: #9aa0ab; font-size: 12px; }
.after .site .nv { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.after .site .nv b { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: 15px; color: var(--paper); display: inline-flex; gap: 8px; align-items: center; }
.after .site .nv b i { width: 14px; height: 14px; background: var(--brass); clip-path: polygon(50% 0, 62% 35%, 100% 38%, 70% 62%, 80% 100%, 50% 78%, 20% 100%, 30% 62%, 0 38%, 38% 35%); }
.after .site h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 4.6vw, 58px); line-height: .98; margin: auto 0 12px; max-width: 13ch; }
.after .site h4 em { color: var(--brass-hi); }
.after .site p { font-size: 14px; color: var(--dim); max-width: 40ch; margin: 0 0 16px; }
.after .site .pb { align-self: flex-start; background: linear-gradient(180deg, var(--brass-hi), var(--brass)); color: var(--ink); padding: 11px 20px; border-radius: 99px; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(201, 161, 91, .8); }
.after .site .orb { position: absolute; right: 12%; top: 22%; width: 17%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe7b0, #c9a15b 40%, #4a3412 75%); box-shadow: 0 0 80px rgba(236, 210, 154, .35); animation: orb 8s ease-in-out infinite; }
@keyframes orb { 50% { transform: translateY(-10px) rotate(6deg); } }
html[data-calm] .after .site .orb { animation: none; }
@media (max-width: 560px) { .before .site .stock, .after .site .orb { display: none; } }

.steps4 { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .steps4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps4 { grid-template-columns: 1fr; } }
.steps4 .card .num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .14em; }

/* ---------- Security & IT: quiet ---------- */
.skin-quiet { --accent: #b8c2d6; }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } }
.svc .card h3 { margin-top: 6px; }
.svc .card ul { margin: 12px 0 0; padding-left: 18px; color: var(--dim); font-size: 15px; }
.svc .card li + li { margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--dim); }

/* ---------- Contact forms ---------- */
.forms { display: grid; grid-template-columns: 1fr 1.25fr; gap: 18px; align-items: start; }
@media (max-width: 960px) { .forms { grid-template-columns: 1fr; } }
.form { padding: clamp(22px, 3vw, 36px); scroll-margin-top: 110px; }
.form h2 { margin: 12px 0 8px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; margin-top: 14px; }
.field > span, .field legend { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); padding: 0; }
fieldset.field { border: 0; margin: 14px 0 0; padding: 0; min-width: 0; }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 16px; color: var(--paper); background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2); border-radius: 14px; padding: 13px 15px; transition: border-color .3s, background .3s, box-shadow .3s; }
.field textarea { min-height: 150px; resize: vertical; }
.field select option { color: #111; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brass); background: rgba(201, 161, 91, .06); box-shadow: 0 0 0 4px rgba(201, 161, 91, .15); }
.field input::placeholder, .field textarea::placeholder { color: var(--mute); }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { font: inherit; font-size: 15px; cursor: pointer; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--dim); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out); }
.pick:hover { border-color: var(--brass); color: var(--paper); }
.pick[aria-pressed="true"] { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.form .acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.form .sent { margin-top: 14px; font-size: 14px; color: var(--brass-hi); }
.linkish { font: inherit; font-size: 14px; background: none; border: 0; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; }
.mail-line { font-family: var(--serif); font-size: clamp(26px, 4vw, 44px); color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; overflow-wrap: anywhere; }
.mail-line:hover { color: var(--brass-hi); border-color: var(--brass); }

/* ---------- 404 ---------- */
.lost { min-height: 86vh; display: grid; place-items: center; text-align: center; }
.lost .num { font-family: var(--serif); font-size: clamp(120px, 24vw, 300px); line-height: .8; background: linear-gradient(180deg, var(--brass-hi), var(--brass) 50%, #5b4317); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ba .tag { top: auto; bottom: 14px; }
.after .site { align-items: flex-end; text-align: right; }
.after .site .nv { align-self: stretch; }

/* ---------- App rail: jump between app pages ---------- */
.app-rail { position: fixed; right: 18px; top: 50%; z-index: 40; display: grid; gap: 10px; padding: 12px 10px; border-radius: 26px;
  background: color-mix(in srgb, var(--ink) 70%, transparent); border: 1px solid var(--line); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  transform: translate(calc(100% + 30px), -50%); opacity: 0; transition: transform .6s var(--ease-out), opacity .4s; }
.app-rail.show { transform: translate(0, -50%); opacity: 1; }
.app-rail .rt { font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); writing-mode: vertical-rl; justify-self: center; margin-bottom: 4px; }
.app-rail a { position: relative; display: block; width: 46px; height: 46px; }
.app-rail .ri { display: block; width: 46px; height: 46px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s; }
.app-rail .ri img { width: 100%; height: 100%; object-fit: cover; }
.app-rail a:hover .ri, .app-rail a:focus-visible .ri { transform: scale(1.08); border-color: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent), 0 10px 30px -8px var(--c); }
.app-rail a[aria-current] .ri { border-color: var(--c); box-shadow: 0 0 0 3px var(--c), 0 0 26px -4px var(--c); }
.app-rail a[aria-current]::before { content: ""; position: absolute; left: -9px; top: 50%; width: 4px; height: 22px; translate: 0 -50%; border-radius: 4px; background: var(--c); }
.app-rail .rl { position: absolute; right: calc(100% + 16px); top: 50%; translate: 8px -50%; white-space: nowrap; pointer-events: none; opacity: 0;
  padding: 9px 14px; border-radius: 14px; background: #0b0d12; border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); box-shadow: 0 14px 40px -12px rgba(0,0,0,.7); transition: opacity .25s, translate .35s var(--ease-out); }
.app-rail a:hover .rl, .app-rail a:focus-visible .rl { opacity: 1; translate: 0 -50%; }
.app-rail .rl b { display: block; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 700; font-size: 14px; color: #fff; }
.app-rail .rl i { display: block; font-style: normal; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 12px; color: var(--c); }
@media (max-width: 900px) {
  .app-rail { top: auto; bottom: 12px; right: 50%; display: flex; gap: 8px; padding: 8px; border-radius: 22px; transform: translate(50%, calc(100% + 30px)); }
  .app-rail.show { transform: translate(50%, 0); }
  .app-rail .rt, .app-rail .rl { display: none; }
  .app-rail a, .app-rail .ri { width: 44px; height: 44px; }
  .app-rail a[aria-current]::before { left: 50%; top: auto; bottom: -6px; width: 18px; height: 3px; translate: -50% 0; }
  body:has(.app-rail) .site-foot { padding-bottom: 90px; }
}
html[data-calm] .app-rail { transition: none; }

/* ---------- Showcase: real screens, marketed ---------- */
.dev { position: relative; border-radius: 44px; padding: 10px; background: linear-gradient(160deg, #2a2d35, #0c0d11 60%); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 40px 90px -30px rgba(0,0,0,.8), 0 0 80px -30px var(--accent); }
.dev .sc { border-radius: 35px; overflow: hidden; aspect-ratio: 390 / 844; background: #000; position: relative; }
.dev .sc img, .dev .sc video { width: 100%; height: 100%; object-fit: cover; display: block; }
.dev.desk { border-radius: 16px; padding: 30px 8px 8px; }
.dev.desk::before { content: ""; position: absolute; top: 12px; left: 16px; width: 44px; height: 8px; background: radial-gradient(circle at 4px 4px, #ff5f57 3.5px, transparent 4px), radial-gradient(circle at 22px 4px, #febc2e 3.5px, transparent 4px), radial-gradient(circle at 40px 4px, #28c840 3.5px, transparent 4px); }
.dev.desk .sc { border-radius: 9px; aspect-ratio: 1280 / 800; }
.dev.land .sc { aspect-ratio: 844 / 390; }
.demo { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.demo.flip { grid-template-columns: 1fr minmax(240px, 380px); }
.demo.flip > .dev { order: 2; }
.demo.wide { grid-template-columns: 1fr; }
.demo .live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.demo .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: livepulse 1.6s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
html[data-calm] .demo .live::before { animation: none; }
@media (max-width: 820px) { .demo, .demo.flip { grid-template-columns: 1fr; } .demo > .dev { max-width: min(280px, 76vw); margin-inline: auto; } .demo.flip > .dev { order: 0; } }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.shot { position: relative; border-radius: var(--radius); padding: clamp(18px, 2vw, 24px) clamp(18px, 2vw, 24px) 24px; background: var(--plate); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: border-color .4s, transform .5s var(--ease-out), box-shadow .5s; }
.shot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--cx, 50%) var(--cy, 0%), color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%); opacity: 0; transition: opacity .4s; }
.shot:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-4px); box-shadow: 0 30px 70px -30px color-mix(in srgb, var(--accent) 60%, transparent); }
.shot:hover::before { opacity: 1; }
.shot .fr { margin: 0 auto 22px; width: min(78%, 250px); border-radius: 30px; padding: 7px; background: linear-gradient(160deg, #2a2d35, #0c0d11 60%); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 26px 50px -24px rgba(0,0,0,.9); transform: perspective(900px) rotateX(4deg); transition: transform .6s var(--ease-out); }
.shot:hover .fr { transform: perspective(900px) rotateX(0deg) translateY(-6px) scale(1.02); }
.shot .fr img { border-radius: 24px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.shot .fr.desk { width: 100%; border-radius: 12px; padding: 5px; }
.shot .fr.desk img { border-radius: 8px; aspect-ratio: 1280 / 800; }
.shot .fr.land { width: 100%; border-radius: 22px; }
.shot .fr.land img { aspect-ratio: 844 / 390; border-radius: 16px; }
.shot .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.shot h3 { font-family: var(--sans); font-size: clamp(19px, 1.8vw, 22px); font-weight: 600; margin: 8px 0 6px; letter-spacing: -.01em; }
.shot p { color: var(--dim); font-size: 15.5px; margin: 0; }
.shot.span2 { grid-column: span 2; }
@media (max-width: 700px) { .shot.span2 { grid-column: auto; } }
.reel { display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--gutter) 30px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; }
.reel::-webkit-scrollbar { display: none; }
.reel figure { margin: 0; flex: 0 0 clamp(200px, 22vw, 260px); scroll-snap-align: center; }
.reel figure .fr { border-radius: 30px; padding: 7px; background: linear-gradient(160deg, #2a2d35, #0c0d11 60%); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 26px 50px -24px rgba(0,0,0,.9); transition: transform .5s var(--ease-out); }
.reel figure:hover .fr { transform: translateY(-8px); }
.reel figure img { border-radius: 24px; aspect-ratio: 390 / 844; object-fit: cover; width: 100%; }
.reel figcaption { margin-top: 12px; font-size: 14px; color: var(--dim); text-align: center; }
/* Desktop: every screen in view, no hidden scroll; leftovers centre on the last row. Phones keep the swipe. */
@media (min-width: 821px) {
  .reel { flex-wrap: wrap; justify-content: center; overflow: visible; scroll-snap-type: none; margin-inline: 0; padding: 10px 0 30px; row-gap: 36px; }
  .reel figure { flex: 0 0 clamp(150px, 13.4vw, 184px); }
}
