/* BarbersCuts.com — black background, white text. Fonts: Bebas Neue + Work Sans, SIL OFL, self-hosted. */
@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/bebas-neue-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/work-sans-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/work-sans-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/work-sans-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/work-sans-latin-700.woff2") format("woff2");
}

:root {
  --bg: #000;
  --bg-2: #0a0a0a;
  --bg-3: #111;
  --fg: #fff;
  --muted: #b3b3b3;
  --line: #2a2a2a;
  --line-2: #444;
  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); }
body {
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.65;
  min-height: 100%;
  overflow-x: hidden;
}
img, picture, video, svg { max-width: 100%; height: auto; display: block; }
picture { width: 100%; }
a { color: var(--fg); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { opacity: 0.82; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
h1, h2, h3, h4, .logo {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute; left: 12px; top: -100px; z-index: 3000;
  background: #fff; color: #000; padding: 8px 14px; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.muted { color: var(--muted); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 1000;
  background: #000;
  border-bottom: 1px solid var(--line);
}
.top-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: var(--header-h);
}
.logo {
  font-size: 1.55rem; letter-spacing: 0.12em; text-decoration: none;
  white-space: nowrap; flex: 0 0 auto; line-height: 1;
  padding: 8px 0;
}
.logo:hover { opacity: 1; color: #fff; }

.burger {
  display: none;
  width: 44px; height: 44px; padding: 10px 8px;
  background: transparent; border: 0; cursor: pointer; color: #fff;
  flex-direction: column; justify-content: center; gap: 6px;
}
.burger span {
  display: block; height: 2px; width: 100%; background: #fff;
  transition: transform .2s, opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.menu {
  display: flex; align-items: center; gap: 4px 6px;
  list-style: none; margin: 0; padding: 0;
}
.menu > li { position: relative; }
.menu a, .menu .sub-toggle, .menu .nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px;
  color: #fff; text-decoration: none;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; background: none; border: 0; cursor: pointer;
  font-family: var(--body); line-height: 1; white-space: nowrap;
}
.menu a:hover, .menu .sub-toggle:hover { opacity: 1; color: #fff; }
.menu a[aria-current="page"],
.menu .has-sub.current > .nav-combo .nav-link[aria-current="page"],
.menu .has-sub.current > .nav-combo .sub-toggle {
  box-shadow: inset 0 -2px 0 #fff;
}

.nav-combo { display: flex; align-items: center; }
.nav-combo .nav-link { padding-right: 4px; }
.nav-combo .sub-toggle { padding-left: 4px; padding-right: 10px; }

.sub {
  display: none;
  position: absolute; top: 100%; left: 0;
  min-width: 200px;
  background: #000;
  border: 1px solid var(--line-2);
  list-style: none; margin: 0; padding: 8px 0;
  z-index: 20;
}
.has-sub.open > .sub { display: block; }
.sub a {
  display: block; width: 100%;
  padding: 10px 18px; white-space: nowrap;
  font-size: 0.78rem;
}
.sub a:hover, .sub a[aria-current="page"] { background: #111; }
.sub .all-link { border-bottom: 1px solid var(--line); margin-bottom: 4px; padding-bottom: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px;
  background: #fff; color: #000;
  font-family: var(--body); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  border: 2px solid #fff; cursor: pointer;
  transition: background .15s, color .15s;
}
.btn:hover { background: transparent; color: #fff; opacity: 1; }
.btn-ghost { background: transparent; color: #fff; }
.btn-ghost:hover { background: #fff; color: #000; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero {
  position: relative;
  min-height: min(86vh, 820px);
  display: flex; align-items: flex-end;
  background: #000; color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  max-width: none;
}
.hero-media img {
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center 40%;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.78) 100%),
    linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.1) 55%, rgba(0,0,0,.35) 100%);
  pointer-events: none;
}
.hero-copy {
  position: relative; z-index: 1;
  padding: 72px 0 64px;
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
  max-width: 100%;
  font-family: var(--display);
}
.hero-copy h1 {
  font-size: clamp(3.2rem, 8vw, 7rem);
  letter-spacing: 0.02em;
  margin: 0 0 24px;
}
.hero-copy .btns { max-width: none; }

/* Page header (inner pages) */
.page-hero {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); margin-bottom: 16px; }
.page-hero .lead { max-width: 38rem; color: var(--muted); font-size: 1.1rem; }

/* Sections */
.section { padding: 80px 0; }
.section + .section { border-top: 1px solid var(--line); }
.kicker {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 12px;
}
.section h2 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); margin: 0 0 18px; }
.center { text-align: center; }
.center .lead, .center p.intro { margin-inline: auto; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
  align-items: center;
}
.split .copy { max-width: 36rem; }
.split img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4/5; }

/* Browse / cities */
.city-groups { display: grid; gap: 36px; }
.city-group h3 { font-size: 2rem; margin-bottom: 14px; }
.city-group h3 a { text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 10px 18px; border: 1px solid var(--line-2);
  text-decoration: none; font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.chip:hover { background: #fff; color: #000; opacity: 1; border-color: #fff; }

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.service figcaption { padding: 16px 0 0; }
.service h3 { font-size: 1.7rem; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 0.98rem; }
.service img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* Gallery */
.teaser-grid, .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.gallery-grid { gap: 12px; }
.teaser-grid img, .gallery-grid img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
}
.gallery-grid a { display: block; }
.gallery-grid a:hover { opacity: 0.9; }

/* FAQ */
.faq-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.faq-list { display: grid; gap: 0; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 {
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.35;
  margin-bottom: 8px;
}
.faq-item p { color: var(--muted); margin: 0; }
.faq-split .photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* CTA band */
.cta {
  padding: 88px 0;
  text-align: center;
  background: var(--bg-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 14px; }
.cta p { color: var(--muted); margin: 0 auto 28px; max-width: 34rem; }
.cta .btns { justify-content: center; }

/* Listing cards — same idea as St Annes category pages, inverted */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.card .ph {
  aspect-ratio: 8/5;
  background: #161616;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .b { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .b p { margin: 0; font-size: 0.96rem; color: var(--muted); }
.card .b .btns { margin-top: auto; padding-top: 12px; }
.card .tag {
  display: inline-block; align-self: flex-start;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  padding: 3px 8px; color: var(--muted);
}
.card.placeholder { border-style: dashed; }
.card h3 { font-size: 1.7rem; margin: 4px 0 2px; text-transform: uppercase; }

/* Contact */
.email-block { margin-top: 20px; }
.email-block a {
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: 0.06em;
  text-decoration: none;
  word-break: break-word;
}
.email-block a:hover { text-decoration: underline; }

/* Credits */
.credits { font-size: 0.9rem; color: var(--muted); }
.credits ul { margin: 0; padding-left: 1.15em; }
.credits li { margin: 0.3em 0; }
.credits a { color: var(--muted); }

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  font-size: 0.9rem;
  color: var(--muted);
}
.foot-in {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  justify-content: space-between; align-items: center;
}
.foot a { color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* 404 */
.notfound { padding: 80px 0 100px; text-align: center; }
.notfound h1 { font-size: clamp(3rem, 8vw, 6rem); margin-bottom: 16px; }
.notfound p { color: var(--muted); margin: 0 auto 28px; max-width: 32rem; }
.notfound .btns { justify-content: center; }

/* Burger breakpoint — nav is long (country dropdowns). */
@media (max-width: 960px) {
  .burger { display: flex; }
  .menu {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #000;
    border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    padding: 8px 0 18px;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }
  .menu.open { display: flex; }
  .menu > li { width: 100%; }
  .menu a, .menu .sub-toggle, .menu .nav-link {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.95rem;
    justify-content: space-between;
  }
  .nav-combo { width: 100%; }
  .nav-combo .nav-link { flex: 1; }
  .nav-combo .sub-toggle { flex: 0 0 48px; justify-content: center; width: 48px; }
  .sub {
    position: static;
    border: 0; border-top: 1px solid var(--line);
    background: #0a0a0a;
    min-width: 0; width: 100%;
    padding: 0 0 8px;
  }
  .sub a { padding: 12px 20px 12px 32px; }
  body.menu-open { overflow: hidden; }

  .split, .faq-split { grid-template-columns: 1fr; gap: 28px; }
  .faq-split .photo { order: -1; max-width: 420px; }
  .service-grid, .teaser-grid, .gallery-grid, .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section { padding: 56px 0; }
  .hero { min-height: min(92vh, 760px); }
  .hero-copy { padding: 48px 0 40px; max-width: 100%; }
  .page-hero { padding: 40px 0 24px; }
  .cta { padding: 64px 0; }
}

@media (max-width: 560px) {
  .wrap { width: min(var(--wrap), calc(100% - 28px)); }
  .service-grid { grid-template-columns: 1fr; }
  .teaser-grid, .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .btn { width: 100%; }
  .btns { width: 100%; }
  .cta .btns .btn { width: auto; flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .burger span { transition: none; }
}
