
/* Shared hero language for Gallery + Services. Matches the home/about/contact poster aesthetic. */
@media (min-width: 901px) {
  .gallery-reference,
  .services-poster.services-reference {
    width: min(calc(100% - 112px), 1520px) !important;
    max-width: 1520px !important;
    margin: 0 auto !important;
    padding-bottom: 72px !important;
    overflow: visible !important;
  }

  .gallery-hero,
  .services-gallery-hero {
    position: relative !important;
    isolation: isolate !important;
    min-height: clamp(390px, 28vw, 500px) !important;
    display: grid !important;
    grid-template-columns: minmax(0, .94fr) minmax(520px, 1.06fr) !important;
    gap: clamp(28px, 4vw, 70px) !important;
    align-items: center !important;
    margin: 34px 0 34px !important;
    padding: clamp(34px, 3.4vw, 56px) clamp(42px, 5.2vw, 86px) !important;
    overflow: visible !important;
    border: 1px solid rgba(255, 177, 207, .24) !important;
    border-radius: 28px !important;
    background:
      radial-gradient(circle at 5% 78%, rgba(255, 177, 207, .30), transparent 260px),
      radial-gradient(circle at 78% 35%, rgba(255, 177, 207, .13), transparent 340px),
      linear-gradient(135deg, rgba(28, 12, 18, .92), rgba(3, 3, 3, .97) 45%, rgba(17, 6, 10, .82)) !important;
    box-shadow: 0 34px 90px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.06) !important;
  }

  .gallery-hero::before,
  .services-gallery-hero::before {
    content: "" !important;
    position: absolute !important;
    left: -88px !important;
    right: auto !important;
    top: auto !important;
    bottom: -58px !important;
    z-index: 0 !important;
    width: 260px !important;
    height: 260px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(255,177,207,.42), rgba(255,177,207,.16) 48%, transparent 70%) !important;
    filter: blur(1px) !important;
    pointer-events: none !important;
  }

  .gallery-hero::after,
  .services-gallery-hero::after {
    content: "NBS";
    position: absolute;
    right: clamp(34px, 5vw, 92px);
    top: clamp(24px, 3vw, 54px);
    z-index: 0;
    color: rgba(255, 214, 229, .10);
    font-family: Inter, system-ui, sans-serif;
    font-size: clamp(110px, 11vw, 205px);
    font-weight: 950;
    letter-spacing: -.08em;
    line-height: 1;
    pointer-events: none;
  }

  .hero-copy,
  .services-gallery-copy,
  .hero-collage,
  .services-gallery-collage {
    position: relative !important;
    z-index: 2 !important;
  }

  .hero-copy,
  .services-gallery-copy {
    padding-top: 0 !important;
    min-width: 0 !important;
  }

  .script-title,
  .service-script-title {
    margin: 0 !important;
    max-width: 820px !important;
    color: #ffc2d8 !important;
    font-family: Inter, system-ui, sans-serif !important;
    font-size: clamp(74px, 7.2vw, 134px) !important;
    font-weight: 950 !important;
    letter-spacing: -.052em !important;
    line-height: .84 !important;
    text-transform: uppercase !important;
    text-shadow: 0 0 28px rgba(255,177,207,.42), 0 15px 46px rgba(0,0,0,.7) !important;
  }

  .hero-copy h1,
  .services-gallery-copy h1 {
    margin: 12px 0 4px !important;
    color: #fff !important;
    font-family: Allura, "Brush Script MT", "Segoe Script", cursive !important;
    font-size: clamp(82px, 6.2vw, 126px) !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    line-height: .82 !important;
    text-transform: none !important;
    text-shadow: 0 0 20px rgba(255,255,255,.32), 0 0 34px rgba(255,177,207,.2) !important;
  }

  .hero-copy h1::before,
  .services-gallery-copy h1::before {
    content: "WELCOME TO MY NAIL STUDIO";
    display: block;
    margin: 0 0 18px 4px;
    color: #ffd8e6;
    font-family: Inter, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .48em;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: none;
  }

  .services-gallery-copy h1::before {
    content: "EXPLORE OUR SERVICES";
  }

  .ornament-line,
  .service-ornament-line {
    width: min(420px, 70%) !important;
    max-width: none !important;
    height: 24px !important;
    margin: 14px 0 18px 0 !important;
    opacity: .62 !important;
  }

  .hero-intro,
  .services-gallery-copy .services-intro {
    width: min(560px, 42vw) !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 17px 20px !important;
    color: #fff8fb !important;
    border: 1px solid rgba(255,177,207,.34) !important;
    border-left: 4px solid #ff9fca !important;
    border-radius: 0 18px 18px 0 !important;
    background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.37)) !important;
    box-shadow: none !important;
    font-size: clamp(16px, 1vw, 19px) !important;
    font-weight: 800 !important;
    line-height: 1.46 !important;
    text-align: left !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.75) !important;
  }

  .ghost-script,
  .service-ghost-script {
    position: relative !important;
    z-index: 1 !important;
    margin: 24px 0 0 !important;
    color: rgba(255,177,207,.14) !important;
    font-family: Allura, "Brush Script MT", "Segoe Script", cursive !important;
    font-size: clamp(76px, 5.8vw, 118px) !important;
    line-height: .9 !important;
    transform: rotate(-7deg) !important;
  }

  .hero-collage,
  .services-gallery-collage {
    min-height: clamp(330px, 24vw, 440px) !important;
    transform: none !important;
  }

  .collage-card,
  .service-collage-card {
    border: 2px solid rgba(255,255,255,.9) !important;
    border-radius: 26px !important;
    background: #111 !important;
    box-shadow: 0 30px 72px rgba(0,0,0,.62), 0 0 42px rgba(255,159,202,.16) !important;
  }

  .collage-card img,
  .service-collage-card img {
    filter: saturate(.94) contrast(1.03) brightness(.82) !important;
  }

  .collage-one,
  .service-collage-one { left: 2% !important; top: 9% !important; width: 31% !important; height: 64% !important; transform: rotate(-8deg) !important; z-index: 2 !important; }
  .collage-two,
  .service-collage-two { left: 25% !important; top: 26% !important; width: 28% !important; height: 48% !important; transform: rotate(-3deg) !important; z-index: 3 !important; }
  .collage-three,
  .service-collage-three { left: 44% !important; top: 7% !important; width: 43% !important; height: 68% !important; transform: rotate(7deg) !important; z-index: 5 !important; }
  .collage-four,
  .service-collage-four { right: 0 !important; top: 22% !important; width: 29% !important; height: 52% !important; transform: rotate(6deg) !important; z-index: 1 !important; }
  .collage-five,
  .service-collage-five { left: 19% !important; top: 66% !important; width: 43% !important; height: 31% !important; transform: rotate(4deg) !important; z-index: 4 !important; }

  .glow-ring,
  .service-glow-ring {
    left: 5% !important;
    right: 1% !important;
    top: 53% !important;
    height: 38% !important;
    border-width: 2px !important;
    z-index: 4 !important;
  }

  .spark,
  .service-spark {
    color: #ffd1df !important;
    text-shadow: 0 0 30px rgba(255,153,190,.7) !important;
  }
}

@media (max-width: 900px) {
  .gallery-hero,
  .services-gallery-hero {
    position: relative !important;
    isolation: isolate !important;
    min-height: 0 !important;
    overflow: visible !important;
    border: 1px solid rgba(255, 177, 207, .18) !important;
    border-radius: 0 0 22px 22px !important;
    background:
      radial-gradient(circle at 4% 56%, rgba(255,177,207,.22), transparent 172px),
      linear-gradient(145deg, rgba(28,12,18,.78), rgba(3,3,3,.98) 56%, rgba(17,6,10,.86)) !important;
  }

  .gallery-hero::after,
  .services-gallery-hero::after {
    content: "NBS";
    position: absolute;
    right: 10px;
    top: 14px;
    z-index: 0;
    color: rgba(255,214,229,.09);
    font-family: Inter, system-ui, sans-serif;
    font-size: clamp(62px, 18vw, 118px);
    font-weight: 950;
    letter-spacing: -.08em;
    line-height: 1;
    pointer-events: none;
  }

  .script-title,
  .service-script-title {
    color: #ffc2d8 !important;
    font-family: Inter, system-ui, sans-serif !important;
    font-size: clamp(52px, 16vw, 86px) !important;
    font-weight: 950 !important;
    letter-spacing: -.055em !important;
    line-height: .86 !important;
    text-transform: uppercase !important;
    text-shadow: 0 0 22px rgba(255,177,207,.42), 0 10px 32px rgba(0,0,0,.74) !important;
  }

  .hero-copy h1,
  .services-gallery-copy h1 {
    margin: 7px 0 8px !important;
    color: #fff !important;
    font-family: Allura, "Brush Script MT", "Segoe Script", cursive !important;
    font-size: clamp(56px, 16vw, 86px) !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    line-height: .82 !important;
    text-transform: none !important;
    text-shadow: 0 0 20px rgba(255,255,255,.28), 0 0 30px rgba(255,177,207,.18) !important;
  }

  .hero-copy h1::before,
  .services-gallery-copy h1::before {
    content: "WELCOME TO MY NAIL STUDIO";
    display: block;
    margin: 0 0 9px 2px;
    color: #ffd8e6;
    font-family: Inter, system-ui, sans-serif;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .42em;
    line-height: 1.25;
    text-transform: uppercase;
    text-shadow: none;
  }

  .services-gallery-copy h1::before {
    content: "EXPLORE OUR SERVICES";
  }

  .hero-intro,
  .services-gallery-copy .services-intro {
    width: min(350px, calc(100vw - 34px)) !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 9px 11px 9px 13px !important;
    color: #fff8fb !important;
    border: 0 !important;
    border-left: 2px solid rgba(255,177,207,.9) !important;
    border-radius: 0 13px 13px 0 !important;
    background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.44) 72%, rgba(0,0,0,.08)) !important;
    font-size: clamp(10px, 2.5vw, 12px) !important;
    font-weight: 800 !important;
    line-height: 1.42 !important;
    text-align: left !important;
    text-shadow: 0 1px 10px rgba(0,0,0,.82) !important;
  }

  .ghost-script,
  .service-ghost-script {
    color: rgba(255,177,207,.13) !important;
    font-family: Allura, "Brush Script MT", "Segoe Script", cursive !important;
  }

  .collage-card,
  .service-collage-card {
    border-color: rgba(255,255,255,.92) !important;
    box-shadow: 0 22px 52px rgba(0,0,0,.52), 0 0 30px rgba(255,159,202,.12) !important;
  }
}

@media (max-width: 430px) {
  .script-title,
  .service-script-title {
    font-size: clamp(47px, 15vw, 66px) !important;
  }

  .hero-copy h1,
  .services-gallery-copy h1 {
    font-size: clamp(50px, 15vw, 70px) !important;
  }
}

/* Shorter services/gallery hero height tune */
@media (min-width: 901px) {
  .gallery-hero,
  .services-gallery-hero {
    min-height: clamp(390px, 28vw, 500px) !important;
    margin-top: 34px !important;
    margin-bottom: 34px !important;
    padding-top: clamp(34px, 3.4vw, 56px) !important;
    padding-bottom: clamp(34px, 3.4vw, 56px) !important;
  }

  .hero-collage,
  .services-gallery-collage {
    min-height: clamp(330px, 24vw, 440px) !important;
  }
}

@media (max-width: 900px) {
  .gallery-hero {
    height: clamp(310px, 52vw, 380px) !important;
  }

  .services-gallery-hero {
    padding-top: 14px !important;
    padding-bottom: 10px !important;
  }

  .services-gallery-copy {
    min-height: 154px !important;
  }

  .services-gallery-collage {
    min-height: 214px !important;
  }
}

@media (max-width: 430px) {
  .gallery-hero {
    height: 330px !important;
  }
}

/* Extra compact services/gallery hero height tune */
@media (min-width: 901px) {
  .gallery-hero,
  .services-gallery-hero {
    min-height: clamp(300px, 21vw, 390px) !important;
    margin-top: 22px !important;
    margin-bottom: 28px !important;
    padding-top: clamp(24px, 2.4vw, 38px) !important;
    padding-bottom: clamp(24px, 2.4vw, 38px) !important;
    align-items: center !important;
  }

  .script-title,
  .service-script-title {
    font-size: clamp(58px, 5.7vw, 104px) !important;
  }

  .hero-copy h1,
  .services-gallery-copy h1 {
    font-size: clamp(58px, 4.8vw, 92px) !important;
    margin-top: 6px !important;
  }

  .hero-copy h1::before,
  .services-gallery-copy h1::before {
    margin-bottom: 10px !important;
  }

  .ornament-line,
  .service-ornament-line {
    height: 16px !important;
    margin-top: 8px !important;
    margin-bottom: 12px !important;
  }

  .hero-intro,
  .services-gallery-copy .services-intro {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    font-size: clamp(14px, .9vw, 16px) !important;
  }

  .ghost-script,
  .service-ghost-script {
    margin-top: 12px !important;
    font-size: clamp(54px, 4.4vw, 82px) !important;
  }

  .hero-collage,
  .services-gallery-collage {
    min-height: clamp(260px, 19vw, 350px) !important;
  }

  .gallery-hero::before,
  .services-gallery-hero::before {
    width: 210px !important;
    height: 210px !important;
    bottom: -46px !important;
  }
}

@media (max-width: 900px) {
  .gallery-hero {
    height: clamp(260px, 46vw, 320px) !important;
    padding-top: 14px !important;
  }

  .services-gallery-hero {
    padding-top: 10px !important;
    padding-bottom: 8px !important;
  }

  .services-gallery-copy {
    min-height: 132px !important;
  }

  .services-gallery-collage {
    min-height: 184px !important;
  }

  .script-title,
  .service-script-title {
    font-size: clamp(42px, 13vw, 60px) !important;
  }

  .hero-copy h1,
  .services-gallery-copy h1 {
    font-size: clamp(42px, 13vw, 62px) !important;
  }
}

@media (max-width: 430px) {
  .gallery-hero {
    height: 285px !important;
  }
}

