:root {
  --bg: #08111f;
  --bg-soft: #0f1c31;
  --surface: rgba(10, 24, 46, 0.72);
  --surface-strong: rgba(7, 17, 32, 0.92);
  --text: #eef4ff;
  --muted: #99a8c2;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #f28b27;
  --accent-deep: #bf5f12;
  --navy: #12345d;
  --glow: rgba(242, 139, 39, 0.24);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(242, 139, 39, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(18, 52, 93, 0.45), transparent 30%),
    linear-gradient(135deg, #07101d 0%, #0a1527 45%, #10213b 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 92%);
  pointer-events: none;
}

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

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

.site-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding-bottom: 56px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 16, 30, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
}

.brand span {
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: var(--muted);
  font-size: 0.98rem;
  transition: color 180ms ease;
}

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

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
}

.hero,
.section {
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 32px;
  align-items: center;
  padding: 86px 0 48px;
}

.hero-subpage {
  padding-bottom: 22px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.15;
}

.hero-text,
.section-heading p,
.service-card p,
.benefit-card p,
.project-card p,
.preview-card p,
.contact-card p,
.focus-list,
.hero-stats span,
.contact-list span,
.contact-list a {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.hero-copy {
  position: relative;
}

.hero-copy::after {
  content: "";
  position: absolute;
  top: -28px;
  left: -18px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 139, 39, 0.2), transparent 70%);
  filter: blur(12px);
  z-index: -1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #ff9c37 100%);
  color: #08111f;
  box-shadow: 0 16px 36px rgba(242, 139, 39, 0.26);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

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

.hero-stats article,
.hero-card,
.service-card,
.benefit-card,
.project-card,
.preview-card,
.contact-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-stats article {
  padding: 18px;
  border-radius: var(--radius-md);
}

.hero-stats strong,
.project-top,
.project-meta,
.panel-label,
.contact-list {
  display: block;
}

.hero-stats strong,
.panel-label,
.project-status,
.project-tag {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.hero-card {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.glow-card {
  position: relative;
  overflow: hidden;
}

.glow-card::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -10%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 65%);
}

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

.focus-list li + li {
  margin-top: 10px;
}

.hero-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badge span,
.project-tag,
.project-status,
.project-meta span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.hero-badge span {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
}

.section {
  padding: 54px 0;
}

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

.section-heading.compact {
  margin-bottom: 22px;
}

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

.service-card,
.project-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 52, 93, 0.55), transparent 70%);
}

.service-number {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.benefit-stack {
  display: grid;
  gap: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.founder-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.founder-photo,
.project-visual,
.project-thumbs button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.founder-photo {
  border-radius: 28px;
  overflow: hidden;
}

.founder-photo img {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
}

.founder-card-copy p {
  margin-bottom: 0;
}

.about-content {
  display: grid;
  gap: 22px;
}

.about-points {
  display: grid;
  gap: 18px;
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-cloud span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.benefit-card {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.preview-card,
.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-xl);
}

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

.contact-list {
  display: grid;
  gap: 8px;
  min-width: 240px;
}

.contact-list a:hover,
.contact-list a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--text);
}

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.project-tag,
.project-status,
.project-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
}

.project-status {
  color: var(--accent);
}

.project-visual {
  display: block;
  width: 100%;
  margin-bottom: 22px;
  border-radius: 18px;
  overflow: hidden;
}

.project-visual img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.project-visual:hover img,
.project-thumbs button:hover img,
.founder-photo:hover img {
  transform: scale(1.03);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 24px;
}

.project-thumbs {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.project-thumbs button {
  border-radius: 14px;
  overflow: hidden;
}

.project-thumbs img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.project-proof {
  margin-top: 0;
}

.text-link {
  color: #ffc38b;
  font-weight: 600;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 7, 15, 0.82);
  backdrop-filter: blur(8px);
}

.lightbox-figure {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  margin: 0;
}

.lightbox-figure img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 10, 20, 0.92);
  box-shadow: var(--shadow);
}

.lightbox-figure figcaption {
  margin-top: 14px;
  text-align: center;
  color: var(--text);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

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

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

  .hero {
    padding-top: 56px;
  }

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

  .preview-card,
  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--container));
  }

  .topbar {
    flex-wrap: wrap;
    border-radius: 28px;
    gap: 10px!important;
  }

  .brand {
    max-width: calc(100% - 50px);
  }

  .brand span {
    font-size: 0.70rem;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 8px;
  }

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

  h1 {
    max-width: 100%;
  }

  .section,
  .hero {
    padding-left: 4px;
    padding-right: 4px;
  }
}
