/* ============================================================
   NYSF — Shared site styles
   Used by all subpages (studios, membership, about)
   Homepage has its own inline styles; this is for new pages only.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
  /* ---- Brand palette (LOCKED — do not add ad-hoc colors) ---- */
  --cream:    #FAF3EC;   /* page background */
  --cream-2:  #F2E8DA;   /* secondary surface (alt sections, cards) */
  --forest:   #4A6741;   /* primary brand */
  --forest-d: #364D30;   /* primary hover / pressed */
  --sage:     #6B8B5E;   /* tertiary green (rare) */
  --pale:     #E2EBD8;   /* tinted forest surface (rare) */
  --gold:     #C9A435;   /* accent */
  --gold-d:   #A8871F;   /* accent hover / pressed */

  /* ---- Neutrals (text + UI) ---- */
  --ink:      #1A1A1A;   /* primary text, dark surfaces */
  --ink-2:    #3A3A3A;   /* body copy on cream (slightly softer than ink) */
  --muted:    #6B6B6B;   /* secondary text, captions, helper */
  --border:   #E5DDD5;   /* hairlines, card borders */

  /* ---- Status (use sparingly — only for live state, not decoration) ---- */
  --success:  #4CAF50;   /* "open now" / available green */
  --warn:     #C9A435;   /* uses --gold by design */
  --alert:    #C85A5A;   /* "booked" / unavailable red */

  /* ---- Motion ---- */
  --ease:     cubic-bezier(.2,.7,.2,1);

  /* ---- Type ---- */
  --display:  'Fraunces', Georgia, serif;
  --sans:     'Inter', system-ui, -apple-system, sans-serif;
  --eye:      'Jost', sans-serif;
  --body:     'Nunito Sans', system-ui, sans-serif;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* skip link */
.skip-to-main {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--cream);
  padding: 14px 22px;
  z-index: 9999;
  font-family: var(--eye);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
  transition: top 0.18s var(--ease);
}
.skip-to-main:focus {
  top: 0;
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- NAV (matches homepage) ---------- */
.site-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 20px 28px;
  position: sticky;
  top: 0;
  background: var(--cream);
  z-index: 50;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  gap: 20px;
  font-family: var(--sans);
}
.site-nav .mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.site-nav .mark .mono {
  font-family: var(--eye);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.04em;
  line-height: 1;
  display: inline-flex;
  text-transform: uppercase;
}
.site-nav .mark .mono .f {
  display: inline-block;
  transform: scaleX(-1);
  color: var(--gold);
  margin-left: 1px;
  letter-spacing: 0;
}
.site-nav .mark .tag {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid rgba(26, 26, 26, 0.2);
  padding-left: 12px;
  line-height: 1.3;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  justify-content: center;
}
/* Optical kern (June 4, 2026 · Joseph's catch): ABOUT's open "A" makes the
   FAQ→ABOUT gap read wider than the rest at 0.18em tracking. Pull the last
   item in 3px so all four gaps read even. */
.site-nav ul li:last-child { margin-left: -3px; }
.site-nav ul a {
  text-decoration: none;
  font-family: var(--eye);
  font-size: 13px; /* 11px → 13px June 4, 2026 · Joseph's call · legibility bump, tracking + caps keep the editorial read */
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.site-nav ul a:hover,
.site-nav ul a:focus-visible,
.site-nav ul a[aria-current="page"] {
  color: var(--gold);
  outline: none;
}

/* Sign-in nav link styling removed May 28, 2026 — the pill markup was pulled
   from all live pages pre-launch (portal is Phase 2). Re-add when the member
   portal goes live. */
.site-nav .cta-group {
  display: flex;
  gap: 10px;
  align-items: center;
}
.site-nav .cta-ghost {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav .cta-ghost u {
  color: var(--ink);
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.site-nav .cta-primary {
  font-family: var(--eye);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  padding: 11px 22px;
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s var(--ease);
}
.site-nav .cta-primary:hover, .site-nav .cta-primary:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--ink); outline: none; }
.site-nav .nav-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 50px;
  font-family: var(--eye);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 16px;
  cursor: pointer;
}

/* tablet / narrow-desktop — keep inline nav visible, tighten spacing.
   Per project notes: full nav holds to ~560px; only collapse below that. */
@media (max-width: 880px) {
  .site-nav { padding: 16px 20px; gap: 14px; }
  .site-nav .mark .tag { display: none; }
  .site-nav ul { gap: 14px; }
  .site-nav ul a { font-size: 12px; letter-spacing: 0.14em; } /* 10px → 12px June 4, 2026 · proportional to desktop bump */
  .site-nav .cta-ghost { display: none; }
  .site-nav .cta-primary { padding: 10px 16px; font-size: 10px; letter-spacing: 0.14em; }
}

/* mobile nav + drawer */
@media (max-width: 560px) {
  .site-nav { padding: 16px 20px; gap: 12px; grid-template-columns: auto 1fr auto; position: relative; }
  .site-nav ul { display: none; }
  .site-nav .cta-ghost { display: none; }
  .site-nav .cta-primary { padding: 12px 16px; font-size: 10px; min-height: 44px; }
  .site-nav .nav-burger {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; min-height: 44px;
    padding: 10px 14px;
    background: transparent; border: 1px solid rgba(26,26,26,0.2);
    border-radius: 50px;
    font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease;
  }
  .site-nav .nav-burger:hover,
  .site-nav .nav-burger[aria-expanded="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }

  /* Drawer — opens under the nav as a full-width sheet */
  .site-nav.is-open ul {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(26,26,26,0.08);
    box-shadow: 0 18px 32px -24px rgba(0,0,0,0.35);
    padding: 8px 20px 16px;
    margin: 0; list-style: none;
    z-index: 60;
  }
  .site-nav.is-open ul li { width: 100%; }
  .site-nav.is-open ul li a {
    display: flex; align-items: center;
    width: 100%;
    padding: 14px 0;
    min-height: 44px;
    font-size: 14px;
    border-bottom: 1px solid rgba(26,26,26,0.06);
  }
  .site-nav.is-open ul li:last-child a { border-bottom: 0; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--eye);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 14px 26px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--gold); color: var(--ink); outline: none; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-d); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--gold); color: var(--ink); border-color: var(--gold); outline: none; }
.btn-lg { padding: 16px 32px; font-size: 13px; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(250, 243, 236, 0.75);
  padding: 64px 28px 32px;
  margin-top: 0;
  font-family: var(--sans);
}
.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.site-footer h4 {
  font-family: var(--eye);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 18px;
}
.site-footer .mark-foot {
  font-family: var(--eye);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 14px;
  display: inline-block;
}
.site-footer .mark-foot .f {
  display: inline-block;
  transform: scaleX(-1);
  color: var(--gold);
}
.site-footer p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(250, 243, 236, 0.65);
  margin: 0 0 18px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer ul a {
  text-decoration: none;
  font-size: 14px;
  color: rgba(250, 243, 236, 0.75);
  transition: color 0.18s var(--ease);
}
.site-footer ul a:hover,
.site-footer ul a:focus-visible {
  color: var(--gold);
  outline: none;
}
.site-footer ul .footer-muted {
  font-size: 14px;
  color: rgba(250, 243, 236, 0.4);
  font-style: italic;
  cursor: default;
}
.site-footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(250, 243, 236, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(250, 243, 236, 0.5);
}
@media (max-width: 760px) {
  .site-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer { padding: 48px 20px 28px; }
}

/* ---------- COMMON UTILS ---------- */
.eyebrow {
  font-family: var(--eye);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.muted { color: var(--muted); }

/* focus rings */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* sr-only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* Nail studio hero callout (acrylic-welcome line, added May 25 per Joseph) */
.studio-hero-callout {
  font-family: 'Nunito Sans', 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink, #1A1A1A);
  margin: -8px 0 24px;
  padding: 14px 18px;
  background: rgba(176, 140, 52, 0.08);
  border-left: 2px solid var(--gold, #b08c34);
  border-radius: 0 4px 4px 0;
  max-width: 56ch;
}
.studio-hero-callout strong { color: var(--ink, #1A1A1A); font-weight: 700; }

   Sits above © year + legal-links inside .site-footer-bottom
   on every site page + inside the homepage's custom <footer>.
   ============================================================ */
.site-footer-founder {
  font-family: 'Nunito Sans', 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-2, #6b6b6b);
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  margin-bottom: 16px;
}
.site-footer-founder a {
  color: var(--ink, #1a1a1a);
  text-decoration: underline;
  text-decoration-color: var(--gold, #b08c34);
  text-underline-offset: 3px;
}
.site-footer-founder a:hover {
  text-decoration-color: var(--ink, #1a1a1a);
}
