/*
  Pineclip — barbershop sample.
  The page is a dark street. The shop content sits in a lit window.
  Edit colors in :root. This file styles only this folder.
*/

:root {
  --street: #101612;
  --cream: #f6f0e4;
  --muted: #d9cbb6;
  --ink: #211910;
  --paper: #f6f0e4;
  --brass: #e6c98a;
  --brass-ink: #1a140c;
  --line: #e2d5c2;
  --focus: #f3ead7;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", "Avenir Next", "Helvetica Neue", system-ui, sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 50% -10%, #24352c, transparent 55%),
    var(--street);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); line-height: 1.12; text-wrap: balance; }
h1 { margin-bottom: 0.4rem; font-size: clamp(2.5rem, 8vw, 4.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }

a { color: var(--brass); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.wrap { width: min(44rem, calc(100% - 1.5rem)); margin-inline: auto; }

.street-head { padding: 1rem 0 0.4rem; }
.util {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}
.brand-row { display: flex; align-items: center; gap: 0.7rem; }
.wordmark { margin: 0; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.95rem; }
.phone { font-weight: 800; white-space: nowrap; }

.pole {
  width: 18px;
  height: 46px;
  border-radius: 999px;
  border: 2px solid var(--brass);
  background: repeating-linear-gradient(
    -35deg,
    #9d341f 0 7px,
    #f4efe6 7px 14px,
    #1d4e89 14px 21px
  );
}

.page-nav { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.7rem 0 0.2rem; }
.page-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.15rem 0.15rem;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.page-nav a:hover { border-bottom-color: var(--brass); }

.window {
  margin: 0.6rem auto 1.2rem;
  background: var(--paper);
  color: var(--ink);
  border: 10px solid #2a2118;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}
.window :focus-visible { outline-color: #1a140c; }
.window a { color: #6e2c22; }

.plaque {
  padding: 1.3rem 1.15rem 0.4rem;
  text-align: center;
}
.kicker {
  margin: 0 0 0.35rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  color: #6e2c22;
}
.tag { color: #4a4036; max-width: 34rem; margin-inline: auto; }

.chair-art { width: min(16rem, 70%); margin: 0.4rem auto 0; display: block; }

.inner { padding: 0.4rem 1.15rem 1.3rem; }

.board {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.6rem;
}
.board th, .board td {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.board td { text-align: right; font-variant-numeric: tabular-nums; font-weight: 800; }
.note { color: #4a4036; font-size: 0.98rem; }

.times { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.6rem 0 0; padding: 0; list-style: none; }
.times a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.35rem 0.75rem;
  background: var(--brass-ink);
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
}
.times a:hover { background: #3a2e22; }

.hours { margin: 0 0 0.8rem; padding: 0; list-style: none; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}

.map { overflow: hidden; border: 1px solid var(--line); }
.map svg { display: block; width: 100%; height: auto; }
.map p { margin: 0; padding: 0.75rem 0.85rem 0.9rem; }

.demo-notice {
  margin-top: 1rem;
  padding: 0.95rem;
  background: var(--brass-ink);
  color: var(--cream);
}
.demo-notice h2 { color: var(--brass); font-size: 1.35rem; }
.demo-notice a { color: var(--brass); }
.demo-notice p { color: var(--cream); }

.site-foot { padding: 0 0 2rem; color: var(--muted); }
.site-foot a { color: var(--brass); }
.site-foot p { max-width: 42rem; }

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