/* Klearly Beautiful Nail Studio
   Colors come straight from her logo: black, logo gold, and cream. */
:root {
  --black: #0d0d0d;
  --ink: #151311;
  --gold: #e7c578;          /* sampled from the logo */
  --gold-soft: rgba(231, 197, 120, 0.35);
  --gold-text: #7a5e24;     /* darker gold, readable on cream */
  --cream: #f6f0e6;
  --cream-2: #eee5d5;
  --text-dark: #1a1712;
  --muted-dark: #5f5444;
  --text-light: #f6f0e6;
  --muted-light: #c2b8a4;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text-light);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* Small spaced capitals, like the ring text on her logo */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.rule { width: 56px; height: 1px; background: var(--gold); border: 0; margin: 26px auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 30px;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--gold); cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: #f0d493; }
.btn-line { background: transparent; color: var(--gold); }
.btn-line:hover { background: rgba(231, 197, 120, 0.1); }
.on-cream .btn-line { color: var(--text-dark); border-color: var(--text-dark); }
.on-cream .btn-line:hover { background: rgba(0,0,0,0.05); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 13, 13, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(231, 197, 120, 0.18);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 12px; font-weight: 400; letter-spacing: 0.26em; text-transform: uppercase;
  text-decoration: none; color: var(--text-light);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold); }
.nav-links .btn { min-height: 42px; padding: 0 20px; font-size: 12px; color: var(--black); }

.lang { display: inline-flex; border: 1px solid var(--gold-soft); }
.lang button {
  background: none; border: 0; color: var(--muted-light); cursor: pointer;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; padding: 7px 10px;
}
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--black); }

/* Hero */
.hero { text-align: center; padding: 64px 0 88px; }
.hero-logo { width: min(360px, 78vw); margin: 0 auto; }
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); color: var(--text-light); max-width: 760px; margin: 0 auto; }
.hero .lead { color: var(--muted-light); font-size: 18px; margin: 18px auto 0; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* Sections */
section { padding: 96px 0; }
.on-cream { background: var(--cream); color: var(--text-dark); }
.on-cream .eyebrow { color: var(--gold-text); }
.on-cream .rule { background: var(--gold-text); }
.on-cream-2 { background: var(--cream-2); color: var(--text-dark); }
.on-cream-2 .eyebrow { color: var(--gold-text); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 46px); }
.section-head p { margin-top: 14px; color: var(--muted-dark); }
.dark .section-head p, .section-head.light p { color: var(--muted-light); }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service {
  background: #fffaf2; border: 1px solid rgba(122, 94, 36, 0.18);
  padding: 34px 26px 30px; text-align: center;
}
.service .num { font-family: var(--serif); font-style: italic; color: var(--gold-text); font-size: 22px; }
.service h3 { font-size: 25px; margin: 10px 0 12px; }
.service p { font-size: 15.5px; color: var(--muted-dark); }
.note { text-align: center; color: var(--muted-dark); font-size: 15px; margin: 34px auto 0; max-width: 560px; }
.center { text-align: center; margin-top: 30px; }

/* Work preview + gallery grid */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink);
  border: 0; padding: 0; cursor: pointer; display: block; width: 100%;
}
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tile:hover img, .tile:hover video { transform: scale(1.04); }
.tile .play {
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(13,13,13,0.7); border: 1px solid var(--gold); display: grid; place-items: center;
}
.tile .play::after {
  content: ""; margin-left: 3px;
  border-left: 11px solid var(--gold); border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.tile.placeholder {
  display: grid; place-items: center; cursor: default;
  border: 1px solid rgba(231, 197, 120, 0.22);
  background: repeating-linear-gradient(135deg, #141210 0 14px, #171513 14px 28px);
  color: var(--muted-light); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
}

/* Reviews */
.stars { color: var(--gold-text); letter-spacing: 6px; font-size: 18px; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.review { background: #fffaf2; border: 1px solid rgba(122, 94, 36, 0.18); padding: 32px 28px; }
.review blockquote { margin: 12px 0 18px; font-family: var(--serif); font-size: 22px; line-height: 1.4; font-style: italic; }
.review cite { font-style: normal; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-dark); }

/* Visit */
.visit { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.visit h2 { font-size: clamp(32px, 4.4vw, 46px); }
.visit address { font-style: normal; font-family: var(--serif); font-size: 26px; line-height: 1.35; margin-top: 18px; }
.visit .muted { color: var(--muted-light); margin-top: 14px; }
.visit-card { border: 1px solid var(--gold-soft); padding: 36px; }
.visit-card dl { margin: 0; display: grid; gap: 20px; }
.visit-card dt { font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.visit-card dd { margin: 4px 0 0; }
.visit-card a { color: var(--text-light); text-underline-offset: 4px; text-decoration-color: var(--gold-soft); }
.visit-card a:hover { color: var(--gold); }
.link-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* Page hero (gallery + book) */
.page-hero { text-align: center; padding: 70px 0 64px; }
.page-hero img { width: 150px; margin: 0 auto 18px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 64px); }
.page-hero p { color: var(--muted-light); margin: 16px auto 0; max-width: 560px; font-size: 18px; }

/* Book page */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { background: #fffaf2; border: 1px solid rgba(122, 94, 36, 0.18); padding: 34px 28px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--gold-text); color: var(--gold-text);
  font-family: var(--serif); font-size: 22px; margin-bottom: 18px;
}
.step h3 { font-size: 25px; margin-bottom: 8px; }
.step p { color: var(--muted-dark); font-size: 15.5px; }
.good-to-know { max-width: 760px; margin: 0 auto; display: grid; gap: 22px; }
.good-to-know div { border-left: 1px solid var(--gold); padding-left: 22px; }
.good-to-know h3 { font-size: 24px; margin-bottom: 6px; }
.good-to-know p { color: var(--muted-light); }
.good-to-know a { color: var(--gold); text-underline-offset: 4px; }

/* Gallery page */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filters button {
  background: transparent; border: 1px solid rgba(26, 23, 18, 0.35); color: var(--text-dark);
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 10px 18px; cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--text-dark); color: var(--cream); border-color: var(--text-dark); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery-grid .tile { aspect-ratio: 4 / 5; }

.gallery-grid .tile.placeholder { aspect-ratio: 4 / 5; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(8, 8, 8, 0.94);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img, .lightbox video { max-height: 86vh; max-width: min(92vw, 900px); width: auto; }
.lightbox .close {
  position: absolute; top: 16px; right: 18px; background: none; border: 1px solid var(--gold-soft);
  color: var(--gold); width: 44px; height: 44px; font-size: 22px; cursor: pointer;
}

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(32px, 4.6vw, 48px); }
.cta-band p { color: var(--muted-light); margin: 14px auto 30px; max-width: 520px; }

/* Footer */
footer { border-top: 1px solid rgba(231, 197, 120, 0.18); padding: 44px 0 48px; text-align: center; }
footer img { width: 120px; margin: 0 auto 16px; }
footer nav { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 14px; }
footer nav a { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; color: var(--muted-light); }
footer nav a:hover { color: var(--gold); }
footer small { color: #8a8272; font-size: 13px; }

/* Book-now bar that follows people on phones */
.book-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(13, 13, 13, 0.96); border-top: 1px solid rgba(231, 197, 120, 0.25);
  display: none;
}
.book-bar .btn { width: 100%; }

@media (max-width: 900px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews, .steps { grid-template-columns: 1fr; }
  .visit { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  section { padding: 72px 0; }
  .nav { height: 64px; }
  .nav-logo img { height: 36px; }
  .nav-links { gap: 16px; }
  .nav-links .hide-sm { display: none; }
  .hero { padding: 40px 0 64px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .book-bar { display: block; }
  footer { padding-bottom: 110px; }
  footer nav { gap: 18px; }
  footer nav a { letter-spacing: 0.16em; }
  .btn { padding: 0 22px; text-align: center; }
  .visit-card { padding: 26px; }
}
@media (max-width: 480px) {
  .services { grid-template-columns: 1fr; }
  .nav-links a.nav-text { letter-spacing: 0.18em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile img, .tile video { transition: none; }
}

/* Videos are all cut to the same 4:5 shape, so their space is saved before they load */
.gallery-grid .tile video { aspect-ratio: 4 / 5; object-fit: cover; }
