@font-face {
  font-family: 'AeonikTRIAL';
  src: url('./AGENTS/Fonts/AeonikTRIAL-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AeonikTRIAL';
  src: url('./AGENTS/Fonts/AeonikTRIAL-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --s13: 1rem;     /* 13px */
  --s26: 2rem;     /* 26px */
  --s39: 3rem;     /* 39px */
  --s52: 4rem;     /* 52px */
  --s78: 6rem;     /* 78px */
  --s104: 8rem;    /* 104px */
  --s130: 10rem;   /* 130px */
  --s156: 12rem;   /* 156px */
  --s182: 14rem;   /* 182px */
  --bg-dark: #252525;
  --accent: #FF6666;
  --text-light: #FFFFFF;
}

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

html {
  font-size: 0.8125rem; /* 1rem = 13px */
}

html,
body,
* {
  font-family: 'AeonikTRIAL', sans-serif !important;
  font-variant-emoji: text;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-weight: 400;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

main,
.site-footer {
  overflow-y: clip;
}

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

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--s26);
}

.logo {
  font-size: var(--s26);
  font-weight: 700;
  line-height: 1;
  color: var(--text-light);
}

.site-nav {
  display: flex;
  align-items: baseline;
  gap: var(--s26);
}

.nav-link {
  font-size: var(--s26);
  font-weight: 400;
  line-height: 1;
  color: var(--text-light);
}

.nav-link--accent {
  color: var(--accent);
}

/* Hero */
.hero {
  padding: 0 var(--s26);
  margin: 0;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 0.0769em solid rgba(255, 255, 255, 0.12);
  border-left: 0.0769em solid rgba(255, 255, 255, 0.12);
}

.hero-cell {
  aspect-ratio: 1 / 1;
  border-right: 0.0769em solid rgba(255, 255, 255, 0.12);
  border-bottom: 0.0769em solid rgba(255, 255, 255, 0.12);
}

.hero-title {
  position: absolute;
  left: var(--s26);
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0;
  font-size: var(--s156);
  font-weight: 700;
  line-height: 1;
  color: var(--text-light);
}

.hero-subtitle {
  position: absolute;
  right: var(--s26);
  bottom: var(--s26);
  margin: 0;
  padding: 0;
  font-size: var(--s39);
  font-weight: 400;
  line-height: 1;
  color: var(--text-light);
}

/* Feature Section */
.feature {
  padding: var(--s104) var(--s26) var(--s182) var(--s26);
  margin: 0;
}

.feature-kicker {
  margin: 0 0 var(--s26) 0;
  font-size: var(--s26);
  font-weight: 400;
  line-height: 1;
  color: var(--text-light);
}

.feature-title {
  margin: 0;
  font-size: var(--s52);
  font-weight: 400;
  line-height: 1.05;
  color: var(--text-light);
}

.feature-subtitle {
  margin: 0 0 var(--s26) 0;
  font-size: var(--s26);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-light);
}

.feature-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin: 0 0 var(--s26) 0;
}

.feature-copy {
  margin: 0 0 var(--s26) 0;
  font-size: var(--s26);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-light);
}

.feature-cta {
  margin: 0;
  font-size: var(--s26);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-light);
}

.inline-link {
  color: var(--accent);
}

/* Footer */
.site-footer {
  background-color: var(--accent);
  color: var(--bg-dark);
  padding: var(--s26);
  margin: 0;
}

.footer-heading {
  margin: 0 0 var(--s52) 0;
  font-size: var(--s52);
  font-weight: 400;
  line-height: 1.1;
  color: var(--bg-dark);
}

.footer-cta-row {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 var(--s26) 0;
}

.footer-cta {
  font-size: var(--s26);
  font-weight: 400;
  line-height: 1.2;
  color: var(--bg-dark);
  border-bottom: 0.0385em solid var(--bg-dark);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--s26) 0 0 0;
  border-top: 0.0385em solid var(--bg-dark);
}

.footer-brand {
  font-size: var(--s26);
  font-weight: 700;
  line-height: 1;
  color: var(--bg-dark);
}

.footer-social {
  font-size: var(--s26);
  font-weight: 400;
  line-height: 1;
  color: var(--bg-dark);
}

/* Mobile Portrait */
@media (max-width: 48em) {
  .site-header {
    padding: var(--s26) var(--s13);
  }

  .logo,
  .nav-link {
    font-size: 1.5rem;
  }

  .site-nav {
    gap: var(--s13);
  }

  .hero {
    padding: 0 var(--s13);
  }

  .hero-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-title {
    left: var(--s13);
    font-size: var(--s78);
  }

  .hero-subtitle {
    right: var(--s13);
    bottom: var(--s13);
    font-size: var(--s26);
  }

  .feature {
    padding: var(--s78) var(--s13) var(--s104) var(--s13);
  }

  .feature-kicker {
    margin: 0 0 var(--s26) 0;
    font-size: var(--s26);
  }

  .feature-title {
    font-size: var(--s39);
  }

  .feature-subtitle {
    margin: 0 0 var(--s26) 0;
    font-size: var(--s26);
  }

  .feature-image {
    margin: 0 0 var(--s26) 0;
  }

  .feature-copy {
    margin: 0 0 var(--s26) 0;
    font-size: var(--s26);
  }

  .feature-cta {
    font-size: var(--s26);
  }

  .site-footer {
    padding: var(--s26) var(--s13);
  }

  .footer-heading {
    margin: 0 0 var(--s39) 0;
    font-size: var(--s39);
  }

  .footer-cta-row {
    margin: 0 0 var(--s26) 0;
  }

  .footer-cta,
  .footer-brand,
  .footer-social {
    font-size: var(--s26);
  }

  .footer-bottom {
    padding: var(--s26) 0 0 0;
  }
}
