/* =========================================================
   Infinity Hair Salon — design tokens
   Ink:    #2A1F1D   deep walnut brown (text)
   Paper:  #F8F2EC   warm ivory (background)
   Rose:   #B5495B   berry rose (primary accent / CTA)
   Gold:   #C08A3E   warm gold (secondary accent, dividers)
   Plum:   #3E1F2B   deep plum (dark sections)
   ========================================================= */

:root {
  --ink: #2A1F1D;
  --ink-soft: #5B4B46;
  --paper: #F8F2EC;
  --paper-dim: #F1E8DE;
  --card: #FFFFFF;
  --rose: #B5495B;
  --rose-dark: #8F3546;
  --gold: #C08A3E;
  --plum: #3E1F2B;
  --plum-soft: #59293A;
  --line: #E4D8C9;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 12px 30px -14px rgba(42, 31, 29, 0.28);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

a { color: inherit; }

ul { list-style: none; margin: 0; padding: 0; }

address { font-style: normal; }

/* ---------- accessibility utilities ---------- */

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top 0.15s ease;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  top: 1rem;
}

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

/* ---------- layout helpers ---------- */

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--rose-dark);
  margin: 0 0 0.9rem;
  font-weight: 500;
}
.eyebrow-light { color: var(--gold); }

.section-lede {
  max-width: 46em;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.section-lede.light { color: #E3D3D8; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  min-height: 44px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--rose);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--rose-dark); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--paper); }

.btn-call {
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1.1rem;
  font-size: 0.88rem;
}
.btn-call:hover { background: var(--rose-dark); }

/* ============ HEADER ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 242, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  flex-shrink: 0;
  height: 58px;
  width: auto;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
}
.logo-text-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  padding: 0;
  position: relative;
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.primary-nav ul {
  display: flex;
  gap: 1.6rem;
}
.primary-nav a:not(.btn) {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.3rem 0.1rem;
  border-bottom: 2px solid transparent;
}
.primary-nav a:not(.btn):hover {
  border-bottom-color: var(--rose);
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1.2rem;
    display: none;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul {
    flex-direction: column;
    gap: 0.9rem;
  }
  .nav-cta { justify-content: center; }
}

/* ============ HERO ============ */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 4.5rem;
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.5rem, 1.9rem + 3.4vw, 4.4rem);
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 42em;
  margin: 0 auto 1.8rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

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

.swatch-ribbon {
  display: flex;
  width: 100%;
  height: 22px;
}
.swatch-ribbon span {
  flex: 1;
  background: var(--c);
}

/* ============ TRUST STRIP ============ */

.trust-strip {
  background: var(--paper-dim);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip ul {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.trust-strip li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.trust-strip strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--rose-dark);
}
.trust-strip span {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ============ SERVICES / MENU ============ */

.menu-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.menu-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
}
.menu-card h3 {
  color: var(--rose-dark);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.6rem;
  margin-bottom: 1rem;
}

.price-list li {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.96rem;
}
.price-list li:last-child { border-bottom: none; }

.price-list .item {
  flex: 1;
  min-width: 0;
}
.price-list .item small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.78rem;
}
.price-list .price {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

/* ============ POLICIES ============ */

.policies {
  background: var(--plum);
  color: #F3E9EC;
}
.policies h2 { color: #fff; }

.policy-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}

.policy-card {
  background: var(--plum-soft);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.policy-card svg { color: var(--gold); margin-bottom: 0.8rem; }
.policy-card h3 { color: #fff; font-size: 1.05rem; }
.policy-card p { color: #E3D3D8; font-size: 0.92rem; margin-bottom: 0; }

/* ============ HOURS + LOCATION ============ */

.two-col {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; }
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 1rem;
}
.hours-table th, .hours-table td {
  text-align: left;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}
.hours-table th { font-weight: 600; }
.table-note {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.hours-footnote {
  margin-top: 1.2rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.location-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.location-card address {
  margin: 0.8rem 0 1.4rem;
  line-height: 1.6;
}

/* ============ CONTACT ============ */

.contact-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.contact-card:hover {
  border-color: var(--rose);
  transform: translateY(-2px);
}
.contact-card svg { color: var(--rose); flex-shrink: 0; }
.contact-card span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.contact-card strong {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.contact-reminder { margin-top: 1.8rem; }

/* ============ FOOTER ============ */

.site-footer {
  background: var(--ink);
  color: #E8DED9;
  padding: 2.5rem 1.5rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}
.footer-brand .logo-mark { color: var(--gold); }
.site-footer p {
  margin: 0.2rem 0;
  font-size: 0.88rem;
  color: #C9BDB7;
}
.footer-copy { margin-top: 1rem; }

/* ============ scroll-reveal ============ */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}