/*
 * Research Lore — rl-main.css
 * © 2026 Research Lore. All rights reserved.
 * researchlore.com
 */
:root {
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-ui:      'DM Sans', system-ui, -apple-system, sans-serif;
  --ease-out:     cubic-bezier(0.25, 1, 0.5, 1);
  --ease-smooth:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-lux:     cubic-bezier(0.76, 0, 0.24, 1);
  --dur-fast:     0.5s;
  --dur-base:     1.4s;
  --dur-slow:     2.2s;
  --dur-glacial:  3s;
}

html, body { margin: 0; padding: 0; background: #000; color: #f8f6f2; }
*, *::before, *::after { box-sizing: border-box; }
a { color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
img { max-width: 100%; height: auto; }
button { font: inherit; }

* { font-family: var(--font-ui) !important; }

h1, h2, h3, h4,
.rl-hero-clarity, .rl-hero-in, .rl-hero-complexity,
.rl-chapter-word, .rl-manifesto-text,
.rl-footer-brand-name, .rl-follow-headline,
.disclaimer-title {
  font-family: var(--font-display) !important;
}

p, li, a, button, input, span, label,
.rl-chapter-desc, .rl-hero-subtitle,
.rl-nav-link, .rl-lang-item,
.rl-menu-close, .rl-search-close,
.rl-footer-heading, .rl-footer-nav a, .rl-footer-copyright,
.rl-chapter-number, .rl-footnote-text,
.disclaimer-tag, .disclaimer-fine, .disclaimer-text, .disclaimer-accept {
  font-family: var(--font-ui) !important;
}

#rl-cursor, #rl-cursor-ring { display: none !important; }

/* ─── INTRO ─────────────────────────────────────────────── */
#intro-screen {
  position: fixed; inset: 0; z-index: 99999;
  background: #000;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  pointer-events: all; overflow: hidden;
  animation: introAutoHide 0.5s ease-in 3.6s forwards;
}
#intro-screen.intro-hiding {
  animation: introFadeOut 2.8s var(--ease-out) forwards;
  pointer-events: none;
}
@keyframes introFadeOut {
  0%   { opacity: 1; }
  50%  { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}
@keyframes introAutoHide {
  to { opacity: 0; pointer-events: none; visibility: hidden; }
}

.intro-deer {
  width: 280px !important; height: auto !important;
  max-width: none !important; max-height: none !important;
  opacity: 0;
  /* GPU: opacity + transform only */
  animation: deerReveal 2.4s var(--ease-out) 0.4s forwards;
  will-change: opacity, transform;
}
@keyframes deerReveal {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

.intro-line {
  position: absolute; bottom: 0; left: 0;
  height: 2px;
  background: #ffffff;
  width: 0%;
  box-shadow: 0 0 12px rgba(255,255,255,0.4);
  animation: introProgress 3.0s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}
@keyframes introProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ─── DISCLAIMER ─────────────────────────────────────────── */
#disclaimer-overlay {
  position: fixed; inset: 0; z-index: 90000;
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
  will-change: opacity;
}
#disclaimer-overlay.visible { opacity: 1; pointer-events: all; }
#disclaimer-overlay.hiding {
  opacity: 0; pointer-events: none;
  transition: opacity 1s var(--ease-out);
}

.disclaimer-modal {
  width: min(640px, 90vw); max-height: 85vh;
  background: #080808;
  border: 0.5px solid rgba(255,255,255,0.07);
  position: relative; display: flex; flex-direction: column;
  overflow: hidden;
  opacity: 0; transform: translateY(14px);
  transition: opacity var(--dur-base) var(--ease-out) 0.3s,
              transform var(--dur-base) var(--ease-out) 0.3s;
  will-change: opacity, transform;
}
#disclaimer-overlay.visible .disclaimer-modal {
  opacity: 1; transform: translateY(0);
}
.disclaimer-modal::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25) 30%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.25) 70%, transparent);
  opacity: 0.6;
}

.disclaimer-header { padding: 40px 44px 0; flex-shrink: 0; }
.disclaimer-tag {
  font-size: 8px; letter-spacing: 4px; color: #888;
  text-transform: uppercase; margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.disclaimer-tag::before {
  content: ''; width: 24px; height: 0.5px;
  background: linear-gradient(90deg, transparent, #888);
}
.disclaimer-title {
  font-size: clamp(24px, 3vw, 32px); font-weight: 400;
  color: #F8F6F2; line-height: 1.2; margin-bottom: 8px;
}
.disclaimer-title em { font-style: italic; color: #999; }

.disclaimer-body {
  padding: 24px 44px 0;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  flex: 1;
  min-height: 0;
}
.disclaimer-body::-webkit-scrollbar { width: 2px; }
.disclaimer-body::-webkit-scrollbar-track { background: transparent; }
.disclaimer-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); }
.disclaimer-text {
  font-size: 14px; font-weight: 300; line-height: 2; color: #999;
}
.disclaimer-text p + p { margin-top: 18px; }
.disclaimer-text strong { color: #E8E8E8; font-weight: 400; }
.disclaimer-text .disclaimer-highlight {
  border-left: 1px solid rgba(255,255,255,0.15);
  padding-left: 20px; margin: 20px 0;
  color: rgba(255,255,255,0.6); font-style: italic;
}

.disclaimer-footer {
  padding: 28px 44px 36px; flex-shrink: 0;
  border-top: 0.5px solid rgba(255,255,255,0.05);
  margin-top: 24px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.disclaimer-accept {
  font-size: 9px; font-weight: 400; letter-spacing: 5px;
  text-transform: uppercase; color: #F8F6F2;
  background: none; border: 0.5px solid rgba(255,255,255,0.1);
  padding: 16px 44px; cursor: pointer;
  position: relative; overflow: hidden; width: 100%; text-align: center;
  /* GPU: color + border-color sadece renk, transform yok */
  transition: border-color 0.4s ease-in-out,
              color 0.4s ease-in-out;
}
.disclaimer-accept::before {
  content: ''; position: absolute; inset: 0;
  background: #fff; transform: scaleX(0); transform-origin: left;
  transition: transform 0.8s var(--ease-out); z-index: -1;
  will-change: transform;
}
.disclaimer-accept:hover::before { transform: scaleX(1); }
.disclaimer-accept:hover { border-color: #fff; color: #000; }
.disclaimer-fine {
  font-size: 8px; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.18); text-align: center; text-transform: uppercase;
}

@media (max-width: 768px) {
  .disclaimer-header { padding: 28px 24px 0; }
  .disclaimer-body { padding: 20px 24px 0; }
  .disclaimer-footer { padding: 24px 24px 28px; }
  .disclaimer-text { font-size: 13px; line-height: 1.8; }
  .disclaimer-modal { width: 95vw; max-height: 90vh; }
  .disclaimer-title { font-size: 22px; }
  .disclaimer-accept { padding: 14px 20px; font-size: 8px; letter-spacing: 3px; }
}

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.rl-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}
.rl-reveal.rl-visible {
  opacity: 1; transform: translateY(0);
  will-change: auto;
}

/* ─── HERO ───────────────────────────────────────────────── */
#rl-hero-stage {
  position: relative; width: 100%; height: 100vh; min-height: 600px;
  background: #000;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  overflow: hidden; z-index: 1;
}
#rl-hero-stage::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, transparent 40%, rgba(0,0,0,0.45) 100%);
  z-index: 2; pointer-events: none;
}

#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1; opacity: 0;
  will-change: opacity;
}
.hero-animate #hero-canvas {
  animation: canvasAwaken 4s var(--ease-out) 2.8s forwards;
}
@keyframes canvasAwaken { from { opacity: 0; } to { opacity: 1; } }

.rl-hero-content {
  position: relative; z-index: 3; text-align: left;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 0; max-width: 860px; padding: 0 80px;
  pointer-events: none; user-select: none;
}

@keyframes rl-fadeup {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes rl-line-grow {
  from { opacity: 0; height: 0; }
  to   { opacity: 1; height: var(--line-h, 60px); }
}

.rl-hero-accent {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.25));
  margin-bottom: 48px; opacity: 0;
  --line-h: 60px;
  will-change: opacity, height;
}
.hero-animate .rl-hero-accent {
  animation: rl-line-grow var(--dur-slow) var(--ease-out) 0.3s forwards;
}

.rl-hero-h1 {
  margin: 0; padding: 0; border: 0;
  font-size: inherit; font-weight: inherit;
  line-height: inherit; letter-spacing: inherit;
  display: flex; flex-direction: column;
  align-items: inherit; text-align: inherit;
  width: 100%;
}

.rl-hero-clarity {
  font-size: clamp(48px, 10vw, 120px); font-weight: 900;
  line-height: 1.15; color: #f2efe9; letter-spacing: -0.03em;
  opacity: 0; transform: translateY(16px); display: block; margin-bottom: -0.05em;
  will-change: opacity, transform;
}
.hero-animate .rl-hero-clarity {
  animation: rl-fadeup var(--dur-slow) var(--ease-out) 0.8s forwards;
}

.rl-hero-in {
  font-size: clamp(48px, 10vw, 120px); font-weight: 400; font-style: italic;
  line-height: 1.15; color: rgba(244,241,235,0.35); letter-spacing: 0.01em;
  opacity: 0; transform: translateY(16px); display: block; margin-bottom: -0.05em;
  will-change: opacity, transform;
}
.hero-animate .rl-hero-in {
  animation: rl-fadeup var(--dur-slow) var(--ease-out) 1.6s forwards;
}

.rl-hero-complexity {
  font-size: clamp(48px, 10vw, 120px); font-weight: 700; font-style: italic;
  line-height: 1.15; letter-spacing: -0.01em; display: block;
  opacity: 0; transform: translateY(16px); padding-bottom: 0.05em;
  background: linear-gradient(135deg,
    rgba(210,208,204,0.06) 0%, rgba(235,232,226,0.5) 35%,
    rgba(252,250,246,0.78) 50%, rgba(235,232,226,0.5) 65%,
    rgba(210,208,204,0.06) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  will-change: opacity, transform;
}
.hero-animate .rl-hero-complexity {
  animation: rl-fadeup 2.8s var(--ease-out) 2.4s forwards,
             gradientShift 8s ease-in-out 6s infinite alternate;
}
@keyframes gradientShift {
  from { background-position: 0% 0%; } to { background-position: 100% 0%; }
}

.rl-hero-subtitle {
  font-size: clamp(13px, 1.4vw, 15px); font-weight: 300;
  letter-spacing: 0.02em; line-height: 1.8;
  color: rgba(255,255,255,0.45); max-width: 420px; margin-top: 16px;
  opacity: 0; transform: translateY(16px);
  will-change: opacity, transform;
}
.hero-animate .rl-hero-subtitle {
  animation: rl-fadeup var(--dur-slow) var(--ease-out) 3.8s forwards;
}

.rl-hero-line-bottom {
  width: 1px; height: 80px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.15), transparent);
  margin-top: 56px; opacity: 0; --line-h: 80px;
  will-change: opacity, height;
}
.hero-animate .rl-hero-line-bottom {
  animation: rl-line-grow var(--dur-slow) var(--ease-out) 4.4s forwards;
}

.rl-hero-scroll { display: none; }

@media (max-width: 768px) {
  #rl-hero-stage { min-height: 100svh; align-items: center; }
  .rl-hero-content { padding: 0 24px; align-items: center; text-align: center; justify-content: center; max-width: 100%; width: 100%; }
  .rl-hero-clarity, .rl-hero-in, .rl-hero-complexity { font-size: clamp(36px, 11vw, 60px); display: block; width: 100%; text-align: center; }
  .rl-hero-subtitle { font-size: 13px; margin-top: 16px; max-width: 280px; margin-left: auto; margin-right: auto; text-align: center; }
  .rl-hero-accent { height: 32px; margin-bottom: 24px; --line-h: 32px; margin-left: auto; margin-right: auto; }
  .rl-hero-line-bottom { height: 40px; margin-top: 28px; --line-h: 40px; margin-left: auto; margin-right: auto; }
}

/* ─── STORY ──────────────────────────────────────────────── */
.rl-story-section {
  position: relative; background: #f8f6f2; padding: 0; overflow: hidden;
}

.rl-story-section::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 180px; pointer-events: none; z-index: 1;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.03) 60%, rgba(0,0,0,0.08));
}
.rl-story-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.3; pointer-events: none; z-index: 0;
}
.rl-story-spine {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.06) 5%, rgba(0,0,0,0.06) 95%, transparent 100%);
  pointer-events: none; z-index: 0;
}
.rl-chapter {
  position: relative; min-height: 50vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 80px 40px; z-index: 1;
  contain: layout style paint;
}

.rl-chapter-inner {
  max-width: 600px; text-align: center;
  opacity: 0; transform: translateY(36px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}
.rl-chapter-inner.rl-visible {
  opacity: 1; transform: translateY(0);
  will-change: auto;
}

.rl-chapter-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.18));
  margin: 0 auto 40px;
}
.rl-chapter-number {
  font-size: 11px; font-weight: 300; letter-spacing: 0.3em;
  color: rgba(0,0,0,0.3); margin-bottom: 32px;
}
.rl-chapter-word {
  font-size: clamp(36px, 6vw, 64px); font-weight: 400;
  letter-spacing: 0.04em; color: #1a1a1a;
  margin-bottom: 24px; line-height: 1.1;
}
.rl-chapter-desc {
  font-size: clamp(13px, 1.4vw, 15px); font-weight: 300;
  letter-spacing: 0.01em; line-height: 1.9;
  color: rgba(0,0,0,0.5); max-width: 380px; margin: 0 auto;
}
.rl-chapter-line-bottom {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.12), transparent);
  margin: 48px auto 0;
}

.rl-chapter-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 9px; font-weight: 400; letter-spacing: 3.5px;
  text-transform: uppercase; color: rgba(0,0,0,0.4);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(0,0,0,0.12);
  padding-bottom: 5px; margin-top: 4px;
  transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}
.rl-chapter-cta:hover { color: #1a1a1a; border-bottom-color: rgba(0,0,0,0.45); }
.rl-chapter-cta-arrow {
  display: inline-block; font-size: 13px;
  transition: transform 0.3s ease-in-out;
}
.rl-chapter-cta:hover .rl-chapter-cta-arrow { transform: translateX(4px); }

.rl-chapter--left .rl-chapter-inner { margin-right: auto; margin-left: 0; text-align: left; }
.rl-chapter--left .rl-chapter-line,
.rl-chapter--left .rl-chapter-line-bottom,
.rl-chapter--left .rl-chapter-cta { margin-left: 0; }
.rl-chapter--right .rl-chapter-inner { margin-left: auto; margin-right: 0; text-align: right; }
.rl-chapter--right .rl-chapter-line,
.rl-chapter--right .rl-chapter-line-bottom { margin-right: 0; margin-left: auto; }
.rl-chapter--right .rl-chapter-cta { margin-left: auto; margin-right: 0; }

.rl-story-marker {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: 60px 0;
}
.rl-story-marker::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
  .rl-chapter { min-height: auto; padding: 64px 24px; }
  .rl-chapter-inner { max-width: 100%; }
  .rl-chapter--left .rl-chapter-inner,
  .rl-chapter--right .rl-chapter-inner { margin: 0 auto; text-align: center; }
  .rl-chapter--left .rl-chapter-line, .rl-chapter--left .rl-chapter-line-bottom,
  .rl-chapter--right .rl-chapter-line, .rl-chapter--right .rl-chapter-line-bottom { margin: 0 auto; }
  .rl-chapter-word { font-size: clamp(28px, 8vw, 44px); }
  .rl-chapter-desc { font-size: 13px; max-width: 300px; }
  .rl-chapter-line { height: 32px; margin-bottom: 28px; }
  .rl-chapter-line-bottom { height: 32px; margin-top: 32px; }
  .rl-chapter-number { margin-bottom: 20px; }
  .rl-story-marker { padding: 36px 0; }
  .rl-story-spine { display: none; }
}

/* ─── HEADER ─────────────────────────────────────────────── */
.rl-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  max-height: 80px; overflow: hidden;
  transform: translateY(0);
  transition: max-height 2s cubic-bezier(0.16, 1, 0.3, 1),
              background 1.2s var(--ease-smooth),
              border-color 1.2s var(--ease-smooth),
              transform 0.6s var(--ease-out);
  border-bottom: 0.5px solid transparent;
  contain: layout style;
  will-change: transform;
}
.rl-header.rl-header-hidden {
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-lux);
}
.rl-header.rl-header-active {
  max-height: 160px;
  border-bottom-color: rgba(255,255,255,0.04);
}
.rl-header-bar {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: 80px; padding: 0 32px;
}

.rl-header-lang {
  position: absolute; left: 32px; top: 50%;
  transform: translateY(-50%) translateY(-6px);
  display: flex; gap: 16px;
  opacity: 0; pointer-events: all;
  transition: opacity 1.4s var(--ease-out) 0.5s,
              transform 1.4s var(--ease-out) 0.5s;
  will-change: opacity, transform;
}
.rl-header.rl-header-active .rl-header-lang {
  opacity: 1; transform: translateY(-50%) translateY(0);
}
.rl-lang-item {
  font-size: 13px; font-weight: 400; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55); text-decoration: none;
  transition: color 0.3s ease-in-out,
              opacity 0.3s ease-in-out;
  cursor: pointer;
}
.rl-lang-item:hover { color: rgba(255,255,255,0.95); }
.rl-lang-active { color: rgba(255,255,255,0.9); text-decoration: underline; text-underline-offset: 4px; }

.rl-header-logo-link { display: flex; align-items: center; }
.rl-header-logo {
  width: 52px; height: 52px; object-fit: contain;
  transition: opacity 0.3s ease-in-out;
}
.rl-header-logo:hover { opacity: 0.7; }

.rl-header-menu-btn {
  display: none;
  position: absolute; left: 32px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  font-size: 13px; font-weight: 400; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55); cursor: pointer;
  transition: color 0.3s ease-in-out,
              opacity 0.3s ease-in-out;
}
.rl-header-menu-btn:hover { color: #f8f6f2; }

.rl-header-search-btn {
  position: absolute; right: 32px; top: 50%;
  transform: translateY(-50%) translateY(-6px);
  background: none; border: none;
  font-size: 13px; font-weight: 400; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55); cursor: pointer;
  transition: color 0.3s ease-in-out,
              opacity 1.4s var(--ease-out) 0.5s,
              transform 1.4s var(--ease-out) 0.5s;
  opacity: 0; pointer-events: all;
  will-change: opacity, transform;
}
.rl-header.rl-header-active .rl-header-search-btn {
  opacity: 1; transform: translateY(-50%) translateY(0);
}
.rl-header-search-btn:hover { color: #f8f6f2; }

.rl-header-nav { margin-top: 0; border-top: none; }
.rl-nav-items {
  display: flex; justify-content: space-between; gap: 0;
  padding: 12px 32px 26px;
}
.rl-nav-item { flex: 1; text-align: center; }
.rl-nav-link {
  font-size: 16px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: #f8f6f2; cursor: pointer;
  transition: color 0.3s ease-in-out,
              opacity 0.3s ease-in-out,
              letter-spacing 0.8s var(--ease-out);
  position: relative; display: inline-block; padding-bottom: 6px;
}
.rl-nav-link:hover { color: #fff; letter-spacing: 0.17em; }
.rl-nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 0.5px; background: rgba(255,255,255,0.3);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s var(--ease-out);
  will-change: transform;
}
.rl-nav-link:hover::after { transform: scaleX(1); }

/* ─── MENU OVERLAY ───────────────────────────────────────── */
.rl-menu-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: #000;
  display: flex; flex-direction: column;
  clip-path: inset(0 0 100% 0);
  visibility: hidden; pointer-events: none;
  /* kapanış — hızlı ease-out */
  transition: clip-path 1.0s var(--ease-out),
              visibility 0s 1.0s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: clip-path;
}
.rl-menu-overlay.rl-menu-open {
  clip-path: inset(0 0 0% 0);
  visibility: visible; pointer-events: all;
  /* açılış — yavaş başlar, çekmece gibi iner */
  transition: clip-path 1.2s var(--ease-lux),
              visibility 0s 0s;
}
.rl-menu-overlay::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15) 30%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.15) 70%, transparent);
  opacity: 0; transition: opacity 1.2s var(--ease-out) 0.8s; z-index: 1;
}
.rl-menu-overlay.rl-menu-open::before { opacity: 1; }

.rl-menu-content {
  flex: 1; display: flex; align-items: flex-start; justify-content: center;
  padding: 160px 32px 40px;
}
.rl-menu-categories { display: flex; justify-content: space-between; width: 100%; }

/* kolon başlangıçta görünür — maskeleme link bazında yapılacak */
.rl-menu-column {
  flex: 1; text-align: center;
}

.rl-menu-cat-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #fff; margin-bottom: 32px;
  display: none;
}
.rl-menu-column ul { list-style: none; padding: 0; margin: 0; }
.rl-menu-column ul li {
  margin-bottom: 32px; text-align: center;
  /* maskeleme kutusu */
  overflow: hidden;
}

/* linklerin başlangıç pozisyonu — kutunun altında gizli */
.rl-menu-column ul li a,
.rl-menu-li-accordion > .rl-acc-trigger {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.6s ease-in-out,
              color 0.3s ease-in-out;
  will-change: transform, opacity;
}

/* menü açıkken yukarı çekiliyor */
.rl-menu-overlay.rl-menu-open .rl-menu-column ul li a,
.rl-menu-overlay.rl-menu-open .rl-menu-li-accordion > .rl-acc-trigger {
  transform: translateY(0);
  opacity: 1;
}

/* kolon stagger — soldan sağa, 50ms aralık */
.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(1) li:nth-child(1) a,
.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(1) li:nth-child(1) .rl-acc-trigger { transition-delay: 0.70s; }
.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(1) li:nth-child(2) a,
.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(1) li:nth-child(2) .rl-acc-trigger { transition-delay: 0.78s; }
.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(1) li:nth-child(3) a,
.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(1) li:nth-child(3) .rl-acc-trigger { transition-delay: 0.86s; }

.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(2) li:nth-child(1) a,
.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(2) li:nth-child(1) .rl-acc-trigger { transition-delay: 0.80s; }
.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(2) li:nth-child(2) a,
.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(2) li:nth-child(2) .rl-acc-trigger { transition-delay: 0.88s; }
.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(2) li:nth-child(3) a,
.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(2) li:nth-child(3) .rl-acc-trigger { transition-delay: 0.96s; }

.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(3) li:nth-child(1) a,
.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(3) li:nth-child(1) .rl-acc-trigger { transition-delay: 0.90s; }
.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(3) li:nth-child(2) a,
.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(3) li:nth-child(2) .rl-acc-trigger { transition-delay: 0.98s; }
.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(3) li:nth-child(3) a,
.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(3) li:nth-child(3) .rl-acc-trigger { transition-delay: 1.06s; }

.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(4) li:nth-child(1) a,
.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(4) li:nth-child(1) .rl-acc-trigger { transition-delay: 1.00s; }
.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(4) li:nth-child(2) a,
.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(4) li:nth-child(2) .rl-acc-trigger { transition-delay: 1.08s; }
.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(4) li:nth-child(3) a,
.rl-menu-overlay.rl-menu-open .rl-menu-column:nth-child(4) li:nth-child(3) .rl-acc-trigger { transition-delay: 1.16s; }

/* cat title maskeleme */
.rl-menu-column .rl-menu-cat-title {
  overflow: hidden;
}

.rl-menu-column ul li a {
  font-size: 15px; font-weight: 400; color: rgba(255,255,255,0.6);
  text-decoration: none; letter-spacing: 0.01em; cursor: pointer;
}
.rl-menu-column ul li a:hover { color: #fff; }

.rl-menu-li-accordion { position: relative; }
.rl-menu-li-accordion > a { display: none; }
.rl-menu-li-accordion > .rl-acc-trigger {
  display: inline-flex; align-items: center; justify-content: center; gap: 0;
  position: relative;
  font-size: 15px; font-weight: 400; color: rgba(255,255,255,0.6);
  cursor: pointer;
  /* transform ve opacity maskeleme bloğunda tanımlı, burada sadece color */
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.6s ease-in-out,
              color 0.3s ease-in-out;
}
.rl-menu-li-accordion > .rl-acc-trigger:hover { color: #fff; }
.rl-acc-trigger .rl-acc-arrow {
  position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.rl-menu-li-accordion:hover .rl-acc-arrow,
.rl-menu-li-accordion.rl-acc-open .rl-acc-arrow { opacity: 1; }
.rl-acc-arrow svg {
  width: 12px; height: 12px; stroke: currentColor; stroke-width: 1.5; fill: none;
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}
.rl-menu-li-accordion.rl-acc-open .rl-acc-arrow svg { transform: rotate(180deg); }

.rl-acc-sub {
  max-height: 0; overflow: hidden; opacity: 0;
  padding-top: 0;
  display: flex; flex-direction: column; align-items: center;
  transition: max-height 0.7s var(--ease-out),
              opacity 0.4s ease-in-out 0.05s,
              padding-top 0.7s var(--ease-out);
}
.rl-menu-li-accordion.rl-acc-open .rl-acc-sub { max-height: 300px; opacity: 1; padding-top: 14px; }
.rl-acc-sub a {
  display: block; width: 100%; padding: 14px 0; text-align: center;
  font-size: 14px; font-weight: 300;
  color: rgba(255,255,255,0.5) !important; text-decoration: none;
  transition: color 0.3s ease-in-out,
              opacity 0.3s ease-in-out;
  cursor: pointer;
}
.rl-acc-sub a:hover { color: #fff !important; }

.rl-menu-bottom {
  padding: 48px 40px 64px; text-align: center; flex-shrink: 0;
  overflow: hidden;
  will-change: opacity;
}
.rl-menu-bottom .rl-menu-close {
  display: inline-flex; align-items: center; gap: 10px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.20s,
              opacity 0.6s ease-in-out 1.20s,
              color 0.3s ease-in-out;
  will-change: transform, opacity;
}
.rl-menu-overlay.rl-menu-open .rl-menu-bottom .rl-menu-close {
  transform: translateY(0);
  opacity: 1;
}
.rl-menu-close {
  font-size: 12px; font-weight: 400; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5); cursor: pointer;
}
.rl-menu-close::after { content: '✕'; font-size: 13px; margin-left: 10px; }
.rl-menu-close:hover { color: #fff; }

@media (max-width: 768px) {
  .rl-header { max-height: 64px; }
  .rl-header.rl-header-active { max-height: 64px; }
  .rl-header-bar { height: 64px; padding: 0 20px; }
  .rl-header-logo { width: 36px; height: 36px; }

  .rl-header-lang { display: none; }
  .rl-header-menu-btn {
    display: block;
    position: absolute; left: 20px; top: 50%;
    transform: translateY(-50%);
    font-size: 14px; font-weight: 400; letter-spacing: 0.04em;
    color: rgba(255,255,255,0.65);
    opacity: 1; pointer-events: all;
  }

  .rl-header-search-btn {
    right: 20px;
    font-size: 14px; font-weight: 400; letter-spacing: 0.04em;
    color: rgba(255,255,255,0.65);
    opacity: 1 !important;
    transform: translateY(-50%) !important;
    pointer-events: all;
    transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out), color 0.3s ease-in-out !important;
  }

  .rl-header-nav { display: none; }

  .rl-menu-content { padding: 80px 24px 40px; align-items: flex-start; }
  .rl-menu-categories {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .rl-menu-column {
    flex: none;
    width: 100%;
    text-align: center;
  }
  .rl-menu-cat-title {
    display: block;
    font-size: 9px;
    margin-bottom: 16px;
    margin-top: 24px;
    color: rgba(255,255,255,0.45);
  }
  .rl-menu-column:first-child .rl-menu-cat-title { margin-top: 0; }
  .rl-menu-column ul li { margin-bottom: 20px; }
  .rl-menu-column ul li a { font-size: 16px; }
  .rl-menu-bottom { padding: 32px 24px 48px; }
  .rl-menu-close { font-size: 14px; }

  .rl-menu-li-accordion > a { display: none !important; }
  .rl-menu-li-accordion > .rl-acc-trigger {
    font-size: 16px;
    padding: 4px 0;
    justify-content: center;
  }
  .rl-acc-arrow { opacity: 1 !important; }
  .rl-acc-sub { width: 100%; }
  .rl-acc-sub a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    text-align: center;
  }
}

/* ─── SEARCH OVERLAY ─────────────────────────────────────── */
body.rl-search-active .rl-header-nav {
  opacity: 0 !important; pointer-events: none !important; visibility: hidden !important;
}
body.rl-search-active .rl-header { max-height: 80px !important; }

.rl-search-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; flex-direction: column;
  clip-path: inset(0 0 100% 0);
  visibility: hidden; pointer-events: none;
  transition: clip-path 1.0s var(--ease-out),
              visibility 0s 1.0s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: clip-path;
}
.rl-search-overlay.rl-search-open {
  clip-path: inset(0 0 0% 0);
  visibility: visible; pointer-events: all;
  transition: clip-path 1.2s var(--ease-lux),
              visibility 0s 0s;
}

.rl-search-content {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 120px 60px 40px; max-width: 960px; margin: 0 auto; width: 100%;
}
.rl-search-bar {
  display: flex; align-items: center; width: 100%; max-width: 680px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 18px; margin-bottom: 120px; gap: 16px;
  opacity: 0; transform: translateY(12px);
  transition: opacity var(--dur-base) var(--ease-out) 0.5s,
              transform var(--dur-base) var(--ease-out) 0.5s;
  will-change: opacity, transform;
}
.rl-search-open .rl-search-bar { opacity: 1; transform: translateY(0); }
.rl-search-icon { width: 22px; height: 22px; color: rgba(255,255,255,0.55); flex-shrink: 0; }
.rl-search-input {
  flex: 1; background: none; border: none; outline: none;
  font-size: 22px; font-weight: 300; color: #fff; letter-spacing: 0.02em; cursor: pointer;
}
.rl-search-input::placeholder { color: rgba(255,255,255,0.45); }
.rl-search-submit {
  background: #fff; border: none;
  border-radius: 24px; padding: 12px 32px;
  font-size: 14px; font-weight: 500; color: #000; cursor: pointer;
  transition: opacity 0.3s ease-in-out;
}
.rl-search-submit:hover { opacity: 0.8; }

.rl-search-results {
  width: 100%; max-width: 680px;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.5s var(--ease-out),
              opacity 0.4s ease-in-out,
              margin 0.4s var(--ease-out);
}
.rl-search-results.rl-search-results-active {
  max-height: 400px; opacity: 1; margin-bottom: 40px;
}
.rl-search-result-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
  text-decoration: none;
  transition: opacity 0.3s ease-in-out;
  cursor: pointer;
}
.rl-search-result-item:hover { opacity: 0.7; }
.rl-search-result-item:last-child { border-bottom: none; }
.rl-search-result-name {
  font-size: 18px; font-weight: 400; color: #fff;
  letter-spacing: 0.01em;
}
.rl-search-result-cat {
  font-size: 12px; font-weight: 400; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
}

.rl-search-links { display: flex; justify-content: center; gap: 100px; width: 100%; }
.rl-search-col {
  min-width: 160px;
}

/* başlık — yukarıdan iner */
.rl-search-heading {
  font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 28px;
  display: block;
  opacity: 0; transform: translateY(-20px);
  transition: opacity 0.7s ease-in-out,
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.rl-search-open .rl-search-col:nth-child(1) .rl-search-heading { opacity: 1; transform: translateY(0); transition-delay: 0.70s; }
.rl-search-open .rl-search-col:nth-child(2) .rl-search-heading { opacity: 1; transform: translateY(0); transition-delay: 0.90s; }
.rl-search-open .rl-search-col:nth-child(3) .rl-search-heading { opacity: 1; transform: translateY(0); transition-delay: 1.10s; }
.rl-search-open .rl-search-col:nth-child(4) .rl-search-heading { opacity: 1; transform: translateY(0); transition-delay: 1.30s; }

/* linkler — başlıktan biraz geride, aynı yönde iner */
.rl-search-col ul { list-style: none; padding: 0; margin: 0; }
.rl-search-col ul li { margin-bottom: 18px; }
.rl-search-col ul li a {
  font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.6);
  text-decoration: none; cursor: pointer; position: relative;
  display: inline-block;
  opacity: 0; transform: translateY(-16px);
  transition: opacity 0.7s ease-in-out,
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.3s ease-in-out;
  will-change: opacity, transform;
}
.rl-search-col ul li a:hover { color: #fff; }

/* kolon stagger — 200ms aralık, link içi 80ms */
.rl-search-open .rl-search-col:nth-child(1) li:nth-child(1) a { opacity: 1; transform: translateY(0); transition-delay: 0.80s; }
.rl-search-open .rl-search-col:nth-child(1) li:nth-child(2) a { opacity: 1; transform: translateY(0); transition-delay: 0.88s; }
.rl-search-open .rl-search-col:nth-child(1) li:nth-child(3) a { opacity: 1; transform: translateY(0); transition-delay: 0.96s; }

.rl-search-open .rl-search-col:nth-child(2) li:nth-child(1) a { opacity: 1; transform: translateY(0); transition-delay: 1.00s; }
.rl-search-open .rl-search-col:nth-child(2) li:nth-child(2) a { opacity: 1; transform: translateY(0); transition-delay: 1.08s; }
.rl-search-open .rl-search-col:nth-child(2) li:nth-child(3) a { opacity: 1; transform: translateY(0); transition-delay: 1.16s; }

.rl-search-open .rl-search-col:nth-child(3) li:nth-child(1) a { opacity: 1; transform: translateY(0); transition-delay: 1.20s; }
.rl-search-open .rl-search-col:nth-child(3) li:nth-child(2) a { opacity: 1; transform: translateY(0); transition-delay: 1.28s; }
.rl-search-open .rl-search-col:nth-child(3) li:nth-child(3) a { opacity: 1; transform: translateY(0); transition-delay: 1.36s; }

.rl-search-open .rl-search-col:nth-child(4) li:nth-child(1) a { opacity: 1; transform: translateY(0); transition-delay: 1.40s; }
.rl-search-open .rl-search-col:nth-child(4) li:nth-child(2) a { opacity: 1; transform: translateY(0); transition-delay: 1.48s; }
.rl-search-open .rl-search-col:nth-child(4) li:nth-child(3) a { opacity: 1; transform: translateY(0); transition-delay: 1.56s; }

.rl-ext { font-size: 13px; margin-left: 4px; opacity: 0.35; position: absolute; }

.rl-search-bottom {
  padding: 48px 40px 64px; text-align: center; flex-shrink: 0;
  opacity: 0; transition: opacity var(--dur-base) var(--ease-out) 1.2s;
  will-change: opacity;
}
.rl-search-open .rl-search-bottom { opacity: 1; }
.rl-search-close {
  font-size: 12px; font-weight: 400; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5); cursor: pointer;
  transition: color 0.3s ease-in-out,
              opacity 0.3s ease-in-out;
  display: inline-flex; align-items: center; gap: 10px;
}
.rl-search-close::after { content: '✕'; font-size: 13px; }
.rl-search-close:hover { color: #fff; }

@media (max-width: 768px) {
  .rl-search-content { padding: 80px 24px 40px; align-items: center; }
  .rl-search-links { flex-direction: column; gap: 32px; align-items: center; text-align: center; }
  .rl-search-bar { margin-bottom: 48px; gap: 12px; max-width: 100%; }
  .rl-search-input { font-size: 18px; }
  .rl-search-submit { padding: 10px 24px; font-size: 13px; }
  .rl-search-heading { font-size: 16px; margin-bottom: 20px; text-align: center; }
  .rl-search-col { text-align: center; min-width: auto; width: 100%; }
  .rl-search-col ul li a { font-size: 15px; }
  .rl-search-results { max-width: 100%; }
  .rl-search-result-name { font-size: 16px; }
  .rl-search-result-cat { font-size: 10px; }
  .rl-search-col ul li { margin-bottom: 12px; }
  .rl-search-bottom { padding: 32px 24px 48px; }
  .rl-search-close { font-size: 14px; }
}

/* ─── MANIFESTO ──────────────────────────────────────────── */
.rl-manifesto {
  position: relative; width: 100%; min-height: 60vh;
  background: #000;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}

.rl-manifesto::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 120px; pointer-events: none; z-index: 1;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.02) 60%, rgba(255,255,255,0.05));
}
.rl-manifesto::before {
  content: ''; position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.025) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  transition: transform var(--dur-glacial) var(--ease-out);
  pointer-events: none;
}
.rl-manifesto:has(.rl-visible)::before {
  transform: translate(-50%, -50%) scale(1);
}

.rl-manifesto-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 120px 40px;
  opacity: 0; transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}
.rl-manifesto-inner.rl-visible { opacity: 1; transform: translateY(0); }

.rl-manifesto-line {
  width: 1px; height: 0;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.12));
  margin-bottom: 56px;
  transition: height var(--dur-slow) var(--ease-out) 0s;
}
.rl-manifesto-inner.rl-visible .rl-manifesto-line { height: 60px; }

.rl-manifesto-text {
  font-size: clamp(28px, 4.5vw, 56px); font-weight: 400; font-style: italic;
  letter-spacing: 0.01em; line-height: 1.3; color: rgba(255,255,255,0.88);
  opacity: 0; transform: translateY(12px);
  transition: opacity var(--dur-slow) var(--ease-out) 0.3s,
              transform var(--dur-slow) var(--ease-out) 0.3s;
  will-change: opacity, transform;
}
.rl-manifesto-inner.rl-visible .rl-manifesto-text { opacity: 1; transform: translateY(0); }

.rl-manifesto-line-bottom {
  width: 1px; height: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.12), transparent);
  margin-top: 56px;
  transition: height var(--dur-slow) var(--ease-out) 1s;
}
.rl-manifesto-inner.rl-visible .rl-manifesto-line-bottom { height: 60px; }

@media (max-width: 768px) {
  .rl-manifesto-inner { padding: 80px 24px; }
  .rl-manifesto-text { font-size: clamp(22px, 6vw, 36px); }
}

/* ─── FOLLOW ─────────────────────────────────────────────── */
.rl-follow-section {
  background: #fff; padding: 150px 0 120px; text-align: center; overflow: hidden;
}
.rl-follow-headline {
  font-family: var(--font-display) !important;
  font-size: clamp(36px, 5vw, 56px); font-weight: 300;
  color: #000; margin: 0 0 64px; letter-spacing: 0; line-height: 1.2;
  opacity: 0; transform: translateY(14px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}
.rl-follow-headline.rl-visible { opacity: 1; transform: translateY(0); }

.rl-follow-icons {
  display: flex; justify-content: center; gap: 150px; flex-wrap: wrap; padding: 0 40px;
  opacity: 0; transform: translateY(14px);
  transition: opacity var(--dur-slow) var(--ease-out) 0.4s,
              transform var(--dur-slow) var(--ease-out) 0.4s;
  will-change: opacity, transform;
}
.rl-follow-icons.rl-visible { opacity: 1; transform: translateY(0); }
.rl-follow-icons a {
  display: flex; align-items: center; justify-content: center;
  color: #000; cursor: pointer;
  transition: opacity 0.3s ease-in-out,
              transform 0.3s ease-in-out;
}
.rl-follow-icons a:hover { opacity: 0.35; transform: translateY(-3px); }
.rl-follow-icons svg { width: 42px; height: 42px; }

@media (max-width: 768px) {
  .rl-follow-section { padding: 80px 24px 64px; }
  .rl-follow-icons { gap: 48px; }
  .rl-follow-icons svg { width: 28px; height: 28px; }
}

/* ─── FOOTER ─────────────────────────────────────────────── */
footer { background: #000; padding-bottom: 50px; }

.rl-footer-sitemap {
  display: flex; gap: 60px; padding: 80px 52px 48px;
  border-top: 0.5px solid rgba(255,255,255,0.05);
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}
.rl-footer-sitemap.rl-visible { opacity: 1; transform: translateY(0); will-change: auto; }

.rl-footer-brand-col { flex-shrink: 0; min-width: 240px; }
.rl-footer-brand-name {
  font-size: clamp(26px, 3vw, 40px); font-weight: 400;
  letter-spacing: 0.02em; color: #f8f6f2;
}
.rl-footer-links { display: flex; flex: 1; gap: 48px; }
.rl-footer-col { flex: 1; }
.rl-footer-heading {
  font-size: 9px; font-weight: 500; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 20px;
}
.rl-footer-col ul { list-style: none; padding: 0; margin: 0; }
.rl-footer-col li { margin-bottom: 13px; }
.rl-footer-col a {
  font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.5);
  text-decoration: none; cursor: pointer;
  transition: color 0.3s ease-in-out,
              opacity 0.3s ease-in-out;
}
.rl-footer-col a:hover { color: #f8f6f2; }

.rl-footer-bottom {
  padding: 32px 52px 48px;
  border-top: 0.5px solid rgba(255,255,255,0.12);
  margin-top: 32px;
  opacity: 0; transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out) 0.2s,
              transform var(--dur-slow) var(--ease-out) 0.2s;
  will-change: opacity, transform;
}
.rl-footer-bottom.rl-visible { opacity: 1; transform: translateY(0); will-change: auto; }

.rl-footer-nav { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }
.rl-footer-nav a {
  font-size: 10px; font-weight: 300; color: rgba(255,255,255,0.38);
  text-decoration: none; cursor: pointer;
  transition: color 0.3s ease-in-out,
              opacity 0.3s ease-in-out;
}
.rl-footer-nav a:hover { color: #f8f6f2; }

.rl-footer-endline {
  display: flex; justify-content: space-between; align-items: center;
}
.rl-footer-copyright { font-size: 10px; font-weight: 300; color: rgba(255,255,255,0.22); }

.rl-back-to-top {
  background: none; border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgba(255,255,255,0.4);
  transition: color 0.3s ease-in-out,
              opacity 0.3s ease-in-out,
              border-color 0.3s ease-in-out;
}
.rl-back-to-top:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
.rl-back-to-top svg { width: 18px; height: 18px; }

@media (max-width: 768px) {
  .rl-footer-sitemap { flex-direction: column; padding: 60px 24px 40px; gap: 0; }
  .rl-footer-brand-col { display: none; }
  .rl-footer-links { flex-direction: column; gap: 0; }
  .rl-footer-col {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0;
    padding: 32px 0;
    border-bottom: 0.5px solid rgba(255,255,255,0.08);
    align-items: start;
  }
  .rl-footer-col:last-child { border-bottom: none; }
  .rl-footer-heading {
    grid-column: 1; grid-row: 1 / -1;
    margin-bottom: 0; padding-top: 0;
    font-size: 11px;
    align-self: start;
  }
  .rl-footer-col ul {
    grid-column: 2;
    display: flex; flex-direction: column; gap: 0;
  }
  .rl-footer-col li { margin-bottom: 10px; }
  .rl-footer-col a { font-size: 14px; }

  .rl-footer-nav {
    flex-direction: column; gap: 0;
    margin-bottom: 0;
  }
  .rl-footer-nav a {
    display: block; padding: 14px 0;
    border-bottom: 0.5px solid rgba(255,255,255,0.06);
    font-size: 14px;
  }
  .rl-footer-nav a:last-child { border-bottom: none; }
  .rl-footer-bottom { padding: 32px 24px 48px; }
  .rl-footer-copyright { margin-top: 0; font-size: 12px; }
  .rl-footnote-text { padding: 0 24px !important; font-size: 13px !important; line-height: 1.8 !important; }
  .rl-footnotes { padding: 0 !important; margin: 0 0 8px 0; }
  .rl-footer-endline { margin-top: 32px; }
  .rl-back-to-top { width: 44px; height: 44px; }
}

.rl-footnotes { padding: 0 52px; }
.rl-footnote-text {
  font-size: 10px; font-weight: 300; line-height: 1.9;
  color: rgba(255,255,255,0.38);
}

/* ─── SMALL SCREENS ──────────────────────────────────────── */
@media (max-width: 390px) {
  .rl-hero-clarity, .rl-hero-in, .rl-hero-complexity { font-size: clamp(32px, 11vw, 48px); }
  .rl-nav-item { flex: 0 0 33.33%; }
  .rl-nav-link { font-size: 9px; letter-spacing: 0.06em; }
  .rl-chapter-word { font-size: clamp(24px, 8vw, 36px); }
  .rl-follow-icons { gap: 32px; }
  .rl-follow-icons svg { width: 24px; height: 24px; }
  .rl-footer-brand-name { font-size: 22px; }
}

@media (max-width: 768px) {
  .intro-deer {
    width: 180px !important;
    max-width: 180px !important;
  }
}

/* ─── SAFE AREA ──────────────────────────────────────────── */
@supports (padding-top: env(safe-area-inset-top)) {
  .rl-header { padding-top: env(safe-area-inset-top); }
  .rl-footer-bottom { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
  .rl-menu-bottom { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
  .rl-search-bottom { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
}

/* ─── TOUCH ──────────────────────────────────────────────── */
@media (pointer: coarse) {
  .rl-nav-link { min-height: 44px; display: inline-flex; align-items: center; }
  .rl-lang-item { min-height: 44px; display: inline-flex; align-items: center; }
  .rl-header-search-btn { min-height: 44px; }
  .rl-menu-column ul li a { display: inline-block; padding: 6px 0; min-height: 44px; line-height: 32px; }
  .rl-acc-sub { display: flex !important; flex-direction: column !important; align-items: center !important; }
  .rl-acc-sub a { display: block !important; width: 100% !important; padding: 12px 0 !important; min-height: auto; line-height: normal; }
  .rl-menu-close { min-height: 44px; display: inline-flex; align-items: center; }
  .rl-search-close { min-height: 44px; display: inline-flex; align-items: center; }
  .rl-footer-col a { display: inline-block; padding: 4px 0; }
  .rl-footer-nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .disclaimer-accept { min-height: 48px; }
}

/* ─── REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #hero-canvas { display: none; }
  #intro-screen { display: none; }
  .rl-reveal, .rl-chapter-inner, .rl-manifesto-inner,
  .rl-follow-headline, .rl-follow-icons,
  .rl-footer-sitemap, .rl-footer-bottom {
    opacity: 1 !important; transform: none !important;
  }
  .rl-hero-accent, .rl-hero-clarity, .rl-hero-in, .rl-hero-complexity,
  .rl-hero-subtitle, .rl-hero-line-bottom {
    opacity: 1 !important; transform: none !important;
  }
  .rl-menu-column ul li a,
  .rl-menu-li-accordion > .rl-acc-trigger,
  .rl-menu-bottom .rl-menu-close {
    transform: none !important; opacity: 1 !important;
  }
}

/* ─── LANDSCAPE MOBILE ───────────────────────────────────── */
@media (max-width: 768px) and (orientation: landscape) {
  #rl-hero-stage { min-height: 100svh; }
  .rl-hero-content { padding: 0 40px; }
  .rl-hero-accent { height: 24px; margin-bottom: 16px; --line-h: 24px; }
  .rl-hero-clarity, .rl-hero-in, .rl-hero-complexity { font-size: clamp(24px, 6vw, 40px); }
  .rl-hero-subtitle { margin-top: 8px; }
  .rl-hero-line-bottom { height: 32px; margin-top: 16px; --line-h: 32px; }
  .rl-chapter { padding: 48px 40px; }
  .rl-manifesto-inner { padding: 48px 40px; }
}
