/* Asterix Global — single page */

:root {
  --bg-deep: #0c1218;
  --bg-elevated: #141c26;
  --bg-card: #111820;
  --ink: #e8edf4;
  --ink-muted: #9aa8b8;
  --ink-faint: #5c6b7d;
  --accent: #c9a227;
  --accent-soft: rgba(201, 162, 39, 0.14);
  --border: rgba(232, 237, 244, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-muted);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg-deep);
  font-weight: 600;
  z-index: 1000;
  border-radius: 6px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.shell {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-deep) 88%, transparent);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  color: var(--accent);
}

.logo-text {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.logo:hover .logo-text {
  color: var(--accent);
}

.logo:hover .logo-mark {
  color: color-mix(in srgb, var(--accent) 88%, white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elevated);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.site-header.nav-open .nav-toggle-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

.nav-list a:hover {
  color: var(--ink);
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: color-mix(in srgb, var(--bg-deep) 96%, transparent);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s, visibility 0.2s;
  }

  .site-header.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--border);
  }

  .nav-list a {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
  }
}

/* Hero */

.hero {
  position: relative;
  padding: clamp(3.5rem, 10vw, 6rem) 0 clamp(4rem, 12vw, 7rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -40% -20% auto;
  height: 90%;
  background: radial-gradient(
      ellipse 70% 50% at 50% 0%,
      var(--accent-soft),
      transparent 70%
    ),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(80, 120, 180, 0.12), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  margin: 0 0 1.25rem;
  max-width: 14ch;
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 6.5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-lede {
  margin: 0 0 2rem;
  max-width: 38ch;
  font-size: 1.125rem;
  color: var(--ink-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--bg-deep);
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--accent) 90%, white);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--ink-faint);
  background: var(--bg-elevated);
}

/* Sections */

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-head {
  max-width: 52ch;
  margin-bottom: 2.75rem;
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--ink-muted);
}

/* Cards */

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 800px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.card-icon {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.2em;
}

.card-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.card-body {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
}

.card-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  color: var(--ink-faint);
}

.card-list li {
  margin-bottom: 0.35rem;
}

.card-list li:last-child {
  margin-bottom: 0;
}

/* Approach */

.approach {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 800px) {
  .approach-grid {
    grid-template-columns: 1fr;
  }
}

.approach-copy p {
  margin: 0 0 1rem;
  max-width: 48ch;
}

.approach-copy p:last-child {
  margin-bottom: 0;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.steps li:first-child {
  padding-top: 0;
}

.steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1.2;
}

.step-text {
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.step-text strong {
  color: var(--ink);
  font-weight: 600;
}

/* Contact */

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}

@media (max-width: 720px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }
}

.contact-copy p {
  margin: 0;
  max-width: 42ch;
}

.contact-panel {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field textarea {
  resize: vertical;
  min-height: 6rem;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ink-faint);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-submit {
  align-self: flex-start;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.form-status[data-variant="success"] {
  color: var(--accent);
}

.form-status[data-variant="error"] {
  color: #e08888;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.35rem;
}

.contact-note {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--ink-faint);
  line-height: 1.5;
}

/* Footer */

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--ink);
}

.footer-brand .logo-mark {
  width: 1.5rem;
  height: 1.5rem;
}

.footer-brand-text {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.footer-meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--ink-faint);
}
