/* Our own CSS on top of the measured layout (css/layout.css).
   1) Style rules the original injects from its InlineText module (ported 1:1 with our class names).
   2) Accessibility additions that do not change what a pointer user sees. */

/* kirsch-link-press: links in the run-in paragraph dim while pressed */
.kirsch-link-press a { transition: opacity .15s cubic-bezier(.22, 1, .36, 1); }
.kirsch-link-press a:active { opacity: .55; }

/* kirsch-related: show three items until the script has ranked them */
.kirsch-related:not([data-related-ready]) [data-name='Item']:nth-of-type(n+4) { display: none; }

/* kirsch-article: long-form typesetting */
:where(.kirsch-article) ul.tx, :where(.kirsch-article) ol.tx { margin: 18px 0 0 0; padding-left: 1.15em; }
:where(.kirsch-article) li.tx {
  --fx-font-family: "Biz Body", "Schibsted Grotesk Placeholder", sans-serif;
  --fx-font-size: 18px; --fx-line-height: 1.65em; --fx-text-color: var(--token-LA2A35nlB, #2A1913);
  padding-left: .35em;
}
.kirsch-article li.tx { margin-top: 8px; }
.kirsch-article li.tx:first-child { margin-top: 0; }
.kirsch-article li.tx::marker { color: var(--token-zlXvwzGsO, #A3112B); }
.kirsch-article p.tx:last-child:has(> em:only-child) {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--token-bmLchNdkJ, #E2D4CA);
  --fx-font-size: 15px; --fx-line-height: 1.6em; --fx-text-color: var(--token-XyUvQzVgd, #5E4B43);
}
.kirsch-article p.tx, .kirsch-article li.tx { text-wrap: pretty; }
.kirsch-article h2.tx, .kirsch-article h3.tx { text-wrap: balance; }
@media (max-width: 809px) { :where(.kirsch-article) li.tx { --fx-font-size: 17px; } }

/* keyboard focus: visible ring only for keyboard users (pointer users see the original) */
a:focus-visible, button:focus-visible, [data-name="Question Row"]:focus-visible, [data-name^="Chip / "]:focus-visible {
  outline: 2px solid currentColor; outline-offset: 2px;
}

/* reduced motion: final states, no transitions */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ext: css/showcase-barber.css */
/* showcase-barber knobs for the multi-page KIRSCH-HAIR-claude template (round 2, 2026-12-02). Appended to css/site.css.
   Set on <html> by the adapter build.py from data "attrs": data-palette="bottle" data-type="barber" data-header="split"
   (+ the template knobs data-mask="arch" data-menu="drawer" data-buttons="square" data-cards="outlined"). */

/* ---- palette: bottle green, warm paper, brass (same token roles as the template palettes in css/knobs.css) ---- */
html[data-palette="bottle"] body{--token-KVUIE9i9j:#f1ebe1;--token-FLDGxlrsq:#f1ebe1;--token-quOMt_BpJ:#f1ebe1;--token-fEfr2fQiF:#f1ebe1;--token-sAbCrvKCM:#f1ebe1;--token-Mjv1UW8pS:#f1ebe1;--token-xmtEgArwi:#f1ebe1;--token-vM8FY7aQE:#f1ebe1;--token-v4KEQRp1s:#f1ebe1;--token-nkNS8k3pD:#f1ebe1;--token-TTtCel3Vm:#f6f1e8;--token-vwvFxu5OA:#f6f1e8;--token-PF0wfAMCN:#fbf8f2;--token-SbjXZHPiD:#fbf8f2;--token-ZTfphIy7l:#17201b;--token-LA2A35nlB:#17201b;--token-sBmdQAhDA:#17201b;--token-LAGgq5_YE:#17201b;--token-fCIYrgDOj:#17201b;--token-HeS4jzJP_:#17201b;--token-V9P4xoAJU:#17201b;--token-y8mneEIEX:#17201b;--token-XyUvQzVgd:#4d554f;--token-IzvrRN5z3:#4d554f;--token-xWKHLgbmL:#1f3a2e;--token-zlXvwzGsO:#1f3a2e;--token-tcW0EPst8:#1f3a2e;--token-qoQaIxMrB:#1f3a2e;--token-PiuOmCbNc:#1f3a2e;--token-JRRGy7bmk:#142a20;--token-WhdhYvkFq:#142a20;--token-WLZMeTm3V:#dccbb0;--token-UwOLU5FM2:#dccbb0;--token-OxdaZ8HHb:#dccbb0;--token-qAKmVPkY3:#dccbb0;--token-bmLchNdkJ:#d6ccbb;--token-i5PKg78Sb:#d6ccbb;--token-R2tdbPOry:#c4904a;--token-XP8ePsM8i:#c4904a;--token-ztDJS8ZR4:#c4904a;--token-hGhMONhBB:#c4904a;--token-WK4dNGQMn:#c4904a}
/* template colour styles outside the palette roles (pink clay, espresso browns, salmon) mapped to the shop palette */
html[data-palette="bottle"] body{--token-qkEwcIUm5:#e7decf;--token-TXy_Qh7i9:#e7decf;--token-oR7gfIju8:#e7decf;--token-b6qo1olFI:#dccbb0;--token-iVGYH9tyT:#dccbb0;--token-IuMnEbJUm:#d6ccbb;--token-CYuNadmlk:#f6f1e8;--token-U5AYT1eKh:#f6f1e8;--token-XWScY2WsK:#f6f1e8;--token-nD4uELKZq:#fbf8f2;--token-qIDS9VUlw:#fbf8f2;--token-O2_rpWS1K:#c9bba3;--token-CIWbOlrMX:#d8b27a;--token-SDDeYK1u6:#142a20;--token-gmnAhjinF:#121a15;--token-FpOUg42UV:#121a15;--token-GVccTCUbO:#17201b;--token-Lkoi3XuiO:#1b2620;--token-NPOHVO6Zz:#22302a;--token-QWzaI1RvH:#22302a;--token-EqaZQuuwD:#2a3a32;--token-tQBQ4Kx6Q:#2c3b33;--token-KUCdVMHBJ:#1a231e;--token-uAAJeCdw6:#ece5d8}
html[data-palette="bottle"] body{--sb-brass:#c4904a;--sb-brass-soft:#d8b27a;--sb-green:#1f3a2e;--sb-paper:#f1ebe1;--sb-ink:#17201b;--sb-tan:#dccbb0}
html[data-palette="bottle"]{background:#f1ebe1}

/* ---- type: Oswald capitals for display presets, Lora italic for accent words, Manrope text.
   Family names are renamed by the adapter (font_map), so every display preset already uses "Biz Display". ---- */
html[data-type="barber"] :is(.ts-12ne96,.ts-1ndp9n,.ts-1nmmlze,.ts-1off9k8,.ts-1yd1w3,.ts-57bfcg,.ts-9nvg5t,.ts-9ytxgd,.ts-mnt31m,.ts-noemlm,.ts-sbcw83),
html[data-type="barber"] [style*="Biz Display"]:not([style*="italic"]){
  --fx-text-transform:uppercase!important;--fx-letter-spacing:0.005em!important;--fx-font-weight:500!important;--fx-font-size-scale:.86}
html[data-type="barber"] :is(.ts-12ne96,.ts-1ndp9n,.ts-1nmmlze,.ts-1off9k8,.ts-1yd1w3,.ts-57bfcg,.ts-9nvg5t,.ts-9ytxgd,.ts-mnt31m,.ts-noemlm,.ts-sbcw83) :is(em,[style*="italic"]),
html[data-type="barber"] [style*="Biz Display"][style*="italic"], html[data-type="barber"] em.tx{
  --fx-text-transform:none!important;--fx-letter-spacing:0!important;--fx-font-weight:500!important;--fx-font-size-scale:1.02;text-transform:none}
html[data-type="barber"] .ts-mnt31m{--fx-font-size-scale:.84;--fx-letter-spacing:-0.01em!important;--fx-font-weight:600!important}

/* ---- arch mask: extra targets beyond the template knob ---- */
html[data-mask="arch"] :is([data-name="Portrait"],[data-name="Hero Image"],[data-name="Photo Block"],[data-name="Photos"],[data-name="Photo"],[data-name="Cover"],[data-name^="Photo / "],[data-name="Shelf"]){border-radius:50% 50% 0 0 / 96px 96px 0 0}
html[data-mask="arch"] [data-name="Next Chair Ticket"]{border-radius:2px}
@media (min-width:1200px){html[data-type="barber"] [data-name="Section / Hero"] [data-name="Wordmark"]{margin-bottom:12px}}

/* ---- cards: brass inset frame on ticket and club card ---- */
html[data-cards="outlined"] :is([data-name="Next Chair Ticket"],[data-name="Club Card"]){outline:1px solid var(--sb-brass)!important;outline-offset:-7px!important}

/* ---- motion: hero portrait settles from a slight zoom on load ---- */
@media (prefers-reduced-motion: no-preference){
  html[data-palette="bottle"] .pg-home [data-name="Section / Hero"] [data-name="Portrait"] img{animation:sb-settle 1.6s cubic-bezier(.22,1,.36,1) both}
}
@keyframes sb-settle{from{transform:scale(1.08)}to{transform:none}}

/* ---- sample reviews (new section, template type scale and tokens) ---- */
.sb-reviews{box-sizing:border-box;width:100%;align-self:stretch;background:var(--token-TTtCel3Vm,#f6f1e8);padding:112px 40px;border-top:1px solid var(--token-bmLchNdkJ,#d6ccbb)}
.sb-reviews__inner{max-width:1200px;margin:0 auto}
.sb-reviews__head{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:12px 40px;margin-bottom:48px}
.sb-reviews__kicker{margin:0;font:600 13px/1.2 "Biz Body",system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--sb-brass,#c4904a);flex-basis:100%;display:flex;align-items:center;gap:12px}
.sb-reviews__kicker::before{content:"";width:32px;height:1px;background:currentColor}
.sb-reviews__title{margin:0;font:500 calc(56px * .86)/1.05 "Biz Display","Arial Narrow",sans-serif;text-transform:uppercase;color:var(--token-LA2A35nlB,#17201b)}
.sb-reviews__title em{font-family:"Biz Accent",Georgia,serif;font-style:italic;text-transform:none;color:var(--token-zlXvwzGsO,#1f3a2e)}
.sb-reviews__list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:20px}
.sb-review figure{margin:0;height:100%;display:flex;flex-direction:column;justify-content:space-between;gap:28px;padding:28px 26px 24px;
  background:var(--token-PF0wfAMCN,#fbf8f2);outline:1px solid var(--token-bmLchNdkJ,#d6ccbb);outline-offset:-1px;border-radius:2px;border-top:3px solid var(--sb-brass,#c4904a)}
.sb-review__quote{margin:0}
.sb-review__quote p{margin:0;font:500 italic 20px/1.45 "Biz Accent",Georgia,serif;color:var(--token-LA2A35nlB,#17201b);text-wrap:pretty}
.sb-review__by{display:flex;flex-direction:column;gap:2px;font:14px/1.4 "Biz Body",system-ui,sans-serif;color:var(--token-XyUvQzVgd,#4d554f)}
.sb-review__name{font-weight:700;color:var(--token-LA2A35nlB,#17201b);letter-spacing:.02em}
.sb-reviews__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px;margin-top:36px}
.sb-reviews__note{margin:0;font:14px/1.5 "Biz Body",system-ui,sans-serif;color:var(--token-XyUvQzVgd,#4d554f)}
.sb-reviews__link{font:600 14px/1 "Biz Body",system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:var(--token-PF0wfAMCN,#fbf8f2);
  background:var(--token-xWKHLgbmL,#1f3a2e);padding:16px 24px;border-radius:2px;text-decoration:none}
.sb-reviews__link:hover{background:var(--token-JRRGy7bmk,#142a20)}
.sb-reviews__link:focus-visible{outline:2px solid var(--token-xWKHLgbmL,#1f3a2e);outline-offset:3px}
@media (max-width:809.98px){
  .sb-reviews{padding:72px 20px}
  .sb-reviews__head{margin-bottom:28px}
  .sb-reviews__title{font-size:calc(40px * .86)}
  .sb-review__quote p{font-size:18px}
}

/* ---- services at >=1200px: no tall empty column beside the sticky panel (round-2 open point).
   Rows are compact (name, prices, description; time and "good for" stay on phone/tablet and the services page)
   and the sticky panel is taller, so list and panel end close together. ---- */
@media (min-width:1200px){
  .pg-home [data-name="Section / Services"] [data-name="Sticky Panel"] [data-name="Service Panel"] > div{height:860px!important}
  .pg-home [data-name="Section / Services"] [data-name^="Row / "]{padding:26px 0 28px!important;gap:12px!important}
  .pg-home [data-name="Section / Services"] [data-name^="Row / "] [data-name="Facts"]{display:none!important}
}

/* ---- prices stay in normal case (грн / $), long amount rows fit ---- */
html[data-type="barber"] :is([data-name="Club Card"] [data-name="Price"],[data-name="Section / Gift Cards"] :is([data-name="Price line"],[data-name="Bottom"])) :is(.tx,[style*="Biz Display"]){--fx-text-transform:none!important}
@media (min-width:1200px){
  html[data-type="barber"] [data-name="Section / Gift Cards"] [data-name="Price line"] .tx{--fx-font-size-scale:.74}
  html[data-type="barber"] [data-name="Section / Chairs"] [data-name="Stagger Gap"] [data-name="Heading"] .tx{--fx-font-size-scale:.78}
}

/* ---- menu: split bar at >=1200px (links left, centred wordmark, Book right) ---- */
@media (min-width:1200px){
  html[data-header="split"] nav [data-name="Bar"]{display:grid!important;grid-template-columns:1fr auto 1fr;align-items:center;column-gap:24px}
  html[data-header="split"] nav [data-name="Bar"] > [data-name="Links"]{order:1;justify-self:start;position:static!important;transform:none!important;left:auto!important}
  html[data-header="split"] nav [data-name="Bar"] > [data-name="Brand"]{order:2;justify-self:center}
  html[data-header="split"] nav [data-name="Bar"] > [data-name="Actions"]{order:3;justify-self:end}
  html[data-header="split"] nav [data-name="Links"] a[data-name^="Link / "]{position:relative}
  html[data-header="split"] nav [data-name="Links"] a[data-name^="Link / "]::after{content:"";position:absolute;left:0;right:100%;bottom:-6px;height:1px;background:var(--sb-brass,#c4904a);transition:right .25s cubic-bezier(.22,1,.36,1)}
  html[data-header="split"] nav [data-name="Links"] a[data-name^="Link / "]:hover::after{right:0}
}
/* ---- phone/tablet drawer (template knob data-menu=drawer): numbered links with brass rules ---- */
html[data-menu="drawer"] [data-name="Menu Links"]{counter-reset:sbmenu}
html[data-menu="drawer"] [data-name="Menu Links"] > a{counter-increment:sbmenu;display:flex!important;align-items:baseline;gap:14px;border-bottom:1px solid color-mix(in srgb,var(--sb-brass,#c4904a) 55%,transparent);padding-bottom:10px}
html[data-menu="drawer"] [data-name="Menu Links"] > a::before{content:counter(sbmenu,decimal-leading-zero);font:600 12px/1 "Biz Body",system-ui,sans-serif;letter-spacing:.12em;color:var(--sb-brass,#c4904a)}

/* ---- outlined cards only on real cards (plain text items keep no frame) ---- */
html[data-cards="outlined"] [data-name="Item"]{outline:none!important}

/* ---- visit page map: styled static placeholder (no embed, no real pin): street grid, one diagonal avenue, a brass marker ---- */
.pg-visit [data-name="Map slot"]{position:relative;overflow:hidden;isolation:isolate;
  background-color:#e3d6bf!important;
  background-image:
    linear-gradient(115deg,transparent 47.2%,#f1ebe1 47.2%,#f1ebe1 52.8%,transparent 52.8%),
    repeating-linear-gradient(0deg,transparent 0 58px,rgba(241,235,225,.95) 58px 66px),
    repeating-linear-gradient(90deg,transparent 0 84px,rgba(241,235,225,.95) 84px 92px),
    radial-gradient(circle at 78% 30%,#cdbf9f 0 70px,transparent 71px)!important}
.pg-visit [data-name="Map slot"]::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(220,203,176,.92) 0 46%,rgba(220,203,176,0) 70%)}
.pg-visit [data-name="Map slot"]::after{content:"";position:absolute;right:26%;bottom:30%;width:26px;height:26px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);
  background:var(--sb-brass,#c4904a);box-shadow:0 0 0 6px rgba(196,144,74,.25),0 6px 14px rgba(23,32,27,.25)}
.pg-visit [data-name="Map slot"] [data-name="Slot foot"]{flex-wrap:wrap;row-gap:6px}
.pg-visit [data-name="Map slot"] [data-name="Slot note"]{white-space:normal;max-width:100%}

/* ---- drawer CTA follows the square button family; drawer links a little smaller so long Ukrainian labels stay on one line ---- */
html[data-buttons="square"] a[data-name="On Inverse / LG"]{border-radius:2px!important}
html[data-buttons="square"] a[data-name="On Inverse / LG"] .tx{--fx-text-transform:uppercase;--fx-letter-spacing:0.08em}
html[data-type="barber"] [data-name="Menu Links"] .ts-1ndp9n{--fx-font-size-scale:.74}
/* ---- short tablet viewports (e.g. the 1120x620 showcase frame): the next-chair ticket would be cut by the fold ---- */
@media (min-width:810px) and (max-width:1199.98px) and (max-height:680px){
  .pg-home [data-name="Section / Hero"] [data-name="Next Chair Ticket"]{display:none!important}
}

/* ---- the two-word English wordmark ("Main Street") needs a smaller size than «Борода» ---- */
html[data-type="barber"][data-lang-brand="en"] [data-name="Section / Hero"] .ts-mnt31m{--fx-font-size-scale:.6}
@media (max-width:809.98px){html[data-type="barber"][data-lang-brand="en"] [data-name="Section / Hero"] .ts-mnt31m{--fx-font-size-scale:.56}}
/* ---- small overlapping intro photo stays a plain rectangle (contrast with the big arch; no stray arc line) ---- */
html[data-mask="arch"] [data-name="Photo / Caramel waves"], html[data-mask="arch"] [data-name="Photo / Caramel waves"] *{border-radius:0!important}

/* business tokens (library_build_site.py) */
@font-face { font-family: "Biz Display"; src: url("../assets/fonts/biz-oswald-cyrillic.woff2") format("woff2"); font-weight: 200 700; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Biz Display"; src: url("../assets/fonts/biz-oswald-latin.woff2") format("woff2"); font-weight: 200 700; font-style: normal; font-display: swap; 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; }
@font-face { font-family: "Biz Display"; src: url("../assets/fonts/biz-lora-cyrillic-italic-500.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Biz Display"; src: url("../assets/fonts/biz-lora-latin-italic-500.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; 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; }
@font-face { font-family: "Biz Accent"; src: url("../assets/fonts/biz-lora-cyrillic-italic-500.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Biz Accent"; src: url("../assets/fonts/biz-lora-latin-italic-500.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; 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; }
@font-face { font-family: "Biz Body"; src: url("../assets/fonts/biz-manrope-cyrillic.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Biz Body"; src: url("../assets/fonts/biz-manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; 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; }
:root {  }

/* enhanced photos: <picture> wrapper is layout-neutral */
picture.biz-pic { display: contents; } picture.biz-pic > source { display: none; }
