/* ============================================================
   LILLY NAILS LOUNGE — sections
   ============================================================ */

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.976 0.013 55 / 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; flex-direction: column; justify-content: center; gap: 1px; white-space: nowrap; line-height: 1; }
.brand .mark {
  font-family: var(--display); font-weight: 600; font-style: italic;
  font-size: 23px; letter-spacing: -0.02em; white-space: nowrap;
}
.brand .mark b { font-style: normal; font-weight: 700; }
.brand .loc { font-family: "Space Mono", monospace; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-deep); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; letter-spacing: 0.01em; position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 0;
  background: var(--accent); transition: width .28s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-family: "Space Mono", monospace; font-size: 13px; letter-spacing: 0.04em; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
.nav-reveal-book { display: none; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0;
  margin-right: -8px;
}
.nav-toggle-bars { position: relative; width: 22px; height: 14px; display: block; }
.nav-toggle-bars span {
  position: absolute; left: 0; width: 100%; height: 1.6px; background: var(--ink);
  transition: transform .3s, opacity .25s; border-radius: 2px;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6.2px; }
.nav-toggle-bars span:nth-child(3) { top: 12.4px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6.2px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6.2px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { background: var(--hero-bg); overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 104px);
}
.hero h1 {
  font-size: clamp(52px, 7.4vw, 112px);
  margin: 22px 0 0;
  text-wrap: balance;
}
.hero h1 .line2 { color: var(--accent); }
.hero-sub {
  margin-top: 26px; max-width: 34ch; font-size: 18px; color: var(--ink-soft);
}
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-proof {
  margin-top: 46px; display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid var(--line);
}
.proof-item { padding: 20px 28px 4px 0; margin-right: 28px; border-right: 1px solid var(--line); }
.proof-item:last-child { border-right: 0; }
.proof-item .n { font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1; }
.proof-item .k { font-family: "Space Mono", monospace; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-top: 7px; }
.stars { color: var(--accent); letter-spacing: 2px; }

.hero-art { position: relative; }
.hero-ph { aspect-ratio: 4/5; border-radius: 220px 220px 18px 18px; }
.hero-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--ink); color: var(--paper);
  width: 132px; height: 132px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  font-family: "Space Mono", monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.7;
  animation: spinbadge 18s linear infinite;
}
.hero-badge b { display: block; font-family: var(--display); font-style: italic; font-size: 26px; letter-spacing: 0; text-transform: none; }
@keyframes spinbadge { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-badge { animation: none; } }

/* ---------- marquee ---------- */
.marquee {
  background: var(--ink); color: var(--paper);
  padding-block: 22px; overflow: hidden; white-space: nowrap;
  border-block: 1px solid var(--ink);
}
.marquee-track { display: inline-flex; gap: 0; animation: scroll 30s linear infinite; }
.marquee-track span {
  font-family: var(--display); font-style: italic; font-size: 30px; padding: 0 30px;
  display: inline-flex; align-items: center; gap: 30px;
}
.marquee-track span::after { content: "✦"; color: var(--accent); font-style: normal; font-size: 16px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- section heading ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(38px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(38px, 4.6vw, 68px); max-width: 16ch; text-wrap: balance; }
.sec-head p { max-width: 42ch; color: var(--ink-soft); }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 56px); }
.svc-col h3 {
  font-family: var(--display); font-size: 30px; font-weight: 600;
  padding-bottom: 14px; margin-bottom: 8px; border-bottom: 2px solid var(--ink);
  display: flex; align-items: center; gap: 12px;
}
.svc-img { width: 100%; height: 150px; border-radius: 12px; margin-bottom: 20px; }
.svc-col h3 .ix { font-family: "Space Mono", monospace; font-size: 13px; color: var(--accent-deep); font-weight: 400; }
.svc-item {
  display: flex; align-items: baseline; gap: 14px;
  padding: 17px 0; border-bottom: 1px solid var(--line);
}
.svc-item .name { font-weight: 600; font-size: 17px; }
.svc-item .desc { color: var(--ink-soft); font-size: 14px; }
.svc-item .dots { flex: 1; border-bottom: 1.5px dotted var(--line); transform: translateY(-4px); }
.svc-item .price { font-family: "Space Mono", monospace; font-size: 15px; white-space: nowrap; }
.svc-note { margin-top: 22px; font-size: 14px; color: var(--ink-soft); }

/* ---------- gallery ---------- */
.gallery { background: var(--blush); }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gal-grid .ph { border-radius: 12px; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.gal-grid .ph:hover { transform: scale(0.97); }
.gal-grid .tall { grid-row: span 2; }
.g1 { aspect-ratio: 1; } .g-tall { aspect-ratio: 1/2; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(34px, 6vw, 90px); align-items: center; }
.about-ph { aspect-ratio: 5/6; border-radius: 18px; }
.about h2 { font-size: clamp(36px, 4.4vw, 60px); margin: 20px 0 26px; text-wrap: balance; }
.about p { font-size: 18px; color: var(--ink-soft); margin-bottom: 18px; max-width: 62ch; }
.about p strong { color: var(--ink); font-weight: 600; }
.sig { font-family: var(--display); font-style: italic; font-size: 38px; margin-top: 14px; }

/* ---------- team ---------- */
.team { background: var(--ink); color: var(--paper); }
.team .eyebrow { color: oklch(0.8 0.08 8); }
.team .sec-head h2 { color: var(--paper); }
.team .sec-head p { color: oklch(0.78 0.02 350); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.member .ph { aspect-ratio: 3/4; border-radius: 14px; margin-bottom: 18px; }
.member h3 { font-family: var(--display); font-size: 28px; font-weight: 600; }
.member .role { font-family: "Space Mono", monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: oklch(0.8 0.1 8); margin-top: 4px; }
.member p { color: oklch(0.78 0.02 350); font-size: 15px; margin-top: 12px; }

/* ---------- testimonials ---------- */
.tst-top { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-bottom: 50px; }
.tst-score { font-family: var(--display); font-size: 88px; font-weight: 600; line-height: 0.8; }
.tst-meta .stars { font-size: 22px; }
.tst-meta .k { font-family: "Space Mono", monospace; font-size: 12px; letter-spacing: 0.1em; color: var(--ink-soft); text-transform: uppercase; margin-top: 6px; }
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tst-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 30px; }
.gallery .tst-card { background: var(--paper); }
.tst-card .quote { font-family: var(--display); font-size: 21px; line-height: 1.32; margin-bottom: 22px; }
.tst-card .who { display: flex; align-items: center; gap: 12px; }
.tst-card .av { width: 40px; height: 40px; border-radius: 50%; background: var(--blush-deep); display: grid; place-content: center; font-family: var(--display); font-style: italic; font-weight: 600; }
.tst-card .who .nm { font-weight: 600; font-size: 15px; }
.tst-card .who .src { font-family: "Space Mono", monospace; font-size: 10.5px; letter-spacing: 0.08em; color: var(--ink-soft); text-transform: uppercase; }

/* ---------- instagram ---------- */
.ig-head { text-align: center; margin-bottom: 44px; }
.ig-head .handle { font-family: var(--display); font-style: italic; font-size: clamp(34px, 5vw, 60px); }
.ig-head .handle:hover { color: var(--accent); }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ig-grid .ph { aspect-ratio: 1; border-radius: 8px; cursor: pointer; }
.ig-grid .ph::after {
  content: "♥"; position: absolute; inset: 0; display: grid; place-content: center;
  color: var(--paper); font-size: 26px; opacity: 0; background: oklch(0.205 0.035 350 / 0.4);
  transition: opacity .3s;
}
.ig-grid .ph:hover::after { opacity: 1; }

/* ---------- visit ---------- */
.visit { background: var(--blush); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: stretch; }
.loc-cards { display: grid; gap: 20px; }
.loc-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 30px 32px; }
.loc-card.primary { border-color: var(--accent); box-shadow: 0 18px 50px -28px var(--accent); }
.loc-card .tag { font-family: "Space Mono", monospace; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); }
.loc-card h3 { font-family: var(--display); font-size: 30px; font-weight: 600; margin: 8px 0 4px; }
.loc-card .addr { color: var(--ink-soft); font-size: 15px; }
.loc-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); margin-top: 18px; font-size: 14px; }
.loc-row .label { color: var(--ink-soft); }
.hours-line { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; }
.hours-line span:first-child { color: var(--ink-soft); }
.map-ph { border-radius: 18px; min-height: 360px; height: 100%; }

/* ---------- footer ---------- */
.foot-cta { background: var(--ink); color: var(--paper); text-align: center; }
.foot-cta h2 { font-size: clamp(44px, 8vw, 110px); margin-bottom: 12px; }
.foot-cta h2 em { color: var(--accent); }
.foot-cta p { color: oklch(0.8 0.02 350); max-width: 44ch; margin: 0 auto 36px; font-size: 18px; }
footer { background: var(--ink); color: oklch(0.8 0.02 350); border-top: 1px solid var(--line-light); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 64px 40px; }
.foot-brand .mark { font-family: var(--display); font-style: italic; font-size: 30px; color: var(--paper); }
.foot-brand p { margin-top: 14px; max-width: 32ch; font-size: 15px; }
.foot-col h4 { font-family: "Space Mono", monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper); margin-bottom: 16px; }
.foot-col a { display: block; padding: 5px 0; font-size: 15px; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-block: 26px; border-top: 1px solid var(--line-light); font-family: "Space Mono", monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- responsive ---------- */
/* hero stacks below 1024 */
@media (max-width: 1024px) {
  .hero-inner, .about-grid, .visit-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 460px; }
}
@media (max-width: 1040px) {
  .brand .loc { display: block; }
  .nav-links { gap: 22px; }
}
@media (max-width: 980px) {
  .svc-grid, .team-grid, .tst-grid { grid-template-columns: 1fr 1fr; }
  .ig-grid { grid-template-columns: repeat(4, 1fr); }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
}
/* single column site-wide below 768; artists/services stack */
@media (max-width: 768px) {
  .svc-grid, .team-grid, .tst-grid { grid-template-columns: 1fr; }
  .map-ph { min-height: 300px; height: 300px; }
}
/* hamburger nav below 860 (full horizontal nav only fits comfortably above this) */
@media (max-width: 860px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: oklch(0.976 0.013 55 / 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 22px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .25s;
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 18px; padding: 15px 0; min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-reveal-book { display: inline-flex; justify-content: center; margin-top: 18px; border-bottom: 0 !important; }
  .nav-book-pill { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-inner { height: 64px; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-proof { gap: 0; }
  .proof-item { padding-right: 18px; margin-right: 18px; }
}
@media (max-width: 380px) {
  .nav-phone { font-size: 12px; }
  .brand .mark { font-size: 21px; }
}

/* mobile type + touch floor */
@media (max-width: 768px) {
  .svc-col h3 { font-size: clamp(26px, 7vw, 30px); }
  .member h3 { font-size: clamp(26px, 7vw, 28px); }
  .loc-card h3 { font-size: clamp(26px, 7vw, 30px); }
  .tst-score { font-size: clamp(64px, 18vw, 88px); }
  .hero-sub { font-size: 17px; }
  .member-book { min-height: 44px; }
  .ig-grid .ph { min-height: 0; }
}

/* ============================================================
   MONOGRAM CREST — artist cards + about portrait
   ============================================================ */
.crest {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 150px 150px 16px 16px;
  overflow: hidden;
  display: grid; place-items: center;
  isolation: isolate;
  background: var(--c-base, oklch(0.86 0.05 80));
}
.crest::before, .crest::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(34px); z-index: 0;
  animation: meshfloat 17s ease-in-out infinite alternate;
}
.crest::before { width: 96%; height: 72%; top: -12%; left: -22%; background: var(--c-m1, #fff); }
.crest::after  { width: 102%; height: 78%; bottom: -16%; right: -24%; background: var(--c-m2, #fff); animation-delay: -8.5s; }
@keyframes meshfloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(10%, 8%) scale(1.22); }
}
@media (prefers-reduced-motion: reduce) { .crest::before, .crest::after { animation: none; } }

.crest-initial {
  position: relative; z-index: 1;
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(84px, 12vw, 150px); line-height: 1;
  color: oklch(0.28 0.045 350 / 0.42);
  user-select: none;
}
.crest-nail { position: absolute; left: 16px; bottom: 16px; z-index: 1; height: 26px; width: auto; }
.crest-nail path { fill: none; stroke: var(--gold); stroke-width: 1.3; }
.crest-nail .crest-spark { fill: var(--gold); stroke: none; }
.crest-heart { position: absolute; top: 14px; right: 16px; z-index: 1; font-size: 15px; }

/* per-artist palettes */
.crest-lilly { --c-base: oklch(0.875 0.045 85); --c-m1: oklch(0.93 0.05 96); --c-m2: oklch(0.8 0.075 68); }
.crest-art   { --c-base: oklch(0.86 0.06 350); --c-m1: oklch(0.83 0.1 300);  --c-m2: oklch(0.88 0.085 165); }
.crest-spa   { --c-base: oklch(0.865 0.04 132); --c-m1: oklch(0.84 0.062 150); --c-m2: oklch(0.875 0.055 8); }

/* artist card extras */
.member .crest { margin-bottom: 18px; }
.member-spec { color: oklch(0.78 0.02 350); font-size: 15px; font-style: italic; margin-top: 12px; }
.member-book {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 12px;
  font-family: "Space Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: oklch(0.82 0.1 8);
  min-height: 44px;
  transition: color .25s, gap .25s;
}
.member-book:hover { color: var(--paper); gap: 11px; }

/* about solo crest */
.crest-solo { aspect-ratio: 5/6; border-radius: 200px 200px 18px 18px; }
.crest-solo .crest-initial { font-size: clamp(120px, 17vw, 210px); }
.crest-solo .crest-nail { height: 34px; left: 24px; bottom: 24px; }
.crest-solo .crest-heart { font-size: 20px; top: 22px; right: 24px; }
.crest-name {
  position: absolute; z-index: 1; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-family: "Space Mono", monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: oklch(0.3 0.035 350 / 0.72); white-space: nowrap;
}

/* ---------- hero credit (replaces spinning badge) ---------- */
.hero-credit {
  position: absolute; bottom: 18px; left: 18px;
  background: oklch(0.976 0.013 55 / 0.86);
  backdrop-filter: blur(8px);
  padding: 10px 16px; border-radius: 100px;
  font-family: "Space Mono", monospace; font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink);
}

/* ============================================================
   WET GLOSS HEADLINE — v1 signature
   ============================================================ */
.gloss { position: relative; display: inline-block; }
.gloss::after {
  content: attr(data-text);
  position: absolute; inset: 0; pointer-events: none;
  font: inherit; font-style: italic;
  background: radial-gradient(58% 120% at var(--gx, 60%) var(--gy, 35%),
      rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.55) 9%, rgba(255,255,255,0) 30%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
@media (prefers-reduced-motion: reduce) {
  .gloss::after {
    background: radial-gradient(58% 120% at 60% 33%, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 30%);
  }
}
