/* Crown & Blade Barbershop theme. Loads after styles.css. Dark shop, cream text, red accent, chrome pole. */
@font-face{font-family:"Alfa Slab One";font-style:normal;font-weight:400;font-display:block;src:url("../assets/fonts/alfa-slab-one-400.woff2") format("woff2")}
@font-face{font-family:"Oswald";font-style:normal;font-weight:500;font-display:block;src:url("../assets/fonts/oswald-500.woff2") format("woff2")}
@font-face{font-family:"Oswald";font-style:normal;font-weight:600;font-display:block;src:url("../assets/fonts/oswald-600.woff2") format("woff2")}

:root{
  --bg:#0e0f12;
  --panel:#16181d;
  --panel-2:#1f2229;
  --line:rgba(255,255,255,.1);
  --text:#f4f1ea;
  --muted:#9aa0a6;
  --accent:#c8102e;
  --accent-2:#9c0b23;
  --on-accent:#ffffff;
  --good:#3cb371;
  --good-2:#2e8b57;
  --bad:#e5484d;
  --warn:#e0a020;
  --cream:#f4f1ea;
  --navy:#1f3c88;
  --chrome-1:#ffffff;
  --chrome-2:#c9ccd1;
  --chrome-3:#6d7178;
  --chrome-4:#2b2e33;
  --radius:12px;
  --head-font:"Oswald","Arial Narrow",Arial,sans-serif;
  --head-weight:600;
  --head-transform:uppercase;
  --head-spacing:.06em;
}
/* A solid colour under the gradient: on iPhone Chrome the visible area can be taller than the page box for a moment when the
   toolbar slides away, and anything the gradient does not cover would show white. No fixed attachment, iOS ignores it anyway. */
html{background:var(--bg)}
body{background:radial-gradient(ellipse at 50% 0%,#1c1f26 0%,var(--bg) 60%) no-repeat var(--bg)}
/* subtle pinstripe wall behind everything */
body::before{content:"";position:fixed;inset:0;pointer-events:none;background:repeating-linear-gradient(90deg,rgba(255,255,255,.018) 0 2px,transparent 2px 14px);z-index:0}
.home-wrap,.page{position:relative;z-index:1}

/* ---------- Home: the Menu Board ----------
   A numbered price board list beside the pole. On a phone the pole runs down the left and the six rows stack next
   to it; from 700px the pole stands in the middle with three rows each side. */
.home-wrap{max-width:1040px;padding-left:16px;padding-right:16px}
.home-top{gap:2px;padding-top:4px}
.home-logo{width:46px;height:46px;border:0;background:none}
.brand{font-family:"Alfa Slab One","Rockwell Extra Bold",Georgia,serif;font-weight:400;font-size:clamp(1.7rem,8vw,3.5rem);color:var(--cream);letter-spacing:.01em;text-shadow:0 3px 0 #5a0a18,0 6px 18px rgba(0,0,0,.8)}
.tagline{font-family:var(--head-font);font-weight:500;text-transform:uppercase;letter-spacing:.32em;font-size:clamp(.62rem,2.6vw,.8rem);color:var(--accent);margin-top:4px}

.home-main{display:grid;grid-template-columns:48px 1fr;gap:0 16px;width:100%;padding:8px 0 6px;align-items:stretch;position:relative}
.pole{grid-column:1;grid-row:1;position:relative;z-index:3;display:flex;flex-direction:column;align-items:center;justify-self:center;width:52px}
.tiles{grid-column:2;grid-row:1;display:flex;flex-direction:column;justify-content:space-evenly}

/* the pole */
.pole .cap{width:52px;height:20px;border-radius:50%;flex:0 0 auto;z-index:2;position:relative;
  background:radial-gradient(ellipse at 38% 30%,var(--chrome-1) 0%,var(--chrome-2) 30%,var(--chrome-3) 62%,var(--chrome-4) 100%);
  box-shadow:0 3px 6px rgba(0,0,0,.7),inset 0 -2px 3px rgba(0,0,0,.35)}
.pole .cap.top{margin-bottom:-9px}
.pole .cap.bottom{margin-top:-9px;z-index:0;background:radial-gradient(ellipse at 38% 70%,var(--chrome-1) 0%,var(--chrome-2) 30%,var(--chrome-3) 62%,var(--chrome-4) 100%)}
.pole .tube{position:relative;z-index:1;flex:1 1 auto;width:40px;min-height:200px;border-radius:20px;overflow:hidden;background:var(--cream);
  box-shadow:0 0 30px rgba(200,16,46,.35),0 0 70px rgba(31,60,136,.22),0 12px 26px rgba(0,0,0,.75)}
/* stripes: red, cream, navy, cream on a 60 degree slant. One cycle along the gradient is 96px, and at 60 degrees the
   same cycle measured straight down is exactly twice that (cos 60 = 1/2), so sliding the layer 192px is a whole number
   of cycles and the loop point cannot show. The layer reaches 420px past the tube so the slide never uncovers it. */
.pole .stripes{position:absolute;left:0;right:0;top:-420px;bottom:-420px;
  background:repeating-linear-gradient(-60deg,var(--accent) 0 24px,var(--cream) 24px 48px,var(--navy) 48px 72px,var(--cream) 72px 96px);
  animation:poleSpin 1.9s linear infinite;will-change:transform}
@keyframes poleSpin{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,192px,0)}}
.pole .shade{position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(0,0,0,.6) 0%,rgba(0,0,0,.2) 18%,rgba(255,255,255,.28) 34%,rgba(255,255,255,.06) 50%,rgba(0,0,0,.18) 72%,rgba(0,0,0,.62) 100%)}
.pole .glass{position:absolute;left:14%;top:6%;width:14%;height:88%;border-radius:999px;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,.12) 40%,rgba(255,255,255,.4) 90%);filter:blur(1px);opacity:.75}
@media(prefers-reduced-motion:reduce){.pole .stripes{animation-duration:12s}}

/* the rows */
.tile{flex-direction:row;align-items:center;justify-content:flex-start;gap:14px;padding:9px 0;min-height:0;background:none;border:0;border-radius:0;border-bottom:1px solid rgba(232,196,120,.22);box-shadow:none;position:relative;overflow:visible}
.tile:last-child{border-bottom:0}
.tile .icon-wrap{position:relative;width:62px;height:54px;flex:0 0 auto;display:flex;align-items:center;justify-content:center}
.tile img.custom{height:52px;width:auto;max-width:62px;max-height:54px;object-fit:contain;filter:drop-shadow(0 6px 8px rgba(0,0,0,.8));transition:transform .28s cubic-bezier(.34,1.56,.64,1),filter .28s ease}
.tile .txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.tile .num{font-family:var(--head-font);font-weight:500;font-size:.62rem;letter-spacing:.3em;color:#e8c478}
.tile .lbl{font-family:var(--head-font);font-weight:600;text-transform:uppercase;letter-spacing:.06em;font-size:1.25rem;line-height:1;color:var(--cream);text-shadow:none;margin:0;padding:0;width:auto;text-align:left}
.tile .sub{font-family:var(--body-font);font-size:.72rem;color:var(--muted);line-height:1.2}
@media(hover:hover){.tile:hover img.custom{transform:translateY(-3px) scale(1.08);filter:drop-shadow(0 0 10px rgba(200,16,46,.8)) drop-shadow(0 8px 8px rgba(0,0,0,.9))}.tile:hover .lbl{color:#ffd54a}}
.tile:active img.custom{transform:scale(1.05)}
.tile:active .lbl{color:#ffd54a}
.tile .nbadge{top:-4px;right:-4px;left:auto;bottom:auto;margin:0;box-shadow:0 0 0 2px var(--bg);z-index:2}
.tile[data-key="book"] img.custom{height:62px;max-height:62px}   /* the chair is tall and narrow, give it a little more */

.install-link{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.14);color:var(--cream);font-family:var(--head-font);font-weight:500;text-transform:uppercase;letter-spacing:.1em;font-size:.8rem}
body.home #siteFoot.site-foot{color:var(--muted)}

@media(min-width:700px){
  .home-main{grid-template-columns:1fr 96px 1fr;grid-template-rows:repeat(3,1fr);gap:0 40px;max-width:980px;margin:0 auto;padding:16px 0 10px;flex:1 1 auto}
  .pole{grid-column:2;grid-row:1 / span 3;width:96px}
  .pole .cap{width:96px;height:34px}
  .pole .cap.top{margin-bottom:-16px}.pole .cap.bottom{margin-top:-16px}
  .pole .tube{width:70px;border-radius:35px;min-height:280px}
  .tiles{display:contents}
  .tile:nth-child(odd){grid-column:1}
  .tile:nth-child(even){grid-column:3}
  .tile:nth-child(1),.tile:nth-child(2){grid-row:1}
  .tile:nth-child(3),.tile:nth-child(4){grid-row:2}
  .tile:nth-child(5),.tile:nth-child(6){grid-row:3}
  .tile{padding:18px 0;gap:22px}
  .tile:nth-child(5),.tile:nth-child(6){border-bottom:0}
  .tile .icon-wrap{width:110px;height:92px}
  .tile img.custom{height:88px;max-width:110px;max-height:92px}
  .tile .lbl{font-size:1.9rem}
  .tile .sub{font-size:.9rem}
  .tile .num{font-size:.7rem}
  .tile[data-key="book"] img.custom{height:104px;max-height:104px}
}

/* ---------- Inner pages ---------- */
.site-head{background:linear-gradient(to bottom,var(--bg) 80%,transparent)}
.page-title{color:var(--cream);text-shadow:0 2px 0 rgba(0,0,0,.6)}
.home-btn img{border-color:rgba(200,16,46,.6);box-shadow:0 0 12px rgba(200,16,46,.25)}
.home-btn span,.back-btn span{color:var(--muted);font-family:var(--head-font);letter-spacing:.14em}
.back-btn i{color:var(--cream);border-color:rgba(255,255,255,.14)}
.seg{background:var(--panel);border-color:rgba(255,255,255,.08)}
.seg a{font-family:var(--head-font);font-weight:500;text-transform:uppercase;letter-spacing:.06em}
.seg a.active{background:linear-gradient(180deg,#d8203e,var(--accent-2))}
.seg a.specials{color:#ffd54a}
.seg a.specials.active{background:linear-gradient(180deg,#ffd54a,#e0a020);color:#1a1200}
.btn.primary{background:linear-gradient(180deg,#d8203e,var(--accent-2))}
.chip.active{background:var(--accent)}
.card{background:var(--panel)}
.card .img{background:#0b0c0f}
.card .price{color:#ffd54a;font-family:var(--head-font);font-weight:600;font-size:1.05rem;letter-spacing:.04em}
.card.featured{border-color:rgba(200,16,46,.8);box-shadow:0 0 0 1px rgba(200,16,46,.5) inset,0 0 22px rgba(200,16,46,.2)}
.card.featured .name{color:var(--cream)}
.feat-tag{background:var(--accent);font-family:var(--head-font);letter-spacing:.14em}
.cat-head{color:var(--cream)}
.badge.accent{background:rgba(255,213,74,.14);color:#ffd54a}
.viewer .v-price{color:#ffd54a}
.special{border-color:rgba(255,213,74,.35)}
.special-price{color:#ffd54a}
.post.pinned{border-color:rgba(200,16,46,.7)}
.post h3,.letter{color:var(--cream)}
.letter{color:var(--accent)}
/* hours and booking */
.open-now{background:var(--panel);border-color:rgba(255,255,255,.1);color:var(--cream);letter-spacing:.08em}
.open-now.on{color:#5ad27f;border-color:rgba(60,179,113,.5)}
.hours-list{background:var(--panel);border-color:rgba(255,255,255,.08)}
.hours-list li{border-color:rgba(232,196,120,.16)}
.hours-list .d{font-family:var(--head-font);font-weight:500;text-transform:uppercase;letter-spacing:.08em;color:var(--cream)}
.hours-list .t{color:#ffd54a;font-family:var(--head-font);font-weight:500;letter-spacing:.04em}
.hours-list li.closed .t{color:var(--muted)}
.hours-list li.today{background:rgba(200,16,46,.12)}
.hours-list li.today .d,.hours-list li.today .d::after{color:#ffd54a}
.closures-head{color:var(--muted);font-family:var(--head-font);font-weight:500}
.big-cta{font-family:var(--head-font);font-weight:600;text-transform:uppercase;letter-spacing:.12em;font-size:1.15rem;box-shadow:0 0 30px rgba(200,16,46,.35),0 10px 24px rgba(0,0,0,.6)}
.book-step{color:var(--cream);letter-spacing:.1em}
.step-n{background:#ffd54a;color:#1a1200}
.day-chip{background:var(--panel);border-color:rgba(255,255,255,.1)}
.day-chip .dom{font-family:var(--head-font);font-weight:600}
.day-chip.active{background:linear-gradient(180deg,#d8203e,var(--accent-2));box-shadow:0 0 18px rgba(200,16,46,.45)}
.slot{background:var(--panel);border-color:rgba(255,255,255,.1);font-family:var(--head-font);font-weight:500;letter-spacing:.06em;font-size:1.02rem;color:var(--cream)}
.slot.active{background:linear-gradient(180deg,#d8203e,var(--accent-2));box-shadow:0 0 18px rgba(200,16,46,.45)}
.slot small{color:#ffd54a}
.book-form{background:var(--panel);border-color:rgba(255,255,255,.08)}
.book-done{background:rgba(60,179,113,.1);border-color:rgba(60,179,113,.45)}
.req-time{color:#ffd54a}
.req.confirmed{border-color:rgba(60,179,113,.5)}
.rich h1,.rich h2,.rich h3{color:var(--cream)}
.rich a{color:#ffd54a}
.modal h2{color:var(--cream)}
.toast{background:var(--cream);color:#111}
.gate{background:var(--bg)}
.gate h1{font-family:"Alfa Slab One",Georgia,serif;font-weight:400;color:var(--cream);text-transform:none;letter-spacing:.01em}
.gate img{border-color:rgba(200,16,46,.6);box-shadow:0 0 30px rgba(200,16,46,.3)}
.steps li::before{font-family:var(--head-font)}
.install-note{background:rgba(200,16,46,.08);border-color:rgba(200,16,46,.3)}
