/* ========================================
   TRIFOLDTECH FONT IMPORTS
======================================== */

@import url("https://api.fontshare.com/v2/css?f[]=satoshi@400,500,600,700,800,900&display=swap");

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


/* ========================================
   VARIABLES AND RESET
======================================== */

:root {
  --navy: #0b1220;
  --orange: #ff7a00;
  --teal: #00c2d1;
  --gray: #f4f6f8;
  --muted: #596577;
  --line: #dce3e9;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

p {
  margin-top: 0;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

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

button,
input,
select,
textarea {
  font-family: "Inter", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  font-family: "Satoshi", "Inter", Arial, sans-serif;
  text-wrap: balance;
}

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


/* ========================================
   ACCESSIBILITY
======================================== */

.skip {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 999;
  padding: 12px;
  background: var(--orange);
  color: var(--navy);
  font-family: "Inter", sans-serif;
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}


/* ========================================
   HEADER AND NAVIGATION
======================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 18, 32, 0.07);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-family: "Satoshi", "Inter", sans-serif;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -1px;
  text-decoration: none;
}

.header-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.logo-text {
  color: var(--navy);
  font-family: "Satoshi", "Inter", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
}

.logo span,
.logo-text > span {
  color: var(--orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.nav-links > a:not(.button) {
  transition: color 0.2s ease;
}

.nav-links > a:not(.button):hover {
  color: #008c96;
}

.nav-toggle {
  display: none;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}


/* ========================================
   BUTTONS
======================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 14px 20px;
  border: 0;
  border-radius: 10px;
  background: var(--teal);
  color: var(--navy);
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.button:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

.button.compact {
  min-height: 42px;
  padding: 11px 17px;
  font-size: 14px;
}

.button.outline {
  background: var(--white);
  border: 1px solid var(--line);
}

.button.orange {
  background: var(--orange);
}


/* ========================================
   HERO SECTION
======================================== */

.hero {
  padding: 95px 0 105px;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 35%, #eafcfd);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 80px;
}

.eyebrow {
  color: #008e98;
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

h1 {
  margin: 22px 0;
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -4px;
}

h1 em,
h2 em {
  color: #009da8;
  font-style: normal;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.origin {
  color: #687486;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1.6;
}

.hero-art {
  position: relative;
  height: 480px;
}

.orbit {
  position: absolute;
  top: 20px;
  right: 10px;
  width: 390px;
  height: 390px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 194, 209, 0.29);
  border-radius: 50%;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  inset: 55px;
  border: 1px dashed rgba(0, 194, 209, 0.29);
  border-radius: 50%;
}

.orbit::after {
  inset: 115px;
  background: var(--navy);
}

.orbit b {
  z-index: 2;
  color: var(--white);
  font-family: "Satoshi", sans-serif;
  font-size: 50px;
}

.orbit span {
  position: absolute;
  z-index: 3;
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.orbit span:nth-child(1) {
  top: 25px;
}

.orbit span:nth-child(2) {
  left: -20px;
  bottom: 90px;
}

.orbit span:nth-child(3) {
  right: -25px;
  bottom: 90px;
}

.hero-art article {
  position: absolute;
  bottom: 15px;
  left: 0;
  padding: 22px;
  background: var(--navy);
  color: var(--white);
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(11, 18, 32, 0.17);
}

.hero-art article small {
  color: var(--teal);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
}

.hero-art article h2 {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.4;
}


/* ========================================
   SIGNAL BAR
======================================== */

.signal {
  background: var(--navy);
  color: #aeb9c8;
}

.signal .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 1.2px;
}


/* ========================================
   GENERAL SECTIONS
======================================== */

.section {
  padding: 105px 0;
}

.heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 48px;
}

.heading h2,
.split h2,
.newsletter h2 {
  max-width: 720px;
  margin: 14px 0;
  font-size: clamp(38px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -3px;
}

.heading > p {
  max-width: 400px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}


/* ========================================
   PILLARS
======================================== */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.pillars article {
  position: relative;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.pillars article:last-child {
  border-right: 0;
}

.pillars b {
  color: var(--orange);
  font-family: "Inter", sans-serif;
  font-size: 13px;
}

.pillars i {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin: 42px 0 22px;
  background: #e8fbfd;
  color: #008c96;
  border-radius: 15px;
  font-size: 23px;
  font-style: normal;
}

.pillars h3 {
  font-size: 26px;
  font-weight: 700;
}

.pillars p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}


/* ========================================
   ABOUT
======================================== */

.about {
  background: var(--gray);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.split > div:last-child > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}


/* ========================================
   ACAD
======================================== */

.dark {
  background: var(--navy);
  color: var(--white);
}

.heading.light > p {
  color: #aab4c2;
}

.acad-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
}

.acad-grid article {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 19px;
}

.acad-grid .featured {
  background: var(--teal);
  color: var(--navy);
}

.acad-grid span,
.product-grid span {
  color: var(--orange);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.featured span {
  color: #006871;
}

.acad-grid h3 {
  margin: 50px 0 12px;
  font-size: 28px;
}

.acad-grid p {
  color: #b9c3cf;
  font-size: 15px;
  line-height: 1.75;
}

.featured p {
  color: #19434a;
}

.acad-grid a,
.product-grid a,
.service-grid a {
  display: inline-block;
  margin-top: 22px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tags b {
  padding: 7px 10px;
  border: 1px solid rgba(11, 18, 32, 0.2);
  border-radius: 20px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
}


/* ========================================
   PRODUCTS
======================================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-grid article {
  min-height: 300px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.product-grid article:nth-child(1) {
  background: var(--navy);
  color: var(--white);
}

.product-grid h3 {
  margin-top: auto;
  font-size: 29px;
}

.product-grid p {
  color: #748090;
  font-size: 15px;
  line-height: 1.75;
}

.product-grid article:first-child p {
  color: #aab5c3;
}


/* ========================================
   SERVICES
======================================== */

.services {
  background: var(--gray);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.service-grid article {
  padding: 30px;
  border-top: 1px solid #ced7df;
}

.service-grid article:nth-child(odd) {
  border-right: 1px solid #ced7df;
}

.service-grid b {
  color: var(--orange);
  font-family: "Inter", sans-serif;
  font-size: 13px;
}

.service-grid h3 {
  margin: 30px 0 12px;
  font-size: 25px;
}

.service-grid p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.service-grid small {
  color: #788495;
  font-family: "Inter", sans-serif;
  font-size: 13px;
}


/* ========================================
   TEAM
======================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.team-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.person {
  height: 200px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--navy), #263650);
  color: var(--teal);
  border-radius: 12px;
  font-family: "Satoshi", sans-serif;
  font-size: 36px;
  font-weight: 800;
}

.team-grid h3 {
  margin: 18px 0 5px;
  font-size: 20px;
}

.team-grid p,
.team-grid small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}


/* ========================================
   COMMUNITY
======================================== */

.community {
  padding: 70px 0;
  background: var(--teal);
}

.community h2 {
  margin-bottom: 14px;
}


/* ========================================
   NEWSLETTER
======================================== */

.newsletter {
  padding: 80px 0;
  background: var(--navy);
  color: var(--white);
}

.newsletter .split {
  grid-template-columns: 0.8fr 1.2fr;
}

.newsletter p {
  color: #a7b2c1;
}

.inline-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 12px;
}

.inline-form .consent,
.inline-form .form-status {
  grid-column: 1 / -1;
}


/* ========================================
   FORMS
======================================== */

.ajax-form label {
  display: grid;
  gap: 7px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.ajax-form input,
.ajax-form select,
.ajax-form textarea {
  width: 100%;
  padding: 13px;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.4;
}

.ajax-form textarea {
  min-height: 135px;
  resize: vertical;
}

.ajax-form input:focus,
.ajax-form select:focus,
.ajax-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(0, 194, 209, 0.16);
}

.consent {
  display: flex !important;
  align-items: center;
  gap: 9px !important;
  color: #aab5c3;
}

.consent input {
  width: 16px;
  height: 16px;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.form-status {
  margin: 3px 0;
  font-family: "Inter", sans-serif;
  font-size: 13px;
}


/* ========================================
   CONTACT
======================================== */

.contact {
  background: var(--white);
}

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

.contact-form,
.contact-grid aside {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.contact-form {
  display: grid;
  gap: 15px;
}

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

.contact-grid aside {
  background: var(--gray);
}

.contact-grid aside b {
  color: #008d97;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
}

.contact-grid aside p,
.contact-grid aside a {
  font-size: 15px;
  line-height: 1.75;
}

.contact-grid aside > div {
  margin-bottom: 22px;
}

.contact iframe {
  width: 100%;
  height: 250px;
  margin-top: 5px;
  border: 0;
  border-radius: 12px;
}

.map-link {
  display: inline-block;
  margin-top: 12px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
}


/* ========================================
   FOOTER
======================================== */

.footer {
  padding: 70px 0 25px;
  background: #080e19;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 45px;
}

.logo.light,
.logo.light .logo-text {
  color: var(--white);
}

.footer p {
  color: #95a2b3;
  font-size: 14px;
  line-height: 1.75;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer h3 {
  color: var(--teal);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.footer a {
  color: #c1cad6;
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

.footer a:hover {
  color: var(--teal);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.socials span {
  padding: 6px 8px;
  color: #8d9aae;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 45px;
  padding-top: 20px;
  color: #8996a8;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-family: "Inter", sans-serif;
  font-size: 12px;
}

.footer-bottom div {
  display: flex;
  gap: 18px;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
    padding: 10px 14px;
    background: var(--navy);
    color: var(--white);
    border: 0;
    border-radius: 7px;
    cursor: pointer;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    padding: 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    font-size: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .newsletter .split {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: 520px;
  }

  .heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .pillars,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .pillars article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

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

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


/* ========================================
   MOBILE
======================================== */

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), 1180px);
  }

  .nav {
    min-height: 70px;
  }

  .header-logo {
    width: 36px;
    height: 36px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .nav-links {
    top: 70px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 50px);
    line-height: 1.04;
    letter-spacing: -2.5px;
  }

  .heading h2,
  .split h2,
  .newsletter h2 {
    font-size: clamp(34px, 10vw, 44px);
    letter-spacing: -2px;
  }

  .hero {
    padding: 65px 0 75px;
  }

  .lead {
    font-size: 17px;
    line-height: 1.7;
  }

  .actions,
  .signal .container {
    flex-direction: column;
  }

  .actions .button {
    width: 100%;
  }

  .hero-art {
    height: 390px;
    transform: scale(0.82);
    transform-origin: left top;
  }

  .orbit {
    right: -50px;
  }

  .service-grid,
  .team-grid,
  .form-row,
  .inline-form {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    border-right: 0 !important;
  }

  .inline-form .consent,
  .inline-form .form-status {
    grid-column: auto;
  }

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

  .footer-bottom,
  .footer-bottom div {
    flex-direction: column;
  }

  .section {
    padding: 75px 0;
  }
}


/* ========================================
   REDUCED MOTION
======================================== */

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