:root {
  --bg: #000;
  --logo: #F2F2F2;
  --text: #F2F2F2;
  --font-main: "century-gothic", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  /* Animation timing — tweak here */
  --intro-delay: 1.15s;
  --intro-duration: 3s;
  --intro-ease: cubic-bezier(0.65, 0, 0.35, 1); /* easeInOutCubic */
  --info-delay: 2s;
  --info-duration: 1.6s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  font-weight: 400;
  font-style: normal;
  overflow: hidden;
}

/* Centered logo animation */
.logo-wrap {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.logo {
  width: clamp(160px, 32vmin, 300px);
  height: auto;
  display: block;
}

/* Bottom-left info block */
.info {
  position: fixed;
  bottom: 1.75rem;
  left: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  font-size: clamp(0.8rem, 1.1vw, 1rem);
  line-height: 1.6;
  opacity: 0;
  animation: info-fade-in var(--info-duration) ease-out var(--info-delay) both;
}

@keyframes info-fade-in {
  to { opacity: 1; }
}

.phone {
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  opacity: 0.85;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.phone:hover,
.phone:focus-visible {
  border-color: currentColor;
  opacity: 1;
}

.copyright {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* Wrap the year onto its own line on small screens, making three lines total */
.copyright-line2 {
  display: inline;
}

@media (max-width: 480px) {
  .copyright-line2 {
    display: block;
  }
}

/*
  RING — stroked circle standing in for the original filled ring path.
  Geometry derived from the logo: outer r = 225, inner r = 192.86
  → centerline r = 208.93, stroke-width = 32.14
  Circumference = 2π × 208.93 ≈ 1312.8

  The SVG attribute rotate(-90 256 256) moves the dash start point
  from 3 o'clock (SVG default) to 12 o'clock. Animating dashoffset
  1312.8 → 0 then reveals the stroke clockwise.
*/
.ring {
  stroke-dasharray: 1312.8;
  stroke-dashoffset: 1312.8;
  animation: ring-draw var(--intro-duration) var(--intro-ease) var(--intro-delay) both;
}

@keyframes ring-draw {
  to { stroke-dashoffset: 0; }
}

/*
  ARROW — rotates 0° → 360° about the logo center on the *same*
  duration, delay, and easing as the ring draw, so its tip always
  points at the ring's leading edge.

  IMPORTANT: rotation and fade are deliberately separate animations.
  CSS easing applies per keyframe segment, so adding a midpoint
  keyframe (e.g. for opacity) would split the rotation into two
  eased halves and desync it from the ring's single-segment draw.
*/
.arrow {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation:
    arrow-sweep var(--intro-duration) var(--intro-ease) var(--intro-delay) both,
    arrow-fade calc(var(--intro-duration) / 2) ease-out var(--intro-delay) both;
}

@keyframes arrow-sweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes arrow-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Skip the motion entirely for users who've asked for that */
@media (prefers-reduced-motion: reduce) {
  .ring,
  .arrow,
  .info {
    animation: none;
  }

  .ring {
    stroke-dashoffset: 0;
  }

  .info {
    opacity: 1;
  }
}
