/* ========================================================
   Nishka Jewellery — Launching Soon Page Styles
   ======================================================== */

:root {
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --script: 'Pinyon Script', cursive;
  --brand-pink: #b03a55;
  --brand-pink-dark: #962841;
  --brand-pink-glow: rgba(183, 93, 102, 0.45);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body.coming-soon-body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000000;
  color: #ffffff;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Artwork with Subtle Ambient Motion */
.cs-background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/sider3.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  z-index: 1;
  will-change: transform;
  animation: csKenBurns 18s ease-in-out infinite alternate;
}

@keyframes csKenBurns {
  0% {
    transform: scale(1.0);
  }
  100% {
    transform: scale(1.035);
  }
}

/* Bottom Rosy Gradient Wash (as per reference design) */
.cs-bottom-gradient {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 52%;
  background: linear-gradient(
    to bottom,
    rgba(174, 72, 82, 0) 0%,
    rgba(174, 72, 82, 0.28) 22%,
    rgba(174, 72, 82, 0.68) 48%,
    rgba(174, 72, 82, 0.92) 72%,
    rgba(174, 72, 82, 0.99) 90%,
    rgba(174, 72, 82, 1) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Subtle Vignette */
.cs-vignette {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
  z-index: 3;
}

/* Audio Controller Button */
.audio-control {
  position: fixed !important;
  top: clamp(16px, 3vh, 32px) !important;
  right: clamp(16px, 3vw, 32px) !important;
  width: 44px !important;
  height: 44px !important;
  z-index: 99 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  border-radius: 50% !important;
  transition: transform 0.25s ease, opacity 0.25s ease !important;
}

.audio-control img {
  width: 44px !important;
  height: 44px !important;
  display: block !important;
}

.audio-control:hover {
  transform: scale(1.08);
}

/* Main Layout Container */
.cs-container {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  pointer-events: none;
}

.cs-top-content,
.cs-bottom-content {
  pointer-events: auto;
}

/* ========================================================
   TOP HEADER TYPOGRAPHY (DESIGN HERO LOCKUP)
   ======================================================== */
.cs-top-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: clamp(24px, 4.5vh, 48px);
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.cs-hero-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  user-select: none;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

/* Top row: Initial A + (Eyebrow & Line 1) */
.cs-lockup-top {
  display: flex;
  align-items: flex-end;
  position: relative;
}

/* Initial A Vector Glyph (Snell Roundhand) */
.cs-initial-a {
  display: inline-flex;
  align-items: flex-end;
  width: clamp(52px, 5.2vw, 92px);
  height: clamp(44px, 4.5vw, 78px);
  margin-right: clamp(4px, 0.5vw, 8px);
  color: #ffffff;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.25));
  position: relative;
  bottom: clamp(-3px, -0.3vw, -6px);
}

.cs-initial-a svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Stacked Eyebrow + Line 1 */
.cs-lockup-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.cs-eyebrow {
  font-family: var(--sans);
  font-size: clamp(8px, 0.72vw, 11px);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 clamp(4px, 0.45vw, 7px) 0;
  padding: 0;
  white-space: nowrap;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}

.cs-heading-l1,
.cs-heading-l2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(23px, 2.9vw, 46px);
  line-height: 1;
  letter-spacing: 0.015em;
  color: #ffffff;
  white-space: nowrap;
  margin: 0;
  padding: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

/* Bottom row: Line 2 centered */
.cs-lockup-bottom {
  margin-top: clamp(4px, 0.4vw, 7px);
  text-align: center;
}

/* Middle Center Spacer (Keeps monolith & Nishka logo clearly in view) */
.cs-center-spacer {
  flex: 1;
  width: 100%;
  pointer-events: none;
}

/* ========================================================
   BOTTOM EMAIL COLLECTION SECTION
   ======================================================== */
.cs-bottom-content {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px clamp(20px, 4vh, 42px);
  position: relative;
  box-sizing: border-box;
}

/* Label: JOIN THE OPENING LIST */
.cs-form-label {
  font-family: var(--sans);
  font-size: clamp(10.5px, 1.1vw, 12.5px);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 14px 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}

/* Form Container */
.cs-form {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  gap: 8px;
  margin: 0 0 14px 0;
  box-sizing: border-box;
}

/* Direct Input Field */
.cs-input {
  flex: 1 1 0;
  min-width: 0;
  width: 0;
  height: 46px;
  background: var(--brand-pink-glow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  border-bottom: 2px solid #ffffff;
  border-radius: 0;
  color: #ffffff;
  font-family: var(--sans);
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0 14px;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.cs-input::placeholder {
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(9.5px, 0.95vw, 11px);
}

.cs-input:focus {
  background: rgba(183, 93, 102, 0.7);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cs-input--error {
  border-bottom-color: #ffb4b4 !important;
  animation: csShake 0.4s ease-in-out;
}

@keyframes csShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* Submit Button: NOTIFY ME */
.cs-btn {
  height: 46px;
  padding: 0 clamp(16px, 2.2vw, 24px);
  background: #ffffff;
  border: none;
  border-radius: 0;
  color: var(--brand-pink);
  font-family: var(--sans);
  font-size: clamp(10px, 1vw, 11.5px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.cs-btn:hover {
  background: #fdf2f4;
  color: var(--brand-pink-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.cs-btn:active {
  transform: translateY(0);
}

.cs-btn:disabled {
  opacity: 0.85;
  cursor: default;
}

/* Subtext Below Form */
.cs-subtext {
  font-family: var(--sans);
  font-size: clamp(9px, 0.85vw, 10.5px);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  max-width: 480px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

/* Confirmation Toast */
.cs-toast {
  position: absolute;
  bottom: 100%;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-pink-dark);
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cs-toast--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cs-toast-icon {
  width: 14px;
  height: 14px;
  stroke: var(--brand-pink);
}

/* ========================================================
   RESPONSIVENESS (MOBILE & TABLET ADJUSTMENTS)
   ======================================================== */
@media (max-width: 768px) {
  .cs-background {
    background-position: center center;
  }

  .cs-top-content {
    padding-top: clamp(24px, 5vh, 40px);
    padding-left: 16px;
    padding-right: 16px;
  }

  .cs-initial-a {
    width: clamp(52px, 13vw, 72px);
    height: clamp(42px, 11vw, 58px);
    margin-right: 4px;
    bottom: -3px;
  }

  .cs-eyebrow {
    font-size: clamp(8px, 2.2vw, 9.5px);
    margin-bottom: 4px;
  }

  .cs-heading-l1,
  .cs-heading-l2 {
    font-size: clamp(21px, 5.5vw, 29px);
    line-height: 1;
  }

  .cs-bottom-content {
    padding: 0 20px clamp(20px, 4.5vh, 32px);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .cs-form {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 380px;
    gap: 8px;
    margin: 0 0 14px 0;
    box-sizing: border-box;
  }

  .cs-input {
    flex: 1 1 0% !important;
    width: 0 !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 44px;
    padding: 0 12px;
    font-size: 11px;
    box-sizing: border-box !important;
  }

  .cs-input::placeholder {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .cs-btn {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 44px;
    padding: 0 18px !important;
    font-size: 10.5px;
    letter-spacing: 0.14em;
    flex-shrink: 0;
  }

  .cs-subtext {
    max-width: 320px;
    font-size: 9px;
    line-height: 1.55;
  }
}

@media (max-width: 380px) {
  .cs-heading {
    font-size: 19px;
  }
  .cs-bottom-content {
    padding: 0 16px clamp(16px, 4vh, 28px);
  }
  .cs-btn {
    padding: 0 11px;
    letter-spacing: 0.1em;
  }
}
