/* Nail studio sample: warm cream canvas, pill nav, circular service portraits. */
:root {
  --canvas: #F3F0EE;
  --lifted: #FCFBFA;
  --ink: #141413;
  --charcoal: #262627;
  --slate: #696969;
  --ghost: #E8E2DA;
  --dust: #D1CDC7;
  --white: #FFFFFF;
  --signal: #CF4500;
  --orbit: #F37338;
  --link: #3860BE;
  --font: "Sofia Sans", Arial, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--canvas);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 500;
  margin: 0 0 0.4em;
  letter-spacing: -0.02em;
  font-style: normal;
  color: var(--ink);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orbit);
  flex-shrink: 0;
}

.demo-notice {
  background: var(--lifted);
  color: var(--slate);
  font-size: 13px;
  text-align: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--dust);
  position: relative;
  z-index: 70;
}
.demo-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  margin-right: 8px;
  border: 1px solid var(--dust);
  border-radius: 999px;
  background: var(--white);
  color: var(--slate);
  vertical-align: 1px;
}
.demo-notice a {
  color: var(--link);
  text-decoration: underline;
  margin-left: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 6px 24px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
  border-radius: 20px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 150ms var(--ease), background 150ms var(--ease), border-color 150ms var(--ease);
}
.btn-ink {
  background: var(--ink);
  color: var(--canvas);
  border-color: var(--ink);
}
.btn-ink:hover { transform: scale(0.98); }
.btn-outline {
  background: var(--white);
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--lifted); }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 24px 24px 0;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  box-shadow: rgba(0, 0, 0, 0.04) 0 4px 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-logo {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-right: auto;
  white-space: nowrap;
}
.nav-logo span { color: var(--slate); font-weight: 400; }
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.nav-links a:hover { color: var(--slate); }
.nav-cta {
  min-height: 44px;
  padding: 6px 20px;
  font-size: 15px;
}
.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 12px 4px 4px;
  border-top: 1px solid var(--dust);
  margin-top: 4px;
}
.nav-drawer a {
  font-weight: 500;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.nav-drawer-cta { align-self: flex-start; margin-top: 8px; }
details.nav-menu[open] + .nav-drawer { display: flex; }

.nav .nav-toggle-bars span { background: var(--ink); }

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav { justify-content: space-between; }
  .nav-logo { margin-right: 0; }
}

/* H3 framed stadium hero */
.hero {
  padding: 32px 24px 48px;
}
.hero-frame {
  position: relative;
  min-height: min(70vh, 680px);
  border-radius: 40px;
  overflow: hidden;
  background: #2B2B2B;
  box-shadow: rgba(0, 0, 0, 0.08) 0 24px 48px;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 20, 19, 0.78) 0%, rgba(20, 20, 19, 0.45) 42%, transparent 68%),
    linear-gradient(180deg, transparent 40%, rgba(20, 20, 19, 0.45) 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  padding: 64px 56px;
  color: var(--canvas);
}
.hero .eyebrow { color: var(--canvas); }
.hero .eyebrow .dot { background: var(--orbit); }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--canvas);
  margin-bottom: 16px;
}
.lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  color: rgba(243, 240, 238, 0.88);
  max-width: 38ch;
}
.hero .btn-outline {
  background: transparent;
  color: var(--canvas);
  border-color: var(--canvas);
}
.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}
.hero .btn-ink {
  background: var(--canvas);
  color: var(--ink);
  border-color: var(--canvas);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}
.section-head h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.25rem);
  line-height: 1.22;
}
.section-head p:last-child {
  margin: 0;
  color: var(--charcoal);
  font-weight: 400;
}

.services {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.ghost {
  position: absolute;
  top: 48px;
  left: 6%;
  margin: 0;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ghost);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.orbit {
  position: absolute;
  left: 0;
  right: 0;
  top: 42%;
  height: 320px;
  color: var(--orbit);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}
.orbit-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.portrait-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
  padding-top: 24px;
}
.portrait:nth-child(2) { margin-top: 48px; }
.portrait:nth-child(3) { margin-top: 16px; }
.portrait-disk {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1;
  margin: 0 auto 20px;
}
.portrait-disk img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0.08) 0 24px 48px;
}
.satellite {
  position: absolute;
  right: -6px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 500;
  box-shadow: rgba(0, 0, 0, 0.08) 0 12px 28px;
  transition: transform 150ms var(--ease);
}
.satellite:hover { transform: scale(1.05); }
.portrait h3 {
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
}
.portrait > p:last-child {
  margin: 0;
  text-align: center;
  color: var(--charcoal);
  font-size: 15px;
}
.portrait .eyebrow {
  display: flex;
  justify-content: center;
  width: 100%;
}

.menu {
  padding: 80px 0 96px;
  background: var(--lifted);
}
.menu-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.menu-filter {
  appearance: none;
  border: 1.5px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.03em;
  padding: 8px 20px;
  border-radius: 999px;
  min-height: 44px;
  cursor: pointer;
}
.menu-filter.is-active {
  background: var(--ink);
  color: var(--canvas);
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.menu-card {
  border-radius: 40px;
  overflow: hidden;
  background: var(--white);
  box-shadow: rgba(0, 0, 0, 0.08) 0 24px 48px;
  transition: transform 150ms var(--ease);
}
.menu-card:hover { transform: translateY(-3px); }
.menu-card.is-hidden { display: none; }
.menu-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.menu-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chip {
  position: absolute;
  left: 16px;
  top: 16px;
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
}
.menu-body { padding: 24px 28px 28px; }
.menu-body h3 {
  font-size: 24px;
  line-height: 1.2;
}
.menu-body p {
  margin: 0 0 12px;
  color: var(--charcoal);
}
.price {
  font-weight: 500;
  color: var(--ink) !important;
}
.price i {
  font-style: normal;
  color: var(--slate);
  font-weight: 400;
}
.menu-empty {
  margin: 16px 0 0;
  color: var(--slate);
  font-weight: 500;
}

.visit {
  padding: 96px 0;
}
.visit-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.steps {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}
.steps li {
  padding: 20px 24px;
  border-radius: 28px;
  background: var(--lifted);
  color: var(--charcoal);
}
.steps strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 4px;
}
.visit-card {
  background: var(--white);
  border-radius: 40px;
  padding: 32px;
  box-shadow: rgba(0, 0, 0, 0.08) 0 24px 48px;
}
.visit-card h3 { font-size: 24px; }
.visit-card p { color: var(--charcoal); margin: 0 0 16px; }
.hours { font-weight: 500; color: var(--ink) !important; }

.book {
  padding: 0 0 96px;
}
.book-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
  background: var(--lifted);
  border-radius: 40px;
  padding: 40px;
  box-shadow: rgba(0, 0, 0, 0.04) 0 4px 24px;
}
.book-copy p { color: var(--charcoal); margin: 0; }
.book-widget {
  background: var(--white);
  border-radius: 32px;
  padding: 28px;
}
.book-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}
.book-progress span {
  height: 4px;
  flex: 1;
  border-radius: 999px;
  background: var(--dust);
}
.book-progress span.is-on { background: var(--ink); }
.step-label {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
}
.chip-stack {
  display: grid;
  gap: 8px;
}
.choice { position: relative; cursor: pointer; }
.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--dust);
  background: var(--lifted);
  font-weight: 500;
  color: var(--ink);
  transition: border-color 150ms var(--ease), background 150ms var(--ease);
}
.choice input:checked + span {
  border-color: var(--ink);
  background: var(--white);
}
.choice input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.book-step .btn { margin-top: 18px; }
.step-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.book-note {
  margin: 12px 0 0;
  color: var(--signal);
  font-size: 14px;
  font-weight: 500;
}

/* E2 split photo close */
.close {
  padding: 0 24px 96px;
}
.close-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}
.close-photo {
  border-radius: 40px;
  overflow: hidden;
  min-height: 360px;
  box-shadow: rgba(0, 0, 0, 0.08) 0 24px 48px;
}
.close-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.close-copy h2 {
  font-size: clamp(1.85rem, 3vw, 2.25rem);
  line-height: 1.2;
}
.close-copy p {
  color: var(--charcoal);
  margin: 0 0 24px;
}

.foot {
  background: var(--ink);
  color: var(--white);
  padding: 80px 0 64px;
}
.foot-lead {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
  max-width: 16ch;
  margin: 0 0 48px;
}
.foot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}
.foot-col {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.foot-grid a,
.foot-grid span {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
}
.foot-grid a:hover { text-decoration: underline; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}
.foot-bottom a {
  color: var(--white);
  font-weight: 500;
}

.js-motion .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js-motion .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .wrap { padding: 0 24px; }
  .portrait-row,
  .menu-grid,
  .visit-grid,
  .book-layout,
  .close-grid,
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .portrait:nth-child(2),
  .portrait:nth-child(3) { margin-top: 0; }
  .orbit { display: none; }
  .ghost { font-size: 4.5rem; top: 32px; }
  .hero-copy { padding: 48px 28px; }
  .services, .menu, .visit, .book, .close { padding-top: 64px; padding-bottom: 64px; }
  .book { padding-top: 0; }
  .close { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 600px) {
  .nav-shell { padding: 16px 12px 0; }
  .hero { padding: 16px 12px 32px; }
  .hero-frame { border-radius: 28px; min-height: min(78vh, 560px); }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .book-layout { padding: 24px 18px; border-radius: 28px; }
  .portrait-disk { width: min(100%, 260px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--canvas);
  font-weight: 700;
  font-size: 14px;
  border-radius: 20px;
  transform: translateY(-200%);
}
.skip-link:focus { outline: none; }
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--orbit);
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
[id] {
  scroll-margin-top: calc(6.5rem + env(safe-area-inset-top, 0px));
}

/* --- Web Interface Guidelines extras --- */
a, button, summary, input, select, textarea, label, [role="button"], [role="tab"] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
}
h1, h2, h3 { text-wrap: pretty; }
