/* DANNY.TATTOOER — вышиванка-ДНК: чернильный чёрный, кость, червоний.
   Орнамент = крестик (pixel/stitch SVG-паттерн), Unbounded + Inter. */

:root {
  --ink: #0A0A09;
  --ink-2: #111110;
  --bone: #F2EDE3;
  --bone-dim: #B9B3A6;
  --red: #C8102E;
  --red-deep: #8F0E20;
  --line: rgba(242, 237, 227, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--bone);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Орнамент: рушник-лента — крупные ромбы + зигзаг ────── */
.ornament {
  height: 46px;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='44' viewBox='0 0 56 44'%3E%3Cpath d='M0 8 L7 2 L14 8 L21 2 L28 8 L35 2 L42 8 L49 2 L56 8' fill='none' stroke='%23C8102E' stroke-width='2'/%3E%3Cpath d='M0 36 L7 42 L14 36 L21 42 L28 36 L35 42 L42 36 L49 42 L56 36' fill='none' stroke='%23C8102E' stroke-width='2'/%3E%3Crect x='20' y='14' width='16' height='16' transform='rotate(45 28 22)' fill='%23C8102E'/%3E%3Crect x='25' y='19' width='6' height='6' transform='rotate(45 28 22)' fill='%23F2EDE3'/%3E%3Crect x='-5' y='17' width='10' height='10' transform='rotate(45 0 22)' fill='%23C8102E'/%3E%3Crect x='51' y='17' width='10' height='10' transform='rotate(45 56 22)' fill='%23C8102E'/%3E%3Crect x='12' y='20' width='4' height='4' transform='rotate(45 14 22)' fill='%23F2EDE3' fill-opacity='.55'/%3E%3Crect x='40' y='20' width='4' height='4' transform='rotate(45 42 22)' fill='%23F2EDE3' fill-opacity='.55'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 44px;
}
.ornament.thin { height: 24px; background-size: auto 22px; }
.ornament.flip { transform: scaleY(-1); }

/* ── Header ─────────────────────────────────────────────── */
header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(10, 10, 9, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.head-inner {
  position: relative;
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 0.95rem;
  letter-spacing: 0.06em; text-decoration: none; white-space: nowrap;
}
.brand .dot { color: var(--red); }
.brand.small { font-size: 0.8rem; }
/* Nav = dropdown panel triggered by the burger (all sizes) */
.head-nav {
  position: absolute; top: calc(100% + 24px); right: 0;
  display: flex; flex-direction: column; gap: 0; align-items: stretch;
  min-width: 250px; max-width: 88vw;
  background: rgba(10, 10, 9, 0.97); backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  padding: 8px 22px 18px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  z-index: 5;
}
header.nav-open .head-nav { opacity: 1; visibility: visible; transform: none; }
.head-nav a {
  text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--bone);
  padding: 13px 2px; border-bottom: 1px solid var(--line);
  transition: color 0.25s;
}
.head-nav a:hover { color: var(--red); }
.head-nav .menu-cta {
  margin-top: 14px; text-align: center; border-bottom: none;
  background: var(--red); color: #F7F2E8;
  font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.03em;
  padding: 13px 18px; box-shadow: 3px 3px 0 0 var(--red-deep);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.head-nav .menu-cta:hover { color: #F7F2E8; transform: translate(-2px, -2px); box-shadow: 5px 5px 0 0 var(--red-deep); }

/* ── Кнопки ─────────────────────────────────────────────── */
.btn-red, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 0.8rem;
  text-decoration: none; padding: 12px 22px; letter-spacing: 0.03em;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn-red {
  background: var(--red); color: var(--bone);
  box-shadow: 4px 4px 0 0 var(--red-deep);
}
.btn-red:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 0 var(--red-deep); }
.btn-red:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 0 var(--red-deep); }
.btn-red.big { font-size: 1.05rem; padding: 18px 34px; }
.btn-ghost { border: 1px solid var(--line); color: var(--bone); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.head-cta { padding: 9px 16px; font-size: 0.7rem; margin-left: auto; }

/* Burger — menu button on all sizes. Средняя линия червона;
   при раскрытии крайние складываются в X, а середина стає двома
   червоними крапками (як намистини рушника). */
.nav-toggle {
  display: flex; background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--bone); border-radius: 1px;
  transition: transform 0.3s var(--ease), width 0.3s var(--ease), height 0.3s var(--ease),
              border-radius 0.3s, box-shadow 0.3s, background 0.25s;
}
.nav-toggle span:nth-child(2) { background: var(--red); position: relative; }
/* Дві червоні крапки замість середньої лінії — симетрично, через ::before/::after */
.nav-toggle span:nth-child(2)::before,
.nav-toggle span:nth-child(2)::after {
  content: ''; position: absolute; top: 50%; width: 4px; height: 4px;
  border-radius: 50%; background: var(--red);
  opacity: 0; transition: opacity 0.3s;
}
.nav-toggle span:nth-child(2)::before { left: 50%; margin: -2px 0 0 -14px; }
.nav-toggle span:nth-child(2)::after  { left: 50%; margin: -2px 0 0 10px; }
header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Середина стає прозорою (висота НЕ змінюється → стек не зсувається, X точно по центру),
   а крапки проявляються симетрично ±12px */
header.nav-open .nav-toggle span:nth-child(2) { background: transparent; }
header.nav-open .nav-toggle span:nth-child(2)::before,
header.nav-open .nav-toggle span:nth-child(2)::after { opacity: 1; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; padding: 140px 0 70px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.12fr 0.88fr;
  gap: 56px; align-items: center;
}
.hero-media { position: relative; }
.hero-video {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%;
  display: block; filter: grayscale(1) contrast(1.06);
  background: var(--ink-2);
}
.hero-frame {
  position: absolute; inset: 16px -16px -16px 16px;
  border: 2px solid var(--red); z-index: -1;
}
.hero-media-tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--ink); color: var(--bone-dim);
  font-family: 'Unbounded', sans-serif; font-size: 0.6rem; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 8px 12px;
}
.kicker {
  font-family: 'Unbounded', sans-serif; font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--red);
  margin-bottom: 22px;
}
.hero h1 {
  font-family: 'Unbounded', sans-serif; font-weight: 800;
  font-size: clamp(2.7rem, 6.2vw, 4.9rem);
  line-height: 0.97; letter-spacing: -0.01em;
}
.hero-sub { margin-top: 26px; font-size: 1.05rem; color: var(--bone-dim); max-width: 460px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-ornament { margin-top: 70px; }

/* ── Marquee ────────────────────────────────────────────── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 14px 0; background: var(--ink-2); }
.marquee-track { display: flex; white-space: nowrap; animation: marquee 30s linear infinite; }
.marquee-track span {
  font-family: 'Unbounded', sans-serif; font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.22em; color: var(--bone-dim);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Sections ───────────────────────────────────────────── */
section { padding: 90px 0; }
.sec-head { margin-bottom: 44px; }
.sec-num {
  display: inline-block;
  font-family: 'Unbounded', sans-serif; color: var(--red); font-size: 0.85rem;
  border: 1px solid var(--red); padding: 4px 12px; margin-bottom: 16px;
}
.sec-head h2 {
  font-family: 'Unbounded', sans-serif; font-weight: 800;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem); letter-spacing: -0.01em;
}
.sec-head p { color: var(--bone-dim); margin-top: 10px; max-width: 520px; }
.sec-head a { color: var(--red); }

/* ── Works ──────────────────────────────────────────────── */
.works { padding-top: 80px; }
.works-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
/* Heat-glow gallery: работы приглушены/десатурированы, при наведении
   раскрываются в полный black&red + тёплое червоне свечение внутри. */
.work { position: relative; overflow: hidden; cursor: zoom-in; background: var(--ink-2); }
.work img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5;
  filter: grayscale(0.9) brightness(0.82) contrast(1.03);
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.work.big img { aspect-ratio: 16 / 11; }
.work::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0; transition: opacity 0.5s;
  box-shadow: inset 0 0 90px rgba(200, 16, 46, 0.5);
}
@media (hover: hover) {
  .work:hover img { transform: scale(1.045); filter: grayscale(0) brightness(1) contrast(1.05); }
  .work:hover::after { opacity: 1; }
}
@media (hover: none) { .work img { filter: none; } }
.work figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 40px 18px 14px;
  background: linear-gradient(0deg, rgba(10,10,9,0.85), transparent);
  font-size: 0.82rem; color: var(--bone-dim);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}
.work figcaption b { color: var(--bone); font-weight: 600; }
.work:hover figcaption { opacity: 1; transform: translateY(0); }

/* ── Statement ──────────────────────────────────────────── */
.statement { padding: 0; background: var(--red); color: var(--ink); }
.statement .ornament {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='44' viewBox='0 0 56 44'%3E%3Cpath d='M0 8 L7 2 L14 8 L21 2 L28 8 L35 2 L42 8 L49 2 L56 8' fill='none' stroke='%230A0A09' stroke-width='2'/%3E%3Cpath d='M0 36 L7 42 L14 36 L21 42 L28 36 L35 42 L42 36 L49 42 L56 36' fill='none' stroke='%230A0A09' stroke-width='2'/%3E%3Crect x='20' y='14' width='16' height='16' transform='rotate(45 28 22)' fill='%230A0A09'/%3E%3Crect x='25' y='19' width='6' height='6' transform='rotate(45 28 22)' fill='%23C8102E'/%3E%3Crect x='-5' y='17' width='10' height='10' transform='rotate(45 0 22)' fill='%230A0A09'/%3E%3Crect x='51' y='17' width='10' height='10' transform='rotate(45 56 22)' fill='%230A0A09'/%3E%3C/svg%3E");
}
.statement-inner { padding: 64px 24px; text-align: center; }
.statement-ua {
  font-family: 'Unbounded', sans-serif; font-weight: 600;
  font-size: clamp(1.3rem, 3.4vw, 2.1rem); line-height: 1.25;
}
.statement-en { margin: 14px auto 0; max-width: 560px; color: rgba(10,10,9,0.75); font-weight: 500; }

/* ── About ──────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.about-media { position: relative; }
.about-media img { filter: grayscale(0.2); }
.about-frame {
  position: absolute; inset: -14px 14px 14px -14px;
  border: 2px solid var(--red); z-index: -1;
}
.about-text p { color: var(--bone-dim); margin-bottom: 16px; max-width: 560px; }
.about-facts { list-style: none; margin: 26px 0; border-top: 1px solid var(--line); }
.about-facts li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; color: var(--bone-dim); }
.about-facts b { color: var(--red); font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 0.85rem; margin-right: 8px; }
.about-awards img { max-width: 320px; filter: grayscale(0.1); border: 1px solid var(--line); }

/* ── Booking ────────────────────────────────────────────── */
.booking { background: var(--ink-2); border-block: 1px solid var(--line); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { border: 1px solid var(--line); padding: 26px 22px; background: var(--ink); }
.step-n { font-family: 'Unbounded', sans-serif; color: var(--red); font-weight: 600; font-size: 0.85rem; }
.steps h3 { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 1.05rem; margin: 12px 0 8px; }
.steps p { font-size: 0.9rem; color: var(--bone-dim); }
.booking-cta { text-align: center; margin-top: 64px; }

/* ── Машинка набивает орнамент ──────────────────────────────
   Две линейные анимации одной длительности: лента открывается
   clip-path'ом слева направо, машинка едет по той же оси —
   игла всегда на кромке. Игла вибрирует своим быстрым циклом. */
.stitch-scene {
  position: relative; height: 168px;
  max-width: 680px; margin: 40px auto 48px;
}
.stitch-band {
  position: absolute; left: 0; right: 0; top: 116px; height: 44px;
  background-image: inherit;
  /* тот же рушник-паттерн, что у .ornament */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='44' viewBox='0 0 56 44'%3E%3Cpath d='M0 8 L7 2 L14 8 L21 2 L28 8 L35 2 L42 8 L49 2 L56 8' fill='none' stroke='%23C8102E' stroke-width='2'/%3E%3Cpath d='M0 36 L7 42 L14 36 L21 42 L28 36 L35 42 L42 36 L49 42 L56 36' fill='none' stroke='%23C8102E' stroke-width='2'/%3E%3Crect x='20' y='14' width='16' height='16' transform='rotate(45 28 22)' fill='%23C8102E'/%3E%3Crect x='25' y='19' width='6' height='6' transform='rotate(45 28 22)' fill='%23F2EDE3'/%3E%3Crect x='-5' y='17' width='10' height='10' transform='rotate(45 0 22)' fill='%23C8102E'/%3E%3Crect x='51' y='17' width='10' height='10' transform='rotate(45 56 22)' fill='%23C8102E'/%3E%3Crect x='12' y='20' width='4' height='4' transform='rotate(45 14 22)' fill='%23F2EDE3' fill-opacity='.55'/%3E%3Crect x='40' y='20' width='4' height='4' transform='rotate(45 42 22)' fill='%23F2EDE3' fill-opacity='.55'/%3E%3C/svg%3E") repeat-x center / auto 44px;
  clip-path: inset(0 100% 0 0);
  animation: stitch-reveal 9s linear infinite;
}
@keyframes stitch-reveal {
  0%   { clip-path: inset(0 100% 0 0); opacity: 1; }
  84%  { clip-path: inset(0 0% 0 0);   opacity: 1; }
  92%  { clip-path: inset(0 0% 0 0);   opacity: 1; }
  99%  { clip-path: inset(0 0% 0 0);   opacity: 0; }
  100% { clip-path: inset(0 100% 0 0); opacity: 0; }
}
.stitch-machine {
  position: absolute; top: 0; left: 0; width: 82px; margin-left: -41px;
  animation: stitch-run 9s linear infinite;
}
@keyframes stitch-run {
  0%   { left: 0%;   opacity: 1; }
  84%  { left: 100%; opacity: 1; }
  92%  { left: 100%; opacity: 1; }
  99%  { left: 100%; opacity: 0; }
  100% { left: 0%;   opacity: 0; }
}
.machine-body { animation: machine-shake 0.14s linear infinite; }
@keyframes machine-shake {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(1.4px); }
}
.machine-needle { animation: needle-jab 0.14s linear infinite; }
@keyframes needle-jab {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
@media (prefers-reduced-motion: reduce) {
  .stitch-band { animation: none; clip-path: inset(0 0 0 0); }
  .stitch-machine { animation: none; left: 100%; }
  .machine-body, .machine-needle { animation: none; }
}
@media (max-width: 640px) {
  .stitch-scene { height: 150px; }
  .stitch-machine { width: 64px; margin-left: -32px; }
  .stitch-band { top: 100px; height: 36px; background-size: auto 36px; }
}
.booking-cta .ornament.thin { margin-bottom: 36px; }
.booking-cta h3 { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.booking-cta p { color: var(--bone-dim); margin: 12px 0 28px; }
.cta-alt { display: block; margin-top: 14px; font-size: 0.8rem; color: var(--bone-dim); letter-spacing: 0.08em; }

/* ── Gift certificate ───────────────────────────────────── */
.gift { background: var(--ink-2); border-block: 1px solid var(--line); }
.gift .ornament.thin { margin-bottom: 48px; }
.gift-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 56px; align-items: center; }

.giftcard {
  position: relative; margin-top: 30px; padding: 30px 24px 22px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #16120f 0%, #0c0b0a 100%);
  display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  box-shadow: 8px 8px 0 0 rgba(200, 16, 46, 0.18);
}
.giftcard-orn {
  position: absolute; left: 0; right: 0; top: 0; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='44' viewBox='0 0 56 44'%3E%3Cpath d='M0 8 L7 2 L14 8 L21 2 L28 8 L35 2 L42 8 L49 2 L56 8' fill='none' stroke='%23C8102E' stroke-width='2'/%3E%3Cpath d='M0 36 L7 42 L14 36 L21 42 L28 36 L35 42 L42 36 L49 42 L56 36' fill='none' stroke='%23C8102E' stroke-width='2'/%3E%3Crect x='20' y='14' width='16' height='16' transform='rotate(45 28 22)' fill='%23C8102E'/%3E%3Crect x='25' y='19' width='6' height='6' transform='rotate(45 28 22)' fill='%23F2EDE3'/%3E%3C/svg%3E") repeat-x center / auto 22px;
  opacity: 0.85;
}
.giftcard-row { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.giftcard-brand { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 0.9rem; letter-spacing: 0.05em; }
.giftcard-chip {
  width: 36px; height: 26px; border: 1px solid var(--red); border-radius: 4px;
  background: repeating-linear-gradient(90deg, transparent 0 5px, rgba(200,16,46,0.35) 5px 6px);
}
.giftcard-label { font-size: 0.68rem; color: var(--bone-dim); letter-spacing: 0.1em; text-transform: uppercase; }
.giftcard-amount { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 2.7rem; color: var(--red); line-height: 1; }
.giftcard-foot { font-size: 0.75rem; color: var(--bone-dim); }

.gift-form { display: flex; flex-direction: column; gap: 16px; }
.gift-lbl { font-family: 'Unbounded', sans-serif; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); }
.gift-amts { display: flex; flex-wrap: wrap; gap: 10px; }
.gift-amt {
  font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--bone);
  background: var(--ink); border: 1px solid var(--line); padding: 12px 20px; cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.gift-amt:hover { border-color: var(--red); }
.gift-amt.is-active { background: var(--red); color: var(--bone); border-color: var(--red); }
.gift-custom { display: flex; align-items: center; border: 1px solid var(--line); background: var(--ink); padding: 0 12px; }
.gift-custom span { color: var(--bone-dim); font-family: 'Unbounded', sans-serif; font-size: 0.85rem; }
.gift-custom input {
  width: 96px; background: transparent; border: none; color: var(--bone);
  font-family: 'Unbounded', sans-serif; font-size: 0.9rem; padding: 12px 6px; outline: none;
}
.gift-submit { align-self: flex-start; margin-top: 8px; }
.gift-note { font-size: 0.78rem; color: var(--bone-dim); }

.gift-modal {
  position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center;
  background: rgba(10, 10, 9, 0.9); opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s; padding: 24px;
}
.gift-modal.open { opacity: 1; visibility: visible; }
.gift-modal-in {
  position: relative; max-width: 440px; width: 100%; background: var(--ink-2);
  border: 1px solid var(--line); padding: 38px 32px 32px; text-align: center;
  box-shadow: 10px 10px 0 0 var(--red); transform: translateY(12px); transition: transform 0.35s var(--ease);
}
.gift-modal.open .gift-modal-in { transform: none; }
.gift-modal-in .ornament.thin { margin-bottom: 22px; }
.gift-modal-in h3 { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 1.5rem; margin-bottom: 12px; }
.gift-modal-in p { color: var(--bone-dim); margin-bottom: 22px; }
.gift-modal-in p b { color: var(--bone); }
.gift-modal-x {
  position: absolute; top: 10px; right: 16px; background: none; border: none; color: var(--bone-dim);
  font-size: 1.7rem; cursor: pointer; line-height: 1; transition: color 0.25s;
}
.gift-modal-x:hover { color: var(--red); }

@media (max-width: 860px) {
  .gift-grid { grid-template-columns: 1fr; gap: 36px; }
  .gift-submit { align-self: stretch; }
}

/* ── Footer ─────────────────────────────────────────────── */
footer { padding-top: 0; }
footer .ornament { margin-bottom: 40px; }
.foot-inner { text-align: center; padding-bottom: 44px; }
.foot-note { color: var(--bone-dim); font-size: 0.85rem; margin-top: 10px; }
.foot-ua {
  margin-top: 18px; font-size: 0.8rem; letter-spacing: 0.06em;
  color: var(--red); font-weight: 600;
}
.foot-credit {
  margin-top: 20px; font-size: 0.72rem; letter-spacing: 0.04em;
  color: var(--bone-dim); opacity: 0.85;
}
.foot-credit a { color: var(--bone-dim); text-decoration: underline; text-underline-offset: 3px; transition: color 0.25s; }
.foot-credit a:hover { color: var(--red); }

/* ── Lightbox ───────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 10, 9, 0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
  padding: 28px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92%; max-height: 88vh; box-shadow: 8px 8px 0 0 var(--red); transform: scale(0.96); transition: transform 0.4s var(--ease); }
.lightbox.open img { transform: scale(1); }
.lb-close, .lb-nav {
  position: absolute; border: none; color: var(--bone);
  background: rgba(10, 10, 9, 0.55); backdrop-filter: blur(2px);
  cursor: pointer; line-height: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background 0.25s, color 0.25s, transform 0.25s;
}
.lb-close:hover, .lb-nav:hover { background: rgba(10, 10, 9, 0.85); color: var(--red); }
.lb-close { top: 16px; right: 20px; width: 44px; height: 44px; font-size: 1.7rem; }
.lb-nav { top: 50%; width: 56px; height: 56px; font-size: 2.2rem; transform: translateY(-50%); }
.lb-nav:hover { transform: translateY(-50%) scale(1.06); }
.lb-nav.prev { left: 14px; } .lb-nav.next { right: 14px; }

/* ── Reveal ─────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ── Galas page ─────────────────────────────────────────── */
.head-nav a.active { color: var(--red); }

.galas-hero { padding: 150px 0 60px; text-align: left; }
.galas-title { max-width: 12ch; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.chip {
  border: 1px solid var(--line); padding: 12px 18px; min-width: 150px;
  font-size: 0.95rem; font-weight: 500;
}
.chip span {
  display: block; font-family: 'Unbounded', sans-serif; font-size: 0.6rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 5px;
}

.galas-about { padding-top: 80px; }
.galas-lead { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.galas-lead p { color: var(--bone-dim); font-size: 1.05rem; }
.galas-lead b { color: var(--bone); font-weight: 600; }

/* Live countdown — bauwerk count-up / tabular-nums aesthetic */
.countdown { padding: 0; background: var(--ink-2); }
.cd-inner { padding: 48px 24px; text-align: center; }
.cd-label {
  font-family: 'Unbounded', sans-serif; font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--red); margin-bottom: 24px;
}
.cd-clock { display: flex; align-items: flex-start; justify-content: center; gap: 14px; }
.cd-cell {
  min-width: 92px; border: 1px solid var(--line); background: var(--ink);
  padding: 16px 10px 12px; display: flex; flex-direction: column; align-items: center;
}
.cd-n {
  font-family: 'Unbounded', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1;
  font-variant-numeric: tabular-nums; color: var(--bone);
}
.cd-u {
  margin-top: 8px; font-family: 'Unbounded', sans-serif; font-size: 0.6rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-dim);
}
.cd-sep {
  font-family: 'Unbounded', sans-serif; font-weight: 800; color: var(--red);
  font-size: clamp(1.6rem, 5vw, 2.6rem); line-height: 1; padding-top: 14px;
}

.detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.detail-card { perspective: 800px; }
/* Tilt + glare (bauwerk B19) */
.tiltcard__in {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); padding: 26px 22px; background: var(--ink-2);
  transform-style: preserve-3d; transition: transform 0.2s var(--ease);
  height: 100%;
}
.glare {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(220px at var(--gx, 50%) var(--gy, 50%), rgba(200, 16, 46, 0.28), transparent 62%);
}
.detail-card:hover .glare { opacity: 1; }
.detail-card:hover .tiltcard__in { border-color: rgba(200, 16, 46, 0.4); }
.detail-k {
  font-family: 'Unbounded', sans-serif; color: var(--red); font-weight: 600;
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.detail-v { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 1.25rem; margin: 14px 0 6px; }
.detail-note { font-size: 0.85rem; color: var(--bone-dim); }
.detail-note a { color: var(--red); text-decoration: none; }

.galas-role .sec-head p { margin-top: 12px; }

.galas-cta { background: var(--ink-2); border-block: 1px solid var(--line); text-align: center; }
.galas-cta-inner { max-width: 640px; margin: 0 auto; }
.galas-cta .ornament.thin { margin-bottom: 44px; }
.galas-cta h2 { font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: clamp(1.7rem, 4.2vw, 2.6rem); margin: 16px 0 14px; }
.galas-cta p { color: var(--bone-dim); }
.cats { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 32px; }
.cats li {
  border: 1px solid var(--red); color: var(--red);
  font-family: 'Unbounded', sans-serif; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 14px;
}

@media (max-width: 860px) {
  .galas-lead { grid-template-columns: 1fr; gap: 20px; }
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cd-clock { gap: 8px; }
  .cd-cell { min-width: 0; flex: 1; padding: 12px 4px 10px; }
  .cd-sep { display: none; }
}
@media (max-width: 480px) {
  .detail-grid { grid-template-columns: 1fr; }
  .chip { flex: 1 1 100%; }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .head-cta { display: none; }
  .head-nav { left: 0; right: 0; min-width: 0; max-width: none; padding: 8px 24px 16px; }
  .head-nav a { font-size: 1rem; }
  .hero { padding-top: 110px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { max-width: 400px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media { max-width: 420px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .works-grid { grid-template-columns: 1fr; }
  .work img, .work.big img { aspect-ratio: 4 / 5; }
  section { padding: 64px 0; }
  .work figcaption { opacity: 1; transform: none; }
}
