/* logo.css — shared ChronoGate logo (emblem + wordmark), used on home and pricing */

.cg-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1;
}

.cg-logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cg-logo:hover .cg-logo-mark {
  transform: rotate(-20deg) scale(1.08);
}

.cg-logo-text {
  /* small vertical padding so the gradient covers the full glyph height */
  padding: 0.06em 0;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffc76a, #ffa21a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Tablets and phones */
@media (max-width: 991.98px) {
  .cg-logo-text {
    font-size: 2.1rem;
  }
}

@media (max-width: 767.98px) {
  .cg-logo {
    gap: 8px;
  }

  .cg-logo-mark {
    width: 36px;
    height: 36px;
  }
}

/* Very narrow phones (<360px, e.g. iPhone SE 1st gen): keep logo, badge and theme toggle on one row */
@media (max-width: 359.98px) {
  .cg-logo-text {
    font-size: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cg-logo-mark {
    transition: none;
  }
}
