:root {
  --bg: #030504;
  --bg-elevated: #070b09;
  --bg-section: #090f0c;
  --panel: #0d1511;
  --panel-strong: #111d17;
  --text: #f5f8f6;
  --muted: #b4beb8;
  --soft: #7d8b84;
  --line: #1d2d26;
  --line-bright: #2b4237;
  --accent: #21d186;
  --accent-soft: rgba(33, 209, 134, 0.16);
  --accent-line: rgba(33, 209, 134, 0.38);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 18px 54px rgba(0, 0, 0, 0.28);
  --radius: 10px;
  --radius-lg: 14px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 72% 8%, rgba(33, 209, 134, 0.12), transparent 34rem),
    linear-gradient(180deg, #050806 0%, #030504 54%, #050806 100%);
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 68%);
  pointer-events: none;
  content: "";
}

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

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

p {
  margin: 0;
  color: var(--muted);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(29, 45, 38, 0.72);
  background: rgba(3, 5, 4, 0.9);
  transition: background 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.site-header.is-scrolled {
  border-color: rgba(43, 66, 55, 0.86);
  background: rgba(3, 5, 4, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 174px;
  height: auto;
}

.brand-icon {
  display: none;
  width: 39px;
  height: auto;
}

.nav-toggle {
  display: none;
}

.nav-toggle-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-button span,
.nav-toggle-button span::before,
.nav-toggle-button span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.nav-toggle-button span {
  position: relative;
}

.nav-toggle-button span::before,
.nav-toggle-button span::after {
  position: absolute;
  left: 0;
}

.nav-toggle-button span::before {
  top: -6px;
}

.nav-toggle-button span::after {
  top: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.91rem;
}

.nav-links a {
  border-radius: 999px;
  padding: 9px 12px;
  transition: color 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.046);
}

.nav-links .nav-cta {
  margin-left: 10px;
  border: 1px solid var(--accent-line);
  color: var(--text);
  background: rgba(33, 209, 134, 0.085);
  font-weight: 720;
  padding-inline: 15px;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  border-color: var(--accent);
  background: rgba(33, 209, 134, 0.16);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 102px 0 108px;
}

.hero::before {
  position: absolute;
  inset: 4% -16% auto auto;
  width: 52rem;
  height: 52rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(33, 209, 134, 0.2), rgba(33, 209, 134, 0.08) 36%, transparent 66%);
  filter: blur(10px);
  pointer-events: none;
  animation: heroGlow 9s var(--ease) infinite alternate;
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 5, 4, 0.92), rgba(3, 5, 4, 0.2) 58%, rgba(3, 5, 4, 0.78)),
    radial-gradient(circle at 44% 72%, rgba(33, 209, 134, 0.07), transparent 28rem);
  pointer-events: none;
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
}

.hero-copy {
  max-width: 840px;
}

.hero h1 {
  max-width: 820px;
  line-height: 0.98;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  font-size: clamp(3.65rem, 7.2vw, 6.65rem);
  font-weight: 820;
}

h2 {
  max-width: 770px;
  font-size: clamp(2.45rem, 5vw, 4.6rem);
  font-weight: 780;
}

h3 {
  font-size: 1.32rem;
  font-weight: 760;
}

.lead {
  max-width: 760px;
  margin-top: 26px;
  color: #cfd8d2;
  font-size: clamp(1.14rem, 2.1vw, 1.35rem);
}

.section-copy {
  max-width: 760px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line-bright);
  border-radius: 14px;
  padding: 12px 17px;
  color: var(--text);
  font-weight: 760;
  line-height: 1.2;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent-line);
}

.button.primary {
  border-color: rgba(33, 209, 134, 0.72);
  background: rgba(33, 209, 134, 0.11);
  box-shadow: 0 0 0 1px rgba(33, 209, 134, 0.08), 0 16px 38px rgba(33, 209, 134, 0.08);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: rgba(33, 209, 134, 0.2);
  box-shadow: 0 0 0 1px rgba(33, 209, 134, 0.15), 0 24px 58px rgba(33, 209, 134, 0.13);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.035);
}

.section {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.section.compact {
  padding: 84px 0;
}

.section.alt {
  background: rgba(9, 15, 12, 0.82);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}

.section-header .section-copy {
  max-width: 480px;
}

.diagnostic {
  position: relative;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 46px;
  align-items: start;
}

.diagnostic::after {
  position: absolute;
  inset: 12% -7% auto auto;
  z-index: 0;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(33, 209, 134, 0.1), transparent 66%);
  pointer-events: none;
  content: "";
}

.diagnostic > * {
  position: relative;
  z-index: 1;
}

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

.problem-card,
.service-card,
.pillar,
.process-card,
.contact-card,
.detail-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(17, 29, 23, 0.92), rgba(10, 16, 13, 0.92));
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.22);
}

.problem-card {
  min-height: 206px;
  padding: 25px;
  animation: problemPulse 8s var(--ease) infinite;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}

.problem-card.featured {
  border-color: rgba(33, 209, 134, 0.32);
  background: linear-gradient(180deg, rgba(20, 38, 29, 0.96), rgba(10, 16, 13, 0.94));
}

.problem-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(33, 209, 134, 0.06);
}

.problem-card span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 22px;
}

.problem-card p {
  margin-top: 12px;
}

.problem-grid .reveal:nth-child(2) {
  animation-delay: 2s;
  transition-delay: 70ms;
}

.problem-grid .reveal:nth-child(3) {
  animation-delay: 4s;
  transition-delay: 140ms;
}

.problem-grid .reveal:nth-child(4) {
  animation-delay: 6s;
  transition-delay: 210ms;
}

@keyframes problemPulse {
  0%,
  18%,
  100% {
    border-color: var(--line);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.22);
  }

  7% {
    border-color: rgba(33, 209, 134, 0.42);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(33, 209, 134, 0.08), 0 0 28px rgba(33, 209, 134, 0.1);
  }
}

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

.service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 20px;
  padding: 26px;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-line);
  background: linear-gradient(180deg, rgba(18, 35, 27, 0.96), rgba(10, 16, 13, 0.96));
}

.service-card header {
  display: grid;
  gap: 10px;
}

.service-number {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.tagline {
  color: #d3dbd7;
  font-size: 1.02rem;
  font-weight: 680;
}

.service-card .button {
  width: fit-content;
  margin-top: auto;
}

.pillar {
  min-height: 190px;
  padding: 26px;
}

.pillar p {
  margin-top: 14px;
}

.process-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
}

.process-card {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 28px;
}

.process-card:last-child {
  border-right: 0;
}

.process-card span {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  margin-bottom: 42px;
}

.process-card p {
  margin-top: 12px;
}

.about-preview,
.about-layout,
.contact-layout,
.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  gap: 54px;
  align-items: center;
}

.portrait-frame {
  justify-self: end;
  width: min(100%, 340px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: 12px;
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(0.86) brightness(0.82) contrast(1.04);
}

.copy-stack {
  display: grid;
  gap: 17px;
  font-size: 1.05rem;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 16% 18%, rgba(33, 209, 134, 0.16), transparent 28rem),
    #070b09;
}

.closing-section {
  position: relative;
  overflow: hidden;
}

.closing-section::before {
  position: absolute;
  inset: auto -10% 2% auto;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(33, 209, 134, 0.11), transparent 67%);
  pointer-events: none;
  content: "";
}

.closing-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr);
  gap: 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(17, 29, 23, 0.94), rgba(7, 11, 9, 0.96)),
    var(--panel);
  box-shadow: var(--shadow);
  padding: 36px;
}

.closing-brand {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-bright);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  margin-bottom: 24px;
}

.closing-brand img {
  width: 34px;
  height: auto;
}

.closing-support {
  max-width: 640px;
  margin-top: 22px;
  color: #d2dbd6;
  font-size: 1.08rem;
}

.cta-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

@keyframes heroGlow {
  from {
    opacity: 0.68;
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    opacity: 1;
    transform: translate3d(-2.2rem, 1.1rem, 0) scale(1.04);
  }
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 92px;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 18%, rgba(33, 209, 134, 0.13), transparent 32rem),
    linear-gradient(180deg, rgba(9, 15, 12, 0.8), transparent);
  pointer-events: none;
  content: "";
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(3.1rem, 7vw, 6.25rem);
}

.detail-card {
  padding: 26px;
  background: rgba(7, 11, 9, 0.56);
  box-shadow: none;
}

.deliverables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 0;
  list-style: none;
}

.deliverables li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.deliverables li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.service-detail + .service-detail {
  margin-top: 28px;
}

.services-stack .container {
  display: grid;
  gap: 28px;
}

.service-detail {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(33, 209, 134, 0.08), transparent 24rem),
    linear-gradient(180deg, rgba(13, 21, 17, 0.9), rgba(7, 11, 9, 0.94));
  box-shadow: var(--shadow-soft);
  padding: 34px;
}

.service-detail-copy .button {
  margin-top: 28px;
}

.service-detail .detail-card {
  align-self: stretch;
}

.detail-card h3 {
  margin-bottom: 2px;
  font-size: 1rem;
  color: #d7dfda;
}

.cta-centered {
  display: block;
  max-width: 780px;
  text-align: left;
}

.cta-centered .actions {
  margin-top: 28px;
}

.portrait-caption {
  margin-top: 12px;
  color: #d6ded9;
  font-size: 0.92rem;
  font-weight: 720;
}

.contact-section {
  padding-top: 92px;
}

.contact-card {
  padding: 30px;
}

.contact-card h3 + p {
  margin-top: 12px;
}

.contact-email {
  display: inline-flex;
  width: fit-content;
  margin-top: 22px;
  color: var(--accent);
  font-size: 1.08rem;
  font-weight: 760;
}

.contact-card .button {
  margin-top: 26px;
}

.inquiry-form {
  gap: 16px;
}

.inquiry-form,
.inquiry-form label {
  display: grid;
}

.inquiry-form label {
  gap: 8px;
}

.inquiry-form label span {
  color: #d6ded9;
  font-size: 0.9rem;
  font-weight: 720;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line-bright);
  border-radius: 12px;
  background: rgba(3, 5, 4, 0.58);
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
  outline: none;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.inquiry-form textarea {
  resize: vertical;
  min-height: 120px;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: var(--accent-line);
  background: rgba(3, 5, 4, 0.72);
  box-shadow: 0 0 0 3px rgba(33, 209, 134, 0.1);
}

.inquiry-form .button {
  width: fit-content;
  margin-top: 10px;
}

.email-fallback {
  color: var(--muted);
  font-size: 0.96rem;
}

.email-fallback a {
  color: var(--accent);
  font-weight: 720;
}

.contact-panel-layout {
  align-items: start;
}

.contact-single-layout {
  max-width: 860px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(33, 209, 134, 0.1), transparent 24rem),
    linear-gradient(180deg, rgba(13, 21, 17, 0.9), rgba(7, 11, 9, 0.94));
  box-shadow: var(--shadow-soft);
  padding: 42px;
}

.contact-single-layout .contact-intro {
  position: static;
}

.contact-intro {
  position: sticky;
  top: 108px;
}

.contact-expectations {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
}

.contact-expectations span {
  position: relative;
  padding-left: 20px;
}

.contact-expectations span::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.contact-email-inline {
  margin-top: 30px;
}

.form-note {
  margin-top: 12px;
  color: var(--soft);
  font-size: 0.94rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 38px 0;
  color: var(--muted);
  background: #030504;
}

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

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

.footer-brand img {
  width: 42px;
  height: auto;
}

.footer-brand p {
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.94rem;
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(7px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease), filter 520ms var(--ease);
}

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

@media (max-width: 980px) {
  .container {
    width: min(100% - 30px, var(--max));
  }

  .nav-toggle-button {
    display: inline-flex;
  }

  .brand-logo {
    display: none;
  }

  .brand-icon {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 15px;
    right: 15px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #070b09;
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .nav-links a {
    border-radius: var(--radius);
    padding: 13px 12px;
  }

  .nav-links .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .hero-inner,
  .diagnostic,
  .about-preview,
  .closing-panel,
  .about-layout,
  .contact-layout,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    position: static;
  }

  .service-grid,
  .pillar-grid,
  .process-preview {
    grid-template-columns: 1fr;
  }

  .process-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-card:last-child {
    border-bottom: 0;
  }

  .portrait-frame {
    justify-self: start;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 70px 0 76px;
  }

  .section {
    padding: 78px 0;
  }

  .section.compact {
    padding: 66px 0;
  }

  .page-hero {
    padding: 76px 0 70px;
  }

  .service-detail {
    padding: 24px;
  }

  h1 {
    font-size: clamp(2.16rem, 9.3vw, 2.8rem);
  }

  h2 {
    font-size: clamp(2.3rem, 11vw, 3.45rem);
  }

  .section-header {
    display: block;
  }

  .problem-grid,
  .deliverables {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .inquiry-form .button {
    width: 100%;
  }

  .closing-panel {
    padding: 24px;
  }

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

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

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