/* johnnytight.nl — plain CSS, zero JS */

:root {
  --bg: #000000;
  --fg: #ffffff;
  --muted: #8a8a8a;
  --accent: #39FF14;
  --accent-dim: rgba(57, 255, 20, 0.5);
  --card-bg-a: rgba(255, 255, 255, 0.025);
  --card-bg-b: rgba(255, 255, 255, 0.01);
  --border: rgba(255, 255, 255, 0.08);
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-display: 'Bungee', 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
body { position: relative; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.mono    { font-family: var(--font-mono); }
.display { font-family: var(--font-display); }
.accent  { color: var(--accent); }
.italic  { font-style: italic; color: rgba(255, 255, 255, 0.9); }
.emph    { color: #fff; font-weight: 500; }
::selection { background: var(--accent); color: #000; }

.bolt {
  color: var(--accent);
  filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.55));
}

/* Ambient glows */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  background: var(--accent);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  animation: pulse-slow 12s ease-in-out infinite;
}
.glow-2 { animation-delay: -5s; }
@keyframes pulse-slow {
  0%, 100% { opacity: 0.06; }
  50%      { opacity: 0.12; }
}

.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

/* Nav */
.nav {
  position: relative;
  z-index: 10;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #f0e8d4;
  border: 2px solid rgba(57, 255, 20, 0.3);
}
.nav-wordmark { font-size: 0.875rem; letter-spacing: 0.025em; }
.nav-link {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 180ms ease;
}
.nav-link:hover { color: #fff; }

/* Hero */
.hero {
  position: relative;
  z-index: 10;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-text { text-align: center; }
.hero-logo-wrap {
  display: flex;
  justify-content: center;
  order: -1; /* logo above text on mobile */
}
.hero-logo {
  width: 14rem;
  max-width: 100%;
  filter: drop-shadow(0 20px 60px rgba(255, 210, 130, 0.22));
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(57, 255, 20, 0.25);
  background: rgba(57, 255, 20, 0.05);
  color: var(--accent);
  border-radius: 9999px;
  font-size: 0.75rem;
  margin-bottom: 2rem;
}
.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero-h1 {
  font-size: clamp(2.25rem, 7vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}
.hero-h1-sub { color: rgba(255, 255, 255, 0.9); }
.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 auto 2.5rem;
  max-width: 38rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: box-shadow 180ms ease, transform 180ms ease, background 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover {
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.7);
  transform: translateY(-1px);
}
.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}
.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(57, 255, 20, 0.05);
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.15);
}

.link-underline {
  border-bottom: 1px dashed rgba(57, 255, 20, 0.4);
  transition: color 180ms ease, border-color 180ms ease;
}
.link-underline:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Sections */
.section {
  position: relative;
  z-index: 10;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem 6rem;
}
.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  text-align: center;
}
.section-title {
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  text-align: center;
}
.section-lede {
  font-size: 1.0625rem;
  color: var(--muted);
  margin: 0 0 3rem;
  text-align: center;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.card {
  background: linear-gradient(180deg, var(--card-bg-a) 0%, var(--card-bg-b) 100%);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(57, 255, 20, 0.08);
}
.card-with-johnny { padding-bottom: 11rem; }
.card-icon { font-size: 1.875rem; margin-bottom: 1rem; }
.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.card-body {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.bullet { display: flex; gap: 0.5rem; }
.bullet-arrow { color: var(--accent); flex-shrink: 0; }

/* Contact */
.card-contact {
  padding: 2.5rem 1.5rem;
  text-align: center;
  padding-bottom: 10rem;
}
.contact-body {
  color: var(--muted);
  margin: 0 auto 2rem;
  max-width: 36rem;
  line-height: 1.7;
}

/* Johnny poses */
.johnny {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
}
.johnny-walking  { width: 8rem;  bottom: 0; right: 0; }
.johnny-sitting  { width: 10rem; bottom: 0; right: 0; }
.johnny-thumbsup { width: 7rem;  bottom: 0; right: 1rem; }
.johnny-badge {
  position: absolute;
  width: 70px;
  top: 1.25rem;
  right: 1.25rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  pointer-events: none;
  display: none;
}

/* Footer */
.footer {
  position: relative;
  z-index: 10;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.footer-right { font-size: 0.75rem; }

/* Splash (zero JS, CSS animation + scroll-unlock via keyframes) */
.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: radial-gradient(ellipse at center, #0a0a0a 0%, #000 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: splash-out 0.7s cubic-bezier(0.65, 0, 0.35, 1) 2s forwards;
}
.splash-logo {
  width: min(90vw, 820px);
  max-height: 85vh;
  filter: drop-shadow(0 20px 80px rgba(57, 255, 20, 0.18));
  animation: splash-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes splash-in {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes splash-out {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

body.splashing {
  animation: unlock-scroll 2.7s steps(1) forwards;
  overflow: hidden;
}
@keyframes unlock-scroll {
  from { overflow: hidden; }
  to   { overflow: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .splash, .glow, body.splashing { animation: none; }
  .splash { display: none; }
  body.splashing { overflow: auto; }
}

/* md ≥ 768px */
@media (min-width: 768px) {
  .hero { padding: 4rem 1.5rem 5rem; }
  .cards { grid-template-columns: 1fr 1fr; }
  .section-label, .section-title, .section-lede { text-align: left; }
  .card-with-johnny { padding-bottom: 2rem; padding-right: 11rem; }
  .johnny-sitting { width: 11rem; }
  .johnny-badge   { display: block; }
  .footer-inner   { flex-direction: row; }
}

/* lg ≥ 1024px */
@media (min-width: 1024px) {
  .hero-grid      { grid-template-columns: 1.3fr 1fr; gap: 3rem; }
  .hero-text      { text-align: left; }
  .hero-sub       { margin-left: 0; }
  .hero-ctas      { justify-content: flex-start; }
  .hero-logo-wrap { justify-content: flex-end; order: 1; }
  .hero-logo      { width: 100%; max-width: 28rem; }
  .card-with-johnny { padding-right: 12rem; }
  .johnny-walking   { width: 10rem; }
  .johnny-sitting   { width: 12rem; }
}
