/* Shared chrome for the three Hair by Abbie Rose concepts.
   Per-concept palette + type live in each page's own <style>. */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.wrap-narrow {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- concept ribbon: this is a mockup, never let that be ambiguous ---- */
.ribbon {
  background: var(--action);
  color: var(--action-ink);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.65rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ribbon strong { font-weight: 600; }
.ribbon a {
  color: var(--action-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- nav ---- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
}
.brandmark {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.navlinks a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.navlinks a:hover { color: var(--accent); }
.pill {
  display: inline-block;
  background: var(--action);
  color: var(--action-ink);
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--action);
  transition: opacity 0.18s ease;
}
.pill:hover { opacity: 0.86; }
.pill-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.pill-ghost:hover { border-color: var(--accent); color: var(--accent); opacity: 1; }

@media (max-width: 720px) {
  .navlinks a:not(.pill) { display: none; }
}

/* ---- section furniture ---- */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.9rem;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); line-height: 1.15; letter-spacing: 0.01em; }
h3 { font-size: 1.15rem; letter-spacing: 0.02em; }

p { margin: 0 0 1.05rem; }
.lede { font-size: 1.06rem; color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }

.rule { height: 1px; background: var(--border); border: 0; margin: 0; }

/* ---- services ---- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem 3rem;
  margin-top: 2.5rem;
}
.svc-cat {
  font-family: var(--font-body);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pastel, var(--accent));
  font-weight: 600;
  margin: 0 0 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.svc-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.4rem;
}
.svc-name { font-size: 0.97rem; color: var(--ink); }
.svc-price {
  font-variant-numeric: tabular-nums;
  font-size: 0.94rem;
  color: var(--ink);
  white-space: nowrap;
}
.svc-note {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  line-height: 1.5;
  max-width: 34ch;
}

/* ---- gallery ---- */
.gal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.6rem;
}
.gal img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}
.gal-tall { grid-row: span 2; }

/* ---- detail rows (hours / find us) ---- */
.rows { display: grid; gap: 0.55rem; }
.row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.94rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border);
}
.row span:last-child { color: var(--muted); text-align: right; white-space: nowrap; }

/* ---- footer ---- */
footer {
  background: var(--action);
  color: var(--action-ink);
  padding: 3.5rem 0 2.5rem;
}
footer a { color: var(--action-ink); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.foot-grid h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.65;
  margin: 0 0 0.8rem;
  font-weight: 600;
}
.foot-grid p { font-size: 0.92rem; margin: 0 0 0.35rem; opacity: 0.9; }
.foot-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.16);
  font-size: 0.8rem;
  opacity: 0.6;
}

/* placeholder for the headshot she hasn't taken yet — reads as intentional */
.portrait-pending {
  aspect-ratio: 4 / 5;
  background: var(--imageBase, #d7c4ae);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.portrait-pending span {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--imageAccent, #5d493c);
  line-height: 1.8;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
