/* ==========================================================================
   Jano Gordulič — design tokens
   ========================================================================== */
:root {
  --bg: #0a0e0a;
  --panel: #0e140e;
  --panel-2: #0c120c;
  --border: #1c2a1c;
  --border-dashed: #2e4a2e;
  --text: #d1e7d1;
  --heading: #f0fdf0;
  --text-secondary: #8fae8f;
  --bio-text: #c4dcc4;
  --dim: #5a7a5a;
  --accent: #4ade80;
  --accent-hover: #bbf7d0;
  --logo-chip: #eef4ee;

  --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  --wrap: 1140px;
  --pad-x: 40px;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  background:
    radial-gradient(900px 480px at 85% -5%, rgba(74, 222, 128, 0.05), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible { color: var(--accent-hover); text-decoration: underline; }

button {
  font-family: inherit;
  border-radius: 0;
}

img { max-width: 100%; }

.mono-line { font-family: var(--font-mono); font-size: 13px; }
.mono-line.accent { color: var(--accent); }
.mono-line.dim { color: var(--dim); }

@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.cursor { animation: blink 1.1s infinite; }

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px var(--pad-x);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 13px;
  position: sticky;
  top: 0;
  background: rgba(10, 14, 10, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
}

.prompt-accent { color: var(--accent); }

.lang-switch { display: flex; gap: 4px; }

.lang-btn {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 4px 10px;
  cursor: pointer;
  background: transparent;
  color: var(--dim);
  border: 1px solid var(--border-dashed);
}

.lang-btn.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

/* ==========================================================================
   Hero — terminal window
   ========================================================================== */
.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 36px var(--pad-x) 40px;
}

.terminal-card {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8);
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--border);
}

.term-dots { display: flex; gap: 6px; }

.term-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  opacity: 0.75;
}
.term-dots i:nth-child(1) { background: #f87171; }
.term-dots i:nth-child(2) { background: #fbbf24; }
.term-dots i:nth-child(3) { background: #4ade80; }

.term-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}

.term-body {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px 38px 34px;
  min-width: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 5.4vw, 62px);
  line-height: 0.98;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.02em;
}

.hero-sub {
  margin: 0;
  font-size: 20px;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-chips {
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stat-chips li {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  border: 1px solid var(--border-dashed);
  padding: 5px 10px;
  white-space: nowrap;
}

.slider-box {
  border: 1px dashed var(--border-dashed);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.tone-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: #162416;
  border: 1px solid var(--border-dashed);
  outline: none;
  margin: 0;
}
.tone-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--accent);
  cursor: pointer;
  border: none;
}
.tone-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--accent);
  cursor: pointer;
  border: none;
  border-radius: 0;
}
.tone-range::-moz-range-track {
  height: 6px;
  background: #162416;
  border: 1px solid var(--border-dashed);
}

.tone-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  gap: 8px;
}

.tone-label {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--dim);
  font-weight: 400;
  font-family: var(--font-mono);
  font-size: 12px;
}

.tone-label.active {
  color: var(--accent);
  font-weight: 700;
}

.hero-right {
  position: relative;
  border-left: 1px solid var(--border);
  min-height: 400px;
}

.hero-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 12%;
  display: block;
}

.status-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--bg);
  border: 1px solid var(--border-dashed);
  font-size: 11px;
  color: var(--accent);
  padding: 6px 10px;
}

/* ==========================================================================
   Bio — skimmable two-column
   ========================================================================== */
.bio {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8px var(--pad-x) 44px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
}

.bio-grid p {
  margin: 0;
  font-size: 16px;
  line-height: 1.62;
  color: var(--bio-text);
  border-left: 2px solid var(--border-dashed);
  padding-left: 16px;
}

.bio-callout {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--heading);
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
}

.bio-extras {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
  align-items: start;
}

.skills-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px dashed var(--border-dashed);
  padding: 18px 20px;
}

.skills-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.skills-list li {
  font-size: 15px;
  line-height: 1.45;
  color: var(--bio-text);
  padding-left: 20px;
  position: relative;
}

.skills-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.lang-box {
  border: 1px dashed var(--border-dashed);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lang-box p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--bio-text);
}

/* ==========================================================================
   Section headers
   ========================================================================== */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-size: 26px;
  color: var(--heading);
  font-weight: 700;
}

/* ==========================================================================
   Showky
   ========================================================================== */
.shows {
  border-top: 1px solid var(--border);
  padding: 44px var(--pad-x);
  max-width: var(--wrap);
  margin: 0 auto;
}

.shows-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.show-card {
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.show-card h3 {
  margin: 0;
  font-size: 20px;
  color: var(--heading);
}

.show-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================================================
   Stage gallery — compact mosaic
   ========================================================================== */
.stage {
  border-top: 1px solid var(--border);
  padding: 44px var(--pad-x);
  max-width: var(--wrap);
  margin: 0 auto;
}

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

.gallery-item {
  margin: 0;
  position: relative;
  border: 1px solid var(--border);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-wide img {
  aspect-ratio: auto;
  position: absolute;
  inset: 0;
}

.photo-credit {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--bg);
  border: 1px solid var(--border-dashed);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dim);
  padding: 4px 8px;
}

/* ==========================================================================
   Klienti — slim strip
   ========================================================================== */
.clients {
  border-top: 1px solid var(--border);
  padding: 44px var(--pad-x);
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.client-logo {
  background: var(--logo-chip);
  border: 1px solid var(--border);
  padding: 12px 18px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  max-width: 100%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.event-box {
  border: 1px dashed var(--border-dashed);
  padding: 14px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 18px;
  text-align: center;
}

.event-name {
  margin: 0;
  font-size: 17px;
  color: var(--heading);
  font-weight: 700;
}

.event-years {
  color: var(--dim);
  font-weight: 400;
  font-family: var(--font-mono);
  font-size: 13px;
}

.event-stat {
  margin: 0;
  font-size: 20px;
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-mono);
}

/* ==========================================================================
   Contact / CTA
   ========================================================================== */
.contact {
  border-top: 1px solid var(--border);
  padding: 52px var(--pad-x) 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.contact h2 {
  margin: 0;
  font-size: 34px;
  color: var(--heading);
  font-weight: 700;
  max-width: 24ch;
  line-height: 1.15;
}

.contact-box {
  border: 1px dashed var(--border-dashed);
  padding: 22px 36px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
}

.contact-lead { color: var(--text-secondary); }

.contact-name {
  color: var(--heading);
  font-weight: 700;
  font-size: 19px;
}

.contact-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 15px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer disclaimer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 20px var(--pad-x) 26px;
  text-align: center;
}

.footer p {
  margin: 0;
  line-height: 1.8;
}

/* ==========================================================================
   Text fade on tone/lang change
   ========================================================================== */
.fade-target { transition: opacity 0.18s ease; }
.fade-out { opacity: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  :root { --pad-x: 20px; }

  .hero { padding: 20px var(--pad-x) 28px; }

  .term-body { grid-template-columns: 1fr; }

  .hero-right {
    order: -1;
    border-left: none;
    border-bottom: 1px solid var(--border);
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .hero-right img { position: absolute; }

  .hero-left { padding: 24px 22px 26px; gap: 16px; }
  .hero-sub { font-size: 17px; }

  .bio { padding: 4px var(--pad-x) 36px; gap: 16px; }
  .bio-grid { grid-template-columns: 1fr; gap: 14px; }
  .bio-extras { grid-template-columns: 1fr; gap: 14px; }

  .shows { padding: 36px var(--pad-x); }
  .shows-grid { grid-template-columns: 1fr; gap: 12px; }

  .stage { padding: 36px var(--pad-x); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery-wide { grid-column: span 2; grid-row: span 1; }
  .gallery-wide img { position: static; aspect-ratio: 16 / 9; }

  .clients { padding: 36px var(--pad-x); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }

  .contact { padding: 44px var(--pad-x) 52px; }
  .contact h2 { font-size: 26px; }
  .contact-box { padding: 20px 22px; width: 100%; }
}

@media (max-width: 480px) {
  .prompt-accent { font-size: 12px; }

  .hero { padding: 14px var(--pad-x) 22px; }
  .hero-left { padding: 20px 16px 22px; }
  .hero h1 { font-size: 38px; }
  .slider-box { padding: 14px 14px; }
  .stat-chips li { font-size: 11px; padding: 4px 8px; }

  .client-logo { height: 60px; padding: 10px 14px; }
  .client-logo img { max-height: 34px; }

  .contact-links { flex-direction: column; gap: 10px; }
  .event-stat { font-size: 18px; }
}
