/* TGT Barbers - The Gentlemen Times — concept by Beans Digital
   Palette derived from the name "The Gentlemen Times": a vintage gentleman's
   newspaper after dark. Charcoal ink, aged brass, parchment type. */

@view-transition { navigation: auto; }

:root {
  --ink: #121416;
  --ink-2: #1a1d20;
  --ink-3: #23272b;
  --parchment: #ede5d5;
  --parchment-dim: #b6ad9a;
  --brass: #c9a257;
  --brass-deep: #9a7836;
  --rule: rgba(237, 229, 213, 0.18);
  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Archivo", "Helvetica Neue", sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--parchment);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--parchment);
  line-height: 1.08;
  font-weight: 700;
}
h1 { font-size: clamp(2.6rem, 8vw, 5.2rem); }
h2 { font-size: clamp(1.8rem, 5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

a { color: var(--brass); }

.wrap { width: min(1080px, 100% - 2.5rem); margin-inline: auto; }

.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ---- Concept banner ---- */
.concept-banner {
  background: var(--brass);
  color: #15120a;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.5rem 1rem;
}
.concept-banner a { color: #15120a; }

/* ---- Masthead header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 20, 22, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 3px double var(--rule);
  view-transition-name: site-header;
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  view-transition-name: site-logo;
}
.logo .mark {
  width: 44px; height: 44px;
  border: 1.5px solid var(--brass);
  color: var(--brass);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}
.logo .word {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--parchment);
  letter-spacing: 0.02em;
}
.logo .word small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--brass);
}

.nav-toggle { display: none; }
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--rule);
  cursor: pointer;
  position: relative;
}
.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px; height: 2px;
  background: var(--parchment);
  transform: translateX(-50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-burger span { top: 21px; }
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.site-nav a {
  text-decoration: none;
  color: var(--parchment-dim);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.4rem 0.1rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-nav a:hover { color: var(--parchment); }
.site-nav a[aria-current="page"] {
  color: var(--brass);
  border-bottom-color: var(--brass);
}
.site-nav .nav-cta a {
  border: 1px solid var(--brass);
  color: var(--brass);
  padding: 0.55rem 1.1rem;
}
.site-nav .nav-cta a:hover { background: var(--brass); color: var(--ink); }

@media (max-width: 860px) {
  .nav-burger { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--ink);
    border-bottom: 3px double var(--rule);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 1.4rem 1.6rem;
    gap: 1rem;
  }
  .nav-toggle:checked ~ .site-nav { max-height: 420px; }
  .nav-toggle:checked ~ .nav-burger span { transform: translateX(-50%) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span::before { transform: rotate(-90deg); top: 0; }
  .nav-toggle:checked ~ .nav-burger span::after { opacity: 0; }
}

/* ---- Hero / front page ---- */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.4rem, 6vw, 4rem);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(201, 162, 87, 0.12), transparent 65%),
    var(--ink);
}
.hero .dateline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 0.55rem 0;
  margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
}
.hero h1 em { font-style: italic; color: var(--brass); }
.hero .lede {
  max-width: 36rem;
  margin-top: 1.4rem;
  font-size: 1.05rem;
  color: var(--parchment-dim);
}
.hero .actions {
  margin-top: 2.2rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.rating-line {
  margin-top: 2.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--parchment-dim);
  border: 1px solid var(--rule);
  padding: 0.5rem 1.1rem;
}
.rating-line .stars { color: var(--brass); letter-spacing: 0.12em; }
.rating-line strong { color: var(--parchment); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--brass); color: #15120a; }
.btn-primary:hover { background: var(--parchment); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--brass); color: var(--brass); }
.btn-ghost:hover { background: rgba(201, 162, 87, 0.12); transform: translateY(-2px); }

/* ---- Marquee strip ---- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 0.8rem 0;
  background: var(--ink-2);
}
.marquee .track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.marquee:hover .track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--parchment-dim);
}
.marquee span::after {
  content: "✦";
  color: var(--brass);
  margin-left: 2.5rem;
  font-style: normal;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee .track { animation: none; }
}

/* ---- Sections ---- */
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section-rule { border-top: 1px solid var(--rule); }
.section-head { max-width: 44rem; margin-bottom: 2.6rem; }
.section-head .kicker { margin-bottom: 0.8rem; }
.section-head p { color: var(--parchment-dim); margin-top: 0.9rem; }

/* ---- Numbered service index (editorial list) ---- */
.svc-index { border-top: 1px solid var(--rule); counter-reset: svc; }
.svc {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1.2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  transition: background 0.25s ease;
}
.svc:hover { background: rgba(201, 162, 87, 0.05); }
.svc::before {
  counter-increment: svc;
  content: "N\00BA " counter(svc);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  padding-top: 0.5rem;
}
.svc h3 { margin-bottom: 0.35rem; }
.svc p { color: var(--parchment-dim); font-size: 0.95rem; max-width: 40rem; }
.svc .tag {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid rgba(201, 162, 87, 0.4);
  padding: 0.25rem 0.7rem;
}

/* ---- Columns (newspaper) ---- */
.col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 2rem;
}
.col-grid .col { border-top: 3px double var(--rule); padding-top: 1.2rem; }
.col-grid h3 { margin-bottom: 0.5rem; }
.col-grid p { color: var(--parchment-dim); font-size: 0.95rem; }
.dropcap::first-letter {
  font-family: var(--font-display);
  font-size: 3.2em;
  float: left;
  line-height: 0.8;
  padding: 0.08em 0.12em 0 0;
  color: var(--brass);
}

/* ---- Stats band ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stats .stat {
  padding: 1.8rem 1rem;
  text-align: center;
  border-right: 1px solid var(--rule);
}
.stats .stat:last-child { border-right: none; }
@media (max-width: 760px) {
  .stats .stat { border-right: none; border-bottom: 1px solid var(--rule); }
  .stats .stat:last-child { border-bottom: none; }
}
.stats .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 900;
  color: var(--brass);
  display: block;
}
.stats .lbl {
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--parchment-dim);
}

/* ---- Review clippings ---- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.4rem;
}
blockquote.review {
  background: var(--ink-2);
  border: 1px solid var(--rule);
  border-top: 3px double var(--brass-deep);
  padding: 1.7rem 1.5rem;
  font-size: 0.96rem;
  color: var(--parchment-dim);
}
blockquote.review p { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--parchment); }
blockquote.review footer {
  margin-top: 1.1rem;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ---- Hours & contact ---- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 2.2rem;
  align-items: start;
}
table.hours {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--rule);
}
table.hours caption {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-align: left;
  padding-bottom: 0.7rem;
}
table.hours th, table.hours td {
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
  text-align: left;
  border-top: 1px solid var(--rule);
}
table.hours th { color: var(--parchment); font-weight: 500; }
table.hours td { color: var(--parchment-dim); }

.map-frame {
  border: 1px solid var(--rule);
  width: 100%;
  height: 340px;
  display: block;
  filter: grayscale(0.55) contrast(1.05);
}

.contact-lines { list-style: none; display: grid; gap: 0.9rem; margin-top: 1.2rem; }
.contact-lines li { display: flex; gap: 0.8rem; align-items: baseline; font-size: 0.96rem; }
.contact-lines .k {
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass);
  min-width: 92px;
}

/* ---- CTA ---- */
.cta-strip {
  text-align: center;
  border: 1px solid var(--rule);
  outline: 1px solid var(--rule);
  outline-offset: 6px;
  padding: clamp(2.4rem, 6vw, 4rem) 1.4rem;
  background: var(--ink-2);
}
.cta-strip p { color: var(--parchment-dim); max-width: 32rem; margin: 0.9rem auto 1.8rem; }

/* ---- Footer ---- */
.site-footer {
  border-top: 3px double var(--rule);
  padding: 3rem 0 2rem;
  margin-top: clamp(3rem, 8vw, 5rem);
  font-size: 0.9rem;
  color: var(--parchment-dim);
}
.site-footer .cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1.8rem;
}
.site-footer h3 { font-size: 1.05rem; margin-bottom: 0.7rem; }
.site-footer a { color: var(--brass); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; display: grid; gap: 0.4rem; }
.site-footer .legal {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---- Floating WhatsApp ---- */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---- Reveal (JS adds .js to <html>) ---- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js [data-reveal].visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
