/* ============================================
   RAMBLER.CSS — rambler.html page-specific styles
   Extracted verbatim from rambler.html's inline <style>,
   in original order. Relies on tokens + shared rules in
   style.css (loaded first).
   ============================================ */

body {
  opacity: 1;
  transition: opacity 0.3s ease;
}
body.fonts-loading {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  body {
    transition: none;
  }
}

.site-header {
  display: flex;
  align-items: flex-start;
  gap: 296px;
  padding-top: var(--edge);
}

.site-header .clock {
  margin: 0;
  font-size: 12px;
  line-height: 12px;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.blink { animation: blink-colon 1s steps(1, jump-end) infinite; }

@keyframes blink-colon {
  0%   { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .blink {
    animation: none;
    opacity: 1;
  }
}

.logo-block { display: flex; align-items: center; gap: 8px; }
.logo-mark { width: 64px; height: 64px; }
.logo-text > .t-tag {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 14px;
}

.hero { display: flex; }
.hero-left, .hero-right { flex: 0 0 50%; max-width: 50%; }
.hero-right > .t-tag { margin-top: 40px; }
/* Fixed 656px, matching about.html's page-wide measure (CLAUDE.md §3). */
.hero-right > .t-body-sm { margin-top: 12px; max-width: 656px; text-wrap: pretty; }

.shots { display: flex; gap: 3%; }
.shots img { width: 31%; height: auto; border: none; box-shadow: none; }

.shots-wide { display: flex; flex-direction: column; gap: var(--edge); }
.shots-wide img { width: 100%; height: auto; border: none; box-shadow: none; }

/* Screenshots load with the page — no scroll-triggered reveal. */
.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.shots .reveal:nth-child(1) { transition-delay: 0s; }
.shots .reveal:nth-child(2) { transition-delay: 0.1s; }
.shots .reveal:nth-child(3) { transition-delay: 0.2s; }

.reveal-text {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-text {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 767px) {
  /* --- Header --- */
  .site-header {
    gap: 0;
    justify-content: space-between;
    padding-top: calc(16px + env(safe-area-inset-top));
  }
  .site-header .clock { padding-top: 7px; }

  .logo-mark { width: 40px; height: 40px; }
  .logo-text > .t-heading { font-size: 14px; line-height: 16px; }
  .logo-text > .t-tag { margin: 2px 0 0 0; font-size: 12px; }

  /* --- Hero: single left-aligned column --- */
  .hero {
    flex-direction: column;
    text-align: left;
    gap: 8px;
  }
  .hero-left, .hero-right {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }
  .hero-left .t-body-sm {
    margin: 0;
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 0;
    color: var(--ink);
  }

  .hero-right .t-display { font-size: 40px; line-height: 48px; }
  .hero-right > .t-tag {
    margin: 32px 0 0 0;
    font-size: 12px;
    line-height: 14px;
  }
  .hero-right > .t-body-sm {
    font-size: 14px;
    line-height: 20px;
    max-width: none;
  }

  /* --- Screenshots --- */
  .shots {
    flex-direction: column;
    gap: 24px;
  }
  .shots img { width: 100%; }
}
