:root {
  --bg0: #070a12;
  --bg1: #0b0f1a;
  --card: rgba(255, 255, 255, 0.06);
  --card-strong: rgba(255, 255, 255, 0.09);
  --stroke: rgba(255, 255, 255, 0.12);
  --stroke-strong: rgba(255, 255, 255, 0.18);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --faint: rgba(255, 255, 255, 0.50);

  /* TECHOSAUR accent palette (green-forward) */
  --brandA: #22c55e; /* primary green */
  --brandB: #86efac; /* soft green glow */
  --brandC: #16a34a; /* deeper green */
  --good: #22c55e;

  --shadow: 0 18px 70px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 16px 50px rgba(0, 0, 0, 0.35);

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --container: 1120px;
  --padX: 22px;
  --padY: 84px;
}

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

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(34, 197, 94, 0.22), transparent 50%),
    radial-gradient(900px 520px at 75% 20%, rgba(134, 239, 172, 0.10), transparent 55%),
    radial-gradient(900px 600px at 55% 90%, rgba(22, 163, 74, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
}

/* Keep form fields usable */
input,
textarea,
select {
  -webkit-user-select: text;
  user-select: text;
}

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

.container {
  width: min(var(--container), calc(100% - (var(--padX) * 2)));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid var(--stroke);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 9999;
}

.skip-link:focus {
  left: 12px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.92rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.00);
  background: rgba(7, 10, 18, 0.55);
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.site-header.is-elevated {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 18, 0.78);
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.30);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand,
.brand:visited {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.96);
}

.brand:hover .brand-name {
  color: #fff;
}

.brand:focus-visible {
  outline: 2px solid rgba(34, 197, 94, 0.75);
  outline-offset: 4px;
  border-radius: 6px;
}

.brand-name {
  font-size: 1.06rem;
  line-height: 1;
}

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

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

.nav-link {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.80);
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 160ms ease, color 160ms ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.95);
}

.nav-link-cta {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-lines {
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 99px;
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 99px;
}

.nav-toggle-lines::before {
  top: -6px;
}
.nav-toggle-lines::after {
  top: 6px;
}

.hero {
  padding: calc(var(--padY) - 18px) 0 var(--padY);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -220px -120px auto -120px;
  height: 420px;
  background:
    radial-gradient(closest-side at 35% 40%, rgba(34, 197, 94, 0.20), transparent 60%),
    radial-gradient(closest-side at 70% 30%, rgba(134, 239, 172, 0.10), transparent 64%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 34px;
}

.hero-copy {
  min-width: 0;
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brandB), var(--brandA));
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.hero-title {
  margin: 14px 0 10px;
  font-size: clamp(3rem, 6vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
}

.hero-glow {
  position: absolute;
  inset: -30px -12px auto -12px;
  height: 120px;
  background: radial-gradient(closest-side, rgba(34, 197, 94, 0.26), transparent 72%);
  filter: blur(14px);
  z-index: -1;
}

.hero-subtitle {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  line-height: 1.5;
}

.hero-subtitle strong {
  font-weight: 650;
  color: rgba(255, 255, 255, 0.94);
}

.hero-intro {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.70);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 62ch;
}

.hero-cta-stack {
  display: inline-grid;
  grid-template-columns: minmax(0, max-content);
  gap: 14px;
  max-width: 100%;
}

.hero-cta-stack .hero-actions {
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
  will-change: transform;
}

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

.btn:active {
  transform: translateY(0px);
}

.btn-primary {
  border-color: rgba(34, 197, 94, 0.42);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.92), rgba(134, 239, 172, 0.40));
  box-shadow: 0 16px 50px rgba(34, 197, 94, 0.18);
}

.btn-primary:hover {
  border-color: rgba(34, 197, 94, 0.58);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.98), rgba(134, 239, 172, 0.46));
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
}

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

.hero-highlights:has(> :only-child) {
  grid-template-columns: 1fr;
}

@media (max-width: 860px) {
  .hero-highlights {
    grid-template-columns: 1fr;
  }
}

.highlight {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 12px;
}

.highlight dt {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.70);
  margin-bottom: 6px;
}

.highlight dd {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.90);
  white-space: nowrap;
}

@media (max-width: 860px) {
  .highlight dd {
    white-space: normal;
  }
}

.hero-art {
  position: relative;
  min-width: 0;
  z-index: 1;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.hero-showcase {
  display: grid;
  place-items: center;
  pointer-events: none;
  --hero-logo: min(380px, 72vw);
}

.hero-showcase-logo {
  position: relative;
  display: block;
  width: var(--hero-logo);
  height: auto;
  max-width: 92%;
  margin: 0 auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.38));
}

.glass-card {
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.section {
  padding: var(--padY) 0;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.section-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  max-width: 70ch;
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.about-lede {
  grid-column: 1 / -1;
}

.about-aside {
  grid-column: span 6;
}

.about-lede p {
  text-wrap: pretty;
}

.card-title {
  margin: 0 0 10px;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
}

.cards {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.service-card {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(600px 120px at 10% 10%, rgba(134, 239, 172, 0.10), transparent 60%),
    radial-gradient(600px 120px at 90% 15%, rgba(34, 197, 94, 0.12), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

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

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tag-row::-webkit-scrollbar {
  display: none;
}

.tag {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  flex: 0 0 auto;
}

@media (max-width: 860px) {
  .tag-row {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .tag {
    white-space: normal;
  }
}

.collab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.callout {
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(34, 197, 94, 0.20);
  background: radial-gradient(400px 120px at 10% 10%, rgba(34, 197, 94, 0.12), transparent 65%),
    rgba(255, 255, 255, 0.03);
}

.callout-title {
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 14px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.contact-list li {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
}

.contact-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.66);
}

.contact-value {
  color: rgba(255, 255, 255, 0.90);
}

.contact-value:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-label {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.70);
}

.input,
.textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  padding: 12px 12px;
  outline: none;
  transition: border-color 140ms ease, background 140ms ease;
}

.input:focus,
.textarea:focus {
  border-color: rgba(34, 197, 94, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

.textarea {
  resize: vertical;
}

.hcaptcha-field {
  margin-top: 4px;
}

.hcaptcha-box {
  display: flex;
  justify-content: flex-start;
  min-height: 74px;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.form-help {
  margin: 0;
  min-height: 1.2em;
}

.hp-field {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 18, 0.55);
  padding: 34px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.footer-brand {
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer-note {
  margin: 0;
  line-height: 1.7;
  max-width: 55ch;
}

.footer-cards {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.footer-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
  width: 100%;
}

.footer-card-title {
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-list {
  margin: 0;
  padding-left: 16px;
  line-height: 1.8;
}

.footer-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 650ms cubic-bezier(0.2, 0.65, 0.2, 1), transform 650ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

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

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

  .about-aside {
    grid-column: auto;
  }
}

@media (max-width: 980px) {
  :root {
    --padY: 70px;
  }

  .hero-art {
    min-height: 300px;
  }

  .hero-showcase {
    --hero-logo: min(300px, 68vw);
  }

  .service-card {
    grid-column: span 6;
  }

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

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

@media (max-width: 640px) {
  :root {
    --padX: 18px;
    --padY: 62px;
  }

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

  .nav-menu {
    position: absolute;
    right: var(--padX);
    top: 60px;
    width: min(92vw, 360px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(7, 10, 18, 0.86);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

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

  .nav-link {
    padding: 12px 12px;
  }

  .service-card {
    grid-column: span 12;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-cards {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 260px;
  }

  .hero-showcase {
    --hero-logo: min(270px, 72vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    transition: none;
    transform: none;
    opacity: 1;
  }
  .btn {
    transition: none;
  }
}

