:root {
  --bg: #0b1020;
  --bg-alt: #070a14;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --surface-soft: rgba(255, 255, 255, 0.03);
  --text: #eaf0ff;
  --text-soft: #9fb0d0;
  --text-muted: rgba(159, 176, 208, 0.74);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.14);
  --brand: #f2662e;
  --brand-strong: #ff8b5a;
  --ok: #46d39a;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
  --radius: 18px;
  --radius-lg: 24px;
  --container: min(1160px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 380px at 15% 0%, rgba(242, 102, 46, 0.22), transparent 55%),
    radial-gradient(900px 420px at 90% 10%, rgba(70, 211, 154, 0.14), transparent 55%),
    linear-gradient(180deg, var(--bg-alt), var(--bg) 40%, var(--bg-alt) 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 3px;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--brand), var(--ok));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(7, 10, 20, 0.55);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 10, 20, 0.78);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(242, 102, 46, 0.95), rgba(255, 139, 90, 0.85));
  color: #081019;
  font-family: "Instrument Serif", serif;
  font-size: 1.35rem;
  box-shadow: 0 14px 35px rgba(242, 102, 46, 0.22);
}

.brand-image-wrap {
  padding: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.brand-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.28));
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.92rem;
  letter-spacing: 0.18em;
}

.brand-copy span {
  color: var(--text-soft);
  font-size: 0.84rem;
}

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

.site-nav a {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: 12px;
  transition: color 0.18s ease, background 0.18s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 12px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

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

.button-sm {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 0.92rem;
}

.button,
.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #071018;
  box-shadow: 0 14px 35px rgba(242, 102, 46, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
  color: var(--text);
  box-shadow: none;
}

.button-light {
  color: var(--text);
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 12px;
  white-space: nowrap;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-brand-lockup {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 26px;
}

.hero-brand-showcase {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 18px 24px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top left, rgba(242, 102, 46, 0.16), transparent 48%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.hero-brand-logo {
  width: min(320px, 60vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.35));
}

.hero-brand-text {
  display: grid;
  gap: 10px;
  max-width: 220px;
  padding-bottom: 10px;
}

.hero-brand-text p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.hero-brand-line {
  display: inline-block;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand), transparent);
}

.hero,
.page-hero {
  position: relative;
  padding: 48px 0 28px;
}

.page-hero {
  padding-bottom: 40px;
}

.hero-grid,
.split-section,
.features-layout,
.contact-layout,
.footer-grid {
  display: grid;
  gap: 22px;
}

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

.hero-copy,
.hero-panel,
.page-hero .container,
.info-card,
.service-card,
.statement-card,
.service-row,
.contact-card,
.contact-form,
.prose-card,
.feature-list article,
.feature-panel,
.cta-banner,
.process-grid article {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.hero-copy,
.page-hero .container {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-copy::before,
.page-hero .container::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(600px 260px at 15% 0%, rgba(242, 102, 46, 0.18), transparent 60%),
    radial-gradient(600px 260px at 90% 10%, rgba(70, 211, 154, 0.14), transparent 60%);
  pointer-events: none;
}

.hero-copy > *,
.page-hero .container > * {
  position: relative;
}

.eyebrow {
  margin: 14px 0 10px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 800;
}

h1,
h2 {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 4vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -1px;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
  margin: 10px 0 6px;
  font-size: 1rem;
}

.lead,
p,
li,
span,
label,
input,
textarea,
button {
  line-height: 1.65;
}

.lead,
p,
li {
  color: var(--text-soft);
}

.lead {
  max-width: 72ch;
  font-size: 15px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li::before {
  content: "•";
  margin-right: 10px;
  color: var(--ok);
}

.hero-panel {
  position: relative;
  border-radius: var(--radius-lg);
  min-height: 420px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
}

.hero-panel-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  padding: 18px;
  gap: 18px;
}

.hero-panel-top {
  display: flex;
  justify-content: flex-end;
}

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

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

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 20, 0.18), rgba(7, 10, 20, 0.72)),
    url("https://images.unsplash.com/photo-1581092919535-7146ff1a590e?auto=format&fit=crop&w=1400&q=80") center/cover no-repeat;
  transform: scale(1.04);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 90%);
}

.glass-card {
  backdrop-filter: blur(10px);
}

.metric-card,
.hero-badge,
.hero-floating {
  padding: 18px;
  border-radius: 18px;
  background: rgba(7, 10, 20, 0.46);
  border: 1px solid var(--line);
}

.metric-card {
  max-width: 280px;
}

.hero-badge {
  max-width: none;
}

.hero-floating {
  max-width: none;
}

.hero-support {
  padding: 18px;
  border-radius: 18px;
  background: rgba(7, 10, 20, 0.54);
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.metric-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--brand-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.metric-card strong,
.hero-badge strong,
.hero-floating strong {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
}

.metric-card p,
.hero-badge span,
.hero-floating span {
  color: var(--text-soft);
}

.trust-strip {
  padding: 18px 0;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.trust-items span {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 13px;
}

.section {
  padding: 64px 0;
}

.section-tinted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.section-dark {
  background: transparent;
}

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

.split-section {
  grid-template-columns: 0.9fr 1.1fr;
  margin-bottom: 18px;
}

.card-grid,
.service-grid,
.process-grid,
.statement-grid,
.service-stack {
  display: grid;
  gap: 16px;
}

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

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

.info-card,
.service-card,
.statement-card,
.service-row,
.contact-card,
.contact-form,
.prose-card,
.feature-list article,
.feature-panel,
.cta-banner,
.process-grid article {
  padding: 18px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

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

.service-card,
.feature-list article {
  position: relative;
  overflow: hidden;
}

.service-card::before,
.feature-list article::before,
.info-card::before,
.statement-card::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), transparent);
  opacity: 0.55;
}

.service-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.service-link:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 102, 46, 0.32);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--brand-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.service-cta::after {
  content: "->";
}

.centered-action {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.features-layout {
  grid-template-columns: 0.78fr 1.22fr;
}

.feature-panel {
  background: linear-gradient(135deg, rgba(242, 102, 46, 0.14), rgba(70, 211, 154, 0.08));
}

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

.process-shell {
  display: grid;
  gap: 18px;
}

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

.process-grid article {
  background: rgba(255, 255, 255, 0.03);
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: rgba(70, 211, 154, 0.12);
  border: 1px solid rgba(70, 211, 154, 0.25);
  color: var(--ok);
  font-weight: 900;
}

.cta-banner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, rgba(242, 102, 46, 0.15), rgba(70, 211, 154, 0.1));
}

.cta-banner-dark {
  background: linear-gradient(135deg, rgba(242, 102, 46, 0.12), rgba(70, 211, 154, 0.08));
}

.contact-layout {
  grid-template-columns: 0.82fr 1.18fr;
}

.contact-link {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 700;
}

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

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

label {
  display: grid;
  gap: 6px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(7, 10, 20, 0.45);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

input:focus,
textarea:focus {
  border-color: rgba(242, 102, 46, 0.55);
  box-shadow: 0 0 0 4px rgba(242, 102, 46, 0.08);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.prose-card {
  max-width: 860px;
}

.prose-card h2 {
  font-size: 1.6rem;
  margin-top: 24px;
}

.prose-card h2:first-child {
  margin-top: 0;
}

.site-footer {
  padding: 34px 0 90px;
  color: var(--text-soft);
  font-size: 13px;
}

.footer-grid {
  grid-template-columns: 1.2fr 0.7fr 0.8fr;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.site-footer a,
.site-footer p,
.site-footer span {
  display: block;
  margin: 0 0 8px;
  color: var(--text-soft);
}

.brand-footer {
  margin-bottom: 16px;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.sticky-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 110;
  display: none;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(7, 10, 20, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.sticky-bar a {
  flex: 1;
}

[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-left"] {
  transform: translateX(34px);
}

[data-animate="fade-right"] {
  transform: translateX(-34px);
}

[data-animate="zoom-in"] {
  transform: scale(0.92);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

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

  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-image,
  .hero-panel[data-parallax] {
    transform: none !important;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split-section,
  .features-layout,
  .cta-banner,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero-panel {
    min-height: 360px;
  }

  .hero-panel-content {
    min-height: 360px;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(7, 10, 20, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

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

  .sticky-bar {
    display: flex;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 32px, 100%);
  }

  .hero,
  .page-hero,
  .section {
    padding: 54px 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .card-grid-4,
  .card-grid-3,
  .service-grid,
  .process-grid,
  .statement-grid,
  .feature-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel-content {
    min-height: auto;
    padding: 14px;
  }

  .hero-panel-top {
    justify-content: stretch;
  }

  .metric-card {
    max-width: none;
  }

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

  .hero-brand-lockup {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hero-brand-showcase {
    padding: 16px 20px;
  }

  .hero-brand-logo {
    width: min(280px, 72vw);
  }

  .hero-brand-text {
    max-width: 100%;
    padding-bottom: 0;
  }
}
