.ants-home-page {
  --home-red-deep: #a10e32;
  --home-sage: #e3ebe5;
  --home-signal: #ff9bb0;
  --home-field: var(--ants-petrol);
  --home-service-surface: #edf0e8;
  --home-team-surface: #faf7f1;
}
.ants-home {
  background: var(--home-paper);
  color: var(--home-ink);
  font-family: 'IBM Plex Sans', sans-serif;
}
.home-frame { width: var(--ants-frame-width); margin-inline: auto; }
.home-opening {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: calc(100vh - var(--ants-header-height, 72px));
  min-height: calc(100svh - var(--ants-header-height, 72px));
}
.home-masthead {
  display: grid;
  background: linear-gradient(115deg, var(--home-team-surface) 28%, var(--home-sage));
  color: #162d2e;
}
.home-hero-frame {
  display: grid;
  grid-template-columns: minmax(0, .73fr) minmax(0, 1fr);
  align-items: center;
  column-gap: 2%;
}
.ants-home .home-hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 68svh;
  object-fit: contain;
  margin: 0;
  border-radius: 0;
  transform: none;
}
.home-hero-copy { padding: clamp(1.25rem, 6svh, 5rem) 0; }
.ants-home .home-official-logo { display: block; width: clamp(4.75rem, 3.7vw, 6.25rem); height: auto; margin: 0 0 1.3rem; border-radius: 50%; background: var(--home-paper); transform: none; }
.ants-home .home-kicker { color: var(--home-red); font: 700 .78rem/1.4 'IBM Plex Mono', monospace; margin: 0 0 .85rem; }
.ants-home h1, .ants-home h2, .ants-home h3 { text-align: left; color: inherit; }
.ants-home .home-masthead h1 { margin: 0; font: 700 clamp(2.7rem, min(6.5vw, 10.5svh), 9.5rem)/.94 'Space Grotesk', sans-serif; }
.ants-home .home-field .home-kicker { color: var(--home-signal); }
.home-masthead h1 span { color: var(--home-red); }
.ants-home .home-lead { margin: 1.65rem 0 1.9rem; max-width: 32ch; font-size: clamp(1.24rem, 1.1vw, 1.65rem); line-height: 1.45; color: #304747; }
.home-paths { background: var(--home-field); }
.home-paths .home-frame { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ants-home .home-paths a { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .65rem; color: #fff; padding: 1.4rem .75rem 1.4rem 0; text-decoration: none; font-weight: 600; }
.home-paths a span { color: var(--home-signal); font: .75rem 'IBM Plex Mono', monospace; }
.ants-home .home-paths a:hover { color: var(--home-signal); }
.home-field, .home-services { padding: clamp(5rem, 8vw, 8.5rem) 0; }
.home-about-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) minmax(0, .8fr); align-items: stretch; }
.home-about-copy { padding: 6.5rem 2.5rem 6.5rem max(4vw, calc((100vw - 2400px) / 2)); }
.ants-home h2 { font: 700 3.15rem/1.08 'Space Grotesk', sans-serif; margin: 0 0 1.4rem; text-wrap: balance; }
.home-about p:not(.home-kicker) { max-width: 62ch; font-size: 1.1rem; line-height: 1.65; }
.home-about figure { margin: 0; }
.home-about figure img { width: 100%; height: auto; display: block; margin: 0; border-radius: 0; }
.home-about-mark, .home-affiliation { display: grid; place-items: center; padding: 2rem; }
.home-about-mark { background: #e4eeea; }
.home-affiliation { background: var(--home-red); }
.home-about figure .home-manifesto { width: min(100%, clamp(21rem, 19vw, 30rem)); }
.ants-home .home-affiliation a { display: grid; justify-items: center; gap: 1.15rem; color: #fff; text-decoration: none; font: 600 .9rem/1.4 'IBM Plex Mono', monospace; }
.ants-home .home-affiliation a:focus-visible { outline-color: #fff; }
.ants-home .home-affiliation a:hover span { text-decoration: underline; }
.home-about .home-affiliation img { box-sizing: border-box; width: 8rem; max-width: 100%; height: auto; padding: .7rem; background: var(--home-paper); border-radius: 50%; margin: 0; transform: none; }
.home-team { padding: clamp(5rem, 8vw, 8.5rem) 0; background: var(--home-team-surface); border-block: 1px solid #d7dcd9; }
.ants-home .home-team h2 { text-align: center; }
.ants-home .home-team img { display: block; width: min(100%, 78rem); height: auto; margin: 2.75rem auto 0; border-radius: 8px; transform: none; }
.home-contact {
  overflow: hidden;
  background: var(--home-field);
  color: #fff;
  scroll-margin-top: calc(var(--home-header-min, 72px) + .5rem);
}
.home-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 6rem);
}
.home-contact-copy { padding-block: clamp(3.25rem, 7vw, 7rem); }
.ants-home .home-contact .home-kicker, .home-contact h2 span, .home-contact-arrow { color: var(--home-signal); }
.ants-home .home-contact h2 { font-size: clamp(2.75rem, 5.8vw, 6rem); text-wrap: balance; }
.ants-home .home-contact-copy > p:not(.home-kicker) { max-width: 40ch; margin: 0; color: #e0ebe6; font-size: 1.12rem; }
.home-contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin-top: 2.5rem;
  font-style: normal;
}
.ants-home .home-contact-links a {
  display: grid;
  align-content: start;
  gap: .4rem;
  padding-block: .85rem .5rem;
  border-top: 1px solid #ffffff55;
  color: #fff;
  text-decoration: none;
}
.home-contact-detail { color: #d6e5de; line-height: 1.5; overflow-wrap: anywhere; }
.home-contact-arrow { margin-inline-start: .25rem; }
.home-contact-links a:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.ants-home .home-contact-links a:focus-visible { outline-color: var(--home-signal); }
.home-contact-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(circle at 55% 58%, #edf1e6, #b9cfc2 75%);
}
.home-contact-visual::before {
  content: '';
  position: absolute;
  left: 54%;
  bottom: clamp(3rem, 9vw, 9rem);
  width: min(52%, 22rem);
  aspect-ratio: 1;
  translate: -50% 0;
  border: 1px solid #1733344d;
  border-radius: 50%;
}
.ants-home .home-contact-visual img {
  position: absolute;
  left: 58%;
  bottom: 0;
  width: min(144%, 51rem);
  max-width: none;
  height: auto;
  margin: 0;
  translate: -50% 0;
  transform: none;
  border-radius: 0;
}
@media (max-width: 760px) {
  .home-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .home-contact-visual { min-height: clamp(14rem, 57vw, 23rem); margin-inline: -4.35%; }
  .ants-home .home-contact-visual img { width: min(120%, 39rem); }
}
@media (max-width: 460px) {
  .home-contact-links { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
}
.ants-home .home-text-link { color: var(--home-red); font-weight: 600; text-underline-offset: .2em; }
.home-field { background: linear-gradient(120deg, #192b39, var(--home-field) 72%); color: #fff; }
.home-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; margin-top: 3rem; }
.ants-home .home-feature { position: relative; isolation: isolate; display: grid; align-items: end; min-height: 19rem; color: #fff; text-decoration: none; overflow: hidden; border: 1px solid #ffffff44; border-radius: 7px; background: var(--home-ink); }
.home-feature::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,var(--feature-base) 0%,var(--feature-mid) 42%,transparent 100%); }
.home-feature--lab { --feature-base: #132a25; --feature-mid: #132a25d9; }
.home-feature--news { --feature-base: #082e2c; --feature-mid: #082e2cd9; }
.ants-home .home-feature img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; margin: 0; border-radius: 0; transform: none; }
.home-feature > div { padding: clamp(1.5rem, 2.6vw, 2.5rem); }
.ants-home .home-feature h3 { font: 700 2.4rem/1 'Space Grotesk', sans-serif; margin: 0; }
.ants-home .home-feature p { color: #fff; margin: .55rem 0 .8rem; }
.home-feature--lab span { color: #8af5bc; }
.home-feature--news span { color: #d6fb75; }
.home-feature:hover span { text-decoration: underline; }
.home-services { background: var(--home-service-surface); }
.home-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--home-rule); margin: 2.75rem 0 2rem; }
.ants-home .home-service-grid a { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; gap: .8rem; align-items: center; border-bottom: 1px solid var(--home-rule); padding: 1.3rem .9rem; text-decoration: none; color: inherit; }
.ants-home .home-service-grid a:hover { background: var(--home-sage); }
.ants-home .home-service-grid img { width: 2.5rem; height: 2.5rem; object-fit: contain; margin: 0; transform: none; }
.home-service-grid strong, .home-service-grid small { display: block; }
.home-service-grid small { line-height: 1.35; margin-top: .15rem; }
.home-support { display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; }
.ants-home .home-support a { color: var(--home-red); }
.ants-home a:not(.ants-control):focus-visible { outline: 2px solid var(--home-red); outline-offset: 3px; }
.ants-home .home-paths a:focus-visible, .ants-home .home-feature:focus-visible { outline-offset: -3px; }
.ants-home .home-feature:focus-visible { outline-color: #fff; }
.ants-home .home-paths a:focus-visible { outline-color: var(--home-signal); }
.home-skip-link { position: fixed; z-index: 100; inset: .65rem auto auto .65rem; transform: translateY(-180%); padding: .65rem .9rem; background: var(--home-red); color: #fff; border-radius: 6px; }
.home-skip-link:focus { transform: none; }
#home-content { scroll-margin-top: calc(var(--home-header-min, 72px) + .5rem); }
@media (max-width: 960px) {
  .home-paths .home-frame, .home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-about-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-about-copy { grid-column: 1/-1; padding: 4rem 4%; }
  .home-about-mark, .home-affiliation { min-height: 12rem; padding: 1rem; }
  .home-field, .home-services, .home-team { padding: 4rem 0; }
  .ants-home h2 { font-size: 2.2rem; }
}
@media (max-height: 740px) {
  .home-hero-copy { padding: 1rem 0; }
  .ants-home .home-official-logo { width: 3.5rem; margin-bottom: .75rem; }
  .ants-home .home-lead { margin-block: .85rem 1rem; font-size: 1.05rem; }
  .ants-home .home-paths a { padding-block: .8rem; }
}
@media (max-width: 720px) {
  .home-hero-frame { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); padding-bottom: 1rem; }
  .home-hero-copy { padding: clamp(1rem, 3svh, 2.75rem) 0 1rem; }
  .ants-home .home-hero-image { width: min(100%, 34rem); max-height: 23svh; justify-self: center; }
  .ants-home .home-paths a { padding-block: .8rem; }
}
@media (max-width: 720px) and (max-height: 740px) {
  .home-hero-copy { padding: .875rem 0 .5rem; }
  .home-hero-frame { padding-bottom: .75rem; }
  .ants-home .home-masthead h1 { font-size: clamp(2rem, 5.5svh, 2.5rem); }
  .ants-home .home-hero-image { max-height: 16svh; }
}
@media (max-width: 720px) and (max-height: 620px) {
  .ants-home .home-official-logo { width: 2.75rem; margin-bottom: .5rem; }
  .ants-home .home-masthead .home-kicker { margin-bottom: .5rem; }
  .ants-home .home-masthead h1 { font-size: 2rem; }
  .ants-home .home-lead { margin-block: .55rem .65rem; }
  .ants-home .home-hero-image { max-height: 18svh; }
  .ants-home .home-paths a { padding-block: .45rem; }
}
@media (max-width: 480px) {
  .home-field-grid, .home-service-grid { grid-template-columns: 1fr; }
  .ants-home .home-paths a { font-size: .88rem; gap: .35rem; }
  .ants-home .home-feature { min-height: 14rem; }
}
