:root {
  --bg: #09111f;
  --bg-strong: #101b2f;
  --surface: rgba(14, 24, 43, 0.86);
  --surface-strong: #13213a;
  --border: rgba(122, 159, 255, 0.16);
  --text: #f4f7ff;
  --muted: #a5b4d6;
  --accent: #4f7cff;
  --accent-strong: #c7d6ff;
  --accent-warm: #ff8a4c;
  --accent-cool: #4fd1c5;
  --shadow: 0 24px 60px rgba(3, 8, 18, 0.42);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Outfit", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(79, 124, 255, 0.24), transparent 30%),
    radial-gradient(circle at 85% 18%, rgba(255, 138, 76, 0.18), transparent 22%),
    linear-gradient(180deg, #0a1323 0%, var(--bg) 58%, #08101d 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(199, 214, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 214, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 90%);
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  z-index: 10;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
}

.skip-link:focus {
  top: 12px;
}

.page-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header,
.site-footer,
.hero-card,
.info-card,
.portfolio-card,
.process-step,
.cta-section {
  backdrop-filter: blur(14px);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: sticky;
  top: 16px;
  z-index: 5;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(10, 18, 33, 0.76);
  box-shadow: 0 12px 32px rgba(2, 8, 18, 0.3);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
}

.brand-name,
.brand-tag,
.site-footer p,
.panel-label,
.card-index,
.hero-points,
.eyebrow {
  margin: 0;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 800;
}

.brand-tag {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a,
.skip-link,
.button {
  text-decoration: none;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
  padding: 88px 0 40px;
}

.hero-copy,
.hero-panel,
.section-heading,
.portfolio-copy,
.cta-copy {
  max-width: 100%;
}

.eyebrow,
.panel-label,
.card-index {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.77rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1,
h2 {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

h1 {
  margin-top: 18px;
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  max-width: 9ch;
}

.hero-text,
.info-card p,
.portfolio-copy p,
.process-step p,
.cta-copy p,
.panel-grid p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-text {
  max-width: 32ch;
  margin: 20px 0 0;
}

.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;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), #7c9cff);
  color: #08101d;
  box-shadow: 0 18px 40px rgba(79, 124, 255, 0.28);
}

.button-secondary {
  border-color: var(--border);
  background: rgba(15, 26, 47, 0.8);
  color: var(--text);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(18, 31, 55, 0.72);
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-card,
.info-card,
.portfolio-card,
.process-step,
.cta-section {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card {
  height: 100%;
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, rgba(19, 33, 58, 0.96), rgba(12, 22, 40, 0.92)),
    radial-gradient(circle at top right, rgba(79, 209, 197, 0.12), transparent 42%);
}

.hero-card h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.panel-grid article {
  padding-top: 18px;
  border-top: 1px solid rgba(199, 214, 255, 0.12);
}

.panel-grid span,
.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(79, 124, 255, 0.16);
  color: #9db6ff;
  font-size: 0.88rem;
  font-weight: 800;
}

.panel-grid h3,
.portfolio-copy h3,
.process-step h3,
.info-card h3 {
  font-size: 1.24rem;
  margin-bottom: 10px;
}

.section {
  padding: 34px 0;
}

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

.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.cta-section {
  background:
    linear-gradient(135deg, rgba(17, 28, 49, 0.98), rgba(10, 19, 35, 0.94));
  color: #f8fbff;
  border-color: rgba(255, 138, 76, 0.22);
}

.cta-section .eyebrow,
.cta-section p,
.cta-section h2 {
  color: inherit;
}

.cta-section .eyebrow {
  color: rgba(248, 251, 255, 0.74);
}

.cta-section .button-primary {
  background: linear-gradient(135deg, var(--accent-warm), #ffb067);
  color: #08101d;
  box-shadow: 0 18px 40px rgba(255, 138, 76, 0.26);
}

.cta-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius-lg);
  margin-top: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 700ms ease forwards;
}

.reveal-delay {
  animation-delay: 110ms;
}

.reveal-delay-2 {
  animation-delay: 220ms;
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .button {
    transition: none;
  }
}

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

  .hero {
    padding-top: 56px;
  }

  .cta-section {
    display: grid;
    justify-items: start;
  }

  .site-header {
    border-radius: 32px;
    align-items: flex-start;
  }
}

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

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    position: static;
    padding: 18px;
  }

  h1 {
    max-width: 13ch;
    font-size: clamp(2.9rem, 14vw, 4.4rem);
  }

  .section-heading h2,
  .hero-card h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-card,
  .info-card,
  .portfolio-card,
  .process-step,
  .cta-section {
    padding: 22px;
  }

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

  .site-nav {
    gap: 12px 16px;
  }
}
