:root {
  --hero-img: url("../assets/images/hero/hero-01.png");
}

*, *::before, *::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: #f5f7fb;
  line-height: 1.6;
  background: radial-gradient(circle at 70% 10%, rgba(43, 140, 255, 0.14), transparent 28%), -webkit-gradient(linear, left top, left bottom, from(#020407), color-stop(52%, #07111a), to(#05090d));
  background: radial-gradient(circle at 70% 10%, rgba(43, 140, 255, 0.14), transparent 28%), linear-gradient(180deg, #020407 0%, #07111a 52%, #05090d 100%);
  min-height: 100vh;
}

img, picture, svg, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 16px;
}

::-moz-selection {
  background: #2b8cff;
  color: #05090d;
}

::selection {
  background: #2b8cff;
  color: #05090d;
}

:focus-visible {
  outline: 2px solid #65b8ff;
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .container {
    width: min(1180px, 100% - 48px);
  }
}
@media screen and (min-width: 1024px) {
  .container {
    width: min(1180px, 100% - 64px);
  }
}

.section {
  padding: 56px 0;
}
@media screen and (min-width: 768px) {
  .section {
    padding: 80px 0;
  }
}
@media screen and (min-width: 1024px) {
  .section {
    padding: 112px 0;
  }
}

.section-tight {
  padding: 40px 0;
}

.section-copy {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .section-copy {
    margin-bottom: 56px;
  }
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #65b8ff;
  font-size: 0.76rem;
  font-weight: 800;
}

.h-display {
  font-size: clamp(2.2rem, 8vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.h-section {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.lead {
  font-size: 1.05rem;
  color: #9ba8b7;
  max-width: 60ch;
}
@media screen and (min-width: 768px) {
  .lead {
    font-size: 1.1rem;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(5, 9, 13, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media screen and (min-width: 768px) {
  .site-header {
    padding: 16px 32px;
  }
}
@media screen and (min-width: 1024px) {
  .site-header {
    padding: 18px 48px;
  }
}

.brand {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #f5f7fb;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: url("../assets/images/ui/header-logo.png") no-repeat center/contain;
}

.menu-toggle {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: transparent;
  color: #f5f7fb;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.menu-toggle:hover {
  border-color: #65b8ff;
  color: #65b8ff;
}
@media screen and (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.main-nav {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 64px;
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 12px;
  background: rgba(8, 17, 26, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  -webkit-box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
          box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
}
.main-nav.open {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.main-nav a {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #9ba8b7;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  -webkit-transition: color 0.18s ease;
  transition: color 0.18s ease;
}
.main-nav a:last-child {
  border-bottom: 0;
}
.main-nav a:hover, .main-nav a.active {
  color: #f5f7fb;
}
@media screen and (min-width: 768px) {
  .main-nav {
    position: static;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 4px;
    padding: 0;
    background: transparent;
    border: 0;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .main-nav a {
    padding: 8px 14px;
    border-bottom: 0;
    border-radius: 999px;
  }
  .main-nav a:hover, .main-nav a.active {
    color: #f5f7fb;
    background: rgba(255, 255, 255, 0.06);
  }
}

.button-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  -webkit-transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, -webkit-transform 0.18s ease;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, -webkit-transform 0.18s ease;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease, -webkit-transform 0.18s ease;
  white-space: nowrap;
}
.btn:hover {
  -webkit-transform: translateY(-1px);
          transform: translateY(-1px);
}
.btn:active {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.btn-primary {
  background: -webkit-gradient(linear, left top, left bottom, from(#2b8cff), to(#1562c6));
  background: linear-gradient(180deg, #2b8cff, #1562c6);
  color: #f5f7fb;
  -webkit-box-shadow: 0 10px 30px rgba(43, 140, 255, 0.28);
          box-shadow: 0 10px 30px rgba(43, 140, 255, 0.28);
}
.btn-primary:hover {
  -webkit-box-shadow: 0 14px 40px rgba(43, 140, 255, 0.28);
          box-shadow: 0 14px 40px rgba(43, 140, 255, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f5f7fb;
}
.btn-secondary:hover {
  border-color: #65b8ff;
  color: #65b8ff;
  background: rgba(43, 140, 255, 0.06);
}

.text-link {
  color: #65b8ff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.text-link:hover {
  color: #f5f7fb;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 72vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 96px 0 56px;
  -webkit-box-shadow: 0px 5px 30px 5px #040d18;
          box-shadow: 0px 5px 30px 5px #040d18;
}
@media screen and (min-width: 768px) {
  .hero {
    min-height: 78vh;
    padding: 120px 0 80px;
  }
}
@media screen and (min-width: 1024px) {
  .hero {
    min-height: 900px;
    padding: 140px 0 100px;
  }
}
.hero {
  /*
  @include desktop {
    min-height: 86vh;
    padding: 140px 0 100px;
  }
    */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  -webkit-transform: scale(1.02);
          transform: scale(1.02);
  max-width: 2000px;
  margin: auto;
  right: -220px;
}
@media screen and (min-width: 768px) {
  .hero-bg {
    background-position: center;
    right: 0px;
  }
}
@media screen and (min-width: 1024px) {
  .hero-bg {
    background-position: center;
    right: 0px;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: -webkit-gradient(linear, left top, right top, from(rgba(5, 9, 13, 0.95)), color-stop(28%, rgba(5, 9, 13, 0.85)), color-stop(60%, rgba(5, 9, 13, 0.35)), color-stop(90%, rgba(5, 9, 13, 0))), -webkit-gradient(linear, left bottom, left top, from(rgba(5, 9, 13, 0.92)), color-stop(30%, rgba(5, 9, 13, 0.4)), color-stop(65%, rgba(5, 9, 13, 0))), -webkit-gradient(linear, left top, left bottom, from(rgba(5, 9, 13, 0.6)), color-stop(30%, rgba(5, 9, 13, 0)));
  background: linear-gradient(90deg, rgba(5, 9, 13, 0.95) 0%, rgba(5, 9, 13, 0.85) 28%, rgba(5, 9, 13, 0.35) 60%, rgba(5, 9, 13, 0) 90%), linear-gradient(0deg, rgba(5, 9, 13, 0.92) 0%, rgba(5, 9, 13, 0.4) 30%, rgba(5, 9, 13, 0) 65%), linear-gradient(180deg, rgba(5, 9, 13, 0.6) 0%, rgba(5, 9, 13, 0) 30%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
@media screen and (min-width: 1024px) {
  .hero-content {
    max-width: 1180px;
  }
}

.hero h1 {
  font-size: clamp(2.4rem, 9vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  margin: 0 0 20px;
  font-weight: 800;
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #65b8ff;
  font-size: 1rem;
  font-weight: 800;
}

.hero-copy {
  font-size: 1.05rem;
  color: #9ba8b7;
  max-width: 560px;
  margin: 0 0 8px;
}
@media screen and (min-width: 768px) {
  .hero-copy {
    font-size: 1.15rem;
  }
}

.page-hero {
  position: relative;
  padding: 80px 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media screen and (min-width: 768px) {
  .page-hero {
    padding: 110px 0 48px;
  }
}
@media screen and (min-width: 1024px) {
  .page-hero {
    padding: 140px 0 64px;
  }
}
.page-hero h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
  font-weight: 800;
  max-width: 880px;
}
.page-hero p {
  color: #9ba8b7;
  max-width: 60ch;
  font-size: 1.02rem;
}

.feature-strip {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: -32px;
  position: relative;
  z-index: 2;
}
@media screen and (min-width: 768px) {
  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: -48px;
  }
}
@media screen and (min-width: 1024px) {
  .feature-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: -64px;
  }
}

.feature-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(13, 24, 34, 0.85)), to(rgba(8, 17, 26, 0.85)));
  background: linear-gradient(180deg, rgba(13, 24, 34, 0.85) 0%, rgba(8, 17, 26, 0.85) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  -webkit-transition: border-color 0.25s ease, -webkit-transform 0.25s ease, -webkit-box-shadow 0.25s ease;
  transition: border-color 0.25s ease, -webkit-transform 0.25s ease, -webkit-box-shadow 0.25s ease;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, -webkit-transform 0.25s ease, -webkit-box-shadow 0.25s ease;
  color: #f5f7fb;
}
.feature-card .icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(43, 140, 255, 0.12);
  color: #65b8ff;
  font-size: 1.1rem;
  margin-bottom: 4px;
  border: 1px solid rgba(43, 140, 255, 0.3);
}
.feature-card h2 {
  font-size: 1.2rem;
  margin: 0;
  letter-spacing: -0.01em;
}
.feature-card p {
  color: #9ba8b7;
  margin: 0;
  font-size: 0.95rem;
}
.feature-card .text-link {
  margin-top: auto;
}
.feature-card:hover {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  border-color: rgba(101, 184, 255, 0.3);
  -webkit-box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
          box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

.work-preview {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
@media screen and (min-width: 768px) {
  .work-preview {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}
@media screen and (min-width: 1024px) {
  .work-preview {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
}

.work-preview .gallery-card {
  aspect-ratio: 1/1;
}

.about-split {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media screen and (min-width: 768px) {
  .about-split {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.about-image {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 4/5;
  background: #0d1822;
}
.about-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.contact-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media screen and (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.contact-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(13, 24, 34, 0.6);
}
.contact-card h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}
.contact-card p {
  color: #9ba8b7;
  margin: 0 0 12px;
}
.contact-card a {
  color: #65b8ff;
  font-weight: 700;
}
.contact-card a:hover {
  color: #f5f7fb;
}

.form-field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.form-field label {
  font-size: 0.85rem;
  color: #9ba8b7;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}
.form-field input, .form-field textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  color: #f5f7fb;
  font: inherit;
  font-size: 0.95rem;
  resize: vertical;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: #65b8ff;
  -webkit-box-shadow: 0 0 0 3px rgba(43, 140, 255, 0.15);
          box-shadow: 0 0 0 3px rgba(43, 140, 255, 0.15);
}
.form-field textarea {
  min-height: 140px;
}

.screenshot-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media screen and (min-width: 768px) {
  .screenshot-grid {
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
  }
}

.screenshot-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #0d1822;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  -webkit-transition: border-color 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: border-color 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
}
.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-transition: -webkit-transform 0.6s ease, -webkit-filter 0.3s ease;
  transition: -webkit-transform 0.6s ease, -webkit-filter 0.3s ease;
  transition: transform 0.6s ease, filter 0.3s ease;
  transition: transform 0.6s ease, filter 0.3s ease, -webkit-transform 0.6s ease, -webkit-filter 0.3s ease;
  -webkit-filter: saturate(0.95);
          filter: saturate(0.95);
}
.screenshot-card .card-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 18px 14px;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(5, 9, 13, 0.92)), color-stop(50%, rgba(5, 9, 13, 0.6)), to(rgba(5, 9, 13, 0)));
  background: linear-gradient(0deg, rgba(5, 9, 13, 0.92) 0%, rgba(5, 9, 13, 0.6) 50%, rgba(5, 9, 13, 0) 100%);
  color: #f5f7fb;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.screenshot-card:hover, .screenshot-card:focus-visible {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  border-color: rgba(101, 184, 255, 0.4);
  -webkit-box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(43, 140, 255, 0.28) inset;
          box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(43, 140, 255, 0.28) inset;
}
.screenshot-card:hover img, .screenshot-card:focus-visible img {
  -webkit-transform: scale(1.02);
          transform: scale(1.02);
  -webkit-filter: saturate(1.1);
          filter: saturate(1.1);
}

.download-cta {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(13, 24, 34, 0.85)), to(rgba(8, 17, 26, 0.85)));
  background: linear-gradient(180deg, rgba(13, 24, 34, 0.85) 0%, rgba(8, 17, 26, 0.85) 100%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}
@media screen and (min-width: 768px) {
  .download-cta {
    padding: 40px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 32px;
  }
}
.download-cta .download-cta__copy {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.download-cta .download-cta__copy h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}
@media screen and (min-width: 768px) {
  .download-cta .download-cta__copy h2 {
    font-size: 1.6rem;
  }
}
.download-cta .download-cta__copy p {
  margin: 0;
  color: #9ba8b7;
  font-size: 0.95rem;
}
.download-cta .download-cta__meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
  color: #9ba8b7;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}
.download-cta .download-cta__meta span {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
}
.download-cta .download-cta__meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #65b8ff;
}
.download-cta .download-cta__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 10px;
}

.gallery-toolbar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 22px;
  display: none;
}

.view-toggle {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  background: #0d1822;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}

.view-toggle__btn {
  background: transparent;
  border: 0;
  color: #9ba8b7;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  -webkit-transition: background 0.2s ease, color 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease;
}
.view-toggle__btn:hover {
  color: #f5f7fb;
}
.view-toggle__btn.is-active {
  background: #2b8cff;
  color: #f5f7fb;
}

.gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media screen and (min-width: 768px) {
  .gallery-grid {
    gap: 18px;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1024px) {
  .gallery-grid {
    gap: 22px;
    grid-template-columns: repeat(4, 1fr);
  }
}
.gallery-grid.is-masonry {
  display: block;
  -webkit-column-count: 1;
     -moz-column-count: 1;
          column-count: 1;
  -webkit-column-gap: 14px;
     -moz-column-gap: 14px;
          column-gap: 14px;
}
@media screen and (min-width: 768px) {
  .gallery-grid.is-masonry {
    -webkit-column-count: 2;
       -moz-column-count: 2;
            column-count: 2;
    -webkit-column-gap: 18px;
       -moz-column-gap: 18px;
            column-gap: 18px;
  }
}
@media screen and (min-width: 1024px) {
  .gallery-grid.is-masonry {
    -webkit-column-count: 4;
       -moz-column-count: 4;
            column-count: 4;
    -webkit-column-gap: 22px;
       -moz-column-gap: 22px;
            column-gap: 22px;
  }
}
.gallery-grid.is-masonry .gallery-card {
  aspect-ratio: auto;
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  width: 100%;
  margin: 0 0 14px;
}
@media screen and (min-width: 768px) {
  .gallery-grid.is-masonry .gallery-card {
    margin-bottom: 18px;
  }
}
@media screen and (min-width: 1024px) {
  .gallery-grid.is-masonry .gallery-card {
    margin-bottom: 22px;
  }
}
.gallery-grid.is-masonry .gallery-card img {
  height: auto;
}

.gallery-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #0d1822;
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 4/5;
  cursor: pointer;
  -webkit-transition: border-color 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: border-color 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.6s ease, -webkit-filter 0.3s ease;
  transition: -webkit-transform 0.6s ease, -webkit-filter 0.3s ease;
  transition: transform 0.6s ease, filter 0.3s ease;
  transition: transform 0.6s ease, filter 0.3s ease, -webkit-transform 0.6s ease, -webkit-filter 0.3s ease;
  -webkit-filter: saturate(0.95);
          filter: saturate(0.95);
}
.gallery-card .card-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 18px 16px;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(5, 9, 13, 0.92)), color-stop(50%, rgba(5, 9, 13, 0.6)), to(rgba(5, 9, 13, 0)));
  background: linear-gradient(0deg, rgba(5, 9, 13, 0.92) 0%, rgba(5, 9, 13, 0.6) 50%, rgba(5, 9, 13, 0) 100%);
  color: #f5f7fb;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.gallery-card:hover, .gallery-card:focus-visible {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  border-color: rgba(101, 184, 255, 0.4);
  -webkit-box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(43, 140, 255, 0.28) inset;
          box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(43, 140, 255, 0.28) inset;
}
.gallery-card:hover img, .gallery-card:focus-visible img {
  -webkit-transform: scale(1.04);
          transform: scale(1.04);
  -webkit-filter: saturate(1.1);
          filter: saturate(1.1);
}

@media screen and (min-width: 768px) {
  .gallery-card.is-featured {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 16px;
  background: rgba(2, 5, 9, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox.open {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.lightbox-panel {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1600px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 110px);
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0d1822;
}

.lightbox-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 16px;
  width: 100%;
  color: #9ba8b7;
  font-size: 0.95rem;
  text-align: center;
}
.lightbox-meta strong {
  color: #f5f7fb;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: rgba(13, 24, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f5f7fb;
  border-radius: 999px;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
  padding: 0;
  z-index: 2;
  -webkit-transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, -webkit-transform 0.2s ease;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, -webkit-transform 0.2s ease;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
}
.lightbox-close:hover, .lightbox-close:focus-visible {
  background: rgba(43, 140, 255, 0.18);
  border-color: #65b8ff;
  color: #65b8ff;
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}
@media screen and (min-width: 768px) {
  .lightbox-close {
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: rgba(13, 24, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f5f7fb;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  -webkit-transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, -webkit-transform 0.2s ease;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, -webkit-transform 0.2s ease;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
  z-index: 1;
}
.lightbox-nav:hover, .lightbox-nav:focus-visible {
  background: rgba(43, 140, 255, 0.18);
  border-color: #65b8ff;
  color: #65b8ff;
}
.lightbox-nav--prev {
  left: 12px;
}
.lightbox-nav--next {
  right: 12px;
}
@media screen and (min-width: 768px) {
  .lightbox-nav {
    width: 56px;
    height: 56px;
    font-size: 1.8rem;
  }
  .lightbox-nav--prev {
    left: 24px;
  }
  .lightbox-nav--next {
    right: 24px;
  }
}

.site-footer {
  margin-top: 64px;
  padding: 32px 20px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9ba8b7;
  font-size: 0.9rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 14px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.site-footer p {
  margin: 0;
}
.site-footer .footer-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 18px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.site-footer .footer-links a {
  color: #9ba8b7;
  font-weight: 600;
}
.site-footer .footer-links a:hover {
  color: #f5f7fb;
}
@media screen and (min-width: 768px) {
  .site-footer {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding: 36px 32px;
  }
}
@media screen and (min-width: 1024px) {
  .site-footer {
    padding: 40px 48px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: #9ba8b7;
}

.reveal {
  opacity: 0;
  -webkit-transform: translateY(14px);
          transform: translateY(14px);
  -webkit-transition: opacity 0.6s ease, -webkit-transform 0.6s ease;
  transition: opacity 0.6s ease, -webkit-transform 0.6s ease;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition: opacity 0.6s ease, transform 0.6s ease, -webkit-transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    -webkit-animation-duration: 0s !important;
            animation-duration: 0s !important;
    -webkit-transition-duration: 0s !important;
            transition-duration: 0s !important;
  }
  .reveal {
    opacity: 1;
    -webkit-transform: none;
            transform: none;
  }
}