:root {
  --bg: #05070b;
  --bg-soft: #0a0f16;
  --panel: rgba(10, 16, 24, 0.78);
  --panel-solid: #0d141d;
  --text: #f5f7fb;
  --muted: #a8b4c5;
  --line: rgba(255, 255, 255, 0.12);
  --cyan: #33d8ff;
  --amber: #ffb238;
  --lime: #8bff8c;
  --magenta: #ff4fc3;
  --max: 1180px;
  --radius: 8px;
  color-scheme: only dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(51, 216, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 90% 70%, rgba(255, 178, 56, 0.09), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  padding: 0.85rem clamp(1rem, 4vw, 2.8rem);
  border-bottom: 1px solid transparent;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 7, 11, 0.78);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.header-call,
.site-nav,
.btn,
.contact-links a {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
}

.site-nav {
  gap: 1.2rem;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  transition: color 150ms ease;
}

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

.header-call {
  gap: 0.55rem;
  min-height: 2.6rem;
  padding: 0 0.9rem;
  border: 1px solid rgba(51, 216, 255, 0.36);
  border-radius: 999px;
  color: #dff8ff;
  background: rgba(51, 216, 255, 0.08);
  box-shadow: 0 0 24px rgba(51, 216, 255, 0.12);
}

.menu-toggle {
  display: none;
  width: 2.65rem;
  height: 2.65rem;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 8.5rem clamp(1rem, 4vw, 2.8rem) 5rem;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-shade,
.hero-fx {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.98), rgba(5, 7, 11, 0.68) 43%, rgba(5, 7, 11, 0.15)),
    linear-gradient(0deg, rgba(5, 7, 11, 0.2), rgba(5, 7, 11, 0.36)),
    url("assets/hero-pc-workbench.webp") center right / cover no-repeat;
  transform: scale(1.02);
}

.hero-fx {
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  mix-blend-mode: screen;
}

.hero-shade {
  z-index: 2;
  background:
    radial-gradient(circle at 72% 42%, rgba(51, 216, 255, 0.18), transparent 27rem),
    linear-gradient(to bottom, transparent 62%, rgba(5, 7, 11, 0.92));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(760px, 100%);
  margin: 0 auto 0 max(0px, calc((100vw - var(--max)) / 2));
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.2rem, 12vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-shadow: 0 0 38px rgba(51, 216, 255, 0.24);
}

.hero-copy {
  width: min(670px, 100%);
  margin: 1.5rem 0 0;
  color: #d7e2f0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.btn {
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.75rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 800;
  line-height: 1;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  border-color: rgba(51, 216, 255, 0.55);
  color: #041016;
  background: linear-gradient(135deg, var(--cyan), var(--amber));
  box-shadow: 0 0 34px rgba(51, 216, 255, 0.22);
}

.btn-ghost {
  color: #f2f7ff;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(255, 178, 56, 0.52);
  background: rgba(255, 255, 255, 0.11);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  width: min(680px, 100%);
  margin: 2.4rem 0 0;
}

.hero-stats div {
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(7, 11, 16, 0.42);
  backdrop-filter: blur(10px);
}

.hero-stats dt {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--amber);
}

.hero-stats dd {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2.8rem);
}

.section > * {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  filter: blur(10px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 720ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.intro p:last-child,
.contact-copy p,
.price-note {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.section-heading {
  margin-bottom: 2rem;
}

.gallery {
  position: relative;
  background:
    radial-gradient(circle at 14% 28%, rgba(51, 216, 255, 0.09), transparent 24rem),
    radial-gradient(circle at 86% 72%, rgba(255, 178, 56, 0.08), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.slider {
  display: grid;
  gap: 1rem;
  color-scheme: only dark;
  forced-color-adjust: none;
}

.slider-frame {
  position: relative;
  overflow: hidden;
  height: clamp(360px, 72vh, 760px);
  border: 1px solid rgba(51, 216, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(8, 13, 20, 0.74);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.28),
    0 0 54px rgba(51, 216, 255, 0.08);
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 44%, rgba(51, 216, 255, 0.1), transparent 24rem),
    #05070b;
  transition:
    opacity 520ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 520ms;
  transform: scale(1.018);
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  pointer-events: auto;
  transition-delay: 0s;
  transform: scale(1);
}

.slide img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #05070b;
  filter: none;
  forced-color-adjust: none;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.04), rgba(5, 7, 11, 0.44)),
    linear-gradient(90deg, rgba(5, 7, 11, 0.54), transparent 46%);
  pointer-events: none;
}

.slide figcaption {
  position: absolute;
  left: clamp(1rem, 4vw, 2rem);
  bottom: clamp(1rem, 4vw, 2rem);
  z-index: 2;
  max-width: min(520px, calc(100% - 2rem));
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 850;
  background: rgba(5, 7, 11, 0.62);
  backdrop-filter: blur(14px);
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--text);
  background: rgba(5, 7, 11, 0.64);
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.slider-btn:hover,
.slider-btn:focus-visible {
  border-color: rgba(51, 216, 255, 0.6);
  background: rgba(51, 216, 255, 0.18);
  transform: translateY(-50%) scale(1.04);
}

.slider-prev {
  left: 1rem;
}

.slider-next {
  right: 1rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.slider-dot {
  width: 0.64rem;
  height: 0.64rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition:
    width 180ms ease,
    background 180ms ease;
}

.slider-dot.is-active {
  width: 1.7rem;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
}

.service-grid,
.work-grid {
  display: grid;
  gap: 1rem;
}

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

.service-card,
.work-card,
.timeline article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    rgba(9, 15, 22, 0.72);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.service-card {
  min-height: 245px;
  padding: 1.2rem;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(51, 216, 255, 0.1);
}

.service-card h3,
.timeline h3 {
  margin: 1.2rem 0 0.45rem;
  font-size: 1.08rem;
}

.service-card p,
.timeline p {
  margin: 0;
  color: var(--muted);
}

.work {
  background:
    radial-gradient(circle at 0 20%, rgba(255, 79, 195, 0.08), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

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

.work-card {
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.work-card:hover,
.work-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(51, 216, 255, 0.45);
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111923;
}

.work-card span,
.work-card small {
  display: block;
  padding-inline: 1rem;
}

.work-card span {
  min-height: 4.8rem;
  padding-top: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.work-card small {
  padding-bottom: 1rem;
  color: var(--muted);
}

.social-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 178, 56, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 178, 56, 0.06);
}

.social-strip div {
  display: grid;
  gap: 0.15rem;
}

.social-strip span {
  color: var(--muted);
}

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

.timeline article {
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
}

.timeline article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--amber), var(--lime));
}

.timeline span {
  color: var(--amber);
  font-weight: 900;
}

.pricing {
  background:
    linear-gradient(180deg, transparent, rgba(51, 216, 255, 0.035)),
    var(--bg);
}

.price-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 13, 20, 0.74);
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  border-top: 1px solid var(--line);
}

.price-row:first-child {
  border-top: 0;
}

.price-row.featured {
  background: linear-gradient(90deg, rgba(51, 216, 255, 0.12), rgba(255, 178, 56, 0.08));
}

.price-row strong,
.price-row span {
  display: block;
}

.price-row strong {
  font-size: 1.02rem;
}

.price-row span {
  margin-top: 0.2rem;
  color: var(--muted);
}

.price-row b {
  color: var(--amber);
  font-size: 1.25rem;
  white-space: nowrap;
}

.price-note {
  margin-top: 1rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.58fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: 1rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.contact-links a {
  gap: 0.55rem;
  min-height: 2.65rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  color: #dbe7f7;
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  outline: 0;
  padding: 0.85rem;
}

.contact-form option {
  color: #f5f7fb;
  background: #101823;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(51, 216, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(51, 216, 255, 0.12);
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-status {
  margin: 0;
  min-height: 1.4rem;
  color: var(--muted);
}

.form-status a {
  color: var(--cyan);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 4vw, 2.8rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span:first-child,
.site-footer a {
  color: var(--text);
  font-weight: 850;
}

@media (max-width: 980px) {
  .service-grid,
  .work-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(5, 7, 11, 0.95);
    backdrop-filter: blur(18px);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 160ms ease,
      opacity 160ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.85rem;
  }

  .header-call {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding-top: 7.2rem;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(5, 7, 11, 0.96), rgba(5, 7, 11, 0.64)),
      linear-gradient(0deg, rgba(5, 7, 11, 0.44), rgba(5, 7, 11, 0.52)),
      url("assets/hero-pc-workbench.webp") 58% center / cover no-repeat;
  }

  .hero h1 {
    font-size: clamp(4rem, 20vw, 5.6rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    width: 2.45rem;
    height: 2.45rem;
  }

  .slider-frame {
    height: min(78vh, 620px);
  }

  .slider-prev {
    left: 0.65rem;
  }

  .slider-next {
    right: 0.65rem;
  }

  .slide::after {
    background:
      linear-gradient(180deg, rgba(5, 7, 11, 0.05), rgba(5, 7, 11, 0.55)),
      linear-gradient(90deg, rgba(5, 7, 11, 0.34), transparent 62%);
  }

  .service-grid,
  .work-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .social-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-row {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-fx {
    opacity: 0.35;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

}
