:root {
  --veidro-gold: #e7c27b;
  --veidro-deep: #18191f;
  --veidro-panel: rgba(39, 40, 51, 0.92);
  --veidro-muted: rgba(255, 255, 255, 0.72);
}

body {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

#header {
  background: rgba(23, 24, 32, 0.82);
}

#logo a {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#nav a {
  letter-spacing: 0.05em;
}

#banner {
  background-image: none;
  overflow: hidden;
}

#banner:after {
  opacity: 0.22;
  pointer-events: none;
  z-index: 1;
}

#banner .hero-background {
  background-image:
    linear-gradient(rgba(23, 24, 32, 0.46), rgba(23, 24, 32, 0.58)),
    url("assets/library/Nuotraukos/Untitled-1.png");
  background-position: center top, center 46%;
  background-size: cover, cover;
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 0;
}

#banner .content {
  max-width: 76rem;
  padding-top: 7.25rem;
  vertical-align: top;
  z-index: 2;
}

#banner .content header {
  text-align: left;
}

#banner .content header h2 {
  font-size: clamp(2.65rem, 5vw, 4.7rem);
  font-weight: 300;
  line-height: 1.05;
}

#banner .content header p {
  max-width: 42rem;
}

#banner .content header > p:first-of-type {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.2rem;
  line-height: 1.55;
}

#banner .actions {
  margin-top: 2.75rem;
}

.hero-categories {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 1.02rem !important;
  line-height: 1.6 !important;
}

.hero-intro {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 72rem;
  margin: 2rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-intro h3 {
  margin: 0 0 0.55rem;
}

.hero-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.5;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--veidro-gold) !important;
  font-size: 0.74rem !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.major h2 {
  font-size: 2.25rem;
  line-height: 1.18;
}

.major p {
  font-size: 1rem;
  line-height: 1.7;
}

#order .major h2 {
  font-size: 2.55rem;
}

.hero-product {
  background: rgba(255, 255, 255, 0.08);
}

.hero-product img {
  object-fit: cover;
}

.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  border-radius: 0 !important;
}

.spotlight .image.main img {
  object-fit: cover;
}

#library {
  background: #22242d;
}

.process-section {
  background: #20222b;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 72rem;
  margin: 2.5rem auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
  counter-reset: process-step;
}

.process-list li {
  position: relative;
  min-height: 100%;
  padding: 1.35rem 1.35rem 1.35rem 3.4rem;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  counter-increment: process-step;
}

.process-list li::before {
  content: counter(process-step);
  position: absolute;
  top: 1.35rem;
  left: 1.25rem;
  width: 1.55rem;
  height: 1.55rem;
  border: 1px solid rgba(231, 194, 123, 0.75);
  color: var(--veidro-gold);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.55rem;
  text-align: center;
}

.about-us-section {
  background: #242630;
}

.about-card {
  height: 100%;
  padding: 0;
  background: rgba(255, 255, 255, 0.055);
  text-align: left;
}

.about-card .image {
  margin: 0;
}

.about-card img {
  aspect-ratio: 1.35;
  object-fit: cover;
  object-position: center center;
}

.about-card h3 {
  margin-bottom: 0.65rem;
}

.temporary-note {
  max-width: 48rem;
  margin: 2rem auto 0;
  color: var(--veidro-muted);
  font-size: 0.9rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2.2rem;
  text-align: left;
}

.gallery-controls {
  display: none;
}

.gallery-item {
  appearance: none;
  display: block;
  aspect-ratio: 1;
  width: 100%;
  height: auto;
  padding: 0;
  overflow: hidden;
  border: 0 !important;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
}

.gallery-item:nth-child(5n + 1),
.gallery-item:nth-child(5n + 4) {
  aspect-ratio: 0.78;
}

.gallery-item:nth-child(-n + 8) {
  aspect-ratio: 1;
}

.gallery-item::after,
.dialog-close::after,
.dialog-nav::after {
  display: none !important;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease, opacity 180ms ease;
}

.gallery-item:hover img {
  opacity: 0.88;
  transform: scale(1.035);
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-more {
  margin-top: 2rem;
}

#order {
  background: #1c1d25;
}

.contact-actions {
  margin-top: 2rem;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.contact-list li {
  margin: 0 0 1.5rem;
}

.contact-list h3 {
  margin: 0 0 0.35rem;
}

.contact-list a {
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

.contact-list-simple {
  display: flex;
  justify-content: center;
  gap: 3rem;
  max-width: 56rem;
  margin: 2.7rem auto 0;
  text-align: center;
}

.contact-list-simple li {
  margin: 0;
}

.gallery-dialog {
  width: min(92vw, 70rem);
  max-width: 92vw;
  max-height: 90vh;
  padding: 0;
  border: 0;
  background: #111217;
  color: #fff;
}

.gallery-dialog::backdrop {
  background: rgba(0, 0, 0, 0.76);
}

.gallery-dialog img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #050507;
}

.gallery-dialog p {
  margin: 0;
  padding: 0.9rem 1rem 1rem;
  color: rgba(255, 255, 255, 0.78);
}

.dialog-close,
.dialog-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0 !important;
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
  font-size: 1.6rem;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
}

.dialog-close {
  top: 0.75rem;
  right: 0.75rem;
}

.dialog-nav {
  top: 50%;
  transform: translateY(-50%);
}

.dialog-nav.prev {
  left: 0.75rem;
}

.dialog-nav.next {
  right: 0.75rem;
}

@media screen and (max-width: 980px) {
  .hero-intro {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 736px) {
  #banner {
    min-height: auto;
    text-align: center;
  }

  #banner::before {
    display: none;
  }

  #banner .content {
    display: block;
    margin: 0;
    max-width: none;
    padding: 4.35rem 1.5rem 3rem !important;
    text-align: center;
    vertical-align: top;
  }

  #banner .content header {
    text-align: center;
  }

  #banner .content header h2 {
    font-size: 2.35rem;
    line-height: 1.08;
  }

  #banner .content header p {
    max-width: none;
  }

  #banner .content header > p:first-of-type {
    font-size: 1rem;
    line-height: 1.5;
  }

  #banner .actions {
    margin-top: 1.6rem;
  }

  .hero-categories {
    font-size: 0.86rem !important;
  }

  .hero-intro {
    gap: 0.85rem;
    margin-top: 1.45rem;
    padding-top: 1.15rem;
  }

  .hero-intro p {
    font-size: 0.82rem;
  }

  .major h2,
  #order .major h2 {
    font-size: 1.75rem;
  }

  .major p {
    font-size: 0.95rem;
  }

  .process-list {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }

  .process-list li {
    padding: 1.2rem 1.2rem 1.2rem 3.15rem;
  }

  .contact-list-simple {
    display: block;
    margin-top: 2.2rem;
  }

  .contact-list-simple li {
    margin: 0 0 1.45rem;
  }

  .gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0 0;
  }

  .gallery-controls button {
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    font-size: 1.6rem;
    line-height: 1;
  }

  .gallery-controls span {
    min-width: 4.5rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    text-align: center;
  }

  .gallery-grid {
    display: flex;
    gap: 1rem;
    margin: 1.2rem -1.5rem 0;
    padding: 0 1.5rem 0.25rem;
    overflow-x: auto;
    scroll-padding: 1.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .gallery-item,
  .gallery-item:nth-child(5n + 1),
  .gallery-item:nth-child(5n + 4) {
    aspect-ratio: 0.82;
    display: block;
    flex: 0 0 min(82vw, 24rem);
    scroll-snap-align: center;
  }

  .gallery-more {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .gallery-item,
  .gallery-item:nth-child(5n + 1),
  .gallery-item:nth-child(5n + 4) {
    flex-basis: 84vw;
  }
}
