/*
 * Ashley public visual polish.
 * Loaded after main.css so these overrides stay narrow and reversible.
 */

/* First viewport: make the offer, dates, and primary action visible faster. */
.home nav,
.home .hero-eyebrow,
.home .hero-title,
.home .hero-voice,
.home .hero-cta,
.home .hero-approved {
  animation-delay: .15s !important;
}

.home .hero {
  height: auto;
  min-height: clamp(640px, 88vh, 820px);
  padding: 7rem 1.5rem 4.5rem;
}

.home .hero-content {
  width: min(920px, 100%);
  margin: 0 auto;
}

.home .hero-eyebrow {
  margin-bottom: 1.35rem;
  letter-spacing: .42em;
}

.home .hero-title {
  font-size: clamp(3rem, 7vw, 6.2rem);
  margin-bottom: 1.4rem;
}

.home .hero-title .t3 {
  margin-top: .75rem;
  letter-spacing: .34em;
}

.home .hero-rule {
  margin-bottom: 1.45rem;
}

.home .hero-voice {
  max-width: 620px;
  margin-bottom: 1.8rem;
  line-height: 1.65;
}

.home .hero-tour-dates {
  margin-top: 1.5rem;
}

.home .hero-tonight {
  margin-top: .75rem;
}

.home .hero-approved {
  bottom: 2rem;
  right: 2.5rem;
}

/* Public-page rhythm: keep the cinematic mood while reducing scroll fatigue. */
.home .section,
.home .schedule-wrap,
.home .donation-wrap,
.home .dynamic-wrap,
.home .experiences-wrap,
.home .who-wrap,
.home .testimonials-wrap,
.home .gallery-wrap,
.home .discretion-wrap,
.home .closing-wrap,
.home .mood-wrap,
.home .couples-wrap,
.home .fantasy-wrap,
.home .confident-wrap {
  padding-top: clamp(4.8rem, 7vw, 6.8rem);
  padding-bottom: clamp(4.8rem, 7vw, 6.8rem);
}

.home .silk-divider {
  padding: 1.1rem;
}

.home .experiences-grid,
.home .testimonials-grid,
.home .gallery-editorial,
.home .who-list {
  margin-top: 2.4rem;
}

/* Branded WordPress utility pages, including Ultimate Member forms. */
.page-id-67 .wp-content,
.page-id-68 .wp-content,
.page-id-71 .wp-content,
.page-id-72 .wp-content {
  max-width: 560px;
  min-height: 72vh;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.page-id-67 .wp-content h1,
.page-id-68 .wp-content h1,
.page-id-71 .wp-content h1,
.page-id-72 .wp-content h1 {
  text-align: center;
  color: var(--blush, #e8a0b0);
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  margin-bottom: 2rem;
}

.um {
  max-width: 100% !important;
  color: var(--text, #f0e8e2) !important;
}

.um.um-login,
.um.um-register,
.um.um-password,
.um.um-account {
  background: rgba(13, 6, 16, .74);
  border: 1px solid rgba(212, 168, 83, .18);
  padding: 2rem !important;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .36);
}

.um .um-field-label label,
.um .um-field-checkbox-option,
.um .um-link-alt,
.um .um-field-block {
  color: var(--text-dim, #c9b8b0) !important;
  font-family: var(--sans, 'Raleway', sans-serif) !important;
}

.um input[type="text"],
.um input[type="password"],
.um input[type="email"],
.um textarea,
.um select {
  background: rgba(5, 2, 8, .88) !important;
  border: 1px solid rgba(154, 136, 128, .5) !important;
  color: var(--text, #f0e8e2) !important;
  border-radius: 0 !important;
  min-height: 46px !important;
}

.um input:focus,
.um textarea:focus,
.um select:focus {
  border-color: rgba(232, 160, 176, .7) !important;
  box-shadow: 0 0 0 1px rgba(232, 160, 176, .16) !important;
}

.um .um-button,
.um input[type="submit"].um-button {
  background: linear-gradient(135deg, var(--blush, #e8a0b0), var(--crimson-bright, #d4214e)) !important;
  color: var(--black, #050208) !important;
  border-radius: 0 !important;
  border: 0 !important;
  font-family: var(--mono, 'Share Tech Mono', monospace) !important;
  font-size: .62rem !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
  min-height: 46px !important;
}

.um .um-button.um-alt {
  background: transparent !important;
  border: 1px solid rgba(212, 168, 83, .32) !important;
  color: var(--text-dim, #c9b8b0) !important;
}

/* Public Diary and Reviews get a stronger teaser surface. */
.page-id-217 .wp-content,
.page-id-220 .wp-content,
.page-id-228 .wp-content {
  max-width: 980px;
}

.public-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.2rem 0 2.8rem;
}

.public-trust-card {
  border: 1px solid rgba(212, 168, 83, .18);
  background: rgba(13, 6, 16, .62);
  padding: 1.5rem;
  min-height: 180px;
}

.public-trust-card span {
  display: block;
  font-family: var(--mono, 'Share Tech Mono', monospace);
  font-size: .55rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold, #d4a853);
  margin-bottom: .8rem;
}

.public-trust-card strong {
  display: block;
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text, #f0e8e2);
  margin-bottom: .8rem;
}

.public-trust-card p {
  margin: 0 !important;
  font-size: .92rem !important;
  line-height: 1.75 !important;
}

/* Keep sticky acquisition out of account, legal, and private utility pages. */
.page-id-3 .sticky-cta,
.page-id-18 .sticky-cta,
.page-id-20 .sticky-cta,
.page-id-67 .sticky-cta,
.page-id-69 .sticky-cta,
.page-id-70 .sticky-cta,
.page-id-71 .sticky-cta,
.page-id-72 .sticky-cta,
.page-id-192 .sticky-cta {
  display: none !important;
}

@media (max-width: 768px) {
  .page-id-3,
  .page-id-18,
  .page-id-20,
  .page-id-67,
  .page-id-69,
  .page-id-70,
  .page-id-71,
  .page-id-72,
  .page-id-192 {
    padding-bottom: 0;
  }
}

/* Cookie banner: compact enough to stop burying the first mobile viewport. */
.cookieadmin_law_container {
  width: min(380px, calc(100vw - 2rem)) !important;
}

.cookieadmin_consent_inside {
  padding: .82rem !important;
}

.cookieadmin_notice_con,
#cookieadmin_notice {
  font-size: .72rem !important;
  line-height: 1.55 !important;
}

.cookieadmin_consent_inside button.cookieadmin_btn {
  min-height: 34px !important;
  padding: .48rem .58rem !important;
  font-size: .5rem !important;
}

@media (max-width: 640px) {
  .home .hero {
    min-height: clamp(600px, 86vh, 700px);
    padding: 5.5rem 1rem 3.5rem;
  }

  .home .hero-title {
    font-size: clamp(2.65rem, 15vw, 4.4rem);
  }

  .home .hero-title .t3 {
    font-size: .32em;
    letter-spacing: .22em;
  }

  .home .hero-voice {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }

  .home .hero-cta {
    gap: .75rem !important;
  }

  .home .btn-enter,
  .home .btn-secondary {
    width: min(100%, 330px);
    text-align: center;
  }

  .home .hero-tour-dates {
    display: block;
    margin-top: 1rem;
    line-height: 1.7;
  }

  .home .hero-tour-dates .htd-label {
    display: block;
    margin-bottom: .35rem;
  }

  .home .hero-approved {
    margin-top: 1.2rem;
  }

  .home .section,
  .home .schedule-wrap,
  .home .donation-wrap,
  .home .dynamic-wrap,
  .home .experiences-wrap,
  .home .who-wrap,
  .home .testimonials-wrap,
  .home .gallery-wrap,
  .home .discretion-wrap,
  .home .closing-wrap,
  .home .mood-wrap,
  .home .couples-wrap,
  .home .fantasy-wrap,
  .home .confident-wrap {
    padding-top: 4.2rem !important;
    padding-bottom: 4.2rem !important;
  }

  .public-trust-grid {
    grid-template-columns: 1fr;
    margin: 1.8rem 0 2.2rem;
  }

  .page-id-67 .wp-content,
  .page-id-68 .wp-content,
  .page-id-71 .wp-content,
  .page-id-72 .wp-content {
    padding-top: 6.5rem !important;
  }

  .um.um-login,
  .um.um-register,
  .um.um-password,
  .um.um-account {
    padding: 1.3rem !important;
  }

  .cookieadmin_law_container {
    width: calc(100vw - 1rem) !important;
    right: .5rem !important;
    left: auto !important;
    bottom: 3.9rem !important;
    max-height: 34vh !important;
    overflow: auto !important;
  }

  .cookieadmin_consent_btns {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: .35rem !important;
  }

  .cookieadmin_consent_inside button.cookieadmin_btn {
    width: 100% !important;
    min-width: 0 !important;
    letter-spacing: .08em !important;
    overflow-wrap: anywhere;
  }
}

/* Codex mobile lounge launch: keep first-visit cookie consent from burying games. */
@media (max-width: 640px) {
  .cookieadmin_law_container {
    width: calc(100vw - .75rem) !important;
    right: .375rem !important;
    bottom: .375rem !important;
    max-height: 28svh !important;
    overflow: hidden !important;
  }

  .cookieadmin_consent_inside {
    padding: .62rem !important;
    border-radius: 6px !important;
  }

  #cookieadmin_notice_title {
    margin-bottom: .25rem !important;
    font-size: .46rem !important;
    letter-spacing: .16em !important;
  }

  .cookieadmin_notice_con,
  #cookieadmin_notice {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: .64rem !important;
    line-height: 1.35 !important;
  }

  .cookieadmin_consent_btns {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: .32rem !important;
    margin-top: .5rem !important;
  }

  .cookieadmin_consent_inside button.cookieadmin_btn {
    min-height: 32px !important;
    padding: .38rem .3rem !important;
    font-size: .44rem !important;
    letter-spacing: .06em !important;
  }
}

/* Visual Phase 2: Ashley-forward hero and premium public gallery preview. */
.home .hero.hero-visual-phase2 {
  overflow: hidden;
}

.home .hero-visual-phase2 .hero-stage {
  position: relative;
  z-index: 2;
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .75fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
}

.home .hero-visual-phase2 .hero-content {
  width: auto;
  margin: 0;
  text-align: left;
}

.home .hero-visual-phase2 .hero-rule {
  margin-left: 0;
}

.home .hero-visual-phase2 .hero-voice {
  margin-left: 0;
  margin-right: 0;
}

.home .hero-visual-phase2 .hero-cta {
  justify-content: flex-start !important;
}

.hero-portrait {
  position: relative;
  opacity: 0;
  animation: fadeIn .8s ease forwards .35s;
}

.hero-portrait::before {
  content: '';
  position: absolute;
  inset: -1.2rem;
  border: 1px solid rgba(212, 168, 83, .16);
  pointer-events: none;
}

.hero-portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 570px;
  overflow: hidden;
  background: rgba(13, 6, 16, .7);
  border: 1px solid rgba(232, 160, 176, .2);
  box-shadow: 0 24px 90px rgba(0, 0, 0, .52);
}

.hero-portrait-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 2, 8, .05), rgba(5, 2, 8, .38)),
    linear-gradient(90deg, rgba(5, 2, 8, .18), transparent 55%);
  pointer-events: none;
}

.hero-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transform: scale(1.02);
}

.hero-portrait-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: .9rem 1rem;
  background: rgba(5, 2, 8, .72);
  border: 1px solid rgba(212, 168, 83, .2);
  backdrop-filter: blur(8px);
}

.hero-portrait-caption span,
.gallery-preview-veil span,
.gallery-lock-kicker {
  display: block;
  font-family: var(--mono, 'Share Tech Mono', monospace);
  font-size: .52rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold, #d4a853);
  margin-bottom: .35rem;
}

.hero-portrait-caption strong,
.gallery-preview-veil strong {
  display: block;
  font-family: var(--serif, 'Playfair Display', serif);
  font-weight: 400;
  font-size: 1rem;
  color: var(--text, #f0e8e2);
}

.gallery-editorial-phase2 .gallery-public-preview {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid rgba(232, 160, 176, .18);
  background: rgba(13, 6, 16, .7);
}

.gallery-editorial-phase2 .gallery-public-preview img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
  filter: saturate(.88) contrast(1.06) brightness(.72) blur(.7px);
  transform: scale(1.035);
}

.gallery-preview-veil {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  padding: .85rem 1rem;
  background: rgba(5, 2, 8, .74);
  border: 1px solid rgba(212, 168, 83, .22);
  backdrop-filter: blur(8px);
}

.gallery-lock-premium {
  min-height: 240px;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  background:
    radial-gradient(circle at 20% 15%, rgba(232, 160, 176, .12), transparent 34%),
    linear-gradient(145deg, rgba(13, 6, 16, .92), rgba(42, 10, 46, .32));
}

.gallery-lock-premium .gallery-lock-text {
  text-align: left;
  color: var(--text, #f0e8e2);
  letter-spacing: .18em;
  margin-bottom: .4rem;
}

.gallery-lock-premium .gallery-lock-link {
  text-align: left;
}

@media (max-width: 900px) {
  .home .hero-visual-phase2 .hero-stage {
    grid-template-columns: minmax(0, 1fr) minmax(220px, .42fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .home .hero-visual-phase2 .hero-stage {
    display: block;
  }

  .home .hero-visual-phase2 .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
  }

  .home .hero-visual-phase2 .hero-rule {
    margin-left: auto;
  }

  .home .hero-visual-phase2 .hero-voice {
    margin-left: auto;
    margin-right: auto;
  }

  .home .hero-visual-phase2 .hero-cta {
    justify-content: center !important;
  }

  .hero-portrait {
    position: absolute;
    z-index: 1;
    top: .4rem;
    right: -.8rem;
    width: min(43vw, 168px);
    opacity: .34;
    pointer-events: none;
  }

  .hero-portrait::before,
  .hero-portrait-caption {
    display: none;
  }

  .hero-portrait-frame {
    height: 245px;
    box-shadow: none;
  }

  .gallery-editorial-phase2 .gallery-public-preview,
  .gallery-editorial-phase2 .gallery-public-preview img,
  .gallery-lock-premium {
    min-height: 260px;
  }
}

/* Visual Phase 2 mobile refinement: keep portrait signal without covering the message. */
@media (max-width: 640px) {
  .home .hero-visual-phase2,
  .home .hero-visual-phase2 .hero-stage {
    overflow: hidden !important;
  }

  .hero-portrait {
    right: .25rem !important;
    top: .65rem !important;
    width: min(34vw, 132px) !important;
    opacity: .18 !important;
    animation: none !important;
    filter: saturate(.78) brightness(.82);
  }

  .hero-portrait-frame {
    height: 205px !important;
  }

  .home .hero-visual-phase2 .hero-title,
  .home .hero-visual-phase2 .hero-voice,
  .home .hero-visual-phase2 .hero-eyebrow {
    text-shadow: 0 2px 14px rgba(5, 2, 8, .92);
  }
}

/* Visual Phase 2 overflow guard for mobile visual viewport. */
@media (max-width: 640px) {
  #petalCanvas,
  nav,
  .sticky-cta {
    width: 100dvw !important;
    max-width: 100dvw !important;
    right: auto !important;
  }

  .hero-portrait {
    right: .85rem !important;
    width: min(30vw, 118px) !important;
  }

  .hero-portrait-frame {
    height: 190px !important;
  }

  .gallery-wrap {
    overflow: hidden;
  }

  .gallery-editorial-phase2,
  .gallery-editorial-phase2 .gc {
    max-width: 100% !important;
  }

  .gallery-editorial-phase2 .gallery-public-preview img {
    transform: none !important;
  }

  .gallery-preview-veil {
    left: .75rem;
    right: .75rem;
  }
}
