/* Damien's Barber — hand-rolled design system (no framework) */
:root {
  --bg: #0b0e0d;
  --bg-alt: #0f1312;
  --card: #111514;
  --line: rgba(230, 236, 232, 0.09);
  --line-strong: rgba(230, 236, 232, 0.17);
  --text: #edece5;
  --text-2: #a8afab;
  --text-3: #7d8682;
  --accent: #2dd4bf;
  --accent-hi: #5ce3d0;
  --accent-dim: rgba(45, 212, 191, 0.1);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #07110f;
  padding: 10px 16px;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

.wrap {
  width: min(1080px, 100% - 3rem);
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 14, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand:hover { color: var(--text); }
.brand em {
  font-style: italic;
  color: var(--accent);
}

#site-menu { display: flex; align-items: center; gap: 1.75rem; }
#site-menu a.nav-link {
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
}
#site-menu a.nav-link:hover { color: var(--text); }

#nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
#nav-toggle svg { width: 20px; height: 20px; margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0 1.5rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #07110f;
}
.btn-primary:hover {
  color: #07110f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 212, 191, 0.25);
}
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.btn-lg { min-height: 54px; font-size: 1.02rem; padding: 0 2rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding-block: clamp(5rem, 11vw, 8.5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% 30% auto auto;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.07) 0%, transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-copy { max-width: 820px; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6.6vw, 4.7rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.lede {
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  color: var(--text-2);
  max-width: 34rem;
  margin-bottom: 2.25rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.875rem; }

/* ---------- Sections ---------- */
.section {
  border-bottom: 1px solid var(--line);
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 4.2vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.section-head p {
  color: var(--text-2);
  margin-top: 1rem;
  font-size: 1.05rem;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.75rem;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.service-card:hover {
  border-color: rgba(45, 212, 191, 0.4);
  transform: translateY(-2px);
}
.service-card .icon-chip {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.service-card .icon-chip svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.service-card p {
  color: var(--text-2);
  font-size: 0.92rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}
.about-copy p {
  color: var(--text-2);
  margin-bottom: 1.1rem;
}
.about-copy p strong { color: var(--text); font-weight: 600; }
.fact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.75rem;
}
.fact-card h3 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.fact-card p {
  color: var(--text-2);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.fact-card p strong { color: var(--text); font-weight: 500; }

/* ---------- Hours & location ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.75rem;
}
.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
  padding: 0.55rem 0;
  font-size: 0.95rem;
  color: var(--text-2);
  border-bottom: 1px solid var(--line);
}
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:last-child {
  text-align: right;
  color: var(--text);
}
.hours-table tr.closed td { color: var(--text-3); }

.loc-line {
  color: var(--text-2);
  font-size: 0.98rem;
  margin-bottom: 1rem;
}
.loc-line a { font-weight: 500; }

/* ---------- Book CTA ---------- */
.book {
  text-align: center;
  padding-block: clamp(5rem, 10vw, 8rem);
}
.book h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.book h2 em { font-style: italic; color: var(--accent); }
.book p {
  color: var(--text-2);
  max-width: 30rem;
  margin: 0 auto 2.25rem;
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 2.5rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-3);
  font-size: 0.85rem;
}
.footer-inner a { color: var(--text-2); }
.footer-inner a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .services-grid, .info-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
}
@media (max-width: 860px) {
  #nav-toggle { display: inline-flex; }
  #site-menu {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 14, 13, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.5rem 1.25rem;
  }
  #site-menu:not([hidden]) { display: flex; }
  #site-menu a.nav-link {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  #site-menu .btn { margin-top: 1rem; }
}
