/* ============================================================
   Studio Lox — Erie, PA
   ============================================================ */

:root {
  --cream: #faf6f0;
  --cream-deep: #f3ece1;
  --ink: #2b2420;
  --ink-soft: #5c534b;
  --copper: #b0714a;
  --copper-deep: #96593a;
  --gold: #c9a227;
  --line: #e4dacc;
  --white: #fffdf9;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", "Segoe UI", -apple-system, sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(43, 36, 32, 0.08);
  --shadow-lift: 0 18px 45px rgba(43, 36, 32, 0.14);
  --wrap: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--copper-deep); }

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-deep);
  margin-bottom: 0.9rem;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.lede {
  color: var(--ink-soft);
  max-width: 58ch;
}

/* The heart of the site. Larger than surrounding body copy, with real
   space between paragraphs so each one lands on its own. */
.vibe-copy {
  max-width: 54ch;
  margin-inline: auto;
}
.vibe-copy p {
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.6vw, 1.24rem);
  line-height: 1.72;
}
.vibe-copy p + p { margin-top: 1.6rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.brand .brand-dot { color: var(--copper); }

.brand small {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.35rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.site-nav a:hover { color: var(--copper-deep); }

.site-nav a[aria-current="page"] {
  border-bottom-color: var(--copper);
  color: var(--copper-deep);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: var(--copper-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--cream);
  color: var(--ink);
}
.btn-light:hover { background: var(--white); transform: translateY(-2px); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(176, 113, 74, 0.22), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(201, 162, 39, 0.18), transparent 55%),
    radial-gradient(rgba(43, 36, 32, 0.055) 1px, transparent 1.5px),
    var(--cream);
  background-size: auto, auto, 24px 24px, auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner { position: relative; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.3rem);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--copper-deep);
}

.hero .lede { font-size: 1.15rem; margin-bottom: 2rem; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.2rem; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.hero-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }

.stars { color: var(--gold); letter-spacing: 0.1em; }

/* Hero visual — layered abstract panel (stands in for photography) */

.hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 540px;
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.hero-art svg { width: 100%; height: 100%; }

/* Logo showcase panel */
.hero-art--logo {
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.hero-art--logo::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1.5px solid var(--line);
  border-radius: calc(var(--radius) * 1.4);
  pointer-events: none;
}

.hero-art--logo img {
  max-width: min(88%, 380px);
  max-height: 100%;
  object-fit: contain;
}

.hero-badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  background: rgba(255, 253, 249, 0.94);
  border-radius: var(--radius);
  padding: 0.85rem 1.15rem;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  line-height: 1.4;
}
.hero-badge strong { display: block; font-size: 1.05rem; }

/* ---------- Sections ---------- */

section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }

.section-alt { background: var(--cream-deep); }

.section-dark {
  background: var(--ink);
  color: var(--cream);
}
.section-dark .eyebrow { color: var(--gold); }
.section-dark .lede { color: #cfc6bd; }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(176,113,74,0.16), rgba(201,162,39,0.14));
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  color: var(--copper-deep);
}

.card h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }

.card .card-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--copper-deep);
}
.card .card-link:hover { text-decoration: underline; }

/* ---------- Reviews ---------- */

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

/* Single salon-level quote. The per-stylist quotes live in the team cards,
   so nothing is repeated between the two sections. */
.review-feature {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  padding: 0 1rem;
}
.review-feature blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  line-height: 1.32;
  font-style: italic;
  margin-bottom: 0.9rem;
}
.review-feature figcaption {
  font-size: 0.9rem;
  color: #b8ada2;
  letter-spacing: 0.04em;
}

.review {
  background: rgba(255, 253, 249, 0.06);
  border: 1px solid rgba(255, 253, 249, 0.14);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review blockquote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.5;
  font-style: italic;
}

.review figcaption {
  font-size: 0.9rem;
  color: #b8ada2;
}

.rating-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.rating-banner .stars { font-size: 1.4rem; }

/* ---------- Team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  max-width: 880px;
  margin-inline: auto;
}

/* Text-led cards. No portrait slot on purpose — an empty photo frame reads
   as a missing image, while type-only reads as an editorial choice. */
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--copper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.team-body { padding: 2rem 1.9rem 2.1rem; }
.team-body h3 {
  font-size: 1.9rem;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.team-role {
  color: var(--copper-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.team-body p { color: var(--ink-soft); font-size: 0.97rem; }
.team-body p + p { margin-top: 0.8rem; }

/* Client words instead of a written bio — equal footing for both stylists,
   and more persuasive than anything the salon could say about itself. */
.team-body blockquote {
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.45;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 0.7rem;
}
.team-body cite {
  font-style: normal;
  font-size: 0.85rem;
  color: #8d8177;
  letter-spacing: 0.03em;
}

/* ---------- Visit strip ---------- */

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.info-list { list-style: none; display: grid; gap: 1.15rem; }

.info-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.info-list .info-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--cream-deep);
  display: grid;
  place-items: center;
  color: var(--copper-deep);
}

.info-list strong { display: block; }
.info-list span, .info-list a { color: var(--ink-soft); }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.hours-table td { padding: 0.5rem 0; border-bottom: 1px dashed var(--line); }
.hours-table td:last-child { text-align: right; color: var(--ink-soft); }
.hours-table tr:last-child td { border-bottom: none; }

.hours-note { color: var(--ink); font-size: 0.98rem; margin-top: 0.2rem; }
.hours-sub { display: block; color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.25rem; }

.map-frame {
  border: none;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Services page ---------- */

.page-hero {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(176,113,74,0.14), transparent 60%),
    var(--cream);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); margin-bottom: 0.9rem; }

.menu-section { padding-block: clamp(2.5rem, 5vw, 3.5rem); }

.menu-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.menu-intro h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 0.8rem; }
.menu-intro p { color: var(--ink-soft); }

.menu-list { list-style: none; display: grid; gap: 0; }

.menu-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-block: 0.85rem;
  border-bottom: 1px dashed var(--line);
}

.menu-list li:first-child { padding-top: 0; }

.menu-item-name { font-weight: 600; }

.menu-item-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 400;
}

.menu-dots {
  flex: 1;
  border-bottom: 2px dotted var(--line);
  transform: translateY(-4px);
  min-width: 2rem;
}

.menu-price {
  font-weight: 600;
  color: var(--copper-deep);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.menu-divider { border: none; border-top: 1px solid var(--line); }

.pricing-note {
  background: var(--cream-deep);
  border-left: 4px solid var(--copper);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--copper-deep), var(--copper) 60%, #c98a5e);
  color: var(--white);
  border-radius: calc(var(--radius) * 1.5);
  padding: clamp(2.2rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-lift);
}

.cta-band h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 0.4rem; }
.cta-band p { opacity: 0.92; }

/* ---------- Contact / booking ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  box-shadow: var(--shadow);
}

.form-grid { display: grid; gap: 1.1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

label {
  font-weight: 600;
  font-size: 0.92rem;
  display: block;
  margin-bottom: 0.35rem;
}

input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.15s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--copper);
  background: var(--white);
}

textarea { resize: vertical; min-height: 110px; }

.form-note { font-size: 0.88rem; color: var(--ink-soft); }

.phone-hero {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
  border-bottom: 3px solid var(--copper);
  margin-block: 0.5rem 1rem;
}
.phone-hero:hover { color: var(--copper-deep); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #cfc6bd;
  padding-block: 3rem 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer h3 {
  color: var(--cream);
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.8rem;
  letter-spacing: 0.04em;
}

.site-footer a { color: #cfc6bd; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 0.6rem;
}

.footer-links { list-style: none; display: grid; gap: 0.45rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 253, 249, 0.14);
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #9a8f84;
}

/* ---------- Reveal animation ---------- */

/* Hidden state only applies when JS is confirmed running (html.js) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-height: 420px; aspect-ratio: 16 / 10; }
  .card-grid, .review-grid { grid-template-columns: 1fr 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    padding: 0.5rem 1.25rem 1rem;
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .site-nav .btn {
    margin-top: 0.9rem;
    justify-content: center;
    border-bottom: none;
  }

  .card-grid, .review-grid, .visit-grid, .contact-grid, .form-row, .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid { grid-template-columns: 1fr; }

  .cta-band { text-align: center; justify-content: center; }
}
