/* ==========================================================================
   ROSAE // SOFT, COOL & SERENE FULL-SCREEN "LAUNCHING SOON"
   Aesthetic: Calming Frosted Mist & Soft Slate (Easy on the Eyes, Zero Glare)
   ========================================================================== */

:root {
  /* Soft, Soothing Cool Palette (Easy on the eyes) */
  --c-bg: #EEF2F6;              /* Soft, calming frosted mist (no harsh white glare) */
  --c-text-main: #1E293B;       /* Deep muted slate */
  --c-text-sub: #64748B;        /* Gentle cool slate */
  --c-glacier-bg: #E2E8F0;      /* Soft ice slate */
  --c-glacier-text: #475569;    /* Muted slate text */
  --c-border: #CBD5E1;          /* Soft border */
  --c-accent-soft: #6382A6;     /* Soothing calm cool blue */

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: var(--c-bg);
  color: var(--c-text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--c-bg);
  /* Very soft, low-contrast architectural micro-dots */
  background-image: radial-gradient(rgba(100, 116, 139, 0.14) 1px, transparent 1px);
  background-size: 32px 32px;
  overflow: hidden;
}

/* ==========================================================================
   TICKER STRIPS (CALM, LOW-CONTRAST)
   ========================================================================== */
.ticker-strip {
  width: 100%;
  overflow: hidden;
  padding: 11px 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  user-select: none;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
}

.strip-glacier {
  background-color: var(--c-glacier-bg);
  color: var(--c-glacier-text);
  border-color: #CBD5E1;
}

.strip-mist {
  background-color: #F8FAFC;
  color: var(--c-text-sub);
}

.ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: scroll-left 42s linear infinite;
}

.track-reverse {
  animation: scroll-right 45s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes scroll-right {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}

.ticker-star {
  opacity: 0.5;
  font-size: 0.75rem;
}

/* ==========================================================================
   MONUMENTAL FULL-SCREEN CENTERPIECE & ANIMATIONS
   ========================================================================== */
.fullscreen-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 4vw;
  width: 100%;
  text-align: center;
  overflow: visible; /* Prevents any clipping of descenders */
}

.monumental-title {
  font-family: var(--font-sans);
  font-size: clamp(2.8rem, 8.5vw, 9.6rem);
  font-weight: 900;
  /* Line-height with extra bottom clearance so 'g' is never cut off */
  line-height: 1.3;
  letter-spacing: -0.035em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding-bottom: 0.15em;
}

.word {
  display: inline-flex;
  overflow: visible;
}

.word-space {
  display: inline-block;
  width: 0.28em;
}

/* Kinetic Individual Characters */
.char {
  display: inline-block;
  will-change: transform;
  overflow: visible;
  
  /* Ample padding to ensure bottom descenders like 'g' are 100% preserved */
  padding-top: 0.12em;
  padding-bottom: 0.28em;
  margin-bottom: -0.28em;
  line-height: 1.25;
  
  /* Smooth, calm kinetic floating wave */
  animation: kinetic-float 5.8s ease-in-out infinite, liquid-sheen 8.5s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * 0.14s), 0s;

  /* Soothing, low-contrast cool gradient (gentle on the eyes, zero harsh flashes) */
  background: linear-gradient(
    120deg,
    #1E293B 10%,
    #334155 35%,
    #55708E 50%,
    #334155 65%,
    #1E293B 90%
  );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.char:hover {
  transform: translateY(-8px) !important;
}

/* Trailing Dot Accent (Soft & Harmonious) */
.char-dot {
  background: linear-gradient(135deg, #475569, #6382A6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: kinetic-float 5.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.14s);
}

/* Gentle, Soothing Vertical Kinetic Wave (Subtle & calming) */
@keyframes kinetic-float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Slow, Peaceful Shimmer (Hypnotic, no rapid pulsing) */
@keyframes liquid-sheen {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ==========================================================================
   MINIMAL FOOTER
   ========================================================================== */
.site-footer {
  text-align: center;
  padding: 15px 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--c-text-sub);
  background: #F8FAFC;
  border-top: 1px solid var(--c-border);
  flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 768px) {
  body {
    height: 100dvh;
  }
  .monumental-title {
    font-size: clamp(2.8rem, 11vw, 5.2rem);
    white-space: normal;
    flex-wrap: wrap;
    line-height: 1.35;
  }
  .char {
    padding-bottom: 0.35em;
    margin-bottom: -0.35em;
  }
}
