@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap");

:root {
  /* Teal-navy, sampled from the Taurine Software site's own hero wash */
  --teal-950: #081b23;
  --teal-900: #0d2e3a;
  --teal-800: #124559;
  --teal-700: #1a5a70;
  --teal-600: #236f87;

  --orange: #ff6600;
  --orange-light: #ff8f3d;

  --white: #ffffff;
  --text: #eef3f5;
  --text-soft: #b7c7cd;
  --text-mute: #82989f;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.26);

  --grey-dark: #33383d;

  --font-display: "Poppins", sans-serif;
  --font-sans: "Inter", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--teal-950);
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  background: var(--teal-950);
  color: var(--text);
  font-family: var(--font-sans);
  min-height: 100vh;
  overscroll-behavior-y: none;
}

/* ---------- monochrome video backdrop, fixed behind all content ---------- */

.site-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.site-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(85%) contrast(1.05) brightness(0.7);
}

.site-bg .scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,27,35,0.5) 0%, rgba(8,27,35,0.68) 45%, rgba(8,27,35,0.86) 100%),
    linear-gradient(90deg, rgba(18,69,89,0.5), rgba(18,69,89,0.15));
}

.topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 64px;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}

.topbar img { height: 43px; }

.topbar .tag {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  border: 1px solid var(--border-strong);
  padding: 8px 16px;
  border-radius: 100px;
}

/* ---------- hamburger nav ---------- */

.hamburger {
  position: relative;
  z-index: 6;
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(13, 46, 58, 0.5);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 260ms ease, opacity 200ms ease;
}

.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 4;
  background: rgba(4, 12, 16, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}
.nav-scrim.is-open { opacity: 1; pointer-events: auto; }

.nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(360px, 86vw);
  z-index: 5;
  background: rgba(8, 27, 35, 0.96);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.22,.9,.25,1);
  display: flex;
  flex-direction: column;
}

.nav-menu.is-open { transform: translateX(0); }

.nav-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  text-decoration: none;
  border-radius: 10px;
  transition: color 200ms ease, background 200ms ease;
}
.nav-close:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-close svg { width: 20px; height: 20px; }

.nav-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 36px 48px;
  margin-top: 90px;
  margin-bottom: 0;
}

.nav-menu-inner a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--text);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 200ms ease;
}
.nav-menu-inner a:hover { color: var(--orange-light); }
.nav-menu-inner a:last-child { border-bottom: none; }

body.nav-open { overflow: hidden; }

.hero {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 110px 24px 90px;
  text-align: center;
}

.hero .kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 22px;
  opacity: 0;
  animation: rise 600ms cubic-bezier(.22,.9,.25,1) 100ms both;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.14;
  color: var(--white);
  margin: 0;
  opacity: 0;
  animation: rise 700ms cubic-bezier(.22,.9,.25,1) 220ms both;
}

.hero h1 .accent { color: var(--orange); }

.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 560px;
  margin: 24px auto 0;
  opacity: 0;
  animation: rise 700ms cubic-bezier(.22,.9,.25,1) 360ms both;
}

/* ---------- path cards ---------- */

.paths {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(13, 46, 58, 0.62);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 38px 36px;
  text-decoration: none;
  color: inherit;
  transition: transform 280ms ease, border-color 280ms ease, background 280ms ease;
  opacity: 0;
  animation: rise 700ms cubic-bezier(.22,.9,.25,1) both;
}

.path-card:nth-child(1) { animation-delay: 480ms; }
.path-card:nth-child(2) { animation-delay: 580ms; }
.path-card:nth-child(3) { animation-delay: 680ms; }

.path-card:hover {
  transform: translateY(-4px);
  background: rgba(18, 69, 89, 0.72);
  border-color: rgba(255,255,255,0.22);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  flex-shrink: 0;
}

.card-icon svg { width: 28px; height: 28px; stroke: var(--white); }

.icon--safeq { background: var(--orange); }
.icon--docai { background: var(--teal-600); }
.icon--hardware { background: var(--orange); }

.path-card .card-kicker {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 12px;
}

.path-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  color: var(--white);
  margin: 0 0 14px;
}

.path-card p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 28px;
  flex: 1;
}

.path-card .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--white);
  border: 1.5px solid var(--border-strong);
  border-radius: 100px;
  padding: 12px 24px;
  align-self: flex-start;
  transition: border-color 240ms ease, background 240ms ease;
}

.path-card:hover .card-cta {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.path-card .card-cta svg {
  width: 14px; height: 14px;
  transition: transform 240ms ease;
}
.path-card:hover .card-cta svg { transform: translateX(4px); }

/* ---------- page content below the hero/cards — solid ground so the
   fixed video backdrop only shows through the hero, not the whole page ---------- */

.page-content {
  position: relative;
  z-index: 2;
  background: var(--teal-950);
  border-top: 1px solid var(--border);
}

.content-section { padding: 96px 24px; }
.content-section.alt { background: rgba(13, 46, 58, 0.55); }

.section-inner { max-width: 880px; margin: 0 auto; }

.section-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 38px);
  color: var(--white);
  margin: 0 0 22px;
  line-height: 1.15;
}

.section-lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0 0 18px;
  max-width: 680px;
}

.section-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0 0 28px;
  max-width: 680px;
}

/* Hardware mini-cards */
.hw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.hw-card {
  background: rgba(13, 46, 58, 0.62);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 28px;
}
.hw-card .card-icon { margin-bottom: 20px; }
.hw-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--white);
  margin: 0 0 12px;
}
.hw-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0;
}

/* Services tag row */
.tag-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.tag-pill {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 9px 18px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--white);
  background: var(--orange);
  border: none;
  border-radius: 100px;
  padding: 15px 30px;
  cursor: pointer;
  text-decoration: none;
  transition: background 200ms ease, transform 200ms ease;
}
.btn-primary:hover { background: var(--orange-light); }
.btn-primary:active { transform: scale(0.97); }
.btn-block { width: 100%; }

/* Contact */
.contact-inner {
  max-width: 1080px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* ---------- section-split: text + photo, used in Services / Partnership ---------- */
.section-split {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.section-split.is-reverse .section-split-copy { order: 2; }
.section-split.is-reverse .photo-card { order: 1; }

.photo-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.photo-card--transparent {
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.photo-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.contact-form {
  background: rgba(13, 46, 58, 0.62);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.form-row input, .form-row textarea {
  background: rgba(8, 27, 35, 0.7);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--orange);
}

footer {
  position: relative;
  z-index: 2;
  padding: 44px 24px 0;
  color: var(--text-mute);
  font-size: 13.5px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
}

.footer-brand p {
  margin: 0 0 4px;
  line-height: 1.5;
}
.footer-brand p:last-child { margin-bottom: 0; }

.footer-social {
  display: flex;
  align-items: center;
  gap: 22px;
}
.footer-social a {
  color: var(--text-mute);
  display: flex;
  transition: color 200ms ease, transform 200ms ease;
}
.footer-social a:hover {
  color: var(--orange-light);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; }

.footer-email a {
  color: var(--text-mute);
  text-decoration: none;
  transition: color 200ms ease;
}
.footer-email a:hover { color: var(--orange-light); }

.footer-bottom {
  text-align: center;
  padding: 22px 0 40px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .kicker, .hero h1, .hero p, .path-card { animation: none !important; opacity: 1 !important; }
}

@media (max-width: 980px) {
  .paths { grid-template-columns: 1fr 1fr; }
  .hw-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .section-split { grid-template-columns: 1fr; gap: 40px; }
  .section-split.is-reverse .section-split-copy { order: 1; }
  .section-split.is-reverse .photo-card { order: 2; }
}

@media (max-width: 760px) {
  .paths { grid-template-columns: 1fr; }
  .topbar { padding: 24px; }
  .topbar img { height: 34px; }
  .hero { padding: 90px 20px 64px; }
  .content-section { padding: 72px 20px; }
  .hw-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; gap: 22px; }
}
