/* Hair Line Gents Salon — concept by Beans Digital
   Palette: ink charcoal + brass + bone. Classic barbershop materials
   (dark leather chairs, brass fittings, hot-towel cream) rendered as
   a typographic, editorial dark theme. */

@view-transition { navigation: auto; }

:root {
  --ink: #121415;
  --ink-2: #1b1e20;
  --ink-3: #24282b;
  --brass: #c9a15a;
  --brass-soft: #e0c188;
  --bone: #f1e9da;
  --bone-dim: #cfc6b4;
  --line: rgba(201, 161, 90, 0.28);
  --max: 1080px;
  --serif: "Marcellus", "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; }

a { color: var(--brass-soft); text-decoration: none; }
a:hover, a:focus-visible { color: var(--bone); }
a:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- concept banner ---------- */
.concept-banner {
  background: var(--brass);
  color: #1a1407;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 7px 14px;
  font-weight: 500;
}

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 20, 21, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  view-transition-name: brand;
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.brand .mark {
  width: 30px; height: 30px; flex: none;
  color: var(--brass);
}
.brand em { color: var(--brass); font-style: normal; }

nav.main ul {
  display: flex;
  gap: 26px;
  list-style: none;
}
nav.main a {
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
}
nav.main a:hover { color: var(--bone); }
nav.main a[aria-current="page"] {
  color: var(--brass);
  border-bottom-color: var(--brass);
}

/* mobile menu — pure CSS so it works with JS off */
.menu-toggle { display: none; }
.menu-btn {
  display: none;
  cursor: pointer;
  color: var(--bone);
  border: 1px solid var(--line);
  padding: 8px 14px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  user-select: none;
}
@media (max-width: 720px) {
  .menu-btn { display: inline-block; }
  nav.main {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  nav.main ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 18px;
  }
  nav.main li { border-bottom: 1px solid rgba(241, 233, 218, 0.07); }
  nav.main li:last-child { border-bottom: 0; }
  nav.main a { display: block; padding: 13px 2px; }
  .menu-toggle:checked ~ nav.main { max-height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  nav.main { transition: none; }
}

/* ---------- barber stripe divider ---------- */
.stripe {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--brass) 0 14px,
    var(--ink) 14px 28px,
    var(--bone) 28px 42px,
    var(--ink) 42px 56px
  );
  opacity: 0.85;
}

/* ---------- hero ---------- */
.hero {
  padding: 84px 20px 72px;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(201,161,90,0.14), transparent 70%),
    var(--ink);
}
.hero .kicker,
.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 auto 22px;
  max-width: 14ch;
}
.hero h1 em { color: var(--brass); font-style: normal; }
.hero .sub {
  color: var(--bone-dim);
  max-width: 48ch;
  margin: 0 auto 30px;
}
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 10px 20px;
  margin-bottom: 34px;
  font-size: 0.95rem;
  color: var(--bone);
  background: rgba(201,161,90,0.07);
}
.rating-badge .stars { color: var(--brass); letter-spacing: 2px; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--brass);
  color: var(--brass-soft);
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover { background: var(--brass); color: #1a1407; }
.btn.solid { background: var(--brass); color: #1a1407; font-weight: 600; }
.btn.solid:hover { background: var(--brass-soft); color: #1a1407; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-head {
  text-align: center;
  margin-bottom: 46px;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.section-head .rule {
  width: 72px; height: 2px;
  background: var(--brass);
  margin: 18px auto 0;
}
.section-head p { color: var(--bone-dim); max-width: 56ch; margin: 16px auto 0; }

.alt { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* services grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.card {
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: 34px 28px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.alt .card { background: var(--ink-3); }
.card:hover { transform: translateY(-4px); border-color: var(--brass); }
.card .icon { width: 42px; height: 42px; color: var(--brass); margin-bottom: 18px; }
.card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.card p { color: var(--bone-dim); font-size: 0.98rem; }
.card .price {
  display: inline-block;
  margin-top: 14px;
  color: var(--brass);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 22px;
  text-align: center;
}
.stat .num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  color: var(--brass);
  line-height: 1.1;
}
.stat .lbl {
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-top: 8px;
}

/* review cards */
.quote {
  border-left: 2px solid var(--brass);
  padding: 8px 0 8px 24px;
}
.quote p { font-size: 1.02rem; color: var(--bone); }
.quote .who {
  margin-top: 14px;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.quote .stars { color: var(--brass); letter-spacing: 3px; display: block; margin-bottom: 10px; }

/* hours table */
table.hours {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  border-collapse: collapse;
}
table.hours caption {
  font-family: var(--serif);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
table.hours td, table.hours th {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(241,233,218,0.1);
  text-align: left;
  font-weight: 400;
}
table.hours td:last-child { text-align: right; color: var(--bone-dim); }
table.hours tr.today td, table.hours tr.today th { color: var(--brass); }

/* visit layout */
.visit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 34px;
  align-items: start;
}
.map-frame {
  border: 1px solid var(--line);
  width: 100%;
  height: 360px;
  display: block;
  filter: grayscale(0.4) contrast(1.05);
}
.info-list { list-style: none; }
.info-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(241,233,218,0.1);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.info-list .ic { width: 22px; height: 22px; flex: none; color: var(--brass); margin-top: 3px; }
.info-list strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 4px;
}

/* marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: var(--ink-2);
}
.marquee .track {
  display: flex;
  gap: 48px;
  width: max-content;
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.95rem;
  color: var(--bone-dim);
  white-space: nowrap;
}
.marquee .track span em { color: var(--brass); font-style: normal; padding-right: 48px; }
@media (prefers-reduced-motion: no-preference) {
  .marquee .track { animation: slide 28s linear infinite; }
  .marquee:hover .track { animation-play-state: paused; }
  @keyframes slide { to { transform: translateX(-50%); } }
}

/* CTA band */
.cta-band {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 110%, rgba(201,161,90,0.16), transparent 70%),
    var(--ink-2);
  border-top: 1px solid var(--line);
}
.cta-band h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 3.2rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.cta-band p { color: var(--bone-dim); margin-bottom: 30px; }

/* footer */
footer.site {
  border-top: 1px solid var(--line);
  padding: 40px 20px 110px;
  text-align: center;
  color: var(--bone-dim);
  font-size: 0.9rem;
}
footer.site .foot-brand {
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--bone);
  margin-bottom: 10px;
}
footer.site .credit { margin-top: 14px; font-size: 0.8rem; letter-spacing: 0.08em; }
footer.site .credit a { color: var(--brass); }

/* floating WhatsApp */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* reveal animation — opt-in only when JS is present */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
}
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 420px) {
  .hero { padding: 56px 16px 52px; }
  section { padding: 54px 0; }
}
