/* Halfpenny Barber Co. — charcoal, bone, brass and barber-pole red */

:root {
  --ink: #121212;
  --ink-2: #1c1b19;
  --ink-3: #26241f;
  --bone: #f1ebe0;
  --bone-2: #e4dccd;
  --brass: #c9a253;
  --brass-light: #e2c47f;
  --red: #b3312b;
  --blue: #20416e;
  --text-dim: rgba(241, 235, 224, 0.7);
  --line: rgba(241, 235, 224, 0.14);
  --display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 {
  margin: 0 0 0.4em;
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h2 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: #5a554c; }
[data-lucide] { width: 1.1em; height: 1.1em; vertical-align: -0.15em; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.concept {
  padding: 7px 16px;
  background: var(--brass);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9em 1.5em;
  border: 2px solid var(--brass);
  border-radius: 4px;
  background: var(--brass);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--brass-light); border-color: var(--brass-light); transform: translateY(-1px); }
.btn-line { background: transparent; color: var(--bone); border-color: rgba(241, 235, 224, 0.45); }
.btn-line:hover { background: rgba(241, 235, 224, 0.08); border-color: var(--bone); }
.btn-small { padding: 0.6em 1.1em; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  color: var(--bone);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-name { font-family: var(--display); font-size: 2rem; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; }
.brand-sub { margin-top: 3px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass); }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: none;
  color: var(--bone);
  cursor: pointer;
}
.site-nav {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  padding: 8px 16px 20px;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
.site-nav.open { display: flex; }
.site-nav a { padding: 13px 2px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--text-dim); }
.site-nav a:hover { color: var(--bone); }
.site-nav .btn { margin-top: 14px; border: 2px solid var(--brass); color: var(--ink); padding: 0.8em 1.2em; }
@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 30px; padding: 0; border: 0; background: none; }
  .site-nav a { padding: 0; border: 0; font-size: 0.95rem; }
  .site-nav .btn { margin-top: 0; padding: 0.6em 1.1em; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(201, 162, 83, 0.16), transparent 70%),
    var(--ink);
  color: var(--bone);
}
.hero .kicker { color: var(--brass); }
.hero h1 {
  font-size: clamp(3.6rem, 11vw, 7.4rem);
  font-weight: 900;
  line-height: 0.88;
}
.hero h1 span { color: var(--brass); }
.lede { max-width: 30em; margin-top: 1.2rem; font-size: 1.12rem; color: var(--text-dim); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-side { display: flex; align-items: center; justify-content: center; gap: 28px; }

.pole { flex-shrink: 0; width: 70px; }
.pole-cap {
  height: 22px;
  margin: 0 -6px;
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(90deg, #7d5f25, var(--brass-light) 45%, #7d5f25);
}
.pole-cap.bottom { border-radius: 4px 4px 12px 12px; }
.pole-glass {
  height: 260px;
  background: repeating-linear-gradient(45deg, var(--red) 0 20px, var(--bone) 20px 40px, var(--blue) 40px 60px, var(--bone) 60px 80px);
  background-size: 100% 113.137px;
  box-shadow: inset 14px 0 16px rgba(0, 0, 0, 0.35), inset -14px 0 16px rgba(0, 0, 0, 0.35);
  animation: pole 2.6s linear infinite;
}
@keyframes pole { to { background-position: 0 113.137px; } }

.today-card {
  max-width: 260px;
  padding: 24px 24px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink-2);
}
.today-label { margin-bottom: 0.2em; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); }
.today-status { font-family: var(--display); font-size: 1.9rem; font-weight: 800; line-height: 1; text-transform: uppercase; }
.today-note { display: flex; align-items: center; gap: 0.5em; margin-bottom: 0.5em; font-size: 0.92rem; color: var(--text-dim); }

@media (min-width: 900px) {
  .hero { padding: 88px 0 104px; }
  .hero-grid { grid-template-columns: 1.3fr 0.7fr; }
  .pole-glass { height: 330px; }
}

/* Ticker */
.ticker { overflow: hidden; background: var(--red); color: var(--bone); }
.ticker-track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.ticker span {
  padding: 14px 28px;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker span::after { content: "✂"; margin-left: 56px; font-size: 1rem; vertical-align: 0.15em; opacity: 0.7; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 80px 0; }
.section-dark { background: var(--ink); color: var(--bone); }
.section-dark .kicker { color: var(--brass); }
.section-dark .muted { color: var(--text-dim); }
.section-head { max-width: 720px; margin-bottom: 44px; }
@media (min-width: 900px) { .section { padding: 108px 0; } }

/* Prices */
.price-grid { display: grid; gap: 40px; }
@media (min-width: 820px) { .price-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.price-col h3 { padding-bottom: 12px; border-bottom: 3px solid var(--ink); color: var(--red); }
.price-row { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; font-size: 1.08rem; font-weight: 600; }
.price-row small { display: block; font-size: 0.8rem; font-weight: 500; color: #6b655b; }
.price-row i { flex: 1; border-bottom: 2px dotted #b9b0a0; transform: translateY(-4px); }
.price-row b { font-family: var(--display); font-size: 1.7rem; font-weight: 800; }
.price-note {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 36px;
  padding: 16px 20px;
  border-left: 4px solid var(--brass);
  background: var(--bone-2);
  font-weight: 500;
}

/* Team */
.team { display: grid; gap: 18px; }
@media (min-width: 760px) { .team { grid-template-columns: repeat(3, 1fr); } }
.barber {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink-2);
}
.mono {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 2px solid var(--brass);
  background: var(--ink-3);
  color: var(--brass);
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 900;
}
.barber .role { margin-bottom: 0.8em; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.barber p:last-child { margin: 0; color: var(--text-dim); }

/* Booking */
.book-grid { display: grid; gap: 44px; align-items: start; }
@media (min-width: 900px) { .book-grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } }
.ticks { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; font-weight: 600; }
.ticks li { display: flex; align-items: center; gap: 0.6em; }
.ticks [data-lucide] { color: var(--red); }

.booker {
  padding: 28px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(18, 18, 18, 0.12), 0 0 0 1px rgba(18, 18, 18, 0.06);
}
.booker fieldset { margin: 0 0 22px; padding: 0; border: 0; }
.booker legend { margin-bottom: 10px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #6b655b; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 0.55em 1em;
  border: 1.5px solid #d6cdbd;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 600 0.92rem var(--body);
  cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { border-color: var(--ink); background: var(--ink); color: var(--bone); }
.booker-msg { min-height: 1.5em; margin: 14px 0 0; font-size: 0.92rem; font-weight: 600; color: var(--red); }

/* Hours */
.hours-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 860px) { .hours-grid { grid-template-columns: 0.8fr 1.2fr; gap: 72px; } }
.hours { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.hours th, .hours td { padding: 15px 4px; border-bottom: 1px solid var(--line); }
.hours th { text-align: left; font-weight: 600; }
.hours td { text-align: right; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--brass); }
.hours tr.is-today th::after {
  content: "Today";
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brass);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: 0.15em;
}

/* Visit */
.visit { display: grid; gap: 36px; align-items: center; }
@media (min-width: 860px) { .visit { grid-template-columns: 1fr 1fr; gap: 72px; } }
.contact { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 1.08rem; font-weight: 500; }
.contact li { display: flex; align-items: center; gap: 0.7em; }
.contact [data-lucide] { color: var(--red); }
.visit-card {
  padding: 40px 34px;
  border-radius: 10px;
  background:
    repeating-linear-gradient(45deg, rgba(179, 49, 43, 0.9) 0 14px, transparent 14px 28px, rgba(32, 65, 110, 0.9) 28px 42px, transparent 42px 56px) top / 100% 10px no-repeat,
    var(--ink);
  color: var(--bone);
}
.visit-big { margin-bottom: 28px; font-family: var(--display); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 900; line-height: 0.92; text-transform: uppercase; }

/* Footer */
.site-footer { padding: 44px 0 28px; background: var(--ink); color: var(--bone); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.socials a:hover { border-color: var(--brass); color: var(--brass); }
.footer-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--text-dim); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pole-glass, .ticker-track { animation: none; }
}
