/* ═══════════════════════════════════════════════════════════════
   RAY-L – style.css
   Matthias Demand · 2026
   ray-l.net
   ═══════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  --bg:            #0e0e0e;
  --bg-raised:     #141414;
  --bg-card:       #1a1a1a;
  --border:        #242424;
  --border-light:  #2e2e2e;
  --text:          #e2ddd6;
  --text-muted:    #9a9690;
  --text-dim:      #555;
  --accent:        #b8a888;
  --accent-bright: #d4c4a0;
  --serif:         'Droid Serif', Georgia, serif;
  --sans:          'Fira Sans', sans-serif;
  --mono:          'Fira Mono', monospace;
  --nav-h:         60px;
  --max-w:         1160px;
  --text-w:        760px;
  --radius:        6px;
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(14,14,14,.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.nav__inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--accent-bright);
  white-space: nowrap;
}
.nav__logo span {
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: .1em;
  margin-left: 12px;
  font-weight: 300;
}

/* ─── HAMBURGER ──────────────────────────────────────────────── */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  height: 1px;
  background: var(--text-muted);
  transition: all .25s ease;
}
.nav__hamburger span:first-child  { width: 24px; }
.nav__hamburger span:nth-child(2) { width: 18px; }
.nav__hamburger span:last-child   { width: 24px; }
.nav--open .nav__hamburger span:first-child  { transform: translateY(6px) rotate(45deg); width: 24px; }
.nav--open .nav__hamburger span:nth-child(2) { opacity: 0; }
.nav--open .nav__hamburger span:last-child   { transform: translateY(-6px) rotate(-45deg); width: 24px; }

/* ─── NAV MENU ───────────────────────────────────────────────── */
.nav__menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border-light);
  z-index: 99;
}
.nav--open .nav__menu { display: block; }
.nav__menu__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav__menu a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .08em;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color .2s;
  text-transform: uppercase;
}
.nav__menu a:last-child { border-bottom: none; }
.nav__menu a:hover { color: var(--text); }
.nav__menu a .arrow { color: var(--accent); font-size: 12px; }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('img/virtual-studio.jpg');
  background-size: cover;
  background-position: center;
  opacity: .32;
  filter: blur(2px);
  transform: scale(1.04);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14,14,14,.6) 0%,
    rgba(14,14,14,.3) 40%,
    rgba(14,14,14,.85) 100%
  );
}
.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 40px 100px;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp .6s ease both .1s;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 32px;
  max-width: 820px;
  opacity: 0;
  animation: fadeUp .6s ease both .2s;
}
.hero__title em {
  font-style: italic;
  color: var(--accent-bright);
}
.hero__subtitle {
  font-family: var(--sans);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp .6s ease both .3s;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .6s ease both .4s;
}
.hero__badge {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  color: var(--text-dim);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp .6s ease both .5s;
  margin-top: 24px;
}
.hero__badge span { color: var(--accent); margin-right: 6px; }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  opacity: 0;
  animation: fadeUp .6s ease both .5s;
}
.hero__badge-pill {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 5px 12px;
  color: var(--text-muted);
}
.hero__badge-pill--active {
  background: #1f1c16;
  border-color: var(--accent);
  color: var(--accent-bright);
  font-weight: 500;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all .2s;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--accent);
  color: #0e0e0e;
  font-weight: 500;
}
.btn--primary:hover { background: var(--accent-bright); }
.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}
.btn--ghost:hover { color: var(--text); border-color: var(--accent); }

/* ─── SECTIONS ───────────────────────────────────────────────── */
.section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.section__header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 56px;
}
.section__num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: .12em;
}
.section__title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  letter-spacing: -.01em;
}
.section__line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─── DILEMMA ────────────────────────────────────────────────── */
.dilemma {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 72px;
}
.dilemma__col {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.dilemma__vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: .1em;
  padding-top: 48px;
}
.dilemma__label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .16em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.dilemma__head {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 16px;
}
.dilemma__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dilemma__list li {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
  align-items: baseline;
  line-height: 1.6;
}
.dilemma__list li::before { content: '✓'; color: var(--accent); font-size: 11px; flex-shrink: 0; }
.dilemma__list li.minus::before { content: '✗'; color: var(--text-dim); }
.dilemma__solution {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding: 32px 40px;
  background: var(--bg-raised);
  border: 1px solid var(--border-light);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.dilemma__solution__label {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--accent-bright);
}
.dilemma__solution p {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─── SLIDER ─────────────────────────────────────────────────── */
.slider-wrap { margin-bottom: 48px; }
.slider-wrap:last-child { margin-bottom: 0; }
.img-slider {
  position: relative;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.img-slider__after { display: block; width: 100%; height: auto; pointer-events: none; }
.img-slider__before {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  pointer-events: none;
}
.img-slider__before img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  pointer-events: none;
}
.img-slider__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 44px;
  transform: translateX(-50%);
  pointer-events: none;
}
.img-slider__handle::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: rgba(255,255,255,.6);
  transform: translateX(-50%);
}
.img-slider__knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 40px; height: 40px;
  background: rgba(20,20,20,.75);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,.65);
  letter-spacing: 2px;
  pointer-events: none;
}
.img-slider__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}
.img-slider__labels span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ─── STEPS ──────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
}
.step {
  padding: 32px 28px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step__num {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 300;
  color: var(--border-light);
  line-height: 1;
}
.step__title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-bright);
  line-height: 1.3;
}
.step__desc {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── NOTE BOX ───────────────────────────────────────────────── */
.note {
  padding: 32px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
}
.note__label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .16em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.note p {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
}
.note p strong { color: var(--text); font-weight: 400; }

/* ─── FEATURES ───────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature {
  padding: 32px 28px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature__icon {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.feature__title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
}
.feature__desc {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── ROADMAP ────────────────────────────────────────────────── */
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.roadmap__item {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.roadmap__version {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.roadmap__version--current { color: var(--accent-bright); }
.roadmap__title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.roadmap__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.roadmap__list li {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: baseline;
  line-height: 1.5;
}
.roadmap__list li::before { content: '–'; color: var(--accent); opacity: .5; flex-shrink: 0; }

/* ─── ABOUT ──────────────────────────────────────────────────── */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-block__quote {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.65;
  border-left: 2px solid var(--accent);
  padding-left: 28px;
}
.about-block__text p {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-block__text p:last-child { margin-bottom: 0; }
.about-block__who {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: .1em;
  line-height: 2;
  text-transform: uppercase;
  margin-top: 24px;
}
.about-block__who strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 6px;
}

/* ─── CTA BLOCK ──────────────────────────────────────────────── */
.cta-block {
  text-align: center;
  padding: 100px 40px;
  border-top: 1px solid var(--border);
}
.cta-block__eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.cta-block__title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.cta-block__title em { font-style: italic; color: var(--accent-bright); }
.cta-block__sub {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.cta-block__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-block__note {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: .1em;
}
.cta-block__note a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.cta-block__note a:hover { border-color: var(--accent); }

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__logo {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--accent);
}
.footer__links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.footer__links a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--text-dim);
  text-transform: uppercase;
  transition: color .2s;
}
.footer__links a:hover { color: var(--text-muted); }
.footer__copy {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: .06em;
}

/* ─── 404 ────────────────────────────────────────────────────── */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--nav-h) 40px 40px;
}
.error-page__inner {
  text-align: center;
  max-width: 480px;
}
.error-page__code {
  font-family: var(--mono);
  font-size: 80px;
  font-weight: 300;
  color: var(--border-light);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -.04em;
}
.error-page__title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.error-page__text {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 40px;
}

/* ─── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav__inner      { padding: 0 24px; }
  .hero__inner     { padding: 60px 24px 80px; }
  .section__inner  { padding: 0 24px; }
  .cta-block       { padding: 72px 24px; }
  .footer__inner   { padding: 0 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__links   { flex-wrap: wrap; gap: 16px; }
  .dilemma         { grid-template-columns: 1fr; }
  .dilemma__vs     { display: none; }
  .dilemma__solution { grid-template-columns: 1fr; gap: 16px; }
  .steps           { grid-template-columns: 1fr 1fr; }
  .features        { grid-template-columns: 1fr; }
  .roadmap         { grid-template-columns: 1fr; }
  .about-block     { grid-template-columns: 1fr; gap: 40px; }
  .nav__menu__inner { padding: 24px; }
}
@media (max-width: 600px) {
  .steps           { grid-template-columns: 1fr; }
  .hero__actions   { flex-direction: column; align-items: flex-start; }
  .cta-block__actions { flex-direction: column; }
}

/* ─── COOKIE CONSENT BANNER ─────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #141414;
  border-top: 1px solid #2a2a2a;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.5;
  transform: translateY(0);
  transition: transform .3s ease;
}
.cookie-banner--hidden {
  transform: translateY(110%);
}
.cookie-banner__text a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.cookie-banner__text a:hover { border-color: var(--accent); }
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner__accept {
  background: var(--accent);
  color: #0e0e0e;
  border: none;
  border-radius: 4px;
  padding: 8px 18px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  transition: opacity .2s;
}
.cookie-banner__accept:hover { opacity: .85; }
.cookie-banner__decline {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 8px 18px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.cookie-banner__decline:hover { border-color: #444; color: var(--text-muted); }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__accept,
  .cookie-banner__decline { flex: 1; text-align: center; }
}
