/* IKworks — site styles. Colours from the company's own scheme: IKblue #1a7689, Blumine #18697b, Yellow #ffcc00, white. */
:root {
  --ik: #1a7689; --ik-2: #18697b; --ik-deep: #0f4f5c; --ik-tint: #e6f2f4; --ik-tint-2: #cfe4e8;
  --yellow: #ffcc00; --yellow-deep: #e0b000; --ik-light: #a0dbe7;
  --ink: #10262b; --ink-2: #2d4a50; --muted: #536b70; --paper: #f6f9fa; --white: #fff; --line: #d8e3e6;
  --radius: 14px; --shadow: 0 10px 30px rgba(16, 38, 43, 0.08); --shadow-lift: 0 16px 40px rgba(16, 38, 43, 0.14);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Fira Code", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.55; font-size: 17px; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
[id] { scroll-margin-top: 90px; }
a { color: var(--ik); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ik-deep); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ik); margin: 0 0 10px; font-weight: 600; }
.muted { color: var(--muted); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }

/* the mark */
.mark { width: 40px; height: 40px; flex: none; }
.mark .mk-bg { fill: var(--ik); }
.mark .mk-i rect { fill: var(--yellow); }
.mark .mk-k rect, .mark .mk-k polygon { fill: var(--ik-light); }
.mark .mk-i, .mark .mk-k { transform-box: fill-box; transform-origin: center; transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.wordmark { font-weight: 500; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--ink); }
.wordmark { font-weight: 800; }
.wordmark span { font-weight: 500; color: var(--ik-deep); }
.brand.jelly .mk-i { animation: jelly-i 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.brand.jelly .mk-k { animation: jelly-k 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.brand.swap .mk-i { transform: translateX(44px); } .brand.swap .mk-k { transform: translateX(-30px); }
@keyframes jelly-i { 0% { transform: none; } 35% { transform: translateX(-12px) scale(0.8, 1.2); } 60% { transform: translateX(-9px) scale(1.15, 0.9); } 100% { transform: none; } }
@keyframes jelly-k { 0% { transform: none; } 35% { transform: translateX(8px) scale(0.85, 1.15); } 60% { transform: translateX(6px) scale(1.1, 0.92); } 100% { transform: none; } }

/* intro: the I and the K come in apart, snap together into the logo (the I on the K's stem) with a jelly squash, then
   "works" slides out of the K while the whole word settles in the middle. The mark stands in for the capitals "IK": its
   stem is the text's cap height and its foot sits on the text's baseline, so the result reads as one word. */
.intro { position: fixed; inset: 0; z-index: 90; background: var(--ik); display: grid; place-items: center; color: #fff; overflow: hidden; }
.intro[hidden] { display: none; }
.intro-stage { font-size: clamp(3.4rem, 17vw, 9.5rem); line-height: 1; white-space: nowrap; letter-spacing: -0.02em; }
.intro-mark { display: inline-block; vertical-align: baseline; width: 0.835em; height: 0.877em; margin-bottom: -0.0835em; overflow: visible; transform-origin: 25% 55%; }
.intro-mark .mk-i rect { fill: var(--yellow); }
.intro-mark .mk-k rect, .intro-mark .mk-k polygon { fill: var(--ik-light); }
.intro-mark .mk-i, .intro-mark .mk-k { transform-box: fill-box; transform-origin: center; }
.intro-word { display: inline-block; margin-left: 0.035em; font-weight: 500; clip-path: polygon(0 -50%, 150% -50%, 150% 150%, 0 150%); }
.intro-word > span { display: inline-block; }
.intro.play .mk-i { animation: ik-in-i 0.62s 0.15s both; }
.intro.play .mk-k { animation: ik-in-k 0.62s 0.15s both; }
.intro.play .intro-mark { animation: ik-merge 0.62s 0.77s both; }
.intro.play .intro-word > span { animation: ik-word 0.72s cubic-bezier(0.2, 0.75, 0.15, 1) 1.2s both; }
.intro.play .intro-stage { animation: ik-centre 0.72s cubic-bezier(0.2, 0.75, 0.15, 1) 1.2s both; }
.intro.done { animation: intro-out 0.5s ease both; pointer-events: none; }
@keyframes ik-in-i { 0% { opacity: 0; transform: translateX(-30px) scale(0.4); animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1); } 38% { opacity: 1; transform: translateX(-30px) scale(1); animation-timing-function: cubic-bezier(0.55, 0, 0.9, 0.45); } 100% { opacity: 1; transform: none; } }
@keyframes ik-in-k { 0% { opacity: 0; transform: translateX(30px) scale(0.4); animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1); } 38% { opacity: 1; transform: translateX(30px) scale(1); animation-timing-function: cubic-bezier(0.55, 0, 0.9, 0.45); } 100% { opacity: 1; transform: none; } }
@keyframes ik-merge { 0% { transform: none; animation-timing-function: ease-out; } 18% { transform: scale(0.84, 1.13); animation-timing-function: ease-in-out; } 45% { transform: scale(1.08, 0.94); animation-timing-function: ease-in-out; } 70% { transform: scale(0.97, 1.03); animation-timing-function: ease-in-out; } 100% { transform: none; } }
@keyframes ik-word { from { transform: translateX(-104%); } to { transform: none; } }
@keyframes ik-centre { from { transform: translateX(var(--shift, 1.3em)); } to { transform: none; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .intro.play .mk-i, .intro.play .mk-k, .intro.play .intro-mark, .intro.play .intro-word > span, .intro.play .intro-stage { animation: none; transform: none; opacity: 1; }
  .brand.jelly .mk-i, .brand.jelly .mk-k { animation: none; }
  html { scroll-behavior: auto; }
}

/* header + nav */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: 0.98rem; }
.nav a:not(.btn):hover { background: var(--ik-tint); color: var(--ik-deep); }
.nav a[aria-current="page"] { color: var(--ik-deep); box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 8px 8px 0 0; }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; font: inherit; font-weight: 600; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--white); border-bottom: 1px solid var(--line); padding: 10px 20px 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--yellow); border-radius: 8px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 0.98rem; padding: 11px 18px; border-radius: 10px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--yellow); color: var(--ink); } .btn-accent:hover { background: var(--yellow-deep); color: var(--ink); }
.btn-primary { background: var(--ik); color: #fff; } .btn-primary:hover { background: var(--ik-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ik-deep); border-color: var(--ik-tint-2); } .btn-ghost:hover { background: var(--ik-tint); color: var(--ik-deep); }
.btn-light { background: #fff; color: var(--ik-deep); } .btn-light:hover { background: var(--ik-tint); color: var(--ik-deep); }
.btn-sm { padding: 7px 12px; font-size: 0.88rem; border-radius: 8px; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: default; pointer-events: none; }
.store { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 8px 14px; border-radius: 10px; text-decoration: none; }
.store:hover { border-color: var(--ik); color: var(--ik-deep); }
.store small { display: block; font-weight: 500; font-size: 0.7rem; color: var(--muted); line-height: 1; margin-bottom: 2px; }
.store i { width: 18px; height: 18px; flex: none; }
.store i.apple { background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 20 20H4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a3 3 0 0 1 3-3v2a1 1 0 0 0-1 1zm5.6 4.2c-1.8-1.5-4-1-5.1-.4-1.2.6-2 .5-3.1 0-1.4-.7-3.5-.8-5 .8C2.3 10 2.9 15.4 5.4 19c1 1.4 2 2.6 3.6 2.5 1.3-.1 1.8-.8 3.4-.8 1.6 0 2.1.8 3.5.8s2.4-1.3 3.4-2.7c.7-1 1-1.6 1.5-2.8-4-1.5-4.6-7.1-.8-8.8-.6-.7-1.5-1.5-2.4-2z'/%3E%3C/svg%3E") center/contain no-repeat; }
.store i.play { background: var(--ik); clip-path: polygon(15% 5%, 92% 50%, 15% 95%); }

/* hero */
.hero { position: relative; background: linear-gradient(135deg, var(--ik-deep), var(--ik) 55%, #228ea3); color: #fff; overflow: hidden; }
.hero .wrap { position: relative; padding: clamp(56px, 9vw, 120px) 0; display: grid; gap: 28px; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lede { color: rgba(255, 255, 255, 0.85); }
.hero .eyebrow { color: var(--yellow); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.22; pointer-events: none; }
.hero-lines path { fill: none; stroke: #fff; stroke-width: 1.2; }
.hero-lines .rail { stroke: var(--yellow); stroke-width: 2.4; stroke-dasharray: 8 7; opacity: 0.9; }
.hero-lines .car { fill: var(--yellow); offset-path: path("M-20 320 C 200 300, 380 260, 560 230 S 900 160, 1250 120"); animation: ride 18s linear infinite; }
@keyframes ride { to { offset-distance: 100%; } }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 8px; }
.hero-stats b { display: block; font-size: 1.6rem; color: var(--yellow); line-height: 1; }
.hero-stats span { font-size: 0.88rem; color: rgba(255, 255, 255, 0.8); }

/* sections */
.section { padding: clamp(44px, 7vw, 88px) 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { margin: 0; max-width: 60ch; color: var(--muted); }
.page-head { padding: clamp(40px, 6vw, 72px) 0 clamp(20px, 3vw, 36px); }
.page-head h1 { max-width: 22ch; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; display: flex; flex-direction: column; gap: 10px; position: relative; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.card .actions { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.card-link { position: absolute; inset: 0; border-radius: inherit; }
.card .icon { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); }
.card .glyph { width: 48px; height: 48px; border-radius: 12px; background: var(--ik-tint); color: var(--ik-deep); display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; }
.card.feature { background: linear-gradient(160deg, var(--ik-deep), var(--ik)); color: #fff; border: none; }
.card.feature p, .card.feature h3 { color: #fff; } .card.feature p { color: rgba(255, 255, 255, 0.85); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; padding: 3px 8px; border-radius: 999px; background: var(--ik-tint); color: var(--ik-deep); border: 1px solid var(--ik-tint-2); }
.tag.yellow { background: #fff6cc; color: #6b5300; border-color: #f2dd80; }
.tag.grey { background: #eef1f2; color: #4b5c60; border-color: #dfe5e7; }
.tag.green { background: #e2f5e8; color: #1f6b3a; border-color: #bfe6cb; }
.tag.red { background: #fde8e6; color: #8b2a22; border-color: #f4c3be; }
.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.85rem; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.status.live { color: #1f6b3a; } .status.prod { color: #a16a00; } .status.off { color: #8b2a22; } .status.plan { color: var(--ik-deep); } .status.early { color: #6b3fa0; }

/* feature band (home: ORG) */
.band { background: var(--ink); color: #fff; border-radius: 22px; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; min-height: 380px; }
.band .text { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.band h2 { color: #fff; } .band p { color: rgba(255, 255, 255, 0.82); }
.band .visual { position: relative; background: url("/assets/img/org/wallpaper.webp") center/cover; min-height: 260px; }
.band .visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0, rgba(16, 38, 43, 0) 35%); }
.band .visual img.shot { position: absolute; right: 8%; bottom: -8%; width: 42%; border-radius: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); border: 6px solid #0b1118; }
.band .visual img.icon { position: absolute; left: 14%; top: 14%; width: 20%; border-radius: 22%; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } .band .visual { order: -1; min-height: 240px; } .band .visual::after { background: linear-gradient(0deg, var(--ink) 0, rgba(16, 38, 43, 0) 40%); } .band .visual img.shot { bottom: -20%; } }

/* screenshots + bullet lists usable on any page */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.shots img { border-radius: 18px; border: 4px solid #0b1118; box-shadow: var(--shadow-lift); }
.bullets { margin: 0; padding: 0 0 0 1.1em; display: grid; gap: 6px; color: var(--ink); }
.bullets li::marker { color: var(--ik); }
.face-shot { max-width: 200px; border-radius: 50%; margin: 10px auto 0; box-shadow: var(--shadow); }

/* hero pillars: the four things IKworks leads with */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pillar { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; align-items: start; padding: 16px; border-radius: 14px; background: rgba(12, 62, 73, 0.62); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; text-decoration: none; transition: transform 0.15s ease, background 0.15s, border-color 0.15s; }
.pillar:hover { transform: translateY(-2px); background: rgba(12, 62, 73, 0.85); border-color: var(--yellow); color: #fff; }
.pillar > img, .pillar > svg, .pillar > .pg { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; }
.pillar > .pg { display: grid; place-items: center; background: rgba(255, 255, 255, 0.14); color: var(--yellow); font-family: var(--mono); font-weight: 700; font-size: 0.78rem; }
.pillar b { font-size: 1.02rem; line-height: 1.25; }
.pillar small { font-size: 0.88rem; color: rgba(255, 255, 255, 0.82); line-height: 1.4; }
@media (max-width: 980px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* Organic Security band, in OS.portal's own colours */
.band.os { background: #0d1210; grid-template-columns: 1fr 1.1fr; }
.band.os .eyebrow { color: #e2a845; }
.band.os .visual { order: -1; background: radial-gradient(circle at 30% 30%, #24302a, #0d1210 72%); display: grid; align-content: center; gap: 14px; padding: clamp(20px, 3vw, 36px); }
.band.os .visual::after { display: none; }
.os-mark { width: 48px; height: 48px; }
.os-pane { background: #111815; border: 1px solid #2a3731; border-radius: 12px; overflow: hidden; font-family: var(--mono); font-size: 0.85rem; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); }
.os-tab { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; background: #24302a; color: #a6cf8f; font-size: 0.78rem; }
.os-tab i { font-style: normal; color: #79c48c; } .os-pane.temp .os-tab i { color: #e2a845; }
.os-pane pre { margin: 0; padding: 12px 14px; color: #d9e6dc; line-height: 1.75; white-space: pre-wrap; font: inherit; }
.os-pane pre b { color: #5d6b62; font-weight: 400; margin-right: 10px; }
.os-pane .scr { color: #e8675c; letter-spacing: 0.04em; }
.btn-os { background: #79c48c; color: #0d1210; } .btn-os:hover { background: #92d4a3; color: #0d1210; }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); } .btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
@media (max-width: 760px) { .band.os { grid-template-columns: 1fr; } }

/* watch faces shown round, as they are on the wrist */
.face { width: 150px; border-radius: 50%; margin: 4px auto 8px; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22); }

/* lists */
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; }
.list li b { display: block; }
.list li small { color: var(--muted); }
.list .right { font-family: var(--mono); font-size: 0.8rem; color: var(--ik-deep); white-space: nowrap; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; font-size: 0.95rem; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 6px; bottom: 6px; width: 2px; background: var(--ik-tint-2); }
.timeline li { display: grid; grid-template-columns: 72px 40px 1fr; gap: 0; padding: 0 0 30px; }
.timeline .when { font-family: var(--mono); font-weight: 700; color: var(--ik-deep); font-size: 0.95rem; text-align: right; padding-top: 6px; }
.timeline .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ik); margin: 10px auto 0; position: relative; z-index: 1; }
.timeline .what { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; box-shadow: var(--shadow); }
.timeline h3 { margin-bottom: 4px; } .timeline .what p { margin: 0; color: var(--muted); }
.timeline .name { font-family: var(--mono); font-size: 0.78rem; color: var(--ik); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
@media (max-width: 600px) { .timeline::before { left: 12px; } .timeline li { grid-template-columns: 24px 1fr; } .timeline .when { grid-column: 2; text-align: left; padding: 0 0 4px; } .timeline .dot { grid-column: 1; grid-row: 1 / span 2; margin-top: 8px; } .timeline .what { grid-column: 2; } }

/* swatches + logo showcase */
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.swatch { border-radius: 12px; padding: 18px 16px; border: 1px solid var(--line); min-height: 110px; display: flex; flex-direction: column; justify-content: end; font-family: var(--mono); font-size: 0.85rem; }
.logo-show { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; align-items: center; }
.logo-show .mark { width: 100%; height: auto; max-width: 240px; margin: 0 auto; border-radius: 22%; cursor: pointer; }
.logo-show figure { margin: 0; text-align: center; }
.logo-show figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 10px; }
.logo-show .split .mk-i { transform: translateX(-24px); } .logo-show .split .mk-k { transform: translateX(16px); }

/* contact band */
.contact { background: linear-gradient(135deg, var(--ik-2), var(--ik)); color: #fff; border-radius: 22px; padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.contact h2 { color: #fff; margin: 0 0 6px; } .contact p { margin: 0; color: rgba(255, 255, 255, 0.85); }

/* toast + egg bits */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 0.95rem; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; z-index: 95; max-width: min(92vw, 520px); box-shadow: var(--shadow-lift); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: var(--yellow); }
.choo { position: fixed; left: 0; bottom: 0; z-index: 94; pointer-events: none; animation: choo 7s linear both; }
@keyframes choo { from { transform: translateX(-240px); } to { transform: translateX(100vw); } }
.egg-dialog { position: fixed; inset: 0; z-index: 96; background: rgba(16, 38, 43, 0.7); display: grid; place-items: center; padding: 20px; }
.egg-dialog .panel { background: #fff; border-radius: 18px; padding: 20px; width: min(100%, 540px); box-shadow: var(--shadow-lift); }
.egg-dialog canvas { width: 100%; height: auto; border-radius: 12px; background: #0e1a2b; display: block; touch-action: manipulation; }
.egg-dialog .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.egg-dialog .row p { margin: 0; font-size: 0.9rem; color: var(--muted); }
body.blueprint { --paper: #1b5fa8; --ink: #fff; --muted: #dbe8ff; --line: rgba(255, 255, 255, 0.45); --ik-tint: rgba(255, 255, 255, 0.12); --ik-tint-2: rgba(255, 255, 255, 0.4); --ik-deep: #fff; --ik: #fff; --white: transparent; }
body.blueprint .card, body.blueprint .list li, body.blueprint .timeline .what, body.blueprint .site-head, body.blueprint .section.alt, body.blueprint .store, body.blueprint .nav, body.blueprint .swatch, body.blueprint .glyph { background: transparent !important; background-image: none !important; box-shadow: none !important; color: #fff; }
body.blueprint { background: #1b5fa8 linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 24px 24px, #1b5fa8 linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 24px 24px !important; color: #fff; }
body.blueprint .toast { background: #0e1a2b; } body.blueprint .store i.apple { background: #fff; } body.blueprint .store i.play { background: #fff; } body.blueprint .tag { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
body.blueprint .card, body.blueprint .list li, body.blueprint .timeline .what { border: 1px dashed rgba(255, 255, 255, 0.7); }
body.blueprint img { filter: grayscale(1) brightness(1.1) contrast(1.1) sepia(1) hue-rotate(175deg) saturate(2); }
body.blueprint .hero, body.blueprint .band, body.blueprint .contact, body.blueprint .card.feature { background: rgba(255, 255, 255, 0.08) !important; border: 1px dashed rgba(255, 255, 255, 0.7); }
body.blueprint .mark .mk-bg { fill: transparent; stroke: #fff; stroke-width: 4; } body.blueprint .mark g rect, body.blueprint .mark g polygon { fill: #fff; }
body.blueprint .btn-accent { background: #fff; color: #1b5fa8; }
body.blueprint .site-foot { background: transparent; border-top: 1px dashed rgba(255, 255, 255, 0.7); }

/* footer */
.site-foot { background: #fff; border-top: 1px solid var(--line); margin-top: 40px; font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; padding: 44px 0 28px; }
.foot-grid h4 { margin: 0 0 10px; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.foot-grid a:not(.brand) { display: block; color: var(--ink); text-decoration: none; padding: 4px 0; }
.foot-grid a:not(.brand):hover { color: var(--ik); }
.foot-note { color: var(--muted); margin: 12px 0 0; max-width: 34ch; font-size: 0.9rem; }
.foot-bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
.foot-colors { display: inline-flex; gap: 4px; } .foot-colors i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* 404 */
.lost { text-align: center; padding: clamp(48px, 8vw, 100px) 0; }
.lost h1 { font-size: clamp(2.4rem, 8vw, 5rem); }
.lost canvas { margin: 24px auto 0; width: min(100%, 520px); height: auto; border-radius: 14px; background: #0e1a2b; display: block; }

/* live chat */
.ikc-fab { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; background: var(--ik); color: #fff; border: 0; border-radius: 999px; padding: 12px 18px 12px 14px; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 12px 30px rgba(16, 38, 43, 0.3); }
.ikc-fab:hover { background: var(--ik-deep); } .ikc-fab svg { width: 22px; height: 22px; }
.ikc-fab[data-unread]::after { content: attr(data-unread); position: absolute; top: -6px; right: -4px; background: var(--yellow); color: var(--ink); font-size: 0.72rem; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }
.ikc-panel { position: fixed; right: 18px; bottom: 80px; z-index: 81; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 110px)); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(16, 38, 43, 0.28); display: flex; flex-direction: column; overflow: hidden; color: var(--ink); }
.ikc-panel[hidden] { display: none; }
/* the chat opening and closing: out of the button and back into it */
.ikc-panel { transform-origin: calc(100% - 40px) calc(100% + 40px); }
.ikc-panel.ikc-opening { animation: ikc-open 0.42s cubic-bezier(0.3, 1.35, 0.5, 1) both; }
.ikc-panel.ikc-opening .ikc-head > div, .ikc-panel.ikc-opening .ikc-head > button { animation: ikc-rise 0.34s ease-out 0.1s both; }
.ikc-panel.ikc-opening .ikc-log, .ikc-panel.ikc-opening .ikc-typing, .ikc-panel.ikc-opening .ikc-chips { animation: ikc-rise 0.36s ease-out 0.14s both; }
.ikc-panel.ikc-opening .ikc-form, .ikc-panel.ikc-opening .ikc-foot { animation: ikc-rise 0.36s ease-out 0.2s both; }
.ikc-panel.ikc-opening .ikc-head .mark .mk-i { animation: jelly-i 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.18s both; }
.ikc-panel.ikc-opening .ikc-head .mark .mk-k { animation: jelly-k 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.18s both; }
.ikc-panel.ikc-closing { animation: ikc-close 0.22s cubic-bezier(0.5, 0, 0.75, 0) both; pointer-events: none; }
@keyframes ikc-open { 0% { opacity: 0; transform: translateY(18px) scale(0.6); border-radius: 30px; } 55% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes ikc-close { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(14px) scale(0.7); } }
@keyframes ikc-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ikc-fab { transition: background 0.2s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease; }
.ikc-fab:active { transform: scale(0.94); }
.ikc-fab svg { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease; }
.ikc-fab .ikc-chev { position: absolute; left: 14px; top: 50%; margin-top: -11px; opacity: 0; transform: rotate(-90deg) scale(0.5); }
#ikchat.ikc-open .ikc-fab .ikc-bubble { opacity: 0; transform: rotate(90deg) scale(0.5); }
#ikchat.ikc-open .ikc-fab .ikc-chev { opacity: 1; transform: none; }
#ikchat.ikc-open .ikc-fab { background: var(--ik-deep); box-shadow: 0 6px 16px rgba(16, 38, 43, 0.25); }
.ikc-fab[data-unread]::after { animation: ikc-badge 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@keyframes ikc-badge { from { transform: scale(0); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .ikc-panel.ikc-opening, .ikc-panel.ikc-opening *, .ikc-panel.ikc-closing, .ikc-fab[data-unread]::after { animation: none !important; } .ikc-fab, .ikc-fab svg { transition: none; } }
/* a small heads-up line above a list */
.note { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: var(--ik-tint); border-left: 4px solid var(--yellow); color: var(--ink); font-size: 0.92rem; line-height: 1.5; }
.note b { color: var(--ik-deep); } .note a { font-weight: 600; }
.ikc-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--ik); color: #fff; }
.ikc-head .mark { width: 32px; height: 32px; } .ikc-head b { display: block; font-size: 0.95rem; } .ikc-status { display: block; font-size: 0.78rem; opacity: 0.85; }
#ikchat[data-status="waiting"] .ikc-status { color: var(--yellow); opacity: 1; } #ikchat[data-status="agent"] .ikc-head { background: #1f6b3a; }
.ikc-end { margin-left: auto; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; font: inherit; font-size: 0.8rem; font-weight: 700; border-radius: 8px; padding: 5px 10px; cursor: pointer; } .ikc-end:hover { background: rgba(255, 255, 255, 0.28); } .ikc-end[hidden] { display: none; }
.ikc-confirm { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fff6cc; border-bottom: 1px solid #f2dd80; font-size: 0.88rem; font-weight: 600; } .ikc-confirm[hidden] { display: none; } .ikc-confirm span { margin-right: auto; }
.ikc-close { margin-left: 0; background: transparent; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; line-height: 1; padding: 4px 8px; }
.ikc-log { flex: 1; overflow: auto; padding: 14px; display: grid; gap: 8px; align-content: start; background: var(--paper); }
.ikc-m { max-width: 85%; padding: 9px 12px; border-radius: 14px; font-size: 0.93rem; line-height: 1.4; white-space: pre-wrap; word-break: break-word; }
.ikc-m.ai, .ikc-m.agent { background: #fff; border: 1px solid var(--line); justify-self: start; border-bottom-left-radius: 4px; }
.ikc-m.agent { border-color: #bfe6cb; background: #f1faf4; }
.ikc-m.visitor { background: var(--ik); color: #fff; justify-self: end; border-bottom-right-radius: 4px; } .ikc-m.visitor a { color: #fff; }
.ikc-m.system { justify-self: center; background: transparent; color: var(--muted); font-size: 0.8rem; text-align: center; padding: 2px 6px; }
.ikc-n { display: block; font-size: 0.7rem; color: var(--muted); margin-bottom: 2px; font-weight: 600; }
.ikc-typing { min-height: 1.1em; font-size: 0.78rem; color: var(--muted); padding: 0 14px 4px; background: var(--paper); }
.ikc-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; background: var(--paper); } .ikc-chips[hidden] { display: none; }
.ikc-chip { font: inherit; font-size: 0.85rem; font-weight: 600; background: #fff; border: 1px solid var(--ik); color: var(--ik-deep); border-radius: 999px; padding: 6px 12px; cursor: pointer; } .ikc-chip:hover { background: var(--ik-tint); }
.ikc-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: #fff; }
.ikc-input { flex: 1; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; } .ikc-input:focus { outline: 2px solid var(--ik); outline-offset: 1px; }
.ikc-send { font: inherit; font-weight: 700; background: var(--ik); color: #fff; border: 0; border-radius: 10px; padding: 0 14px; cursor: pointer; }
.ikc-restart { margin: 0 10px 10px; } .ikc-restart[hidden] { display: none; }
.ikc-foot { font-size: 0.7rem; color: var(--muted); text-align: center; padding: 0 10px 8px; background: #fff; }
body.theme-org .ikc-panel { color: var(--ink); }
@media (max-width: 480px) { .ikc-panel { right: 8px; left: 8px; width: auto; bottom: 74px; height: calc(100vh - 100px); } }

/* every mark: hover and the letters come apart */
.mark:hover .mk-i, .brand:hover .mark .mk-i, a:hover > .mark .mk-i { transform: translateX(-13px); }
.mark:hover .mk-k, .brand:hover .mark .mk-k, a:hover > .mark .mk-k { transform: translateX(9px); }

/* contact page */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 6px; align-content: start; }
.contact-card .eyebrow { margin: 0; } .contact-card a.big { font-size: 1.15rem; font-weight: 700; word-break: break-all; }
.contact-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* the secrets page */
.eggs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.eggs li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; } .eggs b { display: block; margin-bottom: 2px; }
.eggs kbd { font-family: var(--mono); background: var(--ik-tint); border: 1px solid var(--ik-tint-2); border-radius: 5px; padding: 1px 6px; font-size: 0.85em; }
.foot-colors { text-decoration: none; }

.ikc-note { font-style: italic; } .ikc-retry { font: inherit; font-weight: 700; color: var(--ik-deep); background: var(--ik-tint); border: 1px solid var(--ik-tint-2); border-radius: 6px; padding: 2px 8px; cursor: pointer; }

/* more things that cross the screen when typed */
.choo, .scooter { position: fixed; left: 0; bottom: 0; z-index: 94; pointer-events: none; animation: choo linear both; display: flex; align-items: flex-end; }
.choo.freight { animation-name: freight; } @keyframes freight { from { transform: translateX(-900px); } to { transform: translateX(100vw); } }
.scooter { animation-name: scooter; bottom: 6px; } @keyframes scooter { 0% { transform: translateX(-160px) translateY(0); } 50% { transform: translateX(50vw) translateY(-6px); } 100% { transform: translateX(100vw) translateY(0); } }
.plane { position: fixed; left: 0; top: 14vh; z-index: 94; pointer-events: none; animation: plane ease-in-out both; } @keyframes plane { 0% { transform: translate(-100px, 0) rotate(-6deg); } 30% { transform: translate(30vw, 8vh) rotate(8deg); } 60% { transform: translate(60vw, -4vh) rotate(-10deg); } 100% { transform: translate(105vw, 6vh) rotate(4deg); } }
.night { position: fixed; inset: 0; z-index: 93; pointer-events: none; background: radial-gradient(ellipse at 75% 20%, rgba(20, 30, 60, 0.75), rgba(5, 10, 25, 0.88)); animation: nightin 1.2s ease both; }
.night.out { animation: nightout 1.2s ease both; } @keyframes nightin { from { opacity: 0; } to { opacity: 1; } } @keyframes nightout { from { opacity: 1; } to { opacity: 0; } }
.night i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; animation: twinkle 2s ease-in-out infinite; } @keyframes twinkle { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }
.night b { position: absolute; right: 12vw; top: 10vh; width: 72px; height: 72px; border-radius: 50%; background: #f4efd8; box-shadow: inset -14px -6px 0 0 #d6cfae, 0 0 40px 10px rgba(255, 250, 220, 0.35); }
.crown { position: absolute; left: -2px; top: -22px; width: 40px; height: 28px; pointer-events: none; animation: crowndrop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both; } .brand { position: relative; }
@keyframes crowndrop { from { transform: translateY(-40px) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }
body.shake { animation: shake 0.8s ease both; } @keyframes shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-6px); } 40%, 60% { transform: translateX(6px); } }
/* "retro": the 2024 IKcode look */
body.retro { --font: "Times New Roman", Times, serif; --paper: #c0c0c0; --ink: #000; --muted: #333; --line: #808080; --ik: #00008b; --ik-deep: #00008b; --ik-tint: #e0e0e0; --ik-tint-2: #a0a0a0; --yellow: #ffff00; --radius: 0px; --shadow: none; --shadow-lift: none; font-family: var(--font); }
body.retro .card, body.retro .list li, body.retro .timeline .what, body.retro .contact-card, body.retro .eggs li { border: 2px outset #e0e0e0; background: #d4d0c8; }
body.retro .hero, body.retro .band, body.retro .contact, body.retro .card.feature, body.retro .pillar { background: #000080 !important; border-radius: 0; } body.retro .hero-lines { display: none; }
body.retro .btn { border: 2px outset #e0e0e0; border-radius: 0; background: #d4d0c8; color: #000; text-transform: none; letter-spacing: 0; } body.retro .btn-accent { background: #ffff00; }
body.retro .site-head, body.retro .site-foot { background: #d4d0c8; border-color: #808080; } body.retro h1, body.retro h2, body.retro h3 { font-family: var(--font); }
body.retro a { color: #0000ee; } body.retro a:visited { color: #551a8b; } body.retro img { image-rendering: pixelated; } body.retro .tag { border-radius: 0; }
@media (prefers-reduced-motion: reduce) { .choo, .scooter, .plane, .pin, .crown, .night { animation: none !important; } .night i { animation: none; } }

/* interactive eggs */
.pin-host { position: relative; overflow: hidden; }
.pin { position: absolute; z-index: 2; width: 30px; height: 42px; padding: 0; border: 0; background: transparent; cursor: pointer; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35)); animation: pindrop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.pin svg { width: 100%; height: 100%; display: block; } .pin:hover { filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35)) brightness(1.1); }
.pin.loose { position: absolute; z-index: 2; transform: translate(-50%, 0); }
@keyframes pindrop { from { opacity: 0; margin-top: -60px; } 70% { opacity: 1; } to { margin-top: 0; } }
.burst { position: fixed; z-index: 96; width: 0; height: 0; pointer-events: none; }
.burst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 2px; animation: burst 1s ease-out forwards; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) rotate(220deg); opacity: 0; } }
.lantern { position: absolute; z-index: 2; width: 34px; height: 51px; padding: 0; border: 0; background: transparent; cursor: pointer; filter: drop-shadow(0 0 10px rgba(255, 204, 0, 0.8)); } .lantern svg { width: 100%; height: 100%; display: block; }
.dark { position: fixed; inset: 0; z-index: 93; pointer-events: none; background: rgba(2, 6, 12, 0.96); --x: 50vw; --y: 50vh; -webkit-mask-image: radial-gradient(circle at var(--x) var(--y), transparent 0, transparent 70px, rgba(0, 0, 0, 0.6) 110px, #000 150px); mask-image: radial-gradient(circle at var(--x) var(--y), transparent 0, transparent 70px, rgba(0, 0, 0, 0.6) 110px, #000 150px); animation: nightin 0.6s ease both; }
.dark.out { animation: nightout 0.8s ease both; }
.paintbox { position: absolute; left: 0; top: 0; z-index: 70; pointer-events: none; mix-blend-mode: normal; }
.paintbox.live { pointer-events: auto; cursor: crosshair; touch-action: none; z-index: 92; }
.painttools { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 93; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; box-shadow: var(--shadow-lift); }
.painttools [data-c] { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; } .painttools [data-c].on { box-shadow: 0 0 0 3px var(--ik); }
.painttools input { width: 90px; }
.cab { position: fixed; left: 0; right: 0; bottom: 0; z-index: 94; pointer-events: none; height: 120px; }
.cab-train { position: absolute; left: 0; bottom: 0; will-change: transform; transform-origin: center; }
.toot { position: absolute; left: 20px; top: -28px; background: #fff; color: var(--ink); font-weight: 800; font-size: 0.85rem; padding: 3px 8px; border-radius: 10px; border: 2px solid var(--ink); animation: tootup 0.9s ease-out forwards; white-space: nowrap; }
@keyframes tootup { to { transform: translateY(-30px); opacity: 0; } }
.cab-ctl { position: absolute; right: 90px; bottom: 76px; display: flex; gap: 6px; pointer-events: auto; }
.cab-ctl button { font: inherit; font-weight: 700; background: var(--ink); color: #fff; border: 0; border-radius: 8px; padding: 8px 12px; cursor: pointer; min-width: 44px; } .cab-ctl button:active { background: var(--ik); }
.os-seal { background: #111815; color: #d9e6dc; font-family: var(--mono); } .os-seal strong { color: #a6cf8f; } .os-seal p, .os-seal .muted { color: #9fb0a6; font-family: var(--font); } .os-seal small { color: #e2a845; }
.os-seal .btn-ghost { color: #d9e6dc; border-color: #2a3731; }
.pinshow { text-align: center; font-size: 2rem; letter-spacing: 0.4em; margin: 10px 0; color: #ffcc00; }
.pinpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 260px; margin: 0 auto; }
.pinpad button { font: inherit; font-family: var(--mono); font-size: 1.15rem; font-weight: 700; padding: 12px 0; background: #24302a; color: #fff; border: 1px solid #2a3731; border-radius: 10px; cursor: pointer; } .pinpad button:hover { background: #2f3f36; }
.pinmsg { text-align: center; color: #e8675c; min-height: 1.3em; margin: 10px 0 0; font-family: var(--font); }
.osfile { background: #0d1210; border: 1px solid #2a3731; border-radius: 10px; padding: 14px; color: #a6cf8f; white-space: pre-wrap; font-size: 0.88rem; margin: 12px 0; }
.os-seal.shake { animation: shake 0.6s ease both; }
.term { position: fixed; left: 18px; bottom: 18px; z-index: 90; width: min(520px, calc(100vw - 36px)); background: #0d1210; color: #a6cf8f; border: 1px solid #2a3731; border-radius: 12px; box-shadow: var(--shadow-lift); font-family: var(--mono); font-size: 0.85rem; overflow: hidden; }
.term-bar { display: flex; justify-content: space-between; align-items: center; background: #24302a; color: #d9e6dc; padding: 6px 10px; font-size: 0.78rem; }
.term-x { background: transparent; border: 0; color: #d9e6dc; font-size: 1.2rem; cursor: pointer; line-height: 1; }
.term-out { margin: 0; padding: 10px 12px; max-height: 220px; overflow: auto; white-space: pre-wrap; color: #d9e6dc; font: inherit; }
.term-form { display: flex; gap: 8px; padding: 8px 12px; border-top: 1px solid #2a3731; } .term-form span { color: #79c48c; } .term-in { flex: 1; background: transparent; border: 0; color: #fff; font: inherit; outline: none; }
.sig { position: fixed; right: 26px; bottom: 90px; z-index: 79; width: 36px; height: 108px; padding: 0; border: 0; background: transparent; cursor: pointer; animation: nightin 0.5s ease both; } .sig.out { animation: nightout 0.8s ease both; }
.sig svg { width: 100%; height: 100%; } .sig circle { fill: #2a3a40; transition: fill 0.2s, filter 0.2s; }
.sig.red .lamp-r { fill: #ff3b30; filter: drop-shadow(0 0 6px #ff3b30); } .sig.green .lamp-g { fill: #34c759; filter: drop-shadow(0 0 6px #34c759); }
@media (prefers-reduced-motion: reduce) { .pin, .burst i, .dark, .sig { animation: none !important; } }

/* the 3D world */
.w3-zooming { overflow: hidden; }
.w3-live body > :not(.w3-stage) { visibility: hidden !important; } .w3-stage { visibility: visible; }
.w3-stage { position: fixed; inset: 0; z-index: 97; background: #030a12; animation: nightin 0.8s ease both; }
.w3-stage.out { animation: nightout 0.6s ease both; }
.w3-stage > canvas { display: block; width: 100%; height: 100%; }
.w3-hud { position: absolute; inset: 0; pointer-events: none; color: #dff6ff; font-family: var(--mono); text-shadow: 0 0 8px rgba(94, 233, 255, 0.6); }
.w3-hud .w3-top { position: absolute; left: 18px; top: 14px; font-size: 0.85rem; } .w3-hud .w3-top b { color: #ffcc00; } .w3-hud .w3-near { display: block; margin-top: 6px; color: #a0dbe7; white-space: nowrap; font-size: 0.8rem; }
.w3-hud .w3-bits { position: absolute; right: 18px; top: 14px; font-size: 0.85rem; display: flex; gap: 10px; align-items: center; }
.w3-hud .w3-leave { pointer-events: auto; font: inherit; font-size: 0.8rem; color: #dff6ff; background: rgba(5, 20, 30, 0.7); border: 1px solid rgba(94, 233, 255, 0.5); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.w3-cross { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #ffcc00; box-shadow: 0 0 10px #ffcc00; }
.w3-prompt { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); font-size: 1rem; background: rgba(5, 20, 30, 0.75); border: 1px solid rgba(255, 204, 0, 0.6); border-radius: 10px; padding: 8px 14px; color: #fff; } .w3-prompt:empty { display: none; }
.w3-prompt kbd { background: #ffcc00; color: #10262b; border-radius: 5px; padding: 1px 7px; font-weight: 800; }
.w3-hint { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); font-size: 0.75rem; color: rgba(223, 246, 255, 0.75); text-align: center; white-space: nowrap; }
.w3-near { position: absolute; left: 50%; top: 56%; transform: translateX(-50%); font-size: 0.8rem; color: #a0dbe7; } .w3-near:empty { display: none; }
.w3-pause { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(3, 10, 18, 0.72); pointer-events: auto; }
.w3-pause .panel { text-align: center; color: #fff; font-family: var(--font); }
.w3-pause h2 { margin: 0 0 6px; } .w3-pause p { color: #a0dbe7; margin: 0 0 18px; max-width: 46ch; }
.w3-pause .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.w3-touch { position: absolute; inset: 0; pointer-events: none; }
.w3-stick { position: absolute; left: 24px; bottom: 24px; width: 120px; height: 120px; border-radius: 50%; border: 2px solid rgba(94, 233, 255, 0.5); background: rgba(5, 20, 30, 0.4); pointer-events: auto; touch-action: none; }
.w3-stick i { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(255, 204, 0, 0.85); }
.w3-look { position: absolute; left: 160px; right: 0; top: 0; bottom: 0; pointer-events: auto; touch-action: none; }
.w3-btns { position: absolute; right: 20px; bottom: 28px; display: flex; gap: 10px; pointer-events: auto; }
.w3-btns button { width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(255, 204, 0, 0.7); background: rgba(5, 20, 30, 0.6); color: #ffcc00; font: inherit; font-weight: 800; touch-action: none; }
.w3-dialog { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(3, 10, 18, 0.6); pointer-events: auto; font-family: var(--font); }
.w3-dialog .panel { background: #0a1a26; color: #e6f6ff; border: 1px solid rgba(94, 233, 255, 0.4); border-radius: 16px; padding: 20px; width: min(100%, 560px); max-height: 80vh; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 0 40px rgba(94, 233, 255, 0.15); }
.w3-dialog h3 { margin: 0; color: #ffcc00; } .w3-dialog .muted { color: #a0dbe7; margin: 0; font-size: 0.9rem; }
.w3-dialog .log { overflow: auto; display: grid; gap: 8px; max-height: 40vh; padding-right: 4px; }
.w3-dialog .m { padding: 8px 12px; border-radius: 12px; font-size: 0.95rem; line-height: 1.4; max-width: 90%; } .w3-dialog .m.npc { background: rgba(94, 233, 255, 0.12); justify-self: start; } .w3-dialog .m.you { background: #1a7689; justify-self: end; }
.w3-dialog form { display: flex; gap: 8px; } .w3-dialog input { flex: 1; font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(94, 233, 255, 0.4); background: #061119; color: #fff; }
.w3-dialog .letter { white-space: pre-wrap; font-family: Georgia, "Times New Roman", serif; font-size: 1.02rem; line-height: 1.6; color: #fff7d6; background: #14110a; border: 1px solid #ffcc0055; border-radius: 12px; padding: 20px; overflow: auto; }
.w3-return { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 96; display: flex; gap: 10px; align-items: center; background: #0a1a26; color: #e6f6ff; border: 1px solid rgba(94, 233, 255, 0.5); border-radius: 12px; padding: 10px 14px; font-size: 0.92rem; box-shadow: 0 0 30px rgba(94, 233, 255, 0.2); max-width: calc(100vw - 24px); flex-wrap: wrap; justify-content: center; }
.w3-return b { color: #ffcc00; }
.w3-toast { position: absolute; left: 50%; top: 18%; transform: translateX(-50%); background: rgba(5, 20, 30, 0.85); border: 1px solid rgba(255, 204, 0, 0.6); color: #fff; border-radius: 12px; padding: 10px 16px; font-family: var(--font); opacity: 0; transition: opacity 0.3s; pointer-events: none; max-width: min(90vw, 520px); text-align: center; }
.w3-toast.on { opacity: 1; }
/* the 3D world: loading screen, corner map, speed and altitude, the pause panel's guide */
.w3-load { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: #030a12; color: #dff6ff; font-family: var(--mono); transition: opacity 0.4s ease; }
.w3-load.out { opacity: 0; pointer-events: none; }
.w3-load .box { display: grid; gap: 10px; width: min(80vw, 340px); text-align: center; } .w3-load b { color: #ffcc00; font-size: 1rem; letter-spacing: 0.02em; } .w3-load span { font-size: 0.8rem; color: #a0dbe7; }
.w3-load i { display: block; height: 4px; border-radius: 2px; background: rgba(94, 233, 255, 0.18); overflow: hidden; } .w3-load u { display: block; height: 100%; width: 4%; background: #5ee9ff; box-shadow: 0 0 10px #5ee9ff; transition: width 0.25s ease; }
.w3-map { position: absolute; right: 18px; top: 56px; width: 140px; height: 140px; border-radius: 15px; opacity: 0.94; box-shadow: 0 6px 18px rgba(3, 10, 18, 0.35); }
.w3-gauge { position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%); font-size: 0.85rem; letter-spacing: 0.04em; background: rgba(5, 20, 30, 0.72); border: 1px solid rgba(94, 233, 255, 0.45); border-radius: 8px; padding: 4px 12px; color: #dff6ff; text-shadow: none; white-space: nowrap; } .w3-gauge:empty { display: none; }
.w3-hud.chase .w3-cross { display: none; }
.w3-pause .panel { max-width: min(92vw, 600px); max-height: 92vh; overflow: auto; padding: 8px; }
.w3-pause .w3-keys { list-style: none; margin: 0 auto 14px; padding: 12px 16px; max-width: 54ch; text-align: left; font-size: 0.86rem; line-height: 1.55; color: #cfeaf2; background: rgba(94, 233, 255, 0.07); border: 1px solid rgba(94, 233, 255, 0.25); border-radius: 12px; } .w3-pause .w3-keys b { color: #ffcc00; font-weight: 700; }
.w3-pause .panel p { margin-left: auto; margin-right: auto; }
.w3-pause .w3-tally { font-family: var(--mono); font-size: 0.82rem; color: #ffcc00; margin: 0 0 16px; }
.w3-pause .w3-reset { margin-top: 14px; background: none; border: 0; color: #a0dbe7; font: inherit; font-size: 0.8rem; text-decoration: underline; cursor: pointer; }
.w3-btns [data-b="down"] { display: none; } .w3-hud.flying .w3-btns [data-b="down"] { display: block; }
@media (max-width: 700px) { .w3-map { width: 104px; height: 104px; top: 52px; right: 12px; } .w3-hud .w3-hint { white-space: normal; width: 92vw; } .w3-gauge { bottom: 170px; } }

/* the world's vehicles on the normal page: on the ground, so under the cards and the text, over the areas' backgrounds */
.veh-layer { position: absolute; left: 0; top: 0; width: 100%; height: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.veh-layer img { position: absolute; left: 0; top: 0; max-width: none; will-change: transform; filter: drop-shadow(0 0 5px rgba(94, 233, 255, 0.5)) drop-shadow(0 3px 4px rgba(16, 38, 43, 0.35)); }
/* the jet in the air (or parked on a roof) is drawn over the content, with its shadow on the page below it */
.veh-layer.veh-air { z-index: 3; }
.veh-layer.veh-air img[data-veh] { filter: drop-shadow(0 0 6px rgba(94, 233, 255, 0.55)); }
.veh-layer img.veh-shadow { filter: brightness(0) blur(5px); opacity: 0.3; } .veh-layer img.veh-shadow[hidden] { display: none; }
body[data-page="home"] main > section > .wrap, body[data-page="home"] .site-foot > .wrap { position: relative; z-index: 2; }
.w3-hud .w3-top, .w3-hud .w3-count, .w3-hud .w3-hint { background: rgba(5, 20, 30, 0.62); border-radius: 8px; padding: 5px 10px; text-shadow: none; }
.w3-hud .w3-top .w3-near { position: static; transform: none; display: block; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 44vw; } .w3-hud .w3-near:empty { display: none; }
.w3-hud.light .w3-cross { background: #1a7689; box-shadow: 0 0 0 2px #fff; }
.w3-area { color: inherit; opacity: 0.85; }
/* the opening letter: the cutscene hides the HUD, the letter runs along the bottom and reads itself */
.w3-hud.w3-cut .w3-top, .w3-hud.w3-cut .w3-bits, .w3-hud.w3-cut .w3-map, .w3-hud.w3-cut .w3-cross, .w3-hud.w3-cut .w3-prompt, .w3-hud.w3-cut .w3-gauge, .w3-hud.w3-cut .w3-hint, .w3-hud.w3-cut .w3-touch { display: none; }
.w3-letterbar { position: absolute; left: 0; right: 0; bottom: 0; height: min(38vh, 340px); pointer-events: auto; transform: translateY(100%); transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease; background: linear-gradient(180deg, rgba(3, 10, 18, 0) 0, rgba(3, 10, 18, 0.86) 48px, rgba(3, 10, 18, 0.92) 100%); font-family: var(--font); color: #fff; }
.w3-letterbar.on { transform: none; } .w3-letterbar.away { transform: translateY(100%); opacity: 0; }
.w3-letterbar-in { max-width: 920px; margin: 0 auto; height: 100%; padding: 46px 24px 10px; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; box-sizing: border-box; }
.w3-letterbar h2 { margin: 0; font-size: clamp(1.2rem, 2.6vw, 1.7rem); color: #ffcc00; font-family: Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: 0.01em; }
.w3-letterbar-scroll { overflow: hidden; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.05rem, 2.2vw, 1.45rem); line-height: 1.6; color: rgba(255, 255, 255, 0.5); padding-bottom: 40vh; scroll-behavior: auto; }
/* the words type out as they are spoken (they keep their place, so nothing jumps) */
.w3-letterbar p { margin: 0 0 0.7em; } .w3-letterbar span { visibility: hidden; border-radius: 4px; }
.w3-letterbar span.done { visibility: visible; color: #fff; } .w3-letterbar span.on { visibility: visible; color: #ffcc00; text-shadow: 0 0 14px rgba(255, 204, 0, 0.6); }
.w3-letterbar-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.72rem; color: #a0dbe7; } .w3-letterbar .w3-skip[hidden] { display: none; }
.w3-fade { position: absolute; inset: 0; background: #06151c; opacity: 0; pointer-events: none; }
.w3-title { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(0.92); text-align: center; color: #fff; opacity: 0; padding: 26px 48px 30px; border-radius: 28px; background: rgba(3, 10, 18, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 0 80px rgba(94, 233, 255, 0.25); transition: opacity 0.9s ease, transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1); pointer-events: none; font-family: var(--font); }
.w3-title small { display: block; font-family: var(--mono); letter-spacing: 0.3em; text-transform: uppercase; font-size: clamp(0.7rem, 1.4vw, 0.9rem); color: #a0dbe7; margin-bottom: 6px; } .w3-title b { display: block; font-size: clamp(2.6rem, 9vw, 6.5rem); font-weight: 800; letter-spacing: -0.03em; text-shadow: 0 0 40px rgba(94, 233, 255, 0.5); }
.w3-title.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.w3-aside { position: absolute; left: 50%; bottom: 12%; transform: translate(-50%, 10px); max-width: min(90vw, 760px); text-align: center; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.05rem, 2.2vw, 1.5rem); line-height: 1.5; color: rgba(255, 255, 255, 0.5); background: rgba(3, 10, 18, 0.7); border-radius: 14px; padding: 12px 20px; opacity: 0; transition: opacity 0.5s ease, transform 0.5s ease; pointer-events: none; }
.w3-aside.on { opacity: 1; transform: translate(-50%, 0); } .w3-aside span.done { color: #fff; } .w3-aside span.on { color: #ffcc00; }
@media (max-width: 700px) { .w3-letterbar { height: 44vh; } .w3-letterbar-in { padding: 36px 16px 8px; } }
/* the nudge card at the top right of the front page */
.w3-promo { position: fixed; top: 76px; right: 16px; z-index: 78; width: min(320px, calc(100vw - 32px)); background: #0a1a26; color: #e6f6ff; border: 1px solid rgba(94, 233, 255, 0.45); border-radius: 14px; padding: 14px 40px 14px 16px; box-shadow: 0 16px 40px rgba(3, 10, 18, 0.35), 0 0 30px rgba(94, 233, 255, 0.12); font-size: 0.92rem; line-height: 1.45; transform: translateX(24px); opacity: 0; transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease; }
.w3-promo.on { transform: none; opacity: 1; } .w3-promo p { margin: 0 0 10px; } .w3-promo kbd { font-family: var(--mono); background: #ffcc00; color: #10262b; border-radius: 5px; padding: 1px 7px; font-weight: 800; }
.w3-promo-x { position: absolute; right: 8px; top: 6px; background: none; border: 0; color: #a0dbe7; font-size: 1.3rem; cursor: pointer; line-height: 1; padding: 4px 8px; }
@media (prefers-reduced-motion: reduce) { .w3-promo, .w3-letterbar, .w3-title { transition: none; } }
