/* RS Hair & Beauty Salon — Somerset, NJ */
@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/PlayfairDisplay-var.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('/fonts/Jost-var.woff2') format('woff2');
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --ink: #2b211c;
  --ink-soft: #4a3c34;
  --cream: #f8f3ee;
  --paper: #fffdf9;
  --copper: #b06a45;
  --copper-dark: #8f5132;
  --taupe: #7a6a5f;
  --line: #e8ddd3;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(43, 33, 28, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--copper-dark); }
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.wrap { width: min(1120px, 92%); margin: 0 auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}
.brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .02em;
  white-space: nowrap;
}
.brand span { color: var(--copper); }
.main-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .98rem;
  padding: 8px 12px;
  border-radius: 8px;
}
.main-nav a:hover { background: var(--cream); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--copper-dark); }
.btn {
  display: inline-block;
  background: var(--copper);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  transition: background .15s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--copper-dark); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.small { padding: 8px 16px; font-size: .95rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--ink);
}
.hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
}
.hero-in {
  position: relative;
  padding: 110px 0 100px;
  max-width: 640px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .8rem;
  font-weight: 600;
  color: #e9c9ad;
  margin-bottom: 14px;
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.hero p.lead { font-size: 1.15rem; color: #f3e9e0; margin-bottom: 30px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn.ghost { color: #fff; border-color: #fff; }
.hero .btn.ghost:hover { background: #fff; color: var(--ink); }

/* page hero (inner pages) */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 72px 0 60px;
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 10px; }
.page-hero p { color: #e8dbcf; max-width: 640px; font-size: 1.08rem; }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section.tint { background: var(--paper); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }
.center { text-align: center; }
.center .section-head { margin-left: auto; margin-right: auto; }

/* service cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 22px 22px 26px; flex: 1; }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: .99rem; }
.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  margin: 22px 22px 0;
}
.card .icon svg { width: 26px; height: 26px; stroke: var(--copper-dark); }

/* split rows */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split + .split { margin-top: 64px; }
.split .media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 14px; }
.split h3 { font-size: 1.3rem; margin-bottom: 10px; }
.split p { color: var(--ink-soft); margin-bottom: 14px; }
.split ul { list-style: none; margin-top: 6px; }
.split ul li {
  padding: 7px 0 7px 30px;
  position: relative;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
}
.split ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--copper);
}
.split.rev .media { order: 2; }

/* facts strip */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  text-align: center;
}
.fact { padding: 26px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.fact strong { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; margin-bottom: 6px; }
.fact span { color: var(--taupe); font-size: .95rem; }

/* visit / info panel */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.panel h3 { font-size: 1.3rem; margin-bottom: 16px; }
.nap { font-size: 1.08rem; line-height: 1.9; }
.nap a { font-weight: 600; text-decoration: none; }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.hours td:last-child { text-align: right; font-weight: 500; color: var(--ink); }
.hours tr.closed td { color: var(--taupe); }
.map-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* cta band */
.cta-band {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 66px 0;
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 12px; }
.cta-band p { color: #e8dbcf; margin-bottom: 26px; }

/* footer */
.site-footer {
  background: #221a16;
  color: #cbb9ac;
  padding: 48px 0 30px;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}
.site-footer h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.site-footer a { color: #e9c9ad; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; }
.site-footer ul li { padding: 3px 0; }
.credits {
  border-top: 1px solid #3a2f29;
  padding-top: 18px;
  font-size: .82rem;
  color: #9a8878;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .split, .visit-grid, .footer-grid { grid-template-columns: 1fr; }
  .split.rev .media { order: 0; }
  .hero-in { padding: 76px 0 66px; }
  .section { padding: 56px 0; }
  .header-in { justify-content: center; text-align: center; }
}
