/* ── GATE INTRO ─────────────────────────────────────── */
#kws-gate {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  grid-template-rows: 44px 1fr 44px;
  background: var(--bg);
  transition: opacity 1s ease, filter 1s ease;
  overflow: hidden;
}
#kws-gate.exit {
  opacity: 0;
  filter: blur(10px) brightness(1.8);
  pointer-events: none;
}

/* Rohové závorky */
#kws-gate .gate-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 2;
  opacity: 0;
  animation: gateCornerIn 0.5s ease forwards;
}
#kws-gate .gate-corner.tl { top: 12px;    left: 12px;    border-top: 1px solid var(--accent);   border-left:  1px solid var(--accent);  animation-delay: 0.1s; }
#kws-gate .gate-corner.tr { top: 12px;    right: 12px;   border-top: 1px solid var(--accent);   border-right: 1px solid var(--accent);  animation-delay: 0.2s; }
#kws-gate .gate-corner.bl { bottom: 12px; left: 12px;    border-bottom: 1px solid var(--accent); border-left:  1px solid var(--accent);  animation-delay: 0.3s; }
#kws-gate .gate-corner.br { bottom: 12px; right: 12px;   border-bottom: 1px solid var(--accent); border-right: 1px solid var(--accent);  animation-delay: 0.4s; }
@keyframes gateCornerIn {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1); }
}

/* Scan line */
#kws-gate .gate-scan {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(142,245,223,0.7) 40%, rgba(215,255,98,0.5) 60%, transparent 100%);
  box-shadow: 0 0 10px rgba(142,245,223,0.35);
  animation: gateScan 5s ease-in-out 1.2s infinite;
  z-index: 3;
  pointer-events: none;
}
@keyframes gateScan {
  0%   { top: -2px;   opacity: 0; }
  4%   { opacity: 1; }
  96%  { opacity: 1; }
  100% { top: 100%;  opacity: 0; }
}

/* Bars */
#kws-gate .gate-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 48px;
  border-bottom: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  z-index: 4;
  overflow: hidden;
}
#kws-gate .gate-bar-r {
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
#kws-gate .gate-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: gateBlink 1.1s step-end infinite;
}
@keyframes gateBlink { 0%,100%{opacity:1} 50%{opacity:0} }
#kws-gate .gate-loading {
  overflow: hidden;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
  width: 0;
  animation: gateTypeIn 2.4s steps(40, end) 0.3s both;
}
@keyframes gateTypeIn { to { width: 100%; } }

@media (max-width: 600px) {
  #kws-gate .gate-bar {
    padding: 0 44px;
    font-size: 7px;
    letter-spacing: 0.12em;
  }
}

/* Main / poem */
#kws-gate .gate-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 12vw;
  position: relative;
  z-index: 4;
}
#kws-gate .gate-protocol {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 48px;
  opacity: 0;
  animation: gateProtoIn 0.8s ease 0.4s forwards;
}
@keyframes gateProtoIn { from{opacity:0;letter-spacing:0.6em} to{opacity:1;letter-spacing:0.28em} }

#kws-gate .gate-poem {
  max-width: 540px;
  border-left: 1px solid rgba(142,245,223,0.22);
  padding-left: 28px;
  padding-bottom: 6px;
  animation: gateRise 0.9s ease 0.8s both;
}
@keyframes gateRise { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

#kws-gate .pl {
  font-family: "Geist", sans-serif;
  font-size: clamp(15px, 1.7vw, 21px);
  font-weight: 300;
  color: rgba(244,247,245,0.42);
  letter-spacing: 0.01em;
  line-height: 2.0;
  display: block;
}

/* Button */
#kws-gate #divine-btn {
  font-family: "Geist", sans-serif;
  font-size: clamp(15px, 1.7vw, 21px);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(142,245,223,0.25);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 2.0;
  display: inline;
  animation: gateRise 0.9s ease 1.4s both, gatePulse 3.5s ease-in-out 3s infinite;
}
@keyframes gatePulse {
  0%,100% { color: rgba(142,245,223,0.25); text-shadow: none; }
  45%     { color: rgba(142,245,223,0.75); text-shadow: 0 0 16px rgba(142,245,223,0.4), 0 0 40px rgba(142,245,223,0.15); }
  72%     { color: #8ef5df;                text-shadow: 0 0 20px rgba(142,245,223,0.6), 0 0 60px rgba(142,245,223,0.2); }
}
#kws-gate #divine-btn:hover {
  color: var(--accent-2);
  text-shadow: 0 0 18px rgba(215,255,98,0.6), 0 0 40px rgba(215,255,98,0.15);
  animation: none;
}
#kws-gate #divine-btn::after {
  content: '_';
  color: var(--accent);
  margin-left: 1px;
  animation: gateCurBlink 0.9s step-end 2.8s infinite;
  opacity: 0;
}
@keyframes gateCurBlink { 0%,100%{opacity:0} 50%{opacity:1} }

/* Footer bar */
#kws-gate .gate-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-top: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(156,168,167,0.4);
  position: relative;
  z-index: 4;
}
#kws-gate .gate-foot-time {
  color: var(--accent);
  opacity: 0.7;
}

@media (max-width: 620px) {
  #kws-gate .gate-main { padding: 0 7vw; }
  #kws-gate .gate-corner { width: 20px; height: 20px; }
}
/* ── END GATE ───────────────────────────────────────── */

:root {
  --bg: #07090b;
  --panel: rgba(15, 19, 23, 0.82);
  --panel-strong: #11161b;
  --text: #f4f7f5;
  --muted: #9ca8a7;
  --line: rgba(219, 231, 226, 0.14);
  --accent: #8ef5df;
  --accent-2: #d7ff62;
  --danger: #ff594f;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  --radius: 6px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

img,
svg,
canvas,
video {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% 0%, rgba(142, 245, 223, 0.12), transparent 34rem),
    radial-gradient(circle at 8% 12%, rgba(215, 255, 98, 0.09), transparent 28rem),
    linear-gradient(135deg, #07090b 0%, #0a0d10 48%, #050607 100%);
  color: var(--text);
  font-family: Geist, system-ui, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

main {
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 90%);
  animation: grid-breathe 14s ease-in-out infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 52px);
  background: rgba(7, 9, 11, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand span:last-child {
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(142, 245, 223, 0.42);
  color: var(--accent);
  font: 700 21px "Space Grotesk", sans-serif;
  background: rgba(142, 245, 223, 0.06);
  box-shadow: 0 0 28px rgba(142, 245, 223, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.menu-toggle,
.button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  padding: 11px 14px;
  color: var(--muted);
  transition: 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  border-color: rgba(142, 245, 223, 0.48);
  background: rgba(142, 245, 223, 0.06);
}

.site-nav .nav-cta {
  color: #07100d;
  border-color: transparent;
  background: var(--accent);
}

.menu-toggle {
  display: none;
  color: var(--text);
  background: transparent;
  padding: 10px 12px;
}

.section-shell {
  width: calc(100% - 40px);
  max-width: var(--max);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  gap: 28px;
  align-items: stretch;
  min-height: calc(100vh - 68px);
  padding: clamp(28px, 3.5vw, 52px) 0 32px;
  position: relative;
}

.system-line,
.card-label,
.panel-top span,
.signal-grid span,
.metric,
.brief-list span,
.process-grid span,
time {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

h1 span {
  display: block;
}

.hero-lead,
.section-heading p {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
}

.button.primary {
  color: var(--accent);
  background: transparent;
  border-color: rgba(142, 245, 223, 0.44);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.command-panel,
.product-card,
.insight-card,
.process-grid article,
.contact-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.product-card,
.insight-card,
.process-grid article {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 420ms ease, border-color 180ms ease;
}

.product-card.is-visible,
.insight-card.is-visible,
.process-grid article.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.command-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
  padding: 22px;
  overflow: hidden;
  position: relative;
}

.command-panel::after {
  content: "";
  position: absolute;
  inset: auto -20% -38% 8%;
  height: 220px;
  border: 1px solid rgba(142, 245, 223, 0.22);
  transform: rotate(-8deg);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.panel-top strong {
  padding: 8px 10px;
  color: var(--accent-2);
  border: 1px solid rgba(215, 255, 98, 0.24);
  border-radius: var(--radius);
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.panel-poem {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 24px 0;
}

.panel-poem span {
  display: block;
  font-family: "Geist", sans-serif;
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.75s ease;
  line-height: 1.7;
  text-transform: lowercase;
  text-align: center;
}

.signal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.signal-grid div {
  padding: 18px;
  background: rgba(7, 9, 11, 0.72);
}

.signal-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 17px;
  font-weight: 600;
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 72px;
  border: 1px solid var(--line);
  background: var(--line);
}

.strip div {
  padding: 22px;
  background: rgba(10, 13, 16, 0.86);
}

.metric {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-2);
  font-size: 16px;
}

.strip p {
  margin: 0;
  color: var(--muted);
}

.section-block {
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 0.68fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.section-heading p:not(.system-line) {
  margin-bottom: 0;
  font-size: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.dream-card {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 48px;
  min-height: auto;
  padding: 32px 36px;
}

.dream-card .card-index {
  position: static;
  flex-shrink: 0;
  font-size: 72px;
  color: rgba(244, 247, 245, 0.08);
  align-self: center;
  line-height: 1;
}

.dream-card .card-head {
  flex: 0 0 260px;
}

.dream-card .card-head .card-label {
  padding-right: 0;
  margin-bottom: 6px;
}

.dream-card .card-head h3 {
  font-size: clamp(26px, 2.8vw, 40px);
}

.dream-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dream-body p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 15px;
}

.dream-body ul {
  margin: 4px 0 20px;
  padding: 0;
  list-style: none;
  color: var(--text);
}

.dream-body a {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  align-self: flex-start;
}

.product-card {
  position: relative;
  min-height: 440px;
  padding: 28px;
  overflow: hidden;
}

.product-card::after {
  content: attr(data-ghost);
}

.product-card .card-index {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(244, 247, 245, 0.14);
  font: 700 58px "Space Grotesk", sans-serif;
  line-height: 1;
}

/* prevent label text from flowing under the absolute number */
.product-card .card-label {
  display: block;
  padding-right: 64px;
}

.product-card h3,
.insight-card h3,
.process-grid h3,
.contact-band h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.product-card p,
.insight-card p,
.process-grid p,
.contact-band p {
  color: var(--muted);
  line-height: 1.65;
}

.product-card ul {
  margin: 30px 0;
  padding: 0;
  list-style: none;
  color: var(--text);
}

.product-card li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.product-card a {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.primary-card {
  background:
    linear-gradient(135deg, rgba(142, 245, 223, 0.16), transparent 42%),
    var(--panel-strong);
}

.analytics-layout {
  display: block;
}

.insight-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.insight-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  gap: 16px;
  padding: 24px 28px;
  transition: 180ms ease;
  background: rgba(10, 13, 16, 0.9);
  box-shadow: none;
}

.insight-card:hover,
.insight-card:focus-visible {
  border-color: rgba(142, 245, 223, 0.46);
  transform: translateY(-2px);
}

.insight-card h3 {
  margin-bottom: 8px;
  font-size: clamp(14px, 1.35vw, 18px);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.insight-card p {
  margin-bottom: 0;
}

.insight-card time {
  display: block;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.insight-card > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.card-number {
  display: inline-block;
  margin-top: 0;
  color: rgba(244, 247, 245, 0.18);
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  flex-shrink: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.process-grid article {
  min-height: 260px;
  padding: 24px;
}

.process-grid h3 {
  margin-top: 44px;
  font-size: 28px;
}

.collab-closing {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.contact-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-top: 14px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(142, 245, 223, 0.12), rgba(215, 255, 98, 0.05));
}

.contact-band h3 {
  margin-bottom: 8px;
  font-size: clamp(30px, 4vw, 48px);
}

.contact-band p {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 52px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-terms {
  color: rgba(156, 168, 167, 0.55);
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.footer-terms:hover {
  color: var(--accent);
}

.article-shell {
  padding: clamp(42px, 7vw, 92px) 0 90px;
}

.back-link {
  position: fixed;
  bottom: 28px;
  left: 24px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(244, 247, 245, 0.1);
  background: rgba(9, 11, 13, 0.52);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: rgba(244, 247, 245, 0.38);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  color: rgba(244, 247, 245, 0.75);
  border-color: rgba(244, 247, 245, 0.2);
  background: rgba(9, 11, 13, 0.72);
}

@media (max-width: 620px) {
  .back-link {
    left: auto;
    right: 24px;
  }
}

.work-article {
  max-width: 920px;
  padding: clamp(24px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 13, 16, 0.88);
  box-shadow: var(--shadow);
}

.work-article h1 {
  max-width: 100%;
  margin-bottom: 18px;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 0.9;
}

.work-article h2 {
  margin: 48px 0 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.work-article p {
  max-width: 760px;
  color: rgba(244, 247, 245, 0.82);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.72;
}

.work-article .lead,
.work-article .article-highlight {
  max-width: 820px;
  color: var(--text);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.45;
}

.work-article .article-highlight {
  padding: 22px;
  border: 1px solid rgba(142, 245, 223, 0.25);
  border-radius: var(--radius);
  background: rgba(142, 245, 223, 0.06);
}

.work-article .article-date {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: var(--accent-2);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.work-article .thin {
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 247, 245, 0.45);
}

.work-article .article-copyright {
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.work-article .article-copyright p {
  margin-bottom: 8px;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .site-header {
    align-items: center;
    gap: 12px;
    padding: 14px;
    width: 100vw;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 45;
    background: rgba(7, 9, 11, 0.92);
  }

  .site-nav {
    position: fixed;
    inset: 74px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(7, 9, 11, 0.94);
    box-shadow: var(--shadow);
  }

  body.menu-open .site-nav {
    display: flex;
  }

  .hero,
  .section-heading,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-copy {
    min-width: 0;
    max-width: calc(100vw - 28px);
  }

  h1,
  .hero-lead,
  .hero .system-line {
    max-width: calc(100vw - 28px);
  }

  .command-panel {
    width: 100%;
    min-width: 0;
    min-height: 320px;
  }

  .panel-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .strip,
  .product-grid,
  .insight-list,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .dream-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .dream-card .card-index {
    font-size: 48px;
  }

  .dream-card .card-head {
    flex: none;
  }
}

@media (max-width: 620px) {
  .section-shell {
    width: calc(100% - 28px);
  }

  h1 {
    font-size: clamp(48px, 16vw, 72px);
    letter-spacing: -0.065em;
  }

  .hero-lead,
  .section-heading p {
    font-size: 16px;
  }

  .brand {
    gap: 9px;
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .section-block {
    padding: 58px 0;
  }

  .insight-card {
    min-height: auto;
  }

  .contact-band {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer {
    flex-direction: column;
  }
}

/* ============================================
   ENHANCEMENTS
   ============================================ */

/* --- Buttons --- */
.button {
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: rgba(142, 245, 223, 0.08);
  border-color: var(--accent);
  box-shadow: 0 0 32px rgba(142, 245, 223, 0.24), inset 0 0 14px rgba(142, 245, 223, 0.04);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

/* --- Product card hover --- */
.product-card {
  transition: opacity 420ms ease, transform 240ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card.is-visible:hover {
  border-color: rgba(142, 245, 223, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.52), 0 0 32px rgba(142, 245, 223, 0.06);
}

/* --- Hero ambient glow --- */
.hero::before {
  content: "";
  position: absolute;
  top: -15%;
  right: -8%;
  width: 52%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(142, 245, 223, 0.06) 0%, transparent 70%);
  animation: hero-glow 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* --- Command panel scanline --- */
.command-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(142, 245, 223, 0.55) 50%, transparent 100%);
  animation: scanline 6s linear infinite;
  z-index: 2;
}

/* --- Hero entrance animations --- */
.hero h1 span:nth-child(1) { animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 0.05s; }
.hero h1 span:nth-child(2) { animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 0.18s; }
.hero h1 span:nth-child(3) { animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 0.31s; }
.hero-lead                  { animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 0.44s; }
.hero-actions               { animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 0.56s; }
.command-panel              { animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 0.2s; }

/* --- Footer terminal status --- */
.footer-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-dot {
  width: 5px;
  height: 5px;
  background: var(--accent-2);
  border-radius: 50%;
  flex-shrink: 0;
  animation: blink-dot 2.4s ease-in-out infinite;
}

/* ============================================
   KEYFRAMES
   ============================================ */

@keyframes grid-breathe {
  0%, 100% { opacity: 0.55; }
  50%       { opacity: 1; }
}

@keyframes hero-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.14); }
}

@keyframes scanline {
  0%   { top: 0;    opacity: 0; }
  4%   { opacity: 1; }
  93%  { opacity: 0.5; }
  100% { top: 100%; opacity: 0; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes blink-dot {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.1; }
}

/* ============================================
   MY WORD OVERLAY
   ============================================ */

/* Dropdown wrapper */
.nav-sysinfo-wrap {
  position: relative;
}

.nav-sysinfo-chevron {
  display: inline-block;
  margin-left: 3px;
  font-style: normal;
  transition: transform 180ms ease;
}

.nav-sysinfo-wrap.is-open .nav-sysinfo-chevron {
  transform: rotate(90deg);
}

.nav-sysinfo-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 172px;
  background: rgba(9, 11, 13, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 150ms ease, transform 150ms ease;
  z-index: 50;
}

.nav-sysinfo-wrap.is-open .nav-sysinfo-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-sysinfo-dropdown a {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 14px;
  border-radius: 3px;
  transition: 120ms ease;
  color: rgba(244, 247, 245, 0.6);
}

.nav-sysinfo-dropdown a:first-child {
  color: var(--accent-2);
}

.nav-sysinfo-dropdown a:hover {
  background: rgba(244, 247, 245, 0.05);
  color: var(--text);
}

.nav-sysinfo-dropdown a:first-child:hover {
  background: rgba(215, 255, 98, 0.07);
  color: var(--accent-2);
}

.nav-myworld,
.nav-sysinfo {
  border: 1px solid rgba(215, 255, 98, 0.32);
  border-radius: var(--radius);
  padding: 11px 14px;
  background: transparent;
  color: var(--accent-2);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 180ms ease;
  text-decoration: none;
  display: inline-block;
}

.nav-myworld:hover,
.nav-myworld:focus-visible,
.nav-sysinfo:hover,
.nav-sysinfo:focus-visible {
  background: rgba(215, 255, 98, 0.07);
  border-color: var(--accent-2);
}

.myworld-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow-y: auto;
  background: rgba(7, 9, 11, 0.97);
  backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.myworld-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.myworld-topbar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 11, 0.92);
  backdrop-filter: blur(16px);
}

.myworld-topbar-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.myworld-close {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 14px;
  background: transparent;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 180ms ease;
  flex-shrink: 0;
}

.myworld-close:hover,
.myworld-close:focus-visible {
  border-color: rgba(244, 247, 245, 0.3);
  color: var(--text);
}

.myworld-body {
  display: flex;
  justify-content: center;
  padding: clamp(40px, 5vw, 72px) clamp(18px, 4vw, 52px) clamp(72px, 9vw, 120px);
}

/* Strip box styling + typography overrides inside overlay */
.myworld-overlay .work-article {
  max-width: 680px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.myworld-overlay .work-article h1 {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 0.95;
  margin-bottom: 24px;
}

/* h2 as minimal label — terminal style */
.myworld-overlay .work-article h2 {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 44px 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  line-height: 1.8;
}

.myworld-overlay .work-article p {
  max-width: 100%;
  font-size: 15px;
  line-height: 1.82;
  color: rgba(244, 247, 245, 0.7);
}

.myworld-overlay .work-article .article-highlight,
.myworld-overlay .work-article .lead {
  max-width: 100%;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.75;
}

.myworld-overlay .work-article .thin {
  font-size: clamp(17px, 2vw, 24px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 247, 245, 0.38);
}

.myworld-protiutok {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.myworld-list {
  margin: 8px 0 32px;
  padding: 0 0 0 22px;
  list-style: none;
  border-left: 2px solid rgba(215, 255, 98, 0.28);
}

.myworld-list li {
  position: relative;
  padding: 9px 0;
  color: rgba(244, 247, 245, 0.65);
  font-size: 14px;
  line-height: 1.7;
  border-bottom: 1px solid var(--line);
}

.myworld-list li:last-child {
  border-bottom: none;
}

/* Diagnosis quote — formal monospace style */
/* Diagnosis block — white card, black text */
.myworld-overlay .diagnosis {
  background: #ffffff;
  border: 1.5px solid #ffffff;
  border-radius: 6px;
  padding: 20px 22px;
  margin: 8px 0 24px;
}

.myworld-overlay .diagnosis .diagnosis-lead {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: #0d0d0d;
  margin-bottom: 14px;
  padding-bottom: 0;
  border: none;
  max-width: 100%;
}

.myworld-overlay .diagnosis .diagnosis-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.myworld-overlay .diagnosis .diagnosis-list li {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  line-height: 1.6;
  color: #1a1a1a;
  padding-left: 14px;
  position: relative;
  border: none;
}

.myworld-overlay .diagnosis .diagnosis-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #888;
}

.myworld-overlay .diagnosis .diagnosis-body {
  font-family: "Geist", sans-serif;
  font-size: 11px;
  line-height: 1.78;
  color: #2a2a2a;
  margin-bottom: 10px;
  max-width: 100%;
  border: none;
}

.myworld-overlay .diagnosis .diagnosis-body:last-child {
  margin-bottom: 0;
}

.myworld-sign {
  display: block;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.contact-form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form-row label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form-row input,
.contact-form-row textarea {
  background: rgba(244, 247, 245, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: Geist, system-ui, sans-serif;
  font-size: 14px;
  color: var(--text);
  outline: none;
  resize: vertical;
  transition: border-color 180ms ease, background 180ms ease;
  width: 100%;
}

.contact-form-row input::placeholder,
.contact-form-row textarea::placeholder {
  color: rgba(156, 168, 167, 0.45);
}

.contact-form-row input:focus,
.contact-form-row textarea:focus {
  border-color: rgba(142, 245, 223, 0.35);
  background: rgba(142, 245, 223, 0.04);
}

.contact-form-row textarea {
  min-height: 130px;
}

.contact-form-note {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(156, 168, 167, 0.45);
  margin: 0;
}

.contact-form-success {
  display: none;
  padding: 16px 18px;
  border: 1px solid rgba(142, 245, 223, 0.25);
  border-radius: var(--radius);
  background: rgba(142, 245, 223, 0.06);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.contact-form-success.is-visible {
  display: block;
}
