:root {
  color-scheme: light;
  --ag-green: #0e642e;
  --ag-logo-green: #076324;
  --ag-green-dark: #084d23;
  --ag-mint: #f2f8f1;
  --ag-navy: #002147;
  --ag-gold: #ae841e;
  --ag-gold-text: #765711;
  --ag-orange: #f58220;
  --ag-text: #666666;
  --ag-border: rgba(0, 33, 71, 0.13);
  --ag-shadow: 0 24px 60px rgba(0, 33, 71, 0.09);
  --tp-theme-primary: var(--ag-green);
  --tp-common-black: var(--ag-navy);
  --tp-grey-1: var(--ag-text);
  --tp-grey-2: var(--ag-mint);
  --tp-border-1: var(--ag-border);
}

html {
  scroll-behavior: smooth;
  background: #ffffff;
}

body {
  overflow-x: hidden;
  color: var(--ag-navy);
  background: #ffffff;
}

html.ag-menu-open,
body.ag-menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.tp-offcanvas-2-area.ag-menu-closing {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
  width: 50%;
  height: 100%;
}

.no-js #preloader {
  display: none;
}

.ag-noscript {
  position: relative;
  z-index: 100000;
  padding: 12px 20px;
  color: var(--ag-navy);
  text-align: center;
  background: var(--ag-mint);
  border-bottom: 1px solid var(--ag-border);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--ag-green);
  outline-offset: 5px;
}

.ag-skip-link {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 100001;
  padding: 10px 18px;
  color: #ffffff;
  font-weight: 700;
  background: var(--ag-green);
  border-radius: 40px;
  transform: translate(-50%, -180%);
  transition: transform 0.2s ease;
}

.ag-skip-link:focus {
  color: #ffffff;
  transform: translate(-50%, 0);
}

.ag-navigation-target:focus {
  outline: 3px solid var(--ag-green);
  outline-offset: -4px;
}

.cursor-black-bg #ball {
  background-color: #1e1e1e;
}

/* Brand */
.ag-brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--ag-navy);
}

.ag-brand__logo {
  display: block;
  width: 145px;
  max-width: 100%;
  height: auto;
}

.ag-brand__mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  overflow: hidden;
  background: rgba(242, 248, 241, 0.86);
  border: 1px solid rgba(174, 132, 30, 0.5);
  border-radius: 50%;
  place-items: center;
}

.ag-brand__mark::before,
.ag-brand__mark::after,
.ag-brand__mark span {
  position: absolute;
  content: "";
}

.ag-brand__mark::before {
  bottom: 8px;
  left: 8px;
  width: 26px;
  height: 18px;
  background: linear-gradient(135deg, transparent 48%, var(--ag-gold) 49% 65%, transparent 66%);
  transform: translateX(-5px);
}

.ag-brand__mark::after {
  right: 8px;
  bottom: 9px;
  width: 24px;
  height: 16px;
  background: linear-gradient(45deg, transparent 48%, var(--ag-logo-green) 49% 68%, transparent 69%);
}

.ag-brand__mark span {
  top: 9px;
  right: 9px;
  width: 6px;
  height: 6px;
  background: var(--ag-gold);
  border-radius: 50%;
}

.ag-brand__text {
  display: grid;
  grid-template-columns: auto auto;
  font-family: var(--tp-ff-sequel-roman);
  font-size: 19px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.ag-brand__text strong {
  font-weight: 600;
}

.ag-brand__text em {
  color: var(--ag-gold-text);
  font-style: normal;
}

.ag-brand__text small {
  grid-column: 1 / -1;
  margin-top: 5px;
  color: var(--ag-green);
  font-family: var(--tp-ff-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ag-brand--footer .ag-brand__mark {
  width: 50px;
  height: 50px;
}

.ag-brand--footer .ag-brand__text {
  font-size: 23px;
}

.ag-brand--footer .ag-brand__logo {
  width: 165px;
}

/* Header and navigation */
.ag-header {
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.ag-site-header .tp-main-menu > nav > ul > li > a,
.ag-site-header .tp-main-menu nav ul li .submenu li a {
  color: #1e1e1e;
}

.ag-site-header .tp-main-menu > nav > ul > li > a:hover,
.ag-site-header .tp-main-menu nav ul li:hover.has-dropdown > a {
  color: #ffffff;
  background: #1e1e1e;
}

.ag-site-header .tp-main-menu nav ul li .submenu li a {
  color: #636368;
}

.ag-site-header .tp-main-menu nav ul li .submenu li a:hover {
  color: #1e1e1e;
  background: #ededed;
}

.ag-site-header .tp-main-menu nav ul li .submenu {
  width: 235px;
  background: rgba(255, 255, 255, 0.9);
  border: 0;
  box-shadow: 0 20px 30px -8px rgba(19, 19, 22, 0.1);
}

.ag-site-header .tp-main-menu nav ul li:focus-within > .submenu {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.ag-header-cta {
  gap: 14px;
  align-items: center;
  padding: 11px 18px;
  color: #ffffff;
  font-family: var(--tp-ff-sequel-roman);
  font-size: 14px;
  line-height: 1;
  background: #1e1e1e;
  border: 1px solid #1e1e1e;
  border-radius: 40px;
}

.ag-header-cta:hover {
  color: #ffffff;
  background: #3b3b3b;
  border-color: #3b3b3b;
}

.ag-header-cta span {
  color: #ffffff;
  font-size: 18px;
}

.ag-site-header .hamburger-open-btn span {
  background: #1e1e1e;
}

.tp-offcanvas-2-area .offcanvas-bg {
  background: rgba(247, 240, 240, 0.9);
  border: 0;
}

.tp-offcanvas-2-wrapper .hamburger-close-btn {
  display: grid;
  color: #1e1e1e;
  place-items: center;
}

.tp-offcanvas-2-wrapper .tp-offcanvas-menu > nav > ul > li > a,
.tp-offcanvas-2-wrapper .tp-offcanvas-menu .submenu li a {
  color: #1e1e1e;
}

/* Landing hero */
.ag-home-hero {
  isolation: isolate;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 0;
}

.ag-home-hero .tp-hero-scale-content {
  position: relative;
  z-index: 2;
}

.ag-home-hero .tp-hero-scale-background::after {
  content: none;
}

.ag-section-eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  color: #1e1e1e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.ag-section-eyebrow::before {
  width: 34px;
  height: 2px;
  content: "";
  background: #1e1e1e;
}

.ag-home-hero .tp-hero-title {
  max-width: 100%;
  margin-bottom: 0;
  color: #1e1e1e;
  font-size: clamp(6.9rem, 10vw, 11.5rem);
  line-height: 0.9;
  letter-spacing: -0.058em;
}

.ag-home-hero .tp-hero-dec {
  max-width: 330px;
  color: #5e5959;
}

.ag-home-hero .tp-hero-shape {
  color: #5e5959;
}

.ag-home-hero .tp-btn:not(.tp-btn-grey) {
  color: #ffffff;
  background: #1e1e1e;
}

.ag-home-hero .tp-btn:not(.tp-btn-grey):hover {
  color: #ffffff;
  background: #1e1e1e;
}

.ag-home-hero .tp-btn-grey {
  color: #1e1e1e;
  background: #f3f3f3;
  border: 0;
}

.ag-home-hero .tp-btn-grey:hover {
  color: #1e1e1e;
  background: #f3f3f3;
}

.ag-hero-shortcuts {
  margin-left: 0;
}

.ag-home-hero .tp-hero-social a {
  color: #5e5959;
  background: transparent;
  border-color: rgba(38, 38, 38, 0.1);
}

.ag-home-hero .tp-hero-social a:hover {
  color: #ffffff;
  background: #1e1e1e;
  border-color: #1e1e1e;
}

.ag-hero-gallery-shell {
  --bs-gutter-x: 0;
  padding-right: 0;
  padding-left: 0;
}

.ag-home-hero .tp-hero-scale-gallery {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: clamp(8px, 0.75vw, 15px);
  width: min(100%, 2400px);
  padding: clamp(12px, 1vw, 20px);
  background: rgba(0, 0, 0, 0.1);
  border: 0;
  box-shadow: none;
}

.ag-home-hero .tp-hero-scale-gallery .thumbs {
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border: 0;
  transition: transform 0.4s ease;
}

.ag-home-hero .tp-hero-scale-gallery .thumbs:hover,
.ag-home-hero .tp-hero-scale-gallery .thumbs:focus-visible {
  transform: translateY(-12px);
}

.ag-home-hero .tp-hero-scale-gallery .thumbs::before {
  z-index: 3;
  background: #ffffff;
}

.ag-home-hero .tp-hero-scale-gallery .thumbs img {
  width: 100%;
  height: 100%;
}

.ag-hero-slide,
.ag-hero-slide a {
  position: relative;
  display: block;
}

.ag-hero-slider-wrap {
  max-width: 100%;
  overflow: hidden;
}

.ag-hero-slider .ag-hero-slide img {
  border-radius: 0;
  box-shadow: none;
}

.ag-hero-slider-controls {
  display: flex;
  justify-content: center;
  padding-top: 18px;
}

.ag-hero-slider-toggle {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 9px 15px;
  color: #1e1e1e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  background: #ffffff;
  border: 1px solid rgba(38, 38, 38, 0.15);
  border-radius: 30px;
}

.ag-hero-slider-toggle:hover {
  color: #ffffff;
  background: #1e1e1e;
}

.ag-hero-slider-toggle__icon {
  min-width: 11px;
  font-size: 11px;
  text-align: center;
}

.no-js .ag-hero-slider-toggle {
  display: none;
}

/* Applications */
.ag-applications {
  padding-top: 110px;
  scroll-margin-top: 40px;
  background: #ffffff;
}

.ag-section-eyebrow {
  margin-bottom: 14px;
}

.ag-section-title {
  margin-bottom: 0;
  color: #1e1e1e;
  font-size: clamp(3.2rem, 6.5vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.ag-section-description {
  max-width: 500px;
  margin: 0 0 5px auto;
  color: var(--ag-text);
  font-size: 17px;
  line-height: 1.65;
}

.application-card {
  --tp-theme-primary: var(--ag-orange);
  height: calc(100% - 40px);
  padding: 12px 12px 37px;
  background: #1e1e1e;
  border: 0;
  border-radius: 32px;
  box-shadow: none;
}

.application-card-reveal {
  height: 100%;
}

.application-card:hover {
  background: #1e1e1e;
  box-shadow: none;
  transform: none;
}

.application-card:focus-within {
  box-shadow: 0 0 0 3px var(--ag-orange);
}

.application-card .cs-portfolio-thumb {
  position: relative;
  aspect-ratio: 816 / 600;
  background: #ededed;
}

.application-card__media {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.application-card__media:focus-visible {
  outline: 4px solid var(--ag-orange);
  outline-offset: -7px;
}

.application-card .cs-portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.application-card__status {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(30, 30, 30, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  backdrop-filter: blur(8px);
}

.application-card__status::before {
  width: 6px;
  height: 6px;
  margin-right: 7px;
  content: "";
  background: #d2d5da;
  border-radius: 50%;
}

.application-card__status.is-ready::before {
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.application-card__content {
  display: block;
  padding: 45px 10px 0;
}

.application-card__heading {
  gap: 20px;
}

.application-card .cs-portfolio-title {
  flex: 1 1 250px;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.application-card .cs-portfolio-title a,
.application-card .cs-portfolio-title span {
  color: inherit;
}

.application-card .tp-title-text span {
  text-shadow: 0 1.05em var(--ag-orange);
}

.application-card:hover .tp-title-text span,
.application-card:focus-within .tp-title-text span {
  text-shadow: 0 1.05em var(--ag-orange);
}

.application-card .cs-portfolio-tag {
  flex: 0 1 auto;
}

.application-card .cs-portfolio-tag ul li span {
  display: inline-block;
  padding: 8px 19px;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
}

.application-card__description {
  max-width: 580px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* Footer */
.ag-footer {
  overflow: hidden;
  color: var(--ag-navy);
  border-top: 1px solid var(--ag-border);
}

.ag-footer__description {
  max-width: 390px;
  color: var(--ag-text);
  font-size: 17px;
}

.ag-footer .tp-footer-subtitle,
.ag-footer .tp-footer-copyright,
.ag-footer .ag-footer__big-title,
.ag-footer .ag-footer__big-title a {
  color: var(--ag-navy);
}

.ag-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.cs-footer-style .ag-footer__links a {
  margin: 0;
  padding: 9px 18px;
  color: var(--ag-green);
  background: #ffffff;
  border-color: rgba(14, 100, 46, 0.2);
}

.cs-footer-style .ag-footer__links a:hover {
  color: #ffffff;
  background: var(--ag-green);
  border-color: var(--ag-green);
}

.ag-footer .tp-about-border {
  border-top-color: var(--ag-border);
}

.cs-footer-bigtitle.ag-footer__big-title {
  margin-bottom: 0;
  font-size: clamp(3.2rem, 12.5vw, 11rem);
  white-space: nowrap;
}

@media (max-width: 1199.98px) {
  .ag-header {
    padding-right: 10px;
    padding-left: 10px;
  }

  .ag-home-hero {
    padding-bottom: 70px;
  }

  .ag-home-hero .tp-hero-title {
    font-size: clamp(5rem, 10vw, 7rem);
  }

  .ag-section-description {
    margin-top: 24px;
    margin-left: 0;
  }

  .application-card {
    height: auto;
  }
}

@media (max-width: 991.98px) {
  .tp-offcanvas-2-area.ag-menu-closing {
    width: 100%;
  }

  .ag-home-hero .tp-hero-social {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .ag-brand__logo {
    width: 126px;
  }

  .ag-brand--footer .ag-brand__logo {
    width: 155px;
  }

  .ag-brand__mark {
    width: 36px;
    height: 36px;
  }

  .ag-brand__text {
    font-size: 16px;
  }

  .ag-home-hero {
    padding-top: 130px;
  }

  .ag-home-hero .tp-hero-title {
    font-size: clamp(2.25rem, 11.3vw, 4rem);
    letter-spacing: -0.048em;
  }

  .ag-home-hero .tp-hero-dec {
    max-width: 520px;
  }

  .ag-home-hero .tp-hero-btn {
    justify-content: flex-start !important;
  }

  .ag-applications {
    padding-top: 75px;
    padding-bottom: 80px;
  }

  .ag-section-title {
    font-size: clamp(2.7rem, 15vw, 4.5rem);
  }

  .application-card {
    padding: 9px 9px 28px;
    border-radius: 23px;
  }

  .application-card__content {
    padding: 28px 7px 0;
  }

  .application-card__heading {
    display: block !important;
  }

  .application-card .cs-portfolio-title {
    margin-right: 0;
  }

  .cs-footer-bigtitle.ag-footer__big-title {
    white-space: normal;
  }
}

@media (max-width: 574.98px) {
  .ag-home-hero .tp-hero-title-wrap {
    margin-bottom: 28px !important;
  }

  .ag-home-hero .tp-btn {
    width: 100%;
  }

  .ag-home-hero .tp-hero-slider-active .background-img img {
    width: 170px;
    height: 170px;
  }
}

@media (hover: none), (pointer: coarse) {
  #magic-cursor {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #magic-cursor {
    display: none !important;
  }

  .ag-hero-slider-toggle,
  .ag-hero-slider-wrap .swiper-slide[aria-hidden="true"] {
    display: none;
  }

  .tp-char-animation,
  .tp-char-animation * {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .tp-offcanvas-2-area,
  .tp-offcanvas-2-area *,
  .tp-offcanvas-2-area *::before,
  .tp-offcanvas-2-area *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .tp-offcanvas-2-wrapper .tp-offcanvas-menu > nav > ul > li,
  .tp-offcanvas-2-wrapper .tp-offcanvas-menu > nav > ul > li > a,
  .tp-offcanvas-2-wrapper .tp-header-logo {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
