/* ==========================================================================
   SHE BUILDS — UNDER CONSTRUCTION PAGE (in-the-making.css)
   Exact visual fidelity to reference identity: Saturated hot-pink background (#E4045E),
   high-contrast editorial serif headline, animated diagonal-striped progress bar.
   ========================================================================== */

:root {
  /* Exact sampled hot-pink background from reference screenshot / About page match */
  --bg-hot-pink: #E4045E;
  --bg-magenta: #E4045E;
  --text-white: #FFFFFF;

  /* Typography */
  --font-editorial: 'Bodoni Moda', 'Didot', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', 'SF Mono', Consolas, monospace;

  /* Proportional unit — exact match with About page formula */
  --u: min(1vw, 2.142vh);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background-color: var(--bg-hot-pink);
  color: var(--text-white);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

a,
button {
  color: inherit;
  font: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--text-white);
  outline-offset: 3px;
}

/* ==========================================================================
   PAGE STAGE CONTAINER (Full Viewport, Non-Scrolling)
   ========================================================================== */

.under-stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: var(--bg-hot-pink);
  overflow: hidden;
}

/* ==========================================================================
   1. TOP NAVIGATION BAR (Exact 1:1 Match with About Page Navbar)
   ========================================================================== */

.about-header,
.under-header {
  position: absolute;
  top: 2.7%;
  left: 4.6%;
  right: 4.1%;
  height: 7.5%;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-wordmark,
.under-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.26em;
  text-decoration: none;
  font-family: var(--font-editorial);
  font-size: calc(1.92 * var(--u));
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1;
  color: var(--text-white);
  white-space: nowrap;
}

.brand-she {
  color: var(--text-white);
  font-weight: 700;
  font-style: normal;
  -webkit-text-stroke: 0.35px var(--text-white);
}

.brand-builds {
  color: var(--text-white);
  font-style: italic;
  font-weight: 600;
  -webkit-text-stroke: 0.3px var(--text-white);
}

.about-nav,
.under-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: calc(3.6 * var(--u));
}

.about-nav .nav-link,
.under-nav .nav-link,
.nav-link {
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: calc(1.26 * var(--u));
  font-weight: 400;
  letter-spacing: 0.015em;
  color: rgba(255, 255, 255, 0.90);
  padding-bottom: 4px;
  position: relative;
  transition: color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #FFFFFF;
}

/* Active "In the Making" uses underline via ::after — exact match to About page */
.nav-link.active {
  color: #FFFFFF;
  font-weight: 500;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0;
  height: 1.5px;
  background-color: #FFFFFF;
}

.header-action,
.under-action {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.btn-check-grevix,
.btn-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: calc(0.52 * var(--u)) calc(1.65 * var(--u));
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 9999px;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: calc(1.12 * var(--u));
  font-style: italic;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  background: transparent;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.btn-check-grevix:hover,
.btn-apply:hover {
  background-color: #FFFFFF;
  color: var(--bg-hot-pink);
  transform: translateY(-1px);
}

/* ==========================================================================
   2. MAIN HERO SECTION (Centered vertically & horizontally, 100vh fit)
   ========================================================================== */

.under-hero {
  position: absolute;
  top: 10.2%;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  text-align: center;
  padding: 0 4.6% clamp(14px, 3vh, 32px);
  z-index: 10;
  overflow: hidden;
}

/* Status Indicator: Cone + Animated Progress Bar */
.status-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  gap: clamp(6px, 1.2vh, 12px);
  flex-shrink: 0;
}

.cone-wrap {
  width: clamp(36px, calc(5.2 * var(--u)), 80px);
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.cone-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Functional Animated Progress Bar */
.progress-track {
  width: clamp(120px, calc(14 * var(--u)), 210px);
  height: clamp(8px, calc(1.1 * var(--u)), 13px);
  border: 1.2px solid var(--text-white);
  background: transparent;
  padding: 1px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background-color: var(--bg-magenta);
  background-image: repeating-linear-gradient(
    45deg,
    var(--text-white) 0,
    var(--text-white) 4.5px,
    transparent 4.5px,
    transparent 9px
  );
  background-size: 13px 13px;
  animation: stripeMove 1.1s linear infinite;
  transition: width 0.12s linear;
  will-change: width;
}

@keyframes stripeMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 13px 0;
  }
}

/* 3. Headline: UNDER CONSTRUCTION */
.under-headline {
  font-family: var(--font-editorial);
  font-variation-settings: 'opsz' 72, 'wght' 700;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 0.92;
  margin: 0;
  user-select: none;
  perspective: 1000px;
  flex-shrink: 0;
}

.headline-under,
.headline-construction {
  background: linear-gradient(
    115deg,
    #FFFFFF 0%,
    #FFFFFF 36%,
    #FFB3D4 48%,
    #FFFFFF 60%,
    #FFFFFF 100%
  );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--text-white);
  will-change: transform, background-position, filter;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.headline-under {
  font-size: clamp(32px, calc(7.4 * var(--u)), 120px);
  letter-spacing: 0.058em;
  display: block;
  line-height: 0.92;
  animation:
    headlineFloatUnder 5s ease-in-out infinite,
    headlineShimmer 6s ease-in-out infinite;
}

.headline-construction {
  font-size: clamp(32px, calc(7.4 * var(--u)), 120px);
  letter-spacing: 0.003em;
  display: block;
  line-height: 0.92;
  margin-top: clamp(2px, 0.5vh, 6px);
  animation:
    headlineFloatConstruction 5.4s ease-in-out infinite 0.3s,
    headlineShimmer 6s ease-in-out infinite 0.6s;
}

.under-headline:hover .headline-under {
  transform: translateY(-2px) scale(1.008);
  filter: drop-shadow(0 6px 20px rgba(255, 255, 255, 0.35));
}

.under-headline:hover .headline-construction {
  transform: translateY(2px) scale(1.008);
  filter: drop-shadow(0 8px 24px rgba(255, 255, 255, 0.35));
}

@keyframes headlineShimmer {
  0% {
    background-position: 140% 0;
  }
  40%, 100% {
    background-position: -40% 0;
  }
}

@keyframes headlineFloatUnder {
  0%, 100% {
    transform: translateY(0px);
    filter: drop-shadow(0 0 0px rgba(255, 255, 255, 0));
  }
  50% {
    transform: translateY(-4px);
    filter: drop-shadow(0 4px 14px rgba(255, 255, 255, 0.28));
  }
}

@keyframes headlineFloatConstruction {
  0%, 100% {
    transform: translateY(0px);
    filter: drop-shadow(0 0 0px rgba(255, 255, 255, 0));
  }
  50% {
    transform: translateY(4px);
    filter: drop-shadow(0 6px 18px rgba(255, 255, 255, 0.28));
  }
}

/* 4. Launch-Date Note */
.launch-note {
  font-family: var(--font-mono);
  font-size: clamp(10px, calc(1.15 * var(--u)), 16px);
  letter-spacing: 0.038em;
  color: var(--text-white);
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablet, Mobile Landscape & Compact Displays)
   ========================================================================== */

@media (max-height: 560px), (max-width: 960px) {
  .about-header,
  .under-header {
    position: absolute;
    top: 2.2%;
    left: 4.0%;
    right: 4.0%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 6px;
  }

  .brand-wordmark,
  .under-brand {
    font-size: clamp(15px, 2.2vw, 22px);
    white-space: nowrap;
    flex-shrink: 0;
  }

  .about-nav,
  .under-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    gap: clamp(10px, 1.8vw, 24px);
    white-space: nowrap;
  }

  .nav-link {
    font-size: clamp(10.5px, 1.25vw, 14px);
    white-space: nowrap;
  }

  .header-action,
  .under-action {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
  }

  .btn-check-grevix,
  .btn-apply {
    font-size: clamp(10px, 1.1vw, 13px);
    padding: 3px clamp(8px, 1.3vw, 14px);
    white-space: nowrap;
  }

  .under-hero {
    top: 9.8%;
    padding: 0 4% clamp(8px, 2vh, 16px);
  }

  .cone-wrap {
    width: clamp(32px, calc(4.8 * var(--u)), 50px);
  }

  .progress-track {
    width: clamp(110px, calc(13 * var(--u)), 180px);
    height: 8px;
  }

  .under-headline {
    line-height: 0.9;
  }

  .headline-under,
  .headline-construction {
    font-size: clamp(28px, calc(6.5 * var(--u)), 72px);
  }

  .launch-note {
    font-size: clamp(9.5px, 1.2vw, 12px);
  }
}
