:root {
  --bg: #090b10;
  --bg-alt: #0f1219;
  --bg-raise: #141822;
  --ink: #eef1f6;
  --ink-soft: #8b93a7;
  --ink-faint: #565e70;
  --accent: #56e0bf;
  --accent-dark: #2bb797;
  --accent-soft: rgba(86, 224, 191, 0.12);
  --warm: #ff691f;
  --warm-soft: rgba(255, 105, 31, 0.14);
  --cream: #ffffff;
  --border: rgba(238, 241, 246, 0.12);
  --border-strong: rgba(238, 241, 246, 0.28);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 10px 26px rgba(0, 0, 0, 0.4);
  --glow: 0 0 0 1px rgba(86, 224, 191, 0.4), 0 0 28px rgba(86, 224, 191, 0.18);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  background-image:
    linear-gradient(rgba(238, 241, 246, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 241, 246, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  background-position: center top;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.legal-content { max-width: 72ch; }
.legal-content section { margin-bottom: 2.2rem; }
.legal-content h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin: 0 0 0.7rem; color: var(--ink); }
.legal-content p { color: var(--ink-soft); line-height: 1.7; margin: 0 0 0.8rem; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content a { color: var(--accent); }
.legal-content ul { color: var(--ink-soft); line-height: 1.7; margin: 0 0 0.8rem; padding-left: 1.3rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- layout helpers ---------- */
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 24px; }
.section { padding: 5.5rem 0; }
.section--alt { background: var(--bg-alt); }
.section--accent { background: linear-gradient(135deg, #0d3d35, #0a2e2a); color: var(--cream); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before { content: '//'; color: var(--ink-faint); }
.section--accent .eyebrow { color: var(--accent); }
.title-xl {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  margin: 0;
  letter-spacing: -0.01em;
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
}
.title-xl--sm { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.title-lg {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
}
.lede {
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
}
.section--accent .lede { color: rgba(255,255,255,0.82); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--glow); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #04211c; font-weight: 700; }
.btn-accent:hover { box-shadow: 0 0 0 1px var(--accent), 0 0 32px rgba(86, 224, 191, 0.4); }
.btn-accent:focus-visible { outline-color: var(--accent); }
.btn-outline { background: transparent; color: var(--ink); }
.section--accent .btn-outline { color: var(--cream); border-color: rgba(255,255,255,0.4); }
.btn-ghost {
  background: var(--bg-raise);
  border-color: var(--border);
  color: var(--ink);
}
.btn-warm { background: var(--warm); border-color: var(--warm); color: #2a1204; font-weight: 700; }
.btn-warm:hover { box-shadow: 0 0 0 1px var(--warm), 0 0 32px rgba(255, 105, 31, 0.4); }
.btn-warm:focus-visible { outline-color: var(--warm); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(9, 11, 16, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand .mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  padding: 5px;
  border: 1px solid var(--border-strong);
  background: var(--bg-raise);
}
.brand .name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.86rem;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  transition: background 0.18s ease, color 0.18s ease;
}
.nav-links a:hover { background: var(--bg-raise); color: var(--ink); }
.nav-links a.active { background: var(--accent-soft); color: var(--accent); }
.nav-links a.btn-accent, .nav-links a.btn-accent:hover, .nav-links a.btn-accent.active { color: #04211c; }
.nav-cta { margin-left: 6px; }

.header-right { display: flex; align-items: center; gap: 10px; }
.lang-select-wrap { display: flex; align-items: center; }
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--ink);
  background: var(--bg-raise) url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%238b93a7%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpolyline points=%226 9 12 15 18 9%22/%3E%3C/svg%3E') no-repeat right 10px center;
  background-size: 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 9px 30px 9px 16px;
  cursor: pointer;
}
.lang-select:hover, .lang-select:focus { border-color: var(--accent); }
.lang-select option { background: var(--bg-raise); color: var(--ink); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-raise);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.site-header.nav-open .nav-toggle span { background: transparent; }
.site-header.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); background: var(--ink); }
.site-header.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); background: var(--ink); }

/* ---------- hero ---------- */
.hero {
  padding: 3rem 0 4rem;
}
.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.3rem;
  max-width: 620px;
}
.hero-photo {
  width: 130px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 32px rgba(86, 224, 191, 0.4), 0 0 64px rgba(86, 224, 191, 0.2);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-tags span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-raise);
  border: 1px solid var(--border);
  color: var(--ink-soft);
}

/* ---------- banner (gamescom / status strip) ---------- */
.status-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  flex-wrap: wrap;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0.9rem 1.4rem;
  margin-bottom: 1.6rem;
  background: var(--warm-soft);
  border-top: 1px solid rgba(255, 105, 31,0.3);
  border-bottom: 1px solid rgba(255, 105, 31,0.3);
  color: #ffcda1;
}
.status-banner .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--warm);
  box-shadow: 0 0 10px var(--warm);
  animation: pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
.status-banner a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }

.tile {
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--border-strong); }
.tile h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 0.2rem 0 0.5rem; color: var(--ink); }
.tile p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; }
.tile .icon-badge {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 0.6rem;
  border: 1px solid rgba(86, 224, 191,0.3);
}

/* reveal on scroll */
.reveal { transform: translateY(18px); transition: transform 0.6s ease; }
.reveal.is-visible { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: none; }
}

/* ---------- about page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3.2rem;
  align-items: start;
}
.about-photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: var(--bg-raise);
  box-shadow: var(--shadow), 0 0 45px rgba(86, 224, 191, 0.4), 0 0 90px rgba(86, 224, 191, 0.18);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.about-photo img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.about-photo .mark-xl { position: relative; font-family: var(--font-mono); font-weight: 700; font-size: 4.5rem; color: var(--ink); }
.about-photo .mark-xl span { color: var(--accent); }
.tool-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 1.2rem;
  max-width: 272px;
}
.tool-row .tool-icon {
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  padding: 9px;
}
.tool-row .tool-icon img { width: 100%; height: 100%; object-fit: contain; }
.lead-line {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.4rem;
  line-height: 1.3;
}
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 1.6rem; }
.tag-list span {
  font-family: var(--font-mono);
  font-size: 0.8rem; font-weight: 500; color: var(--accent);
  background: var(--accent-soft); padding: 6px 12px; border-radius: var(--radius-sm);
  border: 1px solid rgba(86, 224, 191,0.25);
}

.mini-timeline { margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.mini-timeline h4 {
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.78rem; color: var(--ink-faint); margin: 0 0 0.9rem;
}
.mini-timeline ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.mini-timeline li { font-size: 0.86rem; color: var(--ink-soft); }
.mini-timeline li strong { color: var(--ink-soft); font-weight: 600; }

/* ---------- work page ---------- */
.project-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.2rem;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  margin-bottom: 1.4rem;
  transition: border-color 0.2s ease;
}
.project-card:hover { border-color: var(--border-strong); }
.project-card.no-media { grid-template-columns: 1fr; }
.project-card .media { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: #000; border: 1px solid var(--border); }
.project-card .media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.project-card .media button.zoomable {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
}
.project-card .media button.zoomable img { transition: transform 0.3s ease; }
.project-card .media button.zoomable:hover img { transform: scale(1.06); }
.project-card .media .logo-badge {
  position: absolute; bottom: 10px; right: 10px; z-index: 2;
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: #000;
  border: 1px solid var(--border-strong);
  overflow: hidden;
  pointer-events: none;
}
.project-card .media .logo-badge img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }

.project-card.video-project { grid-template-columns: 320px 1fr; }
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed.landscape { aspect-ratio: 16 / 9; max-width: 640px; margin-bottom: 1.4rem; }

.video-facade {
  position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0; border: 0; margin: 0; cursor: pointer; background: #000;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: opacity 0.2s ease; }
.video-facade:hover img, .video-facade:focus-visible img { opacity: 1; }
.video-facade-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent);
  box-shadow: var(--glow);
  transition: transform 0.2s ease;
}
.video-facade-play::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-42%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #04211c;
}
.video-facade:hover .video-facade-play, .video-facade:focus-visible .video-facade-play { transform: translate(-50%, -50%) scale(1.08); }
.video-facade:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.project-card .showcase {
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1.4rem;
  background: #000;
}
.project-card .showcase button.zoomable { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.project-card .showcase img { width: 100%; height: auto; display: block; }

.project-card h3 { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 0.6rem; color: var(--ink); }
.project-card p { margin: 0 0 1rem; color: var(--ink-soft); line-height: 1.6; }
.project-links { display: flex; gap: 18px; flex-wrap: wrap; }
.project-links a {
  font-family: var(--font-mono);
  font-weight: 600; font-size: 0.82rem; text-decoration: none;
  color: var(--accent); border-bottom: 1px solid rgba(86, 224, 191,0.4);
  padding-bottom: 2px;
}
.project-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 0.9rem; }
.project-meta span {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-faint); background: var(--bg); border: 1px solid var(--border); padding: 4px 9px; border-radius: 6px;
}

.featured-project {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.6rem;
  align-items: center;
  background: #0a0d12;
  border: 2px solid var(--warm);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 3rem);
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 0 0 1px var(--warm), 0 0 50px rgba(255, 105, 31, 0.28), 0 0 100px rgba(255, 105, 31, 0.12);
}
.featured-project::before {
  content: '';
  position: absolute; inset: -30px;
  background-image: url('/assets/images/eona/bg-blur.jpg');
  background-size: cover;
  background-position: center 40%;
  filter: blur(22px) brightness(0.45) saturate(1.15);
  transform: scale(1.12);
  z-index: 0;
  pointer-events: none;
}
.featured-project::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,13,18,0.88) 40%, rgba(10,13,18,0.55) 75%),
              radial-gradient(circle at 95% 100%, rgba(255, 105, 31,0.18), transparent 45%);
  z-index: 1;
  pointer-events: none;
}
.featured-project > * { position: relative; z-index: 2; }
.featured-project h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 0.9rem; color: var(--ink); }
.featured-project p { color: var(--ink-soft); line-height: 1.65; max-width: 52ch; margin: 0 0 1.4rem; }
.featured-project .media {
  border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border);
  aspect-ratio: 17/9; background: #000;
}
.featured-project .media img { width: 100%; height: 100%; object-fit: cover; }

.art-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.art-card {
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.art-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.art-card .thumb { aspect-ratio: 1; overflow: hidden; background: #000; }
.art-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.art-card:hover .thumb img { transform: scale(1.06); }
.art-card .info { padding: 1rem 1.1rem 1.2rem; }
.art-card h3 { font-family: var(--font-display); font-size: 1rem; margin: 0 0 0.4rem; line-height: 1.3; }
.art-card p { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; margin: 0; }
.art-card .ext { font-family: var(--font-mono); font-size: 0.76rem; color: var(--accent); }
.art-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: 0.7rem; }
.art-card-foot .date { font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-faint); white-space: nowrap; }

.placeholder-card {
  border-style: dashed;
  border-color: var(--border-strong);
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem;
}
.placeholder-card .flag {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--warm); background: var(--warm-soft); border: 1px solid rgba(255, 105, 31,0.35);
  padding: 4px 10px; border-radius: 6px;
}

.creation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.creation-grid button {
  padding: 0; border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; cursor: zoom-in; background: #000;
  aspect-ratio: 1;
}
.creation-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.creation-grid button:hover img { transform: scale(1.08); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(4, 5, 8, 0.94);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(90vw, 1000px); max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  border: 1px solid var(--border);
}
.lightbox-close {
  position: absolute; top: 24px; right: 28px;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--bg-raise); border: 1px solid var(--border-strong); color: var(--ink);
  font-size: 1.2rem; cursor: pointer;
}

/* ---------- EONA page ---------- */
.eona-hero {
  padding: 3.4rem 0 3rem;
  position: relative;
}
.eona-hero-inner {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #0a0d12;
  padding: clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.eona-hero-inner::before {
  content: '';
  position: absolute; inset: -30px;
  background-image: url('/assets/images/eona/bg-blur.jpg');
  background-size: cover;
  background-position: center 40%;
  filter: blur(22px) brightness(0.45) saturate(1.15);
  transform: scale(1.12);
  z-index: 0;
}
.eona-hero-inner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,13,18,0.9) 35%, rgba(10,13,18,0.5) 70%),
              radial-gradient(circle at 90% 100%, rgba(255, 105, 31,0.16), transparent 45%);
  z-index: 1;
  pointer-events: none;
}
.eona-hero-inner > * { position: relative; z-index: 2; }
.eona-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
}
.eona-hero-visual img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.eona-tagline {
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 1.2rem 0 0;
  line-height: 1.5;
}
.eona-stats { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; margin-top: 2.4rem; }
.eona-stats div { display: flex; flex-direction: column; gap: 0.2rem; }
.eona-stats .num { font-family: var(--font-mono); font-weight: 700; font-size: 1.3rem; color: var(--accent); }
.eona-stats .lbl { font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); }
.eona-stats .hl {
  background: var(--warm-soft);
  border: 1px solid rgba(255, 105, 31, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  box-shadow: 0 0 24px rgba(255, 105, 31, 0.2);
}
.eona-stats .hl .num { color: var(--warm); }
.eona-stats .hl .lbl { color: #ffcda1; }
.eona-stats-secondary {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem;
}
.eona-stats-secondary span {
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.eona-stats-secondary span:not(:last-child)::after {
  content: '·'; margin-left: 1rem; color: var(--ink-faint);
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.shot-grid button {
  padding: 0; border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; cursor: zoom-in; background: #000; aspect-ratio: 16/9;
}
.shot-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.shot-grid button:hover img { transform: scale(1.06); }

.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.press-feed {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-raise);
  overflow: hidden;
}
.press-feed-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
}
.press-feed-item:last-child { border-bottom: none; }
.press-feed-item:hover { background: var(--bg); }
.press-feed-item .logo {
  width: 28px; height: 28px; border-radius: 6px;
  background: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.press-feed-item .logo img { width: 70%; height: 70%; object-fit: contain; }
.press-feed-item .src {
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--accent); flex-shrink: 0; width: 128px;
}
.press-feed-item .headline { flex: 1; font-size: 0.85rem; line-height: 1.4; color: var(--ink-soft); min-width: 0; }
.press-feed-item .date {
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-faint); flex-shrink: 0; white-space: nowrap;
}
.press-feed-item .views {
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); border-radius: 6px; padding: 3px 8px; flex-shrink: 0; white-space: nowrap;
}

.role-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.role-list li { display: flex; gap: 0.9rem; align-items: flex-start; font-size: 0.96rem; color: var(--ink-soft); line-height: 1.55; }
.role-list li::before { content: '▸'; color: var(--accent); flex-shrink: 0; font-family: var(--font-mono); }
.role-list strong { color: var(--ink); }

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.contact-media {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-raise);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.contact-media img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.contact-media .mark-xl { position: relative; font-family: var(--font-mono); font-weight: 700; font-size: 4.2rem; color: var(--ink); }
.contact-media .mark-xl span { color: var(--accent); }
.contact-links { display: flex; flex-direction: column; gap: 12px; }
.contact-links a {
  display: flex; align-items: center;
  padding: 1.05rem 1.4rem;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.contact-links a:hover { transform: translateX(4px); border-color: var(--accent); color: var(--accent); }
.contact-direct {
  margin-top: 2rem;
  display: flex; gap: 24px; flex-wrap: wrap;
  font-weight: 600;
}
.contact-direct a { text-decoration: none; border-bottom: 1px solid var(--accent); color: var(--accent); font-family: var(--font-mono); font-size: 0.92rem; }

/* ---------- link list (contact hub) ---------- */
.link-list { display: flex; flex-direction: column; gap: 12px; max-width: 480px; }
.link-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-left: 3px solid var(--row-accent, var(--accent));
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.4rem;
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.link-row:hover { transform: translateX(4px); border-color: var(--row-accent, var(--accent)); }
.link-icon { flex-shrink: 0; width: 22px; height: 22px; color: var(--row-accent, var(--accent)); }
.link-row--live { background: rgba(255, 105, 31, 0.08); border-color: rgba(255, 105, 31, 0.3); }
.link-row--warm { --row-accent: var(--warm); }
.link-row--blue { --row-accent: #13aff0; }
.link-row--muted { --row-accent: var(--ink-soft); }
.link-row .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--row-accent, var(--accent));
  box-shadow: 0 0 10px var(--row-accent, var(--accent));
  animation: pulse 1.6s ease-in-out infinite;
  margin-left: auto;
}
.link-icon svg { width: 100%; height: 100%; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  color: var(--ink);
  padding: 4rem 0 1.6rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 2.5rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid var(--border);
}
.footer-mark { width: 36px; height: 36px; object-fit: contain; margin-bottom: 0.7rem; opacity: 0.9; }
.footer-brand .name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}
.footer-brand p { color: var(--ink-soft); max-width: 32ch; line-height: 1.6; margin-top: 0.6rem; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-faint); margin: 0 0 1rem;
}
.footer-col a {
  display: block; text-decoration: none; color: var(--ink-soft);
  padding: 6px 0; font-weight: 500;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.6rem; font-size: 0.8rem; color: var(--ink-faint);
  flex-wrap: wrap; gap: 10px;
  font-family: var(--font-mono);
}
.footer-legal-links { display: flex; gap: 14px; }
.footer-legal-links a { color: var(--ink-faint); text-decoration: none; }
.footer-legal-links a:hover { color: var(--accent); }
.footer-credit-badge {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 6px;
  text-decoration: none;
}

/* ---------- CV page ---------- */
.cv-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 2rem 24px 1.5rem; flex-wrap: wrap; gap: 12px;
}
.cv-sheet {
  position: relative;
  max-width: 980px;
  margin: 0 auto 4rem;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 3rem;
  overflow: hidden;
}
.cv-decor { position: absolute; pointer-events: none; }
.cv-decor-grid {
  top: 0; right: 0; width: 220px; height: 220px;
  background-image: linear-gradient(rgba(86, 224, 191,0.18) 1px, transparent 1px), linear-gradient(90deg, rgba(86, 224, 191,0.18) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: radial-gradient(circle at top right, black, transparent 70%);
}
.cv-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 1.4rem;
}
.cv-name span { color: var(--accent); }
.cv-body { position: relative; z-index: 1; }
.cv-top {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.8rem;
  align-items: center;
  margin-bottom: 2.2rem;
}
.cv-photo {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 2.2rem; color: var(--accent);
  overflow: hidden;
}
.cv-photo img { width: 100%; height: 100%; object-fit: cover; }
.cv-intro h2 {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.cv-intro p { margin: 0 0 0.7rem; color: var(--ink-soft); line-height: 1.6; font-size: 0.95rem; }
.cv-intro p.cv-objective { font-weight: 600; color: var(--ink); }

.cv-columns { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
.cv-col h2 {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin: 2rem 0 1rem;
}
.cv-col h2:first-child { margin-top: 0; }
.cv-col h2::before { content: '> '; color: var(--accent); }
.cv-entry { margin-bottom: 1.1rem; }
.cv-entry-title { font-weight: 700; font-size: 0.94rem; margin: 0; color: var(--ink); }
.cv-entry-date {
  font-family: var(--font-mono);
  font-size: 0.76rem; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.cv-entry ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.cv-entry li { font-size: 0.87rem; color: var(--ink-soft); line-height: 1.5; }

.cv-line { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 0.5rem; }
.cv-line strong { color: var(--ink); }

.cv-extra { font-size: 0.82rem; color: var(--ink-faint); line-height: 1.6; margin: 0.4rem 0 0; }

.cv-hobbies { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 0.6rem; }
.cv-hobbies span {
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-soft);
  background: var(--bg); border: 1px solid var(--border); padding: 5px 10px; border-radius: 6px;
}

.cv-skills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 0.6rem; max-width: 200px; }
.cv-skills .tool-icon {
  aspect-ratio: 1; background: #fff; border: 1px solid var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 6px;
}
.cv-skills .tool-icon img { width: 100%; height: 100%; object-fit: contain; }

.cv-footer-bar {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  display: flex; gap: 28px; flex-wrap: wrap; justify-content: center;
  font-family: var(--font-mono); font-weight: 600; font-size: 0.86rem; color: var(--ink-soft);
}

/* ---------- spacing utilities ---------- */
.mt-04 { margin-top: 0.4rem; }
.mt-06 { margin-top: 0.6rem; }
.mt-1 { margin-top: 1rem; }
.mt-14 { margin-top: 1.4rem; }
.mt-16 { margin-top: 1.6rem; }
.mt-26 { margin-top: 2.6rem; }
.mb-04 { margin-bottom: 0.4rem; }
.mb-14 { margin-bottom: 1.4rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-24 { margin-bottom: 2.4rem; }
.mb-3 { margin-bottom: 3rem; }
.pt-35 { padding-top: 3.5rem; }
.pb-2 { padding-bottom: 2rem; }
.max-w-72ch { max-width: 72ch; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 360px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 280px; }
  .project-card { grid-template-columns: 1fr; }
  .project-card .media { max-width: 320px; }
  .project-card.video-project { grid-template-columns: 1fr; }
  .project-card.video-project .video-embed { max-width: 400px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cv-columns { grid-template-columns: 1fr; }
  .cv-top { grid-template-columns: 110px 1fr; }
  .shot-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .press-feed-item { flex-wrap: wrap; }
  .press-feed-item .src { width: auto; }
  .press-feed-item .headline { order: 3; width: 100%; flex-basis: 100%; }
  .featured-project { grid-template-columns: 1fr; }
  .eona-hero-grid { grid-template-columns: 1fr; }
  .eona-hero-visual { max-width: 420px; }
  .art-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px 20px 18px;
    display: none;
  }
  .site-header.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .nav-toggle { display: flex; }
  .nav-cta { margin-left: 0; }
  .creation-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .section { padding: 3.4rem 0; }
  .art-grid { grid-template-columns: repeat(2, 1fr); }
  .status-banner { padding: 1rem 1.6rem; line-height: 1.5; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .creation-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .hero-tags, .hero-actions { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cv-sheet { padding: 2.4rem 1.2rem 1.8rem; }
  .cv-name { font-size: 1.5rem; text-align: center; }
  .cv-top { grid-template-columns: 1fr; text-align: center; }
  .cv-photo { max-width: 140px; margin: 0 auto; }
  .cv-toolbar { justify-content: center; text-align: center; }
  .shot-grid { grid-template-columns: 1fr; }
  .eona-stats { gap: 1.4rem; }
  .status-banner { padding: 1rem 1.2rem; font-size: 0.8rem; }
}

/* Placed last so print always wins regardless of the emulated print viewport width. */
@media print {
  .site-header, .site-footer, .cv-toolbar, .status-banner { display: none !important; }
  body { background: #fff; }
  .cv-sheet {
    box-shadow: none !important; border: none !important; margin: 0 !important; max-width: none !important;
    padding: 0.2cm 0.6cm !important;
    background: #fff !important;
    print-color-adjust: exact; -webkit-print-color-adjust: exact;
  }
  @page { size: A4; margin: 0.9cm; }
  .cv-name, .cv-intro h2, .cv-col h2, .cv-entry-title, .cv-line strong { color: #0a0a0a !important; }
  .cv-intro p, .cv-line, .cv-entry li, .cv-extra { color: #333 !important; }
  .cv-entry-date { color: #2bb797 !important; }
  .cv-decor-grid { display: none; }

  .cv-name { font-size: 1.5rem !important; margin-bottom: 0.6rem !important; }
  .cv-top { grid-template-columns: 100px 1fr !important; gap: 1rem !important; margin-bottom: 1rem !important; }
  .cv-photo { border-color: #ccc !important; }
  .cv-intro h2 { font-size: 0.85rem; margin-bottom: 0.3rem; }
  .cv-intro p { font-size: 0.78rem; line-height: 1.35; margin-bottom: 0.4rem; }

  .cv-columns { grid-template-columns: 1.15fr 0.85fr !important; gap: 1.6rem !important; }
  .cv-col h2 { font-size: 0.8rem; margin: 0.7rem 0 0.4rem; padding-bottom: 4px; border-color: #ddd !important; }
  .cv-col h2:first-child { margin-top: 0; }
  .cv-entry { margin-bottom: 0.4rem; break-inside: avoid; }
  .cv-entry-title { font-size: 0.8rem; }
  .cv-entry-date { font-size: 0.65rem; }
  .cv-entry ul { margin-top: 0.15rem; padding-left: 0.9rem; }
  .cv-entry li { font-size: 0.72rem; line-height: 1.3; }
  .cv-line { font-size: 0.74rem; margin-bottom: 0.25rem; line-height: 1.3; }
  .cv-extra { font-size: 0.66rem; }

  .cv-skills { margin-top: 0.3rem; gap: 6px; max-width: 170px; }
  .cv-hobbies { margin-top: 0.3rem; gap: 8px; }
  .cv-hobbies span { font-size: 0.66rem; border-color: #ddd !important; }

  .cv-footer-bar { margin-top: 0.8rem; padding-top: 0.5rem; font-size: 0.74rem; gap: 20px; color: #333 !important; border-color: #ddd !important; }
}
