:root {
  --cream: #f3eee6;
  --paper: #f7f3ec;
  --white: #fffdf8;
  --ink: #1c1814;
  --gold: #9a7428;
  --gold-bright: #e2c48a;
  --muted: #6b6258;
  --line: rgba(28, 24, 20, 0.12);
  --dark: #100e0c;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --script: "Great Vibes", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }
p { margin: 0; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: #fff;
  padding: 8px 12px;
}
.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 8px 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: grid;
  justify-items: center;
  line-height: 1;
  min-width: 132px;
  flex: 0 0 auto;
}
.brand-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #2c2418;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand-kicker i {
  width: 14px;
  height: 1.5px;
  background: var(--gold);
}
.brand-name {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  margin: 1px 0 2px;
}
.brand-since {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav a { color: #3c352e; white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--gold); }
.header-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-phone { color: var(--ink); font-size: 20px; font-weight: 600; letter-spacing: 0.02em; }
.nav-toggle {
  display: none;
  margin-left: auto;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: transparent;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 16px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #b08a3a; }
.btn-line { background: transparent; color: #f6f1e8; border-color: rgba(246, 241, 232, 0.45); }
.btn-line:hover { border-color: #fff; }
.btn-dark { background: #2a241c; color: #f6f1e8; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(28, 24, 20, 0.25); }

.hero {
  display: grid;
  grid-template-columns: minmax(340px, 0.88fr) 1.12fr;
  min-height: 380px;
  background: var(--dark);
  color: #f6f1e8;
}
.hero-copy, .photo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 36px 42px 32px;
}
.hero-copy { padding: 28px 36px 28px 32px; }
.hero .eyebrow { margin-bottom: 11px; }
.hero .lead { margin-top: 13px; }
.hero .hero-actions { margin-top: 19px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero h1, .photo-hero h1 {
  margin: 0;
  font-size: clamp(42px, 4.6vw, 64px);
  line-height: 0.92;
}
.hero h1 { font-size: clamp(39px, 4vw, 58px); }
.hero h1 em, .photo-hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-bright);
}
.lead {
  margin-top: 18px;
  max-width: 38rem;
  color: rgba(246, 241, 232, 0.78);
  font-weight: 300;
}
.hero-actions, .page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 8px 8px 8px 0;
}
.mosaic a, .tile, .service-photo, .split-photo, .photo-visual {
  position: relative;
  overflow: hidden;
  color: #fff;
}
.mosaic a { min-height: 177px; }
.mosaic img, .tile img, .service-photo img, .split-photo img, .photo-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shade::after, .mosaic a::after, .tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 8, 6, 0.74), rgba(10, 8, 6, 0.05) 52%);
}
@media (min-width: 901px) {
  .mosaic a:nth-child(odd)::after {
    background:
      linear-gradient(to top, rgba(10, 8, 6, 0.74), rgba(10, 8, 6, 0.05) 52%),
      linear-gradient(90deg, var(--dark) 0%, rgba(16, 14, 12, 0.5) 12%, rgba(16, 14, 12, 0.18) 28%, rgba(16, 14, 12, 0) 48%);
  }
}
.cap {
  position: absolute;
  z-index: 1;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
}
.cap small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
}
.arrow {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-size: 14px;
}
.tile-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 0%);
  opacity: 0;
  pointer-events: none;
}
.tile:has(.tile-video) > img { object-position: var(--pos, 50% 0%); }
.tile.is-ready .tile-video { opacity: 1; }

.tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 8px;
}
.tiles-4 { grid-template-columns: repeat(4, 1fr); }
.tiles-5 { grid-template-columns: repeat(5, 1fr); }
.tile { height: 240px; }

.prints {
  display: grid;
  grid-template-columns: minmax(190px, 230px) 1fr;
  gap: 18px;
  align-items: center;
  padding: 28px 28px 8px 28px;
  overflow: visible;
  position: relative;
  z-index: 2;
}
.prints-intro h2 {
  margin: 0;
  font-size: 40px;
  line-height: 0.95;
}
.prints-intro p { margin-top: 8px; color: var(--muted); }
.prints-intro .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--gold);
  font-weight: 500;
}
.products {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
}
.cutouts {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px 6px;
  align-items: end;
  overflow: visible;
  perspective: 800px;
}
.cutout {
  margin: 0;
  position: relative;
  z-index: 1;
  text-align: center;
  overflow: visible;
}
.cutout a {
  display: block;
  overflow: visible;
  background: transparent;
}
.cutout img {
  width: 100%;
  height: 118px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(3px 7px 4px rgba(35, 27, 19, 0.28)) drop-shadow(0 12px 12px rgba(35, 27, 19, 0.12));
  transform: translateZ(0) rotateX(3deg);
  transform-origin: center bottom;
  transition: transform 0.32s cubic-bezier(0.2, 0.75, 0.25, 1), filter 0.32s ease;
}
.cutout figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.25;
  color: #3c352e;
}
@media (hover: hover) and (pointer: fine) {
  .cutout:hover,
  .cutout:focus-within {
    z-index: 30;
  }
  .cutout:hover img,
  .cutout:focus-visible img {
    transform: translateZ(0) scale(1.25) rotateX(0deg) translateY(-8px);
    filter: drop-shadow(7px 16px 8px rgba(35, 27, 19, 0.34)) drop-shadow(0 22px 20px rgba(35, 27, 19, 0.22));
  }
}
.product { margin: 0; position: relative; text-align: center; overflow: visible; }
.product-hit {
  position: relative;
  display: block;
  overflow: visible;
  background: #f7f4ee;
}
.product-hit > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.product figcaption {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.3;
}
.zoom {
  display: none;
  position: absolute;
  z-index: 30;
  left: 50%;
  bottom: calc(100% + 12px);
  width: min(420px, 46vw);
  transform: translateX(-50%);
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 22px 50px rgba(20, 16, 12, 0.22);
  pointer-events: none;
}
.zoom img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.product:first-child .zoom { left: 0; transform: none; }
.product:last-child .zoom { left: auto; right: 0; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .product-hit:hover .zoom,
  .product-hit:focus-visible .zoom { display: block; }
}

.lower {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
  align-items: stretch;
  padding: 22px 28px 8px;
}
.service-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 230px;
  background: var(--dark);
  color: #f6f1e8;
  border-radius: 8px;
  overflow: hidden;
}
.service-copy { position: relative; z-index: 2; padding: 28px 28px; display: flex; flex-direction: column; justify-content: center; }
.service-copy h2 { margin: 0 0 8px; font-size: 36px; line-height: 0.98; }
.service-copy p { color: rgba(246, 241, 232, 0.74); }
.service-copy .btn { margin-top: 18px; align-self: flex-start; }
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 100%;
}
.benefits article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 20px 18px;
  border-right: 1px solid rgba(154, 116, 40, 0.35);
  border-bottom: 1px solid rgba(154, 116, 40, 0.35);
}
.benefits article:nth-child(2n) { border-right: 0; }
.benefits article:nth-last-child(-n+2) { border-bottom: 0; }
.benefits svg { width: 32px; height: 32px; color: var(--gold); }
.benefits strong { display: block; font-family: var(--serif); font-size: clamp(26px, 2vw, 34px); font-weight: 500; line-height: 1.08; color: var(--ink); }
.benefits span { color: #3f382f; font-size: 16px; line-height: 1.4; }

.photo-hero {
  position: relative;
  min-height: 500px;
  background: #090909;
  color: #fff;
  overflow: hidden;
}
.photo-hero .photo-visual {
  position: absolute;
  inset: 0;
  height: auto;
  min-height: 0;
}
.photo-hero .photo-visual img { object-position: 66% 34%; }
.photo-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, #f3eee6 0%, rgba(243, 238, 230, 0.42) 7%, rgba(243, 238, 230, 0.14) 14%, rgba(243, 238, 230, 0.04) 20%, rgba(243, 238, 230, 0) 26%),
    linear-gradient(90deg, #090909 0%, #090909 24%, rgba(9, 9, 9, 0.82) 36%, rgba(9, 9, 9, 0.28) 48%, transparent 60%);
}
.photo-hero .photo-copy {
  position: relative;
  z-index: 2;
  width: min(520px, 42%);
  min-height: 500px;
}
.photo-visual { height: 100%; min-height: 420px; }
.service-photo {
  z-index: 1;
  height: 100%;
  min-height: 230px;
  width: 132%;
  margin-left: -32%;
}
.service-photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--dark) 0%,
    var(--dark) 4%,
    rgba(16, 14, 12, 0.65) 10%,
    rgba(16, 14, 12, 0.22) 16%,
    rgba(16, 14, 12, 0) 24%
  );
}
.script-note {
  position: absolute;
  z-index: 2;
  right: 1.4%;
  top: 6%;
  max-width: 5.6em;
  color: #141210;
  font-family: var(--script);
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.05;
  text-align: right;
  transform: rotate(-11deg);
  transform-origin: right center;
}

.about-story {
  width: min(82vw, 1200px);
  margin: 28px auto 8px;
  padding: 8px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 22px 40px;
  align-items: stretch;
}
.about-side { display: flex; flex-direction: column; }
.about-story h1 { margin: 0 0 18px; font-size: clamp(40px, 4.4vw, 56px); line-height: 0.95; }
.about-story .split-photo { flex: 1; height: auto; min-height: 340px; }
.about-story .prose {
  max-width: none;
  font-size: 16px;
  line-height: 1.6;
}
.about-story .prose p + p { margin-top: 14px; }
.about-sign { margin: 22px 0 0; }
.about-sign img { display: block; width: min(280px, 78%); height: auto; margin-left: auto; }
.about-slogan {
  margin: 34px 0 8px;
  max-width: none;
  text-align: center;
  font-family: var(--script);
  font-weight: 400;
  font-size: min(48px, 3.05vw);
  line-height: 1.15;
  white-space: nowrap;
  color: var(--muted);
}
@media (max-width: 640px) {
  .about-slogan { font-size: 30px; line-height: 1.2; white-space: normal; }
}
.page-intro {
  padding: 48px 28px 10px;
  max-width: 820px;
}
.page-intro h1 { margin: 0; font-size: clamp(40px, 5vw, 58px); line-height: 0.95; }
.missing { max-width: 720px; margin: 0 auto; padding: 56px 28px 72px; text-align: center; }
.missing-code { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(92px, 18vw, 168px); line-height: 0.8; color: var(--gold); }
.missing h1 { margin: 10px 0 0; font-size: clamp(36px, 4vw, 52px); line-height: 0.95; }
.missing .lead { margin: 16px auto 0; color: var(--muted); }
.missing .page-actions { justify-content: center; }
.page-intro-center { max-width: none; padding: 12px 28px 0; text-align: center; }
.page-intro-center h1 { font-size: clamp(32px, 3.4vw, 44px); }
.page-intro.page-intro-center .lead { margin-top: 6px; margin-left: auto; margin-right: auto; font-size: 16px; }
.page-intro-center + .wrap { padding-top: 6px; padding-bottom: 16px; }
.page-intro .lead, .prose, .note { color: #3f3832; }
.page-intro .lead { color: var(--muted); font-size: 18px; }
.dig-intro { position: relative; max-width: none; padding-right: 460px; }
.dig-intro h1 { font-size: clamp(32px, 3.1vw, 46px); white-space: nowrap; }
.dig-intro .lead { max-width: none; margin-top: 8px; font-size: clamp(13px, 1.02vw, 15.5px); white-space: nowrap; }
.dig-splice { position: absolute; right: 8px; top: 36px; width: 210px; height: auto; transform: translateX(-100%); pointer-events: none; }
.crumb { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.crumb a:hover { color: var(--ink); }

.wrap { padding: 18px 28px 36px; }
.prose { max-width: 46rem; }
.prose p + p { margin-top: 12px; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 10px 0 28px;
}
.split.reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.split.reverse .split-photo { order: 2; }
.split.dig-top { grid-template-columns: minmax(240px, 440px) minmax(0, 1fr); align-items: center; }
.split.dig-top .prose { max-width: none; font-size: 21px; line-height: 1.55; }
.split.dig-top .prose p + p { margin-top: 18px; }
.split.dig-scan { grid-template-columns: minmax(0, 1fr) minmax(180px, 320px); align-items: start; }
.split.dig-scan .split-photo { height: 220px; }
.split-photo { z-index: 1; height: 340px; border-radius: 8px; }
.dig-film { width: min(720px, 70%); margin: 6px auto 18px; }
.dig-film img { width: 100%; height: auto; display: block; }
.media-wide img { width: 100%; height: min(420px, 56vw); object-fit: cover; border-radius: 8px; }
.media-rack img { width: 100%; height: auto; border-radius: 8px; }
#rodina .split-photo img { object-position: 50% 0%; }
#reportaze .split-photo img { object-position: 50% 78%; }
#svadby .split-photo { container-type: inline-size; }
#svadby .split-photo img { object-position: 50% 0%; }
@container (min-width: 530px) {
  #svadby .split-photo img {
    width: 100%;
    height: auto;
    max-width: none;
    inset: auto 0 auto 0;
    top: -5.05cqw;
    object-fit: unset;
  }
}
.split h2 { margin: 0 0 10px; font-size: 36px; line-height: 1; }
.split .eyebrow { color: var(--gold); }
#svadby, #rodina, #atelier, #reportaze, #technicka { position: relative; z-index: 3; overflow: visible; }
#rodina { align-items: start; }
.photo-strip {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 18px;
  overflow: visible;
  perspective: 900px;
}
.photo-strip img {
  width: auto;
  height: 108px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 6px;
  transform: rotateX(8deg) rotateY(-6deg);
  transform-origin: center bottom;
  box-shadow:
    0 14px 16px rgba(28, 24, 20, 0.26),
    0 4px 6px rgba(28, 24, 20, 0.14);
  filter: drop-shadow(0 8px 5px rgba(28, 24, 20, 0.26));
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}
.photo-strip img:nth-child(even) {
  transform: rotateX(8deg) rotateY(6deg);
}
.repair-split { position: relative; z-index: 3; overflow: visible; align-items: end; }
.repair-split .prose {
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 26px;
  min-height: 0;
  margin-top: -88px;
}
.repair-split .photo-strip { margin-top: 0; }
.repair-split .split-photo { position: relative; top: -58px; }
.repair-strip { margin-bottom: 0; }
.repair-split .prose p + .repair-strip { margin-top: 0; }
.repair-split .prose strong { font-weight: 600; font-size: 22px; line-height: 1.3; }
.repair-pair { position: relative; display: block; flex: 0 0 auto; }
.repair-zoom {
  position: relative;
  display: block;
  transform-origin: center bottom;
  transition: transform 0.65s ease;
}
.repair-strip .repair-pair:nth-child(odd) .repair-zoom { transform: rotateX(8deg) rotateY(-6deg); }
.repair-strip .repair-pair:nth-child(even) .repair-zoom { transform: rotateX(8deg) rotateY(6deg); }
.repair-strip .repair-zoom img { transform: none; }
.repair-strip .repair-after {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
@media (hover: hover) and (pointer: fine) {
  #svadby:has(.photo-strip img:hover),
  #rodina:has(.photo-strip img:hover),
  #atelier:has(.photo-strip img:hover),
  #reportaze:has(.photo-strip img:hover),
  #technicka:has(.photo-strip img:hover),
  .repair-split:has(.repair-pair:hover) {
    z-index: 4;
  }
  .photo-strip img:hover {
    position: relative;
    z-index: 6;
    transform: rotateX(0deg) rotateY(0deg) scale(1.5) translateY(-12px);
    box-shadow:
      0 22px 28px rgba(28, 24, 20, 0.34),
      0 8px 12px rgba(28, 24, 20, 0.18);
    filter: drop-shadow(0 14px 8px rgba(28, 24, 20, 0.32));
  }
  .repair-strip .repair-pair:hover { position: relative; z-index: 6; }
  .repair-strip .repair-pair:hover .repair-zoom {
    transform: rotateX(0deg) rotateY(0deg) scale(1.86) translateY(-18px);
  }
  .repair-strip .repair-pair:hover .repair-after {
    opacity: 1;
    transition: opacity 0.55s ease 0.6s;
  }
  .photo-strip.repair-strip img:hover {
    position: static;
    z-index: auto;
    transform: none;
  }
}
.offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.offer li, .price-card, .faq-item, .contact-card, form {
  background: var(--white);
  border: 1px solid var(--line);
}
.offer li, .price-card { padding: 18px 18px 16px; }
.offer h2, .price-card h2, .faq-item h2 { margin: 0 0 6px; font-size: 28px; line-height: 1; }
.offer p, .price-card li, .faq-item p { color: #4a433c; }
.repair-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
  counter-reset: repair;
}
.repair-steps li {
  position: relative;
  padding: 16px 18px 18px;
  background: var(--white);
  border: 0;
  border-top: 2px solid var(--gold);
  box-shadow: 0 12px 26px rgba(28, 24, 20, 0.07);
  counter-increment: repair;
}
.repair-steps li::before {
  content: counter(repair, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-variant-numeric: lining-nums;
  font-size: 14px;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--gold);
}
.repair-steps h2 { margin-bottom: 8px; font-size: 26px; line-height: 1.05; }
.repair-steps p { font-size: 15px; line-height: 1.45; color: var(--muted); }
.price-grid, .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.price-card ul { margin: 10px 0 0; padding-left: 18px; }
.note {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(154, 116, 40, 0.08);
  border-left: 3px solid var(--gold);
}

.faq-list { display: grid; gap: 10px; }
.faq-item { padding: 16px 18px; }
.faq-item p { margin-top: 8px; }

.contact-grid {
  align-items: stretch;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  width: min(920px, 100%);
  margin: 0 auto 8px;
  padding: 28px 22px 16px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 236, 206, .18) 0 1px, transparent 1.6px),
    radial-gradient(circle at 72% 64%, rgba(70, 36, 12, .16) 0 1px, transparent 1.8px),
    repeating-linear-gradient(90deg, rgba(90, 48, 16, .05) 0 1px, transparent 1px 8px),
    linear-gradient(165deg, #c9a36a 0%, #a67c45 46%, #8b6234 100%);
  box-shadow:
    inset 0 0 0 1px rgba(92, 54, 18, .35),
    inset 0 0 28px rgba(70, 36, 10, .28),
    0 12px 24px rgba(28, 24, 20, .12);
}
.contact-card { padding: 18px 18px 14px; }
.contact-card h2 { margin: 0 0 6px; font-size: 26px; color: #3f2c1c; }
.contact-card a { color: #8a5e16; }
.contact-card p { color: #3f2c1c; }
.contact-card .btn-waze {
  margin-top: 14px;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4a3d2c 0%, #241c14 46%, #100e0c 100%);
  color: #fffdf8;
  border: 1.5px solid #e2c48a;
  letter-spacing: 0.08em;
}
.contact-card .btn-waze:hover { filter: brightness(1.12); color: #fffdf8; }
.pin {
  position: absolute;
  z-index: 2;
  top: -18px;
  left: calc(50% - 7px);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffd6d6 0%, #d23b3b 46%, #7c1414 82%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .75),
    inset 0 -2px 2px rgba(80, 8, 8, .45),
    0 12px 5px rgba(40, 22, 8, .35);
}
.pin::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 11px;
  width: 2px;
  height: 18px;
  border-radius: 1px;
  background: linear-gradient(#f4f4f4, #7a7a7a);
}
form { display: grid; gap: 10px; padding: 18px; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px;
}
textarea { min-height: 140px; resize: vertical; }
.form-note { color: var(--muted); font-size: 13px; }
.contact-card,
#contact-form {
  position: relative;
  border: 0;
  border-radius: 2px;
  color: #3f2c1c;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(255, 248, 220, .55), transparent 42%),
    radial-gradient(ellipse at 100% 100%, rgba(120, 90, 50, .16), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(110, 80, 40, .1), transparent 42%),
    linear-gradient(180deg, #f3e6c8 0%, #e7d7b6 48%, #ddd0b4 100%);
  box-shadow:
    inset 0 0 0 1px rgba(120, 78, 32, .28),
    inset 0 0 18px rgba(120, 78, 32, .12),
    0 12px 16px rgba(48, 28, 8, .28);
}
.contact-card { transform: rotate(-1deg); }
#contact-form { transform: rotate(0.8deg); padding: 16px 14px 10px; gap: 5px; }
#contact-form label { gap: 2px; font-size: 12px; color: #5a4630; }
#contact-form input,
#contact-form select,
#contact-form textarea {
  border: 1px solid rgba(90, 58, 24, .28);
  border-radius: 2px;
  padding: 6px 10px;
  color: #3f2c1c;
  background: rgba(255, 250, 236, .42);
  box-shadow: inset 0 1px 2px rgba(90, 50, 16, .12);
}
#contact-form textarea { min-height: 48px; }
#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: #c4a15a;
  box-shadow:
    inset 0 1px 2px rgba(16, 14, 12, .06),
    0 8px 16px rgba(154, 116, 40, .18);
}
#contact-form .btn-gold {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  height: 38px;
  border: 1.5px solid #e2c48a;
  border-radius: 999px;
  color: #fffdf8;
  background: linear-gradient(180deg, #4a3d2c 0%, #241c14 46%, #100e0c 100%);
  box-shadow:
    inset 0 1px 0 rgba(226, 196, 138, .45),
    0 10px 20px rgba(16, 14, 12, .28);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
#contact-form .btn-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, .72) 48%, transparent 68%);
  transform: translateX(-130%);
  pointer-events: none;
}
#contact-form .btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.18);
  box-shadow:
    inset 0 1px 0 rgba(226, 196, 138, .6),
    0 14px 24px rgba(16, 14, 12, .34);
}
#contact-form .btn-gold:hover::before { animation: admin-shine .65s ease; }
#contact-form .btn-gold:active {
  transform: translateY(1px) scale(.97);
  box-shadow:
    inset 0 2px 5px rgba(28, 24, 20, .18),
    0 3px 8px rgba(28, 24, 20, .16);
}
#contact-form .form-note { margin: 0; font-size: 12px; line-height: 1.35; }
.notice-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(16, 14, 12, .72);
}
.notice-layer[hidden] { display: none !important; }
.notice-window {
  width: min(460px, 100%);
  padding: 28px 24px 22px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, .38);
  text-align: center;
}
.notice-window p { font-size: 18px; line-height: 1.5; }
.notice-window p + p { margin-top: 12px; }
.notice-window button { margin-top: 18px; border: 0; cursor: pointer; }
body.notice-open { overflow: hidden; }

.admin-page { min-height: 100vh; display: flex; flex-direction: column; }
.admin-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 48px;
  padding: 10px 148px;
  background: linear-gradient(90deg, #100e0c 0%, #2c261e 48%, #100e0c 100%);
  color: var(--paper);
  border-bottom: 1px solid rgba(226, 196, 138, .5);
  box-shadow: 0 12px 28px rgba(16, 14, 12, .45);
}
.admin-bar p { margin: 0; }
.admin-bar-date { font-size: 14px; letter-spacing: .04em; }
.admin-bar-time {
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  letter-spacing: .12em;
}
.admin-bar-name { color: var(--gold-bright); font-size: 15px; }
.admin-back {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border: 1.5px solid #e2c48a;
  border-radius: 999px;
  padding: 4px 11px;
  color: #fffdf8;
  font-size: 13px;
  line-height: 1.3;
  background: transparent;
}
.admin-back:hover {
  background: #e2c48a;
  color: #100e0c;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .28);
}
.admin-wrap { max-width: 1100px; width: 100%; margin: 0 auto; padding: 32px 28px 48px; flex: 1; }
.admin-foot { padding: 8px 20px 18px; text-align: center; color: var(--muted); font-size: 13px; letter-spacing: .02em; }
.admin-wrap h1 { margin: 0 0 8px; font-size: 48px; line-height: 0.95; }
.admin-auth, .admin-mail { max-width: 560px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.admin-tabs button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1.5px solid #c4a15a;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 13px;
  cursor: pointer;
  color: var(--ink);
  background: linear-gradient(180deg, #fffdf8 0%, #f6e7cb 52%, #e4cb96 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .85),
    0 8px 16px rgba(28, 24, 20, .14);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.admin-tabs button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, .72) 48%, transparent 68%);
  transform: translateX(-130%);
  pointer-events: none;
}
.admin-tabs button:hover {
  transform: translateY(-3px);
  filter: brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 14px 24px rgba(28, 24, 20, .2),
    0 0 0 1px rgba(154, 116, 40, .28);
}
.admin-tabs button:hover::before { animation: admin-shine .65s ease; }
.admin-tabs button:active {
  transform: translateY(1px) scale(.97);
  box-shadow:
    inset 0 2px 5px rgba(28, 24, 20, .18),
    0 3px 8px rgba(28, 24, 20, .16);
}
.admin-tabs button.is-on {
  color: #fffdf8;
  border-color: #e2c48a;
  background: linear-gradient(180deg, #4a3d2c 0%, #241c14 46%, #100e0c 100%);
  box-shadow:
    inset 0 1px 0 rgba(226, 196, 138, .45),
    0 10px 20px rgba(16, 14, 12, .28);
}
@keyframes admin-shine {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}
@media (prefers-reduced-motion: reduce) {
  .admin-tabs button,
  .admin-tabs button::before { transition: none; animation: none; }
}
@media (max-width: 720px) {
  .admin-bar { flex-wrap: wrap; justify-content: center; text-align: center; padding: 42px 14px 10px; }
  .admin-back { top: 8px; transform: none; }
}
.admin-table { overflow: auto; background: #fff; border: 1px solid var(--line); }
.admin-table table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; padding: 10px; font-size: 14px; }
.admin-table button {
  margin: 0 6px 6px 0;
  border: 1.5px solid #e2c48a;
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 13px;
  white-space: nowrap;
  color: #fffdf8;
  cursor: pointer;
  background: linear-gradient(180deg, #4a3d2c 0%, #241c14 46%, #100e0c 100%);
  box-shadow: inset 0 1px 0 rgba(226, 196, 138, .45), 0 8px 14px rgba(16, 14, 12, .22);
}
.admin-table button:hover { filter: brightness(1.08); }
.admin-table button:active { transform: translateY(1px); }
.admin-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.admin-photo { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px; }
.admin-photo img { width: 100%; height: 120px; object-fit: cover; }
.admin-photo figcaption { margin: 8px 0; font-size: 13px; }
.admin-check { display: flex; align-items: center; gap: 8px; }
.admin-check input { width: auto; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-panel h2 { margin: 18px 0 10px; font-size: 28px; }
.admin-letter { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr); gap: 16px; align-items: start; }
.admin-preview iframe { width: 100%; height: 560px; border: 0; border-radius: 14px; background: #fff; }
.admin-colors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.admin-colors input { height: 42px; padding: 4px; }
.admin-admins { display: grid; gap: 12px; max-width: 680px; }
.admin-admin { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.admin-admin legend { padding: 0 6px; font-family: var(--serif); font-size: 22px; }
.admin-admin-off { background: #f4f0e8; }
.admin-switch { display: flex; align-items: center; gap: 10px; margin: 2px 0 8px; font-weight: 600; cursor: pointer; }
.admin-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.admin-switch i { position: relative; flex: none; width: 42px; height: 24px; border: 1px solid #c4b8a4; border-radius: 999px; background: #d7d0c6; }
.admin-switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s ease; }
.admin-switch input:checked + i { border-color: #7c5c1e; background: #9a7428; }
.admin-switch input:checked + i::after { transform: translateX(18px); }
.admin-switch input:focus-visible + i { outline: 2px solid #9a7428; outline-offset: 2px; }
.admin-mail textarea { min-height: 0; }
.admin-reply-note { margin: 0; padding: 12px 14px; background: #fff6e8; border: 1px solid #c4a15a; border-radius: 8px; color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  .admin-letter, .admin-colors { grid-template-columns: 1fr; }
}

.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.related a {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
}
.related small { color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase; font-size: 11px; }
.related strong { font-family: var(--serif); font-size: 26px; font-weight: 500; }

.site-footer {
  margin-top: 10px;
  padding: 28px 28px 18px;
  background: #171411;
  color: rgba(246, 241, 232, 0.78);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 24px;
}
.site-footer h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 22px;
}
.site-footer a { display: block; padding: 3px 0; }
.site-footer a.footer-brand {
  display: grid;
  justify-items: center;
  width: max-content;
  margin-bottom: 8px;
  padding: 0;
}
.site-footer a:hover { color: #fff; }
.footer-brand .brand-name, .footer-brand .brand-kicker, .footer-brand .brand-since { color: #f6f1e8; }
.footer-brand .brand-kicker i { background: var(--gold-bright); }
.legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}
.legal .credit {
  display: inline;
  padding: 0;
  color: inherit;
}
.legal .credit:hover { color: #fff; }

dialog {
  position: fixed;
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  border: 0;
  padding: 48px 16px 16px;
  background: var(--white);
  color: var(--ink);
}
dialog::backdrop { background: rgba(16, 14, 12, 0.72); }
dialog img { width: 100%; height: auto; }
dialog p { margin-top: 8px; text-align: center; }
.lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  background: var(--dark);
  color: #fff;
  padding: 8px 10px;
  cursor: pointer;
}

.reviews { padding: 18px 28px 36px; }
.reviews .eyebrow { color: var(--gold); }
.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.reviews-head h2 { margin: 0; font-size: 40px; line-height: 0.95; }
.reviews-score { margin: 0; color: var(--muted); font-size: 14px; }
.reviews-score a:hover { color: var(--ink); }
.reviews-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}
.reviews-viewport { overflow: hidden; padding: 8px 10px 28px; }
.reviews-nav {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(28, 24, 20, 0.12);
}
.reviews-nav:hover { color: var(--gold); }
.reviews-nav[hidden] { display: none; }
.reviews-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  transition: transform 0.4s ease;
}
.review {
  flex: 0 0 calc((100% - 36px) / 4);
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 16px 14px;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 10px 22px rgba(28, 24, 20, 0.14), 0 2px 6px rgba(28, 24, 20, 0.08);
}
.review-stars { margin: 0; color: var(--gold); letter-spacing: 2px; font-size: 15px; }
.review-text {
  quotes: none;
  margin: 10px 0 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-by { margin: 0; color: var(--muted); font-size: 13px; }
.review-by strong { color: var(--ink); font-weight: 500; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 8px 0 12px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 22px; width: 100%; }
  .header-phone { display: none; }
  .products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cutouts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cutout img { height: 140px; }
  .footer-grid, .tiles { grid-template-columns: 1fr 1fr; }
  .tiles-4, .tiles-5 { grid-template-columns: 1fr 1fr; }
  .review { flex-basis: calc((100% - 12px) / 2); }
}
@media (max-width: 900px) {
  .hero, .photo-hero, .prints, .lower, .split, .split.reverse, .about-grid, .offer, .price-grid, .contact-grid, .related, .service-card {
    grid-template-columns: 1fr;
  }
  .contact-card, #contact-form { transform: none; }
  .split.reverse .split-photo { order: 0; }
  .dig-intro h1, .dig-intro .lead { white-space: normal; }
  .dig-intro { padding-right: 14px; }
  .dig-splice { display: none; }
  .split.dig-top, .split.dig-scan { grid-template-columns: 1fr; }
  .repair-steps { grid-template-columns: 1fr 1fr; }
  .repair-split { align-items: start; }
  .repair-split .split-photo { top: 0; }
  .repair-split .prose { display: block; min-height: 0; margin-top: 18px; }
  .repair-strip { margin-bottom: 16px; }
  .repair-split .prose p + .repair-strip { margin-top: 16px; }
  .repair-split .photo-strip { margin-top: 18px; }
  .mosaic { padding: 0 8px 8px; }
  .hero-copy, .photo-copy { padding: 32px 22px; }
  .photo-hero { min-height: 0; }
  .photo-hero .photo-visual { position: relative; height: 340px; }
  .photo-hero .photo-visual img { object-position: 72% 12%; }
  .photo-hero::after { background: linear-gradient(to top, #090909 0%, rgba(9, 9, 9, 0) 36%); }
  .photo-hero .photo-copy { width: auto; min-height: 0; }
  .script-note { right: 4%; left: auto; top: 22px; max-width: 7em; }
  .service-photo { width: auto; margin-left: 0; }
  .service-photo::after {
    background: linear-gradient(to bottom, var(--dark) 0%, rgba(16, 14, 12, 0.55) 16%, rgba(16, 14, 12, 0) 40%);
  }
}
@media (max-width: 640px) {
  .site-header { padding: 8px 14px; gap: 10px; flex-wrap: wrap; row-gap: 8px; }
  .header-end { flex: 1 1 100%; margin-left: 0; }
  .header-end .btn { width: 100%; }
  .brand-name { font-size: 28px; }
  .tiles, .tiles-4, .products, .cutouts, .footer-grid, .repair-steps { grid-template-columns: 1fr 1fr; }
  .photo-strip { flex-wrap: wrap; }
  .review { flex-basis: 100%; }
  .reviews-nav { width: 36px; height: 36px; }
  .wrap, .prints, .lower, .reviews, .page-intro, .about-story { padding-left: 14px; padding-right: 14px; }
  .legal { flex-direction: column; }
  .btn { padding: 0 12px; }
}
.doc {
  width: min(70vw, 1280px);
  margin: 28px auto 48px;
  padding: 8px 0 12px;
}
.doc[hidden] { display: none !important; }
.doc h1 { margin: 8px 0 8px; font-size: clamp(40px, 5vw, 56px); line-height: 0.95; text-align: center; }
.doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 10px 0 6px;
}
.doc-head h1 { margin: 0; text-align: left; flex: 1 1 auto; }
.doc .lead {
  max-width: none;
  margin: 0;
  text-align: left;
  color: var(--muted);
  font-size: 18px;
}
.doc .lead.lead-center { text-align: center; }
.doc h2 { margin: 26px 0 8px; font-size: 28px; line-height: 1.1; }
.doc h3 { margin: 18px 0 6px; font-size: 20px; }
.doc p, .doc li { color: #3f3832; }
.doc p + p, .doc ul, .doc li + li { margin-top: 8px; }
.doc ul { padding-left: 18px; }
.doc a { color: var(--gold); }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0 4px; font-size: 15px; }
.doc th, .doc td { border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; padding: 8px 8px 8px 0; }
.doc th { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #3f2c1c; }
.eu-mark { margin: 0; flex: 0 0 auto; text-align: center; }
.eu-mark svg { width: 78px; height: 78px; display: block; margin: 0 auto; }
.eu-mark figcaption {
  margin-top: 4px;
  color: #3f2c1c;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.doc-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 8px; }
.doc-tools button {
  border: 1.5px solid #c4a15a;
  border-radius: 999px;
  background: #fffdf8;
  color: var(--ink);
  padding: 6px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.doc-tools button.is-on,
.doc-tools button[data-print] {
  color: #fffdf8;
  border-color: #e2c48a;
  background: linear-gradient(180deg, #4a3d2c 0%, #241c14 46%, #100e0c 100%);
}
.doc-stamp { margin-top: 28px; color: var(--muted); font-size: 13px; }
@media (max-width: 640px) {
  .doc { width: min(92vw, 1280px); }
  .doc-head { gap: 12px; }
  .doc-head h1 { font-size: 32px; }
  .eu-mark svg { width: 56px; height: 56px; }
  .eu-mark figcaption { letter-spacing: .08em; font-size: 9px; }
}
@page {
  size: A4 portrait;
  margin: 8mm;
}
@media print {
  html, body {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    color: #1c1814 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 11pt;
    line-height: 1.35;
  }
  body, body * { font-family: Arial, Helvetica, sans-serif !important; }
  .site-header, .site-footer, .cookie-bar, .cookie-shade, .skip, .doc-tools { display: none !important; }
  main { margin: 0; padding: 0; }
  .doc {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .doc h1 { margin: 0 0 6pt; font-size: 20pt; font-weight: 700; letter-spacing: 0; line-height: 1.15; }
  .doc h2 { margin: 14pt 0 4pt; font-size: 13pt; font-weight: 700; letter-spacing: 0; line-height: 1.2; }
  .doc h3 { margin: 10pt 0 3pt; font-size: 12pt; font-weight: 700; letter-spacing: 0; }
  .doc .lead, .doc p, .doc li { font-size: 11pt; color: #1c1814; }
  .doc table, .doc th, .doc td { font-size: 10pt; }
  .eu-mark svg { width: 18mm; height: 18mm; }
  .eu-mark figcaption { font-size: 8pt; letter-spacing: .12em; }
  .doc-stamp { font-size: 9pt; }
  a { color: #1c1814 !important; text-decoration: none; }
  h2, h3, tr { break-inside: avoid; }
}
.cookie-shade {
  position: fixed;
  z-index: 79;
  inset: 0;
  background: rgba(16, 14, 12, 0.72);
  pointer-events: none;
}
.cookie-bar {
  position: fixed;
  z-index: 81;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 16px;
  background: #100e0c;
  color: #f6f1e8;
  border: 1.5px solid #c4a15a;
  border-radius: 16px;
  box-shadow: 0 16px 32px rgba(16, 14, 12, .35);
}
.cookie-bar p { margin: 0; font-size: 14px; line-height: 1.45; }
.cookie-bar a { color: #e2c48a; }
.cookie-bar .btn { flex: none; }
@media (max-width: 640px) {
  .cookie-bar { flex-direction: column; align-items: stretch; }
}
