:root {
  --bg: #060809;
  --bg-2: #0a0e13;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --text: #f4f7fb;
  --muted: #9aa6b3;
  --soft: #d8e0ea;
  --line: rgba(255, 255, 255, 0.14);
  --ink: #07090c;
  --accent: #ffffff;
  --hud: rgba(255, 255, 255, 0.42);
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  --shell: 1160px;
  --display: "Anton", "Arial Narrow", system-ui, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bolt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 L4 13 H10 L9 22 L20 9 H12 Z' fill='%23000'/%3E%3C/svg%3E");
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(circle at 18% -5%, rgba(255, 255, 255, 0.08), transparent 34rem),
    radial-gradient(circle at 85% 8%, rgba(255, 255, 255, 0.05), transparent 28rem),
    linear-gradient(180deg, #040507 0%, #080b10 45%, #060809 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    var(--noise),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 160px 160px, 56px 56px, 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  background: var(--text);
  color: #05070a;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  z-index: 999;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(4, 5, 7, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
}

.brand-logo {
  height: 30px;
  width: auto;
  filter: brightness(1.35) contrast(1.05);
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 0.7rem;
  border-left: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.94rem;
}
.nav a:hover { color: var(--text); }

.header-cta {
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.68rem 1rem;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,0.05);
}
.header-cta:hover { background: rgba(255,255,255,0.1); }

.section-pad { padding: 96px 0; }
.compact { padding: 74px 0; }

.hero { position: relative; overflow: hidden; padding-top: 110px; }
.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  filter: blur(90px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--soft);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: "";
  width: 0.62em;
  height: 0.9em;
  background: currentColor;
  -webkit-mask: var(--bolt) center / contain no-repeat;
  mask: var(--bolt) center / contain no-repeat;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
}
h1 {
  max-width: 900px;
  font-size: clamp(3rem, 7.2vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0.005em;
  margin-bottom: 1.3rem;
}
h2 {
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.22rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
p { color: var(--muted); line-height: 1.7; }

.hero-lede {
  max-width: 720px;
  font-size: clamp(1.08rem, 2.2vw, 1.32rem);
  color: var(--soft);
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin: 2rem 0 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0.85rem 1.3rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: var(--text);
  color: var(--ink);
  border-color: var(--text);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.5);
}
.button-primary:hover { background: #ffffff; }
.button-secondary {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
  color: var(--text);
}
.button-secondary:hover { background: rgba(255,255,255,0.12); }
.button.full { width: 100%; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.trust-row span,
.industry-list span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.13);
  color: var(--soft);
  background: rgba(255,255,255,0.045);
  border-radius: 999px;
  padding: 0.54rem 0.78rem;
  font-size: 0.9rem;
}

.hero-card,
.service-card,
.price-card,
.contact-card,
.about-card,
.project-card,
.guardrail-box,
.timeline article,
.pain-grid > div {
  position: relative;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
}

/* HUD corner brackets */
.hero-card::before,
.service-card::before,
.price-card::before,
.contact-card::before,
.about-card::before,
.project-card::before,
.guardrail-box::before,
.timeline article::before,
.pain-grid > div::before {
  content: "";
  position: absolute;
  inset: 11px;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(var(--hud), var(--hud)) left top / 16px 1.5px no-repeat,
    linear-gradient(var(--hud), var(--hud)) left top / 1.5px 16px no-repeat,
    linear-gradient(var(--hud), var(--hud)) right top / 16px 1.5px no-repeat,
    linear-gradient(var(--hud), var(--hud)) right top / 1.5px 16px no-repeat,
    linear-gradient(var(--hud), var(--hud)) left bottom / 16px 1.5px no-repeat,
    linear-gradient(var(--hud), var(--hud)) left bottom / 1.5px 16px no-repeat,
    linear-gradient(var(--hud), var(--hud)) right bottom / 16px 1.5px no-repeat,
    linear-gradient(var(--hud), var(--hud)) right bottom / 1.5px 16px no-repeat;
}

.hero-card {
  border-radius: var(--radius-xl);
  padding: 2rem;
  overflow: hidden;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -28% 20%;
  height: 220px;
  background: rgba(255, 255, 255, 0.05);
  filter: blur(60px);
}
.hero-card > * { position: relative; z-index: 3; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--soft);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.18);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
}
.status-pill span {
  width: 0.8rem;
  height: 0.8rem;
  background: var(--text);
  -webkit-mask: var(--bolt) center / contain no-repeat;
  mask: var(--bolt) center / contain no-repeat;
}

.check-list { padding: 0; margin: 1.4rem 0; list-style: none; }
.check-list li {
  color: var(--soft);
  margin-bottom: 0.72rem;
  padding-left: 1.7rem;
  position: relative;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28rem;
  width: 0.85rem;
  height: 1rem;
  background: var(--text);
  -webkit-mask: var(--bolt) center / contain no-repeat;
  mask: var(--bolt) center / contain no-repeat;
}

.text-link {
  color: var(--text);
  font-weight: 900;
  border-bottom: 1px solid rgba(255,255,255,0.35);
}

.pain-strip { padding: 0 0 32px; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.pain-grid > div {
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.pain-grid strong { display: block; margin-bottom: 0.5rem; }
.pain-grid span { color: var(--muted); line-height: 1.55; }

.section-heading {
  max-width: 830px;
  margin-bottom: 2.2rem;
}
.section-heading.narrow {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.section-heading p:not(.eyebrow) { font-size: 1.1rem; }

.card-grid {
  display: grid;
  gap: 1rem;
}
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card {
  border-radius: var(--radius-lg);
  padding: 1.55rem;
  min-height: 250px;
}
.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}
.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}
.timeline article {
  border-radius: var(--radius-lg);
  padding: 1.45rem;
}
.timeline span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--text);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.price-card {
  border-radius: var(--radius-xl);
  padding: 1.6rem;
}
.price-card.featured {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.04));
  border-color: rgba(255,255,255,0.55);
  transform: translateY(-10px);
}
.price-label {
  color: var(--soft);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}
.price {
  font-family: var(--display);
  font-weight: 400;
  color: var(--text);
  font-size: 3rem;
  line-height: 1;
  letter-spacing: 0;
  margin: 0.4rem 0 0.95rem;
}
.price-note { min-height: 86px; }

.guardrail-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  border-radius: var(--radius-xl);
  padding: 2rem;
}
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.3rem;
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 42px;
  align-items: center;
}
.contact-card {
  border-radius: var(--radius-xl);
  padding: 1.4rem;
}
.contact-line {
  display: block;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 0.8rem;
}
a.contact-line:hover { background: rgba(255,255,255,0.08); }
.contact-line span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
}
.contact-line strong { font-size: 1.08rem; }
.contact-line.founder { border-color: rgba(255,255,255,0.2); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}
.about-grid .trust-row { margin-top: 1.6rem; }
.about-card {
  border-radius: var(--radius-xl);
  padding: 1.7rem;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.4rem;
}
.about-stats > div {
  background: #0a0e13;
  padding: 1rem 1.1rem;
}
.about-stats strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.about-stats span { color: var(--muted); font-size: 0.82rem; }
.about-card .check-list { margin: 0; }
.about-card .check-list li { font-size: 0.95rem; }

/* Work / projects */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.project-card {
  border-radius: var(--radius-xl);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
}
.project-kicker {
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}
.project-card h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.95rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.7rem;
}
.project-tags { margin: 1.1rem 0 1.2rem; }
.project-proof {
  margin: auto 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 30px 0;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.4rem 2rem;
  flex-wrap: wrap;
  padding-bottom: 18px;
}
.footer-inner p { margin: 0; font-size: 0.92rem; }
.footer-name {
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 0.25rem !important;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.3rem;
}
.footer-nav a { color: var(--muted); font-size: 0.92rem; }
.footer-nav a:hover { color: var(--text); }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem 2rem;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-base p { margin: 0; font-size: 0.83rem; opacity: 0.78; }
.footer-back { border-bottom: 1px solid rgba(255,255,255,0.3); }

/* Legal pages */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4rem); margin-bottom: 1.1rem; }
.legal h2 {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  margin: 2.1rem 0 0.5rem;
  color: var(--text);
}
.legal p { max-width: 70ch; }
.legal-meta { margin-top: 2.6rem; font-size: 0.85rem; opacity: 0.7; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 20px 16px;
    background: #07090c;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-header.nav-open .nav { display: flex; }
  .nav a {
    padding: 0.95rem 0.2rem;
    font-size: 1.05rem;
    color: var(--soft);
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .nav a:last-child { border-bottom: none; }
  .hero-grid,
  .split-grid,
  .about-grid,
  .guardrail-box,
  .contact-grid { grid-template-columns: 1fr; }
  .pain-grid,
  .card-grid.three,
  .work-grid,
  .pricing-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card.featured { transform: none; }
  .hero { padding-top: 78px; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, var(--shell)); }
  .header-inner { min-height: 68px; }
  .header-cta { display: none; }
  .brand-logo { height: 26px; }
  .section-pad { padding: 66px 0; }
  .compact { padding: 52px 0; }
  h1 { font-size: clamp(2.9rem, 16vw, 4.6rem); }
  h2 { font-size: clamp(2.1rem, 11vw, 3.1rem); }
  .hero-card, .guardrail-box, .contact-card { padding: 1.2rem; }
  .timeline, .two-col { grid-template-columns: 1fr; }
  .button { width: 100%; }
}

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