/* Twarbers Barber Shop, Shaftesbury
   Layout idea: the red arched shop sign is the signature shape. Arches frame photos,
   a barber-pole stripe divides sections, black / red / white throughout. */
:root {
  color-scheme: dark;
  --ink: #0b0b0c;
  --coal: #171718;
  --smoke: #262628;
  --red: #d5121e;
  --red-deep: #a30c15;
  --paper: #f5f1ea;
  --bone: #cdc6ba;
  --white: #ffffff;
  --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --body: "Figtree", "Segoe UI", Helvetica, Arial, sans-serif;
  --script: "Caveat Brush", "Segoe Script", cursive;
  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 7.2vw, 5.4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.15; }
p { margin: 0; max-width: 62ch; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 1.1rem; }
.red { color: var(--red); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--bone); }
.eyebrow {
  font-family: var(--display); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--red);
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--white); color: var(--ink); padding: 10px 14px; }
:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.on-paper :focus-visible { outline-color: var(--ink); }

/* Barber pole stripe */
.pole-rule {
  height: 12px;
  background: repeating-linear-gradient(135deg, var(--red) 0 16px, var(--white) 16px 32px);
  background-size: 45.25px 100%;
  animation: pole 2.4s linear infinite;
}
@keyframes pole { to { background-position: 45.25px 0; } }
@media (prefers-reduced-motion: reduce) { .pole-rule, .pole i { animation: none; } html { scroll-behavior: auto; } }

/* Header */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(11,11,12,0.94); border-bottom: 1px solid var(--smoke); }
.head-row { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none;
  background: var(--red); color: var(--white); padding: 12px 20px 5px; border-radius: 60px 60px 0 0; line-height: 1; align-self: flex-end; }
.logo b { font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.03em; }
.logo i { font-family: var(--script); font-style: normal; font-size: 0.82rem; align-self: flex-end; margin-top: -2px; }
.nav { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.7rem); margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--red); }
.nav a.talk-link { color: var(--white); }
.nav a.talk-link::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 7px; vertical-align: 2px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--display); font-weight: 700; font-size: 1rem; text-decoration: none;
  padding: 0.85rem 1.4rem; border-radius: 999px; border: 2px solid var(--red);
  background: var(--red); color: var(--white); cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn.ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn.ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn.white { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn.white:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn.ink { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn.ink:hover { background: var(--red); border-color: var(--red); }
.nav .btn { padding: 0.6rem 1.1rem; border-bottom-width: 2px; }
.nav .btn:hover { border-bottom-color: var(--red-deep); }
.menu-btn { display: none; margin-left: auto; background: none; border: 2px solid var(--smoke); color: var(--white);
  border-radius: 10px; padding: 8px 12px; font: 600 0.95rem var(--body); cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 1px solid var(--smoke);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 18px; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--smoke); font-size: 1.05rem; }
  .nav .btn { margin-top: 14px; padding: 0.85rem 1.1rem; }
}

/* Sections */
section { padding-block: clamp(3.2rem, 8vw, 6rem); }
.on-paper { background: var(--paper); color: var(--ink); color-scheme: light; }
.on-paper .lede { color: #45413a; }
.on-coal { background: var(--coal); }
.on-red { background: var(--red); color: var(--white); }
.on-red .eyebrow { color: var(--white); opacity: 0.85; }
.on-red .lede { color: var(--white); }
.sec-head { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 5vw, 4.5rem); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* Hero with the shopfront arch */
.hero { padding-block: clamp(2.4rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); }
.hero .split { grid-template-columns: 1.15fr 0.85fr; }
@media (max-width: 820px) { .hero .split { grid-template-columns: 1fr; } }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .second { font-family: var(--display); font-weight: 600; font-size: clamp(1.35rem, 2.8vw, 2rem); line-height: 1.15; letter-spacing: -0.01em; }
.front { position: relative; max-width: 440px; width: 100%; margin-inline: auto; }
.front-sign { background: var(--red); color: var(--white); aspect-ratio: 2 / 1; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 7%; line-height: 1; }
.front-sign b { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 9vw, 4.2rem); letter-spacing: -0.04em; }
.front-sign i { font-family: var(--script); font-style: normal; font-size: clamp(1.1rem, 3.4vw, 1.6rem); margin-left: 38%; margin-top: -4px; }
.front-window { border: 10px solid var(--coal); border-top-width: 6px; background: var(--coal); }
.front-window img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.front-ledge { display: flex; justify-content: space-between; background: var(--coal); padding: 4px 12px 12px;
  font-family: var(--display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone); }
.pole { position: absolute; right: -34px; top: 34%; width: 22px; height: 120px; border-radius: 11px; overflow: hidden; border: 2px solid var(--bone); background: var(--white); }
.pole i { display: block; height: 200%; background: repeating-linear-gradient(160deg, var(--red) 0 12px, var(--white) 12px 24px); animation: poleY 3s linear infinite; }
@keyframes poleY { to { transform: translateY(-25.5px); } }
@media (max-width: 560px) { .pole { right: 6px; top: 8%; height: 84px; } }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--smoke); margin-top: clamp(2rem, 5vw, 3.5rem); }
.facts div { padding: 1.3rem 1rem 0 0; display: flex; flex-direction: column; gap: 0.15rem; }
.facts b { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.facts span { color: var(--bone); font-size: 0.92rem; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }

/* Price list */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 5vw, 4rem); }
.prices > * { min-width: 0; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }
.price-group h3 { padding-bottom: 0.7rem; border-bottom: 3px solid var(--ink); margin-top: 1.6rem; }
.price { display: flex; align-items: baseline; gap: 0.8rem; padding: 0.95rem 0; border-bottom: 1px solid rgba(11,11,12,0.16); }
.price .n { font-weight: 600; flex: 1; min-width: 0; }
.price .n small { display: block; font-weight: 400; font-size: 0.88rem; color: #57524a; }
.price .t { font-size: 0.88rem; color: #57524a; white-space: nowrap; }
.price .p { font-family: var(--display); font-weight: 800; font-size: 1.35rem; font-variant-numeric: tabular-nums; color: var(--red); }
.note { font-size: 0.92rem; color: #57524a; }
.on-coal .note, .hero .note { color: var(--bone); }

/* Barber cards */
.crew { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.2rem); }
.crew > * { min-width: 0; }
@media (max-width: 760px) { .crew { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
.barber-card { display: flex; flex-direction: column; text-decoration: none; background: var(--coal); border-radius: 220px 220px 14px 14px; overflow: hidden; }
.barber-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 220px 220px 0 0; transition: transform 0.4s; }
.barber-card:hover img { transform: scale(1.03); }
.barber-card .info { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.3rem; border-top: 5px solid var(--red); }
.barber-card .role { color: var(--bone); font-size: 0.95rem; }
.barber-card .go { margin-top: 0.6rem; font-family: var(--display); font-weight: 700; color: var(--red); }
.on-paper .barber-card { background: var(--white); }
.on-paper .barber-card .role { color: #57524a; }

/* Arch photo */
.arch { border-radius: 999px 999px 0 0; overflow: hidden; background: var(--coal); border-bottom: 8px solid var(--red); max-width: 440px; width: 100%; margin-inline: auto; }
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Lists and tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.tile { background: var(--coal); border-radius: 14px; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; border-top: 5px solid var(--red); }
.tile p { color: var(--bone); font-size: 1rem; }
.on-paper .tile { background: var(--white); }
.on-paper .tile p { color: #45413a; }
.on-red .tile { background: var(--red-deep); border-top-color: var(--white); }
.on-red .tile p { color: var(--white); }
.num { font-family: var(--display); font-weight: 800; font-size: 0.95rem; color: var(--red); letter-spacing: 0.1em; }
.on-red .num { color: var(--white); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.ticks li { padding-left: 1.9rem; position: relative; max-width: 58ch; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 1.05rem; height: 0.5rem; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
.on-red .ticks li::before { border-color: var(--white); }

/* Talk band and page */
.talk-band h2 { font-size: clamp(2.6rem, 8vw, 6rem); }
.big-say { font-family: var(--display); font-weight: 800; font-size: clamp(3.2rem, 12vw, 9rem); line-height: 0.92; letter-spacing: -0.04em; }
.quote-line { font-family: var(--script); font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.1; }
.help { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.help-card { background: var(--white); color: var(--ink); border-radius: 14px; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; border-left: 8px solid var(--red); }
.help-card .who { font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.help-card .how { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2rem); color: var(--red); line-height: 1.1; text-decoration: none; font-variant-numeric: tabular-nums; }
.help-card a.how:hover { text-decoration: underline; }
.help-card p { font-size: 0.98rem; color: #45413a; }
.help-card .site { font-weight: 600; font-size: 0.95rem; }
.urgent { background: var(--ink); color: var(--white); border: 3px solid var(--red); border-radius: 14px; padding: 1.4rem 1.6rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; align-items: center; }
.urgent b { font-family: var(--display); font-size: 1.3rem; }
.urgent p { max-width: 70ch; }

/* Hours */
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 0.8rem 0; border-bottom: 1px solid var(--smoke); vertical-align: top; font-weight: 400; }
.hours th { font-weight: 600; width: 40%; }
.hours td small { display: block; color: var(--bone); font-size: 0.86rem; }
.hours tr.today th, .hours tr.today td { color: var(--white); font-weight: 700; }
.hours tr.today th::after { content: "Today"; margin-left: 10px; font-size: 0.72rem; background: var(--red); color: var(--white); padding: 2px 8px; border-radius: 999px; vertical-align: 2px; letter-spacing: 0.06em; text-transform: uppercase; }
.on-paper .hours th, .on-paper .hours td { border-bottom-color: rgba(11,11,12,0.16); }
.on-paper .hours td small { color: #57524a; }
.on-paper .hours tr.today th, .on-paper .hours tr.today td { color: var(--ink); }
.status { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 0.95rem; padding: 0.45rem 0.95rem; border-radius: 999px; border: 2px solid currentColor; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #8a857c; }
.status.open::before { background: #27c267; }
.status.shut::before { background: var(--red); }
.status:empty { display: none; }
.addr { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.15; font-style: normal; }
.shopfront { border-radius: 14px; overflow: hidden; }
.shopfront figcaption { font-size: 0.88rem; color: var(--bone); padding-top: 0.6rem; }
.on-paper .shopfront figcaption { color: #57524a; }
figure { margin: 0; }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(2.4rem, 6vw, 4.2rem); }
.crumbs { font-size: 0.9rem; color: var(--bone); margin-bottom: 1.2rem; }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--smoke); }
.name-xl { font-size: clamp(3.2rem, 11vw, 8rem); letter-spacing: -0.045em; line-height: 0.9; }
.aka { font-family: var(--script); font-size: clamp(1.5rem, 3.6vw, 2.2rem); color: var(--red); line-height: 1; }
.others { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.others > * { min-width: 0; }
@media (max-width: 560px) { .others { grid-template-columns: 1fr; } }
.other { display: flex; align-items: center; gap: 1rem; text-decoration: none; background: var(--coal); border-radius: 14px; padding: 0.9rem 1.1rem; }
.other img { width: 74px; height: 74px; object-fit: cover; border-radius: 37px 37px 6px 6px; flex: none; }
.other b { font-family: var(--display); font-size: 1.2rem; display: block; }
.other span { color: var(--bone); font-size: 0.92rem; }
.on-paper .other { background: var(--white); }
.on-paper .other span { color: #57524a; }

/* Footer */
.support-strip { background: var(--red); color: var(--white); padding-block: 0.95rem; font-weight: 600; }
.support-strip .wrap { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; align-items: center; justify-content: space-between; }
.support-strip a { font-weight: 700; }
.site-foot { background: var(--ink); padding-block: clamp(2.4rem, 6vw, 4rem) 2rem; border-top: 1px solid var(--smoke); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.foot-grid > * { min-width: 0; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h3 { font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin-bottom: 0.8rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot p, .site-foot li { color: var(--bone); font-size: 0.98rem; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--smoke); font-size: 0.86rem; color: #8a857c; }
