/* ==========================================================================
   SHAJAREH - LUXURY MODEST WEAR & HIJAB LIFESTYLE
   Styles & Visual Aesthetic
   ========================================================================== */
:root {
  --color-taupe-dark: #503B2F;
  --color-taupe-primary: #755B4C;
  --color-taupe-medium: #8C7362;
  --color-taupe-light: #B49F90;
  --color-sand: #E8DED4;
  --color-cream: #FAF7F2;
  --color-linen: #F5EFE6;
  --color-gold-accent: #C2A37E;
  --color-white: #FFFFFF;
  --color-text-dark: #3F3129;
  --color-text-muted: #7E6B5F;
  --color-text-light: #F7EFE9;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Pinyon Script', cursive;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 10px 30px -10px rgba(90, 67, 54, 0.12);
  --shadow-elevated: 0 20px 40px -15px rgba(90, 67, 54, 0.2);

  /* Safe Area Insets for Modern Mobile Devices (iPhone notch, home bar, Android gesture areas) */
  --sat: env(safe-area-inset-top, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  background-color: #EDE4DC;
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* Background Scene */
.background-wrapper {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.01);
  filter: brightness(0.99) contrast(1.02);
  animation: cinematicHeroZoom 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cinematicHeroZoom {
  0% {
    transform: scale(1.06);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.01);
    opacity: 1;
  }
}

.background-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 55% 45%,
    rgba(255, 252, 248, 0.22) 0%,
    rgba(247, 240, 233, 0.32) 60%,
    rgba(215, 195, 180, 0.45) 100%
  );
  pointer-events: none;
}

/* Subtle ambient sunlight shimmer */
.sunlight-shimmer {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 65% 25%,
    rgba(255, 250, 240, 0.25) 0%,
    rgba(255, 245, 230, 0.05) 50%,
    transparent 80%
  );
  pointer-events: none;
  animation: shimmerPulse 8s ease-in-out infinite alternate;
}

@keyframes shimmerPulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.03); }
}

/* Site Shell */
.site-container {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(1.8rem + var(--sat)) calc(3rem + var(--sar)) calc(2rem + var(--sab)) calc(3rem + var(--sal));
  max-width: 1560px;
  width: 100%;
  margin: 0 auto;
  animation: siteGracefulFade 0.35s ease-out;
}

@keyframes siteGracefulFade {
  from { opacity: 0.85; }
  to { opacity: 1; }
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 0.2rem 0 1.2rem;
  animation: luxuryRevealDown 1s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

@keyframes luxuryRevealDown {
  0% {
    opacity: 0;
    transform: translateY(-16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-corner {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: opacity 0.3s ease;
}

.brand-corner:hover {
  opacity: 0.8;
}

.corner-logo-img {
  height: 36px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.4));
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.corner-logo-img:hover {
  opacity: 0.88;
  transform: scale(1.02);
}

.header-ethos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-taupe-dark);
  font-weight: 500;
  white-space: nowrap;
}

.header-ethos .sep {
  font-size: 0.8rem;
  opacity: 0.45;
  color: var(--color-taupe-medium);
  font-weight: 300;
  margin: 0 0.2rem;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-taupe-dark);
  text-decoration: none;
  transition: var(--transition-smooth);
  opacity: 0.85;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
}

.social-icon-btn:hover {
  opacity: 1;
  color: var(--color-taupe-dark);
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 10px rgba(90, 67, 54, 0.1);
}

.social-icon-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}

.btn-pill-waitlist {
  background-color: var(--color-taupe-primary);
  color: var(--color-white);
  border: none;
  padding: 0.65rem 1.45rem;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 14px rgba(117, 91, 76, 0.28);
  text-decoration: none;
  white-space: nowrap;
}

.btn-pill-waitlist:hover {
  background-color: var(--color-taupe-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(90, 67, 54, 0.38);
}

.btn-pill-waitlist .arrow {
  transition: transform 0.3s ease;
  font-size: 0.95rem;
}

.btn-pill-waitlist:hover .arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Hero Main Content
   ========================================================================== */
.hero-content-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 1rem 2rem;
  margin: 0 auto;
  max-width: 820px;
  width: 100%;
}

/* Top Subtitle */
.hero-pretitle {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--color-taupe-primary);
  margin-bottom: 1.2rem;
  opacity: 0.92;
  animation: luxuryRevealUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

/* Brand Main Title */
.hero-brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.4rem;
  width: 100%;
  animation: logoLuxuryReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
}

.hero-logo-img {
  max-width: 440px;
  width: 80%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(65, 39, 26, 0.12));
  transition: transform 0.4s ease;
}

.hero-logo-img:hover {
  transform: scale(1.015);
}

/* Ornate Divider with Diamond (Above Brand Logo) */
.ornate-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 220px;
  margin: 0.2rem auto 1.2rem;
  color: var(--color-taupe-light);
  animation: flourishReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both;
}

.ornate-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(140, 115, 98, 0.4) 50%,
    rgba(140, 115, 98, 0.75) 100%
  );
}

.ornate-line.right {
  background: linear-gradient(
    90deg,
    rgba(140, 115, 98, 0.75) 0%,
    rgba(140, 115, 98, 0.4) 50%,
    transparent 100%
  );
}

.ornate-diamond {
  width: 7px;
  height: 7px;
  background-color: #41271a;
  transform: rotate(45deg);
  display: inline-block;
}

/* Script "Coming Soon" */
.hero-coming-soon {
  font-family: var(--font-script);
  font-size: clamp(3.6rem, 5.8vw, 5.2rem);
  font-weight: 400;
  color: #41271a;
  line-height: 1.15;
  margin-top: 1.1rem;
  margin-bottom: 1.35rem;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 2;
  animation: cursiveLuxuryReveal 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.62s both;
}

/* Sub-Headline */
.hero-tagline {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #5C4537;
  line-height: 1.85;
  margin-bottom: 2.3rem;
  opacity: 0.95;
  animation: luxuryRevealUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.76s both;
}

/* Countdown Section & Official Launch Date Link */
.countdown-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
  animation: luxuryRevealUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.82s both;
}

.countdown-section.hidden {
  display: none !important;
}

.launch-date-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.42rem 1.25rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(194, 163, 126, 0.65);
  border-radius: 9999px;
  color: var(--color-taupe-dark);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 18px rgba(80, 59, 47, 0.07);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  max-width: 95vw;
  text-align: center;
}

.launch-date-link:hover {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--color-taupe-primary);
  color: var(--color-text-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(80, 59, 47, 0.14);
}

.launch-date-sparkle {
  color: var(--color-gold-accent);
  font-size: 0.78rem;
  line-height: 1;
  animation: sparkleTwinkle 2.5s infinite ease-in-out;
}

.launch-date-prefix {
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-taupe-primary);
  font-size: 0.65rem;
  text-transform: uppercase;
}

.launch-date-value {
  font-family: var(--font-serif);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-taupe-dark);
}

.launch-date-arrow {
  color: var(--color-gold-accent);
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 0.25s ease;
  margin-left: 0.15rem;
}

.launch-date-link:hover .launch-date-arrow {
  transform: translateY(2px);
}

@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0.45; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Countdown Bar */
.countdown-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.55rem 1.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 18px rgba(117, 91, 76, 0.06);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.countdown-bar.hidden {
  display: none !important;
}

.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 42px;
}

.countdown-num {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-taupe-dark);
  line-height: 1;
}

.countdown-label {
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-taupe-medium);
  font-weight: 600;
  margin-top: 0.2rem;
}

.countdown-sep {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-taupe-light);
  line-height: 1;
  margin-top: -4px;
}

/* ==========================================================================
   Email Signup Form
   ========================================================================== */
.waitlist-form-container {
  width: 100%;
  max-width: 530px;
  margin-bottom: 2.2rem;
  animation: luxuryRevealUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}

.waitlist-pill-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.35rem 0.35rem 0.35rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(215, 195, 180, 0.6);
  box-shadow: 0 8px 30px rgba(90, 67, 54, 0.09);
  transition: var(--transition-smooth);
}

.waitlist-pill-form:focus-within {
  border-color: var(--color-taupe-primary);
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 10px 35px rgba(90, 67, 54, 0.16);
}

@keyframes formPulseHighlight {
  0% {
    box-shadow: 0 0 0 0 rgba(194, 163, 126, 0.75), 0 8px 30px rgba(90, 67, 54, 0.15);
    transform: scale(1);
  }
  45% {
    box-shadow: 0 0 0 10px rgba(194, 163, 126, 0.35), 0 16px 42px rgba(80, 59, 47, 0.25);
    transform: scale(1.025);
  }
  100% {
    box-shadow: 0 8px 30px rgba(90, 67, 54, 0.09);
    transform: scale(1);
  }
}

.waitlist-pill-form.form-pulse-highlight {
  animation: formPulseHighlight 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  border-color: var(--color-gold-accent) !important;
}

.waitlist-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-text-dark);
  font-weight: 400;
  padding: 0.45rem 0.5rem 0.45rem 0;
}

.waitlist-input::placeholder {
  color: #9E8B7E;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.btn-pill-notify {
  background-color: var(--color-taupe-primary);
  color: var(--color-white);
  border: none;
  padding: 0.72rem 1.5rem;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-pill-notify:hover {
  background-color: var(--color-taupe-dark);
  box-shadow: 0 4px 14px rgba(90, 67, 54, 0.3);
  transform: scale(1.02);
}

.btn-pill-notify:active {
  transform: scale(0.98);
}

.form-helper-text {
  margin-top: 0.8rem;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-taupe-medium);
  font-weight: 500;
}

/* ==========================================================================
   Brand Pillars (Three Icons & Highlights)
   ========================================================================== */
.pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 660px;
  position: relative;
  padding-top: 0.25rem;
}

.pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 0.75rem;
}

.pillar-item:nth-child(1) {
  animation: luxuryRevealUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.05s both;
}

.pillar-item:nth-child(2) {
  animation: luxuryRevealUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.18s both;
}

.pillar-item:nth-child(3) {
  animation: luxuryRevealUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.3s both;
}

/* Vertical divider lines between pillars */
.pillar-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(180, 159, 144, 0.35) 30%,
    rgba(180, 159, 144, 0.35) 70%,
    transparent 100%
  );
}

.pillar-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(140, 115, 98, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-taupe-primary);
  margin-bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  transition: var(--transition-smooth);
}

.pillar-item:hover .pillar-icon-wrap {
  border-color: var(--color-taupe-primary);
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.pillar-icon-wrap svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.4;
}

.pillar-title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-taupe-dark);
  margin-bottom: 0.3rem;
}

.pillar-desc {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.35;
  font-weight: 400;
}

/* ==========================================================================
   Editorial Floating Quotes & Accents
   ========================================================================== */
.site-editorial-footer {
  display: contents;
}

.editorial-bottom-left {
  position: fixed;
  bottom: 2.2rem;
  left: 3rem;
  z-index: 20;
  max-width: 220px;
  pointer-events: none;
  animation: luxuryFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.35s both;
}

.rooted-text {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  line-height: 1.6;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #F8F4EE;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(70, 45, 30, 0.45);
}

.editorial-right-quote {
  position: fixed;
  right: 3rem;
  top: 36%;
  transform: translateY(-50%);
  z-index: 20;
  max-width: 190px;
  text-align: left;
  animation: luxuryFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.35s both;
}

.quote-content {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--color-taupe-dark);
  font-weight: 400;
  margin-bottom: 0.65rem;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.quote-underline {
  width: 50px;
  height: 1px;
  background-color: var(--color-taupe-light);
  opacity: 0.8;
}

.editorial-line {
  width: 42px;
  height: 1px;
  background-color: var(--color-taupe-light);
  opacity: 0.85;
  margin-top: 0.55rem;
}

/* Bottom-Right Section with Botanical Line Art */
.editorial-bottom-right {
  position: fixed;
  bottom: 2.2rem;
  right: 3rem;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  gap: 0.9rem;
  pointer-events: none;
  animation: luxuryFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.35s both;
}

.beauty-text {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  line-height: 1.6;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-taupe-dark);
  font-weight: 500;
}

.botanical-art {
  width: 46px;
  height: 64px;
  color: #8C7362;
  opacity: 0.8;
}

.botanical-art svg {
  width: 100%;
  height: 100%;
}

/* Editorial Footer Social Media Bar */
.footer-social-wrapper {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 21;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  pointer-events: auto;
  animation: luxuryFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.35s both;
}

.footer-social-label {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-taupe-primary);
  font-weight: 600;
  opacity: 0.9;
  white-space: nowrap;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-social-links .social-icon-btn {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(194, 163, 126, 0.38);
  box-shadow: 0 2px 8px rgba(90, 67, 54, 0.06);
}

.footer-social-links .social-icon-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--color-taupe-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(90, 67, 54, 0.12);
}

/* Animation Keyframes */
@keyframes luxuryRevealUp {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes flourishReveal {
  0% {
    opacity: 0;
    transform: scaleX(0.7);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes logoLuxuryReveal {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cursiveLuxuryReveal {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes luxuryFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .background-image,
  .site-header,
  .hero-pretitle,
  .ornate-divider,
  .hero-brand-block,
  .hero-coming-soon,
  .hero-tagline,
  .waitlist-form-container,
  .pillar-item,
  .editorial-bottom-left,
  .editorial-right-quote,
  .editorial-bottom-right {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Admin Badge / Trigger (Discreet Owner Access)
   ========================================================================== */
.admin-hub-trigger {
  position: fixed;
  bottom: 1.4rem;
  right: 1.8rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(180, 159, 144, 0.35);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-taupe-dark);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(90, 67, 54, 0.1);
  transition: var(--transition-smooth);
}

.admin-hub-trigger.stealth-hidden {
  display: none !important;
}

.admin-hub-trigger:hover {
  background: var(--color-taupe-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(90, 67, 54, 0.25);
}

.admin-hub-trigger svg {
  width: 14px;
  height: 14px;
}

.subscriber-count-pill {
  background: var(--color-taupe-primary);
  color: var(--color-white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  margin-left: 0.15rem;
  transition: var(--transition-smooth);
}

.admin-hub-trigger:hover .subscriber-count-pill {
  background: var(--color-white);
  color: var(--color-taupe-dark);
}

/* ==========================================================================
   Admin Modal & Authentication
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 33, 26, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.admin-modal-card {
  background: #FFFDFB;
  width: 100%;
  max-width: 840px;
  max-height: 90vh;
  max-height: 90dvh;
  height: min(90vh, 780px);
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(45, 33, 26, 0.4);
  border: 1px solid rgba(215, 195, 180, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: var(--transition-smooth);
}

.modal-overlay.active .admin-modal-card {
  transform: translateY(0) scale(1);
}

/* Dashboard Content Flex Container */
.admin-dashboard-content,
#adminDashboardContent {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}

/* PIN Lock Screen */
.admin-lock-screen {
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
}

.lock-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #FAF3EC;
  border: 1px solid rgba(180, 159, 144, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-taupe-primary);
  margin-bottom: 0.5rem;
}

.lock-icon-circle svg {
  width: 28px;
  height: 28px;
}

.admin-lock-screen h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-taupe-dark);
  font-weight: 600;
}

.admin-lock-screen p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  max-width: 360px;
}

.pin-input-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.6rem;
  width: 100%;
  max-width: 340px;
}

.pin-input-field-wrap {
  position: relative;
  width: 200px;
  display: flex;
  align-items: center;
}

.pin-input {
  width: 100%;
  height: 48px;
  text-align: center;
  padding: 0 2.2rem;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  border-radius: 9999px;
  border: 1.5px solid rgba(180, 159, 144, 0.45);
  background: var(--color-white);
  color: var(--color-taupe-dark);
  outline: none;
  box-shadow: 0 4px 15px rgba(90, 67, 54, 0.06);
  transition: var(--transition-smooth);
  box-sizing: border-box;
}

.pin-input::placeholder {
  color: #B5A497;
  letter-spacing: 0.3em;
  font-size: 1.3rem;
  font-weight: 400;
}

.pin-input:focus {
  border-color: var(--color-taupe-primary);
  box-shadow: 0 0 0 3px rgba(117, 91, 76, 0.15), 0 4px 20px rgba(90, 67, 54, 0.12);
}

.btn-pin-eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  color: #A08C7F;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: opacity 0.2s;
  z-index: 2;
}

.btn-pin-eye:hover {
  opacity: 0.7;
}

.btn-unlock-pin {
  height: 48px !important;
  border-radius: 9999px !important;
  padding: 0 1.5rem !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  box-shadow: 0 4px 15px rgba(90, 67, 54, 0.15);
  transition: var(--transition-smooth);
}

.btn-unlock-pin:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(90, 67, 54, 0.22);
}

.pin-error-msg {
  font-size: 0.78rem;
  color: #B23B3B;
  min-height: 1.2rem;
  font-weight: 500;
  text-align: center;
  margin-top: 0.35rem;
}

/* Admin Dashboard Navigation & Header */
.modal-header {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.6rem 0.4rem;
  background: #FAF6F0;
  border-bottom: 1px solid rgba(215, 195, 180, 0.4);
  position: sticky;
  top: 0;
  z-index: 20;
  box-sizing: border-box;
}

.modal-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.modal-header-title-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.admin-portal-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.5rem;
  border-radius: 9999px;
  background: rgba(117, 91, 76, 0.12);
  color: var(--color-taupe-dark);
}

.modal-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Horizontal Scrollable Tabs */
.admin-nav-tabs-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  margin-top: 0.75rem;
}

.admin-nav-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  padding: 0.2rem 0.1rem;
}

.admin-nav-tabs::-webkit-scrollbar {
  display: none;
}

.admin-tab-btn {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  background: transparent;
  border: 1px solid transparent;
  padding: 0.55rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: 9999px;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  touch-action: pan-x pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.admin-tab-btn:hover {
  color: var(--color-taupe-dark);
  background: rgba(255, 255, 255, 0.7);
}

.admin-tab-btn.active {
  color: #FFFFFF;
  background: var(--color-taupe-primary);
  border-color: var(--color-taupe-primary);
  box-shadow: 0 2px 8px rgba(117, 91, 76, 0.22);
}

.tab-badge {
  background: var(--color-taupe-primary);
  color: var(--color-white);
  font-size: 0.62rem;
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
}

.admin-tab-btn.active .tab-badge {
  background: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

/* Scroll Arrow Buttons for Mobile/Tablet */
.tabs-scroll-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  border: 1px solid rgba(215, 195, 180, 0.6);
  background: #FAF6F0;
  color: var(--color-taupe-dark);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  z-index: 5;
  transition: var(--transition-smooth);
  touch-action: manipulation;
}

.tabs-scroll-btn:active {
  transform: scale(0.92);
  background: var(--color-taupe-primary);
  color: #FFFFFF;
}

.tabs-scroll-btn.left {
  margin-right: 0.35rem;
}

.tabs-scroll-btn.right {
  margin-left: 0.35rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-taupe-medium);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: rgba(180, 159, 144, 0.2);
  color: var(--color-taupe-dark);
}

.modal-body {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  padding: 1.4rem 1.8rem 3.2rem;
  overflow-y: auto !important;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--color-taupe-light) rgba(215, 195, 180, 0.2);
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: rgba(215, 195, 180, 0.2);
  border-radius: 9999px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: var(--color-taupe-primary);
  border-radius: 9999px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--color-taupe-dark);
}

/* Card Action Save Button Row */
.card-save-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.2rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(215, 195, 180, 0.45);
}

.btn-save-action {
  padding: 0.72rem 1.6rem !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 14px rgba(117, 91, 76, 0.22) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}

.btn-save-action:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(117, 91, 76, 0.32) !important;
}

.admin-tab-pane {
  display: none;
  flex-direction: column;
  gap: 1.3rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-tab-pane.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.admin-tab-pane.slide-left {
  animation: tabSlideInLeft 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-tab-pane.slide-right {
  animation: tabSlideInRight 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tabSlideInLeft {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes tabSlideInRight {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   Countdown & Visibility Controls
   ========================================================================== */
.control-card {
  background: #FAF7F2;
  border: 1px solid rgba(215, 195, 180, 0.5);
  border-radius: 14px;
  padding: 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.control-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.control-card-header h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-taupe-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.control-card-header p {
  font-size: 0.74rem;
  color: var(--color-text-muted);
}

/* Luxury Interactive Switch Button */
.luxury-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(180, 159, 144, 0.45);
  cursor: pointer;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  transition: var(--transition-smooth);
  user-select: none;
  outline: none;
}

.luxury-switch-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--color-taupe-primary);
  box-shadow: 0 2px 8px rgba(90, 67, 54, 0.08);
}

.switch-track {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  background-color: #C8BCB2;
  border-radius: 9999px;
  transition: var(--transition-smooth);
}

.switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background-color: #FFFFFF;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}

.luxury-switch-btn.active .switch-track {
  background-color: #55834D; /* Elegant foliage green */
}

.luxury-switch-btn.active .switch-thumb {
  transform: translateX(22px);
}

.switch-status-text {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-taupe-dark);
}

.switch-actions-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Presets & Inputs */
.datetime-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

.input-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  min-width: 240px;
}

.input-field-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-taupe-primary);
}

.datetime-input {
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(180, 159, 144, 0.45);
  background: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-text-dark);
  outline: none;
}

.datetime-input:focus {
  border-color: var(--color-taupe-primary);
  box-shadow: 0 0 0 2px rgba(117, 91, 76, 0.15);
}

.preset-buttons-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.btn-preset {
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(180, 159, 144, 0.4);
  background: var(--color-white);
  color: var(--color-taupe-dark);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-preset:hover {
  background: var(--color-taupe-primary);
  color: var(--color-white);
  border-color: var(--color-taupe-primary);
}

.status-preview-box {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(180, 159, 144, 0.3);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

.status-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #46733E;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #55834D;
  display: inline-block;
  animation: liveBlink 2s infinite;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.status-badge-disabled {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #8C7362;
  font-weight: 600;
}

/* Action Bar & Buttons */
.admin-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
}

.action-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.btn-admin {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-admin svg {
  width: 14px;
  height: 14px;
}

.btn-admin-primary {
  background-color: var(--color-taupe-primary);
  color: var(--color-white);
}

.btn-admin-primary:hover {
  background-color: var(--color-taupe-dark);
  box-shadow: 0 4px 12px rgba(90, 67, 54, 0.2);
}

.btn-admin-outline {
  background-color: transparent;
  border-color: rgba(140, 115, 98, 0.35);
  color: var(--color-taupe-dark);
}

.btn-admin-outline:hover {
  background-color: rgba(180, 159, 144, 0.15);
  border-color: var(--color-taupe-primary);
}

.btn-admin-danger {
  background-color: transparent;
  border-color: rgba(200, 80, 80, 0.25);
  color: #A34848;
}

.btn-admin-danger:hover {
  background-color: #FDF2F2;
  border-color: #A34848;
}

/* Compose Email Section */
.compose-box {
  background: #FAF7F2;
  border: 1px solid rgba(215, 195, 180, 0.5);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
}

.compose-box h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-taupe-dark);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.compose-box h4 svg {
  width: 16px;
  height: 16px;
  color: var(--color-taupe-primary);
}

.compose-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.compose-input {
  width: 100%;
  padding: 0.55rem 0.8rem;
  border-radius: 6px;
  border: 1px solid rgba(180, 159, 144, 0.4);
  background: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--color-text-dark);
  outline: none;
  transition: var(--transition-smooth);
}

.compose-input:focus {
  border-color: var(--color-taupe-primary);
  box-shadow: 0 0 0 2px rgba(117, 91, 76, 0.15);
}

.compose-textarea {
  min-height: 90px;
  resize: vertical;
}

.compose-send-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.4rem;
}

/* Subscriber List Table */
.subscriber-table-wrap {
  border: 1px solid rgba(215, 195, 180, 0.45);
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-white);
  max-height: 260px;
  overflow-y: auto;
}

.subscriber-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  text-align: left;
}

.subscriber-table th {
  background: #FAF6F0;
  padding: 0.7rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-taupe-primary);
  border-bottom: 1px solid rgba(215, 195, 180, 0.4);
  position: sticky;
  top: 0;
  z-index: 2;
}

.subscriber-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(215, 195, 180, 0.2);
  color: var(--color-text-dark);
  font-family: var(--font-sans);
}

.subscriber-table tr:last-child td {
  border-bottom: none;
}

.subscriber-table tr:hover td {
  background-color: #FDFBF8;
}

.subscriber-actions-cell {
  text-align: right;
  white-space: nowrap;
}

.btn-table-del {
  background: none;
  border: none;
  color: #B48484;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.72rem;
  transition: var(--transition-smooth);
}

.btn-table-del:hover {
  background-color: #FBEBEB;
  color: #A33535;
}

.empty-subscribers {
  padding: 2.2rem;
  text-align: center;
  color: var(--color-text-muted);
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

/* Security Tab Styles */
.security-settings-box {
  background: #FAF7F2;
  border: 1px solid rgba(215, 195, 180, 0.5);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.security-settings-box h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-taupe-dark);
}

.security-settings-box p {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* Toast Notification System */
.toast-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: #FAF6F0;
  color: var(--color-taupe-dark);
  border: 1px solid rgba(180, 159, 144, 0.45);
  padding: 0.85rem 1.4rem;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(70, 45, 30, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  transform: translateY(-20px);
  opacity: 0;
  transition: var(--transition-smooth);
  pointer-events: auto;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 18px;
  height: 18px;
  color: #55834D;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Comprehensive Multi-Screen Responsive Adaptations
   All Devices: Ultra-Small (320px) -> Mobile (375-430px) -> Phablets (481-768px) 
   -> Tablets (769-1024px) -> Laptops (1025-1439px) -> 4K (1440px+) & Landscape
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Large Desktops & 4K Displays (>= 1440px)
   -------------------------------------------------------------------------- */
@media (min-width: 1440px) {
  .site-container {
    padding: calc(2.2rem + var(--sat)) calc(4rem + var(--sar)) calc(2.5rem + var(--sab)) calc(4rem + var(--sal));
    max-width: 1600px;
  }
  .hero-logo-img {
    max-width: 480px;
  }
  .hero-coming-soon {
    font-size: 5.6rem;
  }
  .corner-logo-img {
    height: 38px;
  }
  .pillars-row {
    max-width: 860px;
    gap: 1.8rem;
  }
}

/* --------------------------------------------------------------------------
   2. Standard & Compact Desktops / Laptops (1025px to 1439px)
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) and (min-width: 1025px) {
  .site-container {
    padding: calc(1.5rem + var(--sat)) calc(2.4rem + var(--sar)) calc(2rem + var(--sab)) calc(2.4rem + var(--sal));
  }
  .editorial-bottom-left {
    left: 2.2rem;
    bottom: 2rem;
  }
  .editorial-bottom-right {
    right: 2.2rem;
    bottom: 2rem;
  }
  .editorial-right-quote {
    right: 2.2rem;
    max-width: 160px;
  }
  .quote-content {
    font-size: 1.15rem;
  }
}

/* --------------------------------------------------------------------------
   3. Short Viewport Laptops (Height <= 820px on Desktops / 1366x768 & 1440x900)
   Ensures the full composition comfortably fits without vertical scroll cut-off
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) and (max-height: 820px) {
  .site-container {
    padding-top: calc(1.1rem + var(--sat));
    padding-bottom: calc(1.4rem + var(--sab));
  }
  .site-header {
    padding: 0 0 0.8rem;
  }
  .corner-logo-img {
    height: 30px;
  }
  .hero-content-wrapper {
    padding: 0.4rem 0 0.8rem;
  }
  .hero-pretitle {
    font-size: 0.68rem;
    margin-bottom: 0.5rem;
  }
  .ornate-divider {
    margin: 0.1rem auto 0.7rem;
  }
  .hero-logo-img {
    max-width: 360px;
  }
  .hero-coming-soon {
    font-size: clamp(3.2rem, 4.8vw, 4.2rem);
    margin-top: 0.6rem;
    margin-bottom: 0.85rem;
  }
  .hero-tagline {
    font-size: 0.74rem;
    margin-bottom: 1.2rem;
  }
  .countdown-bar {
    padding: 0.45rem 1.6rem;
    margin-bottom: 1.3rem;
  }
  .waitlist-form-container {
    margin-bottom: 1.4rem;
  }
  .editorial-bottom-left,
  .editorial-bottom-right {
    bottom: 1.2rem;
  }
}

/* --------------------------------------------------------------------------
   4. Tablets & Small Laptops (769px to 1024px, e.g. iPad portrait & landscape)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .site-container {
    padding: calc(1.2rem + var(--sat)) calc(2rem + var(--sar)) calc(2.2rem + var(--sab)) calc(2rem + var(--sal));
    min-height: 100vh;
    min-height: 100dvh;
    justify-content: flex-start;
    gap: 1.5rem;
  }

  .site-header {
    grid-template-columns: auto 1fr;
    grid-template-areas: 
      "brand actions"
      "ethos ethos";
    gap: 0.85rem;
    padding-bottom: 0.6rem;
  }
  .brand-corner { grid-area: brand; }
  .header-actions { grid-area: actions; }
  .header-ethos { 
    grid-area: ethos; 
    margin-top: 0.2rem;
    font-size: 0.66rem;
    letter-spacing: 0.22em;
    justify-content: center;
  }

  .background-image {
    object-position: 28% center;
  }

  .hero-content-wrapper {
    padding: 0.8rem 0.5rem 1.5rem;
  }

  .hero-logo-img {
    max-width: 360px;
    width: 82%;
  }

  .hero-coming-soon {
    font-size: clamp(3.2rem, 7vw, 4.4rem);
    margin-top: 0.8rem;
    margin-bottom: 1.1rem;
  }

  .hero-tagline {
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    margin-bottom: 1.6rem;
  }

  /* Pillars on Tablets: 3 Frosted Cards */
  .pillars-row {
    max-width: 780px;
    gap: 1rem;
  }

  .pillar-item {
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 12px rgba(90, 67, 54, 0.04);
  }

  .pillar-item:not(:last-child)::after {
    display: none;
  }

  /* Side quote hidden on tablets to prevent overlapping hero */
  .editorial-right-quote {
    display: none;
  }

  /* Bottom Editorial Footer on Tablets: Clean flex row below content (ZERO overlap) */
  .site-editorial-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    max-width: 780px;
    margin: 2rem auto 0.5rem;
  }

  .editorial-bottom-left {
    position: static;
    text-align: left;
    max-width: 240px;
    pointer-events: auto;
  }

  .rooted-text {
    color: var(--color-taupe-dark);
    text-shadow: none;
    font-size: 0.72rem;
  }

  .editorial-bottom-right {
    position: static;
    text-align: right;
    justify-content: flex-end;
    max-width: 240px;
    pointer-events: auto;
  }

  .footer-social-wrapper {
    position: static;
    transform: none;
    order: 2;
    margin: 0.5rem auto;
  }
}

/* --------------------------------------------------------------------------
   5. Standard Mobile & Phablets (481px to 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .site-container {
    padding: calc(1rem + var(--sat)) calc(1.2rem + var(--sar)) calc(2.2rem + var(--sab)) calc(1.2rem + var(--sal));
    min-height: 100vh;
    min-height: 100dvh;
    justify-content: flex-start;
    gap: 1rem;
  }

  .site-header {
    grid-template-columns: auto 1fr;
    grid-template-areas: 
      "brand actions"
      "ethos ethos";
    gap: 0.75rem;
    padding: 0 0 0.5rem 0;
  }

  .corner-logo-img {
    height: 28px;
    max-width: 150px;
  }

  .header-actions {
    gap: 0.75rem;
  }

  .social-links {
    gap: 0.55rem;
  }

  .social-icon-btn {
    width: 30px;
    height: 30px;
  }

  .social-icon-btn svg {
    width: 15px;
    height: 15px;
  }

  .btn-pill-waitlist {
    padding: 0.48rem 0.95rem;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  .header-ethos {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    gap: 0.45rem;
    margin-top: 0.1rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .header-ethos .sep {
    margin: 0 0.1rem;
  }

  /* Background adjustment for mobile portrait */
  .background-image {
    object-position: 24% 35%;
  }

  .background-overlay {
    background: radial-gradient(
      circle at 50% 35%,
      rgba(255, 252, 248, 0.4) 0%,
      rgba(247, 240, 233, 0.6) 60%,
      rgba(215, 195, 180, 0.72) 100%
    );
  }

  /* Hero adjustments */
  .hero-content-wrapper {
    padding: 0.8rem 0.2rem 1.4rem;
    max-width: 100%;
  }

  .hero-pretitle {
    font-size: 0.64rem;
    letter-spacing: 0.22em;
    margin-bottom: 0.7rem;
  }

  .ornate-divider {
    width: 160px;
    margin: 0.1rem auto 0.85rem;
  }

  .hero-logo-img {
    max-width: 310px;
    width: 86%;
  }

  .hero-coming-soon {
    font-size: clamp(2.9rem, 10vw, 3.7rem);
    margin-top: 0.75rem;
    margin-bottom: 1rem;
  }

  .hero-tagline {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    line-height: 1.75;
    margin-bottom: 1.6rem;
  }

  .countdown-bar {
    padding: 0.45rem 1.1rem;
    gap: 0.8rem;
    margin-bottom: 1.6rem;
    max-width: 95vw;
  }

  .countdown-num {
    font-size: 1.15rem;
  }

  .countdown-label {
    font-size: 0.5rem;
  }

  /* Touch-friendly Mobile Waitlist Form */
  .waitlist-form-container {
    max-width: 380px;
    width: 100%;
    margin-bottom: 1.8rem;
  }

  .waitlist-pill-form {
    flex-direction: column;
    border-radius: 18px;
    padding: 0.6rem;
    gap: 0.55rem;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 24px rgba(90, 67, 54, 0.08);
  }

  .waitlist-input {
    width: 100%;
    text-align: center;
    padding: 0.75rem 0.8rem;
    font-size: 16px; /* Prevents auto-zoom on iOS */
    border-radius: 10px;
    background: #FAF7F2;
    border: 1px solid rgba(180, 159, 144, 0.3);
  }

  .btn-pill-notify {
    width: 100%;
    justify-content: center;
    padding: 0.78rem;
    font-size: 0.72rem;
    min-height: 48px;
    border-radius: 10px;
    touch-action: manipulation;
  }

  .form-helper-text {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    margin-top: 0.5rem;
  }

  /* Touch-friendly Brand Pillars */
  .pillars-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: 420px;
    width: 100%;
  }

  .pillar-item {
    padding: 0.85rem 1.1rem;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 3px 10px rgba(90, 67, 54, 0.04);
  }

  .pillar-item:not(:last-child)::after {
    display: none;
  }

  .pillar-icon-wrap {
    margin-bottom: 0.45rem;
    width: 32px;
    height: 32px;
  }

  .pillar-icon-wrap svg {
    width: 15px;
    height: 15px;
  }

  /* Mobile Editorial Footer: Cleanly stacked at bottom */
  .site-editorial-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.3rem;
    margin: 2rem auto 0.8rem;
    width: 100%;
  }

  .editorial-bottom-left {
    position: static;
    margin: 0;
    text-align: center;
    max-width: 100%;
    pointer-events: auto;
  }

  .rooted-text {
    font-size: 0.7rem;
    color: var(--color-taupe-dark);
    text-shadow: none;
  }

  .editorial-bottom-right {
    position: static;
    margin: 0;
    justify-content: center;
    text-align: center;
    pointer-events: auto;
  }

  .beauty-text {
    font-size: 0.7rem;
  }

  .editorial-line {
    margin: 0.35rem auto 0 auto;
  }

  .botanical-art {
    width: 38px;
    height: 52px;
  }

  .footer-social-wrapper {
    position: static;
    transform: none;
    order: 2;
    margin: 0.8rem auto 0.3rem;
  }

  /* Admin Trigger on mobile */
  .admin-hub-trigger {
    bottom: calc(0.8rem + var(--sab));
    right: calc(0.8rem + var(--sar));
    padding: 0.35rem 0.75rem;
    font-size: 0.65rem;
  }

  /* Admin Modal on mobile - Seamless App-like Full Experience */
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .admin-modal-card {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .modal-header {
    padding: max(0.85rem, env(safe-area-inset-top, 0px)) 0.75rem 0.45rem !important;
    background: #FAF6F0;
    border-bottom: 1px solid rgba(215, 195, 180, 0.4);
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100% !important;
  }

  .modal-header-top {
    padding: 0 0.2rem;
  }

  .modal-header h3 {
    font-size: 1.15rem !important;
  }

  .modal-close-btn {
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.35rem !important;
    background: rgba(180, 159, 144, 0.15);
    border-radius: 50%;
  }

  #btnLockAdmin {
    min-height: 38px !important;
    padding: 0.35rem 0.75rem !important;
    font-size: 0.75rem !important;
  }

  .tabs-scroll-btn {
    display: flex !important;
  }

  .admin-nav-tabs-wrapper {
    margin-top: 0.5rem !important;
    width: 100% !important;
  }

  .admin-nav-tabs {
    gap: 0.4rem !important;
    padding: 0.3rem 0.15rem 0.45rem !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    touch-action: pan-x pan-y !important;
    overscroll-behavior-x: contain !important;
  }

  .admin-nav-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .admin-tab-btn {
    flex-shrink: 0 !important;
    min-height: 42px !important;
    padding: 0.48rem 0.95rem !important;
    font-size: 0.75rem !important;
    border-radius: 9999px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(215, 195, 180, 0.6) !important;
    white-space: nowrap !important;
    touch-action: pan-x pan-y !important;
  }

  .admin-tab-btn.active {
    background: var(--color-taupe-primary) !important;
    color: #FFFFFF !important;
    border-color: var(--color-taupe-primary) !important;
    box-shadow: 0 2px 8px rgba(117, 91, 76, 0.25) !important;
  }

  .admin-tab-btn.active .tab-badge {
    background: rgba(255, 255, 255, 0.3) !important;
    color: #FFFFFF !important;
  }

  .modal-body {
    flex: 1 !important;
    padding: 1rem 0.9rem calc(2.5rem + env(safe-area-inset-bottom, 0px)) 0.9rem !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 1.1rem !important;
  }

  .control-card {
    padding: 1rem 1rem !important;
    border-radius: 14px !important;
    gap: 0.85rem !important;
  }

  .control-card-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.85rem !important;
  }

  .switch-actions-row {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }

  .switch-actions-row .luxury-switch-btn {
    width: 100% !important;
    justify-content: space-between !important;
    min-height: 44px !important;
    padding: 0.5rem 1rem !important;
  }

  .switch-actions-row .btn-admin {
    flex: 1 !important;
    min-height: 42px !important;
    text-align: center !important;
    justify-content: center !important;
    font-size: 0.78rem !important;
  }

  .datetime-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.85rem !important;
  }

  .input-field-wrap {
    min-width: 100% !important;
  }

  /* Prevent iOS Safari auto-zoom by ensuring minimum 16px font */
  .compose-input,
  .datetime-input,
  .pin-input {
    font-size: 16px !important;
  }

  .preset-buttons-group {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.4rem !important;
    width: 100% !important;
  }

  .btn-preset {
    min-height: 42px !important;
    padding: 0.45rem 0.3rem !important;
    font-size: 0.74rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .admin-action-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.6rem !important;
  }

  .action-btn-group {
    flex-direction: column !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  .action-btn-group .btn-admin,
  #clearSubscribersBtn {
    width: 100% !important;
    min-height: 44px !important;
    justify-content: center !important;
    font-size: 0.78rem !important;
  }

  /* Subscriber Table transformed into touch-friendly cards on mobile */
  .subscriber-table-wrap {
    overflow-x: visible !important;
    border: none !important;
    background: transparent !important;
  }

  .subscriber-table {
    min-width: 100% !important;
    display: block !important;
  }

  .subscriber-table thead {
    display: none !important;
  }

  .subscriber-table tbody {
    display: block !important;
    width: 100% !important;
  }

  .subscriber-table tr {
    display: block !important;
    background: #FFFFFF !important;
    border: 1px solid rgba(215, 195, 180, 0.45) !important;
    border-radius: 12px !important;
    padding: 0.85rem 1rem !important;
    margin-bottom: 0.65rem !important;
    box-shadow: 0 2px 6px rgba(90, 67, 54, 0.04) !important;
  }

  .subscriber-table td {
    display: block !important;
    padding: 0.2rem 0 !important;
    border: none !important;
    text-align: left !important;
  }

  .subscriber-table td:nth-child(1) strong {
    font-size: 0.92rem !important;
    word-break: break-all !important;
    color: var(--color-taupe-dark) !important;
    display: block !important;
  }

  .subscriber-table td:nth-child(2) {
    font-size: 0.74rem !important;
    color: var(--color-text-muted) !important;
    margin-top: 0.15rem !important;
  }

  .subscriber-table .subscriber-actions-cell {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 0.5rem !important;
    padding-top: 0.5rem !important;
    border-top: 1px dashed rgba(215, 195, 180, 0.4) !important;
  }

  .subscriber-table .btn-table-del {
    min-height: 38px !important;
    padding: 0.4rem 0.9rem !important;
    font-size: 0.76rem !important;
  }

  .subscriber-table .empty-subscribers {
    text-align: center !important;
    padding: 2rem 1rem !important;
  }

  .compose-send-options {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }

  .compose-send-options .btn-admin {
    width: 100% !important;
    min-height: 44px !important;
    justify-content: center !important;
  }

  /* Admin Lock Screen on mobile */
  .admin-lock-screen {
    padding: max(2rem, env(safe-area-inset-top, 0px)) 1.2rem 2.5rem !important;
    justify-content: center !important;
    min-height: 80vh !important;
  }

  .pin-input-group {
    width: 100% !important;
    max-width: 280px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    margin: 0.6rem auto 0 !important;
  }

  .pin-input-field-wrap {
    width: 100% !important;
  }

  .pin-input {
    width: 100% !important;
    max-width: 100% !important;
    height: 50px !important;
    font-size: 1.4rem !important;
    letter-spacing: 0.35em !important;
    padding: 0 2.5rem !important;
  }

  .btn-pin-eye {
    right: 12px !important;
    font-size: 1.05rem !important;
  }

  #btnUnlockAdmin,
  .btn-unlock-pin {
    width: 100% !important;
    height: 48px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    justify-content: center !important;
  }
}

/* --------------------------------------------------------------------------
   6. Compact Mobile Screens (<= 540px, e.g. iPhone 12/13/14/15/16, Galaxy S)
   Refines header so logo and social links never wrap or crowd each other
   -------------------------------------------------------------------------- */
@media (max-width: 540px) {
  /* Hide redundant header waitlist button on mobile (main form is immediately visible in hero) */
  .site-header .btn-pill-waitlist {
    display: none;
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: 
      "brand actions"
      "ethos ethos";
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.3rem;
    width: 100%;
  }

  .brand-corner {
    grid-area: brand;
    display: flex;
    align-items: center;
    justify-self: start;
  }

  .corner-logo-img {
    height: 26px;
    max-width: 135px;
  }

  .header-actions {
    grid-area: actions;
    justify-self: end;
    display: flex;
    align-items: center;
  }

  .social-links {
    gap: 0.45rem;
  }

  .social-icon-btn {
    width: 28px;
    height: 28px;
  }

  .social-icon-btn svg {
    width: 14px;
    height: 14px;
  }

  .header-ethos {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.5rem, 2.3vw, 0.6rem);
    letter-spacing: 0.12em;
    gap: 0.35rem;
    margin-top: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* --------------------------------------------------------------------------
   7. Extra-Small Mobile Screens (<= 380px, down to 320px)
   E.g. iPhone SE (1st & 2nd gen), Galaxy Fold outer display (320px)
   -------------------------------------------------------------------------- */
@media (max-width: 380px) {
  .site-container {
    padding: calc(0.65rem + var(--sat)) calc(0.75rem + var(--sar)) calc(1.8rem + var(--sab)) calc(0.75rem + var(--sal));
    gap: 0.65rem;
  }

  .corner-logo-img {
    height: 23px;
    max-width: 115px;
  }

  .social-links {
    gap: 0.35rem;
  }

  .social-icon-btn {
    width: 26px;
    height: 26px;
  }

  .social-icon-btn svg {
    width: 13px;
    height: 13px;
  }

  .site-header .social-links .header-extra-social {
    display: none;
  }

  .launch-date-link {
    font-size: 0.65rem;
    padding: 0.35rem 0.8rem;
    gap: 0.35rem;
  }

  .launch-date-value {
    font-size: 0.82rem;
  }

  .header-ethos {
    font-size: 0.5rem;
    letter-spacing: 0.08em;
    gap: 0.2rem;
  }

  .hero-pretitle {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    margin-bottom: 0.55rem;
  }

  .ornate-divider {
    width: 130px;
    margin: 0 auto 0.65rem;
  }

  .hero-logo-img {
    max-width: 230px;
    width: 88%;
  }

  .hero-coming-soon {
    font-size: 2.5rem;
    margin-top: 0.55rem;
    margin-bottom: 0.75rem;
    line-height: 1.05;
  }

  .hero-tagline {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    line-height: 1.6;
    margin-bottom: 1.3rem;
  }

  /* Compact Countdown Bar (Fits easily within 220px on 320px screens) */
  .countdown-bar {
    gap: 0.42rem;
    padding: 0.35rem 0.6rem;
    margin-bottom: 1.3rem;
  }

  .countdown-box {
    min-width: 26px;
  }

  .countdown-num {
    font-size: 0.95rem;
  }

  .countdown-label {
    font-size: 0.42rem;
  }

  .countdown-sep {
    font-size: 0.95rem;
  }

  /* Waitlist Form on Ultra-Small */
  .waitlist-form-container {
    max-width: 290px;
    margin-bottom: 1.4rem;
  }

  .waitlist-pill-form {
    border-radius: 14px;
    padding: 0.45rem;
    gap: 0.45rem;
  }

  .waitlist-input {
    padding: 0.7rem 0.5rem;
    font-size: 16px;
    border-radius: 8px;
  }

  .btn-pill-notify {
    min-height: 44px;
    padding: 0.7rem;
    font-size: 0.68rem;
    border-radius: 8px;
  }

  .form-helper-text {
    font-size: 0.54rem;
    letter-spacing: 0.1em;
  }

  /* Pillars on Ultra-Small */
  .pillars-row {
    max-width: 290px;
    gap: 0.55rem;
  }

  .pillar-item {
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
  }

  .pillar-title {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .pillar-desc {
    font-size: 0.72rem;
  }

  /* Editorial Footer */
  .site-editorial-footer {
    gap: 1rem;
    margin: 1.4rem auto 0.6rem;
  }

  .rooted-text {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
  }

  .beauty-text {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
  }

  .botanical-art {
    width: 32px;
    height: 45px;
  }
}

/* --------------------------------------------------------------------------
   8. Mobile Landscape Orientation (@media max-height: 500px and landscape)
   Tightens heights when phone is rotated horizontally for smooth navigation
   -------------------------------------------------------------------------- */
@media (max-height: 500px) and (orientation: landscape) {
  .site-container {
    padding: calc(0.5rem + var(--sat)) calc(1.5rem + var(--sar)) calc(1.5rem + var(--sab)) calc(1.5rem + var(--sal));
    justify-content: flex-start;
    gap: 0.6rem;
  }

  .site-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.3rem;
  }

  .header-ethos {
    display: none; /* Hide ethos line in mobile landscape to save vertical viewport */
  }

  .hero-content-wrapper {
    padding: 0.4rem 0 0.8rem;
  }

  .hero-pretitle {
    font-size: 0.58rem;
    margin-bottom: 0.3rem;
  }

  .ornate-divider {
    margin: 0.1rem auto 0.4rem;
  }

  .hero-logo-img {
    max-width: 220px;
  }

  .hero-coming-soon {
    font-size: 2.5rem;
    margin-top: 0.3rem;
    margin-bottom: 0.45rem;
  }

  .hero-tagline {
    font-size: 0.66rem;
    margin-bottom: 0.8rem;
  }

  .countdown-bar {
    padding: 0.3rem 0.8rem;
    margin-bottom: 0.8rem;
  }

  .waitlist-form-container {
    max-width: 340px;
    margin-bottom: 1rem;
  }

  .pillars-row {
    grid-template-columns: repeat(3, 1fr);
    max-width: 680px;
    gap: 0.6rem;
  }

  .pillar-item {
    padding: 0.6rem 0.75rem;
  }

  .site-editorial-footer {
    flex-direction: row;
    justify-content: space-between;
    max-width: 680px;
    margin-top: 1rem;
  }
}

/* ==========================================================================
   Visibility & Stealth Utilities
   ========================================================================== */
html.hide-countdown #countdownSection,
html.hide-countdown #countdownBar,
html.hide-countdown .countdown-bar,
#countdownSection.hidden,
.countdown-bar.hidden,
#countdownBar.hidden,
.hidden {
  display: none !important;
}

#adminHubTrigger.stealth-hidden,
.stealth-hidden {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}


