/*
Theme Name: Ornello Coming Soon
Theme URI: https://ornello.beauty/
Author: Ornello Jewels
Description: Luxury Coming Soon theme for Ornello Jewels with Gmail SMTP integration, 100% full-width luxury welcome email template, and subscriber management.
Version: 1.0.6
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ornello-coming-soon
*/

:root {
  --ivory: #fbf4ea;
  --ivory-soft: rgba(251, 244, 234, 0.9);
  --gold-line: rgba(235, 204, 142, 0.75);
  --gold-accent: #ebd096;
  --ink-dark: #1b120a;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  min-height: 100dvh;
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--ivory);
  background: linear-gradient(180deg, #b86257 0%, #7d322e 50%, #5b1d1d 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Fixed full-viewport background */
.bg-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-layer picture {
  width: 100%;
  height: 100%;
  display: block;
}

.bg-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: right bottom;
}

.stage {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100dvh;
  max-width: 1520px;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vh, 3rem) clamp(1.5rem, 5vw, 5rem);
  display: flex;
  align-items: center;
}

body.admin-bar .stage {
  min-height: calc(100dvh - 32px);
}

.content-box {
  width: min(100%, 700px);
  margin-left: clamp(0rem, 2.2vw, 3.2rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-header {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand-logo {
  width: clamp(175px, 17.5vw, 240px);
  height: auto;
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: clamp(1.15rem, 2.2vw, 1.7rem);
  user-select: none;
  animation: fadeIn 0.65s ease-out both;
}

.coming-soon {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.7rem, 8vw, 6.9rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ivory);
  text-shadow: 0 2px 20px rgba(38, 10, 10, 0.28);
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
  animation: fadeIn 0.7s 0.08s ease-out both;
}

/* Editorial Hairline & Radiant Star Divider */
.jewel-divider {
  width: min(90%, 500px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: clamp(1.1rem, 2.1vw, 1.55rem);
  animation: fadeIn 0.7s 0.14s ease-out both;
}

.divider-line {
  flex: 1;
  height: 1px;
}

.divider-line.left {
  background: linear-gradient(90deg, transparent 0%, var(--gold-line) 100%);
}

.divider-line.right {
  background: linear-gradient(270deg, transparent 0%, var(--gold-line) 100%);
}

.divider-star {
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 0 6px rgba(255, 235, 175, 0.95)) drop-shadow(0 0 14px rgba(235, 208, 150, 0.6));
}

.tagline {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1.2;
  color: var(--ivory);
  margin-bottom: 0.45rem;
  animation: fadeIn 0.7s 0.2s ease-out both;
}

.subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.55vw, 1.38rem);
  letter-spacing: 0.055em;
  color: var(--ivory-soft);
  margin-bottom: clamp(1.8rem, 3.3vw, 2.45rem);
  animation: fadeIn 0.7s 0.26s ease-out both;
}

/* Luxury Pill Email Form */
.notify-wrap {
  width: min(100%, 495px);
  animation: fadeIn 0.7s 0.32s ease-out both;
}

.notify-pill {
  display: flex;
  align-items: center;
  padding: 3px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 234, 202, 0.62);
  background: rgba(54, 20, 20, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(35, 8, 8, 0.3);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.notify-pill:focus-within {
  border-color: rgba(255, 234, 190, 0.95);
  box-shadow: 0 0 0 3px rgba(235, 208, 150, 0.2);
}

.input-group {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-left: 1.35rem;
  padding-right: 0.6rem;
}

.mail-icon {
  color: var(--ivory-soft);
  flex-shrink: 0;
}

.notify-pill input {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  padding: 0.78rem 0;
  box-shadow: none;
}

.notify-pill input::placeholder {
  color: rgba(251, 244, 234, 0.84);
  font-style: italic;
}

.notify-btn {
  border: none;
  border-radius: 9999px;
  padding: 0.84rem 2.1rem;
  background: linear-gradient(135deg, #f8df9c 0%, #e6b55d 55%, #cf933c 100%);
  color: var(--ink-dark);
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.04rem, 1.28vw, 1.16rem);
  letter-spacing: 0.015em;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(40, 12, 12, 0.28);
  transition: filter 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.notify-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.notify-btn:active {
  transform: translateY(0);
}

.notify-btn:disabled {
  opacity: 0.75;
  cursor: wait;
}

.form-status {
  margin-top: 0.85rem;
  min-height: 1.3em;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--ivory-soft);
  text-align: center;
}

.form-status.ok {
  color: #fde6b0;
}

.form-status.err {
  color: #ffd0c7;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-aspect-ratio: 16/9) {
  .bg-img {
    object-position: 78% bottom;
  }
}

/* Mobile & Tablet Precision Viewport Matching Reference Design */
@media (max-width: 825px) {
  body {
    align-items: stretch;
  }

  .bg-img {
    object-position: right bottom;
  }

  .stage {
    min-height: 100dvh;
    padding: 4.8rem 1.25rem 5.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  .content-box {
    width: 100%;
    max-width: 819px;
    margin-left: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }

  .hero-header {
    width: 100%;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .brand-logo {
    width: 188px;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 2.3rem;
  }

  .coming-soon {
    font-size: clamp(3.4rem, 11.6vw, 5.8rem);
    white-space: nowrap;
    line-height: 1.02;
    letter-spacing: -0.015em;
    margin-bottom: 1.15rem;
    text-shadow: 0 2px 22px rgba(35, 10, 10, 0.35);
  }

  .jewel-divider {
    width: 360px;
    max-width: 85%;
    margin-bottom: 1.25rem;
    gap: 0.8rem;
  }

  .tagline {
    font-size: clamp(1.2rem, 4.3vw, 1.82rem);
    line-height: 1.22;
    margin-bottom: 0.55rem;
  }

  .subtitle {
    font-size: clamp(0.92rem, 3.2vw, 1.22rem);
    letter-spacing: 0.055em;
  }

  .notify-wrap {
    width: min(94%, 520px);
    margin: 0 auto;
  }

  .notify-pill {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 4px 4px 4px 18px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 235, 205, 0.65);
    background: rgba(52, 18, 18, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 24px rgba(35, 8, 8, 0.35);
    gap: 0;
  }

  .input-group {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
  }

  .mail-icon {
    width: 20px;
    height: 20px;
    color: rgba(251, 244, 234, 0.85);
  }

  .notify-pill input {
    font-size: clamp(1rem, 3.2vw, 1.15rem);
    padding: 0.75rem 0;
  }

  .notify-btn {
    padding: 0.82rem clamp(1.35rem, 4.5vw, 2.2rem);
    font-size: clamp(1rem, 3.2vw, 1.18rem);
    width: auto;
    flex-shrink: 0;
  }
}

@media (max-width: 520px) {
  .stage {
    padding: 3rem 1rem 3.5rem;
  }

  .hero-header {
    width: 100%;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .coming-soon {
    white-space: normal;
    font-size: clamp(3rem, 12vw, 4.2rem);
  }

  .brand-logo {
    width: clamp(140px, 36vw, 175px);
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 1.5rem;
  }

  .notify-pill {
    height: 56px;
    padding: 3px 3px 3px 14px;
  }

  .notify-btn {
    padding: 0.72rem 1.35rem;
    font-size: 1.02rem;
  }
}
