/* ==========================================================================
   Hatch Palette — Premium Design System & Stylesheet
   ========================================================================== */

/* Design Tokens & Custom Properties */
:root {
  /* Color Palette */
  --bg-primary: #F8F5F0;
  /* Warm Off White */
  --bg-secondary: #F5F1EA;
  /* Soft Ivory */
  --accent-sand: #DCC9AE;
  /* Light Sand */
  --accent-stone: #CBB79D;
  /* Warm Stone */
  --accent-bronze: #B89A72;
  /* Muted Bronze */
  --text-primary: #3B2F2A;
  /* Deep Brown */
  --text-secondary: #4A433F;
  /* Soft Charcoal */
  --divider: #E4DCD3;
  /* Hairline divider */

  /* Typography */
  --font-serif: 'Roboto Serif', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;

  /* Layout and Sizing */
  --header-height: 90px;
  --max-width: 1400px;
  --transition-smooth: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets & Layout rules */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text-primary);
}

/* Custom Scrollbar for Luxury Brochure Theme */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-sand);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-bronze);
}

/* Ambient Canvas Background & Noise */
#bg-wave-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
}

.ambient-noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0.02;
  /* Ultra-subtle tactile printed-paper feel */
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography Utility Classes */
.serif-text {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-bronze);
  margin-bottom: 1.5rem;
}

.serif-intro {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.body-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Elegant Minimal Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: rgba(248, 245, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(228, 220, 211, 0.4);
}

.header-container {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition-fast);
}

.logo-image {
  height: 36px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-fast);
}

.logo:hover .logo-image {
  opacity: 0.7;
  transform: scale(1.02);
}

/* Header Tagline */
.header-tagline {
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 700;
  color: var(--accent-bronze);
  letter-spacing: 0.04em;
  opacity: 0.85;
  transition: var(--transition-fast);
}

.header-tagline:hover {
  opacity: 1;
}

/* Final section logo */
.final-logo-container {
  margin-bottom: 2.5rem;
}

.final-logo-image {
  height: 52px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}


/* Side ScrollSpy Navigation */
.side-navigation {
  position: fixed;
  right: 4vw;
  top: 50%;
  transform: translateY(-50%) translateX(calc(100% + 4vw));
  z-index: 99;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.4s ease;
  opacity: 0;
}

/* Invisible trigger zone on the right edge of the screen */
.side-navigation::before {
  content: '';
  position: absolute;
  top: -20vh;
  bottom: -20vh;
  right: -4vw;
  width: 80px;
  cursor: default;
}

.side-navigation:hover,
.side-navigation.is-visible {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5vh;
  position: relative;
}

.nav-list::before {
  content: '';
  position: absolute;
  right: 18px;
  top: 5px;
  bottom: 5px;
  width: 1px;
  background: var(--divider);
  z-index: -1;
}

.nav-item {
  display: flex;
  justify-content: flex-end;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  padding: 5px 0;
  transition: var(--transition-fast);
}

.nav-num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--accent-stone);
  transition: var(--transition-fast);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  border: 1px solid var(--divider);
  border-radius: 50%;
  z-index: 1;
}

.nav-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition-fast);
  pointer-events: none;
  white-space: nowrap;
}

.nav-link:hover .nav-label {
  opacity: 1;
  transform: translateX(0);
}

.nav-link:hover .nav-num,
.nav-link.active .nav-num {
  color: var(--bg-primary);
  background: var(--accent-bronze);
  border-color: var(--accent-bronze);
}

.nav-link.active .nav-label {
  opacity: 0.7;
  transform: translateX(0);
}

/* Responsive Hide for Side Nav on Mobile */
@media (max-width: 1024px) {
  .side-navigation {
    display: none;
  }
}

/* Common Section Layouts */
.section {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

.normal-section {
  padding: 18vh 8vw;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--divider);
}

/* SECTION 1: HERO LAYOUT */
.hero-section {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 5vh);
  padding-bottom: 10vh;
  padding-left: 8vw;
  padding-right: 8vw;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--divider);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6vw;
  max-width: var(--max-width);
  align-items: center;
  width: 100%;
}

.hero-text {
  max-width: 620px;
}

.hero-headline {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.1;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
  text-transform: uppercase;
}

.hero-subtext {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-secondary);
}

.hero-image-container {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(59, 47, 42, 0.08);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-container:hover .hero-image {
  transform: scale(1.04);
}

/* SECTION 2-11: EDITORIAL GRID LAYOUTS */
.editorial-grid {
  display: grid;
  gap: 8vw;
  max-width: var(--max-width);
  align-items: center;
  width: 100%;
}

.type-split-equal {
  grid-template-columns: 1fr 1fr;
}

.type-asymmetric-left {
  grid-template-columns: 1.2fr 0.8fr;
}

.type-asymmetric-right {
  grid-template-columns: 0.8fr 1.2fr;
}

.grid-text-block {
  max-width: 520px;
  z-index: 2;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

/* Editorial Image Wrappers */
.grid-images {
  position: relative;
  width: 100%;
}

.main-img-wrapper {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(59, 47, 42, 0.06);
}

.large-single-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-img-wrapper:hover .large-single-image {
  transform: scale(1.04);
}

/* Overlapping Secondary Image Layout for Asymmetric Grids */
.type-asymmetric-left .grid-images {
  padding-right: 12%;
  padding-bottom: 8%;
}

.secondary-img-wrapper {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(59, 47, 42, 0.12);
  border: 10px solid var(--bg-primary);
  z-index: 5;
}

.editorial-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.secondary-img-wrapper:hover .editorial-image {
  transform: scale(1.06);
}

/* Alternate order for split layout images/text */
.type-split-equal .grid-images {
  order: 2;
}

.type-split-equal .grid-text-block {
  order: 1;
}

.type-asymmetric-left .grid-images {
  order: 1;
}

.type-asymmetric-left .grid-text-block {
  order: 2;
}

.type-asymmetric-right .grid-images {
  order: 2;
}

.type-asymmetric-right .grid-text-block {
  order: 1;
}

/* SECTION 12: FINAL STATEMENT & FOOTER */
.final-section {
  min-height: 100vh;
  padding: 15vh 8vw 5vh 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.final-layout {
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-image-container {
  width: 160px;
  height: 160px;
  margin-bottom: 4rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(184, 154, 114, 0.12);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px;
  transition: var(--transition-smooth);
}

.final-image-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(184, 154, 114, 0.2);
}

.final-emblem-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.final-image-container:hover .final-emblem-image {
  transform: scale(1.05);
}

.final-brand-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.3em;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  color: var(--text-primary);
}

.manifesto-lines {
  list-style: none;
  margin-bottom: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.manifesto-lines li {
  font-size: clamp(1.1rem, 2.2vw, 1.8rem);
  font-style: italic;
  color: var(--text-secondary);
}

.manifesto-lines li:last-child {
  color: var(--accent-bronze);
  font-weight: 400;
}


.footer-bottom {
  width: 100%;
  padding-top: 1rem;
  margin-top: 2rem;
}

.copyright {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--accent-stone);
}

.dev-credits {
  margin-top: 1rem;
}

.developer-link {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-stone);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.developer-link svg {
  width: 11px;
  height: 11px;
  stroke-width: 2px;
}

.developer-link:hover {
  color: var(--accent-bronze);
  border-color: var(--accent-bronze);
}

/* ==========================================================================
   Animations & Transition States
   ========================================================================== */

/* Slide-in & Fade Scroll Reveal */
.reveal-element {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Inside Hero Delays */
.fade-up-delay-1,
.fade-up-delay-2,
.fade-up-delay-3 {
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
}

.visible .fade-up-delay-1 {
  animation: fadeUpText 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
}

.visible .fade-up-delay-2 {
  animation: fadeUpText 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s;
}

.visible .fade-up-delay-3 {
  animation: fadeUpText 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.7s;
}

@keyframes fadeUpText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Alternating Image slide-ins */
.type-asymmetric-left .main-img-wrapper,
.type-split-equal .large-single-image {
  transform: translateX(-40px);
  opacity: 0;
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.8s ease-out;
}

.type-asymmetric-right .large-single-image {
  transform: translateX(40px);
  opacity: 0;
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.8s ease-out;
}

.reveal-element.visible .main-img-wrapper,
.reveal-element.visible .large-single-image {
  transform: translateX(0);
  opacity: 1;
}

/* Secondary image delay */
.secondary-img-wrapper {
  transform: translateY(40px) scale(0.95);
  opacity: 0;
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, opacity 1.8s ease-out 0.3s;
}

.reveal-element.visible .secondary-img-wrapper {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Accessibility: Disable complex animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

  .reveal-element,
  .fade-up-delay-1,
  .fade-up-delay-2,
  .fade-up-delay-3,
  .type-asymmetric-left .main-img-wrapper,
  .type-split-equal .large-single-image,
  .type-asymmetric-right .large-single-image,
  .secondary-img-wrapper {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .normal-section {
    padding: 12vh 6vw;
  }

  .hero-section {
    padding: calc(var(--header-height) + 4vh) 6vw 8vh 6vw;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 8vh;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-image-container {
    max-width: 500px;
    margin: 0 auto;
  }

  .editorial-grid {
    grid-template-columns: 1fr !important;
    gap: 6vh;
  }

  /* Grid order adjustments for stacking */
  .editorial-grid .grid-images {
    order: 1 !important;
    max-width: 550px;
    margin: 0 auto;
  }

  .editorial-grid .grid-text-block {
    order: 2 !important;
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .type-asymmetric-left .grid-images {
    padding-right: 8%;
    padding-bottom: 6%;
  }

  .secondary-img-wrapper {
    border-width: 6px;
  }

  .manifesto-lines li {
    font-size: 1.25rem;
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 75px;
  }

  html {
    font-size: 15px;
  }

  .site-header {
    height: var(--header-height);
  }

  .normal-section {
    padding: 8vh 5vw;
  }

  .hero-section {
    padding: calc(var(--header-height) + 3vh) 5vw 6vh 5vw;
  }

  .hero-image-container {
    aspect-ratio: 1 / 1;
  }

  .main-img-wrapper {
    aspect-ratio: 1 / 1;
  }

  .type-asymmetric-left .grid-images {
    padding-right: 0;
    padding-bottom: 0;
  }

  .secondary-img-wrapper {
    display: none;
    /* Hide secondary overlapping image on small mobile views to avoid clutter */
  }

  .final-image-container {
    width: 120px;
    height: 120px;
    margin-bottom: 3rem;
  }

  .manifesto-lines {
    gap: 1.2rem;
    margin-bottom: 3.5rem;
  }


}

transform: scale(1.12);
}

/* Stacked State (Default) */
.arch-card.card-1 {
  transform: translate(0, 0) rotate(-6deg);
  z-index: 4;
}

.arch-card.card-2 {
  transform: translate(6px, 4px) rotate(4deg);
  z-index: 3;
}

.arch-card.card-3 {
  transform: translate(-4px, 8px) rotate(-2deg);
  z-index: 2;
}

.arch-card.card-4 {
  transform: translate(3px, -5px) rotate(8deg);
  z-index: 1;
}

/* Active States (When .is-active is toggled on wrapper) */
.arch-gallery-wrapper.is-active .arch-base-image-wrapper {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.arch-gallery-wrapper.is-active .arch-popup-cards {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}

/* Fan out automatically when active */
.arch-gallery-wrapper.is-active .arch-card.card-1 {
  transform: translate(-110px, -110px) rotate(-12deg) scale(1.05);
  box-shadow: 0 25px 45px rgba(59, 47, 42, 0.18);
  outline-color: var(--accent-bronze);
}

.arch-gallery-wrapper.is-active .arch-card.card-2 {
  transform: translate(110px, -110px) rotate(12deg) scale(1.05);
  box-shadow: 0 25px 45px rgba(59, 47, 42, 0.18);
  outline-color: var(--accent-bronze);
}

.arch-gallery-wrapper.is-active .arch-card.card-3 {
  transform: translate(110px, 110px) rotate(-8deg) scale(1.05);
  box-shadow: 0 25px 45px rgba(59, 47, 42, 0.18);
  outline-color: var(--accent-bronze);
}

.arch-gallery-wrapper.is-active .arch-card.card-4 {
  transform: translate(-110px, 110px) rotate(8deg) scale(1.05);
  box-shadow: 0 25px 45px rgba(59, 47, 42, 0.18);
  outline-color: var(--accent-bronze);
}

/* Individual card hover priority when fanned out */
.arch-gallery-wrapper.is-active .arch-card:hover {
  z-index: 20 !important;
  transform: scale(1.15) !important;
  box-shadow: 0 30px 60px rgba(59, 47, 42, 0.25) !important;
  border-color: var(--bg-primary);
  outline: 1px solid var(--accent-bronze) !important;
}

.arch-gallery-wrapper.is-active .arch-center-pivot:hover {
  transform: scale(0.9) rotate(45deg);
  border-style: solid;
  border-color: var(--accent-bronze);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .arch-card {
    width: 160px;
    height: 160px;
    border-width: 5px;
  }

  .arch-center-pivot {
    width: 85px;
    height: 85px;
  }

  .arch-gallery-wrapper.is-active .arch-card.card-1 {
    transform: translate(-85px, -85px) rotate(-12deg) scale(1.05);
  }

  .arch-gallery-wrapper.is-active .arch-card.card-2 {
    transform: translate(85px, -85px) rotate(12deg) scale(1.05);
  }

  .arch-gallery-wrapper.is-active .arch-card.card-3 {
    transform: translate(85px, 85px) rotate(-8deg) scale(1.05);
  }

  .arch-gallery-wrapper.is-active .arch-card.card-4 {
    transform: translate(-85px, 85px) rotate(8deg) scale(1.05);
  }
}

@media (max-width: 768px) {
  .arch-gallery-wrapper {
    margin: 0 auto;
    max-width: 320px;
    aspect-ratio: 1 / 1;
  }

  .arch-card {
    width: 120px;
    height: 120px;
    border-width: 4px;
  }

  .arch-center-pivot {
    width: 70px;
    height: 70px;
  }

  .arch-gallery-wrapper.is-active .arch-card.card-1 {
    transform: translate(-60px, -60px) rotate(-12deg) scale(1.05);
  }

  .arch-gallery-wrapper.is-active .arch-card.card-2 {
    transform: translate(60px, -60px) rotate(12deg) scale(1.05);
  }

  .arch-gallery-wrapper.is-active .arch-card.card-3 {
    transform: translate(60px, 60px) rotate(-8deg) scale(1.05);
  }

  .arch-gallery-wrapper.is-active .arch-card.card-4 {
    transform: translate(-60px, 60px) rotate(8deg) scale(1.05);
  }
}

/* Custom ALA Section Image Fitting */
#ala-venture .main-img-wrapper {
  max-width: 480px;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(59, 47, 42, 0.08);
  border: 1px solid var(--divider);
  overflow: hidden;
  border-radius: 4px;
}

#ala-venture img {
  object-fit: contain !important;
  background-color: var(--bg-secondary);
  width: 100% !important;
  height: 100% !important;
  padding: 0.5rem;
}

/* ==========================================================================
   Hatch Palette — Luxurious Apple-Inspired Launch System Styles
   ========================================================================== */

/* Website Content Container */
.website-content-container {
  width: 100%;
  min-height: 100vh;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.website-content-container.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  height: 100vh;
  overflow: hidden;
}

.website-content-container.is-revealed {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  height: auto;
  overflow: visible;
}

/* Fullscreen Launch Overlay */
.launch-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
  color: var(--text-primary);
  font-family: var(--font-sans);
}

.launch-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none !important;
}

/* Dynamic Animated Gradient Background (Matching Website Warm Palette) */
.launch-gradient-bg {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 25% 25%, rgba(220, 201, 174, 0.35) 0%, transparent 45%),
              radial-gradient(circle at 75% 75%, rgba(245, 241, 234, 0.6) 0%, transparent 45%),
              radial-gradient(circle at 50% 30%, rgba(184, 154, 114, 0.2) 0%, transparent 55%),
              radial-gradient(circle at 80% 20%, rgba(203, 183, 157, 0.25) 0%, transparent 50%),
              linear-gradient(135deg, #F8F5F0 0%, #F5F1EA 50%, #EFEBE4 100%);
  animation: launchGradientShift 22s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes launchGradientShift {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate(-3%, 2%) rotate(2deg) scale(1.04);
  }
  100% {
    transform: translate(2%, -3%) rotate(-2deg) scale(1);
  }
}

/* Floating Particles Canvas */
#launch-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Ambient Glow Orbs */
.launch-glow-orbs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.orb-gold {
  width: 480px;
  height: 480px;
  background: rgba(220, 201, 174, 0.45);
  top: 10%;
  left: 12%;
  animation: floatOrb1 16s ease-in-out infinite alternate;
}

.orb-obsidian {
  width: 520px;
  height: 520px;
  background: rgba(184, 154, 114, 0.3);
  bottom: 5%;
  right: 10%;
  animation: floatOrb2 20s ease-in-out infinite alternate;
}

.orb-sand {
  width: 380px;
  height: 380px;
  background: rgba(203, 183, 157, 0.35);
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
  animation: floatOrb3 18s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.15); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, -60px) scale(1.1); }
}

@keyframes floatOrb3 {
  0% { transform: translate(-50%, 0) scale(1); }
  100% { transform: translate(-50%, -40px) scale(1.2); }
}

/* Glassmorphism Card Container (Soft Warm Ivory Glass) */
.launch-card-wrapper {
  position: relative;
  z-index: 10;
  width: 92%;
  max-width: 720px;
  padding: 12px;
}

.launch-glass-card {
  position: relative;
  width: 100%;
  padding: 48px 44px;
  background: rgba(245, 241, 234, 0.75);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(184, 154, 114, 0.3);
  border-radius: 32px;
  box-shadow: 0 25px 70px rgba(59, 47, 42, 0.1),
              0 0 50px rgba(220, 201, 174, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: center;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.launch-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(184, 154, 114, 0.4) 50%, transparent 100%);
}

/* Header & Logo */
.launch-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.launch-logo-container {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.launch-logo-img {
  max-height: 48px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(59, 47, 42, 0.08));
  transition: transform 0.4s ease;
}

.launch-glass-card:hover .launch-logo-img {
  transform: scale(1.03);
}

/* Pulsing Launching Soon Badge (Theme Aligned) */
.launch-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(220, 201, 174, 0.3);
  border: 1px solid rgba(184, 154, 114, 0.35);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-bronze);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-bronze);
  animation: pulseGlow 1.8s infinite ease-in-out;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
    box-shadow: 0 0 4px var(--accent-bronze);
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 14px var(--accent-bronze), 0 0 20px rgba(184, 154, 114, 0.5);
  }
  100% {
    transform: scale(0.9);
    opacity: 0.7;
    box-shadow: 0 0 4px var(--accent-bronze);
  }
}

.status-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-primary);
  text-transform: uppercase;
}

/* Typography (Matching Editorial Theme) */
.launch-typography {
  margin-bottom: 32px;
}

.launch-headline {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  background: linear-gradient(135deg, #3B2F2A 0%, #4A433F 50%, #7A5C38 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.launch-subheadline {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent-bronze);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Live Countdown Grid (Soft Ivory Cards & Deep Brown Numbers) */
.launch-countdown-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.launch-countdown-view.fade-out {
  opacity: 0;
  transform: translateY(-20px) scale(0.95);
  pointer-events: none;
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(184, 154, 114, 0.35);
  border-radius: 20px;
  padding: 18px 16px;
  min-width: 100px;
  box-shadow: 0 8px 24px rgba(59, 47, 42, 0.05),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.countdown-box:hover {
  transform: translateY(-3px);
  border-color: var(--accent-bronze);
  box-shadow: 0 12px 28px rgba(59, 47, 42, 0.09);
}

.countdown-val-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.countdown-val {
  font-family: var(--font-sans);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.countdown-unit-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent-bronze);
  margin-top: 10px;
  text-transform: uppercase;
}

.countdown-separator {
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--accent-bronze);
  line-height: 1;
  margin-bottom: 24px;
  animation: colonPulse 2s infinite ease-in-out;
}

@keyframes colonPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.9; }
}

.launch-timezone-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  padding: 8px 18px;
  background: rgba(248, 245, 240, 0.85);
  border-radius: 100px;
  border: 1px solid rgba(184, 154, 114, 0.3);
}

.tz-icon {
  stroke: var(--accent-bronze);
  flex-shrink: 0;
}

/* STATE 2: Launching Animation View */
.launch-revealing-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.launch-revealing-view.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.launching-orb-ring {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.ring-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--accent-bronze);
  border-right-color: rgba(184, 154, 114, 0.4);
  animation: spinRing 1.2s linear infinite;
  box-shadow: 0 0 20px rgba(184, 154, 114, 0.25);
}

@keyframes spinRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.ring-emblem {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(59, 47, 42, 0.15));
  animation: emblemPulse 1.5s infinite alternate ease-in-out;
}

@keyframes emblemPulse {
  0% { transform: scale(0.92); opacity: 0.8; }
  100% { transform: scale(1.08); opacity: 1; }
}

.launching-text {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.launching-subtext {
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* Responsive Adjustments for Mobile */
@media (max-width: 640px) {
  .launch-glass-card {
    padding: 36px 20px;
    border-radius: 24px;
  }

  .launch-headline {
    font-size: 1.6rem;
  }

  .launch-subheadline {
    font-size: 0.8rem;
  }

  .countdown-grid {
    gap: 6px;
  }

  .countdown-box {
    min-width: 68px;
    padding: 12px 8px;
    border-radius: 14px;
  }

  .countdown-val {
    font-size: 2.1rem;
  }

  .countdown-unit-label {
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    margin-top: 6px;
  }

  .countdown-separator {
    font-size: 1.6rem;
    margin-bottom: 18px;
  }

  .launch-timezone-info {
    font-size: 0.7rem;
    padding: 6px 12px;
  }
}

@media (max-width: 400px) {
  .countdown-box {
    min-width: 58px;
    padding: 10px 4px;
  }

  .countdown-val {
    font-size: 1.75rem;
  }
}