/* ==========================================================================
   Central Barber — styles
   ========================================================================== */

/* ---------- self-hosted fonts (no third-party requests, GDPR-friendly) ---------- */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2"); 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: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2"); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2"); 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: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin-ext.woff2") format("woff2"); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #0f0e0d;
  --ink-2: #191816;
  --ink-line: rgba(255, 255, 255, 0.14);
  --paper: #f3f1ec;
  --paper-2: #e7e3db;
  --paper-line: rgba(15, 14, 13, 0.14);
  --white: #ffffff;
  --gold: #b08544;          /* sampled from the logo */
  --gold-light: #c9a063;    /* gold for text on dark */
  --gold-text: #86601f;     /* gold for small text on light (WCAG AA 5:1) */
  --muted-dark: rgba(255, 255, 255, 0.68);
  --muted-light: #5b5852;

  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --gutter: clamp(16px, 3.9vw, 56px);
  --header-h: 88px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.25, 0.8, 0.25, 1);
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
}

/* ---------- base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg { display: block; max-width: 100%; }

picture { display: contents; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }

ul, ol { padding: 0; list-style: none; }

em { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- type helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.eyebrow--gold { color: var(--gold-light); }

.section-title,
.booking__title {
  font-size: clamp(2.6rem, 6.4vw, 6.25rem);
  font-weight: 800;
  font-variation-settings: "wdth" 72;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section-title em,
.booking__title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  font-variation-settings: normal;
}
.section-title em { color: var(--gold); }
.section--light .section-title em { color: #a27a3c; } /* 3.4:1 na svetlom pozadí (WCAG AA pre veľký text) */

/* line mask used for headline reveals */
.line,
.hero__line {
  display: block;
  overflow: hidden;
  /* room for descenders & diacritics inside the mask */
  padding-block: 0.1em 0.04em;
  margin-block: -0.1em -0.04em;
}
.line > span,
.hero__line > span { display: block; }

/* ---------- buttons & links ---------- */

.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out), transform 0.5s var(--ease-out);
}
/* fill sweep on hover */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--white);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease-out);
}
.btn:hover::before,
.btn:focus-visible::before { transform: scaleY(1); }

.btn__arrow {
  display: inline-block;
  font-size: 1.05em;
  transition: transform 0.5s var(--ease-out);
}
.btn:hover .btn__arrow,
.btn:focus-visible .btn__arrow { transform: translateX(5px); }

.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--ink); }

.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--white); }
.btn--dark::before { background: var(--gold); }
.btn--dark:hover,
.btn--dark:focus-visible { color: var(--ink); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border-color: rgba(201, 160, 99, 0.7);
}
.btn--outline::before { background: var(--gold); }
.btn--outline:hover,
.btn--outline:focus-visible { color: var(--ink); border-color: var(--gold); }

.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.75rem; }
.btn--lg { min-height: 64px; padding: 0 36px; font-size: 0.875rem; }
.btn--block { width: 100%; }

.link-line {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.link-line::after,
.link-line::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  height: 1px;
}
.link-line::after {
  background: currentColor;
  opacity: 0.4;
}
.link-line::before {
  z-index: 1;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.link-line:hover::before,
.link-line:focus-visible::before { transform: scaleX(1); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background-color 0.5s var(--ease-soft), height 0.5s var(--ease-soft);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--ink-line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease-out);
}
.site-header.is-solid {
  --header-h: 72px;
  background: rgba(15, 14, 13, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}
.site-header.is-solid::after { transform: scaleX(1); }

@media (max-width: 900px) {
  .site-header.is-solid { --header-h: 64px; }
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 100%;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: transform 0.8s var(--ease-out);
}
.brand:hover img { transform: rotate(-12deg); }
.brand__name {
  display: flex;
  flex-direction: column;
  font-size: 0.8125rem;
  font-weight: 800;
  font-variation-settings: "wdth" 90;
  line-height: 1.05;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.brand__name span {
  color: var(--gold-light);
  font-weight: 500;
  letter-spacing: 0.34em;
  font-size: 0.85em;
}

.nav__list {
  display: flex;
  gap: 36px;
}
.nav__link {
  position: relative;
  display: inline-block;
  padding-block: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.nav__link:hover,
.nav__link:focus-visible,
.nav__link.is-active { color: var(--white); }
.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.menu-toggle__bars {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 7px;
}
.menu-toggle__bars i {
  display: block;
  width: 26px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.5s var(--ease-out);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:last-child { transform: translateY(-4.25px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav,
  .site-header__cta { display: none; }
  .menu-toggle { display: block; }
  .brand img { width: 40px; height: 40px; }
}

/* ---------- mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: var(--ink);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-in-out);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }

.mobile-menu__nav li { overflow: hidden; border-bottom: 1px solid var(--ink-line); }
.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-block: 14px;
  font-size: clamp(2.4rem, 11vw, 3.6rem);
  font-weight: 800;
  font-variation-settings: "wdth" 72;
  line-height: 1;
  text-transform: uppercase;
  transform: translateY(105%);
  transition: transform 0.7s var(--ease-out), color 0.3s;
}
.mobile-menu__nav a small {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--gold-light);
  font-variation-settings: "wdth" 100;
}
.mobile-menu__nav a:hover,
.mobile-menu__nav a:focus-visible { color: var(--gold-light); }
.mobile-menu.is-open .mobile-menu__nav a { transform: none; }
.mobile-menu.is-open li:nth-child(1) a { transition-delay: 0.22s; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: 0.28s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: 0.34s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: 0.40s; }

.mobile-menu__foot {
  display: grid;
  gap: 16px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s, transform 0.6s var(--ease-out);
}
.mobile-menu.is-open .mobile-menu__foot {
  opacity: 1;
  transform: none;
  transition-delay: 0.45s;
}
.mobile-menu__foot p {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dark);
  text-align: center;
}

body.menu-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  --split: 44vw;
  --mx: 0;
  --my: 0;
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  max-height: 1100px;
  overflow: clip;
  background: var(--ink);
  isolation: isolate;
}

/* -- shared media -- */
.hero__media {
  position: absolute;
  display: block;
  overflow: hidden;
}
.hero__layer,
.hero__depth {
  position: absolute;
  inset: 0;
  will-change: transform;
}
/* oversize so pointer / scroll movement never exposes edges */
.hero__depth { inset: -28px; }
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -- main image -- */
.hero__media--main {
  top: 0;
  right: 0;
  bottom: 0;
  left: var(--split);
  z-index: 1;
}
.hero__media--main .hero__img {
  object-position: 58% 30%;
  transform-origin: 60% 40%;
}
/* darken the left edge so the overlapping headline stays legible */
.hero__media--main::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 14, 13, 0.62) 0%, rgba(15, 14, 13, 0.18) 26%, rgba(15, 14, 13, 0) 48%),
    linear-gradient(0deg, rgba(15, 14, 13, 0.45) 0%, rgba(15, 14, 13, 0) 24%),
    linear-gradient(180deg, rgba(15, 14, 13, 0.6) 0%, rgba(15, 14, 13, 0) 18%);
  pointer-events: none;
}

.hero__caption {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(24px, 4vh, 40px);
  z-index: 2;
  display: flex;
  gap: 14px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.hero__caption b { color: var(--gold-light); font-weight: 600; }

/* gold seam: the vertical line the main image wipes out of */
.hero__seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  z-index: 2;
  width: 1px;
  background: var(--gold);
  transform-origin: top;
  pointer-events: none;
}

/* -- secondary image, straddling the seam -- */
.hero__media--sub {
  top: calc(var(--header-h) + 3vh);
  left: calc(var(--split) - 7vw);
  z-index: 3;
  height: 27vh;
  aspect-ratio: 3 / 4;
  overflow: visible;
}
.hero__sub-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}
.hero__media--sub .hero__depth { inset: -18px; }
.hero__media--sub .hero__img { object-position: 30% 60%; }

/* thin LED-ceiling square, offset behind the sub image */
.hero__frame {
  position: absolute;
  inset: -14px;
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  overflow: hidden;
  pointer-events: none;
}
.hero__frame rect {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2; /* half falls outside the svg box, leaving a crisp 1px line */
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

/* -- content -- */
.hero__content {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(40px, 9vh, 110px);
  z-index: 4;
  width: min(60vw, 900px);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(18px, 3vh, 32px);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.hero__eyebrow span {
  width: 40px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
}

.hero__title {
  font-size: min(8.4vw, 14.5vh);
  font-weight: 800;
  font-variation-settings: "wdth" 70;
  line-height: 0.88;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.25);
}
.hero__title i {
  font-style: normal;
  color: var(--gold);
}
.hero__title .hero__line:nth-child(2) > span { padding-left: 0.9em; }

.hero__lead {
  max-width: 40ch;
  margin-top: clamp(20px, 3.4vh, 36px);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.6;
  color: var(--muted-dark);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 36px;
  margin-top: clamp(24px, 4vh, 40px);
}

.hero__vertical {
  position: absolute;
  left: calc(var(--gutter) * 0.5 - 0.5em);
  top: 50%;
  z-index: 4;
  font-size: 0.625rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  white-space: nowrap;
}

.hero__scroll {
  position: absolute;
  left: calc(var(--split) + var(--gutter));
  bottom: clamp(24px, 4vh, 40px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.hero__scroll i {
  position: relative;
  width: 56px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.hero__scroll:hover i::after { transform: scaleX(1); }

/* ---------- hero: pointer + scroll driven transforms ---------- */
/* --mx / --my: -1..1 pointer offset; --hs: hero scroll in px; --d / --s per layer (set by JS). */
.hero__depth {
  transform: translate3d(calc(var(--mx) * var(--d, 0) * 1px), calc(var(--my) * var(--d, 0) * 1px), 0);
}
.hero__layer {
  transform: translate3d(0, calc(var(--hs, 0) * var(--s, 0) * 1px), 0);
}

/* ---------- hero: entrance choreography ---------- */
/* Initial states only apply when JS is running; .is-loaded starts the sequence. */

.js .hero__seam { transform: scaleY(0); }
.js .hero__media--main { clip-path: var(--main-clip-from, inset(0 100% 0 0)); }
.js .hero__media--main .hero__img { transform: scale(1.22); }
.js .hero__sub-clip { clip-path: inset(100% 0 0 0); }
.js .hero__media--sub .hero__img { transform: scale(1.3); }
.js .hero__media--sub { translate: 0 48px; }
.js .hero__frame rect { stroke-dashoffset: 1; }
.js .hero__title .hero__line > span { transform: translate3d(0, 150%, 0); }
.js .hero__eyebrow,
.js .hero__lead,
.js .hero__actions,
.js .hero__caption,
.js .hero__vertical,
.js .hero__scroll,
.js .site-header { opacity: 0; }
.js .hero__eyebrow span { transform: scaleX(0); }
.js .hero__lead,
.js .hero__actions { translate: 0 18px; }

.is-loaded .hero__seam {
  transform: scaleY(1);
  transition: transform 0.7s var(--ease-in-out);
}
.is-loaded .hero__media--main {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.25s var(--ease-in-out) 0.45s;
}
.is-loaded .hero__media--main .hero__img {
  transform: scale(1);
  transition: transform 2.2s var(--ease-out) 0.45s;
}
.is-loaded .hero__sub-clip {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease-in-out) 1.05s;
}
.is-loaded .hero__media--sub {
  translate: 0 0;
  transition: translate 1.6s var(--ease-out) 1.05s;
}
.is-loaded .hero__media--sub .hero__img {
  transform: scale(1);
  transition: transform 1.8s var(--ease-out) 1.05s;
}
.is-loaded .hero__frame rect {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.4s var(--ease-in-out) 1.7s;
}
.is-loaded .hero__title .hero__line > span {
  transform: none;
  transition: transform 1.1s var(--ease-out);
}
.is-loaded .hero__title .hero__line:nth-child(1) > span { transition-delay: 0.75s; }
.is-loaded .hero__title .hero__line:nth-child(2) > span { transition-delay: 0.87s; }

.is-loaded .hero__eyebrow,
.is-loaded .hero__lead,
.is-loaded .hero__actions,
.is-loaded .hero__caption,
.is-loaded .hero__vertical,
.is-loaded .hero__scroll,
.is-loaded .site-header {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.9s var(--ease-soft), translate 1s var(--ease-out),
              background-color 0.5s var(--ease-soft), height 0.5s var(--ease-soft);
}
.is-loaded .hero__eyebrow { transition-delay: 0.65s; }
.is-loaded .hero__eyebrow span { transform: none; transition: transform 0.9s var(--ease-out) 0.75s; }
.is-loaded .hero__lead { transition-delay: 1.15s; }
.is-loaded .hero__actions { transition-delay: 1.28s; }
.is-loaded .site-header { transition-delay: 1.4s; }
.is-loaded .hero__caption,
.is-loaded .hero__vertical,
.is-loaded .hero__scroll { transition-delay: 1.75s; }

/* Once the intro has finished, drop the delays so later state changes respond immediately. */
.intro-done .site-header { transition-delay: 0s; }

/* ---------- hero: tablet & mobile ---------- */

@media (max-width: 900px) {
  .hero {
    --split: 0px;
    height: auto;
    min-height: 100svh;
    max-height: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }
  .hero__media--main {
    position: relative;
    inset: auto;
    flex: 1 1 auto;
    min-height: 46svh;
    margin-top: var(--header-h);
  }
  .hero__media--main::after {
    background:
      linear-gradient(0deg, var(--ink) 0%, rgba(15, 14, 13, 0.55) 30%, rgba(15, 14, 13, 0) 62%),
      linear-gradient(180deg, rgba(15, 14, 13, 0.5) 0%, rgba(15, 14, 13, 0) 22%);
  }
  .hero__media--main .hero__img { object-position: 62% 30%; }
  .hero__caption { top: 16px; bottom: auto; right: var(--gutter); }

  .hero__seam,
  .hero__media--sub,
  .hero__vertical,
  .hero__scroll { display: none; }

  .hero__content {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin-top: -18vw;
    padding-inline: var(--gutter);
  }
  .hero__title { font-size: clamp(3.3rem, 15.4vw, 6.5rem); }
  .hero__title .hero__line:nth-child(2) > span { padding-left: 0; }
  .hero__lead { max-width: 34ch; }
  .hero__actions { gap: 8px 28px; }
  .hero__actions .btn { flex: 1 1 100%; }

  /* on the stacked layout the main image wipes in from the top */
  .hero { --main-clip-from: inset(0 0 100% 0); }
}

@media (min-width: 600px) and (max-width: 900px) {
  .hero__actions .btn { flex: 0 0 auto; }
  .hero__content { margin-top: -12vw; }
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding-block: clamp(96px, 13vw, 200px); }

.section--light {
  background: var(--paper);
  color: var(--ink);
}

.section-head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(48px, 7vw, 104px);
}
.section-head--split {
  grid-template-columns: 1fr auto;
  align-items: end;
}
.section-head--split > div {
  display: grid;
  gap: 24px;
  justify-items: start;
}
.section-note {
  max-width: 30ch;
  color: var(--muted-dark);
}
@media (max-width: 700px) {
  .section-head--split { grid-template-columns: 1fr; }
}

/* ---------- gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
}
.gallery__item { position: relative; }
.gallery__frame {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
}
.gallery__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.gallery__item:hover .gallery__frame img { transform: scale(1.045); }

.gallery__item figcaption {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.gallery__item figcaption b { color: var(--gold-text); font-weight: 600; }

.gallery__item--a { grid-column: 1 / span 8; grid-row: 1; }
.gallery__item--a .gallery__frame { aspect-ratio: 4 / 3; }

.gallery__text {
  grid-column: 9 / span 4;
  grid-row: 1;
  align-self: end;
  display: grid;
  gap: 32px;
  justify-items: start;
  padding-bottom: 46px;
  color: var(--muted-light);
  font-size: 1.0625rem;
}

.gallery__item--b {
  grid-column: 2 / span 4;
  grid-row: 2;
  margin-top: clamp(-96px, -6vw, -40px);
  z-index: 2;
}
.gallery__item--b .gallery__frame {
  aspect-ratio: 3 / 4;
  box-shadow: 0 40px 80px -40px rgba(15, 14, 13, 0.45);
}
.gallery__item--b img { object-position: 30% 60%; }

.gallery__item--c {
  grid-column: 7 / span 6;
  grid-row: 2;
  margin-top: clamp(48px, 7vw, 120px);
}
.gallery__item--c .gallery__frame { aspect-ratio: 16 / 10; }
/* top-weighted crop: the LED ceiling as a detail shot */
.gallery__item--c img { object-position: 50% 0%; }

@media (max-width: 900px) {
  .gallery { row-gap: 56px; }
  .gallery__item--a { grid-column: 1 / -1; }
  .gallery__text { grid-column: 1 / -1; grid-row: auto; padding-bottom: 0; }
  .gallery__item--b { grid-column: 1 / span 8; grid-row: auto; margin-top: 0; }
  .gallery__item--c { grid-column: 3 / -1; grid-row: auto; margin-top: -120px; }
}
@media (max-width: 560px) {
  .gallery__item--b { grid-column: 1 / span 9; }
  .gallery__item--c { grid-column: 2 / -1; margin-top: -72px; }
}

/* ---------- approach ---------- */

.approach { padding-top: 0; }
.approach__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px clamp(16px, 2vw, 32px);
}
.approach__grid::before {
  content: "";
  grid-column: 1 / -1;
  height: 1px;
  margin-bottom: clamp(24px, 5vw, 92px);
  background: var(--paper-line);
}
.approach__intro { grid-column: 1 / span 6; display: grid; gap: 24px; align-content: start; }
.principles { grid-column: 8 / span 5; }
.principles li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px 16px;
  padding-block: 28px;
  border-bottom: 1px solid var(--paper-line);
}
.principles li:first-child { padding-top: 0; }
.principles__num {
  grid-row: span 2;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-text);
  padding-top: 6px;
}
.principles h3 {
  font-size: 1.375rem;
  font-weight: 700;
  font-variation-settings: "wdth" 85;
  letter-spacing: -0.005em;
}
.principles p { color: var(--muted-light); }

@media (max-width: 900px) {
  .approach__intro,
  .principles { grid-column: 1 / -1; }
}

/* ---------- services (expanding dark panel) ---------- */

.services {
  --p: 0;   /* 1 = inset rounded panel, 0 = full bleed; driven by scroll */
  background: var(--paper);
}
.services__panel {
  padding-block: clamp(96px, 12vw, 180px);
  background: var(--ink);
  color: var(--white);
  clip-path: inset(0 calc(var(--p) * var(--gutter)) round calc(var(--p) * 28px));
}
.services .section-title em { color: var(--gold-light); }

.service-list { border-top: 1px solid var(--ink-line); }
.service-list li { border-bottom: 1px solid var(--ink-line); }

.service {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1.1fr) minmax(0, 1fr) 96px 120px;
  align-items: center;
  gap: 16px 32px;
  padding-block: clamp(24px, 3vw, 40px);
  isolation: isolate;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -1);
  z-index: -1;
  background: var(--ink-2);
  opacity: 0;
  transition: opacity 0.5s var(--ease-soft);
}
.service__num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-light);
}
.service__name {
  font-size: clamp(1.75rem, 3.6vw, 3.25rem);
  font-weight: 800;
  font-variation-settings: "wdth" 72;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 0.6s var(--ease-out), color 0.4s;
}
.service__desc { color: var(--muted-dark); max-width: 42ch; }
.service__price {
  justify-self: end;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  line-height: 1;
  color: var(--white);
  white-space: nowrap;
}
.service__go {
  justify-self: end;
  display: inline-flex;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s, transform 0.6s var(--ease-out);
}
.service i { font-style: normal; }
.service:hover::before,
.service:focus-visible::before { opacity: 1; }
.service:hover .service__name,
.service:focus-visible .service__name { transform: translateX(12px); color: var(--gold-light); }
.service:hover .service__go,
.service:focus-visible .service__go { opacity: 1; transform: none; }
.service:focus-visible { outline-offset: -2px; }

@media (max-width: 900px) {
  .service {
    grid-template-columns: 44px 1fr auto;
    gap: 8px 12px;
  }
  .service__num { grid-row: span 2; align-self: start; padding-top: 0.6em; }
  .service__name { grid-column: 2; }
  .service__price { grid-column: 3; grid-row: 1; }
  .service__desc { grid-column: 2 / -1; }
  .service__go { display: none; }
}

/* ---------- booking ---------- */

.booking {
  padding-block: clamp(96px, 12vw, 180px) clamp(72px, 9vw, 140px);
  background: var(--ink);
  border-top: 1px solid var(--ink-line);
}
.booking__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 56px clamp(16px, 2vw, 32px);
  align-items: end;
}
.booking__main {
  grid-column: 1 / span 8;
  display: grid;
  gap: 32px;
  justify-items: start;
}
.booking__title {
  font-size: clamp(3rem, 8.4vw, 8.5rem);
  margin-bottom: 8px;
}
.booking__title em { color: var(--gold-light); }

.contact {
  grid-column: 9 / span 4;
  display: grid;
  gap: 36px;
}
.contact dt {
  margin-bottom: 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.contact dd { color: var(--muted-dark); }
.contact dd + dd { margin-top: 6px; }
.contact .link-line { color: var(--white); }

/* mini map: dark-toned to match the section, full colour on hover/focus */
.contact dd.contact__map {
  position: relative;
  margin-block: 18px 8px;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  border: 1px solid var(--ink-line);
  background: var(--ink-2);
}
.contact__map::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.5s var(--ease-soft);
}
.contact__map:hover::after,
.contact__map:focus-within::after { border-color: var(--gold); }
.contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.9) invert(0.9) hue-rotate(180deg) contrast(0.9);
  transition: filter 0.6s var(--ease-soft);
}
.contact__map:hover iframe,
.contact__map:focus-within iframe { filter: none; }

.contact__phone {
  font-size: 1.5rem;
  font-weight: 700;
  font-variation-settings: "wdth" 85;
  letter-spacing: 0.02em;
  color: var(--white);
  transition: color 0.3s;
}
.contact__phone:hover,
.contact__phone:focus-visible { color: var(--gold-light); }

.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}
.hours th,
.hours td {
  padding: 7px 0;
  border-bottom: 1px solid var(--ink-line);
  text-align: left;
  font-weight: 400;
}
.hours td { text-align: right; color: var(--white); }
.hours .is-closed td { color: rgba(255, 255, 255, 0.45); }
/* today's row, marked by JS */
.hours .is-today th,
.hours .is-today td { color: var(--gold-light); font-weight: 600; }
.hours .is-today th::after {
  content: " · dnes";
  font-weight: 400;
}

.site-footer__copy a:hover,
.site-footer__copy a:focus-visible { color: var(--gold-light); }

@media (max-width: 900px) {
  .booking__main,
  .contact { grid-column: 1 / -1; }
}

/* ---------- contact form ---------- */

.message__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px clamp(16px, 2vw, 32px);
}
.message__intro { grid-column: 1 / span 5; display: grid; gap: 24px; align-content: start; }
.message__note { max-width: 40ch; color: var(--muted-light); }
.message__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.message__form { grid-column: 7 / span 6; display: grid; gap: 22px; color-scheme: light; }
.link-line.link-mail { text-transform: none; letter-spacing: 0.04em; font-size: 0.9375rem; }

.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.field label small { font-size: inherit; letter-spacing: 0.1em; text-transform: none; color: var(--muted-light); font-weight: 400; }
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--paper-line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem; /* 16px: iOS no zoom on focus */
  transition: border-color 0.3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover,
.field textarea:hover { border-color: rgba(15, 14, 13, 0.35); }
.field input:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.875rem; color: var(--muted-light); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); }
.check input[aria-invalid="true"] { outline: 2px solid #b3261e; outline-offset: 2px; }

.message__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.message__actions .btn:disabled { opacity: 0.6; cursor: progress; }
.message__status { font-size: 0.9375rem; font-weight: 600; }
.message__status:empty { display: none; }
.message__status[data-state="ok"] { color: #2e6b34; }
.message__status[data-state="error"] { color: #b3261e; }
.message__status[data-state="busy"] { color: var(--muted-light); }

@media (max-width: 900px) {
  .message__intro,
  .message__form { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- instagram icon links ---------- */

.link-icon { gap: 10px; }
.ig-icon { flex: none; }
.site-footer__ig {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  color: var(--white);
  transition: color 0.3s, border-color 0.3s;
}
.site-footer__ig:hover,
.site-footer__ig:focus-visible { color: var(--gold-light); border-color: var(--gold-light); }

.site-footer__credit {
  flex-basis: 100%;
  margin-top: -12px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}
.site-footer__credit a { color: rgba(255, 255, 255, 0.78); text-decoration: underline; text-underline-offset: 3px; transition: color 0.3s; }
.site-footer__credit a:hover,
.site-footer__credit a:focus-visible { color: var(--gold-light); }

/* ---------- footer ---------- */

.site-footer {
  padding-block: 40px;
  background: var(--ink);
  border-top: 1px solid var(--ink-line);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
}
.site-footer .brand { margin-right: 0; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.site-footer__copy {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- mobile sticky CTA ---------- */

.sticky-cta { display: none; }

@media (max-width: 900px) {
  .sticky-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 80;
    display: block;
    padding: 20px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(0deg, rgba(15, 14, 13, 0.94) 60%, rgba(15, 14, 13, 0));
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.6s var(--ease-out), visibility 0s linear 0.6s;
  }
  .sticky-cta.is-visible {
    transform: none;
    visibility: visible;
    transition: transform 0.6s var(--ease-out), visibility 0s;
  }
  /* keep the footer clear of the fixed bar */
  .site-footer { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
}

/* ==========================================================================
   Scroll reveals
   ========================================================================== */

.js [data-reveal="fade"] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 1s var(--ease-soft), translate 1.1s var(--ease-out);
}
.js [data-reveal="lines"] .line > span {
  transform: translate3d(0, 150%, 0);
  transition: transform 1.1s var(--ease-out);
}
.js [data-reveal="lines"] .line:nth-child(2) > span { transition-delay: 0.1s; }

.js [data-reveal^="clip"] .gallery__frame {
  transition: clip-path 1.3s var(--ease-in-out);
}
.js [data-reveal^="clip"] .gallery__frame img {
  scale: 1.15;
  transition: scale 1.8s var(--ease-out), transform 1.2s var(--ease-out);
}
.js [data-reveal^="clip"] figcaption {
  opacity: 0;
  transition: opacity 0.8s var(--ease-soft) 0.7s;
}
.js [data-reveal="clip-left"] .gallery__frame { clip-path: inset(0 100% 0 0); }
.js [data-reveal="clip-right"] .gallery__frame { clip-path: inset(0 0 0 100%); }
.js [data-reveal="clip-up"] .gallery__frame { clip-path: inset(100% 0 0 0); }

.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
.js [data-reveal].is-in .line > span { transform: none; }
.js [data-reveal].is-in .gallery__frame { clip-path: inset(0 0 0 0); }
.js [data-reveal].is-in .gallery__frame img { scale: 1; }
.js [data-reveal].is-in figcaption { opacity: 1; }

/* scroll parallax (JS sets --py in px) */
[data-parallax] { transform: translate3d(0, var(--py, 0px), 0); }

/* ==========================================================================
   Cursor accent — fine pointers only, never replaces the native cursor
   ========================================================================== */

.cursor { display: none; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 150;
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    margin: -42px 0 0 -42px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s var(--ease-soft);
    will-change: transform;
  }
  .cursor::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--gold-light);
    border-radius: 50%;
    transform: scale(0.2);
    transition: transform 0.6s var(--ease-out), background-color 0.4s, border-color 0.4s;
  }
  .cursor.is-visible { opacity: 1; }
  .cursor.is-link::before { transform: scale(0.5); background: rgba(201, 160, 99, 0.12); }
  .cursor.is-label::before {
    transform: scale(1);
    background: rgba(15, 14, 13, 0.55);
    border-color: rgba(201, 160, 99, 0.9);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
  .cursor__label {
    position: relative;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s, transform 0.5s var(--ease-out);
  }
  .cursor.is-label .cursor__label { opacity: 1; transform: none; }
  .hero__media--main { cursor: pointer; }
}

/* ==========================================================================
   Reduced motion: final states, no movement
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation: none !important;
  }
  .hero__layer,
  .hero__depth,
  [data-parallax] { transform: none !important; }
}

/* ==========================================================================
   Gallery page (galeria.html)
   ========================================================================== */

.page-intro {
  padding-block: calc(var(--header-h) + clamp(56px, 9vw, 140px)) clamp(64px, 8vw, 120px);
  background: var(--ink);
}
.page-intro__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px clamp(16px, 2vw, 32px);
  align-items: end;
}
.page-intro__grid > div:first-child { grid-column: 1 / span 7; display: grid; gap: 24px; justify-items: start; }
.page-intro__side {
  grid-column: 9 / span 4;
  display: grid;
  gap: 32px;
  justify-items: start;
  color: var(--muted-dark);
  font-size: 1.0625rem;
}
@media (max-width: 900px) {
  .page-intro__grid > div:first-child,
  .page-intro__side { grid-column: 1 / -1; }
}

.photos { padding-block: clamp(56px, 8vw, 120px); }

/* masonry: photos keep their natural 3:2 / 2:3 ratio */
.photo-grid {
  columns: 3;
  column-gap: clamp(16px, 2vw, 32px);
}
.photo-grid li {
  break-inside: avoid;
  margin-bottom: clamp(28px, 3.4vw, 48px);
}
@media (max-width: 1000px) { .photo-grid { columns: 2; } }
@media (max-width: 600px)  { .photo-grid { columns: 1; } }

.photo {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--paper-2);
}
.photo img {
  width: 100%;
  height: auto;
  transition: transform 1.2s var(--ease-out);
}
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.5s var(--ease-soft);
  pointer-events: none;
}
.photo:hover img,
.photo:focus-visible img { transform: scale(1.04); }
.photo:hover::after,
.photo:focus-visible::after { border-color: var(--gold); }

.photo__cap {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.photo__cap b { color: var(--gold-text); font-weight: 600; }

/* ---------- lightbox ---------- */

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(15, 14, 13, 0.96);
  color: var(--white);
  overscroll-behavior: contain;
}
.lightbox::backdrop { background: rgba(15, 14, 13, 0.6); }
.lightbox[open] { display: grid; place-items: center; animation: lightbox-in 0.4s var(--ease-out); }
@keyframes lightbox-in { from { opacity: 0; } }

.lightbox__figure {
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: 72px clamp(16px, 8vw, 120px) 32px;
  max-width: 100%;
  max-height: 100%;
}
.lightbox__img {
  max-width: 100%;
  max-height: calc(100dvh - 160px);
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox__cap {
  display: flex;
  gap: 16px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.lightbox__count { color: var(--gold-light); font-variant-numeric: tabular-nums; }

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  background: rgba(15, 14, 13, 0.5);
  color: var(--white);
  font: inherit;
  font-size: 1.125rem;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.lightbox__btn:hover,
.lightbox__btn:focus-visible { border-color: var(--gold-light); color: var(--gold-light); }
.lightbox__btn--prev { left: clamp(12px, 2.4vw, 40px); top: 50%; translate: 0 -50%; }
.lightbox__btn--next { right: clamp(12px, 2.4vw, 40px); top: 50%; translate: 0 -50%; }
.lightbox__btn--close { right: clamp(12px, 2.4vw, 40px); top: 16px; }
@media (max-width: 600px) {
  .lightbox__figure { padding-inline: 12px; }
  .lightbox__btn--prev,
  .lightbox__btn--next { top: auto; bottom: 20px; translate: none; }
  .lightbox__btn--prev { left: calc(50% - 64px); }
  .lightbox__btn--next { right: calc(50% - 64px); }
  .lightbox__img { max-height: calc(100dvh - 220px); }
}
body.lightbox-open { overflow: hidden; }

/* ---------- map: loads Google Maps only after a click (no cookies before consent) ---------- */
.map-facade {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--ink-2);
  color: var(--white);
  font: inherit;
  text-align: center;
  cursor: pointer;
}
.map-facade__pin {
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  background: var(--gold-light);
  rotate: -45deg;
  box-shadow: 0 0 0 8px rgba(201, 160, 99, 0.16);
}
.map-facade__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.map-facade__note { font-size: 0.75rem; color: var(--muted-dark); }
.map-facade:hover .map-facade__label,
.map-facade:focus-visible .map-facade__label { color: var(--gold-light); }

/* ---------- team ---------- */
.team { display: flex; flex-wrap: wrap; gap: 12px 32px; color: var(--ink); }
.team li { display: grid; gap: 2px; }
.team b { font-size: 1.25rem; font-weight: 800; font-variation-settings: "wdth" 85; text-transform: uppercase; letter-spacing: 0.02em; }
.team span { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); }

/* ---------- FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px clamp(16px, 2vw, 32px);
}
.faq__intro { grid-column: 1 / span 5; display: grid; gap: 24px; align-content: start; }
.faq__list { grid-column: 7 / span 6; border-top: 1px solid var(--paper-line); }
.faq__item { border-bottom: 1px solid var(--paper-line); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 24px;
  font-size: 1.1875rem;
  font-weight: 700;
  font-variation-settings: "wdth" 85;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: none;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold);
  transition: rotate 0.4s var(--ease-out);
}
.faq__item[open] summary::after { rotate: 45deg; }
.faq__item summary:hover { color: var(--gold); }
.faq__item p { padding-bottom: 24px; max-width: 58ch; color: var(--muted-light); }
.faq__item a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .faq__intro, .faq__list { grid-column: 1 / -1; }
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding-block: calc(var(--header-h) + 48px) 96px;
}
.notfound .container { display: grid; gap: 32px; justify-items: start; }
.notfound p { max-width: 46ch; color: var(--muted-dark); }
