/* Shared styles for the barbershop page and the blog. Tokens match the inline theme on the other pages. */
:root {
  --bg: #FAF7F0;
  --bg-paper: #FFFFFF;
  --bg-subtle: #F1ECE1;
  --gold: #96700F;
  --gold-light: #B8891E;
  --gold-dark: #6E520A;
  --text: #1A1814;
  --text-2: #4A463F;
  --text-muted: #6F695F;
  --border: rgba(26,24,20,0.12);
  --border-gold: rgba(150,112,15,0.45);
  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body: 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px)  { .container { padding: 0 2.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 4rem; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ''; width: 2rem; height: 1px; background: var(--gold); flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 1rem 2.25rem; border-radius: 2px; white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn-gold { background: var(--gold); color: #FFFDF7; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { color: var(--text); border: 1px solid rgba(26,24,20,0.29); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* Nav */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 1.6rem 0; border-bottom: 1px solid transparent;
  transition: padding 0.4s, background 0.4s, border-color 0.4s;
}
#nav.scrolled {
  padding: 1.1rem 0; background: rgba(250,247,240,0.9);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: none; align-items: center; gap: clamp(0.9rem, 1.9vw, 2.25rem); }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-link {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-2); transition: color 0.25s;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--gold); }
.nav-cta { display: none; }
@media (min-width: 900px) { .nav-cta { display: inline-flex; } }
.hamburger { display: flex; flex-direction: column; gap: 5px; padding: 5px; }
@media (min-width: 900px) { .hamburger { display: none; } }
.hamburger span { width: 22px; height: 1px; background: var(--text); transition: transform 0.3s, opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
#mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--bg); z-index: 499;
  flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
}
#mobile-menu.open { display: flex; }
@media (max-height: 700px) { #mobile-menu { justify-content: flex-start; padding: 5.5rem 1.5rem 2rem; overflow-y: auto; gap: 1.05rem; } #mobile-menu a:not(.btn) { font-size: 1.75rem; } }
#mobile-menu a:not(.btn) { font-family: var(--ff-display); font-size: 2rem; font-weight: 300; }
#mobile-menu a:not(.btn):hover { color: var(--gold); }

/* Page hero */
.page-hero { padding: 10rem 0 4rem; border-bottom: 1px solid var(--border); }
.page-hero-title {
  font-family: var(--ff-display); font-weight: 300; line-height: 0.97; letter-spacing: -0.02em;
  font-size: clamp(3rem, 7vw, 6rem); margin: 1.5rem 0 1.25rem;
}
.page-hero-title em, .section-title em { font-style: italic; color: var(--gold); }
.page-hero-sub { font-size: 1rem; color: var(--text-2); max-width: 560px; line-height: 1.75; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
.page-hero-meta {
  margin-top: 1.5rem; font-size: 0.74rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
}

/* Barbershop hero with photo */
.hero-split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .hero-split { grid-template-columns: 1.2fr 0.8fr; } }
.hero-photo { position: relative; max-width: 380px; justify-self: end; width: 100%; }
@media (max-width: 899px) { .hero-photo { justify-self: start; max-width: 320px; } }
.hero-photo img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 2px; }
.hero-photo::after {
  content: ''; position: absolute; inset: 1rem -1rem -1rem 1rem;
  border: 1px solid var(--border-gold); z-index: -1;
}

/* Sections */
.section { padding: 5.5rem 0; }
.section--paper { background: var(--bg-paper); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title {
  font-family: var(--ff-display); font-weight: 300; line-height: 1.1;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin: 1rem 0 0.75rem;
}
.section-sub { color: var(--text-2); max-width: 560px; margin-bottom: 2.75rem; }

/* Price menu */
.menu { border-top: 1px solid var(--text); }
.menu-row {
  display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1.5rem;
  padding: 1.4rem 0; border-bottom: 1px solid var(--border); align-items: baseline;
}
.menu-name { font-family: var(--ff-display); font-size: 1.65rem; font-weight: 500; line-height: 1.15; }
.menu-price { font-family: var(--ff-display); font-size: 1.65rem; font-weight: 600; color: var(--gold-dark); white-space: nowrap; }
.menu-desc { color: var(--text-2); font-size: 0.92rem; max-width: 46ch; }
.menu-time { color: var(--text-muted); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; text-align: right; }
.menu-name a { transition: color 0.25s; }
.menu-name a:hover { color: var(--gold); }
.menu-book {
  margin-left: 0.75rem; font-weight: 700; letter-spacing: 0.14em; color: var(--gold-dark);
  border-bottom: 1px solid var(--border-gold); padding-bottom: 1px; white-space: nowrap;
}
.menu-book:hover { color: var(--gold); }
.menu-note { margin-top: 1.5rem; font-size: 0.86rem; color: var(--text-muted); max-width: 60ch; }

/* Photo strip */
.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 768px) { .strip { grid-template-columns: repeat(4, 1fr); } }
.strip img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 2px; transition: transform 0.6s var(--ease); }
.strip figure { overflow: hidden; border-radius: 2px; }
.strip figure:hover img { transform: scale(1.05); }

/* Barber cards */
.barbers { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .barbers { grid-template-columns: repeat(2, 1fr); } }
.barber {
  background: var(--bg-paper); border: 1px solid var(--border); border-radius: 2px;
  padding: 2rem; transition: border-color 0.3s, transform 0.3s var(--ease);
}
.barber:hover { border-color: var(--border-gold); transform: translateY(-3px); }
.barber-role { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.barber-name { font-family: var(--ff-display); font-size: 2.2rem; font-weight: 500; line-height: 1.1; margin: 0.5rem 0 0.75rem; }
.barber-bio { color: var(--text-2); font-size: 0.95rem; margin-bottom: 1.25rem; }
.barber-social {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; color: var(--gold-dark); border-bottom: 1px solid var(--border-gold); padding-bottom: 2px;
}
.barber-social:hover { color: var(--gold); }

/* Visit */
.visit { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1fr; } }
.visit dt { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-top: 1.5rem; }
.visit dt:first-child { margin-top: 0; }
.visit dd { color: var(--text-2); margin-top: 0.35rem; }
.visit dd a { color: var(--gold-dark); border-bottom: 1px solid var(--border-gold); }
.map { border: 1px solid var(--border-gold); border-radius: 2px; overflow: hidden; aspect-ratio: 4/3; }
.map iframe { border: 0; width: 100%; height: 100%; display: block; }
.aside-note {
  margin-top: 2rem; padding: 1.25rem 1.5rem; background: var(--bg-subtle);
  border-left: 2px solid var(--gold); font-size: 0.9rem; color: var(--text-2);
}

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--ff-display); font-size: 1.4rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-family: var(--ff-body); font-weight: 300; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin-top: 0.85rem; color: var(--text-2); max-width: 65ch; }

/* Blog list */
.posts { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post-card {
  display: flex; flex-direction: column; background: var(--bg-paper);
  border: 1px solid var(--border); border-radius: 2px; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.post-card:hover { border-color: var(--border-gold); transform: translateY(-3px); }
.post-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post-card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.post-card-tag { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.post-card-title { font-family: var(--ff-display); font-size: 1.6rem; font-weight: 500; line-height: 1.15; }
.post-card-excerpt { color: var(--text-2); font-size: 0.92rem; flex: 1; }
.post-card-more { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); }

/* Article */
.article { max-width: 720px; padding: 4.5rem 0 5.5rem; }
.article h2 { font-family: var(--ff-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; line-height: 1.15; margin: 2.75rem 0 1rem; }
.article h3 { font-size: 1.05rem; font-weight: 700; margin: 1.75rem 0 0.5rem; }
.article p { color: var(--text-2); margin-bottom: 1.1rem; font-size: 1.02rem; line-height: 1.8; }
.article p strong, .article li strong { color: var(--text); font-weight: 600; }
.article a { color: var(--gold-dark); border-bottom: 1px solid var(--border-gold); }
.article a:hover { color: var(--gold); }
.article ul, .article ol { margin: 0 0 1.25rem; display: grid; gap: 0.55rem; }
.article li { color: var(--text-2); padding-left: 1.4rem; position: relative; line-height: 1.7; }
.article ul li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 0.5rem; height: 1px; background: var(--gold); }
.article ol { counter-reset: n; }
.article ol li { counter-increment: n; }
.article ol li::before { content: counter(n) '.'; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; font-size: 0.9em; }
.article table { width: 100%; border-collapse: collapse; margin: 1.25rem 0 1.75rem; font-size: 0.95rem; }
.article th { text-align: left; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); padding: 0.6rem 0.75rem 0.6rem 0; border-bottom: 1px solid var(--text); }
.article td { padding: 0.75rem 0.75rem 0.75rem 0; border-bottom: 1px solid var(--border); color: var(--text-2); }
.article td:last-child, .article th:last-child { text-align: right; white-space: nowrap; }
.article td:nth-child(2) { white-space: nowrap; }
.article-cta {
  margin: 2.5rem 0; padding: 1.75rem; background: var(--bg-paper);
  border: 1px solid var(--border-gold); border-radius: 2px;
}
.article-cta p { margin-bottom: 1rem; color: var(--text); }
.article-cta .btn { border-bottom: none; color: #FFFDF7; }
.article-back { display: inline-block; margin-top: 2.5rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

/* CTA band */
.band { text-align: center; padding: 5rem 0; }
.band .section-title { margin-bottom: 1rem; }
.band p { color: var(--text-2); margin: 0 auto 2rem; max-width: 480px; }
.band-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Footer */
.footer { background: var(--bg-paper); border-top: 1px solid var(--border); padding: 3rem 0 2rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }
.footer-copy a { color: var(--gold-dark); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); }
.footer-links a:hover { color: var(--gold); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .barber, .post-card, .strip img { transition: none; }
}
