/* HI-TECH Barber Shop — "Precision HUD" concept */
:root {
  --surface: #05070A;
  --ink: #E6F1FF;
  --brand: #00E5FF;
  --steel: #6B7A90;
  --panel: #1A2230;
  --cta: #FF2E63;
  --cta-ink: #05070A;
  --muted: #A3B1C6;
  --hair: rgb(107 122 144 / .38);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --disp: "Oxanium", "Eurostile", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --monof: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 400 1rem/1.6 var(--sans); color: var(--ink); overflow-x: hidden;
  background-color: var(--surface);
  background-image: linear-gradient(rgb(0 229 255 / .045) 1px, transparent 1px), linear-gradient(90deg, rgb(0 229 255 / .045) 1px, transparent 1px), radial-gradient(ellipse 80% 50% at 70% 0%, rgb(0 229 255 / .07), transparent 70%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--disp); font-weight: 700; line-height: 1; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.mono { font-family: var(--monof); font-weight: 400; letter-spacing: .04em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: var(--surface); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }
.kick { font-size: .8125rem; color: var(--brand); text-transform: uppercase; }
.lbl { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }
.tag { display: inline-block; padding: 1px 8px; border: 1px solid var(--brand); color: var(--brand); font: 400 .75rem/1.7 var(--monof); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: 0 1.4em; font: 600 .9375rem/1 var(--disp); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); transition: transform .35s var(--ease), filter .35s var(--ease); }
.btn-cta { background: var(--cta); color: var(--cta-ink); }
.btn-cta:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-line { background: rgb(0 229 255 / .08); color: var(--ink); box-shadow: inset 0 0 0 1px var(--brand); }
.btn-line:hover { background: rgb(0 229 255 / .16); }
.btn-wide { width: 100%; }

/* panels with corner brackets */
.panel { position: relative; background: rgb(26 34 48 / .78); border: 1px solid var(--hair); }
.panel::before { content: ""; position: absolute; inset: -1px; pointer-events: none; z-index: 3;
  background:
    linear-gradient(var(--brand), var(--brand)) top left / 18px 2px no-repeat,
    linear-gradient(var(--brand), var(--brand)) top left / 2px 18px no-repeat,
    linear-gradient(var(--brand), var(--brand)) top right / 18px 2px no-repeat,
    linear-gradient(var(--brand), var(--brand)) top right / 2px 18px no-repeat,
    linear-gradient(var(--brand), var(--brand)) bottom left / 18px 2px no-repeat,
    linear-gradient(var(--brand), var(--brand)) bottom left / 2px 18px no-repeat,
    linear-gradient(var(--brand), var(--brand)) bottom right / 18px 2px no-repeat,
    linear-gradient(var(--brand), var(--brand)) bottom right / 2px 18px no-repeat; }
.bento { display: grid; gap: 12px; }

/* header */
.top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: rgb(5 7 10 / .94); border-bottom: 1px solid var(--hair); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.25rem/1 var(--disp); letter-spacing: .06em; }
.brand small { display: block; margin-top: 3px; font: 400 .75rem var(--monof); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.brand-mark { width: 36px; height: 36px; fill: none; stroke: var(--brand); stroke-width: 2.4; }
.brand-mark .bm-in { stroke: var(--ink); }
.menu-btn { min-height: 44px; padding: 0 14px; border: 1px solid var(--hair); background: transparent; color: var(--ink); font: 400 .875rem var(--monof); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
nav { display: none; }
html.menu-open nav { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; padding: 8px 16px 16px; background: var(--surface); border-bottom: 1px solid var(--hair); }
nav a { display: flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; font: 600 1.125rem var(--disp); letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--hair); }
nav a span { font: 400 .75rem var(--monof); color: var(--brand); }
@media (min-width: 1000px) {
  .menu-btn { display: none; }
  nav, html.menu-open nav { display: flex; flex-direction: row; align-items: center; position: static; padding: 0; background: none; border: 0; gap: 2px; }
  nav a { min-height: 44px; padding: 0 12px; border: 0; font-size: .9375rem; gap: 6px; }
  nav a:hover { color: var(--brand); }
  nav .nav-call { margin-left: 8px; padding: 0 16px; border: 1px solid var(--brand); font-family: var(--monof); font-weight: 400; }
  .top { padding: 12px 28px; }
}

/* hero bento */
.hero { max-width: 1320px; margin: 0 auto; padding: 16px; }
.p-title { padding: 26px 20px 24px; }
.hero h1 { margin: 14px 0 16px; }
.h-hi { display: block; font-size: clamp(3.6rem, 19vw, 8.6rem); font-weight: 800; letter-spacing: -.02em; line-height: .9; color: var(--ink); text-shadow: 0 0 34px rgb(0 229 255 / .35); }
.h-bs { display: block; font: 400 clamp(1.1rem, 4.6vw, 1.6rem)/1.2 var(--monof); letter-spacing: .32em; text-transform: uppercase; color: var(--brand); margin-top: 8px; }
.lede { color: var(--muted); max-width: 44ch; font-size: 1.0625rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.p-cam { overflow: hidden; min-height: 340px; }
.p-cam picture, .p-cam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-cam img { filter: grayscale(.35) contrast(1.08) brightness(.9); }
.p-cam::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(5 7 10 / .45), transparent 30%, transparent 70%, rgb(5 7 10 / .6)), repeating-linear-gradient(180deg, rgb(5 7 10 / .18) 0 1px, transparent 1px 3px); mix-blend-mode: normal; }
.scan { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 0 82%, rgb(0 229 255 / .16) 96%, rgb(0 229 255 / .9) 99.4%, transparent 100%); transform: translateY(-100%); }
html.js .scan { animation: sweep 4.2s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes sweep { 0% { transform: translateY(-100%); } 70%, 100% { transform: translateY(0); } }
.cam-ui { position: absolute; inset: 0; z-index: 2; }
.cam-ui p { position: absolute; font-size: .75rem; color: var(--ink); text-shadow: 0 1px 2px #000; padding: 4px 8px; background: rgb(5 7 10 / .55); }
.cam-tl { left: 14px; top: 14px; } .cam-tl::before { content: "● "; color: var(--cta); }
.cam-tr { right: 14px; top: 14px; color: var(--brand) !important; }
.cam-bl { left: 14px; bottom: 14px; }
.cam-br { right: 14px; bottom: 14px; color: var(--brand) !important; }
.reticle { position: absolute; left: 50%; top: 48%; width: 92px; height: 92px; transform: translate(-50%, -50%); border: 1px solid rgb(0 229 255 / .7); border-radius: 50%; }
.reticle::before, .reticle::after { content: ""; position: absolute; background: var(--brand); }
.reticle::before { left: 50%; top: -14px; bottom: -14px; width: 1px; }
.reticle::after { top: 50%; left: -14px; right: -14px; height: 1px; }
html.js .reticle { animation: lock 2.4s var(--ease) both .4s; }
@keyframes lock { 0% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; } 60% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.p-loc { padding: 18px 20px; display: grid; gap: 8px; align-content: start; }
.loc { font-size: .9375rem; color: var(--ink); line-height: 1.5; }
.link { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand); text-decoration: none; font-size: .875rem; }
.p-ticker { overflow: hidden; padding: 14px 0; }
.ticker { display: flex; width: max-content; font: 400 .875rem var(--monof); letter-spacing: .14em; color: var(--brand); white-space: nowrap; }
.ticker span { padding-right: 0; }
html.js .ticker { animation: tick 38s linear infinite; }
@keyframes tick { to { transform: translateX(-50%); } }
html.js .p-title, html.js .p-cam, html.js .p-loc, html.js .p-ticker { animation: boot .9s var(--ease) both; }
html.js .p-cam { animation-delay: .12s; } html.js .p-loc { animation-delay: .24s; } html.js .p-ticker { animation-delay: .32s; }
@keyframes boot { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@media (min-width: 1000px) {
  .hero { grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto auto; padding: 24px 28px; gap: 14px; }
  .p-title { grid-column: 1; grid-row: 1 / span 2; padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
  .p-cam { grid-column: 2; grid-row: 1 / span 3; min-height: 560px; }
  .p-loc { grid-column: 1; grid-row: 3; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; }
  .p-ticker { grid-column: 1 / -1; grid-row: 4; }
}

/* sections */
.sec { max-width: 1320px; margin: 0 auto; padding: 64px 16px; }
.sec-head { margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(2.4rem, 10vw, 4.6rem); margin: 12px 0 12px; }
.sec-sub { color: var(--muted); max-width: 58ch; }
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 100ms); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (min-width: 768px) { .sec { padding: 96px 28px; } }

/* calibrator */
.cal-viz { padding: 18px; }
.viz { display: grid; grid-template-columns: 1fr 64px; gap: 16px; align-items: stretch; margin-top: 10px; }
.head { width: 100%; height: 100%; max-height: 460px; align-self: center; }
.neck, .ear { fill: rgb(107 122 144 / .18); stroke: var(--steel); stroke-width: 1.2; }
.skull { fill: rgb(5 7 10 / .9); }
.outline { fill: none; stroke: var(--brand); stroke-width: 1.4; }
.fline { stroke: var(--cta); stroke-width: 1.2; stroke-dasharray: 4 4; }
.fadebar { position: relative; border: 1px solid var(--hair); background: rgb(5 7 10 / .5); }
.fb-fill { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 229 255 / var(--bo)) 0%, rgb(0 229 255 / .9) var(--fl), rgb(0 229 255 / .9) 100%); }
.fb-mark { position: absolute; left: -6px; right: -6px; bottom: var(--fl); height: 2px; background: var(--cta); box-shadow: 0 0 10px var(--cta); }
.tick { position: absolute; left: 50%; transform: translateX(-50%); font: 400 .75rem var(--monof); color: var(--surface); background: var(--brand); padding: 0 4px; letter-spacing: .06em; }
.t1 { top: 8px; } .t2 { top: 46%; } .t3 { bottom: 8px; color: var(--ink); background: var(--panel); }
.cal-ctrl { padding: 20px 18px 22px; display: grid; gap: 22px; align-content: start; }
.ctl-row { display: flex; justify-content: space-between; align-items: baseline; }
.big { font-size: 2.6rem; color: var(--brand); line-height: 1; }
input[type=range] { font-size: 16px; -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 8px 0 2px; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; background: linear-gradient(90deg, var(--brand), var(--steel)); }
input[type=range]::-moz-range-track { height: 6px; background: linear-gradient(90deg, var(--brand), var(--steel)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; background: var(--surface); border: 2px solid var(--brand); transform: rotate(45deg); box-shadow: 0 0 14px rgb(0 229 255 / .6); }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; background: var(--surface); border: 2px solid var(--brand); border-radius: 0; transform: rotate(45deg); }
.scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); }
.sub { margin-top: 8px; font-size: .875rem; color: var(--ink); }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--hair); margin-top: 10px; }
.seg button { min-height: 48px; border: 0; border-right: 1px solid var(--hair); background: transparent; color: var(--ink); font: 600 .9375rem var(--disp); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background-color .25s, color .25s; }
.seg button:last-child { border-right: 0; }
.seg button:hover { background: rgb(0 229 255 / .08); }
.seg button[aria-pressed="true"] { background: var(--brand); color: var(--surface); }
.readout { margin: 0; border-top: 1px solid var(--hair); }
.readout div { display: grid; grid-template-columns: 6.5em 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--hair); font-size: .875rem; }
.readout dt { color: var(--muted); letter-spacing: .14em; }
.readout dd { margin: 0; color: var(--ink); }
.readout small { color: var(--muted); font-size: .75rem; }
.cal.flash .cal-viz::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 0 85%, rgb(0 229 255 / .25) 98%, transparent); animation: flash .7s var(--ease) both; }
@keyframes flash { from { transform: translateY(-100%); opacity: 1; } to { transform: translateY(0); opacity: 0; } }
.cal-viz { overflow: hidden; display: flex; flex-direction: column; }
.viz { flex: 1; min-height: 300px; }
@media (min-width: 900px) { .cal { grid-template-columns: 1fr 1fr; } .cal-viz, .cal-ctrl { padding: 28px; } }

/* service index */
.spec { padding: 6px 4px; overflow-x: auto; }
.spec table { width: 100%; border-collapse: collapse; }
.spec th { text-align: left; font: 400 .75rem var(--monof); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 14px 10px; border-bottom: 1px solid var(--brand); }
.spec td { padding: 14px 10px; border-bottom: 1px solid var(--hair); vertical-align: top; font-size: 1.0625rem; }
.spec td small { display: block; font-size: .875rem; color: var(--muted); }
.spec td.mono { font-size: .9375rem; white-space: nowrap; }
.spec td:first-child { color: var(--brand); }
.spec td:last-child, .spec th:last-child { text-align: right; }
.spec tbody tr { transition: background-color .25s; }
.spec tbody tr:hover { background: rgb(0 229 255 / .06); }
@media (max-width: 420px) { .spec th:first-child, .spec td:first-child { display: none; } .spec td, .spec th { padding-left: 8px; padding-right: 8px; } }

/* scans gallery */
.gal { grid-template-columns: 1fr 1fr; }
.shot { margin: 0; overflow: hidden; cursor: zoom-in; }
.shot img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.4) contrast(1.05); transition: filter .6s var(--ease), transform .9s var(--ease); }
.shot:hover img { filter: none; transform: scale(1.04); }
.shot figcaption { position: absolute; left: 10px; bottom: 10px; z-index: 2; font-size: .75rem; padding: 4px 8px; background: rgb(5 7 10 / .75); color: var(--brand); }
.g1 { grid-column: span 2; }
.g1 img { aspect-ratio: 4 / 3; }
.sweep { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, transparent 0 90%, rgb(0 229 255 / .35) 98%, var(--brand) 99.5%, transparent); transform: translateY(-101%); }
html.js .shot[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
html.js .shot[data-reveal].is-in { clip-path: inset(0 0 0 0); }
html.js .shot[data-reveal].is-in .sweep { animation: sweepOnce 1.1s var(--ease) both; animation-delay: calc(var(--i, 0) * 120ms); }
@keyframes sweepOnce { from { transform: translateY(-100%); } to { transform: translateY(0); opacity: 0; } }
@media (min-width: 1000px) {
  .gal { grid-template-columns: repeat(4, 1fr); grid-template-rows: 300px 300px; }
  .g1 { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .g1 img, .shot img { aspect-ratio: auto; }
}

/* booking */
.book-wrap { position: relative; padding: 28px 0 0; }
.book-bg { position: absolute; inset: 0 -16px; z-index: -1; overflow: hidden; opacity: .3; }
.book-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) blur(2px); }
.book-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--surface), rgb(5 7 10 / .6) 40%, var(--surface)); }
.book-wrap { isolation: isolate; }
.bform { display: grid; gap: 18px; padding: 24px 18px; max-width: 820px; }
.field { display: grid; gap: 6px; }
.field label, .chips legend { font-size: .8125rem; letter-spacing: .14em; color: var(--muted); }
.field small { font-size: 1em; letter-spacing: .02em; text-transform: none; }
.field-row { display: grid; gap: 18px; }
input:not([type=range]):not([type=radio]), select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--hair); border-radius: 0; background: rgb(5 7 10 / .7); color: var(--ink); font: 400 1rem/1.4 var(--sans); }
input::placeholder { color: #8796AC; }
input:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgb(0 229 255 / .2); }
.chips { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--hair); }
.chips legend { padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.chips label { position: relative; border-right: 1px solid var(--hair); }
.chips label:last-of-type { border-right: 0; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: flex; align-items: center; justify-content: center; min-height: 48px; font: 600 .875rem var(--disp); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background-color .25s, color .25s; }
.chips input:checked + span { background: var(--brand); color: var(--surface); }
.chips input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: -4px; }
.confirm { padding: 12px 14px; border: 1px solid var(--brand); color: var(--brand); font-size: .875rem; background: rgb(0 229 255 / .06); }
@media (min-width: 768px) { .bform { padding: 34px 34px 30px; } .field-row { grid-template-columns: 1fr 1fr; } .book-bg { inset: 0 -28px; } }

/* locate */
.loc-grid > .panel { padding: 22px 20px; }
.addr { font: 600 1.5rem/1.25 var(--disp); margin: 8px 0 18px; }
.tel { display: inline-flex; align-items: center; min-height: 44px; font: 400 1.375rem var(--monof); color: var(--brand); text-decoration: none; margin-bottom: 14px; }
.hours { margin: 10px 0 0; }
.hours div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--hair); font-size: .9375rem; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; }
.note { margin-top: 10px; color: var(--muted); }
@media (min-width: 900px) { .loc-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

/* footer */
.foot { border-top: 1px solid var(--hair); padding: 36px 16px 32px; }
.foot > * { max-width: 1320px; margin-left: auto; margin-right: auto; }
.foot-id { font-size: .8125rem; color: var(--muted); margin-bottom: 18px; }
.foot-id a { color: var(--brand); display: inline-flex; align-items: center; min-height: 44px; }
.pv-note { color: var(--muted); font-size: 13px; max-width: 86ch; }
.pv-note a, .photo-credits a { color: var(--ink); }
.photo-credits { margin-top: 18px; font-size: .875rem; color: var(--muted); }
.photo-credits summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); font-weight: 600; }
.photo-credits ul { padding-left: 18px; margin: 8px 0; }
@media (min-width: 768px) { .foot { padding: 48px 28px; } }

/* sticky action bar */
.actionbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .actionbar { display: grid; grid-template-columns: 1fr 1.7fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 12px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); background: rgb(5 7 10 / .96); border-top: 1px solid var(--brand); }
  .actionbar a { display: flex; align-items: center; justify-content: center; min-height: 52px; font: 600 .9375rem var(--disp); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
  .ab-call { background: rgb(0 229 255 / .1); box-shadow: inset 0 0 0 1px var(--brand); }
  .ab-main { background: var(--cta); color: var(--cta-ink); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
  html.js .shot[data-reveal] { clip-path: none !important; }
  .scan, .sweep { display: none; }
  .ticker { flex-wrap: wrap; width: auto; white-space: normal; }
  .ticker span + span { display: none; }
}
