/* BRIAUNA - barberių studija (INDEXAS pavyzdinė svetainė)
   Plain CSS, mobile-first. No frameworks. */

@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-700-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-700-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url(fonts/barlow-condensed-800-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url(fonts/barlow-condensed-800-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(fonts/barlow-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(fonts/barlow-400-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(fonts/barlow-500-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(fonts/barlow-500-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(fonts/barlow-600-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(fonts/barlow-600-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #0e0f0f;
  --coal: #161818;
  --coal-2: #1d2020;
  --line: #2b2f2f;
  --bone: #ece6da;
  --smoke: #a3a29b;
  --blue: #3d5cf5;
  --blue-hi: #5674ff;
  --blue-txt: #8ea3ff;
  --red: #e2483b;
  --warm: #ffb36b;

  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --gut: 16px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hh: 100svh;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font: 400 1rem/1.55 var(--body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue-txt); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--bone); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--body); text-decoration: none; letter-spacing: .01em;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), color .2s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -12px rgba(61, 92, 245, .8); }
.btn--blue:hover { background: var(--blue-hi); }
.btn--ghost { background: rgba(236, 230, 218, .08); border-color: rgba(236, 230, 218, .22); color: var(--bone); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(236, 230, 218, .16); }
.btn--line { border-color: var(--line); color: var(--bone); background: transparent; }
.btn--line:hover { border-color: var(--smoke); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: .9375rem; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn--full { width: 100%; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 12px;
  padding: 12px var(--gut); padding-top: max(12px, env(safe-area-inset-top));
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.top.is-solid { background: rgba(14, 15, 15, .82); border-color: rgba(43, 47, 47, .7); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 800 1.5rem/1 var(--display); letter-spacing: .06em; margin-right: auto; }
.logo__mark { width: 22px; height: 22px; stroke-width: 2.6; }
.logo__mark path:last-child { stroke: var(--blue-hi); }
.top__nav { display: none; }
.top__cta { display: none; }
.top__burger {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(236, 230, 218, .22);
  background: rgba(14, 15, 15, .4); display: grid; place-content: center; gap: 6px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.top__burger i { display: block; width: 18px; height: 2px; background: var(--bone); border-radius: 2px; transition: transform .3s var(--ease); }
.top__burger[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.top__burger[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
.top__nav.is-open {
  display: flex; flex-direction: column; position: fixed; inset: 68px 12px auto; padding: 10px;
  background: rgba(22, 24, 24, .96); border: 1px solid var(--line); border-radius: var(--r);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: drop .25s var(--ease);
}
.top__nav.is-open a { padding: 14px 16px; border-radius: 12px; text-decoration: none; font: 700 1.5rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.top__nav.is-open a:hover { background: var(--coal-2); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: max(640px, var(--hh)); overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 96px var(--gut) 28px;
}
/* one 16:9 box that always covers the hero; on phones it is shifted so the
   barber + bulb (left third of the frame) sit in view. The glow is pinned to
   the bulb in box coordinates, so it lines up at every size. */
.hero__media {
  position: absolute; left: 50%; top: 0; z-index: -3;
  aspect-ratio: 16 / 9;
  width: max(100%, calc(max(640px, var(--hh)) * 16 / 9));
  transform: translateX(calc(var(--fx, .5) * -100%));
  --fx: .33; --lamp-x: 26.4%; --lamp-y: 22.7%;
}
.hero__media picture, .hero__media img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-playing { opacity: 1; }
/* warm glow pinned to the bulb, driven by app.js flicker */
.hero__media::after {
  content: ""; position: absolute; left: var(--lamp-x); top: var(--lamp-y);
  width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 179, 107, .34), rgba(255, 140, 60, .08) 45%, transparent 72%);
  mix-blend-mode: screen; opacity: var(--glow, .85); pointer-events: none;
}
.hero__fx { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero__fx::before { /* vignette + bottom fade into page */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 40% 30%, transparent 40%, rgba(0, 0, 0, .55) 100%),
    linear-gradient(to bottom, rgba(14, 15, 15, .55) 0%, transparent 18%, transparent 38%, rgba(14, 15, 15, .82) 66%, var(--ink) 100%);
}
.flicker { position: absolute; inset: 0; background: #000; opacity: var(--dim, 0); }
.grain {
  position: absolute; inset: -50%; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.hero__bars { display: none; }

.hero__inner { position: relative; max-width: var(--wrap); width: 100%; margin: 0 auto; }
.hero__kicker {
  margin: 0 0 6px; font: 600 .8125rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--smoke);
  display: flex; align-items: center; gap: 10px;
}
.hero__kicker::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--red) 0 33%, var(--bone) 33% 66%, var(--blue-hi) 66%); }
.hero__title { margin: 0; }
.hero__name {
  display: block; font: 800 clamp(5.25rem, 27vw, 17rem)/.8 var(--display); letter-spacing: -.01em;
  margin-left: -.04em; text-shadow: 0 8px 60px rgba(0, 0, 0, .5);
}
.hero__promise { display: block; margin-top: 14px; font: 700 clamp(1.5rem, 6.2vw, 2.5rem)/1.02 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.hero__lead { margin: 12px 0 0; max-width: 34ch; color: #cfcac0; font-size: 1.0625rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero__actions .btn--blue { flex: 1 1 auto; }
.hero__chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px;
  background: rgba(22, 24, 24, .6); border: 1px solid rgba(236, 230, 218, .14); font-size: .875rem; color: #d8d3c9;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero__chips svg { width: 16px; height: 16px; color: var(--blue-txt); }

/* floating "next free slot" panel (glass card) */
.slot {
  position: relative; margin: 18px auto 0; width: 100%; max-width: var(--wrap);
  padding: 16px 18px; border-radius: var(--r);
  background: rgba(22, 24, 24, .62); border: 1px solid rgba(236, 230, 218, .14);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "head head" "time btn" "who btn"; column-gap: 12px; align-items: center;
}
.slot__head { grid-area: head; display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--smoke); margin-bottom: 4px; }
.slot__dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.slot__time { grid-area: time; margin: 0; font: 800 1.625rem/1 var(--display); text-transform: uppercase; white-space: nowrap; }
.slot__who { grid-area: who; margin: 2px 0 0; font-size: .9375rem; color: #cfcac0; }
.slot__btn {
  grid-area: btn; display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--bone); color: var(--ink); font-weight: 600; font-size: .9375rem;
}
.slot__btn svg { width: 18px; height: 18px; }
.slot__btn:hover { background: #fff; }
.hero__scroll { display: none; }

/* ---------- floating tools ---------- */
.tools { position: relative; height: 0; z-index: 0; pointer-events: none; }
/* tools live behind section content (cards are opaque), peeking out at the edges */
.sec > .wrap { position: relative; z-index: 1; }
.tool {
  position: absolute; pointer-events: none; z-index: 0;
  mix-blend-mode: lighten; user-select: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6));
  will-change: transform; transform: translate3d(0, var(--ty, 0px), 0) rotate(var(--r, 0deg));
  opacity: .5;
}
@media (min-width: 761px) { .tool { opacity: .9; } }
.tool--clipper { width: 150px; right: -34px; top: 36px; }
.tool--razor   { width: 150px; left: -40px; top: 40px; }
.tool--scissors{ width: 220px; right: -60px; bottom: -40px; }
.tool--brush   { width: 150px; left: -36px; bottom: 60px; }

/* ---------- sections ---------- */
.sec { position: relative; padding: 84px 0; }
.sec__head { margin-bottom: 32px; }
.eyebrow { margin: 0 0 14px; display: flex; align-items: center; gap: 10px; font: 600 .8125rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--smoke); }
.pole { width: 26px; height: 2px; background: linear-gradient(90deg, var(--red) 0 33%, var(--bone) 33% 66%, var(--blue-hi) 66%); }
.sec__title { margin: 0; font: 800 clamp(2.75rem, 12vw, 5.75rem)/.88 var(--display); text-transform: uppercase; letter-spacing: -.005em; }
.sec__lead { margin: 16px 0 0; max-width: 46ch; color: var(--smoke); font-size: 1.0625rem; }

/* services */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1) 20px; padding: 0 var(--gut); }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--coal); color: var(--bone); font-weight: 600; font-size: .9375rem; transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--smoke); }
.chip.is-on { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.svc {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: start;
  padding: 18px 18px 18px 20px; border-radius: var(--r); background: var(--coal); border: 1px solid var(--line);
  transition: border-color .25s, transform .25s var(--ease), background .25s;
}
.svc:hover { border-color: #3b4040; }
.svc[hidden] { display: none; }
.svc__name { margin: 0; font: 700 1.5rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.svc__desc { grid-column: 1; margin: 2px 0 0; color: var(--smoke); font-size: .9375rem; max-width: 42ch; }
.svc__meta { grid-column: 1; margin-top: 10px; display: flex; align-items: center; gap: 8px; font-size: .875rem; color: #cfcac0; }
.svc__meta svg { width: 16px; height: 16px; color: var(--blue-txt); }
.svc__price { grid-row: 1 / span 2; grid-column: 2; margin: 0; font: 800 2.25rem/1 var(--display); text-align: right; }
.svc__price small { font-size: .55em; font-weight: 700; margin-left: 2px; }
.svc__book {
  grid-column: 2; grid-row: 3; align-self: end; justify-self: end;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; text-decoration: none;
  border: 1px solid var(--line); transition: background .2s, border-color .2s;
}
.svc__book svg { width: 18px; height: 18px; }
.svc__book:hover { background: var(--blue); border-color: var(--blue); }
.svc--hot { background: var(--blue); border-color: var(--blue); }
.svc--hot .svc__desc, .svc--hot .svc__meta { color: rgba(255, 255, 255, .86); }
.svc--hot .svc__meta svg { color: #fff; }
.svc--hot .svc__book { border-color: rgba(255, 255, 255, .4); }
.svc--hot .svc__book:hover { background: #fff; color: var(--blue); }
.svc__tag { position: absolute; top: -10px; left: 18px; padding: 4px 10px; border-radius: 999px; background: var(--bone); color: var(--ink); font: 700 .75rem/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; }

/* barbers */
.team { display: grid; gap: 16px; }
.barber { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--coal); border: 1px solid var(--line); }
.barber__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--coal-2); }
.barber__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.barber:hover .barber__img img { transform: scale(1.04); }
.barber__img::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, var(--coal)); }
.barber__free {
  position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; background: rgba(14, 15, 15, .62); border: 1px solid rgba(236, 230, 218, .16);
  font-size: .8125rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.barber__free i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }
.barber__body { position: relative; margin-top: -64px; padding: 0 20px 20px; }
.barber__name { margin: 0; font: 800 3rem/.9 var(--display); text-transform: uppercase; }
.barber__role { margin: 6px 0 0; color: var(--blue-txt); font-weight: 600; font-size: .9375rem; }
.barber__bio { margin: 12px 0 0; color: var(--smoke); font-size: .9375rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 14px 0 18px; }
.tags li { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: .8125rem; color: #d8d3c9; }

/* work gallery */
.work { overflow: hidden; }
.work__band {
  position: absolute; top: 40px; left: 0; right: 0; z-index: -1; white-space: nowrap; pointer-events: none;
  font: 800 clamp(6rem, 26vw, 20rem)/1 var(--display); color: transparent; -webkit-text-stroke: 1px #252929;
}
.work__band span { display: inline-block; animation: band 40s linear infinite; }
@keyframes band { to { transform: translateX(-50%); } }
.work__nav { display: none; align-items: center; gap: 14px; }
.work__count { font: 700 1.125rem/1 var(--display); color: var(--smoke); letter-spacing: .05em; }
.work__count b { color: var(--bone); font-size: 1.75rem; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--coal); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.round svg { width: 20px; height: 20px; }
.round:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.work__track {
  position: relative; z-index: 1; list-style: none; margin: 0; padding: 4px var(--gut) 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.work__track::-webkit-scrollbar { display: none; }
.shot { scroll-snap-align: center; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--coal); aspect-ratio: 3 / 4; border: 1px solid var(--line); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.9); }
.shot:hover img { transform: scale(1.05); filter: none; }
.shot figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px; background: rgba(14, 15, 15, .62); border: 1px solid rgba(236, 230, 218, .14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-weight: 600; font-size: .9375rem;
}
.shot figcaption span { color: var(--smoke); font-weight: 500; font-size: .8125rem; }

/* booking */
.book { background: linear-gradient(180deg, var(--ink), #111313 30%, #111313 70%, var(--ink)); }
.book__grid { display: grid; gap: 28px; }
.summary { margin: 26px 0 16px; padding: 18px 20px; border-radius: var(--r); background: var(--coal); border: 1px solid var(--line); }
.summary__label { margin: 0 0 10px; font: 700 1rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--smoke); }
.summary dl { margin: 0; display: grid; gap: 8px; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; }
.summary dt { color: var(--smoke); }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary__total { margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.summary__total b { font: 800 2.25rem/1 var(--display); }

.form, .demo-msg { padding: 20px; border-radius: var(--r-lg); background: var(--coal); border: 1px solid var(--line); }
.step { border: 0; margin: 0 0 22px; padding: 0 0 22px; border-bottom: 1px solid var(--line); min-width: 0; }
.step--last { border-bottom: 0; padding-bottom: 0; }
.step legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 12px; font: 700 1.25rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.step__n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--coal-2); border: 1px solid var(--line); font: 700 .8125rem/1 var(--body); }
.select { position: relative; }
.select select, .field input {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--ink); color: var(--bone); font-size: 1rem; appearance: none; -webkit-appearance: none;
  transition: border-color .2s;
}
.select select { padding-right: 44px; }
.select svg { position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); pointer-events: none; color: var(--smoke); }
.select select:focus, .field input:focus { border-color: var(--blue-hi); outline: none; box-shadow: 0 0 0 3px rgba(86, 116, 255, .25); }
.pills, .days, .times { display: flex; flex-wrap: wrap; gap: 8px; }
.days { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px; }
.days::-webkit-scrollbar { display: none; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span {
  display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--ink); font-weight: 600; font-size: .9375rem; transition: background .2s, border-color .2s, color .2s;
}
.opt img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; margin-left: -8px; }
.opt input:checked + span { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.opt input:focus-visible + span { outline: 2px solid var(--blue-txt); outline-offset: 2px; }
.opt input:disabled + span { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.day span { flex-direction: column; justify-content: center; gap: 2px; width: 64px; min-height: 68px; padding: 0; border-radius: 16px; line-height: 1; }
.day b { font: 800 1.5rem/1 var(--display); }
.day small { font-size: .75rem; color: var(--smoke); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.day input:checked + span small { color: #4a4a46; }
.time span { min-width: 76px; justify-content: center; font-variant-numeric: tabular-nums; }
.times__empty { margin: 0; color: var(--smoke); font-size: .9375rem; }
.field { margin-top: 12px; }
.field:first-of-type { margin-top: 0; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9375rem; }
.field input::placeholder { color: #6c6c66; }
.field__err { margin: 6px 0 0; color: #ff8a80; font-size: .875rem; }
.is-err input { border-color: #ff8a80; }
.form__note { margin: 12px 0 0; text-align: center; font-size: .8125rem; color: var(--smoke); }
.demo-msg { text-align: center; }
.demo-msg > svg { width: 52px; height: 52px; margin: 6px auto 12px; color: #4ade80; }
.demo-msg__title { margin: 0 0 8px; font: 800 1.75rem/1 var(--display); text-transform: uppercase; }
.demo-msg p { color: var(--smoke); }
.demo-msg__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }

/* studio + location */
.studio { padding-top: 0; }
.studio__photo { margin: 0 0 -80px; position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.studio__photo img { width: 100%; height: 115%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.studio__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--ink), transparent 22%, transparent 55%, var(--ink)); }
.studio__grid { position: relative; display: grid; gap: 28px; }
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts svg { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--coal); border: 1px solid var(--line); color: var(--blue-txt); }
.facts b { display: block; font-weight: 600; }
.facts span { color: var(--smoke); font-size: .9375rem; }
.hours { margin-top: 26px; padding: 18px 20px; border-radius: var(--r); background: var(--coal); border: 1px solid var(--line); }
.hours__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.hours__title { margin: 0; font: 700 1.25rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.badge { margin: 0; padding: 5px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 600; background: rgba(74, 222, 128, .12); color: #86efac; }
.badge.is-closed { background: rgba(226, 72, 59, .14); color: #ff9b91; }
.hours ul { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid #222525; font-size: .9375rem; color: var(--smoke); font-variant-numeric: tabular-nums; }
.hours li.is-today { color: var(--bone); font-weight: 600; }
.hours li.is-today span:first-child::after { content: " · šiandien"; color: var(--blue-txt); font-weight: 500; }
.map { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--coal); }
.map__art { width: 100%; height: auto; aspect-ratio: 4 / 3; stroke: none; }
@media (min-width: 1081px) { .map__art { aspect-ratio: 4 / 5; } }
.map__bar { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(14, 15, 15, .72); border: 1px solid rgba(236, 230, 218, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-weight: 600; }

/* faq */
.faq__grid { display: grid; gap: 8px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font: 700 1.375rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary i { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); transition: background .2s, transform .3s var(--ease); }
.faq__list summary i::before, .faq__list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq__list summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq__list details[open] summary i { background: var(--bone); color: var(--ink); }
.faq__list details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq__list p { margin: -6px 0 20px; color: var(--smoke); max-width: 60ch; }

/* contact */
.contact { padding-bottom: 120px; }
.contact__title { margin: 0 0 28px; font: 800 clamp(3.25rem, 15vw, 9rem)/.86 var(--display); text-transform: uppercase; }
.contact__row { display: grid; gap: 10px; }
.ccard {
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "ico k" "ico v"; column-gap: 14px; align-items: center;
  padding: 18px 20px; border-radius: var(--r); background: var(--coal); border: 1px solid var(--line); text-decoration: none;
  transition: border-color .2s, background .2s, transform .25s var(--ease);
}
.ccard:hover { border-color: var(--blue-hi); transform: translateY(-2px); }
.ccard svg { grid-area: ico; width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--ink); border: 1px solid var(--line); color: var(--blue-txt); }
.ccard__k { grid-area: k; font-size: .8125rem; color: var(--smoke); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.ccard__v { grid-area: v; font: 700 1.5rem/1.1 var(--display); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 22px 0 110px; font-size: .875rem; color: var(--smoke); }
.foot__row { display: flex; flex-direction: column; gap: 10px; }
.foot__by { text-decoration: none; color: var(--bone); }
.foot__by:hover { color: var(--blue-txt); }

/* mobile dock */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 8px;
  padding: 10px var(--gut); padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: rgba(14, 15, 15, .86); border-top: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.dock.is-on { transform: none; }
.dock__call { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--coal); }
.dock__call svg { width: 22px; height: 22px; }
.dock__book { flex: 1; --h: 52px; }
.dock__book span { font-weight: 500; opacity: .85; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 88px; z-index: 60; transform: translate(-50%, 10px); opacity: 0;
  width: min(92vw, 440px); padding: 14px 18px; border-radius: 14px; background: var(--bone); color: var(--ink);
  font-weight: 500; font-size: .9375rem; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6);
  transition: opacity .25s, transform .25s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-in] { opacity: 0; transform: translateY(18px); }
.js .is-ready [data-in] { animation: rise .9s var(--ease) forwards; }
.js .is-ready [data-in]:nth-child(2) { animation-delay: .08s; }
.js .is-ready .hero__lead { animation-delay: .18s; }
.js .is-ready .hero__actions { animation-delay: .26s; }
.js .is-ready .hero__chips { animation-delay: .34s; }
.js .is-ready .slot { animation-delay: .5s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- tablet ---------- */
@media (min-width: 761px) {
  :root { --gut: 32px; }
  .hero { padding-bottom: 40px; }
  .hero__media { --fx: .5; }
  .hero__fx::before {
    background:
      radial-gradient(110% 90% at 35% 35%, transparent 45%, rgba(0, 0, 0, .6) 100%),
      linear-gradient(to bottom, rgba(14, 15, 15, .5), transparent 16%, transparent 50%, rgba(14, 15, 15, .85) 82%, var(--ink)),
      linear-gradient(to left, rgba(14, 15, 15, .7), transparent 45%);
  }
  .hero__inner { display: grid; grid-template-columns: 1fr minmax(300px, 380px); grid-template-areas: "kick kick" "name name" "promise side"; column-gap: 40px; align-items: end; }
  .hero__kicker { grid-area: kick; }
  .hero__title { display: contents; }
  .hero__name { grid-area: name; font-size: clamp(8rem, 24vw, 22rem); }
  .hero__promise { grid-area: promise; font-size: clamp(2rem, 4.2vw, 3.5rem); align-self: start; margin-top: 18px; }
  .hero__lead, .hero__actions, .hero__chips { grid-column: 2; }
  .hero__lead { grid-row: 3; margin-top: 18px; align-self: start; }
  .hero__actions { grid-row: 4; }
  .hero__chips { grid-row: 5; }
  .hero__actions .btn--blue { flex: 0 0 auto; }
  .slot { position: absolute; right: var(--gut); top: 104px; margin: 0; width: 300px; grid-template-columns: 1fr; grid-template-areas: "head" "time" "who" "btn"; }
  .slot__btn { margin-top: 14px; justify-content: space-between; }
  .slot__time { font-size: 2.5rem; }
  .menu { grid-template-columns: 1fr 1fr; gap: 12px; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .barber__name { font-size: 2.75rem; }
  .work__track { grid-auto-columns: 40%; padding: 4px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))) 8px; scroll-padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); gap: 16px; }
  .shot { scroll-snap-align: start; }
  .work__nav { display: flex; }
  .sec__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
  .sec__head--row .sec__lead { margin: 0; }
  .contact__row { grid-template-columns: repeat(3, 1fr); }
  .tool--clipper { width: 240px; right: 3%; top: 70px; }
  .tool--razor { width: 210px; left: -20px; top: 60px; }
  .tool--scissors { width: 320px; right: 1%; bottom: -60px; }
  .tool--brush { width: 220px; left: 1%; bottom: 40px; }
  .studio__photo { aspect-ratio: 21 / 9; margin-bottom: -140px; }
}

/* ---------- desktop ---------- */
@media (min-width: 1081px) {
  .top { padding: 16px 32px; }
  .top__nav { display: flex; gap: 4px; margin-right: 12px; }
  .top__nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .9375rem; color: #d8d3c9; transition: background .2s, color .2s; }
  .top__nav a:hover, .top__nav a.is-here { background: rgba(236, 230, 218, .1); color: var(--bone); }
  .top__cta { display: inline-flex; }
  .top__burger { display: none; }
  /* letterbox bars: thin cinema frame that opens on scroll */
  .hero__bars { display: block; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
  .hero__bars::before, .hero__bars::after { content: ""; position: absolute; left: 0; right: 0; height: calc(var(--bar, 1) * 5vh); background: #000; transition: height .2s linear; }
  .hero__bars::before { top: 0; }
  .hero__bars::after { bottom: 0; }
  .hero__scroll { display: block; position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 1.5px solid rgba(236, 230, 218, .4); border-radius: 14px; transform: translateX(-50%); }
  .hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 2px; background: var(--bone); transform: translateX(-50%); animation: wheel 1.8s var(--ease) infinite; }
  @keyframes wheel { 60% { transform: translate(-50%, 12px); opacity: 0; } 61% { transform: translate(-50%, 0); opacity: 0; } }
  .sec { padding: 130px 0; }
  .sec__head { margin-bottom: 48px; }
  .svc { padding: 24px 24px 22px 26px; }
  .svc__name { font-size: 1.75rem; }
  .book__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
  .book__intro { position: sticky; top: 100px; }
  .form, .demo-msg { padding: 32px; }
  .days { margin: 0; padding: 2px 0; flex-wrap: wrap; }
  .studio__grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .map { position: sticky; top: 100px; }
  .faq__grid { grid-template-columns: 4fr 7fr; gap: 56px; }
  .foot { padding-bottom: 28px; }
  .foot__row { flex-direction: row; justify-content: space-between; }
  .dock { display: none; }
  .toast { bottom: 28px; }
  .contact { padding-bottom: 130px; }
}

@media (min-width: 1081px) and (hover: hover) {
  .svc:hover { transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal], .js [data-in] { opacity: 1; transform: none; }
  .grain { display: none; }
}
