@font-face {
  font-family: Manrope;
  src: url('../fonts/Manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
/* Запасные шрифты с подогнанными метриками: текст не «прыгает», пока грузятся веб-шрифты */
@font-face {
  font-family: 'Manrope Fallback';
  src: local('Arial'), local('Liberation Sans'), local('Helvetica');
  size-adjust: 97.78%;
  ascent-override: 109.02%;
  descent-override: 30.68%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Source Serif Fallback';
  src: local('Times New Roman'), local('Liberation Serif'), local('Times');
  size-adjust: 111.28%;
  ascent-override: 93.1%;
  descent-override: 30.11%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Source Serif';
  src: url('../fonts/SourceSerif4.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --outer: #261d17;
  --paper: #f7f3ec;
  --ink: #2d2119;
  --muted: #75614f;
  --gold: #d8b17c;
  --line: #d8c9b7;
  --dark: #2a1b12;
  --edge: clamp(24px, 4vw, 64px);
  color: var(--ink);
  background: var(--outer);
  font:
    16px/1.65 Manrope,
    'Manrope Fallback',
    Arial,
    sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure,
p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Georgia, 'Source Serif', serif;
  font-weight: 400;
  line-height: 1.1;
}
h1 {
  font-size: clamp(42px, 4.5vw, 68px);
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(30px, 3vw, 44px);
  letter-spacing: -0.025em;
}
h3 {
  font-size: 28px;
  letter-spacing: -0.02em;
}
p + p {
  margin-top: 14px;
}
button {
  color: inherit;
}
a,
button {
  touch-action: manipulation;
}
button {
  border: 0;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #a56a26;
  outline-offset: 5px;
}
.site-header :focus-visible,
.hero :focus-visible,
.contact-section :focus-visible {
  outline-color: #f7d096;
}
[hidden] {
  display: none !important;
}
.site-shell {
  width: calc(100% - 2 * clamp(24px, 3.125vw, 48px));
  max-width: 1600px;
  margin: auto;
  background: var(--paper);
  overflow: clip;
}
.wrap {
  width: 100%;
  max-width: 1408px;
  padding-left: var(--edge);
  padding-right: var(--edge);
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  background: #fff5e5;
  padding: 12px 22px;
  z-index: 50;
}
.skip:focus {
  transform: none;
}
.site-header {
  position: relative;
  background: #271a12;
  color: #f5ecdf;
  z-index: 5;
  border-bottom: 1px solid #eee1cd55;
}
.header-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  min-height: 88px;
}
.brand {
  font:
    36px/1 Georgia,
    'Source Serif',
    serif;
  display: inline-block;
  justify-self: start;
}
.brand small {
  display: block;
  font:
    9px/1.5 Manrope,
    Arial,
    sans-serif;
  letter-spacing: 1.8px;
  margin-top: 7px;
  white-space: nowrap;
}
.main-nav {
  display: flex;
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
  justify-content: center;
}
.main-nav a,
.phone {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  white-space: nowrap;
}
.main-nav a {
  position: relative;
}
.main-nav a:after {
  position: absolute;
  content: '';
  bottom: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms;
}
.main-nav a:hover:after {
  transform: scaleX(1);
}
.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
}
.phone {
  font-size: 13px;
}
.languages {
  display: flex;
  align-items: center;
  border-left: 1px solid #675141;
  padding-left: 18px;
  font-size: 13px;
}
.languages a {
  min-height: 44px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  color: #c4b39e;
}
.languages a[aria-current] {
  color: #fff2dc;
}
.languages span {
  padding: 0 2px;
  color: #ab9680;
}
.languages a:hover {
  color: white;
}
.menu-button {
  display: none;
  background: transparent;
  border: 1px solid #755a45;
  border-radius: 4px;
  min-height: 44px;
  padding: 5px 10px;
  gap: 9px;
  align-items: center;
  font-size: 14px;
}
.search-strip {
  border-top: 1px solid #4b3626;
  border-bottom: 1px solid #4b3626;
  background: #302217;
}
.site-search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  min-height: 58px;
}
.site-search label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #d8c8b3;
  letter-spacing: 0.02em;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
  border-bottom: 1px solid #8a6f50;
  width: 355px;
}
.site-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: none;
  color: #fff4e6;
  font-size: 12px;
  min-height: 42px;
  padding: 8px 4px;
}
.site-search input::placeholder {
  color: #c4b19a;
  opacity: 1;
}
.search-submit {
  flex: none;
  min-height: 44px;
  padding: 7px 0 7px 12px;
  background: none;
  color: #e8c698;
  font-size: 12px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.search-submit:hover {
  color: #fff;
}
.search-panel {
  background: #faf6ef;
  color: var(--ink);
  padding-top: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.search-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.search-heading button {
  background: none;
  font-size: 13px;
  min-height: 44px;
}
.search-status {
  font-weight: 600;
}
.search-scope {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 10px;
}
.search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 32px;
}
.search-result {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.search-result small {
  font-size: 11px;
  color: var(--muted);
}
.search-result strong {
  display: block;
  font:
    25px/1.3 Georgia,
    serif;
  margin: 4px 0;
}
.search-result p {
  font-size: 13px;
  color: var(--muted);
}
.no-script {
  font-size: 13px;
  padding-block: 14px;
}
.eyebrow {
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: #815b37;
  margin-bottom: 22px;
}
.ornament {
  display: flex;
  gap: 18px;
  align-items: center;
}
.ornament:before {
  content: '❧';
  font:
    36px/1 Georgia,
    serif;
  color: #b68a51;
  flex: none;
}
.ornament:after {
  content: '';
  height: 1px;
  width: 64px;
  background: var(--line);
}
.hero {
  position: relative;
  display: grid;
  isolation: isolate;
  color: #fcf7ef;
  background: #291a11;
}
.hero:before {
  content: '';
  grid-area: 1/1;
  aspect-ratio: 1862/845;
  pointer-events: none;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #160e089c 0%, #160e084a 34%, transparent 57%);
  z-index: -1;
}
.hero-layout {
  grid-area: 1/1;
  display: flex;
  align-items: center;
}
.hero-copy {
  width: 53%;
  max-width: 640px;
  padding: 54px 0 76px;
}
.hero .eyebrow {
  color: #e0c397;
  font-size: 11px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(44px, 4.8vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.hero h1 span {
  display: block;
}
.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: #ece0d0;
  margin-top: 24px;
  max-width: 380px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 54px;
  padding: 14px 23px;
  background: linear-gradient(110deg, #dcb887, #f4e5c8);
  box-shadow: 0 3px 18px #100b0412;
  color: #302114;
  border: 1px solid #d9bd94;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition:
    filter 180ms,
    box-shadow 180ms,
    transform 120ms;
}
.button:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 22px #100b0428;
}
.button:active {
  transform: translateY(1px);
}
.button span {
  font-size: 21px;
  line-height: 1;
  transition: transform 200ms;
}
.button:hover span {
  transform: translateX(3px);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
}
.hero .text-link {
  color: #edd0a4;
}
.text-link:hover {
  color: #a56a26;
}
.hero .text-link:hover {
  color: #fff4df;
}
.about-section {
  position: relative;
  margin-top: -16px;
  border-radius: 20px 20px 0 0;
  background: radial-gradient(ellipse at 35% 0, #fffaf2, var(--paper) 75%);
  padding-top: 48px;
  z-index: 1;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}
.about-grid h2 {
  max-width: 490px;
  font-size: clamp(30px, 2.8vw, 40px);
}
.about-body {
  font-size: 17px;
  color: #624732;
  margin-top: 20px;
  max-width: 450px;
}
.about-grid .muted {
  font-size: 13px;
  margin-top: 10px;
}
.muted {
  color: var(--muted);
}
.macro-frame {
  overflow: hidden;
  border-radius: 8px;
  height: 205px;
  background: #dec8a7;
}
.macro-frame img {
  width: 100%;
  height: calc(100% + 24px);
  max-width: none;
  object-fit: cover;
  transform: translateY(-12px);
  will-change: auto;
}
.works-section {
  padding-top: 66px;
  padding-bottom: 76px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 48px;
  margin-bottom: 32px;
}
.section-heading .eyebrow {
  margin-bottom: 16px;
}
.section-heading > p {
  font-size: 14px;
  max-width: 330px;
  padding-bottom: 4px;
}
.section-heading h2 {
  font-size: clamp(30px, 2.5vw, 38px);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.work-card {
  min-width: 0;
}
.card-image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 7px;
  aspect-ratio: 3/2;
  background: #3c2718;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 93% 50%;
}
.image-affordance {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f6ecdbc9;
  color: #37271a;
  font-size: 20px;
  transition: background 180ms;
}
.card-image:hover .image-affordance {
  background: #fff5e8;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 17px 0 5px;
}
.category {
  font-size: 11px;
  letter-spacing: 0.055em;
  color: #775d44;
}
.card-number {
  font-size: 11px;
  color: #806d5a;
}
.work-card h3 {
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.22;
}
.work-card h3 a:hover {
  color: #875a2b;
}
.card-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  min-height: 44px;
  font-size: 11px;
  color: #715132;
  margin-top: 5px;
}
.card-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-section {
  background: radial-gradient(ellipse at 85% 30%, #493324, #2b1d14 70%);
  color: #f9edda;
  padding-block: 58px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 90px;
}
.contact-section .eyebrow {
  color: #debd8e;
  margin-bottom: 18px;
}
.contact-section .ornament:after {
  background: #725438;
}
.contact-section h2 {
  font-size: clamp(32px, 3vw, 44px);
}
.contact-section p:not(.eyebrow) {
  margin-top: 19px;
  color: #d8c3ab;
  font-size: 14px;
  max-width: 510px;
}
.contact-phone {
  position: relative;
  display: block;
  font:
    clamp(26px, 2.5vw, 34px)/1.3 Georgia,
    serif;
  padding-bottom: 21px;
  border-bottom: 1px solid #73573e;
}
.contact-phone small {
  display: block;
  font:
    11px/1.5 Manrope,
    sans-serif;
  letter-spacing: 0.08em;
  color: #d8bc94;
  margin-bottom: 10px;
}
.contact-phone > span {
  position: absolute;
  right: 0;
  bottom: 24px;
  font-size: 24px;
}
.messengers {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
}
.messengers a {
  font-size: 12px;
  min-height: 44px;
  display: flex;
  gap: 15px;
  align-items: center;
}
.messengers a:hover {
  color: var(--gold);
}
.site-footer {
  background: #f0e8dc;
  padding-block: 36px;
  color: #5d4937;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.site-footer .brand {
  font-size: 30px;
  color: #38281c;
}
.site-footer p {
  font-size: 11px;
  margin-top: 11px;
  letter-spacing: 0.04em;
}
.site-footer nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 12px;
}
.site-footer nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.site-footer nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
  padding-top: 25px;
  padding-bottom: 26px;
  font-size: 11px;
  color: #7a634d;
}
.breadcrumbs a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs > span:last-child {
  color: #493323;
}
.work-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(35px, 5vw, 85px);
  align-items: start;
  padding-bottom: 66px;
}
.work-gallery {
  min-width: 0;
}
.detail-image {
  position: relative;
  display: block;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 8px;
  background: #3c2718;
}
.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 93% 50%;
}
.zoom-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #241a13e8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #fff0d7;
  padding: 10px 14px;
  border: 1px solid #aa886255;
  border-radius: 4px;
  font-size: 11px;
  backdrop-filter: blur(6px);
}
.zoom-label > span {
  font-size: 19px;
}
figcaption {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 10px;
}
.work-copy {
  padding-top: 36px;
  min-width: 0;
}
.work-copy h1 {
  font-family: 'Source Serif', 'Source Serif Fallback', Georgia, serif;
  font-size: clamp(42px, 4.6vw, 66px);
  line-height: 1.08;
  max-width: 510px;
}
.work-copy .eyebrow {
  margin-bottom: 25px;
}
.lead {
  font-size: 18px;
  line-height: 1.6;
  margin-top: 22px;
  max-width: 440px;
  color: #684b35;
}
.work-description {
  font-size: 14px;
  max-width: 445px;
  margin-top: 20px;
  line-height: 1.85;
}
.work-facts {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 20px;
  display: grid;
  gap: 10px;
  font-size: 12px;
}
.work-facts > div {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 15px;
}
.work-facts dt {
  color: var(--muted);
}
.work-cta-note {
  font-size: 14px;
  margin: 27px 0 18px;
  max-width: 375px;
}
.back-link {
  display: flex;
  width: fit-content;
  margin-top: 17px;
  color: #795635;
}
.original-link {
  display: flex;
  gap: 15px;
  align-items: center;
  width: fit-content;
  margin-top: 20px;
  font-size: 12px;
}
.original-link img {
  width: 42px;
  height: 55px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.original-link:hover {
  text-decoration: underline;
}
.scene-note {
  font-size: 11px;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.65;
  margin-top: 12px;
}
@media (min-width: 1001px) and (max-width: 1350px) {
  .phone {
    display: none;
  }
  .header-main {
    gap: 24px;
  }
  .main-nav {
    gap: 30px;
  }
  .hero-copy {
    padding-block: 40px 58px;
  }
  .hero h1 {
    font-size: clamp(44px, 4.7vw, 62px);
  }
  .hero .actions {
    gap: 8px 22px;
  }
  .hero-lead {
    font-size: 16px;
  }
  .hero .button {
    padding-inline: 18px;
    font-size: 13px;
    gap: 20px;
  }
  .about-grid {
    gap: 35px;
  }
  .contact-grid {
    gap: 45px;
  }
  .work-copy {
    padding-top: 10px;
  }
  .work-copy .eyebrow {
    margin-bottom: 18px;
  }
}
@media (max-width: 1000px) {
  .site-shell {
    width: 100%;
  }
  :root {
    --edge: 32px;
  }
  .header-main {
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 82px;
    gap: 16px;
    padding-block: 10px;
  }
  .brand {
    font-size: 30px;
  }
  .brand small {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .phone {
    display: none;
  }
  .languages {
    border: 0;
    padding-left: 0;
  }
  /* Меню свёрнуто сразу, ещё до загрузки скриптов: шапка не меняет высоту (нет сдвига страницы).
     Без JavaScript меню открывается фокусом на кнопке. */
  .menu-button {
    display: flex;
  }
  .main-nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: start;
    flex-wrap: wrap;
    gap: 10px 24px;
    padding: 8px 0;
  }
  .main-nav {
    display: none;
  }
  .main-nav.open,
  .main-nav:focus-within,
  html:not(.js) .header-main:has(.menu-button:focus) .main-nav {
    display: flex;
  }
  .main-nav a {
    font-size: 15px;
  }
  .site-search {
    justify-content: space-between;
    gap: 20px;
  }
  .site-search label {
    font-size: 11px;
  }
  .search-input-wrap {
    width: 340px;
  }
  .hero {
    display: flex;
    flex-direction: column;
  }
  .hero:before,
  .hero:after {
    display: none;
  }
  .hero-layout {
    order: 0;
  }
  .hero-copy {
    width: 100%;
    max-width: none;
    padding: 38px 0 0;
  }
  .hero h1 {
    font-size: 48px;
    line-height: 1.06;
    max-width: 640px;
  }
  .hero h1 span {
    display: inline;
  }
  .hero .eyebrow {
    margin-bottom: 16px;
  }
  .hero-lead {
    margin-top: 18px;
    font-size: 17px;
    max-width: none;
  }
  .hero .actions {
    margin-top: 22px;
    gap: 25px;
  }
  .hero-image {
    position: static;
    order: 1;
    margin: 28px var(--edge) 32px;
    z-index: auto;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 3/2;
  }
  .hero-image img {
    object-position: 82% 50%;
  }
  .about-section {
    margin: 0;
    border-radius: 0;
    padding-top: 40px;
  }
  .about-grid {
    gap: 30px;
  }
  .about-grid h2 {
    font-size: 31px;
  }
  .about-body {
    font-size: 15px;
  }
  .about-grid .muted {
    font-size: 12px;
  }
  .macro-frame {
    height: 200px;
  }
  .works-section {
    padding-top: 46px;
    padding-bottom: 52px;
  }
  .section-heading {
    gap: 30px;
  }
  .section-heading > p {
    font-size: 13px;
    max-width: 270px;
  }
  .work-grid {
    gap: 18px;
  }
  .work-card h3 {
    font-size: 24px;
  }
  .card-meta {
    margin-top: 14px;
  }
  .category {
    font-size: 11px;
  }
  .contact-grid {
    gap: 36px;
  }
  .contact-section {
    padding-block: 42px;
  }
  .contact-phone {
    font-size: 26px;
  }
  .contact-section p:not(.eyebrow) {
    font-size: 13px;
  }
  .messengers {
    gap: 12px;
  }
  .messengers a {
    gap: 8px;
    font-size: 11px;
  }
  .work-detail {
    gap: 30px;
  }
  .work-copy {
    padding-top: 5px;
  }
  .work-copy h1 {
    font-size: 44px;
  }
  .work-copy .eyebrow {
    font-size: 11px;
    margin-bottom: 18px;
  }
  .work-copy .ornament {
    gap: 12px;
  }
  .work-copy .ornament:after {
    width: 35px;
  }
  .lead {
    font-size: 16px;
    margin-top: 18px;
  }
  .work-description {
    font-size: 13px;
  }
  .work-facts {
    margin-top: 22px;
    padding-block: 14px;
    font-size: 11px;
  }
  .work-cta-note {
    font-size: 13px;
  }
  .work-copy .button {
    font-size: 13px;
    gap: 16px;
    padding-inline: 18px;
  }
  .work-copy .back-link {
    font-size: 12px;
  }
  .footer-row {
    gap: 25px;
  }
  .site-footer nav {
    gap: 20px;
    font-size: 11px;
  }
}
@media (max-width: 650px) {
  :root {
    --edge: 22px;
  }
  .header-main {
    gap: 10px;
    min-height: 80px;
  }
  .brand {
    font-size: 29px;
  }
  .brand small {
    font-size: 7.5px;
    letter-spacing: 1.25px;
  }
  .languages {
    font-size: 12px;
  }
  .languages a {
    padding-inline: 4px;
  }
  .menu-button {
    font-size: 12px;
    padding-inline: 8px;
    gap: 7px;
  }
  .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 0 10px;
  }
  .main-nav a {
    min-height: 48px;
    border-top: 1px solid #5e4431;
  }
  .site-search {
    display: block;
    padding-block: 11px 9px;
  }
  .site-search label {
    font-size: 11px;
    gap: 8px;
  }
  .site-search label svg {
    width: 15px;
    height: 15px;
  }
  .search-input-wrap {
    width: 100%;
    border-color: #775a3e;
  }
  .site-search input {
    font-size: 12px;
    min-height: 42px;
  }
  .search-submit {
    font-size: 12px;
  }
  .search-results {
    grid-template-columns: 1fr;
  }
  .search-panel {
    padding-block: 17px 25px;
  }
  .search-status {
    font-size: 13px;
  }
  .hero-copy {
    padding-top: 30px;
  }
  .hero h1 {
    font-size: clamp(36px, 9.5vw, 52px);
    line-height: 1.07;
    letter-spacing: -0.025em;
  }
  .hero h1 span {
    display: block;
  }
  .hero .eyebrow {
    font-size: 11px;
    margin-bottom: 17px;
  }
  .hero-lead {
    font-size: 16px;
    margin-top: 20px;
    max-width: 320px;
  }
  .hero .actions {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-top: 23px;
  }
  .hero .button {
    width: 100%;
    padding-inline: 19px;
    font-size: 14px;
  }
  .hero .text-link {
    font-size: 12px;
    align-self: flex-start;
  }
  .hero-image {
    aspect-ratio: 4/5;
    margin-top: 18px;
    margin-bottom: 28px;
  }
  .hero-image img {
    object-position: 100% 50%;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .about-section {
    padding-top: 32px;
  }
  .ornament {
    gap: 13px;
  }
  .ornament:before {
    font-size: 32px;
  }
  .ornament:after {
    width: 46px;
  }
  .eyebrow {
    font-size: 11px;
    margin-bottom: 18px;
  }
  .about-grid h2 {
    font-size: 32px;
    max-width: 380px;
  }
  .about-body {
    font-size: 16px;
    margin-top: 17px;
  }
  .about-grid .muted {
    font-size: 12px;
  }
  .macro-frame {
    height: auto;
    aspect-ratio: 2.6/1;
  }
  .works-section {
    padding-top: 39px;
    padding-bottom: 38px;
  }
  .section-heading {
    display: block;
    margin-bottom: 25px;
  }
  .section-heading h2 {
    font-size: 32px;
    max-width: 330px;
  }
  .section-heading > p {
    font-size: 13px;
    max-width: 330px;
    margin-top: 17px;
  }
  .section-heading .eyebrow {
    margin-bottom: 17px;
  }
  .work-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .card-image {
    aspect-ratio: 4/5;
  }
  .card-meta {
    margin: 16px 0 5px;
  }
  .work-card h3 {
    font-size: 29px;
  }
  .category {
    font-size: 11px;
  }
  .card-link {
    font-size: 12px;
  }
  .contact-section {
    padding-block: 35px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 29px;
  }
  .contact-section h2 {
    font-size: 34px;
    max-width: 350px;
  }
  .contact-section p:not(.eyebrow) {
    font-size: 14px;
    margin-top: 18px;
  }
  .contact-phone {
    font-size: 32px;
  }
  .contact-phone small {
    font-size: 11px;
  }
  .messengers a {
    font-size: 12px;
  }
  .messengers {
    padding-top: 13px;
  }
  .footer-row {
    display: block;
  }
  .site-footer {
    padding-block: 30px;
  }
  .site-footer nav {
    margin-top: 20px;
    gap: 5px 23px;
  }
  .site-footer nav a {
    font-size: 12px;
  }
  .breadcrumbs {
    font-size: 11px;
    padding-top: 16px;
    padding-bottom: 20px;
    gap: 5px 9px;
  }
  .work-detail {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-bottom: 36px;
  }
  .work-gallery {
    width: 100%;
    order: 1;
  }
  .work-copy {
    order: 0;
    padding: 0;
  }
  .work-copy h1 {
    font-size: 46px;
    max-width: 390px;
  }
  .work-copy .eyebrow {
    margin-bottom: 16px;
  }
  .work-copy .lead {
    font-size: 17px;
    line-height: 1.55;
    margin-top: 18px;
  }
  .work-description {
    font-size: 14px;
    margin-top: 15px;
  }
  .work-facts {
    font-size: 12px;
    gap: 12px;
    margin-top: 23px;
    padding-block: 17px;
  }
  .work-facts > div {
    grid-template-columns: 1fr 1.45fr;
  }
  .work-cta-note {
    font-size: 14px;
    margin-top: 23px;
  }
  .work-copy .button {
    font-size: 14px;
    width: 100%;
    min-height: 54px;
    padding-inline: 19px;
  }
  .back-link {
    margin-top: 13px;
  }
  .detail-image {
    aspect-ratio: 4/5;
  }
  .original-link {
    margin-top: 17px;
  }
  .scene-note {
    font-size: 11px;
  }
}
@media (max-width: 359px) {
  .header-main {
    gap: 7px;
  }
  .brand {
    font-size: 25px;
  }
  .brand small {
    font-size: 6.5px;
    letter-spacing: 1px;
  }
  .menu-button {
    padding-inline: 7px;
    font-size: 11px;
  }
  .menu-button span {
    display: none;
  }
  .languages {
    font-size: 11px;
  }
  .languages a {
    padding-inline: 3px;
  }
  .contact-phone {
    font-size: 28px;
  }
  .work-copy h1 {
    font-size: 41px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .macro-frame img {
    transform: translateY(-12px) !important;
  }
}
/* The artwork follows its title on mobile; the same content forms two desktop columns. */
.work-detail {
  row-gap: 0;
  grid-template-rows: auto 1fr;
}
.work-copy {
  display: contents;
}
.work-gallery {
  grid-column: 1;
  grid-row: 1 / 3;
}
.work-title {
  grid-column: 2;
  grid-row: 1;
  padding-top: 36px;
  padding-bottom: 22px;
}
.work-information {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}
.work-information .work-description {
  margin-top: 0;
}
.zoom-label {
  left: auto;
  right: 14px;
  bottom: auto;
  top: 14px;
  padding: 7px 12px;
  border-radius: 4px;
  min-height: 40px;
  background: #241a13d9;
}
.ornament:before {
  content: '';
  width: 28px;
  height: 32px;
  display: block;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 48'%3E%3Cg fill='none' stroke='%23b68a51' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 45C9 30 23 22 37 10M13 35C26 37 34 27 33 20M18 29C6 28 6 18 9 13C18 15 20 21 18 29M23 24C19 11 23 5 31 5C33 14 30 19 23 24M31 17C35 8 41 7 44 10M14 22C4 18 4 11 6 7C15 9 18 15 14 22M25 11C19 3 14 4 11 7'/%3E%3C/g%3E%3C/svg%3E");
}
h1,
h2,
h3,
.about-body,
.lead,
.work-description,
.contact-phone {
  overflow-wrap: break-word;
}
@media (min-width: 651px) and (max-width: 1350px) {
  .work-title {
    padding-top: 10px;
    padding-bottom: 18px;
  }
}
@media (max-width: 650px) {
  .work-title {
    order: 0;
    padding: 0;
  }
  .work-information {
    order: 2;
  }
  .work-detail {
    gap: 25px;
  }
  .work-title .lead {
    margin-top: 15px;
  }
  .zoom-label {
    top: 12px;
    right: 12px;
    font-size: 11px;
    padding: 5px 9px;
    min-height: 36px;
  }
  .work-information .work-description {
    font-size: 14px;
  }
  .work-gallery .scene-note {
    margin-top: 10px;
  }
}
/* Text enlargement must expand and wrap content instead of clipping the grid. */
.about-grid > *,
.contact-grid > *,
.work-title,
.work-information,
.contact-options {
  min-width: 0;
  max-width: 100%;
}
.messengers {
  flex-wrap: wrap;
}
.contact-phone {
  padding-right: 28px;
}
.eyebrow {
  overflow-wrap: break-word;
}
.header-main.adaptive-header {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  padding-block: 14px;
}
.header-main.adaptive-header .brand {
  grid-column: 1/-1;
  grid-row: 1;
  margin-bottom: 8px;
}
.header-main.adaptive-header .menu-button {
  display: flex;
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
}
.header-main.adaptive-header .header-tools {
  grid-column: 2;
  grid-row: 2;
}
.header-main.adaptive-header .phone {
  display: none;
}
.header-main.adaptive-header .languages {
  border: 0;
  padding: 0;
}
.header-main.adaptive-header .main-nav {
  display: none;
  grid-column: 1/-1;
  grid-row: 3;
  flex-wrap: wrap;
  justify-content: start;
  white-space: normal;
}
.header-main.adaptive-header .main-nav.open {
  display: flex;
}
.header-main.adaptive-header .main-nav a {
  white-space: normal;
}
@media (max-width: 650px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .work-title,
  .work-information {
    width: 100%;
  }
  .eyebrow:after {
    flex-shrink: 1;
  }
}
/* Contact numbers use lining figures, aligned on a single baseline. */
.contact-phone {
  font-family: Manrope, 'Manrope Fallback', Arial, sans-serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 400;
  letter-spacing: -0.025em;
}
/* The three messenger marks share the label color, size and alignment. */
.messenger-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.messenger-icon {
  width: 16px;
  height: 16px;
  flex: none;
  fill: currentColor;
}
@media (max-width: 380px) {
  .messengers > a > span:last-child {
    display: none;
  }
  .messengers {
    gap: 8px;
  }
  .messengers a {
    font-size: 11px;
  }
  .messenger-label {
    gap: 6px;
  }
}
/* Owner review: search shares the existing header, without a separate strip. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.header-main {
  gap: 24px;
}
.header-tools {
  gap: 14px;
}
.header-tools .site-search {
  display: flex;
  justify-content: initial;
  gap: 0;
  min-height: 44px;
  width: clamp(112px, 13.5vw, 190px);
  padding: 0;
  border-bottom: 1px solid #745a42;
}
.header-tools .site-search input {
  font-size: 13px;
  color: inherit;
  min-height: 44px;
  padding: 8px 2px;
  width: 100%;
  min-width: 0;
}
.header-tools .site-search input::placeholder {
  color: inherit;
  opacity: 0.85;
}
.header-tools .search-submit {
  padding: 0;
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  min-height: 44px;
  color: inherit;
}
.header-tools .languages {
  border-left: 1px solid #806247;
  padding-left: 14px;
}
.section-heading .portfolio-label {
  font:
    11px/1.5 Manrope,
    Arial,
    sans-serif;
  letter-spacing: 0.17em;
  margin: 0;
  color: #815b37;
}
.works-section .section-heading {
  margin-bottom: 26px;
}
.contact-section h2 {
  font-size: clamp(28px, 2.5vw, 37px);
  line-height: 1.22;
  max-width: 550px;
}
.contact-phone {
  padding-right: 0;
}
.work-information > .button {
  margin-top: 28px;
}
.footer-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.15fr;
  align-items: start;
  gap: 48px;
}
.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 13px;
}
.site-footer nav a {
  min-height: 36px;
  width: fit-content;
}
.site-footer {
  padding-block: 42px;
}
.hero {
  overflow: clip;
}
.macro-frame img {
  height: calc(100% + 96px);
  transform: translateY(-48px);
}
@keyframes cta-breathe {
  0%,
  100% {
    filter: brightness(1);
    scale: 1;
    box-shadow: 0 3px 18px #100b0412;
  }
  50% {
    filter: brightness(1.06);
    scale: 1.018;
    box-shadow: 0 5px 22px #d8b17c38;
  }
}
.button {
  animation: cta-breathe 2.6s ease-in-out infinite;
}
.button:hover,
.button:focus-visible {
  animation-play-state: paused;
}
@media (min-width: 1001px) and (max-width: 1200px) {
  .main-nav {
    gap: 22px;
  }
  .main-nav a {
    font-size: 13px;
  }
  .header-tools {
    gap: 10px;
  }
  .header-tools .languages {
    padding-left: 10px;
  }
  .header-tools .site-search {
    width: 125px;
  }
  .brand {
    font-size: 32px;
  }
}
@media (max-width: 1000px) {
  .header-main {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 16px;
  }
  .header-tools .site-search {
    width: clamp(115px, 22vw, 185px);
  }
  .header-tools {
    gap: 12px;
  }
  .header-tools .languages {
    padding-left: 12px;
  }
  .header-main .main-nav {
    grid-row: 2;
  }
  .footer-row {
    gap: 28px;
  }
  .site-footer nav {
    font-size: 12px;
  }
}
@media (max-width: 650px) {
  .header-main {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 15px;
    padding-block: 12px 8px;
  }
  .header-main > .brand {
    grid-column: 1;
    grid-row: 1;
  }
  .header-main > .menu-button {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .header-main > .header-tools {
    grid-column: 1/-1;
    grid-row: 2;
    justify-self: stretch;
    display: flex;
    width: 100%;
    gap: 14px;
  }
  .header-tools .site-search {
    flex: 1;
    width: auto;
  }
  .header-tools .site-search input {
    font-size: 13px;
  }
  .header-main .main-nav {
    grid-row: 3;
  }
  .header-main .languages {
    font-size: 12px;
    padding-left: 14px;
  }
  .section-heading .portfolio-label {
    font-size: 11px;
  }
  .works-section .section-heading {
    margin-bottom: 22px;
  }
  .contact-section h2 {
    font-size: 29px;
    line-height: 1.25;
  }
  .contact-grid {
    gap: 28px;
  }
  .footer-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 23px 22px;
  }
  .footer-row > div {
    grid-column: 1/-1;
  }
  .site-footer nav {
    margin-top: 0;
    gap: 5px;
    font-size: 12px;
  }
  .site-footer nav a {
    width: auto;
    line-height: 1.55;
    min-height: 36px;
  }
  .work-information > .button {
    margin-top: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .macro-frame img {
    transform: none !important;
  }
  .hero-image img {
    transform: none !important;
  }
  .button {
    animation: none !important;
  }
}
/* Refinement: one quiet search field with a text-color clear action. */
.header-tools .site-search {
  border-radius: 2px;
  transition:
    background-color 160ms,
    border-color 160ms;
}
.header-tools .site-search:focus-within {
  background-color: #f5ecdf09;
  border-bottom-color: #d8b17c;
}
.header-tools .site-search input:focus {
  outline: none;
  box-shadow: none;
}
.site-search input::-webkit-search-cancel-button,
.site-search input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.header-tools .search-clear {
  background: none;
  color: inherit;
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  padding: 0;
  min-height: 44px;
}
.search-clear:hover {
  color: var(--gold);
}
.category-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.22;
}
.category-card .card-link {
  display: inline;
  margin: 0;
  min-height: 0;
  color: inherit;
  font: inherit;
}
.category-card .card-link svg {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
}
.category-card .card-caption {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.footer-row {
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.site-footer nav {
  margin: 0;
  gap: 0;
}
.site-footer nav a {
  overflow-wrap: break-word;
  max-width: 100%;
}
@media (max-width: 1000px) {
  .header-tools .site-search {
    border-bottom: 0;
  }
  .header-tools .languages {
    border-left: 0;
    padding-left: 0;
  }
  .header-main .menu-button {
    border: 0;
    padding-inline: 0;
    gap: 8px;
    border-radius: 0;
  }
  .footer-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
  .footer-row > div {
    grid-column: 1/-1;
  }
}
@media (max-width: 650px) {
  .header-main {
    gap: 0 15px;
    padding-block: 10px 4px;
  }
  .header-main .header-tools {
    gap: 14px;
  }
  .header-tools .site-search input {
    padding-left: 0;
  }
  .header-main .languages {
    padding-left: 0;
  }
  .header-main .menu-button {
    font-size: 12px;
  }
  .contact-section {
    padding-block: 27px;
  }
  .contact-section h2 {
    font-size: 24px;
    line-height: 1.3;
    max-width: 330px;
  }
  .contact-grid {
    gap: 17px;
  }
  .contact-phone {
    font-size: 26px;
    line-height: 1.4;
    padding-block: 2px 12px;
  }
  .messengers {
    padding-top: 5px;
    gap: 8px;
  }
  .messengers a {
    font-size: 11px;
    min-height: 44px;
    gap: 8px;
  }
  .messenger-icon {
    width: 14px;
    height: 14px;
  }
  .messenger-label {
    gap: 6px;
  }
  .category-card h3 {
    margin: 0 0 12px;
    font-size: 26px;
    line-height: 1.2;
  }
  .footer-row {
    column-gap: 16px;
    row-gap: 20px;
  }
  .site-footer nav a {
    font-size: 11px;
    line-height: 1.5;
    min-height: 40px;
    align-items: flex-start;
    padding-block: 8px;
  }
  .site-footer {
    padding-block: 28px;
  }
}
@media (max-width: 359px) {
  .contact-section h2 {
    font-size: 23px;
  }
  .contact-phone {
    font-size: 24px;
  }
  .site-footer nav a {
    font-size: 10.5px;
  }
}
/* The complete 3:1 ornament photograph moves as a frame, without cover zoom or overscan. */
.macro-stage {
  min-width: 0;
}
.macro-frame {
  height: auto;
  aspect-ratio: 3/1;
}
.macro-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  transform: none;
}
/* Four actual workshop catalogues, with a balanced two-column tablet layout. */
@media (min-width: 1200px) {
  .work-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
  .category-card h3 {
    font-size: 24px;
    min-height: 2.44em;
  }
  .category-card {
    display: flex;
    flex-direction: column;
  }
}
@media (min-width: 651px) and (max-width: 1199px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
  .category-card h3 {
    min-height: 2.44em;
  }
}
/* Compact search: magnifier and input form one group, without separator lines. */
.header-tools .site-search {
  flex: 0 1 156px;
  width: 156px;
  min-height: 32px;
  gap: 6px;
  border: 0;
  padding: 0;
  transition: background-color 160ms;
}
.header-tools .site-search:focus-within {
  border: 0;
  background-color: #f5ecdf09;
}
.header-tools .site-search input {
  min-height: 32px;
  height: 32px;
  line-height: 20px;
  padding: 6px 0;
  flex: 1;
}
.header-tools .search-submit {
  flex: 0 0 26px;
  min-height: 32px;
  height: 32px;
  padding: 0;
}
.header-tools .search-submit svg {
  width: 16px;
  height: 16px;
}
.header-tools .search-clear {
  flex: 0 0 26px;
  min-height: 32px;
  height: 32px;
}
.header-tools .languages {
  border: 0;
  padding-left: 0;
}
.header-tools .languages a {
  min-height: 32px;
}
@media (max-width: 650px) {
  .header-main .header-tools {
    justify-content: space-between;
  }
  .header-main .header-tools .site-search {
    flex: 0 1 156px;
  }
  .header-main .header-tools .languages {
    margin-left: auto;
  }
}
/* Restore the approved desktop header over the single, continuous hero photograph. */
.homepage .site-shell {
  position: relative;
}
@media (min-width: 1001px) {
  .homepage .hero-image img {
    position: absolute;
    right: 0;
    width: auto;
    max-width: none;
    height: 100%;
    object-fit: contain;
    mask-image: linear-gradient(to right, transparent, #000 18%);
  }
  .homepage .site-header {
    position: absolute;
    inset: 0 0 auto;
    background: linear-gradient(90deg, #1d140e33, #1d140e99);
    border-bottom-color: #cbbba377;
    color: #fff9ef;
  }
  .homepage .header-main {
    min-height: 72px;
  }
  .homepage .hero-layout {
    align-items: flex-start;
  }
  .homepage .hero-copy {
    padding-top: calc(var(--header-height, 73px) + clamp(32px, 3vw, 48px));
    padding-bottom: 64px;
  }
}

/* Shared page families. The approved homepage rules above remain unchanged. */
.content-page .site-header {
  position: relative;
  background: var(--dark);
}
.content-wrap {
  padding-top: 32px;
  padding-bottom: 80px;
  min-height: 60vh;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}
.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.page-heading {
  max-width: 960px;
  margin-bottom: 34px;
}
.page-heading h1 {
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.18;
  overflow-wrap: anywhere;
}
.source-language {
  margin: -12px 0 28px;
  font-size: 13px;
  color: var(--muted);
}
.source-body {
  overflow-wrap: anywhere;
}
.article-page .source-body,
.book-page .source-body,
.names-page .source-body,
.about-page .source-body {
  max-width: 820px;
  margin-inline: auto;
  font:
    20px/1.65 'Source Serif',
    Georgia,
    serif;
}
.source-text {
  margin-block: 20px;
}
.source-body p {
  margin-block: 14px;
}
.source-body h2 {
  font-size: 28px;
  line-height: 1.25;
  margin: 28px 0 16px;
}
.source-body h3,
.source-body h4 {
  font-size: 22px;
  margin: 22px 0 12px;
}
.source-body a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.source-body img {
  margin: 20px auto;
  max-height: 780px;
  width: auto;
  object-fit: contain;
}
.source-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.source-body td,
.source-body th {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.source-body blockquote {
  border-left: 2px solid var(--gold);
  padding-left: 20px;
  margin-inline: 0;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px 28px;
}
.catalog-card {
  min-width: 0;
  font:
    14px/1.65 Manrope,
    Arial,
    sans-serif;
}
.catalog-card h2 {
  font-size: 23px;
  margin: 16px 0 12px;
  line-height: 1.25;
}
.catalog-card img {
  width: 100%;
  height: 330px;
  object-fit: contain;
  margin: 0 0 16px;
  border-radius: 6px;
  background: #eee7dc;
}
.catalog-card a {
  text-decoration: none;
}
.catalog-card a:hover h2,
.catalog-card h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.workshop-card img {
  height: auto;
  aspect-ratio: 3/2;
}
.catalog-card hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 14px 0;
}
.catalog-card > div > div {
  margin-block: 10px;
}
.archive-group {
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.archive-group summary {
  cursor: pointer;
  padding: 14px 6px;
  font:
    22px/1.4 Georgia,
    serif;
}
.archive-group summary::marker {
  font-size: 13px;
  color: var(--muted);
}
.drawing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 20px 0 30px;
}
.drawing-grid img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  margin: 0;
}
.pagination {
  margin-block: 44px 12px;
}
.pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  justify-content: center;
}
.pagination a {
  display: flex;
  min-width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none;
  font:
    14px Manrope,
    sans-serif;
}
.pagination a[aria-current],
.pagination a:hover {
  background: var(--ink);
  color: var(--paper);
}
.pagination .disabled {
  display: none;
}
.artwork-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.artwork-layout figure {
  margin: 0;
}
.artwork-layout figure img {
  border-radius: 6px;
  width: 100%;
}
.artwork-layout figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
/* Размер главного фото иконы: поле «Размер главного фото» (work.image_size), доля ширины колонки фото.
   На телефоне (уже 600px) фото не уже 70% ширины экрана. */
.artwork-layout figure.main-size-85,
.artwork-layout figure.main-size-70,
.artwork-layout figure.main-size-50 {
  margin-inline: auto;
}
.artwork-layout figure.main-size-85 {
  width: 85%;
}
.artwork-layout figure.main-size-70 {
  width: 70%;
}
.artwork-layout figure.main-size-50 {
  width: 50%;
}
@media (max-width: 599px) {
  .artwork-layout figure.main-size-50 {
    width: 70%;
  }
}
.artwork-copy h2 {
  font-size: 25px;
  margin: 18px 0;
}
.artwork-copy p {
  font-size: 15px;
}
.artwork-copy .button {
  margin-top: 26px;
}
.artwork-copy ul {
  padding-left: 18px;
}
.artwork-copy li {
  margin-bottom: 10px;
}
.artwork-copy a:not(.button),
.section-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.section-links {
  display: flex;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin-block: 24px;
  font-size: 14px;
}
.contacts-page .contact-section {
  border-radius: 8px;
}
.source-unavailable {
  text-decoration: none;
}
.catalog-reading {
  max-width: 820px;
  margin: 56px auto 0;
  font:
    19px/1.65 'Source Serif',
    Georgia,
    serif;
}
.alphabet-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 44px;
}
.alphabet-letter {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font:
    24px Georgia,
    serif;
  text-decoration: none !important;
}
.alphabet-letter:hover {
  background: var(--ink);
  color: var(--paper);
}
@media (min-width: 1500px) {
  .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1000px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .drawing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .artwork-layout {
    grid-template-columns: 1fr;
  }
  .content-wrap {
    padding-top: 24px;
    padding-bottom: 48px;
  }
  .page-heading {
    margin-bottom: 26px;
  }
  .article-page .source-body,
  .book-page .source-body,
  .names-page .source-body,
  .about-page .source-body {
    font-size: 18px;
  }
  .catalog-grid {
    gap: 32px 18px;
  }
  .catalog-card h2 {
    font-size: 20px;
  }
  .catalog-card img {
    height: 260px;
  }
  .workshop-card img {
    height: auto;
  }
  .drawing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .drawing-grid img {
    height: 230px;
  }
}
@media (max-width: 480px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .catalog-card img {
    height: auto;
    max-height: 440px;
  }
  .breadcrumbs {
    font-size: 12px;
  }
  .source-body table {
    font-size: 14px;
  }
  .source-body td,
  .source-body th {
    padding: 5px;
  }
}


/* ===== Исправления 2026-10-31: чтение длинных текстов, разделы, подвал ===== */
/* Колонка чтения: ~65–75 знаков в строке, интерлиньяж 1.7, без выключки по ширине (WCAG 1.4.8) */
.article-page .breadcrumbs,
.article-page .page-heading,
.article-page .source-language,
.book-page .breadcrumbs,
.book-page .page-heading,
.book-page .source-language,
.names-page .breadcrumbs,
.names-page .page-heading,
.names-page .source-language {
  max-width: 720px;
  margin-inline: auto;
}
.source-language {
  margin-top: -14px;
}
.source-body.prose {
  max-width: 720px;
  margin-inline: auto;
  font: 19px/1.7 'Source Serif', Georgia, serif;
  color: var(--ink);
  text-align: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.source-body.prose p {
  margin: 0 0 1.05em;
}
.source-body.prose h2 {
  font-size: 28px;
  line-height: 1.25;
  margin: 2em 0 0.65em;
  scroll-margin-top: 24px;
}
.source-body.prose h3 {
  font-size: 22px;
  line-height: 1.3;
  margin: 1.8em 0 0.55em;
  scroll-margin-top: 24px;
}
.source-body.prose > h2:first-child,
.source-body.prose > h3:first-child {
  margin-top: 0;
}
.source-body.prose figure {
  margin: 0.4em auto 1.8em;
  text-align: center;
}
.source-body.prose figure img {
  margin: 0 auto;
  max-height: 620px;
  width: auto;
  border-radius: 4px;
}
.source-body.prose figcaption {
  font: 14px/1.5 Manrope, Arial, sans-serif;
  color: var(--muted);
  margin-top: 0.6em;
}
/* Размер картинки в тексте: класс у <figure> из меню картинки в редакторе («Размер на странице»).
   size-70, size-50, size-30: доля обычного размера (ширина колонки и предельная высота 620px уменьшаются в той же доле);
   size-100: на всю ширину колонки текста. На телефоне (уже 600px) size-30 и size-50 не уже 60% колонки. */
figure.size-30,
figure.size-50,
figure.size-70,
figure.size-100 {
  margin-inline: auto;
}
figure.size-30 {
  width: 30%;
}
figure.size-50 {
  width: 50%;
}
figure.size-70 {
  width: 70%;
}
figure.size-100 {
  width: 100%;
}
:is(.source-body, .artwork-layout, body) figure.size-30 img,
:is(.source-body, .artwork-layout, body) figure.size-50 img,
:is(.source-body, .artwork-layout, body) figure.size-70 img {
  width: auto;
  margin-inline: auto;
}
:is(.source-body, .artwork-layout, body) figure.size-30 img {
  max-height: 186px;
}
:is(.source-body, .artwork-layout, body) figure.size-50 img {
  max-height: 310px;
}
:is(.source-body, .artwork-layout, body) figure.size-70 img {
  max-height: 434px;
}
:is(.source-body, .artwork-layout, body) figure.size-100 img {
  width: 100%;
  max-width: 100%;
  max-height: none;
}
@media (max-width: 599px) {
  figure.size-30,
  figure.size-50 {
    width: 60%;
  }
  :is(.source-body, .artwork-layout, body) figure.size-30 img,
  :is(.source-body, .artwork-layout, body) figure.size-50 img {
    max-height: none;
  }
}
.source-body.prose ul,
.source-body.prose ol {
  padding-left: 1.3em;
  margin: 0 0 1.1em;
}
.source-body.prose li {
  margin: 0.3em 0;
}
.source-body.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.toc {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbf8f3;
  padding: 16px 22px;
  margin: 0 0 2.2em;
  font: 15px/1.5 Manrope, Arial, sans-serif;
  hyphens: manual;
}
.toc-title,
.toc summary {
  font-weight: 600;
  margin: 0;
}
.toc summary {
  cursor: pointer;
}
.toc ol {
  margin: 0.6em 0 0;
  padding-left: 1.3em;
}
details.toc ol {
  max-height: 60vh;
  overflow: auto;
}
.toc li {
  margin: 0.25em 0;
}
.toc li.toc-h3 {
  margin-left: 1em;
  list-style-type: circle;
}
.toc a {
  text-decoration: none !important;
}
.toc a:hover {
  text-decoration: underline !important;
}
.to-top {
  text-align: right;
  font: 14px Manrope, Arial, sans-serif;
  margin-top: 2.4em;
}
.names-list .entry {
  margin: 0 0 0.3em;
  font-size: 17px;
  line-height: 1.5;
}
.names-list .entry.sub {
  padding-left: 1.5em;
  color: #4a3a2c;
}
.names-list h2 {
  font-size: 30px;
  margin: 1.4em 0 0.4em;
}
/* Галереи: длинный текст внутри сетки — во всю ширину и читаемой колонкой */
.catalog-grid > .wide-text {
  grid-column: 1 / -1;
  max-width: 760px;
  font: 18px/1.7 'Source Serif', Georgia, serif;
}
.catalog-grid > .wide-text p {
  margin: 0 0 1em;
}
.catalog-grid > .wide-text h2 {
  font-size: 26px;
  line-height: 1.3;
  margin: 0.4em 0 0.6em;
}
/* «Книги та статті» */
.materials-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
  margin-top: 6px;
}
.material-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f3;
  padding: 24px 26px;
}
.material-kind {
  font: 600 11px/1 Manrope, Arial, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.material-card h2 {
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 12px;
}
.material-card h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.material-card p:not(.material-kind) {
  flex: 1;
  font: 16px/1.6 'Source Serif', Georgia, serif;
  margin: 0 0 16px;
}
.material-more {
  font: 14px Manrope, Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* Иконы мастерской по теме статьи */
.related-works {
  max-width: 1100px;
  margin: 56px auto 0;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.related-works h2 {
  font-size: 26px;
  margin: 0 0 20px;
}
.related-works ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.related-works img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}
.related-works span {
  font-size: 14px;
}
.related-works a:hover span {
  text-decoration: underline;
}
/* Карточка работы */
.order-note {
  font-size: 14px !important;
  color: var(--muted);
  margin-top: 22px;
}
.wedding-about h2 {
  font-size: 25px;
  margin: 26px 0 14px;
}
.wedding-about p {
  font-size: 15px;
}
.wedding-about p a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.work-photo {
  margin: 22px 0 6px;
}
.work-photo img {
  max-width: 300px;
  width: 100%;
  border-radius: 4px;
}
.work-photo figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
/* Текст раздела «Мірні ікони» */
.section-intro {
  max-width: 760px;
  margin: 44px 0 0;
  font: 18px/1.7 'Source Serif', Georgia, serif;
}
.section-intro h2 {
  font-size: 26px;
  line-height: 1.3;
  margin: 1.6em 0 0.6em;
}
.section-intro p {
  margin: 0 0 1em;
}
.section-intro ul {
  padding-left: 1.2em;
}
.section-intro li {
  margin: 0.4em 0;
}
/* Главная и контакты: как мы работаем, заказ и доставка, отзывы */
.home-info {
  padding-top: 64px;
  padding-bottom: 8px;
}
.home-info h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 28px;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}
.info-grid h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.info-grid ul {
  padding-left: 1.1em;
  margin: 0;
}
.info-grid li {
  margin: 0.3em 0;
}
.order-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
}
.order-steps > div {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.order-steps dt {
  font: 600 12px/1.4 Manrope, Arial, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.order-steps dd {
  margin: 0;
  font-size: 15px;
}
.order-steps a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.order-steps address {
  font-style: normal;
}
/* телефон в блоке «Замовлення» не разрывается (07.11.2026) */
.order-steps a[href^="tel:"] {
  white-space: nowrap;
}
/* фото под главным изображением иконы */
.artwork-media > figure + figure {
  margin-top: 22px;
}
.artwork-media .work-photo-main img {
  max-width: 420px;
}
/* фото второй иконы пары, ведущее на её страницу */
.work-photo a:not([data-zoom]) img {
  transition: opacity 0.2s;
}
.work-photo a:not([data-zoom]):hover img {
  opacity: 0.85;
}
/* компактная строка букв на страницах «на букву…» */
.alphabet-compact {
  gap: 6px;
  margin: 18px 0 26px;
  justify-content: center;
}
.alphabet-compact .alphabet-letter {
  width: 34px;
  height: 34px;
  font-size: 17px;
}
.alphabet-compact .alphabet-letter[aria-current] {
  background: var(--ink);
  color: var(--paper);
}
@media (min-width: 900px) {
  .alphabet-compact {
    flex-wrap: nowrap;
  }
  .alphabet-compact .alphabet-letter {
    flex: 0 1 34px;
    min-width: 24px;
  }
}
.home-reviews {
  padding-bottom: 64px;
}
.reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.review {
  margin: 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f3;
}
.review blockquote {
  margin: 0;
  font: 17px/1.6 'Source Serif', Georgia, serif;
}
.review figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.content-wrap .contact-details {
  padding: 48px 0 0;
}
.contact-details h2 {
  font-size: clamp(26px, 2.6vw, 36px);
  margin-bottom: 24px;
}
/* Подвал: адрес, разделы, без дублей */
.footer-row {
  grid-template-columns: 1.3fr 1fr 1fr 0.8fr;
  gap: 32px;
}
.site-footer nav {
  flex-direction: column;
  gap: 0;
}
.site-footer nav a {
  min-height: 34px;
}
.site-footer .footer-title {
  font: 600 11px/1.4 Manrope, 'Manrope Fallback', Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 8px 0 6px;
  color: var(--muted);
}
.site-footer address {
  font-style: normal;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 12px;
}
.site-footer .footer-brand p {
  font-size: 12px;
  line-height: 1.6;
}
.site-footer .footer-brand a:not(.brand) {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-note p {
  font-size: 12px;
  margin: 18px 0 0;
  color: var(--muted);
}
@media (max-width: 1000px) {
  .info-grid,
  .reviews {
    grid-template-columns: 1fr 1fr;
  }
  .order-steps {
    grid-template-columns: 1fr 1fr;
  }
  .footer-row {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 650px) {
  .info-grid,
  .reviews,
  .order-steps {
    grid-template-columns: 1fr;
  }
  .source-body.prose {
    font-size: 18px;
    line-height: 1.65;
  }
  .source-body.prose h2 {
    font-size: 24px;
  }
  .source-body.prose h3 {
    font-size: 20px;
  }
  .catalog-grid > .wide-text,
  .section-intro {
    font-size: 17px;
  }
  .footer-row {
    display: grid;
    grid-template-columns: 1fr;
  }
  .home-info {
    padding-top: 44px;
  }
}

/* ===== «Про майстерню»: сначала мастер, потом мастерская ===== */
.about-page .breadcrumbs,
.about-page .page-heading {
  max-width: 960px;
}
.about-page-body {
  max-width: 960px;
  font: 18px/1.7 'Source Serif', Georgia, serif;
}
.about-master {
  display: grid;
  grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.about-photo {
  margin: 0;
}
.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.about-intro h2,
.about-block h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.25;
  margin: 0 0 14px;
}
.about-intro p,
.about-block p {
  margin: 0 0 1em;
  max-width: 680px;
}
.about-block {
  padding: 32px 0 6px;
  border-bottom: 1px solid var(--line);
}
.about-block ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
  max-width: 680px;
}
.about-block li {
  margin: 0.3em 0;
}
.about-cta {
  margin: 36px 0 0;
}
@media (max-width: 650px) {
  .about-master {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-photo img {
    max-width: 220px;
  }
  .about-page-body {
    font-size: 17px;
  }
}

/* ===== Галереи: разделители и навигация между разделами ===== */
.catalog-grid > hr {
  grid-column: 1 / -1;
  width: 100%;
  height: 1px;
  border: 0;
  background: var(--line);
  margin: 4px 0;
}
.catalog-grid > .page-nav,
.page-nav {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-top: 12px;
  font: 16px/1.4 Manrope, Arial, sans-serif;
}
.page-nav a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.page-nav .next {
  margin-left: auto;
}
.catalog-card h2 {
  font-size: 19px;
  line-height: 1.35;
}

/* полоса миниатюр «відкрити у галереї» */
.thumb-strip { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 1.5rem 0; }
.thumb-strip > div:first-child { flex-basis: 100%; }
.thumb-strip > div { margin: 0; }
.thumb-strip a { display: block; }
.thumb-strip img { height: 70px; width: auto; border-radius: 3px; display: block; margin: 0; }
.catalog-grid > .grid-full { grid-column: 1 / -1; }

/* Указатель житий и статей */
.az-letters { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 1rem 0 1.5rem; font-size: 18px; }
.az-letters a { text-decoration: none; }
.az-list { columns: 2 280px; column-gap: 40px; padding-left: 1.1em; margin: 0 0 1.5rem; }
.az-list li { break-inside: avoid; margin: 0 0 6px; }
.index-section h2 { margin-top: 2rem; }
.index-section h3 { margin: 1.4rem 0 .5rem; }

/* Окно просмотра изображений (GLightbox, libs/glightbox): полупрозрачный фон, картинка без рамки,
   подпись светлым текстом, стрелки влево-вправо. Стили библиотеки подключаются после site.css,
   поэтому здесь селекторы начинаются с #glightbox-body. */
#glightbox-body .goverlay {
  background: rgba(18, 13, 9, 0.8);
}
#glightbox-body .gslide-media,
#glightbox-body .gslide-image img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
}
#glightbox-body .gslide-description,
.glightbox-mobile #glightbox-body .gslide-description {
  background: none;
}
#glightbox-body .gdesc-inner {
  padding: 14px 16px 4px;
  text-align: center;
}
#glightbox-body .gslide-title {
  margin: 0;
  color: #f7ead8;
  font-size: 15px;
  font-weight: normal;
  line-height: 1.45;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}
#glightbox-body .gslide-desc:empty {
  display: none;
}
#glightbox-body .gbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(34, 25, 17, 0.72);
  color: #f7ead8;
  opacity: 1;
  cursor: pointer;
  transition: background-color 0.2s;
}
#glightbox-body .gbtn:hover,
#glightbox-body .gbtn:focus-visible,
#glightbox-body .gbtn.focused {
  background: rgba(70, 51, 35, 0.95);
}
#glightbox-body .gbtn:focus-visible,
#glightbox-body .gbtn.focused {
  outline: 2px solid #c8a26e;
  outline-offset: 2px;
}
#glightbox-body .gbtn svg {
  width: 26px;
  height: 26px;
}
#glightbox-body .gbtn path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#glightbox-body .gprev,
#glightbox-body .gnext {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
#glightbox-body .gprev {
  left: max(12px, 2vw);
}
#glightbox-body .gnext {
  right: max(12px, 2vw);
}
#glightbox-body .gclose {
  position: absolute;
  top: 14px;
  right: max(12px, 2vw);
  width: 46px;
  height: 46px;
}
#glightbox-body .gclose svg {
  width: 22px;
  height: 22px;
}
#glightbox-body .glightbox-button-hidden {
  display: none;
}
@media (max-width: 768px) {
  #glightbox-body .gbtn {
    width: 44px;
    height: 44px;
  }
  #glightbox-body .gbtn svg {
    width: 22px;
    height: 22px;
  }
  #glightbox-body .gprev {
    left: 8px;
  }
  #glightbox-body .gnext {
    right: 8px;
  }
  #glightbox-body .gclose {
    top: 10px;
    right: 8px;
  }
  .glightbox-mobile #glightbox-body .gslide-description {
    padding: 16px 12px 24px;
    background: linear-gradient(to bottom, rgba(18, 13, 9, 0), rgba(18, 13, 9, 0.75));
  }
  #glightbox-body .gslide-title {
    font-size: 14px;
  }
}
