
#ux-web, #ux-app { display:none !important; }
html[data-ux="web"] #ux-web { display:block !important; }
html[data-ux="web"] #ux-app { display:none !important; }
html[data-ux="app"] #ux-app { display:block !important; }
html[data-ux="app"] #ux-web { display:none !important; }

html[data-ux="app"],
html[data-ux="app"] body {
  height: 100%;
  overflow: hidden;
}

[id]{scroll-margin-top:72px;}

.naomi-v7 {
  margin: 0;
  font-family: Inter, Raleway, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #faf7f3;
  color: #1f1b18;
}

.hero {
  min-height: 86vh;
  padding: 72px 24px;
  display: grid;
  align-content: center;
  max-width: 980px;
  margin: auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 13px;
  color: #9a6a4f;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: .95;
  margin: 12px 0;
}

.hero p {
  max-width: 620px;
  font-size: 20px;
  color: #5f5650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary {
  background: #1f1b18;
  color: #fff;
}

.secondary {
  background: #eadfd6;
  color: #1f1b18;
}

.ux-web {
  background: #faf7f3;
}

.hero-photo {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.15), rgba(0,0,0,.60));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 24px 72px;
  max-width: 760px;
  color: white;
}

.hero-content .eyebrow {
  color: rgba(255,255,255,.82);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
}

.hero-content h1 {
  font-size: clamp(48px, 8vw, 92px);
  line-height: .92;
  margin: 16px 0;
  font-weight: 800;
}

.hero-copy {
  max-width: 560px;
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255,255,255,.88);
}

.openweb-badge {
  border-radius: 999px !important;
  padding: 14px 22px !important;
  background: rgba(255,255,255,.14) !important;
  backdrop-filter: blur(14px);
  color: white !important;
  border: 1px solid rgba(255,255,255,.24) !important;
  font-weight: 800 !important;
}

.web-guest-pay {
  padding: 72px 20px 96px;
  background: #faf7f3;
}

.guest-pay-card {
  max-width: 540px;
  margin: auto;
  background: #fff;
  border-radius: 32px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(0,0,0,.12);
}

.guest-pay-card h2 {
  font-size: 34px;
  line-height: 1.05;
  margin: 8px 0;
}

.guest-copy {
  color: #675d55;
  font-size: 17px;
}

.guest-summary {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.guest-summary div {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee4dc;
}

.guest-total {
  font-size: 22px;
}

.guest-fields {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.guest-fields input {
  width: 100%;
  border: 1px solid #e0d5cc;
  border-radius: 16px;
  padding: 15px;
  font: inherit;
}

.guest-pay-btn,
.app-pay-btn {
  width: 100%;
  border: 0;
  border-radius: 20px;
  padding: 18px;
  font-size: 18px;
  font-weight: 900;
  background: #f5c542;
  color: #111;
  cursor: pointer;
}

.secure-note {
  text-align: center;
  color: #777;
  font-size: 13px;
  margin-top: 16px;
}

.ux-app {
  min-height: 100vh;
  background: #111;
  color: #fff;
  padding-bottom: 86px;
}

.app-page {
  padding: 24px;
}

.app-header h1 {
  font-size: 34px;
  margin-bottom: 6px;
}

.app-header p {
  color: #c8beb6;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 1 / 1.25;
  object-fit: cover;
  border-radius: 24px;
  background: #333;
}

.booking-card,
.payment-card {
  color: #1f1b18;
  margin-top: 20px;
  background: #fff;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
}

.booking-frame {
  position: absolute;
  inset: 0 0 88px 0;
  overflow: hidden;
}

.booking-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.full {
  width: calc(100% - 48px);
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 100px;
  z-index: 55;
}

.app-nav {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  border-radius: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 8px;
  z-index: 70;
}

.app-nav button {
  border: 0;
  background: transparent;
  padding: 14px;
  font-weight: 800;
  color: #1f1b18;
}

#Page3.app-checkout-page {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100dvh;
  min-height: 0;
  padding: 0 !important;
  margin: 0;
  overflow: hidden;
  background: #f5efe8;
}

#Page3 .checkout-webview {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow: hidden;
}

#Page3 .checkout-webview iframe {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.app-checkout-header h1 {
  margin: 4px 0;
  font-size: 32px;
}

.app-checkout-header p {
  color: #c8beb6;
  margin: 0;
}

.app-kicker,
.section-label {
  margin: 0;
  color: #b9aaa0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.app-checkout-card {
  background: #fff;
  color: #1f1b18;
  border-radius: 28px;
  padding: 22px;
  margin-top: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.order-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.order-line span {
  color: #766c64;
}

.service-line div {
  display: grid;
  gap: 4px;
}

.reward-line,
.reward-line strong {
  color: #16803c;
}

.total-line {
  border-bottom: 0;
  font-size: 22px;
}

.wallet-card {
  margin-top: 16px;
  padding: 16px;
  border-radius: 20px;
  background: #f3eee9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wallet-card div {
  display: grid;
  gap: 4px;
}

.wallet-card span {
  color: #766c64;
}

.wallet-card em {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #7ee787;
  color: #111;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 900;
}

.secondary-action {
  width: 100%;
  margin-top: 12px;
  border: 0;
  border-radius: 16px;
  padding: 14px;
  background: #eee4dc;
  color: #1f1b18;
  font-weight: 800;
}

.app-gp-module {
  margin-top: 16px;
}

.app-pay-btn {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 92px;
  width: auto;
  z-index: 60;
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
}

.reward-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.reward-grid div {
  background: #f3eee9;
  border-radius: 18px;
  padding: 16px;
}

.reward-grid span {
  display: block;
  color: #766c64;
  font-size: 13px;
}

.reward-grid strong {
  font-size: 22px;
}

.reward-note {
  color: #766c64;
  margin-bottom: 0;
}

@media (max-width: 520px) {
  .guest-pay-card {
    padding: 22px;
    border-radius: 26px;
  }

  .hero-content h1 {
    font-size: 50px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .hero-actions button {
    width: 100%;
  }
}


.web-booking-section {
  padding: 72px 20px 40px;
  background: #faf7f3;
}

.web-booking-card {
  max-width: 900px;
  margin: auto;
  background: #fff;
  border-radius: 32px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(0,0,0,.12);
}

.web-booking-card h2 {
  font-size: 34px;
  margin: 8px 0;
}

.web-booking-frame {
  margin-top: 22px;
  height: min(760px, 82vh);
  border-radius: 24px;
  overflow: hidden;
  background: #f3eee9;
}

.web-booking-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* App UX Page 1: scrollable hero + full-screen style gallery
   Uses normal document flow, not absolute image positioning, to avoid black-screen/scroll traps. */
#Page1.app-gallery-page {
  padding: 0 0 calc(var(--app-nav-height, 86px) + 24px) !important;
  min-height: 100vh;
  height: auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #111;
  -webkit-overflow-scrolling: touch;
}

.app-style-panel {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #111;
  display: block;
}

.app-style-panel:first-child {
  border-radius: 0 0 34px 34px;
}

.app-gallery-img {
  display: block !important;
  width: 100% !important;
  height: 100vh !important;
  min-height: 100vh !important;
  object-fit: cover !important;
  object-position: center center;
  opacity: 1 !important;
  visibility: visible !important;
}

.app-hero-overlay,
.app-style-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.10), rgba(0,0,0,.68));
}

.app-hero-content,
.app-style-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: calc(var(--app-nav-height, 86px) + 42px);
  z-index: 2;
  color: #fff;
}

.app-hero-content .eyebrow,
.app-style-caption .eyebrow {
  color: rgba(255,255,255,.82);
}

.app-hero-content h1,
.app-style-caption h2 {
  margin: 10px 0;
  font-size: clamp(44px, 12vw, 76px);
  line-height: .92;
}

.app-hero-content p:not(.eyebrow),
.app-style-caption p:not(.eyebrow) {
  max-width: 440px;
  color: rgba(255,255,255,.88);
  font-size: 18px;
  line-height: 1.45;
}

/* App UX Page 2: keep booking iframe clear of the fixed nav and move CTA below the applet */
#Page2.app-booking-page {
  min-height: 100vh;
  padding: 18px 18px calc(var(--app-nav-height, 86px) + 28px);
  background: #111;
  overflow: auto;
}

#Page2 .booking-frame {
  position: relative;
  inset: auto;
  height: calc(100vh - var(--app-nav-height, 86px) - 150px);
  min-height: 560px;
  overflow: hidden;
  border-radius: 28px;
  background: #f3eee9;
}

#Page2 .booking-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

#Page2 .full {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  margin: 18px 0 0;
  z-index: 1;
}

#Page2 .full {
  background: #f5c542 !important;
  color: #111 !important;
  font-size: 18px;
  font-weight: 900;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}

.app-service-checkout-page {

padding-bottom:160px;
background:#111;
min-height:100vh;
color:white;

}


.service-select-card{

background:#fff;

color:#1f1b18;

border-radius:28px;

padding:18px;

margin-top:18px;

display:grid;

gap:14px;

box-shadow:
0 18px 50px rgba(0,0,0,.15);

}


.service-select-card img{

width:100%;

height:180px;

object-fit:cover;

border-radius:22px;

}


.service-select-card button{

background:#1f1b18;

color:white;

border:0;

border-radius:18px;

padding:14px;

font-weight:800;

}

.service-detail-image {

    width:100%;
    max-width:100%;

    height:220px;

    object-fit:cover;

    border-radius:22px;

}


.status {
    margin-top:16px;
    padding:12px;
    border-radius:12px;
    font-size:14px;
}

.status.loading {
    background:#f4f1ed;
}

.status.success {
    background:#e8f7ec;
}

.status.error {
    background:#fdecec;
}

.post-payment-experience {
  min-height: 82vh;
  padding: 96px 20px 64px;
  background:
    linear-gradient(
      180deg,
      #f7f1eb 0%,
      #ffffff 100%
    );
}

.post-payment-card {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: 48px 32px;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(28, 23, 20, 0.1);
  border-radius: 28px;
  box-shadow:
    0 22px 60px rgba(28, 23, 20, 0.1);
}

.post-payment-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 20px auto;
  border-radius: 50%;
  background: #176b47;
  color: #ffffff;
  font-size: 34px;
  font-weight: 700;
}

.post-payment-card h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.05;
}

.post-payment-copy {
  max-width: 520px;
  margin: 0 auto 32px;
  color: #74685f;
  font-size: 1.05rem;
  line-height: 1.65;
}

.post-payment-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.post-payment-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: left;
}

.post-payment-benefit {
  padding: 18px;
  background: #f7f1eb;
  border-radius: 18px;
}

.post-payment-benefit strong,
.post-payment-benefit span {
  display: block;
}

.post-payment-benefit strong {
  margin-bottom: 7px;
}

.post-payment-benefit span {
  color: #74685f;
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (max-width: 700px) {
  .post-payment-experience {
    padding: 72px 16px 40px;
  }

  .post-payment-card {
    padding: 36px 20px;
  }

  .post-payment-actions {
    flex-direction: column;
  }

  .post-payment-actions > * {
    width: 100%;
  }

  .post-payment-benefits {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PHASE 1 — SHARED NAOMI LUXURY HERO
   Web UX + App UX
   ========================================================================== */

:root {
  --naomi-rose: #d6a47f;
  --naomi-rose-light: #f1c9b2;
  --naomi-cream: #f9f7f3;
  --naomi-purple: #7c2fe2;
  --naomi-black: #07080b;
}

html {
  scroll-behavior: smooth;
}

.luxury-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: var(--naomi-black);
  color: #fff;
}

.luxury-hero__image {
  position: absolute !important;
  inset: 0;
  z-index: -3;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: 56% center;
  transform: scale(1.015);
}

.luxury-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4,5,8,.44) 0%, rgba(4,5,8,.08) 28%, rgba(4,5,8,.20) 52%, rgba(4,5,8,.94) 100%),
    linear-gradient(90deg, rgba(4,5,8,.44) 0%, rgba(4,5,8,.08) 58%, rgba(4,5,8,.20) 100%);
}

.naomi-luxury-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  min-height: 92px;
  padding:
    calc(18px + env(safe-area-inset-top, 0px))
    clamp(20px, 4vw, 56px)
    18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(180deg, rgba(4,5,8,.78), rgba(4,5,8,.22), transparent);
}

.naomi-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--naomi-rose-light);
  text-decoration: none;
}

.naomi-brand--button {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.naomi-brand__mark {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 18px;
}

.naomi-brand__name {
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  line-height: 1.2;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.naomi-menu-button {
  width: 50px;
  height: 50px;
  padding: 13px 10px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(241,201,178,.34);
  border-radius: 50%;
  background: rgba(7,8,11,.30);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
}

.naomi-menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--naomi-rose-light);
  transition: transform .2s ease, opacity .2s ease;
}

.naomi-menu-button.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.naomi-menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.naomi-menu-button.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.naomi-luxury-menu {
  position: absolute;
  top: calc(82px + env(safe-area-inset-top, 0px));
  right: clamp(20px, 4vw, 56px);
  z-index: 19;
  width: min(310px, calc(100% - 40px));
  padding: 14px;
  display: grid;
  gap: 6px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px) scale(.98);
  transform-origin: top right;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  background: rgba(8,9,12,.90);
  box-shadow: 0 24px 70px rgba(0,0,0,.36);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.naomi-luxury-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.naomi-luxury-menu a,
.naomi-luxury-menu button {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.naomi-luxury-menu a:hover,
.naomi-luxury-menu button:hover {
  background: rgba(255,255,255,.09);
}

.luxury-hero__content,
.app-hero-content.luxury-hero__content {
  position: absolute;
  left: clamp(22px, 5vw, 76px);
  right: clamp(22px, 5vw, 76px);
  bottom: clamp(34px, 7vh, 86px);
  z-index: 4;
  width: min(760px, calc(100% - 44px));
  max-width: 760px;
  padding: 0;
  color: #fff;
}

.luxury-hero__content .eyebrow {
  margin: 0 0 14px;
  color: var(--naomi-rose-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
}

.luxury-hero__content h1,
.app-hero-content.luxury-hero__content h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(54px, 8.5vw, 104px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .92;
  text-wrap: balance;
}

.luxury-hero__content h1 span {
  color: #fff;
}

.luxury-hero__content .hero-copy,
.app-hero-content.luxury-hero__content > p:not(.eyebrow) {
  margin: 22px 0 0;
  max-width: 600px;
  color: rgba(255,255,255,.84);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
}

.luxury-hero__actions {
  width: min(560px, 100%);
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.luxury-cta {
  min-height: 62px;
  width: 100%;
  padding: 15px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 999px;
  font-family: Inter, Raleway, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.luxury-cta:hover {
  transform: translateY(-2px);
}

.luxury-cta--primary {
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(100deg, #4a0a9d 0%, var(--naomi-purple) 58%, #a34ce7 100%);
  color: #fff;
  box-shadow: 0 18px 42px rgba(92,22,174,.34);
}

.luxury-cta--secondary {
  border: 1px solid rgba(214,164,127,.66);
  background: rgba(249,247,243,.96);
  color: #111218;
  box-shadow: 0 16px 38px rgba(0,0,0,.18);
}

.luxury-hero--app.app-style-panel {
  height: 100svh;
  min-height: 100svh;
  border-radius: 0 0 34px 34px;
}

.luxury-hero--app .luxury-hero__content {
  bottom: calc(var(--app-nav-height, 86px) + 30px);
}

.luxury-hero--app .luxury-hero__actions {
  width: min(520px, 100%);
}

.luxury-hero--app .luxury-cta {
  border-style: solid;
}

@media (min-width: 760px) {
  .luxury-hero--web .luxury-hero__actions {
    grid-template-columns: 1fr 1fr;
    width: min(660px, 100%);
  }

  .luxury-hero--web .luxury-cta {
    min-height: 66px;
  }
}

@media (max-width: 600px) {
  .naomi-luxury-header {
    min-height: 82px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .naomi-brand__mark {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .naomi-brand__name {
    display: none;
  }

  .naomi-menu-button {
    width: 46px;
    height: 46px;
  }

  .naomi-luxury-menu {
    right: 18px;
  }

  .luxury-hero__image {
    object-position: 58% center;
  }

  .luxury-hero__content,
  .app-hero-content.luxury-hero__content {
    left: 22px;
    right: 22px;
    bottom: 28px;
    width: auto;
  }

  .luxury-hero__content h1,
  .app-hero-content.luxury-hero__content h1 {
    font-size: clamp(49px, 15vw, 68px);
  }

  .luxury-hero__content .hero-copy,
  .app-hero-content.luxury-hero__content > p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 17px;
  }

  .luxury-hero__actions {
    margin-top: 22px;
  }

  .luxury-cta {
    min-height: 58px;
    padding: 14px 22px;
  }

  .luxury-hero--app .luxury-hero__content {
    bottom: calc(var(--app-nav-height, 86px) + 22px);
  }
}

@media (max-height: 760px) {
  .luxury-hero__content h1,
  .app-hero-content.luxury-hero__content h1 {
    font-size: clamp(43px, 11vh, 66px);
  }

  .luxury-hero__content .hero-copy,
  .app-hero-content.luxury-hero__content > p:not(.eyebrow) {
    margin-top: 12px;
  }

  .luxury-hero__actions {
    margin-top: 16px;
    gap: 9px;
  }

  .luxury-cta {
    min-height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .luxury-cta,
  .naomi-menu-button span,
  .naomi-luxury-menu {
    transition: none;
  }
}


/* ==========================================================================
   PHASE 1 HERO TEXT POSITION FIX
   Keeps both headline lines fully inside the hero on shorter mobile screens.
   ========================================================================== */

@media (max-width: 600px) {
  .luxury-hero__content,
  .app-hero-content.luxury-hero__content {
    top: auto;
    bottom: max(22px, env(safe-area-inset-bottom, 0px));
    max-height: calc(100svh - 112px);
    overflow: visible;
  }

  .luxury-hero--app .luxury-hero__content {
    bottom: calc(var(--app-nav-height, 86px) + 18px);
    max-height: calc(100svh - var(--app-nav-height, 86px) - 112px);
  }

  .luxury-hero__content h1,
  .app-hero-content.luxury-hero__content h1 {
    font-size: clamp(42px, 12.5vw, 58px);
    line-height: .96;
    letter-spacing: -.035em;
  }

  .luxury-hero__content .hero-copy,
  .app-hero-content.luxury-hero__content > p:not(.eyebrow) {
    margin-top: 12px;
  }

  .luxury-hero__actions {
    margin-top: 16px;
    gap: 9px;
  }

  .luxury-cta {
    min-height: 52px;
    padding: 12px 20px;
  }
}

@media (max-width: 600px) and (max-height: 760px) {
  .luxury-hero__content .eyebrow {
    margin-bottom: 9px;
  }

  .luxury-hero__content h1,
  .app-hero-content.luxury-hero__content h1 {
    font-size: clamp(38px, 10.5vh, 52px);
    line-height: .94;
  }

  .luxury-hero__content .hero-copy,
  .app-hero-content.luxury-hero__content > p:not(.eyebrow) {
    font-size: 15px;
    margin-top: 9px;
  }

  .luxury-hero__actions {
    margin-top: 12px;
  }

  .luxury-cta {
    min-height: 48px;
    font-size: 14px;
  }
}


/* ==========================================================================
   PHASE 1 APP HEADER + HERO FRAMING CORRECTION
   ========================================================================== */

/* dual-style.css applies full-screen sizing to every image inside #Page1.
   Override that rule specifically for the small header logo. */
#Page1 .naomi-brand__mark,
#Page1 .naomi-luxury-header .naomi-brand__mark {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  flex: 0 0 52px !important;
}

/* Keep only the actual hero photograph full-screen. */
#Page1 .luxury-hero__image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  transform: none !important;
}

/* Reframe the photograph so the face remains visible. */
.luxury-hero--web .luxury-hero__image {
  object-position: 70% center !important;
}

.luxury-hero--app .luxury-hero__image {
  object-position: 78% center !important;
}

@media (max-width: 600px) {
  #Page1 .naomi-brand__mark,
  #Page1 .naomi-luxury-header .naomi-brand__mark {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    flex-basis: 44px !important;
    border-radius: 13px !important;
  }

  .luxury-hero--web .luxury-hero__image {
    object-position: 72% center !important;
  }

  .luxury-hero--app .luxury-hero__image {
    object-position: 82% center !important;
  }
}


/* APP UX HERO SIMPLIFICATION */
.naomi-luxury-header--app {
  justify-content: flex-start;
}

.luxury-hero--app .luxury-hero__actions {
  grid-template-columns: 1fr;
  width: min(520px, 100%);
}

.luxury-hero--app .luxury-cta--primary {
  background: linear-gradient(100deg, #4a0a9d 0%, var(--naomi-purple) 58%, #a34ce7 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
}


/* ==========================================================================
   PHASE 2 — WEB HOMEPAGE EXPERIENCE
   Web UX only. App UX remains unchanged.
   ========================================================================== */

html[data-ux="web"] body {
  background: #08090b;
}

#ux-web .web-section {
  position: relative;
  padding: clamp(78px, 10vw, 144px) clamp(20px, 5vw, 76px);
}

#ux-web .web-section-heading {
  width: min(820px, 100%);
  margin-bottom: clamp(36px, 6vw, 72px);
}

#ux-web .web-section-heading .eyebrow,
#ux-web .meet-naomi-copy .eyebrow,
#ux-web .web-booking-intro .eyebrow {
  margin: 0 0 14px;
  color: var(--naomi-rose);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
}

#ux-web .web-section-heading h2,
#ux-web .meet-naomi-copy h2,
#ux-web .web-booking-intro h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}

#ux-web .web-section-heading > p:last-child,
#ux-web .meet-naomi-copy > p,
#ux-web .web-booking-intro > p {
  max-width: 670px;
  margin: 22px 0 0;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.7;
}

#ux-web .web-featured {
  background: #0a0b0d;
  color: #fff;
}

#ux-web .web-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(20px, 5vw, 76px);
  right: clamp(20px, 5vw, 76px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214,164,127,.55), transparent);
}

#ux-web .featured-style-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(220px, 28vw);
  gap: clamp(14px, 2vw, 26px);
}

#ux-web .featured-style-card {
  position: relative;
  grid-column: span 4;
  min-height: 430px;
  overflow: hidden;
  border-radius: 30px;
  background: #17181b;
  isolation: isolate;
}

#ux-web .featured-style-card--large {
  grid-column: span 7;
  grid-row: span 2;
}

#ux-web .featured-style-card--wide {
  grid-column: span 5;
}

#ux-web .featured-style-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}

#ux-web .featured-style-card:hover img {
  transform: scale(1.045);
}

#ux-web .featured-style-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 30%, rgba(5,6,8,.93) 100%),
    linear-gradient(90deg, rgba(5,6,8,.20), transparent 60%);
}

#ux-web .featured-style-copy {
  position: absolute;
  left: clamp(22px, 3vw, 38px);
  right: clamp(22px, 3vw, 38px);
  bottom: clamp(22px, 3vw, 38px);
}

#ux-web .featured-style-copy > span {
  color: var(--naomi-rose-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .24em;
}

#ux-web .featured-style-copy h3 {
  margin: 8px 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 500;
  line-height: 1;
}

#ux-web .featured-style-copy p {
  max-width: 420px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.5;
}

#ux-web .web-services {
  background: var(--naomi-cream);
  color: #111217;
}

#ux-web .service-card-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  border-top: 1px solid rgba(17,18,23,.14);
}

#ux-web .web-service-card {
  grid-column: span 4;
  min-height: 330px;
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(17,18,23,.14);
  border-bottom: 1px solid rgba(17,18,23,.14);
}

#ux-web .web-service-card:nth-child(3n) {
  border-right: 0;
}

#ux-web .service-number {
  color: #a36f4d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
}

#ux-web .web-service-card h3 {
  margin: 34px 0 16px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 500;
  line-height: 1;
}

#ux-web .web-service-card p {
  margin: 0;
  color: #5d5a57;
  font-size: 16px;
  line-height: 1.65;
}

#ux-web .web-service-card a {
  margin-top: auto;
  padding-top: 30px;
  color: #111217;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

#ux-web .web-service-card a span {
  margin-left: 8px;
  color: #a36f4d;
}

#ux-web .web-meet {
  min-height: 760px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
  background: #0a0b0d;
  color: #fff;
}

#ux-web .meet-naomi-image {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}

#ux-web .meet-naomi-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 52%, rgba(10,11,13,.70) 100%);
}

#ux-web .meet-naomi-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transform: scale(1.02);
}

#ux-web .meet-naomi-copy {
  padding: clamp(68px, 8vw, 126px) clamp(28px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#ux-web .meet-naomi-copy > p {
  color: rgba(255,255,255,.72);
}

#ux-web .web-text-link {
  align-self: flex-start;
  margin-top: 36px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--naomi-rose);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

#ux-web .web-text-link span {
  margin-left: 14px;
  color: var(--naomi-rose-light);
}

#ux-web.web-booking-section,
#ux-web .web-booking-section {
  display: grid;
  grid-template-columns: minmax(320px, .75fr) minmax(0, 1.25fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
  background: #eee8e1;
  color: #111217;
}

#ux-web .web-booking-intro {
  position: sticky;
  top: 110px;
}

#ux-web .booking-notes {
  margin-top: 42px;
  display: grid;
  gap: 18px;
}

#ux-web .booking-notes > div {
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 1px solid rgba(17,18,23,.14);
}

#ux-web .booking-notes strong {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border: 1px solid rgba(163,111,77,.50);
  border-radius: 50%;
  color: #8f5938;
  font-size: 12px;
}

#ux-web .booking-notes span {
  font-size: 15px;
  font-weight: 700;
}

#ux-web .web-booking-card {
  width: 100%;
  padding: clamp(10px, 1.5vw, 18px);
  border: 1px solid rgba(17,18,23,.12);
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(36,27,22,.12);
}

#ux-web .web-booking-frame {
  height: min(820px, 82vh);
  min-height: 650px;
  overflow: hidden;
  border-radius: 24px;
  background: #f5f2ee;
}

#ux-web .web-booking-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

@media (max-width: 980px) {
  #ux-web .featured-style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 520px;
  }

  #ux-web .featured-style-card,
  #ux-web .featured-style-card--large,
  #ux-web .featured-style-card--wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 520px;
  }

  #ux-web .service-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #ux-web .web-service-card {
    grid-column: auto;
  }

  #ux-web .web-service-card:nth-child(3n) {
    border-right: 1px solid rgba(17,18,23,.14);
  }

  #ux-web .web-service-card:nth-child(2n) {
    border-right: 0;
  }

  #ux-web .web-meet {
    grid-template-columns: 1fr;
  }

  #ux-web .meet-naomi-image {
    min-height: 620px;
  }

  #ux-web .meet-naomi-image::after {
    background: linear-gradient(180deg, transparent 58%, rgba(10,11,13,.74) 100%);
  }

  #ux-web.web-booking-section,
  #ux-web .web-booking-section {
    grid-template-columns: 1fr;
  }

  #ux-web .web-booking-intro {
    position: static;
  }
}

@media (max-width: 640px) {
  #ux-web .web-section {
    padding: 76px 20px;
  }

  #ux-web .web-section-heading h2,
  #ux-web .meet-naomi-copy h2,
  #ux-web .web-booking-intro h2 {
    font-size: clamp(40px, 12vw, 56px);
  }

  #ux-web .featured-style-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 500px;
  }

  #ux-web .featured-style-card,
  #ux-web .featured-style-card--large,
  #ux-web .featured-style-card--wide {
    min-height: 500px;
    border-radius: 24px;
  }

  #ux-web .service-card-grid {
    grid-template-columns: 1fr;
  }

  #ux-web .web-service-card,
  #ux-web .web-service-card:nth-child(2n),
  #ux-web .web-service-card:nth-child(3n) {
    min-height: 285px;
    border-right: 0;
  }

  #ux-web .web-meet {
    min-height: 0;
  }

  #ux-web .meet-naomi-image {
    min-height: 520px;
  }

  #ux-web .meet-naomi-image img {
    object-position: 76% center;
  }

  #ux-web .meet-naomi-copy {
    padding: 70px 22px 84px;
  }

  #ux-web.web-booking-section,
  #ux-web .web-booking-section {
    padding: 76px 16px;
  }

  #ux-web .web-booking-card {
    padding: 7px;
    border-radius: 25px;
  }

  #ux-web .web-booking-frame {
    min-height: 680px;
    height: 82vh;
    border-radius: 19px;
  }
}


/* PHASE 3 — APP UX REFRESH */
.naomi-luxury-header {
  min-height: 88px;
  background: rgba(5,6,9,.78) !important;
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 34px rgba(0,0,0,.20);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
}
html[data-ux="web"] .naomi-luxury-header { position: fixed; }
html[data-ux="app"] .naomi-luxury-header { position: absolute; }
.naomi-luxury-header::after {
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:1px;
  background:linear-gradient(90deg,transparent,rgba(214,164,127,.34),transparent);
}
.luxury-hero--app .luxury-hero__image {
  object-position: 54% center !important;
  filter: saturate(.94) contrast(1.02);
}
.luxury-hero--app .luxury-hero__shade {
  background:linear-gradient(180deg,rgba(3,4,7,.26) 0%,rgba(3,4,7,.06) 34%,rgba(3,4,7,.30) 58%,rgba(3,4,7,.96) 100%),linear-gradient(90deg,rgba(3,4,7,.34) 0%,transparent 66%);
}
.luxury-hero--app .luxury-hero__content h1 span { color: var(--naomi-rose-light); }
.luxury-hero--app .luxury-cta--primary {
  background:linear-gradient(100deg,#4b0ba0 0%,#7729d9 56%,#a64ce9 100%);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 18px 42px rgba(94,26,177,.38);
}
html[data-ux="app"] #Page1.app-gallery-page { background:#07080b; }
html[data-ux="app"] .app-style-panel:not(.app-hero-panel) {
  min-height:calc(100svh - var(--app-nav-height,86px));
  height:calc(100svh - var(--app-nav-height,86px));
}
html[data-ux="app"] .app-style-panel:not(.app-hero-panel) .app-gallery-img {
  height:100% !important; min-height:100% !important;
}
html[data-ux="app"] .app-style-caption h2 {
  font-family:"Playfair Display",Georgia,serif; font-weight:500; letter-spacing:-.035em;
}
html[data-ux="app"] .app-nav {
  left:12px; right:12px; bottom:max(12px,env(safe-area-inset-bottom,0px));
  min-height:72px; padding:7px; gap:6px;
  border:1px solid rgba(255,255,255,.12); border-radius:26px;
  background:rgba(8,9,12,.86); box-shadow:0 18px 54px rgba(0,0,0,.42);
  backdrop-filter:blur(22px) saturate(130%); -webkit-backdrop-filter:blur(22px) saturate(130%);
}
html[data-ux="app"] .app-nav__button {
  min-height:58px; padding:7px 10px; display:grid; place-items:center; align-content:center; gap:3px;
  border-radius:19px; color:rgba(255,255,255,.58); font-size:11px; letter-spacing:.02em;
}
html[data-ux="app"] .app-nav__icon { display:block; font-size:20px; line-height:1; }
html[data-ux="app"] .app-nav__button.is-active {
  background:linear-gradient(135deg,rgba(122,44,220,.98),rgba(79,14,158,.98));
  color:#fff; box-shadow:0 10px 26px rgba(91,25,172,.34);
}
html[data-ux="app"] #Page2.app-booking-page {
  background:radial-gradient(circle at top,rgba(122,44,220,.14),transparent 34%),#07080b;
}
html[data-ux="app"] #Page2 .booking-frame {
  border:1px solid rgba(255,255,255,.10); box-shadow:0 24px 70px rgba(0,0,0,.38);
}
@media (max-width:600px) {
  .naomi-luxury-header { min-height:76px; padding-top:calc(14px + env(safe-area-inset-top,0px)); padding-bottom:14px; }
  .luxury-hero--app .luxury-hero__image { object-position:50% center !important; }
  .luxury-hero--app .luxury-hero__content h1 { font-size:clamp(46px,13vw,62px); }
  html[data-ux="app"] .app-nav { min-height:68px; }
  html[data-ux="app"] .app-nav__button { min-height:54px; }
}


/* --- Meet Naomi portrait update --- */
#ux-web .meet-naomi-image{
    position:relative;
    overflow:hidden;
}

#ux-web .meet-naomi-image::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background:linear-gradient(
        to right,
        rgba(8,8,10,.05),
        rgba(8,8,10,.20)
    );
}

#ux-web .meet-naomi-image::after{
    z-index:2;
}

#ux-web .meet-naomi-image img{
    position:relative;
    z-index:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center 20% !important;
    transform:scale(1.03);
}


/* ==========================================================================
   PHASE 3 V3 — WEB HERO RESTORE + APP PAGE HEADERS
   ========================================================================== */

:root {
  --naomi-app-header-height: 88px;
}

/* Page 2 and Page 3 use the same black-glass brand header as App Home. */
html[data-ux="app"] .naomi-app-page-header {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 85;
  min-height: var(--naomi-app-header-height);
}

/* Keep header logo compact despite broad #Page1/#ux-app image rules. */
html[data-ux="app"] .naomi-app-page-header .naomi-brand__mark {
  position: static !important;
  inset: auto !important;
  width: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  object-fit: contain !important;
  transform: none !important;
  flex: 0 0 52px !important;
}

/* Move booking content below the fixed visual header. */
html[data-ux="app"] #Page2.app-booking-page {
  padding-top: calc(var(--naomi-app-header-height) + 18px) !important;
}

html[data-ux="app"] #Page2 .booking-frame {
  height: calc(
    100vh
    - var(--naomi-app-header-height)
    - var(--app-nav-height, 86px)
    - 168px
  );
}

/* Page 3 remains a flex shell, with header occupying real space. */
html[data-ux="app"] #Page3.app-checkout-page {
  padding-top: var(--naomi-app-header-height) !important;
  position: relative;
}

html[data-ux="app"] #Page3 .checkout-webview {
  flex: 1 1 auto;
  min-height: 0;
}

/* Preserve access to the bottom app navigation. */
html[data-ux="app"] #Page2,
html[data-ux="app"] #Page3 {
  padding-bottom: calc(var(--app-nav-height, 86px) + 18px);
}

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

  html[data-ux="app"] .naomi-app-page-header .naomi-brand__mark {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    flex-basis: 44px !important;
  }

  html[data-ux="app"] #Page2.app-booking-page {
    padding-top: calc(var(--naomi-app-header-height) + 14px) !important;
  }

  html[data-ux="app"] #Page2 .booking-frame {
    height: calc(
      100svh
      - var(--naomi-app-header-height)
      - var(--app-nav-height, 86px)
      - 150px
    );
    min-height: 460px;
  }
}


/* ==========================================================================
   PHASE 4 — EXECUTIVE POLISH
   Presentation-ready Web UX and App UX refinements.
   ========================================================================== */

/* 1. Seamless Web UX section transitions — removes global beige gaps. */
html[data-ux="web"] #ux-web > section {
  margin-bottom: 0 !important;
}

html[data-ux="web"] #ux-web {
  background: #0a0b0d;
}

html[data-ux="web"] #web-hero,
html[data-ux="web"] #featured-styles,
html[data-ux="web"] #web-services,
html[data-ux="web"] #meet-naomi,
html[data-ux="web"] #web-booking {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* Intentional section boundaries instead of empty margins. */
html[data-ux="web"] #featured-styles,
html[data-ux="web"] #web-services,
html[data-ux="web"] #meet-naomi,
html[data-ux="web"] #web-booking {
  border-top: 1px solid rgba(214,164,127,.16);
}

/* 2. Tighter and more consistent spacing rhythm. */
#ux-web .web-section {
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
}

#ux-web .web-section-heading {
  margin-bottom: clamp(30px, 4.5vw, 54px);
}

#ux-web .web-meet {
  min-height: 700px;
}

#ux-web .meet-naomi-image {
  min-height: 700px;
}

#ux-web .meet-naomi-copy {
  padding-top: clamp(58px, 7vw, 104px);
  padding-bottom: clamp(58px, 7vw, 104px);
}

/* 3. Black-glass header: stronger on hero, calmer after scrolling. */
.naomi-luxury-header {
  transition:
    background-color .24s ease,
    box-shadow .24s ease,
    border-color .24s ease;
}

html[data-ux="web"] .naomi-luxury-header {
  background: rgba(5,6,9,.68) !important;
}

html[data-ux="web"] .naomi-luxury-header.is-scrolled {
  background: rgba(5,6,9,.92) !important;
  border-bottom-color: rgba(255,255,255,.14);
  box-shadow: 0 14px 34px rgba(0,0,0,.32);
}

/* 4. App UX hero focal point.
   Naomi's face sits left-of-centre in the source, so mobile must pan left. */
.luxury-hero--app .luxury-hero__image {
  object-position: 42% center !important;
}

@media (max-width: 700px) {
  .luxury-hero--app .luxury-hero__image {
    object-position: 34% center !important;
  }
}

@media (max-width: 500px) {
  .luxury-hero--app .luxury-hero__image {
    object-position: 27% center !important;
  }
}

@media (max-width: 390px) {
  .luxury-hero--app .luxury-hero__image {
    object-position: 23% center !important;
  }
}

/* Preserve the better Web UX Meet Naomi crop. */
#ux-web .meet-naomi-image img {
  object-position: center 20% !important;
}

/* 5. Controlled reveal animation, without blank-section risk. */
.reveal-on-scroll {
  opacity: 1;
  transform: none;
}

.js .reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .58s cubic-bezier(.22,.61,.36,1),
    transform .58s cubic-bezier(.22,.61,.36,1);
}

.js .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Set JS state immediately while keeping no-JS content visible. */
html:not(.dualux-preinit) .reveal-on-scroll {
  will-change: opacity, transform;
}

/* Slight stagger for service and gallery cards. */
#ux-web .featured-style-card:nth-child(2),
#ux-web .web-service-card:nth-child(2) {
  transition-delay: 70ms;
}

#ux-web .featured-style-card:nth-child(3),
#ux-web .web-service-card:nth-child(3) {
  transition-delay: 120ms;
}

#ux-web .featured-style-card:nth-child(4),
#ux-web .web-service-card:nth-child(4) {
  transition-delay: 170ms;
}

#ux-web .web-service-card:nth-child(5) {
  transition-delay: 220ms;
}

/* 6. Accessibility: keyboard focus and reliable touch targets. */
.naomi-menu-button,
.naomi-luxury-menu a,
.naomi-luxury-menu button,
.luxury-cta,
.web-service-card a,
.web-text-link,
.app-nav__button {
  min-height: 44px;
}

.naomi-menu-button:focus-visible,
.naomi-luxury-menu a:focus-visible,
.naomi-luxury-menu button:focus-visible,
.luxury-cta:focus-visible,
.web-service-card a:focus-visible,
.web-text-link:focus-visible,
.app-nav__button:focus-visible {
  outline: 3px solid rgba(241,201,178,.96);
  outline-offset: 4px;
}

#ux-web .featured-style-card:focus-within,
#ux-web .web-service-card:focus-within {
  box-shadow: 0 0 0 3px rgba(214,164,127,.62);
}

/* 7. Image stability and rendering quality. */
#ux-web img,
#ux-app img {
  backface-visibility: hidden;
}

#ux-web .featured-style-card,
#ux-web .meet-naomi-image,
#ux-app .app-style-panel {
  contain: layout paint;
}

/* 8. Responsive refinements. */
@media (max-width: 980px) {
  #ux-web .web-section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  #ux-web .web-meet,
  #ux-web .meet-naomi-image {
    min-height: 580px;
  }
}

@media (max-width: 640px) {
  #ux-web .web-section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  #ux-web .web-section-heading {
    margin-bottom: 30px;
  }

  #ux-web .featured-style-grid {
    gap: 14px;
  }

  #ux-web .web-meet,
  #ux-web .meet-naomi-image {
    min-height: 500px;
  }

  #ux-web .meet-naomi-copy {
    padding-top: 58px;
    padding-bottom: 68px;
  }
}

/* 9. Reduced motion and print stability. */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .js .reveal-on-scroll,
  .luxury-cta,
  .featured-style-card img,
  .naomi-luxury-header {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .naomi-luxury-header,
  .app-nav,
  .naomi-luxury-menu {
    display: none !important;
  }

  #ux-web > section {
    break-inside: avoid;
  }
}


/* ==========================================================================
   PHASE 4 V2 — APP HERO LEFT ANCHOR + ALWAYS-VISIBLE BRAND TEXT
   ========================================================================== */

/* Keep the left edge of the App UX hero image visible at every width.
   Cropping is allowed only from the right side. */
html[data-ux="app"] .luxury-hero--app .luxury-hero__image {
  object-fit: cover !important;
  object-position: left center !important;
  transform: none !important;
}

@media (max-width: 700px) {
  html[data-ux="app"] .luxury-hero--app .luxury-hero__image {
    object-position: left center !important;
    transform: scale(1.04) !important;
    transform-origin: left center !important;
  }
}

@media (max-width: 500px) {
  html[data-ux="app"] .luxury-hero--app .luxury-hero__image {
    object-position: left center !important;
    transform: scale(1.08) !important;
    transform-origin: left center !important;
  }
}

/* Ensure the Naomi Hair Studio brand name remains visible on App UX headers,
   including Page 1, Page 2, and Page 3. */
html[data-ux="app"] .naomi-brand {
  display: flex !important;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

html[data-ux="app"] .naomi-brand__name {
  display: block !important;
  min-width: 0;
  overflow: visible;
  color: #fff;
  font-size: clamp(15px, 3.8vw, 20px);
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.15;
  text-overflow: clip;
  text-transform: uppercase;
  white-space: nowrap;
}

html[data-ux="app"] .naomi-brand__mark,
html[data-ux="app"] #Page1 .naomi-brand__mark,
html[data-ux="app"] .naomi-app-page-header .naomi-brand__mark {
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  flex: 0 0 44px !important;
}

@media (max-width: 360px) {
  html[data-ux="app"] .naomi-brand__name {
    font-size: 14px;
    letter-spacing: .10em;
  }

  html[data-ux="app"] .naomi-brand__mark,
  html[data-ux="app"] #Page1 .naomi-brand__mark,
  html[data-ux="app"] .naomi-app-page-header .naomi-brand__mark {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    flex-basis: 40px !important;
  }
}


/* ==========================================================================
   PHASE 4 V3 — LUXURY HERO MOCKUP HEADER
   Black glass header with gold Naomi Hair Studio wordmark.
   ========================================================================== */

:root {
  --naomi-header-gold: #d9aa83;
  --naomi-header-gold-light: #f0c9a9;
  --naomi-header-gold-shadow: rgba(217,170,131,.24);
}

/* Exact luxury black-glass treatment */
.naomi-luxury-header {
  min-height: 84px !important;
  padding:
    calc(14px + env(safe-area-inset-top, 0px))
    clamp(18px, 4vw, 48px)
    14px !important;
  background:
    linear-gradient(
      180deg,
      rgba(4,5,8,.94) 0%,
      rgba(4,5,8,.82) 72%,
      rgba(4,5,8,.72) 100%
    ) !important;
  border-bottom: 1px solid rgba(217,170,131,.20) !important;
  box-shadow:
    0 10px 30px rgba(0,0,0,.28),
    inset 0 -1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
}

/* Brand arrangement from the Luxury Hero mockup */
.naomi-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0;
  color: var(--naomi-header-gold) !important;
}

.naomi-brand__mark,
#Page1 .naomi-brand__mark,
.naomi-app-page-header .naomi-brand__mark {
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  flex: 0 0 48px !important;
  object-fit: contain !important;
  object-position: center !important;
  filter:
    sepia(1)
    saturate(.72)
    hue-rotate(332deg)
    brightness(1.08)
    drop-shadow(0 4px 12px var(--naomi-header-gold-shadow));
}

.naomi-brand__wordmark {
  display: grid !important;
  gap: 2px;
  min-width: 0;
  color: var(--naomi-header-gold-light);
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.naomi-brand__naomi {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(21px, 2.3vw, 29px);
  font-weight: 600;
  letter-spacing: .11em;
  line-height: .92;
  color: var(--naomi-header-gold-light);
  text-shadow: 0 2px 12px rgba(217,170,131,.14);
}

.naomi-brand__studio {
  display: block;
  padding-left: .14em;
  font-family: Inter, Raleway, system-ui, sans-serif;
  font-size: clamp(8px, .82vw, 11px);
  font-weight: 700;
  letter-spacing: .34em;
  line-height: 1.1;
  color: var(--naomi-header-gold);
}

/* Remove the previous single-line brand treatment */
.naomi-brand__name {
  display: none !important;
}

/* Gold hamburger from the mockup */
.naomi-menu-button {
  border-color: rgba(217,170,131,.38) !important;
  background: rgba(5,6,9,.34) !important;
}

.naomi-menu-button span {
  background: var(--naomi-header-gold-light) !important;
}

/* Keep wordmark visible in App UX on Pages 1, 2 and 3 */
html[data-ux="app"] .naomi-brand__wordmark {
  display: grid !important;
  overflow: visible;
}

@media (max-width: 500px) {
  .naomi-luxury-header {
    min-height: 76px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .naomi-brand {
    gap: 9px !important;
  }

  .naomi-brand__mark,
  #Page1 .naomi-brand__mark,
  .naomi-app-page-header .naomi-brand__mark {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    flex-basis: 42px !important;
  }

  .naomi-brand__naomi {
    font-size: 20px;
    letter-spacing: .09em;
  }

  .naomi-brand__studio {
    font-size: 8px;
    letter-spacing: .27em;
  }
}

@media (max-width: 360px) {
  .naomi-brand__mark,
  #Page1 .naomi-brand__mark,
  .naomi-app-page-header .naomi-brand__mark {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    flex-basis: 38px !important;
  }

  .naomi-brand__naomi {
    font-size: 18px;
  }

  .naomi-brand__studio {
    font-size: 7px;
    letter-spacing: .22em;
  }
}


/* ==========================================================================
   PHASE 4 V4 — APP HERO GOLD TYPOGRAPHY
   ========================================================================== */

html[data-ux="app"] .luxury-hero--app .luxury-hero__content .eyebrow {
    color: var(--naomi-header-gold-light) !important;
    text-shadow: 0 2px 10px rgba(217,170,131,.18);
}

html[data-ux="app"] .luxury-hero--app .luxury-hero__content h1,
html[data-ux="app"] .luxury-hero--app .luxury-hero__content h1 span {
    color: var(--naomi-header-gold-light) !important;
    text-shadow: 0 4px 18px rgba(217,170,131,.18);
}

html[data-ux="app"] .luxury-hero--app .luxury-hero__content > p:not(.eyebrow) {
    color: rgba(255,248,240,.90);
}


/* ==========================================================================
   PHASE 4 V5 — FIXED APP HEADERS ON PAGE 1, PAGE 2, AND PAGE 3
   ========================================================================== */

/* Keep every App UX header pinned to the viewport while its page scrolls. */
html[data-ux="app"] #Page1 .naomi-luxury-header,
html[data-ux="app"] #Page2 .naomi-luxury-header,
html[data-ux="app"] #Page3 .naomi-luxury-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  transform: none !important;
}

/* Page 1 intentionally overlays the hero image. */
html[data-ux="app"] #Page1 {
  padding-top: 0 !important;
}

/* Page 2 and Page 3 content must start below the fixed header. */
html[data-ux="app"] #Page2.app-booking-page {
  padding-top: calc(var(--naomi-app-header-height, 88px) + 18px) !important;
}

html[data-ux="app"] #Page3.app-checkout-page {
  padding-top: var(--naomi-app-header-height, 88px) !important;
}

/* Prevent scrolling containers or animated ancestors from moving the header. */
html[data-ux="app"] #Page1,
html[data-ux="app"] #Page2,
html[data-ux="app"] #Page3,
html[data-ux="app"] .app-style-panel,
html[data-ux="app"] .luxury-hero--app {
  transform: none !important;
}

/* Maintain the correct header height on narrow screens. */
@media (max-width: 600px) {
  html[data-ux="app"] #Page2.app-booking-page {
    padding-top: calc(var(--naomi-app-header-height, 76px) + 14px) !important;
  }

  html[data-ux="app"] #Page3.app-checkout-page {
    padding-top: var(--naomi-app-header-height, 76px) !important;
  }
}
