/* ===========================================================================
   styles.css - ONE shared stylesheet for every page of Steve's Barber-Styling.
   Edit the whole site's look here. Tokens live in :root.
   Type scale (literal): 13 / 18 / 22 / 28 / 40 / 60 / 72 px. Spacing on a 4px base.
   Identity: vintage neighborhood barbershop - red / white / navy on warm bone,
   Oswald signage caps + Inter body, a barber-pole stripe as the signature motif.
   =========================================================================== */
:root {
  --bone: #f4f1ea;          /* warm off-white page canvas */
  --panel: #fffdf8;         /* slightly lighter card surface */
  --ink: #16202e;           /* deep navy text (very high contrast on bone) */
  --muted: #4c5663;         /* secondary text (AA on bone) */
  --red: #b3122c;           /* barbershop red - AA as text on bone (~6:1) */
  --red-soft: #e7b3b9;      /* light red for text ON the navy band only */
  --navy: #101a26;          /* dark band background */
  --line: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  --edge: clamp(1.25rem, 5vw, 4rem);
  --font-display: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  /* barber-pole stripe - decorative only, no text ever sits on it */
  --pole: repeating-linear-gradient(135deg,
          #b3122c 0 12px, #f4f1ea 12px 24px, #16202e 24px 36px, #f4f1ea 36px 48px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
img, iframe { max-width: 100%; }

body {
  margin: 0;
  background-color: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---- type: explicit scale -> 13 / 18 / 22 / 28 / 40 / 60 / 72 px ---- */
h1 { font-family: var(--font-display); font-weight: 700; font-size: 2.5rem;
     line-height: 1.04; letter-spacing: 0.01em; text-transform: uppercase;
     margin: 0 0 1rem; color: var(--ink); }
h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.75rem;
     line-height: 1.12; letter-spacing: 0.02em; text-transform: uppercase;
     margin: 0 0 0.75rem; color: var(--ink); }
h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem;
     line-height: 1.2; letter-spacing: 0.02em; text-transform: uppercase;
     margin: 0 0 0.25rem; color: var(--ink); }
p { margin: 0 0 1rem; max-width: 40rem; }
.lede { font-family: var(--font-body); font-size: 1.375rem; line-height: 1.5;
        color: var(--muted); max-width: 34rem; font-weight: 400; }
.kicker { font-family: var(--font-display); text-transform: uppercase;
          letter-spacing: 0.22em; font-size: 0.8125rem; font-weight: 600;
          color: var(--red); margin: 0 0 0.75rem; }
.measure { max-width: 40rem; }

/* ---- links & buttons (hover + focus on everything interactive) ---- */
a { color: var(--red); text-decoration: underline; text-underline-offset: 3px;
    text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--red); outline-offset: 2px;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background-color: var(--ink); color: var(--bone);
              padding: 0.5rem 1rem; z-index: 10; text-decoration: none; }

.btn {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.125rem;
  text-decoration: none; cursor: pointer;
  background-color: var(--red); color: #ffffff;
  border: 2px solid var(--red); border-radius: 2px;
  padding: 0.75rem 1.5rem; transition: transform .12s ease, background-color .12s ease;
}
.btn:hover { transform: translateY(-2px); background-color: var(--ink); border-color: var(--ink); color: #ffffff; }
.btn-ghost { background-color: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background-color: var(--ink); color: #ffffff; border-color: var(--ink); }

/* ---- barber-pole stripe divider (decorative, no text) ---- */
.stripe { height: 10px; background-image: var(--pole); border: none; margin: 0; }

/* ---- header (byte-identical nav across every page) ---- */
.site-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem 1.5rem;
  padding: 1.25rem var(--edge); background-color: var(--bone); border-bottom: var(--line);
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand .chip { width: 22px; height: 36px; border-radius: 11px; background-image: var(--pole);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.55), inset -3px 0 6px rgba(0,0,0,.35); flex: none; }
.brand .wordmark { font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; font-size: 1.375rem; color: var(--ink); line-height: 1; }
.site-head nav ul { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.site-head nav a { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 1.125rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.site-head nav a:hover { color: var(--red); }

main { display: block; }
section { padding: 3rem var(--edge); }

/* ---- masthead: asymmetric, left-aligned (deliberately NOT a centered hero) ---- */
.shopfront { display: grid; grid-template-columns: 3fr 2fr; gap: 3rem; align-items: center; border-bottom: var(--line); }
.shopfront-lead { min-width: 0; }
.shopfront h1 { font-size: 3.75rem; line-height: 0.98; letter-spacing: 0.01em; margin-bottom: 1.5rem; }
.tag { display: inline-block; font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.8125rem; font-weight: 600; color: #ffffff;
  background-color: var(--red); padding: 0.25rem 0.75rem; border-radius: 2px; margin-bottom: 1.5rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }

.shopfront-aside { min-width: 0; }
.pole-stage { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: stretch; }
.pole { width: 48px; border-radius: 24px; background-image: var(--pole); background-size: 100% 200%;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.45), inset -6px 0 12px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.18);
  animation: pole-spin 6s linear infinite; min-height: 230px; }
@keyframes pole-spin { from { background-position: 0 0; } to { background-position: 0 -200%; } }
.facts { margin: 0; align-self: center; }
.facts dt { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.8125rem; font-weight: 600; color: var(--muted); margin-top: 1rem; }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 0.25rem 0 0; font-family: var(--font-display); text-transform: uppercase;
  font-size: 1.375rem; color: var(--ink); line-height: 1.1; }

/* ---- call / walk-in band (dark navy; bg RESTATED on every light-text rule) ---- */
.callbar { background-color: var(--navy); }
.callbar .inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: center; }
.callbar h2 { color: #ffffff; background-color: var(--navy); margin-bottom: 0.5rem; }
.callbar p { color: var(--bone); background-color: var(--navy); max-width: 34rem; margin-bottom: 0; }
.callbar a { color: #ffffff; background-color: var(--navy); text-decoration-color: var(--red-soft); }
.phone-block { background-color: var(--navy); }
.phone-num { font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 2.5rem; line-height: 1; color: #ffffff; background-color: var(--navy);
  letter-spacing: 0.02em; margin: 0 0 0.5rem; }
.phone-note { font-family: var(--font-body); font-size: 0.8125rem; color: var(--red-soft);
  background-color: var(--navy); text-transform: none; letter-spacing: 0; margin: 0 0 1rem; max-width: 26rem; }
.btn-on-dark { background-color: #ffffff; color: var(--navy); border-color: #ffffff; }
.btn-on-dark:hover { background-color: var(--red-soft); border-color: var(--red-soft); color: var(--navy); }

/* ---- generic light section blocks ---- */
.intro { border-bottom: var(--line); }
.block { border-bottom: var(--line); }
.ticks { margin: 0.5rem 0 0; padding-left: 1.25rem; }
.ticks li { margin-bottom: 0.5rem; }

/* ---- service / price menu: rows, not cards. li children are unclassed. ---- */
.note-strip { background-color: color-mix(in srgb, var(--red) 10%, var(--bone));
  border: var(--line); border-left: 3px solid var(--red); padding: 0.75rem 1rem;
  font-size: 1.125rem; color: var(--ink); max-width: 40rem; margin: 0 0 1.5rem; }
.menu { list-style: none; margin: 0; padding: 0; border-top: var(--line); max-width: 52rem; }
.menu li { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 2rem; align-items: baseline;
  padding: 1.5rem 0; border-bottom: var(--line); }
.menu li > div { min-width: 0; }
.menu h3 { margin-bottom: 0.25rem; }
.menu p { color: var(--muted); margin: 0; max-width: 44rem; font-size: 1.125rem; }
.menu .price { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 1.125rem; color: var(--red); white-space: nowrap; }

/* ---- about: asymmetric split ---- */
.story { display: grid; grid-template-columns: 3fr 2fr; gap: 3rem; align-items: start; border-bottom: var(--line); }
.story .col { min-width: 0; }
.story .side { border-left: 3px solid var(--red); padding-left: 1.5rem; }

/* ---- find us: info + map ---- */
.visit { display: grid; grid-template-columns: 3fr 2fr; gap: 3rem; align-items: start; border-bottom: var(--line); }
.info { margin: 0.5rem 0 0; }
.info dt { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.8125rem; font-weight: 600; color: var(--muted); margin-top: 1.25rem; }
.info dt:first-child { margin-top: 0; }
.info dd { margin: 0.25rem 0 0; font-size: 1.125rem; }
.mapframe { width: 100%; border: var(--line); border-radius: 3px; min-height: 340px; display: block; }

/* ---- demo contact form: fields are unclassed <p> styled via parent>child ---- */
.msg-form { display: grid; gap: 1.5rem; max-width: 32rem; margin-top: 1.5rem; }
.msg-form p { margin: 0; display: grid; gap: 0.5rem; max-width: none; }
.msg-form label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 0.8125rem; font-weight: 600; color: var(--ink); }
.form-note { background-color: color-mix(in srgb, var(--red) 10%, var(--bone));
  border: var(--line); border-left: 3px solid var(--red); padding: 0.75rem 1rem;
  font-size: 1.125rem; color: var(--ink); max-width: none; }
input, select, textarea { font: inherit; color: var(--ink); background-color: #ffffff;
  border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent); border-radius: 2px;
  padding: 0.5rem 0.75rem; width: 100%; }
.msg-form button { font: inherit; }

/* ---- footer (light text RESTATES the dark background in-rule) ---- */
.site-foot { background-color: var(--navy); padding: 3rem var(--edge); border-bottom: none; }
.site-foot p { color: var(--bone); background-color: var(--navy); max-width: none; margin: 0 0 0.5rem; }
.foot-mark { font-family: var(--font-display); text-transform: uppercase; font-size: 1.375rem;
  font-weight: 600; color: #ffffff; background-color: var(--navy); }
.foot-contact a { color: var(--red-soft); background-color: var(--navy); }
.foot-fine { color: var(--red-soft); background-color: var(--navy); font-size: 0.8125rem; }

/* ---- responsive ---- */
@media (max-width: 760px) {
  .shopfront, .callbar .inner, .story, .visit { grid-template-columns: 1fr; }
  .shopfront h1 { font-size: 2.5rem; }
  .phone-num { font-size: 2.5rem; }
  section { padding-top: 2rem; padding-bottom: 2rem; }
}
@media (min-width: 1000px) {
  .shopfront h1 { font-size: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
