/* kwrona.com — Design A "Portal": dark, cinematic, spatial */
:root {
  --bg: #07090f;
  --bg-2: #0b0f1c;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .075);
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .2);
  --text: #eef1f8;
  --muted: #aab2c8;
  --dim: #8890a8;
  --teal: #5eead4;
  --blue: #60a5fa;
  --violet: #a78bfa;
  --magenta: #f472b6;
  --gold: #fcd34d;
  --grad: linear-gradient(110deg, #5eead4 0%, #60a5fa 34%, #a78bfa 66%, #f472b6 100%);
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px -24px rgba(0, 0, 0, .7);
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Aurora glow behind everything */
body::before {
  content: "";
  position: fixed;
  inset: -20vmax;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(40vmax 30vmax at 15% 10%, rgba(45, 212, 191, .16), transparent 70%),
    radial-gradient(45vmax 35vmax at 85% 20%, rgba(139, 92, 246, .18), transparent 70%),
    radial-gradient(40vmax 30vmax at 60% 95%, rgba(236, 72, 153, .12), transparent 70%);
  animation: aurora 38s ease-in-out infinite alternate;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
@keyframes aurora {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(3vmax, -2vmax, 0) rotate(6deg); }
  100% { transform: translate3d(-3vmax, 2vmax, 0) rotate(-4deg); }
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #99f6e4; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(167, 139, 250, .45); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -.04em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--teal); color: #04151a; padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; }
.section { padding-block: clamp(56px, 9vw, 112px); position: relative; }
.section-tight { padding-block: clamp(36px, 6vw, 64px); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 1.075rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font: 600 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #cfd5e6; max-width: 62ch; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Glass ---------- */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .025));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}
.pad { padding: clamp(22px, 3.4vw, 40px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 15, .62);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand-mark {
  font: 700 1.35rem/1 var(--font-display); letter-spacing: .08em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgba(167, 139, 250, .45));
}
.brand-name { display: flex; flex-direction: column; font-size: .8rem; line-height: 1.2; color: var(--muted); border-left: 1px solid var(--line-2); padding-left: 12px; }
.brand-name strong { color: var(--text); font-weight: 600; font-size: .9rem; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.site-nav a {
  display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px;
  color: #cdd3e4; text-decoration: none; font-size: .93rem; font-weight: 500;
  transition: background .2s, color .2s;
}
.site-nav a:hover { background: var(--surface-2); color: #fff; }
.site-nav a[aria-current] { color: #fff; background: rgba(94, 234, 212, .12); box-shadow: inset 0 0 0 1px rgba(94, 234, 212, .3); }
.site-nav .nav-cta { background: var(--text); color: #090b14; font-weight: 600; }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current] { background: #fff; color: #090b14; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); flex: none;
}
.lang-switch a {
  padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  color: var(--muted); text-decoration: none; transition: background .2s, color .2s;
}
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="true"] { background: rgba(94, 234, 212, .18); color: #fff; box-shadow: inset 0 0 0 1px rgba(94, 234, 212, .4); }
@media (max-width: 860px) {
  .site-header { position: relative; }
  .header-inner { flex-wrap: wrap; padding-block: 10px 0; gap: 6px; }
  .site-nav { order: 3; width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - 28px), transparent); }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { padding: 4px var(--gutter) 10px; width: max-content; }
  .site-nav a { padding: 7px 12px; font-size: .9rem; }
}

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  --b-bg: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: 600 .98rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--b-bg); color: var(--text);
  transition: transform .2s ease, box-shadow .25s ease, background .2s;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { color: #fff; background: rgba(255, 255, 255, .13); transform: translateY(-2px); }
.btn-primary {
  background: var(--grad); color: #090b14; border-color: transparent;
  box-shadow: 0 10px 34px -8px rgba(139, 92, 246, .65), 0 0 0 1px rgba(255, 255, 255, .15) inset;
}
.btn-primary:hover { color: #090b14; background: var(--grad); box-shadow: 0 14px 44px -6px rgba(94, 234, 212, .6), 0 0 0 1px rgba(255, 255, 255, .3) inset; }
.btn-soon { opacity: .75; cursor: not-allowed; border-style: dashed; }
.btn-soon:hover { transform: none; background: var(--b-bg); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.text-link svg { width: 16px; height: 16px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Chips / status ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 1rem; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 500; color: #d7dcea; background: var(--surface-2); border: 1px solid var(--line);
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.status-dev::before { background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.status-soon::before { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.status-past::before { background: var(--dim); box-shadow: none; }

/* ---------- Breadcrumbs ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: .85rem; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }

/* ---------- Banner fade & float ---------- */
.banner { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 99%); mask-image: linear-gradient(to bottom, #000 55%, transparent 99%); }
@keyframes hover-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ---------- Feature icon ---------- */
.ficon {
  --c: var(--teal);
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  color: var(--c);
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--c) 28%, transparent), color-mix(in srgb, var(--c) 6%, transparent) 70%);
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  box-shadow: 0 0 26px -6px var(--c), inset 0 0 14px -6px var(--c);
}
.ficon svg { width: 24px; height: 24px; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--c) 70%, transparent)); }
.c-violet { --c: var(--violet); }
.c-magenta { --c: var(--magenta); }
.c-blue { --c: var(--blue); }
.c-gold { --c: var(--gold); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: clamp(16px, 2.2vw, 24px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .9);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(167, 139, 250, .45); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .9), 0 0 0 1px rgba(167, 139, 250, .15), 0 0 50px -12px rgba(139, 92, 246, .45); }
.card:focus-within { border-color: rgba(94, 234, 212, .6); }
.card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0c1122; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-body h3 { margin-bottom: .25em; }
.card-body p { color: var(--muted); font-size: .95rem; margin-bottom: .75em; }
.card-body .chips { margin-bottom: .6rem; }
.card-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: .92rem; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-foot .ext { position: relative; z-index: 2; }
/* Inline external-link icons inside running text */
a.ext svg { width: .85em; height: .85em; display: inline-block; vertical-align: -.08em; margin-left: .15em; }
.card h3 a { color: inherit; text-decoration: none; }
.card .note { font-size: .78rem; color: var(--dim); line-height: 1.45; margin: 0 0 .75em; }
.card-lg { grid-column: span 2; }
.card-lg .card-media { aspect-ratio: 21 / 9; }
@media (max-width: 760px) { .card-lg { grid-column: auto; } .card-lg .card-media { aspect-ratio: 16 / 9; } }
.art-fallback { width: 100%; height: 100%; display: grid; place-items: center; }
.art-fallback svg { width: 64px; height: 64px; color: #fff; opacity: .9; filter: drop-shadow(0 0 18px rgba(255, 255, 255, .5)); }
.art-drum { background: radial-gradient(circle at 30% 30%, rgba(244, 114, 182, .55), transparent 55%), radial-gradient(circle at 75% 70%, rgba(96, 165, 250, .5), transparent 55%), #10142a; }
.art-crown { background: radial-gradient(circle at 70% 30%, rgba(252, 211, 77, .45), transparent 55%), radial-gradient(circle at 25% 75%, rgba(94, 234, 212, .4), transparent 55%), #0e1426; }
.art-mondly { background: radial-gradient(circle at 25% 35%, rgba(94, 234, 212, .35), transparent 55%), radial-gradient(circle at 80% 70%, rgba(167, 139, 250, .45), transparent 55%), #0d1224; }

/* ---------- Feature cards ---------- */
.feature { padding: 24px; border-radius: 20px; transition: transform .3s, border-color .3s, box-shadow .3s; }
.feature:hover { transform: translateY(-4px); border-color: rgba(94, 234, 212, .35); box-shadow: var(--shadow), 0 0 40px -14px rgba(94, 234, 212, .45); }
.feature .ficon { margin-bottom: 18px; }
.feature h3 { margin-bottom: .4em; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }
.feature ul { color: var(--muted); margin: .5em 0 0; font-size: .95rem; }

/* ---------- Project hero ---------- */
.p-hero { position: relative; }
.banner { position: relative; overflow: hidden; background: #0b1020; }
.banner img { width: 100%; height: auto; aspect-ratio: 10 / 3; object-fit: cover; max-height: 620px; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7, 9, 15, .25), transparent 30%); pointer-events: none; }
@media (max-width: 700px) { .banner img { aspect-ratio: 16 / 9; } }
.p-head { position: relative; z-index: 2; margin-top: clamp(-90px, -6vw, -20px); }
.p-head h1 { margin-bottom: .25em; }
.p-head .lead { margin-bottom: 1.6rem; }
.page-hero { padding-block: clamp(40px, 7vw, 88px) clamp(24px, 4vw, 40px); }
.page-hero .lead { margin-top: .5rem; }

/* ---------- Split / spec ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.split > aside { position: sticky; top: 96px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split > aside { position: static; } }
.spec h2, .spec h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.spec dl { margin: 0; display: grid; grid-template-columns: auto 1fr; }
.spec dt, .spec dd { padding: 10px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.spec dt { color: var(--dim); padding-right: 16px; }
.spec dd { margin: 0; color: var(--text); text-align: right; font-weight: 500; }
.spec .btn { width: 100%; margin-top: 18px; }
.prose { font-size: 1.06rem; color: #d5dae8; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose strong { color: #fff; }
.prose li { margin-bottom: .4em; }
.quote-block { border-left: 2px solid; border-image: var(--grad) 1; padding: 4px 0 4px 22px; margin: 0 0 1.4em; }

/* ---------- Notices ---------- */
.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px;
  background: rgba(252, 211, 77, .07); border: 1px solid rgba(252, 211, 77, .3); color: #ece3c4; font-size: .92rem; line-height: 1.55;
}
.notice svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 1px; }
.notice p { margin: 0; }
.notice p + p { margin-top: .5em; }
.notice-info { background: rgba(96, 165, 250, .08); border-color: rgba(96, 165, 250, .35); color: #d6e4fb; }
.notice-info svg { color: var(--blue); }

/* ---------- YouTube lite ---------- */
.yt { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; background: #000; border: 1px solid var(--line); color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s; }
.yt:hover img { opacity: 1; transform: scale(1.03); }
.yt-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 40px rgba(167, 139, 250, .6); transition: transform .25s, background .25s; }
.yt-play svg { width: 30px; height: 30px; margin-left: 4px; }
.yt:hover .yt-play { transform: scale(1.08); background: rgba(255, 255, 255, .26); }
.yt-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; font-weight: 600; font-size: .95rem; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { color: var(--muted); font-size: .9rem; margin-top: 12px; }

/* ---------- Rail ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; margin-inline: -4px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 700px) { .rail { grid-auto-columns: 80%; } }

/* ---------- CTA strip ---------- */
.cta-strip { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: clamp(28px, 5vw, 56px); }
.cta-strip::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: radial-gradient(closest-side at 20% 50%, rgba(94, 234, 212, .22), transparent), radial-gradient(closest-side at 80% 50%, rgba(244, 114, 182, .2), transparent); }
.cta-strip h2 { margin-bottom: .3em; }
.cta-strip p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .cta-strip { grid-template-columns: 1fr; } }

/* ---------- Split media blocks ---------- */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.media-split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .media-split { grid-template-columns: 1fr; } .media-split.reverse > :first-child { order: 0; } }
.framed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow), 0 0 60px -20px rgba(139, 92, 246, .5); }
.framed img { width: 100%; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; color: #d5dae8; }
.check-list svg { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 3px; }

/* ---------- Scenes / places ---------- */
.scene { overflow: hidden; padding: 0; }
.scene .scene-art { aspect-ratio: 2 / 1; background: #0a0f1d; overflow: hidden; }
.scene .scene-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.scene:hover .scene-art img { transform: scale(1.04); }
.scene .scene-body { padding: 20px 22px 24px; }
.scene h3 { display: flex; align-items: center; gap: 10px; }
.scene p { color: var(--muted); margin: 0; font-size: .96rem; }
.fractal-art { width: 100%; height: 100%; display: block; }
.mood { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mood img { border-radius: 18px; aspect-ratio: 2 / 1; object-fit: cover; width: 100%; border: 1px solid var(--line); }
@media (max-width: 640px) { .mood { grid-template-columns: 1fr; } }

/* Centered flex grid for 7-item landscapes */
.places-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 2.2vw, 24px); }
.places-grid > .scene { flex: 1 1 290px; max-width: calc((100% - 2 * clamp(16px, 2.2vw, 24px)) / 3); }
@media (max-width: 960px) { .places-grid > .scene { max-width: calc((100% - clamp(16px, 2.2vw, 24px)) / 2); } }
@media (max-width: 620px) { .places-grid > .scene { max-width: 100%; } }

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.steps li { counter-increment: step; position: relative; padding: 20px 20px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .94rem; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 700 .85rem/1 var(--font-display); letter-spacing: .08em; margin-bottom: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps strong { color: var(--text); display: block; margin-bottom: 4px; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--teal), var(--violet), var(--magenta), transparent); opacity: .6; }
.timeline li { position: relative; padding: 0 0 28px 44px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--teal); box-shadow: 0 0 14px rgba(94, 234, 212, .6); }
.timeline .when { font-size: .82rem; color: var(--teal); font-weight: 600; letter-spacing: .04em; }
.timeline h3 { margin: .2em 0 .3em; font-size: 1.15rem; }
.timeline h3 span { color: var(--muted); font-weight: 500; }
.timeline p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- About / intro ---------- */
.intro { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 44px); align-items: center; }
.avatar { width: clamp(110px, 16vw, 170px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255, 255, 255, .2); box-shadow: 0 0 0 6px rgba(94, 234, 212, .08), 0 0 60px -10px rgba(139, 92, 246, .7); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .intro { grid-template-columns: 1fr; } }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 1.2rem; }
.stat { padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.stat strong { display: block; font: 700 1.25rem/1.2 var(--font-display); }
.stat span { color: var(--muted); font-size: .85rem; }

/* ---------- Blog ---------- */
.post-head { padding-block: clamp(32px, 6vw, 72px) 28px; }
.post-head h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .92rem; align-items: center; }
.post-meta img { width: 36px; height: 36px; border-radius: 50%; }
.post-meta .by { display: inline-flex; gap: 10px; align-items: center; color: var(--text); font-weight: 500; }
.post-body { padding: clamp(22px, 5vw, 56px); }
.blog-post-content { font-size: 1.08rem; line-height: 1.78; color: #d9deeb; }
.blog-post-content > h2:first-child, .blog-post-content > .date { display: none; }
.blog-post-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 1.6em 0 .6em; }
.blog-post-content h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 1.8em 0 .6em; color: #fff; }
.blog-post-content h4 { font-size: 1.15rem; margin: 1.6em 0 .5em; color: var(--teal); letter-spacing: -.01em; }
.blog-post-content p { margin-bottom: 1.15em; }
.blog-post-content img { width: 100%; height: auto; border-radius: 16px; margin: 1.8em auto .6em; border: 1px solid var(--line); }
.blog-post-content img.img-small { max-width: 400px; }
.blog-post-content video { width: 100%; border-radius: 16px; margin: 1.8em auto .6em; background: #000; }
.blog-post-content video.video-small { max-width: 560px; }
.blog-post-content .image-caption { text-align: center; font-size: .88rem; color: var(--dim); margin: 0 auto 2em; max-width: 60ch; }
.blog-post-content .standards-strip { display: flex; justify-content: center; gap: 24px; padding: 18px; margin: 1.8em 0 .6em; border-radius: 16px; background: #f4f2fa; }
.blog-post-content .standards-strip img { width: auto; max-height: 90px; margin: 0; border: 0; border-radius: 0; }
.blog-post-content a { color: var(--teal); }
.post-card .card-media { aspect-ratio: 1200 / 630; }
.post-card time { color: var(--dim); font-size: .85rem; }
.author-box { display: flex; gap: 18px; align-items: center; padding: 22px; margin-top: 28px; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.author-box p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.mail-big { display: inline-block; font: 700 clamp(1.6rem, 5vw, 3.2rem)/1.1 var(--font-display); letter-spacing: -.03em; text-decoration: none; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; word-break: break-all; }
.mail-big:hover { filter: brightness(1.15); color: transparent; }
.social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.social { position: relative; display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 18px; text-decoration: none; color: var(--text); transition: transform .25s, border-color .25s, box-shadow .25s; }
.social:hover { color: var(--text); transform: translateY(-3px); border-color: rgba(94, 234, 212, .4); box-shadow: var(--shadow), 0 0 36px -12px rgba(94, 234, 212, .5); }
.social small { display: block; color: var(--muted); font-size: .82rem; }
.place-card { overflow: hidden; padding: 0; }
.place-card img { width: 100%; aspect-ratio: 1024 / 559; object-fit: cover; }
.place-card div { padding: 18px 22px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); background: linear-gradient(to bottom, rgba(11, 15, 28, .4), rgba(7, 9, 15, .9)); padding-block: 56px 32px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid h2 { font: 600 .8rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .14em; color: var(--dim); margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: #cdd3e4; text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { color: var(--muted); max-width: 34ch; margin-top: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--dim); font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound .big { font: 700 clamp(6rem, 22vw, 13rem)/.9 var(--font-display); letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 40px rgba(139, 92, 246, .45)); margin-bottom: 10px; }
.notfound .btn-row { justify-content: center; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-l { margin-bottom: clamp(24px, 3.5vw, 40px); }
.mt-l { margin-top: clamp(28px, 4vw, 48px); }
.center { text-align: center; }
.small { font-size: .86rem; }
.stack > * + * { margin-top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ===== Home hero: intro + floating project windows ===== */
.home-hero { position: relative; padding: clamp(48px, 8vw, 110px) 0 clamp(30px, 5vw, 60px); }
.home-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.home-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); margin-bottom: .4em; }
.home-hero .lead { margin-bottom: 1.8rem; max-width: 38ch; }
.hero-avatar { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; margin-bottom: 22px; border: 2px solid rgba(255, 255, 255, .25); box-shadow: 0 0 0 6px rgba(139, 92, 246, .18), 0 0 40px rgba(94, 234, 212, .25); }
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
.window-cluster { position: relative; aspect-ratio: 1 / .95; perspective: 1400px; }
.fwin { position: absolute; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: #0b0f1a; box-shadow: var(--shadow), 0 0 50px -10px rgba(139, 92, 246, .45); animation: hover-float 9s ease-in-out infinite; }
.fwin img { width: 100%; height: 100%; object-fit: cover; }
.fwin-a { left: 0; top: 14%; width: 60%; aspect-ratio: 16 / 10; transform: rotateY(16deg) rotateZ(-2deg); animation-delay: -2s; }
.fwin-b { left: 38%; top: 2%; width: 38%; aspect-ratio: 7 / 10; z-index: 3; box-shadow: var(--shadow), 0 0 70px -6px rgba(94, 234, 212, .45); }
.fwin-c { right: -2%; top: 36%; width: 50%; aspect-ratio: 16 / 10; z-index: 2; transform: rotateY(-18deg) rotateZ(2deg); animation-delay: -5s; }
.fwin-d { left: 6%; top: 60%; width: 48%; aspect-ratio: 16 / 9; z-index: 1; transform: rotateY(12deg) rotateX(4deg); animation-delay: -7s; }
@media (max-width: 860px) {
  .home-hero-grid { grid-template-columns: 1fr; }
  .window-cluster { max-width: 520px; width: 100%; margin: 10px auto 0; }
}

/* ===== Mixed-reality screenshot rows (Gothic page) ===== */
.mr-showcase { padding: clamp(36px, 6vw, 70px) 0; perspective: 1600px; position: relative; isolation: isolate; }
.mr-showcase::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 60% at 50% 50%, rgba(139, 92, 246, .22), transparent 70%); }
.mr-row { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 3vw, 40px); }
.mr-shot { margin: 0; width: min(30%, 340px); border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 60px -14px rgba(94, 234, 212, .35); }
.mr-shot img { width: 100%; height: auto; display: block; }
.mr-tilt-l { transform: rotateY(12deg) scale(.94); }
.mr-tilt-r { transform: rotateY(-12deg) scale(.94); }
.mr-lift { transform: translateY(-14px); z-index: 1; }
.mr-single { width: min(100%, 380px); justify-self: center; }
@media (max-width: 700px) {
  .mr-row { overflow-x: auto; justify-content: flex-start; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .mr-shot { flex: 0 0 70%; width: 70%; scroll-snap-align: center; }
  .mr-tilt-l, .mr-tilt-r, .mr-lift { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .fwin { animation: none; } }

.framed video { width: 100%; height: auto; display: block; }

/* Compact feature cards on phones: two per row, tighter type */
@media (max-width: 700px) {
  .grid:has(> .feature) { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature { padding: 14px 14px 16px; border-radius: 16px; }
  .feature:hover { transform: none; }
  .feature .ficon { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 10px; }
  .feature .ficon svg { width: 18px; height: 18px; }
  .feature h3 { font-size: .98rem; line-height: 1.25; margin-bottom: .3em; }
  .feature p, .feature ul { font-size: .84rem; line-height: 1.45; }
}

/* ---------- Newsletter / updates box ---------- */
.nl-box {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(22px, 4vw, 48px); align-items: center;
  padding: clamp(26px, 4.5vw, 48px);
}
.nl-box::before {
  content: ""; position: absolute; inset: -40%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side at 15% 40%, rgba(94, 234, 212, .18), transparent), radial-gradient(closest-side at 85% 60%, rgba(167, 139, 250, .2), transparent);
}
.nl-copy h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin-bottom: .35em; }
.nl-copy p:last-child { color: var(--muted); margin: 0; }
.nl-form { display: grid; gap: 12px; }
.nl-row { display: flex; gap: 10px; align-items: stretch; }
.nl-input {
  flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 12px 18px;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(7, 9, 15, .65); color: var(--text);
  font: 400 .98rem/1.2 var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
.nl-input::placeholder { color: var(--dim); }
.nl-input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(94, 234, 212, .22); }
.nl-row .btn { flex: none; white-space: nowrap; }
.nl-check {
  display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer;
  font-size: .9rem; color: #cfd5e6; line-height: 1.45;
}
.nl-check input {
  margin-top: 3px; width: 17px; height: 17px; flex: none;
  accent-color: var(--teal); cursor: pointer;
}
.nl-fine { margin: 0; font-size: .82rem; color: var(--dim); }
.nl-status {
  margin: 2px 0 0; padding: 10px 14px; border-radius: 12px; font-size: .88rem; line-height: 1.45;
  background: rgba(94, 234, 212, .1); border: 1px solid rgba(94, 234, 212, .35); color: #d6fff7;
}
.nl-status.is-error { background: rgba(244, 114, 182, .12); border-color: rgba(244, 114, 182, .4); color: #ffe4f1; }
@media (max-width: 860px) { .nl-box { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .nl-row { flex-direction: column; } .nl-row .btn { width: 100%; } }
