/* ===========================================================================
   Human Tiger — design system
   Dark navy + gold by default, with a light theme. The hero and footer stay
   dark in both themes to bookend the page.
   ======================================================================== */
:root,
[data-theme='dark'] {
  --bg: #0a1626;
  --bg-2: #0e1f36;
  --surface: #10203a;
  --surface-2: #16294a;
  --text: #eaf0f8;
  --muted: #9fb0c6;
  --border: #21375a;
  --accent: #d4af4e;
  --accent-hover: #ecca6e;
  --navy: #0a1626;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --radius-lg: 22px;
  --max-width: 1120px;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    sans-serif;
}

[data-theme='light'] {
  --bg: #f6f8fc;
  --bg-2: #eef2f8;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --text: #0e1f36;
  --muted: #55647c;
  --border: #dde5ef;
  --accent: #b8912f;
  --accent-hover: #9c7a24;
  --shadow: 0 18px 44px rgba(14, 31, 54, 0.12);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.3s ease, color 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3 {
  letter-spacing: -0.02em;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--navy);
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius) 0;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

/* ---------------------------------------------------------------- Header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.7rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand {
  color: var(--text);
}
.nav__brand:hover {
  text-decoration: none;
}
.nav__word {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.nav__word-accent {
  color: var(--accent);
}
.nav__menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}
.nav__menu a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.nav__menu a:hover {
  color: var(--accent);
  text-decoration: none;
}
.nav__menu a.is-active:not(.nav__cta) {
  color: var(--text);
}
.nav__menu a.is-active:not(.nav__cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.nav__cta {
  color: var(--navy) !important;
}
.nav__cta:hover {
  color: var(--navy) !important;
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}
.theme-toggle {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-size: 1rem;
  display: grid;
  place-items: center;
}
@media (max-width: 900px) {
  .nav__toggle {
    display: flex;
  }
  .nav__menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem var(--pad);
    transform: translateY(-140%);
    transition: transform 0.28s ease;
  }
  .nav__menu.is-open {
    transform: translateY(0);
  }
  .nav__menu a.is-active:not(.nav__cta)::after {
    display: none;
  }
}

/* --------------------------------------------------------------- Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease,
    color 0.2s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.btn--primary {
  background: var(--accent);
  color: var(--navy);
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--navy);
}
.btn--ghost {
  background: transparent;
  border-color: rgba(212, 175, 78, 0.5);
  color: #eaf0f8;
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.section .btn--ghost {
  border-color: var(--border);
  color: var(--text);
}
.btn--sm {
  padding: 0.5rem 1.05rem;
  font-size: 0.9rem;
}
.btn--block {
  width: 100%;
}

/* --------------------------------------------------------------- Layout --- */
main {
  width: 100%;
}
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.5rem) var(--pad);
  border-top: 1px solid var(--border);
}
.section__head {
  margin-bottom: 2.5rem;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.75rem;
}
.kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section__title {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  margin: 0;
  line-height: 1.15;
}
.section__lead {
  color: var(--muted);
  max-width: 46rem;
  margin: 1rem 0 0;
  font-size: 1.08rem;
}
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid--cards {
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}
.grid--clouds {
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
}
.grid--why {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ----------------------------------------------------------------- Hero --- */
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: clamp(3.5rem, 8vw, 5.5rem) var(--pad) clamp(3rem, 6vw, 4rem);
  background: radial-gradient(
    120% 90% at 80% 0%,
    #12294a 0%,
    #0a1626 55%,
    #070f1c 100%
  );
  color: #eaf0f8;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 15, 28, 0.35) 0%,
    rgba(7, 15, 28, 0.15) 40%,
    rgba(7, 15, 28, 0.55) 100%
  );
}
.hero__inner {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}
.hero__eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid rgba(212, 175, 78, 0.4);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin: 0 0 1.35rem;
}
.hero__title {
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0.02em;
  font-weight: 800;
  margin: 0 0 0.7rem;
  color: #fff;
}
.hero__title-accent {
  color: var(--accent);
}
.hero__slogan {
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 0 0 1rem;
  text-transform: uppercase;
}
.hero__typed {
  font-size: 1.15rem;
  color: #d5deec;
  margin: 0 0 1.25rem;
  min-height: 1.6em;
}
.hero__typed-word {
  color: #fff;
  font-weight: 600;
}
.hero__caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: -2px;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.hero__intro {
  color: #b9c6d9;
  font-size: 1.08rem;
  max-width: 42rem;
  margin: 0 auto 1.9rem;
}
.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.capabilities {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 1.6rem;
  margin: 2.5rem 0 0;
  padding: 0;
}
.cap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cdd8e8;
  font-size: 0.86rem;
  font-weight: 500;
}
.cap__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 78, 0.35);
  background: rgba(212, 175, 78, 0.08);
  color: var(--accent);
  transition: transform 0.2s ease, background 0.2s ease;
}
.cap:hover .cap__icon {
  transform: translateY(-3px);
  background: rgba(212, 175, 78, 0.18);
}
.cap__icon svg {
  width: 20px;
  height: 20px;
}
.stats {
  position: relative;
  list-style: none;
  max-width: var(--max-width);
  margin: 3rem auto 0;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: rgba(16, 32, 58, 0.7);
  border: 1px solid rgba(212, 175, 78, 0.25);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}
.stat {
  text-align: center;
}
.stat__value {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
}
.stat__label {
  font-size: 0.82rem;
  color: #b9c6d9;
}
@media (max-width: 640px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------------------------------------------------------------- About --- */
.about {
  max-width: 52rem;
}
.about p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.08rem;
}
.about__grid {
  margin-top: 2.5rem;
}

/* ---------------------------------------------------------------- Cards --- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.card__icon svg {
  width: 24px;
  height: 24px;
}
.card__title {
  margin: 0;
  font-size: 1.15rem;
}
.card__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* -------------------------------------------------------------- Process --- */
.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  margin-bottom: 0.9rem;
}
.step__title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}
.step__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}
@media (max-width: 900px) {
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .process {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------- Clouds --- */
.cloud {
  display: flex;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cloud:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.cloud__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--navy);
}
.cloud__icon svg {
  width: 24px;
  height: 24px;
}
.cloud__title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}
.cloud__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* ------------------------------------------------------------ Industries -- */
.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}
.tag {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.tag:hover {
  color: var(--navy);
  background: var(--accent);
  border-color: var(--accent);
}

/* --------------------------------------------------------------- Tech ----- */
.tech {
  display: grid;
  gap: 1.5rem;
}
.tech__group {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem 1.5rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.tech__group:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.tech__label {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
}
.tech__chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}
.tech__chips li {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
}
@media (max-width: 640px) {
  .tech__group {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* --------------------------------------------------------------- Why us --- */
.why {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.why__num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.55;
  line-height: 1;
}
.why__title {
  margin: 0.5rem 0 0.4rem;
  font-size: 1.1rem;
}
.why__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* -------------------------------------------------------------- Contact --- */
.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}
.contact__lead {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 1rem 0 1.5rem;
  max-width: 34rem;
}
.contact__steps {
  list-style: none;
  counter-reset: c;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.contact__steps li {
  counter-increment: c;
  position: relative;
  padding-left: 2.75rem;
  color: var(--text);
  font-weight: 500;
}
.contact__steps li::before {
  content: counter(c);
  position: absolute;
  left: 0;
  top: -0.1rem;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
.contact__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.contact__card-label {
  margin: 0 0 1rem;
  font-weight: 700;
  font-size: 0.95rem;
}
.contact__details {
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1.1rem;
}
.contact__details div {
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
}
.contact__details dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.contact__details dd {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}
.contact__socials {
  list-style: none;
  display: flex;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}
.contact__socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.contact__socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}
.contact__socials svg {
  width: 19px;
  height: 19px;
}
@media (max-width: 820px) {
  .contact {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --------------------------------------------------------------- Footer --- */
.site-footer {
  background: #070f1c;
  color: #9fb0c6;
  border-top: 1px solid #21375a;
}
.site-footer__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem var(--pad) 2rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2rem;
}
.site-footer__brand .nav__word {
  color: #fff;
}
.site-footer__tag {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0.6rem 0 0.5rem;
}
.site-footer__blurb {
  margin: 0;
  font-size: 0.9rem;
  max-width: 22rem;
}
.site-footer__col h3 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem;
}
.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.site-footer__col a,
.site-footer__col li {
  color: #9fb0c6;
  font-size: 0.92rem;
}
.site-footer__col a:hover {
  color: var(--accent);
  text-decoration: none;
}
.site-footer__bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem var(--pad);
  border-top: 1px solid #21375a;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
  font-size: 0.8rem;
}
.site-footer__disclaimer {
  opacity: 0.7;
  max-width: 48rem;
}
@media (max-width: 820px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 460px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}
