/* White's Barber & Style Shop – demo stylesheet (mobile-first, no frameworks). Bright Americana. */
@font-face { font-family: "Alfa Slab One"; src: url("../fonts/alfa-slab-one-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-var.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }

:root {
  --red: #B3202A; --red-dark: #921820;
  --navy: #1F3A5F; --navy-dark: #162b47;
  --cream: #FBF6EC; --ink: #222222; --gold: #F2C14E; --white: #fff;
  --line: #e7dcc6;
  --radius: 10px;
  --max: 1120px;
  --slab: "Alfa Slab One", Rockwell, "Roboto Slab", Georgia, serif;
  --sans: "Source Sans 3", 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.0625rem; line-height: 1.6; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--slab); font-weight: 400; line-height: 1.15; color: var(--navy); }
h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); margin: 0 0 .5em; }
h3 { font-size: 1.2rem; margin: 0 0 .3em; }
p { margin: 0 0 1em; }
a { color: var(--red); text-underline-offset: 2px; }
a:hover { color: var(--red-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.site-header a:focus-visible, .section--navy a:focus-visible, .site-footer a:focus-visible, .call-bar a:focus-visible, .trust a:focus-visible { outline-color: var(--gold); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }
.section { padding: 3.25rem 0; scroll-margin-top: 110px; }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: #f3f6fa; }
.section--navy h2 { color: var(--white); }
.section-intro { max-width: 40rem; font-size: 1.1rem; }
.small { font-size: .9rem; opacity: .85; }

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

/* Demo strip */
.demo-strip { background: var(--ink); color: #fff; font-size: .8rem; text-align: center; padding: .3rem .75rem; letter-spacing: .02em; }
.demo-strip strong { background: var(--gold); color: var(--ink); padding: .05rem .45rem; border-radius: 4px; margin-right: .45rem; text-transform: uppercase; font-size: .72rem; letter-spacing: .06em; }

/* Stripe (echoes the shop's striped awning) */
.stripe { height: 8px; background: linear-gradient(to bottom, var(--red) 0 33.3%, var(--white) 33.3% 66.6%, var(--red) 66.6%); border-bottom: 3px solid var(--navy); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 1rem; min-height: 64px; padding-top: .5rem; }
.wordmark { display: flex; flex-direction: column; text-decoration: none; color: #fff; line-height: 1; }
.wordmark:hover { color: #fff; }
.wm-name { font-family: var(--slab); font-size: 1.55rem; letter-spacing: .01em; }
.wm-sub { font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: .2rem; }
.main-nav { order: 3; width: 100%; margin-top: .45rem; border-top: 1px solid rgba(255,255,255,.15); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: .25rem; }
.main-nav a { display: block; padding: .45rem .2rem; font-size: .95rem; }
.main-nav a { color: #fff; text-decoration: none; font-weight: 600; }
.main-nav a:hover { color: var(--gold); text-decoration: underline; }
.call-long { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .7rem 1.3rem; border-radius: 6px; border: 2px solid transparent; font-family: var(--sans); font-weight: 700; font-size: 1.05rem; line-height: 1.2; text-decoration: none; cursor: pointer; letter-spacing: .01em; }
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 3px 0 var(--red-dark); }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-navy-outline { border-color: var(--navy); color: var(--navy); background: var(--white); }
.btn-navy-outline:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--cream); color: var(--navy); }
.btn-small { min-height: 44px; padding: .5rem 1rem; font-size: 1rem; }
.btn-wide { width: 100%; }

/* Hero */
.hero { padding: 2rem 0 2.75rem; background:
  radial-gradient(circle at 90% 10%, rgba(242,193,78,.18), transparent 40%), var(--cream); }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: .75rem; }
.eyebrow svg { width: 20px; height: 20px; }
.hero h1 { font-size: clamp(2rem, 7.4vw, 3.4rem); margin: 0 0 .45em; }
.hero .sub { font-size: 1.2rem; max-width: 34rem; }
.hero-ctas { display: flex; flex-direction: column; gap: .75rem; margin: 1.4rem 0 1rem; }
.micro { margin: 0; }
.hero-photo { margin: 0; }
.photo-frame { position: relative; border: 6px solid var(--white); border-radius: var(--radius); box-shadow: 0 0 0 3px var(--navy), 0 14px 30px rgba(31,58,95,.25); background: var(--white); }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 35%; border-radius: 4px; }
.badge { position: absolute; right: -10px; bottom: -14px; width: 92px; height: 92px; border-radius: 50%; background: var(--navy); color: var(--gold); border: 3px solid var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--slab); font-size: 1.35rem; line-height: 1; box-shadow: 0 6px 14px rgba(0,0,0,.2); }
.badge span { font-family: var(--sans); font-weight: 700; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: .2rem; }
.hero-photo figcaption { font-size: .85rem; margin-top: 1.1rem; color: #4d4d4d; }

/* Trust bar */
.trust { background: var(--navy); color: #fff; }
.trust ul { list-style: none; margin: 0; padding: 1.25rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.trust li { display: flex; align-items: center; gap: .6rem; font-size: .95rem; line-height: 1.25; }
.trust strong { display: block; font-weight: 700; }
.trust svg { width: 30px; height: 30px; flex: 0 0 auto; color: #fff; }
.trust .gold { color: var(--gold); }

/* Services + price board */
.services-grid { display: grid; gap: 2rem; align-items: start; }
.icon-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; }
.icon-list li { display: flex; align-items: center; gap: .65rem; font-weight: 600; }
.icon-list svg { width: 30px; height: 30px; color: var(--red); flex: 0 0 auto; background: #fff; border: 2px solid var(--navy); border-radius: 50%; padding: 4px; }
.price-board { background: var(--white); border: 3px solid var(--navy); border-radius: var(--radius); padding: 0 0 1rem; box-shadow: 8px 8px 0 var(--red); }
.board-head { margin: 0; background: var(--navy); color: #fff; font-family: var(--slab); font-size: 1.5rem; text-align: center; padding: .6rem 1rem; letter-spacing: .04em; border-radius: 6px 6px 0 0; }
.menu { list-style: none; margin: 0; padding: .75rem 1.1rem 0; }
.menu li { display: flex; align-items: baseline; gap: .5rem; padding: .55rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.menu .item { font-weight: 600; }
.menu .dots { flex: 1 1 1.5rem; border-bottom: 2px dotted #b9ad97; transform: translateY(-4px); min-width: 1rem; }
.menu .price { margin-left: auto; }
.board-foot a { color: var(--red); font-weight: 700; white-space: nowrap; }
.menu .feature .item, .menu .feature .price { font-family: var(--slab); font-size: 1.4rem; color: var(--red); font-weight: 400; }
.board-foot { margin: .75rem 1.1rem 0; font-size: .92rem; color: #4d4d4d; font-style: italic; }

/* Team */
.team-grid { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.team-card { background: var(--cream); border: 2px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1rem; text-align: center; }
.team-card p { margin: 0; font-size: .98rem; }
.mono { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; align-items: center; justify-content: center; background: var(--red); color: #fff; font-family: var(--slab); font-size: 1.8rem; margin-bottom: .6rem; border: 3px solid #fff; box-shadow: 0 0 0 3px var(--red); }
.mono.navy { background: var(--navy); box-shadow: 0 0 0 3px var(--navy); }

/* Reviews */
.stat-line { font-weight: 700; font-size: 1.15rem; }
.stat-line .stars { color: #b7791f; letter-spacing: .1em; margin-right: .35rem; }
.review-grid { display: grid; gap: 1rem; margin: 1.5rem 0; }
.review { margin: 0; background: var(--white); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.1rem; border-left: 6px solid var(--red); box-shadow: 0 2px 10px rgba(34,34,34,.06); display: flex; flex-direction: column; justify-content: space-between; }
.review:nth-child(even) { border-left-color: var(--navy); }
.review blockquote { margin: 0 0 .9rem; font-size: 1.05rem; }
.review blockquote p { margin: 0; }
.review figcaption { font-weight: 700; font-size: .95rem; color: var(--navy); }
.review figcaption span { font-weight: 400; color: #555; }
.review-links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; font-weight: 600; }

/* Story */
.story-grid { max-width: 780px; }
.section--navy p { font-size: 1.1rem; }
.thanks-line { font-family: var(--slab); color: var(--gold); font-size: 1.3rem !important; }

/* Hours */
.hours-grid { display: grid; gap: 2rem; }
.hours-table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; background: var(--white); border: 2px solid var(--navy); border-radius: var(--radius); overflow: hidden; }
.hours-table caption { text-align: left; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.hours-table th, .hours-table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours-table th { font-weight: 700; white-space: nowrap; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.contact-list li { margin-bottom: .7rem; }
.contact-list strong { display: block; color: var(--navy); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.map-wrap { min-height: 300px; display: flex; }
.map-frame { width: 100%; min-height: 300px; border: 3px solid var(--navy); border-radius: var(--radius); background: #e9e3d6; }

/* Form */
.ask-form { background: var(--cream); border: 2px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.15rem; }
.form-grid { display: grid; gap: 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .3rem; }
.req { color: var(--red); }
input[type="text"], input[type="tel"], input[type="email"], textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 2px solid #a9a090; border-radius: 6px; padding: .7rem .8rem; min-height: 48px; }
input:focus, textarea:focus { border-color: var(--navy); }
textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hint { font-size: .88rem; color: #555; margin: .5rem 0 1rem; }
.form-note { margin: .9rem 0 0; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #e6ecf3; padding: 0 0 calc(2rem + 76px); font-size: .97rem; }
.site-footer .container { padding-top: 2.25rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: 1.25rem; }
.footer-name { font-family: var(--slab); color: #fff; 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 rgba(255,255,255,.18); margin-top: 1.5rem; padding-top: 1.1rem; }
.footer-bottom p { margin: 0 0 .4rem; }
.credit { font-size: .88rem; }

/* 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(--navy); border-top: 3px solid var(--red); }
.call-bar .btn { width: 100%; box-shadow: none; }

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

@media (min-width: 560px) {
  .hero-ctas, .btn-row { flex-direction: row; flex-wrap: wrap; }
  .btn-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; }
}
@media (min-width: 640px) {
  .call-short { display: none; }
  .call-long { display: inline; }
}
@media (min-width: 900px) {
  .main-nav { order: 0; width: auto; margin: 0 0 0 auto; border-top: 0; }
  .main-nav ul { gap: 1.5rem; }
  .main-nav a { padding: .5rem 0; font-size: 1.0625rem; }
  .header-inner { min-height: 76px; gap: 2rem; padding-top: 0; flex-wrap: nowrap; }
  .wm-name { font-size: 1.85rem; }
  .call-bar { display: none; }
  .site-footer { padding-bottom: 2rem; }
  .section { padding: 4.75rem 0; scroll-margin-top: 90px; }
  .hero { padding: 3.75rem 0 4.25rem; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 3.5rem; }
  .photo-frame img { aspect-ratio: 3 / 4; max-height: 520px; }
  .trust ul { grid-template-columns: repeat(4, 1fr); padding: 1.4rem 0; }
  .services-grid { grid-template-columns: 1fr 1.1fr; gap: 3.5rem; }
  .team-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .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; }
}
