:root {
  color-scheme: light;
  --graphite: #14161a;
  --ink: #202327;
  --stone: #eeece6;
  --soft-white: #f6f7f5;
  --silver: #bfc4c1;
  --sage: #dde6d8;
  --sage-deep: #84907f;
  --warm-gray: #d7d0c5;
  --glass: rgba(246, 247, 245, 0.78);
  --shadow: 0 24px 80px rgba(20, 22, 26, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(221, 230, 216, 0.42), transparent 28rem),
    linear-gradient(180deg, rgba(246, 247, 245, 0.92), rgba(238, 236, 230, 0.98)),
    var(--stone);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px clamp(20px, 5vw, 72px);
  color: var(--soft-white);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  border: 1px solid rgba(246, 247, 245, 0.26);
  background: rgba(20, 22, 26, 0.36);
  box-shadow: 0 12px 50px rgba(20, 22, 26, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  gap: 12px;
  min-height: 48px;
  padding: 7px 18px 7px 8px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 650;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.nav-links {
  gap: 6px;
  padding: 7px;
  border-radius: 999px;
}

.nav-links a {
  border-radius: 999px;
  padding: 9px 14px;
  color: rgba(246, 247, 245, 0.86);
  font-size: 0.84rem;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(246, 247, 245, 0.14);
  color: var(--soft-white);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--graphite);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34vh;
  background: linear-gradient(180deg, transparent, rgba(238, 236, 230, 0.16));
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 22, 26, 0.28) 0%, rgba(20, 22, 26, 0.08) 42%, rgba(20, 22, 26, 0.7) 100%),
    linear-gradient(90deg, rgba(20, 22, 26, 0.58), rgba(20, 22, 26, 0.04) 56%),
    url("assets/images/agenticloop-hero-1.png") center / cover no-repeat;
  background-attachment: fixed;
  transform: scale(1.01);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 1060px);
  margin: 0 auto;
  padding: 150px clamp(20px, 5vw, 72px) 76px;
  color: var(--soft-white);
  text-align: center;
}

.hero-logo {
  width: clamp(330px, 49vw, 650px);
  height: auto;
  margin: 0 auto clamp(24px, 3.4vw, 42px);
  object-fit: contain;
  opacity: 0.8;
  filter: drop-shadow(0 30px 70px rgba(20, 22, 26, 0.34));
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--sage);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: 22px;
  color: rgba(246, 247, 245, 0.84);
  font-size: clamp(1.04rem, 1.7vw, 1.36rem);
  letter-spacing: 0.24em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-right: auto;
  margin-bottom: 24px;
  margin-left: auto;
  font-size: clamp(2.5rem, 6.2vw, 5.8rem);
  line-height: 0.98;
  font-weight: 680;
}

.hero-copy {
  max-width: 630px;
  margin-right: auto;
  margin-bottom: 34px;
  margin-left: auto;
  color: rgba(246, 247, 245, 0.86);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

@supports (animation-timeline: view()) {
  .hero {
    view-timeline-name: --hero;
    view-timeline-axis: block;
  }

  .hero-media {
    animation: hero-background-drift linear both;
    animation-timeline: --hero;
    animation-range: entry 0% exit 100%;
  }

  .hero-logo {
    animation: hero-logo-drift linear both;
    animation-timeline: --hero;
    animation-range: cover 0% cover 82%;
    transform-origin: center;
  }

  .hero .eyebrow {
    animation: hero-eyebrow-rise linear both;
    animation-timeline: --hero;
    animation-range: cover 12% cover 72%;
  }

  .hero h1,
  .hero-copy {
    animation: hero-copy-rise linear both;
    animation-timeline: --hero;
    animation-range: cover 16% cover 78%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media,
  .hero-logo,
  .hero .eyebrow,
  .hero h1,
  .hero-copy {
    animation: none;
  }
}

@keyframes hero-background-drift {
  from {
    background-position: center 43%;
    filter: saturate(1.05) brightness(0.94);
    transform: scale(1.04);
  }

  to {
    background-position: center 56%;
    filter: saturate(0.94) brightness(0.76);
    transform: scale(1.01);
  }
}

@keyframes hero-logo-drift {
  from {
    opacity: 0.8;
    transform: translateY(-10px) scale(1.02);
  }

  to {
    opacity: 0.38;
    transform: translateY(-82px) scale(0.9);
  }
}

@keyframes hero-eyebrow-rise {
  from {
    opacity: 0.92;
    transform: translateY(0);
  }

  to {
    opacity: 0.62;
    transform: translateY(-26px);
  }
}

@keyframes hero-copy-rise {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-44px);
  }
}

.section {
  position: relative;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 11vw, 140px) 0;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 50%;
  z-index: -1;
  width: min(46vw, 620px);
  height: min(46vw, 620px);
  border-radius: 50%;
  background: rgba(221, 230, 216, 0.22);
  filter: blur(70px);
  transform: translate(-20%, -12%);
  pointer-events: none;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(32px, 8vw, 96px);
  align-items: start;
}

.intro h2,
.section-heading h2 {
  margin-bottom: 0;
  color: var(--graphite);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1;
  font-weight: 640;
}

.intro > p {
  margin-top: 42px;
  color: rgba(32, 35, 39, 0.78);
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
}

.section-label {
  color: var(--sage-deep);
}

.focus {
  border-top: 1px solid rgba(20, 22, 26, 0.12);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(36px, 7vw, 78px);
}

.section-heading h2 {
  max-width: 760px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(20, 22, 26, 0.12);
  border-radius: 8px;
  background: rgba(20, 22, 26, 0.12);
  box-shadow: var(--shadow);
}

.focus-grid article {
  min-height: 310px;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(246, 247, 245, 0.92)),
    var(--soft-white);
  transition:
    background 220ms ease,
    transform 220ms ease;
}

.focus-grid article:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(221, 230, 216, 0.3)),
    var(--soft-white);
  transform: translateY(-2px);
}

.focus-grid span {
  display: inline-flex;
  margin-bottom: 72px;
  color: var(--sage-deep);
  font-size: 0.78rem;
  font-weight: 750;
}

.focus-grid h3 {
  margin-bottom: 14px;
  color: var(--graphite);
  font-size: 1.18rem;
}

.focus-grid p {
  margin-bottom: 0;
  color: rgba(32, 35, 39, 0.68);
}

.statement {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 860px);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
  padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(rgba(20, 22, 26, 0.82), rgba(20, 22, 26, 0.9)),
    url("assets/images/agenticloop-hero-1.png") center / cover no-repeat fixed,
    var(--graphite);
  color: var(--soft-white);
}

.statement::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 0%, rgba(221, 230, 216, 0.16), transparent 34%),
    linear-gradient(90deg, rgba(246, 247, 245, 0.05), transparent);
  pointer-events: none;
}

.statement img,
.statement p {
  position: relative;
}

.statement img {
  width: clamp(76px, 12vw, 140px);
  border-radius: 50%;
  opacity: 0.86;
}

.statement p {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 4.1rem);
  line-height: 1.08;
  font-weight: 560;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 40px;
  padding: clamp(44px, 7vw, 76px) clamp(20px, 5vw, 72px);
  background: var(--soft-white);
  color: rgba(32, 35, 39, 0.72);
}

.footer-name {
  margin-bottom: 8px;
  color: var(--graphite);
  font-weight: 750;
}

.site-footer p {
  max-width: 480px;
  margin-bottom: 0;
}

address {
  display: grid;
  gap: 8px;
  align-content: start;
  font-style: normal;
  text-align: right;
}

address a,
.contact-email {
  color: var(--graphite);
  font-weight: 650;
}

.contact-email {
  margin: 0;
}

.copyright {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  color: rgba(32, 35, 39, 0.52);
  font-size: 0.88rem;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    gap: 14px;
    padding-top: 16px;
  }

  .brand span {
    display: none;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    min-height: 860px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(20, 22, 26, 0.24) 0%, rgba(20, 22, 26, 0.2) 38%, rgba(20, 22, 26, 0.78) 100%),
      url("assets/images/agenticloop-hero-1.png") center / cover no-repeat;
    background-attachment: scroll;
  }

  .statement {
    background:
      linear-gradient(rgba(20, 22, 26, 0.86), rgba(20, 22, 26, 0.92)),
      url("assets/images/agenticloop-hero-1.png") center / cover no-repeat,
      var(--graphite);
  }

  .intro,
  .statement,
  .focus-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .intro > p {
    margin-top: 0;
  }

  .section-heading,
  .site-footer {
    display: grid;
  }

  .focus-grid article {
    min-height: auto;
  }

  .focus-grid span {
    margin-bottom: 42px;
  }

  address {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-inline: 14px;
  }

  .nav-links a {
    padding: 8px 10px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-inline: 20px;
    padding-bottom: 42px;
  }

  .hero-logo {
    width: min(88vw, 380px);
  }

  h1 {
    font-size: clamp(2.18rem, 11vw, 3.4rem);
  }

  .section {
    width: min(100% - 32px, 1160px);
  }
}
