@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/albert-sans-800.woff2') format('woff2');
}

@font-face {
  font-family: 'Gabarito';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/gabarito-variable.woff2') format('woff2');
}

:root {
  --bg: #15171b;
  --surface: #1d2025;
  --line: #34383e;
  --text: #f1ede6;
  --muted: #9a978f;
  --accent: #e9435d;
  --accent-soft: rgba(233, 66, 92, 0.18);
  --accent-blue: #81bfdf;
  --cream: #eae2d2;
  --cream-text: #1a1a1a;
  --cream-muted: #6b6558;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Gabarito', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: 'Gabarito', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 1px var(--accent-soft);
}

h1, h2, h3 {
  font-family: 'Albert Sans', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0;
}

h2 {
  color: var(--accent-blue);
}

section {
  padding: 72px 0;
}

/* Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
}

header.site::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(21, 23, 27, 0.9);
  backdrop-filter: blur(6px);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  font-family: 'Albert Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}

nav.main a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  font-family: 'Gabarito', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-left: 28px;
  padding-left: 14px;
  transition: color 0.25s ease;
}

nav.main a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 1px var(--accent-soft);
  transform: translate(-4px, -50%) scale(0);
  transition: transform 0.25s ease;
}

nav.main a:hover,
nav.main a:focus-visible {
  color: var(--text);
}

nav.main a:hover::before,
nav.main a:focus-visible::before {
  transform: translate(0, -50%) scale(1);
}

nav.main a.nav-cta {
  padding: 8px 18px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: #fff;
}

nav.main a.nav-cta::before { display: none; }

nav.main a.nav-cta:hover,
nav.main a.nav-cta:focus-visible {
  filter: brightness(1.08);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  border-top: none;
  padding: 0;
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img,
.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.05) brightness(0.55) blur(6px);
  transform: scale(1.08);
  transition: transform 8s ease, filter 1.1s ease;
}

.hero-slide.is-active img,
.hero-slide.is-active video {
  filter: grayscale(0.25) contrast(1.05) brightness(0.55) blur(0);
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(21, 23, 27, 0.25) 0%, rgba(21, 23, 27, 0.55) 60%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 140px 24px 120px;
}

.hero .eyebrow {
  opacity: 0;
  animation: hero-fade-up 0.6s ease forwards;
  animation-delay: 0.1s;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  overflow: hidden;
}

.hero h1 span {
  display: inline-block;
  animation: hero-title-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.hero .lede {
  margin-top: 22px;
  color: var(--muted);
  max-width: 52ch;
  opacity: 0;
  animation: hero-fade-up 0.6s ease forwards;
  animation-delay: 0.65s;
}

.hero .cta {
  opacity: 0;
  transform: scale(0.85);
  animation: hero-cta-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 0.7s;
}

@keyframes hero-title-in {
  0% { transform: translateY(115%) scale(0.98); opacity: 0; filter: blur(10px); }
  55% { opacity: 1; filter: blur(0); }
  100% { transform: translateY(0) scale(1); opacity: 1; filter: blur(0); }
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-cta-in {
  to { opacity: 1; transform: scale(1); }
}

.hero-bullets {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-bullet {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(241, 237, 230, 0.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-bullet:hover { background: rgba(241, 237, 230, 0.6); }

.hero-bullet.is-active {
  background: var(--accent);
  transform: scale(1.3);
}

.hero-story-section { padding: 72px 0; }

.hero-story-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.hero-story-tagline {
  font-family: 'Gabarito', sans-serif;
  font-weight: 700;
  color: var(--text);
  font-size: 1.05rem;
  margin: 0 0 24px;
}

.hero-story {
  max-width: 74ch;
  color: var(--muted);
}

.hero-story strong {
  color: var(--text);
  font-weight: 700;
}

.hero-story-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 6px;
}

.cta {
  display: inline-block;
  margin-top: 28px;
  padding: 13px 26px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 3px;
  font-size: 0.95rem;
}

.cta:hover { filter: brightness(1.08); }

/* Section heads */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(4px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Releases carousel */
.releases-carousel {
  padding-top: 40px;
  overflow: hidden;
}

.releases-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 24px 8px;
  margin: 0 auto;
  max-width: var(--max);
}

.releases-track::-webkit-scrollbar { display: none; }

.release-card {
  flex: 0 0 auto;
  width: 150px;
  margin: 0;
  scroll-snap-align: start;
}

.release-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(0.2) contrast(1.05) brightness(0.92);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.release-card:hover img,
.release-card:focus-within img {
  filter: grayscale(0) contrast(1.05) brightness(1);
  transform: translateY(-4px);
}

.release-card figcaption {
  margin-top: 10px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
}

@media (max-width: 860px) {
  .release-card { width: 120px; }
  .release-card img { width: 120px; height: 120px; }
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 24px;
  position: relative;
}

.service.bestseller {
  border-color: var(--accent);
  padding-top: 52px;
}

.service.cream {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--cream-text);
}

.service .tag {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #000;
  color: var(--text);
  font-family: 'Gabarito', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 10px;
  border-radius: 5px 5px 0 0;
}

.service h3 { font-size: 1.3rem; margin-bottom: 4px; }
.service.cream h3 { color: var(--cream-text); }

.service .price {
  font-family: 'Gabarito', sans-serif;
  font-size: 1.6rem;
  color: var(--accent);
  margin: 10px 0 2px;
}

.service .price .strike {
  font-size: 1rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-right: 8px;
}

.service.cream .price .strike { color: var(--cream-muted); }

.service .unit { color: var(--muted); font-size: 0.82rem; margin-bottom: 18px; }
.service.cream .unit { color: var(--cream-muted); }

.service ul { list-style: none; margin: 0; padding: 0; }
.service li {
  padding: 7px 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.service li::before {
  content: '✓ ';
  color: var(--accent);
  font-weight: 700;
}

.service.cream li {
  color: var(--cream-text);
}

.service.cream li::before { color: var(--cream-text); }

.service-cta {
  display: block;
  margin-top: 20px;
  padding: 13px 20px;
  background: var(--accent);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  border-radius: 3px;
  font-size: 0.95rem;
}

.service-cta:hover { filter: brightness(1.08); }

/* Testimonials */
.testimonial-slider {
  max-width: 74ch;
  margin: 0 auto;
  text-align: center;
}

.testimonial-track {
  position: relative;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.is-active {
  display: block;
}

.testimonial-slide.is-transition-slide {
  display: block;
  position: absolute;
  inset: 0;
}

.testimonial-slide.slide-animate {
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.testimonial-slide.slide-in-right { transform: translateX(48px); opacity: 0; }
.testimonial-slide.slide-in-left { transform: translateX(-48px); opacity: 0; }
.testimonial-slide.slide-out-left { transform: translateX(-48px); opacity: 0; }
.testimonial-slide.slide-out-right { transform: translateX(48px); opacity: 0; }

.testimonial-slide .mark {
  font-family: 'Albert Sans', sans-serif;
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.testimonial-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.testimonial-slide .quote {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.6;
}

.testimonial-slide .name {
  margin-top: 20px;
  font-family: 'Gabarito', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
}

.testimonial-counter {
  font-family: 'Gabarito', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
}

.testimonial-nav {
  display: flex;
  gap: 12px;
}

.testimonial-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.testimonial-nav button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Gallery */
.gallery-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.gallery-tabs summary {
  display: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 4px;
}

.gallery-album:nth-child(1),
.gallery-album:nth-child(4) {
  grid-column: span 2;
}

.gallery-album {
  position: relative;
}

.gallery-album.is-open {
  grid-column: 1 / -1;
}

.gallery-album-toggle {
  cursor: pointer;
  width: 100%;
  height: 100%;
  margin: 0;
  border: none;
  position: relative;
  background-color: var(--surface);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
  font: inherit;
}

.gallery-album-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 23, 27, 0) 40%, rgba(21, 23, 27, 0.85) 100%);
}

.gallery-album.is-open .gallery-album-toggle {
  display: none;
}

.gallery-album-title,
.gallery-album-count {
  position: relative;
  z-index: 1;
  display: block;
}

.gallery-album-title {
  font-family: 'Albert Sans', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--text);
}

.gallery-album-count {
  font-family: 'Gabarito', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}

.gallery-album-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.gallery-album-panel-head {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.gallery-album.is-open .gallery-album-panel-head {
  display: flex;
}

.gallery-album-panel-title {
  font-family: 'Albert Sans', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--text);
}

.gallery-album-panel-count {
  font-family: 'Gabarito', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: none;
  margin-left: 4px;
}

.gallery-album-close {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(29, 32, 37, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(154, 151, 143, 0.25);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.gallery-album-close svg {
  width: 16px;
  height: 16px;
}

.gallery-album-close:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.06);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  padding: 18px 0 8px;
}

.photo-grid figure {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: grayscale(0.5);
}

.photo-grid figure:hover img {
  transform: scale(1.05);
  filter: grayscale(0);
}

/* FAQ */
#faq h2 { color: var(--accent); }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

.faq-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-family: 'Albert Sans', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--accent-blue);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '';
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-blue);
}

.faq-item p {
  margin: 0 0 20px;
  color: var(--muted);
  max-width: 68ch;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.price-summary {
  font-family: 'Gabarito', sans-serif;
  font-size: 0.88rem;
}

.price-summary div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  color: var(--muted);
}

.price-summary strong { color: var(--text); font-weight: 500; }

form.inquiry {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

form.inquiry label {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: 'Gabarito', sans-serif;
}

form.inquiry input,
form.inquiry select,
form.inquiry textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 11px 12px;
  border-radius: 3px;
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
  margin-top: 6px;
}

form.inquiry input:focus,
form.inquiry select:focus,
form.inquiry textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

form.inquiry button {
  margin-top: 6px;
  padding: 13px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  width: fit-content;
}

.notice {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 14px 18px;
  border-radius: 4px;
  margin-bottom: 24px;
  font-size: 0.92rem;
}

/* Footer */
footer.site {
  padding: 48px 0 32px;
  color: var(--muted);
  font-size: 0.88rem;
}

footer.site .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--text); }

footer.site .legal a { margin-right: 18px; }

@media (max-width: 860px) {
  .services, .contact-grid, .hero-story-grid, .faq-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: minmax(220px, auto); }
  .gallery-album:nth-child(1),
  .gallery-album:nth-child(4) { grid-column: auto; }

  .lightbox-image { max-height: 58vh; }
  .lightbox-close, .lightbox-prev, .lightbox-next { width: 36px; height: 36px; }
  .lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 16px; height: 16px; }
  .lightbox-close { top: 12px; right: 12px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-filmstrip-item { width: 48px; height: 48px; }

  .menu-toggle { display: flex; }

  nav.main {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    background: rgba(21, 23, 27, 0.97);
    backdrop-filter: blur(10px);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.3s ease, visibility 0s linear 0.35s;
  }

  nav.main.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.35s ease, opacity 0.3s ease;
  }

  nav.main a {
    margin-left: 0;
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .hero .eyebrow,
  .hero h1 span,
  .hero .lede,
  .hero .cta {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .hero-slide img { transform: none !important; filter: grayscale(0.25) contrast(1.05) brightness(0.55) !important; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}

.scrolltop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 15;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s, border-color 0.2s ease, color 0.2s ease;
}

.scrolltop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s ease, color 0.2s ease;
}

.scrolltop:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 10px 12px;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-family: 'Gabarito', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.admin-table td form {
  margin: 0;
}

.admin-delete-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 3px;
  font-family: 'Gabarito', sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.admin-delete-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(10, 11, 13, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease;
}

.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.lightbox-image {
  max-width: min(90vw, 1100px);
  max-height: 70vh;
  object-fit: contain;
  border-radius: 4px;
  opacity: 1;
  transition: opacity 0.15s ease;
}

.lightbox-image.is-fading {
  opacity: 0;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(29, 32, 37, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(154, 151, 143, 0.25);
  color: var(--text);
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
  width: 20px;
  height: 20px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.06);
}

.lightbox-close {
  top: 24px;
  right: 24px;
}

.lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.06);
}

.lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.06);
}

.lightbox-counter {
  font-family: 'Gabarito', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
}

.lightbox-filmstrip {
  display: flex;
  gap: 8px;
  max-width: min(90vw, 1100px);
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
}

.lightbox-filmstrip-item {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: none;
  opacity: 0.6;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.lightbox-filmstrip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-filmstrip-item:hover {
  opacity: 0.85;
}

.lightbox-filmstrip-item.is-active {
  border-color: var(--accent);
  opacity: 1;
}

.gallery-album-toggle:focus-visible,
.gallery-album-close:focus-visible,
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible,
.lightbox-filmstrip-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
