/* Ace of Fades — vintage badge aesthetic: black & white primary (their real brand colors),
   gold used only as a small accent (buttons, price, stars, dividers). Rye + Alex Brush match
   the rugged block lettering / script on their real logo. */

@import url('https://fonts.googleapis.com/css2?family=Rye&family=Alex+Brush&family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #0b0b0c;
  --panel: #17161a;
  --panel-2: #1f1e23;
  --paper: #f2f0ea;
  --paper-ink: #141414;
  --paper-muted: #55504a;
  --cream: #f5f4f0;
  --muted: #aeaaa2;
  --gold: #c8a24a;
  --gold-bright: #e6c876;
  --line: rgba(245, 244, 240, 0.14);
  --line-dark: rgba(20, 20, 20, 0.14);
  --shadow: rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  background-color: var(--ink);
  background-image: url('images/logo/badge-bg.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }

.display {
  font-family: 'Rye', cursive;
  letter-spacing: 0.01em;
  font-weight: 400;
}

.script {
  font-family: 'Alex Brush', cursive;
  font-weight: 400;
}

.eyebrow {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.75rem;
  color: var(--cream);
  opacity: 0.75;
  font-weight: 500;
}

.eyebrow-dark { color: var(--paper-ink); opacity: 0.6; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

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

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Rye', cursive;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
}

.brand img {
  height: 44px;
  width: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--cream);
}

.brand small {
  display: block;
  font-family: 'Alex Brush', cursive;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: none;
  margin-top: 2px;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav.main-nav a.nav-link {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

nav.main-nav a.nav-link:hover,
nav.main-nav a.nav-link.active {
  opacity: 1;
  color: var(--cream);
  border-bottom-color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-link {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1a1305;
}

.btn-gold:hover {
  box-shadow: 0 6px 20px rgba(200, 162, 74, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--cream);
  color: var(--cream);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(245, 244, 240, 0.08);
  border-color: var(--gold);
  color: var(--gold-bright);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 90px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(245,244,240,0.07), transparent 55%),
    linear-gradient(180deg, rgba(11,11,12,0.6), rgba(17,16,20,0.7) 70%, rgba(11,11,12,0.8));
  border-bottom: 1px solid var(--line);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  min-width: 0;
  align-items: center;
}

.hero-copy { min-width: 0; }

.hero-copy .eyebrow { margin-bottom: 14px; }

.hero h1 {
  font-size: clamp(3.2rem, 6vw, 5rem);
  margin: 0 0 6px;
  line-height: 1;
}

.hero h1 span { color: var(--gold-bright); }

.hero-sub {
  font-family: 'Oswald', sans-serif;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 10px 0 28px;
  max-width: 46ch;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-item strong {
  font-family: 'Rye', cursive;
  font-size: 1.5rem;
  color: var(--cream);
  letter-spacing: 0.01em;
}

.trust-item strong .star { color: var(--gold); }

.trust-item span {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hero-badge-frame {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  justify-content: center;
}

.hero-badge-frame::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(245,244,240,0.08), transparent 70%);
  z-index: 0;
}

.hero-badge-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px var(--shadow);
  max-width: 420px;
}

/* ---------- Quick nav (icon row) ---------- */

.quicknav { padding: 10px 0 70px; }

.quicknav-row {
  display: flex;
  justify-content: center;
  gap: 46px;
  flex-wrap: wrap;
}

.quicknav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}

.quicknav-item:hover { opacity: 1; transform: translateY(-3px); }

.quicknav-icon {
  width: 60px;
  height: 60px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: var(--panel);
  color: var(--cream);
  transition: border-color 0.2s, color 0.2s;
}

.quicknav-item:hover .quicknav-icon {
  border-color: var(--gold);
  color: var(--gold-bright);
}

/* ---------- Sections ---------- */

section { padding: 88px 0; }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 52px;
}

.section-head .eyebrow { display: block; margin-bottom: 12px; }

.section-head h2 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin: 0 0 14px;
  color: var(--cream);
}

.section-head p {
  color: var(--muted);
  font-size: 1rem;
}

.divider-mark {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 18px auto 0;
  position: relative;
}

.divider-mark::before {
  content: '\2660';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--ink);
  color: var(--gold);
  padding: 0 10px;
  font-size: 0.9rem;
}

.section-light .divider-mark::before { background: var(--paper); }

/* ---------- About / Michael (light "paper" section — literal black & white) ---------- */

.about.section-light {
  background: var(--paper);
  color: var(--paper-ink);
  border-top: 1px solid var(--line-dark);
  border-bottom: 4px solid var(--ink);
}

.about .container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.about-copy { min-width: 0; }

.owner-photo-frame {
  min-width: 0;
  aspect-ratio: 4 / 5;
  border: 6px solid var(--paper);
  outline: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.owner-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy .eyebrow { margin-bottom: 10px; }

.about-copy h2 {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  margin: 0 0 18px;
  color: var(--paper-ink);
}

.about-copy p {
  color: var(--paper-muted);
  margin: 0 0 16px;
  max-width: 56ch;
}

.owner-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.owner-badge {
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  padding: 10px 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--paper-ink);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 20, 20, 0.03);
}

.owner-badge b { color: var(--ink); }
.owner-badge .star { color: var(--gold); }

/* ---------- Gallery: scattered polaroid photos, true black & white ---------- */

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 36px 22px;
  padding-top: 10px;
}

.polaroid {
  background: var(--paper);
  padding: 14px 14px 46px;
  width: 230px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0.3s;
  position: relative;
}

.polaroid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.08);
  display: block;
}

.polaroid:nth-child(6n+1) { transform: rotate(-4deg); }
.polaroid:nth-child(6n+2) { transform: rotate(3deg); }
.polaroid:nth-child(6n+3) { transform: rotate(-2deg); }
.polaroid:nth-child(6n+4) { transform: rotate(2.5deg); }
.polaroid:nth-child(6n+5) { transform: rotate(-3deg); }
.polaroid:nth-child(6n+6) { transform: rotate(1.5deg); }

.polaroid:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.65);
  z-index: 5;
}

.polaroid figcaption {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Alex Brush', cursive;
  font-size: 1.35rem;
  color: var(--paper-ink);
}

/* ---------- Services teaser (home) ---------- */

.services-teaser {
  background: rgba(23, 22, 26, 0.86);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.teaser-card {
  background: rgba(31, 30, 35, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
}

.teaser-card .spade-icon {
  color: var(--cream);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.teaser-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cream);
}

.teaser-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Walk-in banner ---------- */

.walkin-banner {
  background: rgba(31, 30, 35, 0.85);
  border: 1px solid var(--cream);
  border-radius: 10px;
  padding: 30px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.walkin-banner h3 {
  font-family: 'Rye', cursive;
  font-size: 1.8rem;
  margin: 0 0 4px;
  color: var(--cream);
  letter-spacing: 0.01em;
}

.walkin-banner p {
  margin: 0;
  color: var(--muted);
  font-family: 'Oswald', sans-serif;
  font-size: 0.92rem;
}

/* ---------- Barber tabs (services page) ---------- */

.barber-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.barber-tab {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.88rem;
  padding: 14px 26px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(23, 22, 26, 0.88);
  cursor: pointer;
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: border-color 0.2s, background 0.2s;
}

.barber-tab .stars {
  color: var(--gold);
  font-size: 0.78rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0;
}

.barber-tab.active,
.barber-tab:hover {
  border-color: var(--cream);
  background: rgba(31, 30, 35, 0.92);
}

.barber-panel { display: none; }
.barber-panel.active { display: block; animation: fadeIn 0.35s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

.service-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(23, 22, 26, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 22px;
}

.service-card.featured {
  border-color: var(--gold);
  background: linear-gradient(120deg, rgba(28,23,16,0.9), rgba(23,22,26,0.88));
}

.service-info h4 {
  margin: 0 0 4px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.service-info span {
  color: var(--muted);
  font-size: 0.82rem;
}

.service-price {
  text-align: right;
  flex-shrink: 0;
}

.service-price strong {
  display: block;
  font-family: 'Rye', cursive;
  font-size: 1.6rem;
  color: var(--gold-bright);
  letter-spacing: 0.01em;
}

.service-book-btn {
  margin-top: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--cream);
  color: var(--cream);
  padding: 7px 14px;
  border-radius: 4px;
  display: inline-block;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.service-book-btn:hover { background: rgba(230, 200, 118, 0.12); border-color: var(--gold); color: var(--gold-bright); }

/* ---------- Hours / location ---------- */

.hours-location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.info-card {
  background: rgba(23, 22, 26, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}

.info-card h3 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  color: var(--cream);
  margin: 0 0 18px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
}

.hours-row:last-child { border-bottom: none; }
.hours-row span:first-child { color: var(--muted); }

.info-card address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

/* ---------- Footer ---------- */

footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 50px 0 28px;
  background: rgba(8, 8, 10, 0.92);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 34px;
}

.footer-col { min-width: 0; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Rye', cursive;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.footer-brand img {
  height: 38px;
  width: 38px;
  border-radius: 50%;
  border: 2px solid var(--cream);
  object-fit: cover;
}

.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  margin: 0 0 14px;
}

.footer-col p, .footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.footer-col a:hover { color: var(--gold-bright); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- Responsive ---------- */

@media (min-width: 900px) {
  .phone-link { display: inline-block; }
}

@media (max-width: 900px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: inline-block; }
  .header-actions { gap: 10px; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-ctas, .trust-row { justify-content: center; }
  .about .container { grid-template-columns: 1fr; }
  .owner-photo-frame { max-width: 340px; margin: 0 auto; }
  .quicknav-row { gap: 30px; }
  .teaser-grid { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .hours-location { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .service-card { flex-direction: column; align-items: flex-start; }
  .service-price { text-align: left; }
  .polaroid { width: 76vw; max-width: 260px; }
}

@media (max-width: 480px) {
  .site-header .container { height: 68px; }
  .brand { gap: 8px; }
  .brand img { height: 36px; width: 36px; }
  .brand span { font-size: 1.05rem; }
  .brand small { font-size: 0.8rem; }
  .header-actions .btn-gold { display: none; }
  .hero { padding-top: 70px; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .quicknav-row { gap: 22px 18px; }
  .quicknav-icon { width: 52px; height: 52px; }
  .gallery-grid { gap: 28px 14px; }
}
