:root {
  --bg-0: #071019;
  --bg-1: #0b1d2c;
  --bg-2: #112f47;
  --ink: #ecf5fb;
  --ink-muted: #b2c6d6;
  --line: rgba(255, 255, 255, 0.16);
  --glass: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  --glass-strong: linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.1));
  --teal: #47dbc9;
  --teal-strong: #1db2a2;
  --amber: #ffcf66;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 24px 50px rgba(0, 7, 15, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 12%, #1a4462 0%, transparent 34%),
    radial-gradient(circle at 92% 20%, #204a6b 0%, transparent 31%),
    radial-gradient(circle at 83% 82%, #103650 0%, transparent 33%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 48%, #091626 100%);
  line-height: 1.5;
}

a {
  color: #9de8ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(130deg, rgba(7, 18, 29, 0.9), rgba(10, 27, 42, 0.84));
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #f3fafe;
  font-weight: 700;
}

.menu-toggle {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
}

.nav-links a {
  color: #d7e9f4;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.cta-link {
  background: linear-gradient(135deg, var(--teal-strong), var(--teal));
  color: #04262b !important;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(35, 179, 165, 0.35);
}

.cta-link::after {
  display: none;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(2, 12, 21, 0.84), rgba(7, 26, 41, 0.64)),
    url("https://images.unsplash.com/photo-1484154218962-a197022b5858?auto=format&fit=crop&w=2200&q=80") center/cover no-repeat;
}

.hero {
  min-height: 88vh;
}

.page-hero {
  min-height: 45vh;
}

.page-hero.services-hero {
  background:
    linear-gradient(120deg, rgba(2, 12, 21, 0.82), rgba(8, 27, 41, 0.6)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=80") center/cover no-repeat;
}

.page-hero.projects-hero {
  background:
    linear-gradient(120deg, rgba(2, 12, 21, 0.82), rgba(8, 27, 41, 0.6)),
    url("https://images.unsplash.com/photo-1570129477492-45c003edd2be?auto=format&fit=crop&w=2200&q=80") center/cover no-repeat;
}

.page-hero.brands-hero {
  background:
    linear-gradient(120deg, rgba(2, 12, 21, 0.82), rgba(8, 27, 41, 0.6)),
    url("https://images.unsplash.com/photo-1600566752355-35792bedcfea?auto=format&fit=crop&w=2200&q=80") center/cover no-repeat;
}

.page-hero.contact-hero {
  background:
    linear-gradient(120deg, rgba(2, 12, 21, 0.82), rgba(8, 27, 41, 0.6)),
    url("https://images.unsplash.com/photo-1600121848594-d8644e57abab?auto=format&fit=crop&w=2200&q=80") center/cover no-repeat;
}

.page-hero.about-hero {
  background:
    linear-gradient(120deg, rgba(2, 12, 21, 0.82), rgba(8, 27, 41, 0.6)),
    url("https://images.unsplash.com/photo-1484154218962-a197022b5858?auto=format&fit=crop&w=2200&q=80") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 22%, rgba(255, 207, 102, 0.32), transparent 31%),
    radial-gradient(circle at 16% 84%, rgba(71, 219, 201, 0.2), transparent 29%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 8vw, 96px) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}

.eyebrow,
.section-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  color: #a9d0e5;
  font-weight: 700;
}

.hero h1,
.page-hero h1 {
  margin: 10px 0 12px;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.05;
  font-size: clamp(2rem, 4.7vw, 3.8rem);
  max-width: 800px;
}

.hero-subtext {
  margin: 0;
  max-width: 700px;
  color: #c6dcec;
  font-size: clamp(1rem, 2vw, 1.24rem);
}

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

.btn {
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 700;
  display: inline-block;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

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

.btn-primary {
  color: #172431;
  background: linear-gradient(135deg, var(--amber), #f5b94e);
  box-shadow: 0 10px 20px rgba(255, 204, 106, 0.35);
}

.btn-secondary {
  color: #edf9ff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(8px);
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.panel-image {
  border-radius: 12px;
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  overflow: hidden;
  background: #02070d;
}

.panel-video {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #d7ecf7;
}

.panel-top strong {
  font-family: "Space Grotesk", sans-serif;
}

.panel-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.panel-bottom p {
  margin: 0;
  color: #c6dcec;
}

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

.stat-chip {
  border: 1px solid rgba(255, 255, 255, 0.33);
  border-radius: 12px;
  background: var(--glass);
  padding: 12px;
  display: grid;
  gap: 3px;
}

.icon-glyph {
  font-size: 1.06rem;
  color: #f6f7fa;
  line-height: 1;
}

.stat-chip strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.22rem;
}

.stat-chip span:last-child {
  color: #bdd3e2;
  font-size: 0.84rem;
}

.hero-trust {
  list-style: none;
  margin: 18px 0 0;
  padding: 13px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.23);
}

.hero-trust li {
  position: relative;
  padding-left: 17px;
}

.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--amber);
}

.strip {
  margin-top: -30px;
  position: relative;
  z-index: 3;
}

.strip-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.strip-items > div {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--glass-strong);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  padding: 14px 16px;
}

.strip-items strong {
  display: block;
  margin-bottom: 3px;
}

.section {
  padding: clamp(56px, 7.5vw, 90px) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(9, 23, 35, 0.65), rgba(8, 22, 34, 0.46));
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.section h2 {
  margin: 8px 0 22px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3.1vw, 2.5rem);
  letter-spacing: -0.02em;
}

.section h2::after {
  content: "";
  display: block;
  width: 74px;
  height: 3px;
  margin-top: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--amber), var(--teal));
}

.card-grid,
.gallery-grid,
.completed-grid,
.brand-grid,
.stats-grid,
.feature-grid,
.process-grid,
.showcase-grid,
.contact-meta-grid {
  display: grid;
  gap: 14px;
}

.card-grid,
.gallery-grid,
.feature-grid,
.showcase-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

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

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

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

.card,
.metric-card,
.process-step,
.feature-card,
.showcase-card,
.gallery-item,
.brand-pill,
.quote-card,
.faq-list details,
.contact-form,
.contact-panel,
.compare-card,
.hours-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.card,
.metric-card,
.process-step,
.feature-card,
.showcase-card,
.quote-card,
.contact-form,
.contact-panel,
.compare-card,
.hours-card {
  padding: 18px;
}

.about-founder-card img {
  width: 100%;
  max-width: 280px;
  border-radius: 12px;
  border: 1px solid var(--line);
  margin: 4px 0 10px;
  display: block;
}

.card,
.metric-card,
.process-step,
.feature-card,
.showcase-card,
.gallery-item,
.brand-pill,
.quote-card,
.faq-list details {
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.card:hover,
.metric-card:hover,
.process-step:hover,
.feature-card:hover,
.showcase-card:hover,
.gallery-item:hover,
.brand-pill:hover,
.quote-card:hover,
.faq-list details:hover {
  transform: translateY(-5px);
  border-color: rgba(157, 233, 255, 0.5);
  box-shadow: 0 28px 54px rgba(0, 7, 15, 0.65);
}

.card h3,
.feature-card h3,
.showcase-card h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  display: flex;
  gap: 10px;
  align-items: center;
}

.icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, rgba(71, 219, 201, 0.25), rgba(255, 207, 102, 0.2));
  display: inline-grid;
  place-items: center;
  flex: 0 0 34px;
}

.card p,
.feature-card p,
.showcase-card p,
.metric-card p,
.panel-note,
.brands-note,
.faq-list p,
.small-note,
.compare-note {
  margin: 0;
  color: var(--ink-muted);
}

.metric-card strong,
.process-step strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 6px;
}

.process-step {
  position: relative;
}

.process-step .step-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  color: #10222d;
  background: linear-gradient(135deg, var(--amber), #f2b950);
  margin-bottom: 10px;
}

.gallery-item {
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  padding: 12px 14px;
  color: var(--ink-muted);
}

.brand-pill {
  padding: 12px;
  text-align: center;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.checklist {
  margin: 0;
  padding-left: 18px;
}

.checklist li {
  margin-bottom: 8px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 12px 14px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.compare-slider {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.compare-real {
  background: #020910;
}

.compare-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-real .compare-image {
  object-fit: contain;
}

.compare-before-wrap {
  position: absolute;
  inset: 0 auto 0 0;
  width: 52%;
  overflow: hidden;
}

.compare-before-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.6);
}

.compare-tag {
  position: absolute;
  top: 10px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(4, 20, 31, 0.62);
  font-size: 0.76rem;
  font-weight: 700;
}

.compare-tag-before {
  left: 10px;
}

.compare-tag-after {
  right: 10px;
}

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 36px;
  height: 36px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.84);
  background: rgba(5, 21, 33, 0.66);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 2;
}

.compare-handle::before,
.compare-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.compare-handle::before {
  left: 10px;
  transform: translateY(-50%) rotate(-135deg);
}

.compare-handle::after {
  right: 10px;
  transform: translateY(-50%) rotate(45deg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-list {
  list-style: none;
  margin: 16px 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 8px;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(5, 20, 32, 0.62);
  color: #eaf6fd;
  padding: 10px;
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a8c2d4;
}

.contact-form select {
  appearance: none;
}

.form-message {
  margin: 0;
  min-height: 20px;
  color: #90ecd7;
  font-weight: 700;
}

.cta-band {
  padding: 38px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(140deg, rgba(8, 28, 43, 0.84), rgba(7, 24, 37, 0.72));
}

.cta-band-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  background: #040c13;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 18px 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .contact-grid,
  .form-grid,
  .card-grid,
  .gallery-grid,
  .portfolio-grid,
  .completed-grid,
  .feature-grid,
  .showcase-grid,
  .brand-grid,
  .stats-grid,
  .process-grid,
  .contact-meta-grid,
  .hero-stats,
  .strip-items {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
  }

  .strip {
    margin-top: -16px;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #ddf0fa;
    padding: 8px 12px;
    font-weight: 700;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 4vw 18px;
    gap: 12px;
    background: linear-gradient(145deg, rgba(6, 18, 29, 0.98), rgba(8, 23, 36, 0.94));
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .nav-links.open {
    display: flex;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal.visible {
    opacity: 1;
    transform: none;
  }
}
