:root {
  --audit-bronze: #875628;
  --audit-bronze-hover: #6f431f;
}

:focus-visible {
  outline: 2px solid var(--audit-bronze) !important;
  outline-offset: 4px;
}

.mobile-menu-modal-close {
  align-self: flex-end;
  width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.button {
  background: var(--audit-bronze);
}

.button:hover {
  background: var(--audit-bronze-hover);
}

.eyebrow:not(.eyebrow-light) {
  color: #79502c;
}

.reference-process-grid article > span,
.reference-blog-grid small {
  color: #79502c;
}

.site-footer a:not(.wordmark) {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
}

.booking-form-wrap input:focus-visible,
.booking-form-wrap textarea:focus-visible {
  border-color: var(--audit-bronze);
  box-shadow: 0 2px 0 var(--audit-bronze);
}

.process-page-list img,
.reference-process-grid img {
  object-position: 50% 20%;
}

img[data-photo-open="true"] {
  cursor: zoom-in;
}

.reference-gallery-image,
.gallery-preview .gallery-tile {
  cursor: pointer;
}

.gallery-lightbox figure,
.universal-lightbox-stage {
  touch-action: none;
}

.gallery-lightbox figure img,
.universal-lightbox-stage img {
  transform-origin: center;
  transition: transform 160ms ease;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-lightbox figure.is-zoomed,
.universal-lightbox-stage.is-zoomed {
  cursor: grab;
}

.gallery-lightbox figure.is-zoomed:active,
.universal-lightbox-stage.is-zoomed:active {
  cursor: grabbing;
}

.photo-zoom-controls {
  position: fixed;
  z-index: 1003;
  right: 50%;
  bottom: 18px;
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 4px;
  padding: 5px;
  transform: translateX(50%);
  border: 1px solid #ffffff33;
  background: #15120fee;
  color: #fff;
}

.photo-zoom-button,
.photo-zoom-percent,
.universal-lightbox-close,
.universal-lightbox-nav {
  min-height: 34px;
  border: 0;
  background: transparent;
  color: inherit;
  font: 500 10px/1.2 Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.photo-zoom-button,
.universal-lightbox-close,
.universal-lightbox-nav {
  cursor: pointer;
}

.photo-zoom-button {
  padding: 8px 11px;
}

.photo-zoom-percent {
  display: inline-flex;
  min-width: 54px;
  align-items: center;
  justify-content: center;
  color: #d6b48f;
}

.universal-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: block;
  background: #0d0b0af5;
  color: #fff;
}

.universal-lightbox-close {
  position: absolute;
  z-index: 1002;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(20,18,16,.72);
  font: 300 34px/44px Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.universal-lightbox-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
}

.universal-lightbox-stage img {
  width: auto;
  height: auto;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  position: absolute;
  inset: 0;
  margin: auto;
  object-fit: contain;
}

.universal-lightbox-nav {
  z-index: 1002;
  min-width: 48px;
  padding: 12px 8px;
  writing-mode: vertical-rl;
}

.universal-lightbox-nav:disabled {
  opacity: .35;
  cursor: default;
}

.universal-lightbox-prev {
  grid-row: 2;
  grid-column: 1;
}

.universal-lightbox-next {
  grid-row: 2;
  grid-column: 3;
}

.photo-lightbox-open,
.photo-lightbox-open body,
body.photo-lightbox-open {
  overflow: hidden;
}

@media (min-width: 621px) and (max-width: 900px) {
  .reference-hero-content h1 {
    width: min(100%, 700px);
    max-width: calc(100vw - 64px);
    font-size: clamp(52px, 8vw, 64px);
  }
}

@media (max-width: 620px) {
  .page-heading,
  .article-header {
    padding-block: 42px 34px !important;
  }

  .blog-index {
    gap: 48px !important;
    padding-block: 38px 58px !important;
  }

  .reference-section {
    padding-block: 38px !important;
  }

  .reference-gallery-grid,
  .gallery-preview .editorial-gallery,
  .gallery-preview .editorial-gallery.is-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: none !important;
    gap: 10px !important;
  }

  .reference-gallery-image,
  .reference-gallery-image.image-1,
  .reference-gallery-image.image-2,
  .reference-gallery-image.image-3,
  .reference-gallery-image.image-4,
  .reference-gallery-image.image-5,
  .gallery-preview .gallery-tile,
  .gallery-preview .gallery-tile:nth-child(n) {
    display: block !important;
    height: auto !important;
    grid-row: auto !important;
    grid-column: auto !important;
    aspect-ratio: 3 / 4 !important;
  }

  .reference-gallery-image:last-child:nth-child(odd),
  .gallery-preview .gallery-tile:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
    aspect-ratio: 16 / 10 !important;
  }

  .gallery-lightbox {
    position: fixed !important;
    inset: 0 !important;
    display: flex !important;
    width: 100vw !important;
    height: 100dvh !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: max(12px, env(safe-area-inset-top)) 10px max(12px, env(safe-area-inset-bottom)) !important;
    background: #000 !important;
  }

  .gallery-lightbox figure {
    width: 100% !important;
    max-width: none !important;
    height: calc(100dvh - 28px) !important;
    max-height: none !important;
    border-radius: 18px;
    overflow: hidden;
    background: #111;
  }

  .gallery-lightbox figure img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain;
  }

  .gallery-lightbox .lightbox-close {
    top: max(14px, env(safe-area-inset-top)) !important;
    right: 14px !important;
    width: 42px;
    height: 42px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50%;
    background: rgba(35,35,35,.82);
    color: #fff;
    backdrop-filter: blur(12px);
  }

  .gallery-lightbox .lightbox-arrow {
    bottom: max(18px, env(safe-area-inset-bottom)) !important;
    width: 46px;
    height: 46px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50%;
    background: rgba(35,35,35,.82);
    color: #fff;
    backdrop-filter: blur(12px);
  }
  .legal-page h1 {
    max-width: 100%;
    font-size: clamp(24px, 7vw, 32px);
    hyphens: auto;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .blog-index,
  .blog-index-item,
  .blog-index-item > * {
    min-width: 0;
    max-width: 100%;
  }

  .blog-index-item {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-index-item img {
    width: 100%;
  }

  .blog-index-item h2 {
    overflow-wrap: anywhere;
  }

  .filter-row {
    scrollbar-width: none;
  }

  .filter-row::-webkit-scrollbar {
    display: none;
  }

  .reference-process-grid article {
    grid-template-columns: 90px 24px minmax(0, 1fr);
    gap: 8px;
  }

  .reference-process-grid article > img {
    width: 90px;
  }

  .reference-process-grid h3 {
    min-width: 0;
    font-size: 18px;
    overflow-wrap: break-word;
  }

  .hero > img[src*="/model/"],
  .hero > img[src*="/shirts/"],
  .hero > img[src*="/trousers/"],
  .hero > img[src*="/tshirts/"] {
    object-position: 50% 4% !important;
  }

  .universal-lightbox-close {
    width: 44px;
    height: 44px;
    min-height: 44px;
    line-height: 42px;
  }

  .universal-lightbox-nav {
    padding-inline: 4px;
    font-size: 8px;
  }

  .photo-zoom-controls {
    bottom: 10px;
    width: calc(100% - 24px);
    justify-content: center;
  }

  .photo-zoom-button {
    padding-inline: 7px;
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-lightbox figure img,
  .universal-lightbox-stage img {
    transition: none;
  }
}


/* Responsive image delivery and composition — 2026-08-13 */
img {
  max-width: 100%;
  height: auto;
}

.gallery-page-item,
.nasledie-wp-gallery-item {
  background: #f4efe7;
}

.gallery-page-item img,
.nasledie-wp-gallery-item img {
  display: block;
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  object-position: 50% 50%;
  background: #f4efe7;
}

@media (max-width: 767px) {
  .reference-wardrobe-card,
  .reference-gallery-image,
  .reference-process-card,
  .gallery-page-item,
  .nasledie-wp-gallery-item {
    overflow: hidden;
    background: #f4efe7;
  }

  .reference-wardrobe-card img,
  .reference-gallery-image img,
  .reference-process-card img,
  .gallery-page-item img,
  .nasledie-wp-gallery-item img {
    width: 100%;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: 50% 50% !important;
    background: #f4efe7;
  }

  .reference-hero-media img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: var(--nv-mobile-x, 50%) var(--nv-mobile-y, 35%);
  }

  .gallery-page-grid {
    align-items: start;
    grid-auto-rows: auto !important;
  }
}


@media (max-width: 767px) {
  /* Hero: portrait-friendly crop with face kept above center */
  .hero,
  .hero-compact,
  .reference-hero {
    min-height: clamp(520px, 145vw, 680px);
  }

  .hero > img,
  .hero-compact > img,
  .reference-hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    object-position: var(--nv-mobile-x, 50%) var(--nv-mobile-y, 24%) !important;
  }

  /* Process steps: show the meaningful scene, not a narrow central crop */
  .process-page-list img,
  .reference-process-card img {
    display: block;
    width: 100%;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: 50% 50% !important;
    background: #f4efe7;
  }

  /* Product series keep a consistent portrait card */
  .product-gallery img,
  .series-grid img,
  .detail-gallery img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 18%;
  }

  /* Detail shots stay square and are never stretched */
  .fabric-grid img,
  .fabric-swatch,
  [class*="detail"] img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: 50% 50%;
  }
}


@media (max-width: 767px) {
  .reference-wardrobe-card img {
    width: 100%;
    height: auto !important;
    aspect-ratio: 4 / 5;
    object-fit: cover !important;
  }

  .reference-gallery-image img {
    width: 100%;
    height: auto !important;
    aspect-ratio: 3 / 4;
    object-fit: cover !important;
  }
}


/* Main hero composition on large screens */
@media (min-width: 768px) {
  .home .reference-hero-media img,
  body.home .reference-hero-media img {
    object-position: 58% 8% !important;
  }
}


/* Center hero subjects on wedding and business pages — desktop only */
@media (min-width: 768px) {
  body.page-id-11 .hero > img {
    object-position: 60% 17% !important;
  }

  body.page-id-10 .hero > img {
    object-position: 58% 5% !important;
  }
}


/* Business wardrobe: second and last story banners aligned left on mobile */
@media (max-width: 767px) {
  body.page-id-10 .story-block-image img[src*="13_34_22"],
  body.page-id-10 .story-block-image img[src*="13_49_18"] {
    object-position: 0% 12% !important;
  }
}


/* Mobile hero focal points: jackets and T-shirts */
@media (max-width: 767px) {
  body.page-id-16 .hero > img {
    object-position: 60% 24% !important;
  }

  body.page-id-21 .hero > img {
    object-position: 80% 4% !important;
  }
}


@media (max-width: 767px) {
  html body.page-id-16 .hero > img[src*="19_34_52"] {
    object-position: 60% 24% !important;
  }
}


/* Compact editorial mobile heroes for approved key pages */
@media (max-width: 767px) {
  body.home .reference-hero,
  body.page-id-10 .hero,
  body.page-id-11 .hero,
  body.page-id-16 .hero,
  body.page-id-21 .hero {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
  }

  body.page-id-10 .hero-content,
  body.page-id-11 .hero-content,
  body.page-id-16 .hero-content,
  body.page-id-21 .hero-content {
    inset: auto 20px 20px 20px !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
  }

  body.page-id-10 .hero-content h1,
  body.page-id-11 .hero-content h1,
  body.page-id-16 .hero-content h1,
  body.page-id-21 .hero-content h1 {
    margin-bottom: 12px !important;
    font-size: clamp(34px, 10vw, 43px) !important;
    line-height: .9 !important;
  }

  body.page-id-10 .hero-content .eyebrow,
  body.page-id-11 .hero-content .eyebrow,
  body.page-id-16 .hero-content .eyebrow,
  body.page-id-21 .hero-content .eyebrow,
  body.page-id-10 .hero-price,
  body.page-id-11 .hero-price,
  body.page-id-16 .hero-price,
  body.page-id-21 .hero-price,
  body.page-id-10 .hero-actions .button,
  body.page-id-11 .hero-actions .button,
  body.page-id-16 .hero-actions .button,
  body.page-id-21 .hero-actions .button {
    display: none !important;
  }

  body.page-id-10 .hero-text,
  body.page-id-11 .hero-text,
  body.page-id-16 .hero-text,
  body.page-id-21 .hero-text {
    max-width: 92% !important;
    margin-bottom: 18px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  body.page-id-10 .hero-actions,
  body.page-id-11 .hero-actions,
  body.page-id-16 .hero-actions,
  body.page-id-21 .hero-actions {
    display: block !important;
  }
}


/* Correct compact hero text layer geometry */
@media (max-width: 767px) {
  body.page-id-10 .hero-content,
  body.page-id-11 .hero-content,
  body.page-id-16 .hero-content,
  body.page-id-21 .hero-content {
    position: absolute !important;
    top: auto !important;
    right: 20px !important;
    bottom: 20px !important;
    left: 20px !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    transform: none !important;
    overflow: visible !important;
  }
}

@media (max-width: 760px) {
  body.home .hero .hero-actions, body.page-id-10 .hero .hero-actions, body.page-id-11 .hero .hero-actions, body.page-id-16 .hero .hero-actions, body.page-id-21 .hero .hero-actions { display: grid !important; grid-template-columns: 1fr !important; gap: 12px !important; width: 100% !important; }
  body.home .hero .hero-actions .button, body.page-id-10 .hero .hero-actions .button, body.page-id-11 .hero .hero-actions .button, body.page-id-16 .hero .hero-actions .button, body.page-id-21 .hero .hero-actions .button { display: flex !important; width: 100% !important; min-height: 48px !important; align-items: center !important; justify-content: center !important; margin: 0 !important; }
}

