/* Neo Nail Bar · Key Biscayne
   New wordmark: hot pink + black on white. */

:root {
  --ink: #111111;
  --paper: #FFFFFF;
  --cream: #FFFFFF;
  --line: #EDEDED;
  --stone: #6B6B6B;
  --accent: #F80788;
  --accent-hover: #D00674;
  --magenta: #F80788;

  --display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1280px;
  --measure: 52ch;
  --header-h: 72px;
  --bar-h: 36px;
  --radius: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--bar-h) + 12px); overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta); text-decoration: none; }
a:hover { color: var(--accent-hover); opacity: 1; }
:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); text-transform: uppercase; }
h2 { font-family: var(--mono); font-weight: 400; font-size: clamp(1.35rem, 3vw, 1.85rem); letter-spacing: -0.03em; text-transform: none; }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--magenta);
}
.lede { font-size: 1.05rem; color: var(--stone); font-weight: 400; max-width: 42ch; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); width: 100%; }
main { overflow-x: clip; max-width: 100%; }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-stack { padding: 24px 0; }
.section-head { margin-bottom: clamp(24px, 4vw, 40px); }
.section-head a { font-size: .85rem; }

/* Announcement ----------------------------------------------------- */
.announcement {
  background: var(--magenta);
  color: #fff;
  text-align: center;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 10px var(--gutter);
}

/* Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--text); font-weight: 600; font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 13px 22px; border-radius: var(--radius); border: 1px solid transparent;
  transition: opacity .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { opacity: 1; }
.btn-primary { background: var(--magenta); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { border-color: var(--magenta); color: var(--magenta); background: transparent; }
.btn-ghost:hover { background: var(--magenta); color: #fff; }
.btn-lg { padding: 15px 26px; }

/* Header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.header-grid {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.brand { display: flex; flex-direction: column; align-items: center; gap: 2px; justify-self: center; }
.brand img { height: 42px; width: auto; }
.brand span {
  font-size: .58rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--magenta);
}
.nav { display: flex; align-items: center; gap: 22px; justify-self: start; }
.nav a {
  color: var(--ink);
  font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 0;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--magenta); opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.header-actions .phone {
  color: var(--ink);
  font-size: .75rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; font-variant-numeric: tabular-nums;
}
.header-actions .phone:hover { color: var(--magenta); }
.header-actions .btn { padding: 10px 16px; font-size: .68rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); justify-self: start; }
.nav-toggle svg { display: block; }

/* Hero / intro ----------------------------------------------------- */
.hero {
  background: var(--paper);
  padding: clamp(28px, 4vw, 48px) 0 clamp(28px, 4vw, 48px);
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .55fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}
.hero h1 { max-width: 10ch; }
.hero .lede { margin: 20px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-figure { margin: 0; display: grid; place-items: center; }
.hero-figure .photo {
  width: min(100%, 280px);
  display: grid; place-items: center;
}
.hero-figure .photo img,
.hero-figure .photo .logo-mark {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Service / product grid ------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 10px;
}
.product-grid li:first-child { grid-row: span 2; }
.product-grid a {
  display: flex; flex-direction: column;
  height: 100%;
  background: var(--cream);
  color: var(--ink);
}
.product-grid a:hover { opacity: 1; }
.product-visual {
  position: relative;
  flex: 1;
  aspect-ratio: 1;
  overflow: hidden;
  background: #FFF0F6;
}
.product-grid li:first-child .product-visual {
  aspect-ratio: auto;
  min-height: 100%;
  height: 100%;
}
.product-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-meta {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
}
.product-meta .name { font-weight: 600; font-size: .95rem; }
.product-meta small {
  font-size: .75rem;
  color: var(--stone);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Page hero (inner pages) ------------------------------------------ */
.page-hero {
  background: var(--paper);
  padding: clamp(28px, 4vw, 48px) 0 clamp(20px, 3vw, 32px);
}
.page-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); max-width: 12ch; }
.page-hero .lede { margin-top: 14px; }
.page-hero-split .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .7fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}
.page-hero-photo { margin: 0; overflow: hidden; background: #FFF0F6; }
.page-hero-photo img,
.page-hero-photo iframe { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; border: 0; display: block; }
.page-hero-photo-feet img { object-position: center bottom; }
.product-visual-feet img { object-position: center bottom; }
.hours-banner {
  margin: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  background: #FFF0F6;
}
.hours-banner img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: clamp(200px, 32vw, 420px);
  object-fit: cover;
  object-position: center;
}
.hours-address {
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.hours-contact { margin-top: 16px; }
.hours-contact a { font-weight: 500; }
.menu-group .hero-actions { margin-top: 22px; }
.hours-map {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
}
.hours-map iframe { width: 100%; max-width: 100%; min-width: 0; height: 100%; border: 0; display: block; }
@media (max-width: 960px) {
  .page-hero-split .wrap { grid-template-columns: 1fr; }
  .page-hero-photo { order: -1; }
  .page-hero-photo img,
  .page-hero-photo iframe { aspect-ratio: 1; }
}

/* Price menu -------------------------------------------------------- */
.menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.menu-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu-group .menu { border-top: 1px solid var(--line); }
.menu-layout > *,
.menu-group,
.menu { min-width: 0; max-width: 100%; }
.menu-item .row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-width: 0;
}
.menu-item .name { font-weight: 500; font-size: 1rem; min-width: 0; overflow-wrap: anywhere; }
.menu-item .leader { flex: 1 1 0; min-width: 0; }
.menu-item .price {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 600;
  font-size: .9rem;
  flex: none;
}
.menu-item .note { color: var(--stone); font-size: .88rem; margin: 8px 0 0; max-width: 52ch; }
.menu-group + .menu-group { margin-top: 40px; }
.menu-group h2 { margin-bottom: 12px; }

.aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--cream);
  padding: 24px;
}
.aside h3 { margin-bottom: 8px; }
.aside p { font-size: .9rem; color: var(--stone); }
.aside .hours { margin: 16px 0 20px; font-size: .88rem; }
.aside .hours div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--line);
}
.aside .hours div:last-child { border-bottom: 0; }
.aside .btn { width: 100%; }
.aside .phone-line { margin-top: 14px; text-align: center; font-size: .88rem; }

.more-services { margin-top: clamp(40px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); }
.more-services h2 { margin-bottom: 12px; }
.more-services ul { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 8px; }
.more-services a {
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 1px solid var(--magenta);
}
.more-services a:hover { color: var(--accent-hover); }

/* Blog ------------------------------------------------------------- */
.blog-head { margin-bottom: 28px; }
.blog-head h1 { max-width: 12ch; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}
.blog-card:hover { color: var(--ink); opacity: 1; }
.blog-card-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}
.blog-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-visual img { transform: scale(1.04); }
.blog-card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,.5) 0%, rgba(17,17,17,.12) 45%, rgba(17,17,17,.45) 100%);
}
.blog-card-onimage {
  position: absolute;
  left: 16px;
  top: 16px;
  right: 48px;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: none;
}
.blog-card-tag {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  background: #fff;
  color: var(--magenta);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--radius);
}
.blog-card-body { padding: 16px 16px 18px; }
.blog-card-body h3 { font-size: 1.05rem; margin: 0 0 8px; letter-spacing: 0; text-transform: none; }
.blog-card-body p { color: var(--stone); font-size: .92rem; max-width: none; }
.blog-card-meta { margin-top: 14px; font-size: .75rem; color: var(--stone); }

.blog-hero {
  position: relative;
  margin: 0 0 8px;
  overflow: hidden;
  background: #111;
}
.blog-hero img {
  width: 100%;
  height: clamp(240px, 42vw, 440px);
  object-fit: cover;
  display: block;
}
.blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,17,17,.58) 0%, rgba(17,17,17,.22) 70%);
}
.blog-hero .wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(20px, 4vw, 40px);
}
.blog-hero .eyebrow,
.blog-hero .eyebrow a { color: #fff; }
.blog-hero .eyebrow a:hover { color: #fff; opacity: .85; }
.blog-hero h1 { color: #fff; max-width: 14ch; }

.article { max-width: 62ch; padding-bottom: 16px; }
.article .meta {
  margin: 0 0 28px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
}
.article h2 { margin: 36px 0 12px; }
.article p { max-width: none; font-size: 1.05rem; }
.article ul { margin: 0 0 1em; padding: 0 0 0 1.1em; list-style: disc; }
.article li { padding: 4px 0; }

@media (max-width: 960px) {
  .blog-grid { grid-template-columns: 1fr; max-width: 520px; }
}

/* Discover / statements -------------------------------------------- */
.discover h2 { margin-bottom: 8px; }
.faq { border-top: 1px solid var(--line); margin-top: 20px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0;
  font-family: var(--mono);
  font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
  width: 1.2em;
  flex: none;
}
.faq details[open] summary::before { content: "–"; }
.faq details p { padding: 0 0 18px 2.2em; color: var(--stone); }

/* Instagram / work ------------------------------------------------- */
.work-invite { background: var(--cream); padding: 8px 0 0; }
.work-invite p { color: var(--stone); margin-top: 12px; }
.work-invite .btn { margin-top: 24px; }

/* Reviews ----------------------------------------------------------- */
.reviews-head { margin-bottom: 20px; }
.reviews-head .stars { color: var(--magenta); letter-spacing: 3px; font-size: 1.1rem; margin-bottom: 8px; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.review-grid li {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 20px 18px;
}
.review-grid .stars { color: var(--magenta); letter-spacing: 2px; font-size: .85rem; margin-bottom: 10px; }
.review-grid p { font-size: .95rem; color: var(--ink); max-width: none; }
.reviews-more { margin-top: 16px; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 960px) {
  .review-grid { grid-template-columns: 1fr; }
}

/* Visit -------------------------------------------------------------- */
.visit { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.visit > * { min-width: 0; }
.visit address { font-style: normal; font-size: 1.05rem; font-weight: 600; }
.visit .hours { margin: 22px 0; max-width: 360px; }
.visit .hours div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--line);
}
.visit .hours div:first-child { border-top: 1px solid var(--line); }
.visit .map { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.visit .map iframe,
.hours-map iframe { width: 100%; max-width: 100%; height: 100%; border: 0; display: block; }

/* CTA band ------------------------------------------------------------ */
.cta-band { background: var(--cream); padding: clamp(48px, 7vw, 80px) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { max-width: 14ch; }
.cta-band p { color: var(--stone); margin-top: 8px; }

/* Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--cream);
  color: var(--stone);
  padding: 56px 0 112px;
  font-size: .88rem;
  border-top: 1px solid var(--line);
}
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 52px; width: auto; margin-bottom: 14px; }
.site-footer h3 {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 14px;
}
.site-footer li { padding: 4px 0; }
.site-footer a { color: var(--stone); }
.site-footer a:hover { color: var(--magenta); opacity: 1; }
.site-footer .legal {
  grid-column: 1 / -1;
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .75rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

.mobile-bar { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { opacity: 0; transform: translateY(10px); animation: rise .6s cubic-bezier(.2,.7,.2,1) forwards; }
  .hero-copy > *:nth-child(1) { animation-delay: .05s; }
  .hero-copy > *:nth-child(2) { animation-delay: .12s; }
  .hero-copy > *:nth-child(3) { animation-delay: .2s; }
  .hero-copy > *:nth-child(4) { animation-delay: .28s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

@media (max-width: 1040px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-grid li:first-child { grid-row: auto; }
  .product-grid li:first-child .product-visual { aspect-ratio: 1; height: auto; min-height: 0; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .header-actions .phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-grid { grid-template-columns: 44px 1fr 44px; position: relative; }
  .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .header-actions { min-height: 44px; }
  .site-header.is-open .nav {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .site-header.is-open .nav a {
    font-size: .95rem; padding: 14px 0; width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { display: none; }
  .menu-layout { grid-template-columns: 1fr; }
  .aside { position: static; }
  .visit { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .announcement { letter-spacing: .06em; font-size: .62rem; padding-left: 12px; padding-right: 12px; }
  .header-actions .btn { display: none; }
  .brand span { display: none; }
  .product-grid { grid-template-columns: 1fr; gap: 8px; }
  .product-visual { aspect-ratio: 4 / 3; min-height: 0; }
  .product-grid li:first-child .product-visual { aspect-ratio: 4 / 3; min-height: 0; }
  .hero .hero-actions { display: none; }
  .lede { max-width: none; }
  .page-hero h1 { max-width: 9ch; }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .btn { width: 100%; letter-spacing: .08em; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--cream);
    border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { width: 100%; padding: 13px 8px; letter-spacing: .08em; font-size: .68rem; }
}
