:root {
  color-scheme: dark;
  --bg: #070708;
  --bg-elevated: #101114;
  --panel: #15161a;
  --panel-strong: #1d1f25;
  --text: #f6f2ea;
  --muted: #b2afa7;
  --soft: #7f7a72;
  --line: rgba(246, 242, 234, 0.14);
  --line-strong: rgba(246, 242, 234, 0.24);
  --teal: #57d3bf;
  --amber: #ffca63;
  --rose: #ef6f8f;
  --violet: #8b7cff;
  --glow-teal: 0 0 28px rgba(87, 211, 191, 0.3);
  --glow-amber: 0 0 30px rgba(255, 202, 99, 0.26);
  --glow-rose: 0 0 34px rgba(239, 111, 143, 0.28);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 14%, rgba(87, 211, 191, 0.2), transparent 22rem),
    radial-gradient(circle at 84% 10%, rgba(139, 124, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 70% 76%, rgba(239, 111, 143, 0.13), transparent 26rem),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 72%);
}

body::after {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.1), transparent 32rem),
    linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.38));
}

body.no-scroll {
  overflow: hidden;
}

main {
  position: relative;
  z-index: 1;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 8, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.32);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-grid;
  gap: 1px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.logo span {
  font-size: 1.1rem;
  color: var(--text);
  text-shadow: 0 0 18px rgba(87, 211, 191, 0.48);
}

.logo small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-links a {
  border-radius: 999px;
  padding: 8px 11px;
  transition:
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.nav-links a:hover {
  background: rgba(87, 211, 191, 0.12);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(87, 211, 191, 0.22), var(--glow-teal);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(20px, 4vw, 46px);
  padding-top: 28px;
  padding-bottom: 30px;
}

.hero::before {
  position: absolute;
  top: 12%;
  left: -9%;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(87, 211, 191, 0.18), transparent 62%),
    radial-gradient(circle, rgba(255, 202, 99, 0.08), transparent 70%);
  filter: blur(12px);
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  animation: rise 560ms ease both;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.75rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy h1 {
  width: fit-content;
  background: linear-gradient(92deg, var(--text), #ffffff 32%, var(--teal) 64%, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 26px rgba(87, 211, 191, 0.22),
    0 0 54px rgba(255, 202, 99, 0.12);
}

.hero-subtitle {
  max-width: 760px;
  margin: 16px 0 20px;
  color: #ddd8ce;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 900;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--text), var(--amber));
  color: #080808;
  box-shadow: var(--glow-amber), 0 14px 32px rgba(0, 0, 0, 0.3);
}

.button-primary:hover {
  background: linear-gradient(135deg, #ffffff, var(--teal));
  box-shadow: var(--glow-teal), 0 18px 42px rgba(0, 0, 0, 0.34);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(87, 211, 191, 0.55);
  background: rgba(87, 211, 191, 0.12);
  box-shadow: var(--glow-teal);
}

.skill-strip {
  max-width: 720px;
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  color: var(--muted);
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-showcase {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  min-height: 440px;
}

.showcase-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow), 0 0 34px rgba(87, 211, 191, 0.12);
  isolation: isolate;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.showcase-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.42)),
    linear-gradient(135deg, rgba(87, 211, 191, 0.14), transparent 38%, rgba(255, 202, 99, 0.08));
  content: "";
  pointer-events: none;
}

.showcase-card::after {
  position: absolute;
  inset: -40% 58% -40% -80%;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  content: "";
  pointer-events: none;
  transform: rotate(12deg);
  transition: transform 620ms ease;
}

.showcase-card:hover {
  transform: translateY(-5px);
  border-color: rgba(87, 211, 191, 0.42);
  box-shadow: var(--shadow), 0 0 46px rgba(87, 211, 191, 0.2), 0 0 42px rgba(239, 111, 143, 0.12);
}

.showcase-card:hover::after {
  transform: translateX(260%) rotate(12deg);
}

.showcase-card-large {
  grid-row: span 2;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.16) contrast(1.06);
  -webkit-user-drag: none;
  user-select: none;
}

.showcase-card span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(7, 7, 8, 0.68);
  color: var(--text);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 0 22px rgba(87, 211, 191, 0.16);
  backdrop-filter: blur(12px);
}

.stats {
  padding-top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stats div,
.about-panel,
.service-card,
.price-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 18px 48px rgba(0, 0, 0, 0.22);
}

.stats div {
  min-height: 92px;
  padding: 16px;
  display: grid;
  align-content: end;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.stats strong {
  color: var(--amber);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.05;
  text-shadow: var(--glow-amber);
}

.stats span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 14px;
}

.section-heading-row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.section-heading h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-kicker {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 184px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.service-card::before,
.price-card::before,
.about-panel::before,
.contact-panel::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(87, 211, 191, 0.12), transparent 36%, rgba(239, 111, 143, 0.08));
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.service-card:hover,
.stats div:hover {
  transform: translateY(-4px);
  border-color: rgba(87, 211, 191, 0.42);
  box-shadow: var(--glow-teal), 0 24px 62px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before,
.price-card:hover::before,
.about-panel:hover::before,
.contact-panel:hover::before {
  opacity: 1;
}

.service-card h3,
.price-card h3,
.work-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.24;
}

.service-card p,
.about-panel p,
.contact-panel p {
  margin: 0;
  color: #d6d0c6;
}

.service-card p {
  font-size: 0.94rem;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
}

.about-panel {
  position: relative;
  overflow: hidden;
  width: min(820px, 100%);
  padding: clamp(18px, 3vw, 28px);
  text-align: center;
}

.about-panel p {
  margin-inline: auto;
  font-size: 1.02rem;
}

.about-panel p + p {
  margin-top: 14px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.price-card {
  position: relative;
  overflow: hidden;
  min-height: 136px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.price-card:hover,
.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(87, 211, 191, 0.5);
  box-shadow: var(--glow-teal), 0 24px 62px rgba(0, 0, 0, 0.3);
}

.price-card.is-featured {
  border-color: rgba(255, 202, 99, 0.52);
  background: linear-gradient(180deg, rgba(255, 202, 99, 0.14), rgba(255, 255, 255, 0.035));
  box-shadow: var(--glow-amber), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.price-label {
  width: fit-content;
  border-radius: 999px;
  background: rgba(87, 211, 191, 0.12);
  color: var(--teal);
  padding: 6px 9px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card p {
  margin: 12px 0 0;
  color: var(--text);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}

.gallery-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 22px rgba(87, 211, 191, 0.1);
}

.gallery-tab {
  min-width: 88px;
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.gallery-tab:hover,
.gallery-tab.is-active {
  background: linear-gradient(135deg, var(--text), var(--teal));
  color: #080808;
  box-shadow: var(--glow-teal);
}

.gallery-meta {
  margin: -4px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 800;
}

.gallery-meta span:first-child {
  color: var(--amber);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  -webkit-user-select: none;
  user-select: none;
}

.work-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  cursor: zoom-in;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.work-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 54%, rgba(0, 0, 0, 0.36));
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.work-card:hover::before {
  opacity: 1;
}

.work-card:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  background: #0c0c0e;
  -webkit-user-drag: none;
  user-select: none;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.work-card:hover img {
  filter: saturate(1.18) contrast(1.06);
  transform: scale(1.025);
}

.work-card-body {
  position: relative;
  z-index: 2;
  min-height: 62px;
  padding: 10px;
  display: grid;
  gap: 6px;
}

.work-card-body span {
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  padding: 4px 7px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.gallery-footer {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.gallery-footer .button[hidden] {
  display: none;
}

.contact-section {
  padding-bottom: 42px;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 4vw, 34px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  background:
    linear-gradient(90deg, rgba(87, 211, 191, 0.12), transparent 44%),
    linear-gradient(270deg, rgba(239, 111, 143, 0.1), transparent 42%),
    var(--panel);
  box-shadow: var(--glow-teal), var(--glow-rose), 0 28px 80px rgba(0, 0, 0, 0.34);
}

.contact-panel p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 10px;
  font-size: 1rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px 72px;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-content {
  width: min(100%, 1120px);
  margin: 0;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 78vh;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #080808;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
}

.lightbox-content figcaption {
  min-height: 1.2em;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.84);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.lightbox-close:hover,
.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.14);
}

.lightbox-close {
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-arrow {
  top: 50%;
  width: 46px;
  height: 46px;
  font-size: 2.1rem;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .about-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-showcase {
    min-height: 360px;
  }

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

  .section-heading-row {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .nav {
    width: min(100% - 28px, 1180px);
    min-height: 60px;
  }

  .nav-links {
    gap: 2px;
    font-size: 0.78rem;
  }

  .nav-links a {
    padding: 7px 6px;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 30px 0;
  }

  .hero {
    padding-top: 24px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.6rem);
  }

  .hero-subtitle {
    margin-top: 12px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-showcase {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .showcase-card,
  .showcase-card-large {
    min-height: 190px;
    grid-row: auto;
  }

  .stats,
  .service-grid,
  .price-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 140px;
  }

  .gallery-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 62px 14px 24px;
  }

  .lightbox-content img {
    max-height: 72vh;
  }

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

  .lightbox-arrow {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 58px);
  }

  .lightbox-next {
    right: calc(50% - 58px);
  }
}

@media (max-width: 430px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }
}
