/* ==========================================================================
   Pro-Cutz Male Grooming — stylesheet
   Palette: ink black, bone white, barber red, brass.
   ========================================================================== */

:root {
  --ink:        #0b0b0c;
  --ink-2:      #121215;
  --ink-3:      #1b1b1f;
  --bone:       #f4f1ea;
  --bone-dim:   #b9b4aa;
  --line:       rgba(244, 241, 234, 0.14);
  --red:        #c8102e;
  --red-bright: #e11d38;
  --brass:      #c9a227;

  --font-display: "Bowlby One", "Arial Black", Impact, sans-serif;
  --font-cond:    "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1160px;
  --gut: clamp(1.25rem, 5vw, 3rem);
  --radius: 4px;
  --header-h: 74px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }

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

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

.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 200;
  background: var(--bone); color: var(--ink);
  padding: 0.7rem 1.1rem; font-family: var(--font-cond);
  text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: min(var(--wrap), 100%);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* ==========================================================================
   Logo  (assets/img/logo.svg — swap that one file to update the mark)
   ========================================================================== */
.logo {
  width: auto;
  height: auto;
}
.logo--sm { width: clamp(132px, 15vw, 168px); }
.logo--xl { width: min(100%, clamp(280px, 74vw, 760px)); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(11, 11, 12, 0.95);
  border-bottom-color: var(--line);
}
.site-header__inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.brand { text-decoration: none; flex: none; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); }
.nav__list { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav__list a {
  font-family: var(--font-cond);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--bone-dim);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--red-bright);
  transition: right 0.28s var(--ease);
}
.nav__list a:hover { color: var(--bone); }
.nav__list a:hover::after { right: 0; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line);
  width: 44px; height: 44px; border-radius: var(--radius);
  cursor: pointer; color: var(--bone);
  align-items: center; justify-content: center;
}
.nav-toggle__bars { display: grid; gap: 5px; width: 20px; }
.nav-toggle__bars i {
  display: block; height: 2px; background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--bone);
  --btn-bd: var(--bone);
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bd);
  border-radius: var(--radius);
  padding: 0.85rem 1.6rem;
  font-family: var(--font-cond);
  font-weight: 600; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.11em;
  text-decoration: none; cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease), color 0.22s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--red); --btn-bd: var(--red); --btn-fg: #fff; }
.btn--accent:hover { --btn-bg: var(--red-bright); --btn-bd: var(--red-bright); }
.btn--ghost:hover { --btn-bg: var(--bone); --btn-fg: var(--ink); }
.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.82rem; }

/* ==========================================================================
   Barber pole divider
   ========================================================================== */
.pole {
  height: 10px;
  background-image: repeating-linear-gradient(
    115deg,
    var(--red) 0 14px,
    #fff 14px 28px,
    var(--ink-3) 28px 42px,
    #fff 42px 56px
  );
  background-size: 124px 100%;
  animation: pole-spin 3.6s linear infinite;
}
.pole--top { position: absolute; inset: 0 0 auto 0; }
@keyframes pole-spin { to { background-position: 124px 0; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex; align-items: center;
  min-height: clamp(560px, calc(100svh - var(--header-h)), 900px);
  padding: clamp(3rem, 9vh, 6rem) 0 clamp(4rem, 10vh, 7rem);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(200, 16, 46, 0.16) 0%, transparent 58%),
    radial-gradient(100% 70% at 50% 100%, rgba(0, 0, 0, 0.7) 0%, transparent 60%),
    var(--ink);
  text-align: center;
  overflow: hidden;
}
.hero__stripes {
  position: absolute; inset: -20%;
  z-index: -1;
  opacity: 0.05;
  background-image: repeating-linear-gradient(
    115deg,
    var(--bone) 0 2px,
    transparent 2px 26px
  );
  mask-image: radial-gradient(70% 60% at 50% 45%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000 0%, transparent 78%);
}
.hero__inner { position: relative; }
.hero__title { margin: clamp(1.25rem, 3vh, 2rem) 0 0; }
.hero__tagline {
  max-width: 34ch;
  margin: clamp(1.5rem, 4vh, 2.25rem) auto 0;
  color: var(--bone-dim);
  font-size: clamp(1.02rem, 0.95rem + 0.5vw, 1.3rem);
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center;
  margin-top: clamp(1.75rem, 4vh, 2.5rem);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  margin-top: clamp(2.5rem, 7vh, 4.5rem);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
}
.hero__facts li {
  background: rgba(18, 18, 21, 0.85);
  padding: 1.1rem 1.35rem;
  display: grid; gap: 0.25rem;
}
.hero__facts-k {
  font-family: var(--font-cond); font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--red-bright);
}
.hero__facts-v { font-size: 0.95rem; color: var(--bone); }
.hero__facts-v a { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.hero__facts-v a:hover { border-bottom-color: var(--red-bright); }

/* ---------- open / closed status pill ---------- */
.status {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin: 0;
  padding: 0.45rem 1rem 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 18, 21, 0.8);
  font-family: var(--font-cond); font-weight: 500;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--bone-dim);
}
.status__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bone-dim); flex: none;
}
.status.is-open  { color: var(--bone); border-color: rgba(70, 190, 120, 0.45); }
.status.is-open .status__dot { background: #46be78; box-shadow: 0 0 0 0 rgba(70, 190, 120, 0.6); animation: pulse 2.4s infinite; }
.status.is-soon  { color: var(--bone); border-color: rgba(201, 162, 39, 0.5); }
.status.is-soon .status__dot { background: var(--brass); }
.status.is-shut  { border-color: rgba(200, 16, 46, 0.45); }
.status.is-shut .status__dot { background: var(--red-bright); }
.status--inline { margin-top: 1.5rem; }
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(70, 190, 120, 0); }
  100% { box-shadow: 0 0 0 0 rgba(70, 190, 120, 0); }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(4rem, 11vh, 8rem) 0; position: relative; }
.section--alt { background: var(--ink-2); border-block: 1px solid var(--line); }

.eyebrow {
  font-family: var(--font-cond); font-weight: 600;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.24em;
  color: var(--red-bright);
  margin: 0 0 0.75rem;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.25rem + 2.3vw, 3.1rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.section__lede {
  max-width: 56ch;
  margin-top: 1rem;
  color: var(--bone-dim);
}
.section__head { margin-bottom: clamp(2.5rem, 6vh, 4rem); }

.note {
  margin-top: 2.5rem;
  padding: 1.1rem 1.35rem;
  border-left: 3px solid var(--brass);
  background: rgba(201, 162, 39, 0.07);
  color: var(--bone-dim);
  font-size: 0.95rem;
}
.note a { color: var(--bone); text-underline-offset: 3px; }

/* ---------- service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.25rem;
}
.card {
  position: relative;
  padding: 2rem 1.6rem 1.7rem;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: var(--red);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.35s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: rgba(244, 241, 234, 0.28); background: var(--ink-3); }
.card:hover::before { transform: scaleY(1); transform-origin: top; }
.card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--red-bright);
  margin-bottom: 0.6rem;
}
.card__title {
  font-family: var(--font-cond);
  font-weight: 600; font-size: 1.28rem;
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 0.55rem;
}
.card p { margin: 0; color: var(--bone-dim); font-size: 0.95rem; }

/* ---------- hours ---------- */
.hours {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.hours__table th, .hours__table td {
  padding: 1.05rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-family: var(--font-cond);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.02rem;
}
.hours__table th { font-weight: 500; color: var(--bone); }
.hours__table td { text-align: right; color: var(--bone-dim); font-variant-numeric: tabular-nums; }
.hours__table tr:last-child th, .hours__table tr:last-child td { border-bottom: 0; }
.hours__table tr.is-closed th, .hours__table tr.is-closed td { color: rgba(185, 180, 170, 0.5); }
.hours__table tr.is-today {
  background: linear-gradient(90deg, rgba(200, 16, 46, 0.16), transparent 70%);
  box-shadow: inset 3px 0 0 var(--red-bright);
}
.hours__table tr.is-today th { color: #fff; font-weight: 600; }
.hours__table tr.is-today td { color: #fff; }
.hours__table tr.is-today th::after {
  content: "Today";
  display: inline-block; margin-left: 0.7rem;
  padding: 0.1rem 0.45rem;
  background: var(--red); color: #fff;
  font-size: 0.62rem; letter-spacing: 0.14em; border-radius: 2px;
  vertical-align: 0.15em;
}

/* ---------- find us ---------- */
.find {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.find__address {
  font-family: var(--font-cond);
  font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.75rem);
  line-height: 1.45;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 1.75rem 0;
}
.find__phone {
  display: flex; align-items: baseline; gap: 0.75rem;
  margin: -0.75rem 0 1.75rem;
}
.find__phone span {
  font-family: var(--font-cond); font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--red-bright);
}
.find__phone a {
  font-family: var(--font-cond); font-size: 1.25rem; letter-spacing: 0.06em;
  color: var(--bone); text-decoration: none;
  border-bottom: 1px solid var(--line); padding-bottom: 2px;
}
.find__phone a:hover { border-bottom-color: var(--red-bright); }

.find__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.find__map {
  position: relative;
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  overflow: hidden;
}
.find__map-link { display: block; text-decoration: none; }
.find__map-img {
  width: 100%; height: 100%;
  min-height: 380px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.find__map-link:hover .find__map-img { transform: scale(1.03); }
.find__map-credit {
  position: absolute; right: 0.55rem; top: 0.5rem;
  padding: 0.2rem 0.5rem;
  background: rgba(11, 11, 12, 0.75);
  border-radius: 2px;
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  color: rgba(185, 180, 170, 0.85);
}
.find__map-credit a { color: inherit; }
.find__map-label {
  position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem;
  display: grid; gap: 0.15rem;
  padding: 0.9rem 1.1rem;
  background: rgba(11, 11, 12, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.find__map-label:hover { border-color: rgba(244, 241, 234, 0.35); background: rgba(11, 11, 12, 0.98); }
.find__map-label strong {
  font-family: var(--font-cond); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.95rem;
}
.find__map-label em {
  font-style: normal; font-size: 0.82rem; color: var(--bone-dim);
  font-family: var(--font-cond); letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------- careers ---------- */
.section--careers {
  position: relative;
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(200, 16, 46, 0.18), transparent 60%),
    var(--ink);
  text-align: center;
  border-top: 1px solid var(--line);
}
.careers { max-width: 62ch; margin-inline: auto; }
.careers__lede { margin: 1.25rem 0 2rem; color: var(--bone-dim); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 7vh, 4.5rem);
  font-size: 0.92rem;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: 2.75rem;
}
.site-footer__blurb { color: var(--bone-dim); margin-top: 1.1rem; max-width: 28ch; }
.site-footer__col h2 {
  font-family: var(--font-cond); font-weight: 600;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--red-bright);
  margin-bottom: 1rem;
}
.site-footer__col address { color: var(--bone-dim); margin-bottom: 0.85rem; line-height: 1.7; }
.site-footer__col a { color: var(--bone); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.site-footer__col a:hover { border-bottom-color: var(--red-bright); }
.site-footer__hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.3rem 0; color: var(--bone-dim);
  font-variant-numeric: tabular-nums;
}
.site-footer__hours span:first-child { color: var(--bone); }
.site-footer__social {
  display: flex; align-items: center; gap: 0.55rem;
  margin-bottom: 0.7rem;
  border: 0 !important;
}
.site-footer__social:hover { color: var(--red-bright); }
.site-footer__social svg { flex: none; }

.site-footer__base {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line);
  padding-block: 1.4rem;
  color: rgba(185, 180, 170, 0.75);
  font-size: 0.82rem;
}
.site-footer__base p { margin: 0; }
.site-footer__top { text-decoration: none; font-family: var(--font-cond); letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer__top:hover { color: var(--red-bright); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .hours, .find { grid-template-columns: 1fr; }
  .find__map { min-height: 280px; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
    padding: 0.5rem var(--gut) 1.75rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a {
    display: block;
    padding: 1rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
    color: var(--bone);
  }
  .nav__list a::after { display: none; }
  .nav__cta { margin-top: 1.25rem; }
}

@media (max-width: 560px) {
  .site-footer__inner { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hours__table th, .hours__table td { padding: 0.9rem 0.5rem; font-size: 0.94rem; }
  .hours__table tr.is-today th::after { display: none; }
}

/* ==========================================================================
   Motion & print preferences
   ========================================================================== */
@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;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  body { background: #fff; color: #000; }
  .site-header, .nav, .hero__stripes, .pole, .find__map, .btn { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .section__title { color: #000; }
  .logo { content: url("../img/logo-dark.svg"); width: 220px; }
}
