/* Pilcher's Barber Shop – demo stylesheet (mobile-first, no frameworks). Dark heritage, brass accents. */
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("../fonts/libre-franklin-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --jet: #141414; --jet-2: #1d1d1d; --ivory: #F4EFE6; --brass: #C9A66B; --brass-dark: #b08d52; --brass-ink: #7A5C2E;
  --red: #9E1B1B; --red-light: #E0574C; --walnut: #4A3426; --line-dark: rgba(201,166,107,.35); --line: #d9cfbd;
  --max: 1120px; --radius: 4px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 1.04rem; line-height: 1.65; color: #1c1a17; background: var(--ivory); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); margin: 0 0 .6em; }
p { margin: 0 0 1em; }
a { color: var(--walnut); text-underline-offset: 3px; }
a:hover { color: var(--red); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.section--ivory a:focus-visible, .section--ivory input:focus-visible { outline-color: var(--walnut); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }
.section { padding: 3.5rem 0; scroll-margin-top: 90px; }
.section--ivory { background: var(--ivory); }
.section--jet { background: var(--jet); color: var(--ivory); }
.section--jet h2, .section--walnut h2 { color: var(--ivory); }
.section--walnut { background: var(--walnut); color: var(--ivory); }
.section--jet a, .section--walnut a { color: var(--brass); }
.kicker { font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-ink); margin: 0 0 .5rem; display: flex; align-items: center; gap: .75rem; }
.kicker::after { content: ""; height: 1px; width: 56px; background: currentColor; opacity: .6; }
.section--jet .kicker, .section--walnut .kicker { color: var(--brass); }
.lead { font-size: 1.12rem; max-width: 40rem; }
.small { font-size: .88rem; opacity: .85; }

.skip-link { position: absolute; left: .75rem; top: -100px; z-index: 100; background: var(--brass); color: var(--jet); padding: .6rem 1rem; font-weight: 600; }
.skip-link:focus { top: .75rem; }

/* Demo strip */
.demo-strip { background: #000; color: var(--ivory); font-size: .8rem; text-align: center; padding: .3rem .75rem; letter-spacing: .02em; border-bottom: 1px solid var(--line-dark); }
.demo-strip strong { background: var(--brass); color: var(--jet); padding: .05rem .45rem; border-radius: 3px; margin-right: .45rem; text-transform: uppercase; font-size: .72rem; letter-spacing: .08em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--jet); border-bottom: 1px solid var(--line-dark); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 1rem; min-height: 66px; }
.wordmark { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ivory); line-height: 1; padding: .35rem 0; }
.wordmark:hover { color: var(--ivory); }
.wm-name { font-family: var(--serif); font-size: 1.6rem; letter-spacing: .08em; display: inline-flex; align-items: flex-end; }
.pole-i { display: inline-block; width: .3em; height: .74em; margin: 0 .07em .06em; border-radius: 2px; position: relative;
  background: repeating-linear-gradient(-50deg, var(--red-light) 0 4px, var(--ivory) 4px 8px); box-shadow: 0 -3px 0 -1px var(--brass), 0 3px 0 -1px var(--brass); }
.wm-sub { display: inline-flex; align-items: center; gap: .35rem; font-size: .66rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--red-light); margin-top: .3rem; }
.wm-sub svg { width: 13px; height: 13px; color: var(--brass); }
.wm-sub .flip { transform: scaleX(-1); }
.main-nav { order: 3; width: 100%; border-top: 1px solid var(--line-dark); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: .25rem; }
.main-nav a { display: block; padding: .5rem .15rem; color: var(--ivory); text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.main-nav a:hover { color: var(--brass); }
.call-long { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .7rem 1.35rem; border-radius: var(--radius); border: 1px solid transparent; font-family: var(--sans); font-weight: 600; font-size: .98rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; text-decoration: none; cursor: pointer; }
.btn svg { width: 19px; height: 19px; flex: 0 0 auto; }
.btn-brass { background: var(--brass); color: var(--jet) !important; }
.btn-brass:hover { background: #d8b97f; color: var(--jet); }
.btn-ivory-outline { border-color: var(--ivory); color: var(--ivory) !important; background: transparent; }
.btn-ivory-outline:hover { background: rgba(244,239,230,.1); }
.btn-small { min-height: 44px; padding: .5rem 1rem; font-size: .85rem; }
.btn-wide { width: 100%; }

/* Hero */
.hero { position: relative; background: var(--jet); color: var(--ivory); overflow: hidden; isolation: isolate; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 50% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(20,20,20,.78) 0%, rgba(20,20,20,.86) 55%, rgba(20,20,20,.97) 100%); }
.hero-inner { position: relative; z-index: 1; text-align: center; padding-top: 3rem; padding-bottom: 2.5rem; max-width: 860px; }
.eyebrow { display: inline-flex; align-items: center; gap: .9rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); font-size: .82rem; margin: 0 0 1.1rem; }
.eyebrow .rule { width: 42px; height: 1px; background: var(--brass); }
.hero h1 { font-size: clamp(2.1rem, 7.6vw, 3.6rem); margin: 0 0 .5em; color: var(--ivory); }
.hero .sub { font-size: 1.15rem; max-width: 38rem; margin: 0 auto 1rem; color: #e9e2d5; }
.hero-ctas { display: flex; flex-direction: column; gap: .75rem; margin: 1.5rem auto 1.1rem; max-width: 22rem; }
.micro { font-weight: 600; letter-spacing: .06em; margin: 0 0 .5rem; color: var(--ivory); }
.micro span { color: var(--brass); margin: 0 .4rem; }
.open-status { display: inline-block; font-size: .9rem; font-weight: 600; padding: .2rem .7rem; border-radius: 999px; margin: 0 0 1rem; border: 1px solid var(--line-dark); }
.open-status.is-open { color: #bfe3b4; }
.open-status.is-open::before { content: "● "; color: #6fcf5a; }
.open-status.is-closed { color: #f0c9b5; }
.open-status.is-closed::before { content: "● "; color: var(--red-light); }
.open-status--inline { margin: 0 0 0 .5rem; color: var(--jet) !important; background: #fff; border-color: var(--line); font-size: .82rem; vertical-align: middle; }

/* Trust bar */
.trust { background: var(--walnut); color: var(--ivory); border-top: 1px solid var(--brass); border-bottom: 1px solid var(--brass); }
.trust ul { list-style: none; margin: 0; padding: 1.2rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.trust li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; line-height: 1.3; }
.trust strong { display: block; font-family: var(--serif); font-size: 1.05rem; color: #fff; }
.trust svg { width: 26px; height: 26px; color: var(--brass); flex: 0 0 auto; }

/* The Shop */
.shop-grid { display: grid; gap: 2rem; align-items: center; }
.section--ivory h2 { color: var(--jet); }
.shop-photo { margin: 0; }
.shop-photo img { width: 100%; border: 1px solid var(--brass); padding: 6px; background: var(--jet); }

/* Services menu card */
.menu-card { max-width: 760px; margin: 0 auto; border: 1px solid var(--brass); outline: 1px solid var(--brass); outline-offset: 6px; padding: 2rem 1.25rem 1.5rem; text-align: center; background: var(--jet-2); }
.menu-card .kicker { justify-content: center; }
.menu-card .kicker::before { content: ""; height: 1px; width: 56px; background: currentColor; opacity: .6; }
.menu { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.menu li { padding: 1rem 0; border-bottom: 1px solid var(--line-dark); display: flex; flex-direction: column; gap: .2rem; align-items: center; }
.menu li:first-child { border-top: 1px solid var(--line-dark); }
.menu .item { font-family: var(--serif); font-size: 1.35rem; color: var(--ivory); }
.menu .note { font-size: .92rem; color: #cfc6b6; }
.menu-foot p { margin: 0 0 .5rem; }
.menu-foot a { white-space: nowrap; }
.pay-line { color: var(--brass); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; }

/* Reviews */
.stat-line { font-family: var(--serif); font-size: 1.25rem; color: var(--jet); }
.stat-line .stars { color: var(--brass-ink); }
.review-grid { display: grid; gap: 1rem; margin: 1.5rem 0; }
.review { margin: 0; background: #fffdf8; border: 1px solid var(--line); border-top: 3px solid var(--brass); padding: 1.35rem 1.3rem 1.1rem; display: flex; flex-direction: column; justify-content: space-between; }
.review blockquote { margin: 0 0 .9rem; font-size: 1.02rem; }
.review blockquote p { margin: 0; }
.review figcaption { font-weight: 600; font-size: .9rem; letter-spacing: .04em; color: var(--walnut); }
.review figcaption span { font-weight: 400; color: #5a5249; }
.review-links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; font-weight: 600; }

/* Story */
.story { max-width: 820px; }
.story .lead { font-size: 1.15rem; }

/* Hours */
.hours-grid { display: grid; gap: 2rem; }
.cash-notice { display: flex; align-items: center; gap: .75rem; background: var(--jet); color: var(--ivory); border: 1px solid var(--brass); outline: 1px solid var(--brass); outline-offset: 3px; padding: .9rem 1rem; margin: 0 0 1.5rem; }
.cash-notice svg { width: 34px; height: 34px; color: var(--brass); flex: 0 0 auto; }
.cash-notice strong { color: var(--brass); font-family: var(--serif); font-size: 1.15rem; display: block; }
.hours-table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; }
.hours-table caption { text-align: left; font-weight: 600; letter-spacing: .06em; margin-bottom: .5rem; }
.hours-table th, .hours-table td { text-align: left; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 600; }
.hours-table td { text-align: right; }
.walkin { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.walkin svg { width: 26px; height: 26px; color: var(--walnut); flex: 0 0 auto; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.contact-list li { margin-bottom: .65rem; }
.contact-list strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--brass-ink); }
.map-wrap { min-height: 300px; display: flex; }
.map-frame { width: 100%; min-height: 300px; border: 1px solid var(--brass); background: #e4dccd; filter: grayscale(.35); }

/* Form */
.ask-form { border: 1px solid var(--line-dark); padding: 1.4rem 1.15rem; background: var(--jet-2); }
.form-grid { display: grid; gap: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .3rem; letter-spacing: .03em; }
.req { color: var(--red-light); }
input[type="text"], input[type="tel"], input[type="email"], textarea { width: 100%; font: inherit; color: var(--ivory); background: #0d0d0d; border: 1px solid #6d6457; border-radius: var(--radius); padding: .7rem .8rem; min-height: 48px; }
input:focus, textarea:focus { border-color: var(--brass); }
textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hint { font-size: .86rem; color: #cfc6b6; margin: .5rem 0 1rem; }
.form-note { margin: .9rem 0 0; color: #e9e2d5; }

/* Footer */
.site-footer { background: #0b0b0b; color: #d9d2c4; padding: 2.5rem 0 calc(2rem + 76px); font-size: .95rem; border-top: 1px solid var(--brass); }
.site-footer a { color: var(--brass); }
.site-footer a:hover { color: var(--ivory); }
.footer-grid { display: grid; gap: 1.25rem; }
.footer-name { font-family: var(--serif); color: var(--ivory); font-size: 1.15rem; margin-bottom: .35rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 1.5rem; padding-top: 1.1rem; }
.footer-bottom p { margin: 0 0 .4rem; }
.credit { font-size: .86rem; }

/* Mobile call bar */
.call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom)); background: var(--jet); border-top: 1px solid var(--brass); }
.call-bar .btn { width: 100%; }

/* Thank-you */
.thanks { padding: 4rem 0; text-align: center; background: var(--jet); color: var(--ivory); }
.thanks h1 { color: var(--ivory); font-size: clamp(1.9rem, 6vw, 2.7rem); margin: 0 0 .5em; }
.thanks p { max-width: 34rem; margin-left: auto; margin-right: auto; }
.thanks .mark { width: 64px; height: 64px; color: var(--brass); margin: 0 auto 1rem; }
.btn-row { display: flex; flex-direction: column; gap: .75rem; align-items: center; margin: 1.75rem 0; }
.demo-note { font-size: .9rem; color: #cfc6b6; border: 1px solid var(--line-dark); padding: .5rem .9rem; display: table; }

@media (min-width: 560px) {
  .hero-ctas { flex-direction: row; justify-content: center; max-width: none; }
  .btn-row { flex-direction: row; justify-content: center; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
  .btn-wide { width: auto; }
  .menu-card { padding: 2.5rem 2.5rem 2rem; }
}
@media (min-width: 640px) {
  .call-short { display: none; }
  .call-long { display: inline; }
}
@media (min-width: 900px) {
  .main-nav { order: 0; width: auto; margin-left: auto; border-top: 0; }
  .main-nav ul { gap: 1.75rem; }
  .main-nav a { font-size: .9rem; padding: .5rem 0; }
  .header-inner { min-height: 80px; gap: 2.25rem; flex-wrap: nowrap; }
  .wm-name { font-size: 1.9rem; }
  .call-bar { display: none; }
  .site-footer { padding-bottom: 2rem; }
  .section { padding: 5rem 0; }
  .hero-inner { padding-top: 5.5rem; padding-bottom: 4.5rem; }
  .trust ul { grid-template-columns: repeat(4, 1fr); padding: 1.4rem 0; }
  .trust li { justify-content: center; }
  .shop-grid { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; }
  .review-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .review--wide { grid-column: span 3; }
  .hours-grid { grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: stretch; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .ask-form { padding: 2rem; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
