:root {
  --background: #0a0a0f;
  --background-alt: #12121a;
  --surface: rgba(26, 26, 36, 0.72);
  --surface-solid: #1a1a24;
  --foreground: #fafafa;
  --muted: #a1a1aa;
  --subtle: #71717a;
  --accent: #f59e0b;
  --accent-dark: #0a0a0f;
  --border: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(255, 255, 255, 0.18);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
  background: linear-gradient(to bottom, rgba(10, 10, 15, 0.82), rgba(10, 10, 15, 0));
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}

.brand img {
  width: 148px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(255, 255, 255, 0.15));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.brand:hover img {
  transform: translateY(-1px);
  filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(255, 255, 255, 0.3));
}

.nav,
.header-actions,
.hero-actions,
.contact-methods {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav a,
.lang-toggle {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: rgba(250, 250, 250, 0.78);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav a:hover,
.lang-toggle:hover {
  color: var(--foreground);
}

.nav a {
  padding: 0 6px;
}

.lang-toggle {
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(18, 18, 26, 0.55);
  color: var(--foreground);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 160px 32px 72px;
}

.hero-image,
.hero picture,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  filter: saturate(0.86) brightness(0.7);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 10, 15, 0.94) 0%, rgba(10, 10, 15, 0.72) 38%, rgba(10, 10, 15, 0.24) 100%),
    linear-gradient(to top, #0a0a0f 0%, rgba(10, 10, 15, 0) 38%);
}

.hero-content {
  position: relative;
  max-width: 720px;
  animation: hero-enter 620ms ease both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 88px;
  line-height: 0.96;
}

h2 {
  margin-bottom: 0;
  font-size: 44px;
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 600px;
  color: rgba(250, 250, 250, 0.84);
  font-size: 21px;
  line-height: 1.6;
}

.hero-tagline {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 18px;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  color: var(--foreground);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:active {
  transform: scale(0.98);
}

.button.primary {
  background: var(--accent);
  color: var(--accent-dark);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.18);
}

.button.primary:hover {
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.42);
}

.button.secondary {
  background: rgba(18, 18, 26, 0.42);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--foreground);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.section-frame {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 112px 32px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 48px;
  align-items: end;
  border-bottom: 1px solid var(--border);
}

.intro p:last-child,
.team-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 28px;
}

.service-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.service-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
}

.service-row span,
.proof-line strong {
  color: var(--accent);
  font-family: var(--font-display);
}

.service-row p {
  max-width: 740px;
  color: var(--muted);
  line-height: 1.72;
}

.market-bridge {
  border-bottom: 1px solid var(--border);
}

.market-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
}

.market-item {
  min-height: 220px;
  padding: 30px 28px;
  border-right: 1px solid var(--border);
}

.market-item:last-child {
  border-right: 0;
}

.market-item p {
  color: var(--muted);
  line-height: 1.72;
}

.outcomes {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
}

.outcome-item {
  min-height: 230px;
  padding: 30px 28px;
  border-right: 1px solid var(--border);
}

.outcome-item:last-child {
  border-right: 0;
}

.outcome-item p {
  color: var(--muted);
  line-height: 1.72;
}

.team {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: center;
}

.team-image {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-solid);
}

.team-image img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) brightness(0.78);
  transition: transform 700ms ease;
}

.team-image:hover img {
  transform: scale(1.035);
}

.proof-line {
  margin-top: 28px;
  border-left: 2px solid var(--accent);
  padding-left: 18px;
  color: var(--muted);
}

.proof-line strong {
  display: block;
  margin-bottom: 6px;
  font-size: 30px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 56px;
  align-items: start;
}

.contact-methods {
  margin-top: 24px;
  align-items: flex-start;
  flex-direction: column;
}

.contact-methods a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--foreground);
  border-bottom: 1px solid rgba(245, 158, 11, 0.42);
  padding-bottom: 4px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(18, 18, 26, 0.82);
  padding: 24px;
  backdrop-filter: blur(10px);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(10, 10, 15, 0.72);
  color: var(--foreground);
  padding: 11px 12px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(245, 158, 11, 0.58);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16);
}

.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 32px;
  color: var(--subtle);
  border-top: 1px solid var(--border);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--foreground);
}

.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

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

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

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .site-header {
    min-height: 64px;
    padding: 0 18px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 90svh;
    padding: 132px 20px 58px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 10, 15, 0.92), rgba(10, 10, 15, 0.58)),
      linear-gradient(to top, #0a0a0f 0%, rgba(10, 10, 15, 0) 42%);
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-tagline {
    font-size: 19px;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .section-frame {
    padding: 78px 20px;
  }

  .intro,
  .team,
  .contact {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .service-row {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
  }

  .market-columns {
    grid-template-columns: 1fr;
  }

  .market-item {
    min-height: auto;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .market-item:last-child {
    border-bottom: 0;
  }

  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .outcome-item {
    min-height: auto;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .outcome-item:last-child {
    border-bottom: 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}
