/* Billiard salon sites: one stylesheet for every salon, dark and light. The salon's color comes from theme.css (--accent, --accent-lt, --accent-dk).
   The page follows the visitor's device setting; the header button stores a choice as data-theme on <html> (mode.js). */
@font-face { font-family: Inter; src: url(font/inter-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; src: url(font/inter-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #0b0b0d; --bg-2: #111114; --bg-3: #18181c;
  --text: #f1eee8; --text-2: #a8a39a; --text-3: #77736c;
  --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .16);
  --accent: #15803d; --accent-lt: #6fb38a; --accent-dk: #15803d;
  --on-accent: #0b0b0d; --mix: #fff; --hover: rgba(255, 255, 255, .06);
  --head-bg: rgba(11, 11, 13, .86); --shadow: rgba(0, 0, 0, .5);
  --r: 14px; --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
/* Light theme: the cream palette of senkronom.com. The accent turns dark enough to read on cream (--accent-dk). */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f7f3ec; --bg-2: #fbf9f5; --bg-3: #ede6da;
    --text: #1f1b16; --text-2: #5f574d; --text-3: #7a7266;
    --line: #ddd3c4; --line-2: rgba(31, 27, 22, .16);
    --accent-lt: var(--accent-dk); --on-accent: #fff; --mix: #000; --hover: rgba(31, 27, 22, .05);
    --head-bg: rgba(247, 243, 236, .88); --shadow: rgba(31, 27, 22, .14);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f7f3ec; --bg-2: #fbf9f5; --bg-3: #ede6da;
  --text: #1f1b16; --text-2: #5f574d; --text-3: #7a7266;
  --line: #ddd3c4; --line-2: rgba(31, 27, 22, .16);
  --accent-lt: var(--accent-dk); --on-accent: #fff; --mix: #000; --hover: rgba(31, 27, 22, .05);
  --head-bg: rgba(247, 243, 236, .88); --shadow: rgba(31, 27, 22, .14);
  color-scheme: light;
}
/* Over the hero photo the colors stay light in both themes: the clear header and the photo hero */
.top:not(.is-solid), .hero-photo {
  --text: #f1eee8; --text-2: #a8a39a; --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .16);
  --accent-lt: color-mix(in srgb, var(--accent) 62%, #fff); --on-accent: #0b0b0d; --mix: #fff; --hover: rgba(255, 255, 255, .06);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 400 17px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
p a, .help a, .prose a { color: var(--accent-lt); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent-lt); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 700; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
.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; padding: 10px 16px; border-radius: 8px; background: var(--accent-lt); color: var(--on-accent); font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap-sm { --wrap: 760px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px;
  background: var(--accent-lt); color: var(--on-accent); font-weight: 650; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
  border: 1px solid transparent; text-decoration: none; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn:hover { background: color-mix(in srgb, var(--accent-lt) 80%, var(--mix)); transform: translateY(-1px); }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 16px; }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: 14px; }
.btn-line { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-line:hover { background: var(--hover); border-color: var(--accent-lt); color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.actions-center { justify-content: center; }

/* Header: clear over the hero photo, solid once the page scrolls. Below 1120px the links move into the menu button. */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.top.is-solid { background: var(--head-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.doc .top { position: sticky; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; }
.brand .logo { height: 44px; width: auto; }
.top-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.top-social { display: flex; gap: 2px; margin: 0; padding: 0 0 0 14px; list-style: none; border-left: 1px solid var(--line-2); }
.top-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: color-mix(in srgb, var(--text) 78%, transparent); transition: color .2s, background .2s; }
.top-social a:hover { color: var(--accent-lt); background: var(--hover); }
#menu { display: flex; align-items: center; gap: 4px; }
#menu > a:not(.btn) { padding: 8px 12px; font-size: 14.5px; font-weight: 500; color: color-mix(in srgb, var(--text) 78%, transparent); border-radius: 8px; white-space: nowrap; transition: color .2s; }
#menu > a:not(.btn):hover { color: var(--text); }
#menu .btn { margin-left: 12px; }
.top-tools { display: flex; align-items: center; gap: 10px; }
.menu-btn, .theme-btn { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; color: var(--text); cursor: pointer; }
.theme-btn { display: grid; }
.theme-btn[hidden] { display: none; }
.theme-btn:hover { background: var(--hover); }
/* The button shows the theme it switches to */
.theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .theme-btn .i-sun { display: none; } :root:not([data-theme="dark"]) .theme-btn .i-moon { display: block; } }
:root[data-theme="light"] .theme-btn .i-sun { display: none; }
:root[data-theme="light"] .theme-btn .i-moon { display: block; }

/* Hero: full screen photo slideshow under a dark veil, logo in the middle (light text in both themes) */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; text-align: center; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.slides img { position: absolute; inset: 0; opacity: 0; transition: opacity 2s ease; }
.slides img.on { opacity: 1; animation: drift 14s ease-out both; }
@keyframes drift { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 50% 45%, rgba(11, 11, 13, .35), rgba(11, 11, 13, .8)), linear-gradient(180deg, rgba(11, 11, 13, .7), rgba(11, 11, 13, .15) 35%, rgba(11, 11, 13, .55) 70%, var(--bg)); }
.hero-copy { padding: 140px 0 60px; }
.place { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--accent-lt); }
.place::before, .place::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.hero h1 { margin-top: 26px; font-size: clamp(40px, 7vw, 84px); }
.hero-logo { width: min(620px, 84vw); height: auto; margin: 0 auto; filter: drop-shadow(0 10px 40px rgba(0, 0, 0, .6)); }
.lead { max-width: 620px; margin: 22px auto 0; font-size: clamp(17px, 2vw, 20px); color: color-mix(in srgb, var(--text) 82%, transparent); }
.note { margin-top: 18px; font-size: 14px; color: var(--text-2); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 40px; border-top: 1px solid var(--line-2); }
.facts li { padding: 22px 16px 0; font-size: 14px; font-weight: 500; letter-spacing: .02em; color: color-mix(in srgb, var(--text) 85%, transparent); }
.facts li + li { border-left: 1px solid var(--line); }

/* Sections */
.sec { padding: clamp(84px, 11vw, 140px) 0; }
.sec-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.head { max-width: 680px; margin-bottom: 48px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 12.5px; font-weight: 650; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-lt); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.head h2 { font-size: clamp(32px, 4.4vw, 52px); }
.sub { margin-top: 18px; font-size: 18px; color: var(--text-2); }
.about p { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.6; color: var(--text); }
.about p + p { margin-top: 16px; color: var(--text-2); }
.help { margin-top: 14px; font-size: 14px; color: var(--text-2); }

/* Text beside photos */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split-flip { grid-template-columns: 1.1fr 1fr; }
.split-one { grid-template-columns: 1fr; }
/* A long e-mail or web address must wrap instead of widening the page */
.split > * { min-width: 0; }
/* The offset second photo makes its row taller; without this the first photo grows wider to keep its shape */
.split-media > li { align-self: start; }
.addr, .help { overflow-wrap: anywhere; }
.split .head { margin-bottom: 36px; }
.split-media { display: grid; gap: 14px; }
.split-media > li { aspect-ratio: 4 / 5; }
.media-1 > li { aspect-ratio: 4 / 3.4; }
.media-2 { grid-template-columns: 1fr 1fr; }
.media-2 > li:nth-child(2) { margin-top: 64px; }
.media-3 { grid-template-columns: 1fr 1fr; }
.media-3 > li:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

.tables { display: flex; flex-wrap: wrap; gap: 40px; }
.tables li { display: grid; gap: 6px; }
.tables strong { font-size: clamp(72px, 9vw, 112px); font-weight: 800; line-height: .9; letter-spacing: -.05em;
  background: linear-gradient(180deg, var(--text), var(--accent-lt)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tables span { font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.tables small { font-size: 14px; color: var(--text-3); }
.prices, .hours { max-width: 520px; }
.prices { margin-top: 44px; }
.hours { margin-top: 30px; }
.prices h3, .hours h3 { margin-bottom: 8px; font-size: 13px; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); }
.prices li, .hours li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.prices b, .hours b { font-weight: 600; white-space: nowrap; }

/* Numbered features */
.feats { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feats li { display: grid; grid-template-columns: 52px 1fr; column-gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.feats .num { grid-row: span 2; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--accent-lt); padding-top: 4px; font-variant-numeric: tabular-nums; }
.feats strong { font-size: 18px; font-weight: 650; }
.feats p { margin-top: 4px; font-size: 15.5px; color: var(--text-2); }
.feats-grid { grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); border-top: 0; }
.feats-grid li { grid-template-columns: 1fr; padding: 28px 0 30px; border-top: 1px solid var(--line-2); border-bottom: 0; }
.feats-grid .num { grid-row: auto; margin-bottom: 18px; padding: 0; }
.feats-grid strong { font-size: 20px; }

/* Photo links: crop to the box, zoom a little on hover */
.zoom { position: relative; display: block; height: 100%; border-radius: var(--r); overflow: hidden; background: var(--bg-3); cursor: zoom-in; }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .9s var(--ease); filter: saturate(.92); }
.zoom::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.zoom:hover img, .zoom:focus-visible img { transform: scale(1.045); filter: saturate(1.05); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(180px, 22vw, 300px); gap: 14px; }
.gallery-3 > li:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-2 { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(220px, 30vw, 420px); }
.gallery-1 { grid-template-columns: 1fr; grid-auto-rows: clamp(240px, 45vw, 560px); }

/* Tournament photos drifting sideways; the copy makes the loop seamless */
.strip { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.strip-track { display: flex; gap: 16px; width: max-content; animation: slide 70s linear infinite; }
.strip-track > li { flex: none; height: clamp(220px, 30vw, 380px); }
.strip-track img { width: auto; height: 100%; }
.strip:hover .strip-track, .strip:focus-within .strip-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(-50% - 8px)); } }
#turnuva .actions { margin-top: 44px; }

.addr { font-size: clamp(18px, 2vw, 21px); color: var(--text); max-width: 520px; }
.social { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; }
.social a { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-lt); }
.social a:hover { color: var(--text); }

/* Lightbox */
.lightbox { max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(6, 6, 8, .96); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox figure { display: grid; justify-items: center; gap: 12px; padding: 64px 72px 56px; max-height: 100vh; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 10px; }
.lightbox figcaption { font-size: 15px; color: rgba(255, 255, 255, .72); text-align: center; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font: 30px/1 inherit; cursor: pointer; }
.lightbox button:hover, .lightbox button:focus-visible { background: rgba(255, 255, 255, .24); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 26px; left: 0; right: 0; text-align: center; font-size: 13px; letter-spacing: .12em; color: rgba(255, 255, 255, .55); }

/* Footer */
.foot { padding: 72px 0 28px; border-top: 1px solid var(--line); background: var(--bg); color: var(--text-2); font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot-logo { height: 52px; width: auto; margin-bottom: 18px; }
.foot-name { font-weight: 650; color: var(--text); margin-bottom: 6px; }
.foot h2 { margin-bottom: 14px; font-size: 12.5px; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }
.foot nav a, .foot-in > div > a { display: block; padding: 4px 0; }
.foot a:hover { color: var(--text); }
.legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }

/* Info and 404 pages */
.prose { padding: 72px 0 110px; }
.prose h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 26px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose p { color: var(--text-2); }
.notfound .btn { margin-top: 28px; }

/* Reveal on scroll (added by salon.js only) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .menu-btn { display: grid; }
  #menu { position: absolute; top: 76px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 24px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px var(--shadow); }
  #menu.open { display: flex; }
  #menu > a:not(.btn) { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  #menu .btn { margin: 18px 0 0; }
}
@media (max-width: 1000px) {
  .split, .split-flip { grid-template-columns: 1fr; }
  .split-flip .split-media { order: 2; }
  .feats-grid { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-in > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top-in { height: 66px; }
  #menu { top: 66px; }
  .brand .logo { height: 36px; }
  .top-brand { gap: 8px; }
  .top-social { padding-left: 8px; }
  .top-social a { width: 44px; height: 44px; }
  .hero-copy { padding: 120px 0 40px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 16px 12px; }
  .facts li:nth-child(odd) { border-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .actions .btn { flex: 1 1 100%; }
  .feats-grid { grid-template-columns: 1fr; }
  .media-2 > li:nth-child(2) { margin-top: 32px; }
  .gallery, .gallery-2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery-3 > li:first-child { grid-column: 1 / -1; grid-row: span 1; }
  .lightbox figure { padding: 64px 12px 84px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slides img, .zoom img, .btn { transition: none; }
  .slides img.on { animation: none; }
  .strip { overflow-x: auto; mask-image: none; }
  .strip-track { animation: none; }
  .strip-copy { display: none; }
}

/* Restaurant and cafe page (2026-11-28): story, signature dishes, online ordering band */
.story p { font-size: 17px; color: var(--text-2); }
.story p + p { margin-top: 16px; }
.dishes { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.dishes figure { display: grid; gap: 14px; }
.dishes .zoom { aspect-ratio: 1; height: auto; }
.dishes h3 { font-size: 19px; font-weight: 650; }
.dishes figcaption p { margin-top: 4px; font-size: 15px; color: var(--text-2); }
.dishes + .actions { margin-top: 44px; }
.order-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(96px, 13vw, 170px) 0; background: var(--bg-3); color: #f1eee8; }
.order-band-photo { background: #0b0b0d; }
.order-bg { position: absolute; inset: 0; z-index: -1; }
.order-bg img { width: 100%; height: 100%; object-fit: cover; }
.order-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 13, .92), rgba(11, 11, 13, .7) 45%, rgba(11, 11, 13, .15)); }
.order-copy { max-width: var(--wrap); }
.order-copy > * { max-width: 560px; }
.order-band h2 { font-size: clamp(34px, 4.8vw, 58px); }
.order-band .sub { margin-top: 18px; font-size: 18px; color: rgba(241, 238, 232, .82); }
.order-band .eyebrow { color: var(--accent-lt); }
.order-band-photo .eyebrow { color: color-mix(in srgb, var(--accent) 62%, #fff); }
.order-band .actions { margin-top: 34px; }
.order-band:not(.order-band-photo) { color: var(--text); }
.order-band:not(.order-band-photo) .sub { color: var(--text-2); }
@media (max-width: 1000px) { .dishes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .dishes { gap: 14px; }
  .dishes h3 { font-size: 16px; }
  .order-bg::after { background: linear-gradient(180deg, rgba(11, 11, 13, .55), rgba(11, 11, 13, .9)); }
}
