/* Home page fidelity layer — mirrors the current Nail Corner Studio visual language. */
.home-page {
  --live-gold: #e7ce4c;
  --live-black: #050505;
  background: #fff;
  color: #171717;
  font-family: "Poppins", Arial, sans-serif;
}
.home-page .reveal { opacity: 1 !important; transform: none !important; }

.home-page .site-header {
  height: 118px;
  padding-top: 45px;
  background: linear-gradient(#fff 0 45px, #050505 45px 100%);
  border: 0;
  box-shadow: none;
}
.home-page .header-tagline {
  position: absolute;
  inset: 9px 0 auto;
  margin: 0;
  color: #343434;
  text-align: center;
  font-size: 14px;
  font-weight: 300;
}
.home-page .site-header .container {
  position: static;
  height: 73px;
  max-width: 1030px;
  padding-inline: 0;
}
.home-page .brand {
  position: absolute;
  z-index: 3;
  left: 13vw;
  top: 0;
  width: 118px;
  height: 118px;
  overflow: hidden;
  perspective: 900px;
}
.home-page .brand img {
  position: absolute;
  left: -9.5px;
  top: -12px;
  width: 144px;
  height: 141px;
  border-radius: 50%;
  object-fit: contain;
  transform-style: preserve-3d;
  backface-visibility: visible;
  will-change: transform;
  animation: logo-flip 5s linear infinite;
}
.home-page .brand span { display: none; }

@keyframes logo-flip {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}
.home-page .site-nav { order: 1; margin-left: 170px; }
.home-page .site-nav > ul { gap: 18px; }
.home-page .site-nav a {
  color: #fff;
  font-family: "Poppins", Arial, sans-serif;
  font-size: .94rem;
  font-weight: 300;
  letter-spacing: 0;
  padding-inline: 14px;
}
.home-page .site-nav a[aria-current="page"] { color: #fff; }
.home-page .site-nav > ul > li > a::after { background: var(--live-gold); }
.home-page .site-nav .sub { background: #080808; border-color: #333; }
.home-page .site-nav .sub a {
  color: #fff;
  font-family: "Poppins", Arial, sans-serif;
  font-size: .94rem;
  font-weight: 300;
}
.home-page .site-nav .sub a:hover { background: #1a1a1a; }
.home-page .header-socials {
  position: absolute;
  top: 70px;
  right: 19.2vw;
  order: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.home-page .header-socials a { color: #fff; font-size: 1rem; text-decoration: none; }
.home-page .header-socials a:hover { color: var(--live-gold); }
.home-page .header-actions { position: absolute; top: 66px; right: 9vw; order: 3; margin: 0; }
.home-page .header-actions .btn {
  min-height: 30px;
  padding: 4px 24px;
  color: #fff;
  background: transparent;
  border-color: var(--live-gold);
  font-size: .74rem;
  letter-spacing: .08em;
}
.home-page .header-socials { display: flex; gap: 6px; }
.home-page .header-socials a {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #fff;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
}

.home-page main { padding-top: 118px; }
.home-page .hero {
  min-height: min(770px, calc(100svh - 118px));
  align-items: center;
  text-align: center;
}
.home-page .hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.home-page .hero picture img { transform: none; animation: none; object-position: center; }
.home-page .hero::before { background: rgba(0, 0, 0, .12); }
.home-page .hero .container { padding-block: 70px; }
.home-page .hero h1 {
  max-width: none;
  margin: 0;
  color: #fff;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  font-weight: 300;
  line-height: 1;
  text-shadow: 0 5px 0 rgba(0,0,0,.3);
}
.home-page .hero-welcome {
  margin: 0 0 24px;
  color: #fff;
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(1.7rem, 3.3vw, 3rem);
  font-weight: 300;
  text-shadow: 0 3px 0 rgba(0,0,0,.28);
}
.home-page .hero .lead {
  max-width: none;
  margin: 30px auto 56px;
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 2.25rem);
  font-weight: 300;
  text-shadow: 0 3px 0 rgba(0,0,0,.28);
}
.home-page .hero .lead::before { content: "Beauty in Every Blink and Tip"; }
.home-page .hero .lead { font-size: 0; }
.home-page .hero .lead::before { font-size: clamp(1.35rem, 2.5vw, 2.25rem); }
.home-page .hero .btn-row { justify-content: center; gap: 18px; }
.home-page .hero .btn {
  min-width: 200px;
  min-height: 44px;
  padding: 8px 28px;
  color: #e8d356;
  background: rgba(0,0,0,.48);
  border-color: #e8d356;
  border-radius: 999px;
  box-shadow: 0 3px 5px rgba(0,0,0,.55);
  font-size: .9rem;
  letter-spacing: .12em;
}
.home-page .hero .btn:hover { color: #050505; background: #e8d356; }

.studio-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(300px, 18vw, 350px);
  height: 350px;
  gap: 7px;
  padding-top: 7px;
  background: #050505;
  overflow: hidden;
}
.studio-strip img { width: 100%; height: 100%; object-fit: cover; }

.home-page #about {
  position: relative;
  overflow: hidden;
  padding-block: 76px 110px;
  color: #222;
  background: #030303 url("../img/live-sparkles.jpg") center/cover no-repeat;
}
.home-page #about .about-bg-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.home-page .home-section-title {
  position: relative;
  z-index: 1;
  margin: 0 0 64px;
  color: #fff;
  text-align: center;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
}
.home-page #about .split {
  position: relative;
  z-index: 1;
  width: calc(100% - 32px);
  max-width: 980px;
  margin-inline: auto;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: #fff;
  border-bottom: 5px solid #c5a300;
  box-shadow: none;
  overflow: hidden;
}
.home-page #about .frame {
  order: 2;
  height: 100%;
  overflow: hidden;
  border: 7px solid #fff;
  border-radius: 43px 0 43px 0;
  box-shadow: 0 11px 15px 4px rgba(0,0,0,.6), inset 1px 1px 0 #fff;
}
.home-page #about .frame::after { display: none; }
.home-page #about .frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: inherit;
}
.home-page #about .split > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 37px;
  font-size: 16px;
  line-height: 1.6;
}
.home-page #about .split > div:last-child p { margin: 0; }

/* Wix-style opposing entrances for the two About panels. */
.js .home-page #about .about-title {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition: opacity 1s ease, transform 1.15s cubic-bezier(.22, 1, .36, 1);
}
.js .home-page #about .about-title.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.js .home-page #about .about-pane {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 1s ease, transform 1.25s cubic-bezier(.22, 1, .36, 1);
}
.js .home-page #about .about-pane--copy { transform: translate3d(-110px, 0, 0); }
.js .home-page #about .about-pane--media { transform: translate3d(110px, 0, 0) scale(.96); }
.js .home-page #about .about-pane.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
.js .home-page #about .about-pane--copy > * {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .75s ease, transform .9s cubic-bezier(.22, 1, .36, 1);
}
.js .home-page #about .about-pane--copy.is-visible > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.js .home-page #about .about-pane--copy.is-visible > :nth-child(1) { transition-delay: .2s; }
.js .home-page #about .about-pane--copy.is-visible > :nth-child(2) { transition-delay: .36s; }
.js .home-page #about .about-pane--copy.is-visible > :nth-child(3) { transition-delay: .5s; }
.js .home-page #about .about-pane--media.is-visible img {
  animation: about-image-drift 14s ease-in-out 1.1s infinite alternate;
  will-change: transform;
}
@keyframes about-image-drift {
  from { transform: scale(1.015) translate3d(-.4%, -.4%, 0); }
  to { transform: scale(1.075) translate3d(.8%, .6%, 0); }
}

@media (min-width: 1000px) {
  .home-page #about .split {
    grid-template-columns: 54% 46%;
    min-height: 433px;
    aspect-ratio: auto;
  }
  .home-page #about .frame { height: 427px; margin-top: 6px; }
}

.home-page #services {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 94px 116px;
  background: #f7f6f3;
}
.home-page #services::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -18px;
  background: url("../img/services-bg.jpg") center/cover no-repeat;
  filter: blur(7px);
  opacity: .3;
  transform: scale(1.025);
  pointer-events: none;
}
.home-page #services::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: rgba(255,255,255,.58);
  pointer-events: none;
}
.home-page #services .container { position: relative; z-index: 1; }
.home-page .services-kicker { display: block; font-family: var(--font-display); font-size: 2rem; }
.home-page #services h2 { font-size: clamp(3rem, 5vw, 4.5rem); }
.home-page #services .cards { max-width: 920px; margin-inline: auto; gap: 36px; }
.home-page #services .card {
  aspect-ratio: 3 / 4;
  overflow: visible;
  border-radius: 999px 999px 0 0;
  border: 1px solid #d3d0c6;
  box-shadow: 0 4px 12px rgba(0,0,0,.22);
}
.home-page #services .card::before { display: none; }
.home-page #services .card img,
.home-page #services .card video { border-radius: inherit; }
.home-page #services .card-num { display: none; }
.home-page #services .card-body {
  top: calc(100% + 8px);
  bottom: auto;
  padding: 12px 14px;
  background: #050505;
  text-align: center;
  box-shadow: 0 3px 7px rgba(0,0,0,.35);
}
.home-page #services .card-body h3 { margin: 0; font-family: var(--font-display); font-size: .9rem; font-optical-sizing: auto; font-variation-settings: "opsz" 120; font-weight: 300; }
.home-page #services .card-body span { display: none; }
.home-page #services .cards + p { margin-top: 80px !important; }

.home-page #gift-vouchers {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 520px;
  display: grid;
  place-items: center;
  background: #171512 url("../img/live-gift.jpg") center/cover no-repeat;
}
.home-page #gift-vouchers .gift-bg-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.home-page #gift-vouchers::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: rgba(0,0,0,.32);
  pointer-events: none;
}
.home-page #gift-vouchers .container { position: relative; z-index: 1; }
.home-page #gift-vouchers h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 60px);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 120;
  font-weight: 300;
  font-style: normal;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.home-page #gift-vouchers p { color: #fff; text-shadow: 0 2px 5px #000; }

.home-page #gallery {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 90px 110px;
  background: #f5f4f1;
}
.home-page #gallery::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 50%;
  left: 50%;
  width: 145vmax;
  height: 145vmax;
  background: url("../img/gallery-bg.jpg") center / cover no-repeat;
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: center;
  animation: gallery-background-orbit 70s linear infinite;
  will-change: transform;
}
.home-page #gallery::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(255,255,255,.58);
  pointer-events: none;
}
.home-page #gallery > .container { position: relative; z-index: 1; }
@keyframes gallery-background-orbit {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.home-page #gallery .band h2 { color: #a8a596; font-size: clamp(3rem, 5vw, 4.2rem); }
.home-page #gallery .band p { max-width: 760px; color: #8b8982; font-size: .9rem; }
.home-page #gallery .gallery-grid.is-preview {
  max-width: 900px;
  margin-inline: auto;
  grid-template-columns: 3fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 5px;
  padding: 5px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,.28);
}
.home-page #gallery .gallery-grid.is-preview .thumb { border-radius: 0; }
.home-page #gallery .gallery-grid.is-preview .thumb:first-child { grid-row: 1 / 4; }
.home-page #gallery .gallery-grid.is-preview .thumb:nth-child(n+5) { display: none; }

.home-page #follow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 760px;
  padding: clamp(72px, 7vw, 108px) 0 clamp(80px, 8vw, 120px);
  color: #fff;
  background: #000;
}
.home-page #follow::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(0,0,0,.18);
  pointer-events: none;
}
.home-page #follow .follow-bg-video {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.home-page #follow .follow-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 24px);
  margin: 0 auto clamp(54px, 6vw, 84px);
  padding-inline: 20px;
}
.home-page #follow h2 {
  margin: 0;
  color: #fff;
  font-family: "Fraunces", var(--font-display);
  font-size: clamp(3.25rem, 5vw, 65px);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 120;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.04em;
}
.home-page #follow .follow-socials { display: flex; gap: 10px; }
.home-page #follow .follow-social {
  display: grid;
  place-items: center;
  width: clamp(44px, 3.8vw, 54px);
  aspect-ratio: 1;
  color: #fff;
  transition: transform .3s var(--ease), filter .3s var(--ease);
}
.home-page #follow .follow-social:hover {
  color: #fff;
  transform: translateY(-5px) scale(1.04);
  filter: brightness(1.12);
}
.home-page #follow .follow-social svg { width: 58%; height: 58%; fill: currentColor; }
.home-page #follow .follow-social--instagram {
  border-radius: 8px;
  background: linear-gradient(145deg,#6a29d9 0%,#e60073 48%,#ff7a00 100%);
}
.home-page #follow .follow-social--facebook {
  border-radius: 2px;
  background: #4267a9;
}
.home-page #follow .follow-gallery {
  display: grid;
  gap: 8px;
  width: 100%;
  overflow: hidden;
}
.home-page #follow .follow-strip {
  display: flex;
  width: max-content;
  gap: 8px;
  will-change: transform;
}
.home-page #follow .follow-strip-group { display: flex; gap: 8px; }
.home-page #follow .follow-strip img {
  width: clamp(180px, 16vw, 270px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  border: 2px solid #fff;
  object-fit: cover;
}
.home-page #follow .follow-strip--left { animation: follow-marquee-left 52s linear infinite; }
.home-page #follow .follow-strip--right {
  transform: translateX(calc(-50% - 4px));
  animation: follow-marquee-right 56s linear infinite;
}
.home-page #follow .follow-gallery:hover .follow-strip { animation-play-state: paused; }
@keyframes follow-marquee-left {
  to { transform: translateX(calc(-50% - 4px)); }
}
@keyframes follow-marquee-right {
  to { transform: translateX(0); }
}
.home-page .site-footer {
  min-height: 650px;
  padding: clamp(80px, 8vw, 126px) 0 34px;
  background: #15130e;
  color: rgba(255,255,255,.84);
}
.home-page .site-footer .container { max-width: 1500px; }
.home-page .site-footer .footer-grid {
  grid-template-columns: 1.35fr .9fr 1.15fr 1.15fr;
  gap: clamp(48px, 6vw, 104px);
  align-items: start;
}
.home-page .site-footer h3 {
  margin: 0 0 26px;
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.8rem, 2.3vw, 2.35rem);
  font-weight: 300;
  font-style: normal;
  font-variation-settings: "opsz" 120;
  letter-spacing: .02em;
  text-transform: capitalize;
}
.home-page .site-footer .footer-brand img {
  width: 300px;
  height: 300px;
  margin: -26px 0 28px;
  object-fit: contain;
}
.home-page .site-footer .footer-brand p {
  max-width: 350px;
  margin-bottom: 24px;
  font-size: 1.02rem;
  line-height: 1.9;
}
.home-page .site-footer .footer-list li { margin-bottom: 14px; }
.home-page .site-footer .footer-list a {
  font-size: 1rem;
  line-height: 1.65;
}
.home-page .site-footer .footer-grid > div:nth-child(3) .footer-list li { margin-bottom: 17px; }
.home-page .site-footer .footer-note {
  margin: 0;
  color: #00df75;
  font-size: clamp(.92rem, 1.25vw, 1.1rem);
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0;
  text-transform: uppercase;
}
.home-page .site-footer .footer-note span { display: block; }
.home-page .site-footer .footer-afterpay {
  display: grid;
  justify-items: start;
  gap: 28px;
  margin-top: 26px;
}
.home-page .site-footer .afterpay-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(100%, 270px);
  min-height: 86px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #b2fce4;
  color: #050505;
}
.home-page .site-footer .afterpay-badge strong {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 2.8vw, 2.55rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.07em;
}
.home-page .site-footer .afterpay-badge svg {
  width: 46px;
  height: 32px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-page .site-footer .status {
  margin: 0 0 24px;
  font-size: .88rem;
}
.home-page .site-footer .footer-hours {
  gap: 10px 26px;
  font-size: .98rem;
  line-height: 1.55;
}
.home-page .site-footer .social { gap: 12px; margin-top: 18px; }
.home-page .site-footer .social a { width: 48px; height: 48px; }
.home-page .site-footer .footer-bottom {
  margin-top: 72px;
  padding-top: 26px;
  border-top-color: rgba(255,255,255,.24);
  font-size: .82rem;
}

@media (max-width: 999px) {
  .home-page .site-header {
    height: 150px;
    padding-top: 44px;
    background: linear-gradient(#fff 0 44px, #050505 44px 100%);
  }
  .home-page .header-tagline, .home-page .header-socials { display: none; }
  .home-page .site-header .container { height: 106px; padding-inline: 16px; }
  .home-page .brand { left: 50%; top: 0; transform: translateX(-50%); }
  .home-page .brand img { width: 144px; height: 141px; }
  .home-page .nav-toggle { border-color: #777; }
  .home-page .nav-toggle span { background: #fff; }
  .home-page .site-nav { inset: 150px 0 0; margin: 0; background: #050505; }
  .home-page .site-nav a { color: #fff; border-color: #292929; }
  .home-page main { padding-top: 150px; }
  .home-page .hero { min-height: 620px; }
  .home-page .hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .studio-strip {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, 1fr);
    height: 390px;
  }
  .studio-strip img:nth-child(n+3) { display: none; }
  .home-page #about .split { width: calc(100% - 36px); margin-inline: 18px; }
}

@media (max-width: 1100px) {
  .home-page .site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .brand img { animation: none; }
  .home-page #about .about-bg-video { display: none; }
  .home-page #gift-vouchers .gift-bg-video { display: none; }
  .js .home-page #about .about-title,
  .js .home-page #about .about-pane,
  .js .home-page #about .about-pane--copy > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .js .home-page #about .about-pane--media img { animation: none; }
}

@media (max-width: 600px) {
  .home-page .hero { min-height: 560px; }
  .home-page .hero .container { overflow: hidden; padding-inline: 12px; }
  .home-page .hero-welcome { margin-bottom: 16px; font-size: 1.25rem; }
  .home-page .hero h1 { max-width: 100%; font-size: 3rem; line-height: .98; }
  .home-page .hero .lead { margin-block: 24px 34px; }
  .home-page .hero .lead::before { font-size: 1.18rem; }
  .home-page .hero .btn-row { flex-wrap: nowrap; gap: 10px; }
  .home-page .hero .btn { min-width: 0; width: 47%; padding-inline: 10px; font-size: .72rem; }
  .studio-strip { height: 250px; }
  .home-page #about .split > div:last-child { padding: 40px 28px; font-size: 1rem; }
  .home-page #about .frame img { min-height: 300px; }
  .home-page #services .cards { gap: 74px; padding-inline: 28px; }
  .home-page #services .cards + p { margin-top: 70px !important; }
  .home-page #gallery .gallery-grid.is-preview { grid-template-columns: 2fr 1fr; }
  .home-page #follow { min-height: 580px; padding-block: 64px 72px; }
  .home-page #follow .follow-heading { flex-direction: row; gap: 14px; margin-bottom: 48px; }
  .home-page #follow h2 { font-size: clamp(2.7rem, 12vw, 3.4rem); }
  .home-page #follow .follow-social { width: 42px; }
  .home-page #follow .follow-strip img { width: 170px; }
  .home-page .site-footer { min-height: 0; padding: 72px 0 28px; }
  .home-page .site-footer .footer-grid { grid-template-columns: 1fr; gap: 46px; }
  .home-page .site-footer .footer-brand img { margin: -20px 0 22px; }
  .home-page .site-footer .footer-bottom { margin-top: 54px; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page #gallery::before { animation: none; }
  .home-page #follow .follow-strip { animation: none; }
}
