:root {
  --ai-ink: #11120f;
  --ai-paper: #f1f0e9;
  --ai-paper-bright: #faf9f3;
  --ai-line: rgba(17, 18, 15, 0.2);
  --ai-accent: #d8ff3e;
  --ai-muted: #74766c;
}

.ai-page {
  background: var(--ai-paper);
  color: var(--ai-ink);
  font-family: "Raleway", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

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

.ai-page h1,
.ai-page h2,
.ai-page h3,
.ai-page p,
.ai-page figure,
.ai-page ul,
.ai-page ol {
  margin-top: 0;
}

.ai-page h1,
.ai-page h2,
.ai-page h3 {
  color: inherit;
  font-family: "Raleway", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.045em;
  text-transform: none;
}

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

.ai-shell {
  margin: 0 auto;
  max-width: 1480px;
  padding-left: clamp(24px, 4vw, 72px);
  padding-right: clamp(24px, 4vw, 72px);
  width: 100%;
}

.ai-section {
  padding-bottom: clamp(90px, 10vw, 170px);
  padding-top: clamp(90px, 10vw, 170px);
}

.ai-header {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.56), transparent);
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 30;
}

.ai-header .navbar {
  margin: 0 auto;
  max-width: 1480px;
}

.ai-header .navbar-default {
  background: transparent;
  border: 0;
}

.ai-header .navbar-default .navbar-nav > li > a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding-left: 17px;
  padding-right: 17px;
  text-transform: uppercase;
}

.ai-header .navbar-default .navbar-nav > li > a:hover,
.ai-header .navbar-default .navbar-nav > .active > a,
.ai-header .navbar-default .navbar-nav > .active > a:hover {
  background: transparent;
  color: var(--ai-accent);
}

.ai-header .navbar-brand img {
  max-height: 48px;
  width: auto;
}

.ai-hero {
  background: #0a0b09;
  color: #fff;
  min-height: 820px;
  overflow: hidden;
  position: relative;
}

.ai-hero__media,
.ai-hero__shade {
  inset: 0;
  position: absolute;
}

.ai-hero__media {
  left: 47%;
}

.ai-hero__media img {
  filter: saturate(0.72) contrast(1.08);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ai-hero__shade {
  background:
    linear-gradient(90deg, #0a0b09 0%, rgba(10, 11, 9, 0.97) 37%, rgba(10, 11, 9, 0.5) 67%, rgba(10, 11, 9, 0.18) 100%),
    linear-gradient(0deg, rgba(10, 11, 9, 0.65), transparent 55%);
}

.ai-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 820px;
  padding-bottom: 70px;
  padding-top: 150px;
  position: relative;
  z-index: 2;
}

.ai-eyebrow,
.ai-kicker,
.ai-section-number,
.ai-case__number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ai-eyebrow {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 42px;
}

.ai-eyebrow span {
  color: var(--ai-accent);
  margin-right: 22px;
}

.ai-hero h1 {
  color: #fff;
  font-size: clamp(56px, 7.4vw, 118px);
  line-height: 0.9;
  margin-bottom: clamp(60px, 9vw, 130px);
  max-width: 1120px;
}

.ai-title-mobile {
  display: none;
}

.ai-hero__footer {
  align-items: end;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(280px, 590px) auto;
}

.ai-hero__lede {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(17px, 1.7vw, 24px);
  line-height: 1.45;
  margin-bottom: 0;
}

.ai-text-link {
  align-items: center;
  border-bottom: 1px solid currentColor;
  color: var(--ai-ink);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 28px;
  letter-spacing: 0.1em;
  padding-bottom: 8px;
  text-transform: uppercase;
}

.ai-text-link:hover,
.ai-text-link:focus {
  color: #667b00;
  text-decoration: none;
}

.ai-text-link--light {
  color: #fff;
  justify-self: end;
}

.ai-text-link--light:hover,
.ai-text-link--light:focus {
  color: var(--ai-accent);
}

.ai-hero__index {
  bottom: 27px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  left: 18px;
  letter-spacing: 0.15em;
  position: absolute;
  writing-mode: vertical-rl;
  z-index: 2;
}

.ai-intro {
  background: var(--ai-paper-bright);
}

.ai-intro__grid {
  display: grid;
  gap: clamp(60px, 8vw, 130px);
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
}

.ai-kicker {
  color: var(--ai-muted);
  margin-bottom: 35px;
}

.ai-intro h2,
.ai-capabilities__intro h2,
.ai-experiments__heading h2,
.ai-consulting h2,
.ai-beyond h2 {
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.02;
}

.ai-intro h2 {
  margin-bottom: 0;
  max-width: 790px;
}

.ai-intro__copy {
  padding-top: 51px;
}

.ai-intro__copy > p {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 24px;
}

.ai-stat-row {
  border-top: 1px solid var(--ai-line);
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: 55px;
  padding-top: 22px;
}

.ai-stat-row div {
  display: flex;
  flex-direction: column;
}

.ai-stat-row strong {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.ai-stat-row span {
  color: var(--ai-muted);
  font-size: 10px;
  line-height: 1.4;
  text-transform: uppercase;
}

.ai-featured {
  background: var(--ai-paper);
}

.ai-section-head {
  align-items: center;
  border-top: 1px solid var(--ai-line);
  display: flex;
  justify-content: space-between;
  margin-bottom: clamp(50px, 6vw, 90px);
  padding-top: 16px;
}

.ai-section-head .ai-kicker,
.ai-section-head p {
  margin-bottom: 0;
}

.ai-section-number {
  color: var(--ai-muted);
}

.ai-case {
  background: var(--ai-paper-bright);
  overflow: hidden;
}

.ai-case__visual {
  background: #161713;
  overflow: hidden;
}

.ai-case__visual img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.65, 0.3, 1);
  width: 100%;
}

.ai-case:hover .ai-case__visual img {
  transform: scale(1.025);
}

.ai-case__body {
  padding: clamp(32px, 4vw, 64px);
}

.ai-case__number {
  color: var(--ai-muted);
  margin-bottom: 27px;
}

.ai-case h3 {
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.02;
  margin-bottom: 28px;
}

.ai-case__summary {
  font-size: 16px;
  line-height: 1.7;
  max-width: 620px;
}

.ai-case__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}

.ai-case__tags li {
  border: 1px solid var(--ai-line);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.07em;
  padding: 8px 13px;
  text-transform: uppercase;
}

.ai-case--flagship {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.75fr);
  margin-bottom: 32px;
}

.ai-case__visual--split {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  min-height: 680px;
}

.ai-case__visual--split img:last-child {
  border-left: 2px solid var(--ai-paper);
}

.ai-case__visual--split .ai-case__portrait-crop {
  object-position: center center;
}

.ai-case__proof {
  border-top: 1px solid var(--ai-line);
  display: grid;
  font-size: 10px;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  letter-spacing: 0.08em;
  margin-top: 65px;
  padding-top: 18px;
  text-transform: uppercase;
}

.ai-case-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 32px;
}

.ai-case--card .ai-case__visual {
  aspect-ratio: 16 / 10;
}

.ai-case--card h3 {
  font-size: clamp(32px, 3.5vw, 50px);
}

.ai-case--dark {
  background: var(--ai-ink);
  color: #fff;
}

.ai-case--dark .ai-case__number,
.ai-case--dark .ai-case__summary {
  color: rgba(255, 255, 255, 0.68);
}

.ai-case--dark .ai-case__tags li {
  border-color: rgba(255, 255, 255, 0.25);
}

.ai-case--horizontal {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
}

.ai-case--horizontal .ai-case__visual {
  min-height: 480px;
}

.ai-case--horizontal .ai-case__body {
  align-self: center;
}

.ai-case--horizontal .ai-text-link {
  margin-top: 35px;
}

.ai-capabilities {
  background: var(--ai-accent);
}

.ai-capabilities .ai-kicker,
.ai-capabilities .ai-section-number {
  color: rgba(17, 18, 15, 0.62);
}

.ai-capabilities__intro {
  display: grid;
  gap: 80px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  margin-bottom: 80px;
}

.ai-capabilities__intro h2 {
  margin-bottom: 0;
  max-width: 860px;
}

.ai-capabilities__intro p {
  align-self: end;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 7px;
}

.ai-capability-list {
  border-top: 1px solid rgba(17, 18, 15, 0.3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.ai-capability-list li {
  align-items: center;
  border-bottom: 1px solid rgba(17, 18, 15, 0.3);
  display: grid;
  gap: 24px;
  grid-template-columns: 50px minmax(300px, 0.65fr) 1fr;
  min-height: 92px;
}

.ai-capability-list span {
  font-size: 10px;
}

.ai-capability-list strong {
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 600;
}

.ai-capability-list em {
  font-size: 13px;
  font-style: normal;
}

.ai-experiments {
  background: var(--ai-paper-bright);
}

.ai-experiments__heading {
  align-items: end;
  display: grid;
  gap: 80px;
  grid-template-columns: 1fr 0.46fr;
  margin-bottom: 70px;
}

.ai-experiments__heading h2,
.ai-experiments__heading p {
  margin-bottom: 0;
}

.ai-experiments__heading p {
  color: var(--ai-muted);
  line-height: 1.7;
}

.ai-experiment-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1.2fr 0.55fr 0.8fr;
}

.ai-experiment {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.ai-experiment img {
  height: 480px;
  object-fit: cover;
  width: 100%;
}

.ai-experiment--portrait img {
  object-position: center top;
}

.ai-experiment figcaption {
  border-top: 1px solid var(--ai-line);
  display: flex;
  justify-content: space-between;
  padding-top: 13px;
}

.ai-experiment figcaption span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ai-experiment figcaption em {
  color: var(--ai-muted);
  font-size: 10px;
  font-style: normal;
  text-transform: uppercase;
}

.ai-experiments__cta {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.ai-consulting {
  background: #d9d7cd;
}

.ai-consulting__grid {
  display: grid;
  gap: clamp(55px, 8vw, 130px);
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.75fr);
}

.ai-consulting__image img {
  height: min(720px, 65vw);
  object-fit: cover;
  width: 100%;
}

.ai-consulting__image span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  padding-top: 12px;
  text-transform: uppercase;
}

.ai-consulting__body {
  align-self: center;
}

/* Keep archive case-study introductions on the same grid as SimpleClock. */
.case-page .case-intro__grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.68fr);
}

.case-page .case-facts {
  display: none;
}

.ai-consulting h2 {
  margin-bottom: 35px;
}

.ai-consulting__body > p {
  font-size: 17px;
  line-height: 1.75;
}

.ai-service-list {
  border-top: 1px solid var(--ai-line);
  list-style: none;
  margin: 45px 0;
  padding: 0;
}

.ai-service-list li {
  border-bottom: 1px solid var(--ai-line);
  font-size: 14px;
  padding: 15px 0;
}

.ai-service-list span {
  color: var(--ai-muted);
  display: inline-block;
  font-size: 10px;
  width: 40px;
}

.ai-button {
  align-items: center;
  background: var(--ai-ink);
  color: #fff;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 40px;
  letter-spacing: 0.1em;
  padding: 18px 23px;
  text-transform: uppercase;
}

.ai-button:hover,
.ai-button:focus {
  background: var(--ai-accent);
  color: var(--ai-ink);
  text-decoration: none;
}

.ai-beyond {
  background: #0d0e0c;
  color: #fff;
}

.ai-section-head--light {
  border-color: rgba(255, 255, 255, 0.25);
}

.ai-section-head--light .ai-kicker,
.ai-section-head--light .ai-section-number {
  color: rgba(255, 255, 255, 0.55);
}

.ai-beyond__intro {
  display: grid;
  gap: 80px;
  grid-template-columns: 1fr 0.45fr;
  margin-bottom: 85px;
}

.ai-beyond__intro h2,
.ai-beyond__intro p {
  margin-bottom: 0;
}

.ai-beyond__intro p {
  align-self: end;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.ai-beyond-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ai-beyond-grid article {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 13px;
}

.ai-beyond-card__media {
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  overflow: hidden;
}

.ai-beyond-card__media img {
  filter: saturate(0.8);
  height: 100%;
  object-fit: cover;
  transition: filter 0.5s ease, transform 0.7s ease;
  width: 100%;
}

.ai-beyond-grid article:hover img {
  filter: saturate(1.1);
  transform: scale(1.03);
}

.ai-beyond-grid article > p {
  color: var(--ai-accent);
  font-size: 10px;
  margin-bottom: 25px;
}

.ai-beyond-grid h3 {
  font-size: clamp(25px, 2.3vw, 36px);
  margin-bottom: 12px;
}

.ai-beyond-grid article > span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  text-transform: uppercase;
}

.ai-cta {
  background: var(--ai-paper-bright);
  padding-bottom: clamp(100px, 12vw, 190px);
  padding-top: clamp(100px, 12vw, 190px);
}

.ai-cta__grid {
  display: grid;
  gap: 50px;
}

.ai-cta h2 {
  font-size: clamp(48px, 7.5vw, 110px);
  line-height: 0.95;
  margin-bottom: 10px;
  max-width: 1200px;
}

.ai-cta__link {
  align-items: center;
  border-top: 1px solid var(--ai-line);
  color: var(--ai-ink);
  display: flex;
  font-size: clamp(26px, 3vw, 44px);
  justify-content: space-between;
  padding-top: 24px;
}

.ai-cta__link:hover,
.ai-cta__link:focus {
  color: #667b00;
  text-decoration: none;
}

.ai-footer {
  background: var(--ai-ink);
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 35px 0;
  text-transform: uppercase;
}

.ai-footer__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

.ai-footer p {
  margin-bottom: 0;
}

.ai-footer p:last-child {
  text-align: right;
}

.ai-footer nav {
  display: flex;
  gap: 24px;
}

.ai-footer a {
  color: #fff;
}

@media (max-width: 1100px) {
  .ai-hero__media {
    left: 37%;
  }

  .ai-case--flagship {
    grid-template-columns: 1fr;
  }

  .ai-case__visual--split {
    min-height: 580px;
  }

  .ai-capabilities__intro,
  .ai-experiments__heading,
  .ai-beyond__intro {
    gap: 45px;
    grid-template-columns: 1fr 0.55fr;
  }

  .ai-experiment img {
    height: 360px;
  }
}

@media (max-width: 767px) {
  .ai-header {
    background: rgba(10, 11, 9, 0.9);
  }

  .ai-header .navbar-collapse {
    background: #0a0b09;
  }

  .ai-header .navbar-default .navbar-toggle {
    border-color: rgba(255, 255, 255, 0.35);
    display: block;
    position: fixed;
    right: 15px;
    top: 12px;
  }

  .ai-header .navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
  }

  .ai-header .navbar-toggle::after {
    color: #fff;
    content: "Menu";
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-top: 6px;
    text-transform: uppercase;
  }

  .ai-hero,
  .ai-hero__content {
    min-height: 760px;
  }

  .ai-hero__media {
    inset: 0;
    left: 0;
  }

  .ai-hero__shade {
    background: linear-gradient(0deg, rgba(10, 11, 9, 0.98) 5%, rgba(10, 11, 9, 0.75) 70%, rgba(10, 11, 9, 0.45));
  }

  .ai-hero__content {
    justify-content: flex-end;
    padding-bottom: 45px;
  }

  .ai-hero h1 {
    font-size: clamp(43px, 12.5vw, 54px);
    line-height: 0.96;
    margin-bottom: 50px;
    max-width: calc(100vw - 48px);
    overflow-wrap: normal;
  }

  .ai-title-desktop {
    display: none;
  }

  .ai-title-mobile {
    display: inline;
  }

  .ai-eyebrow {
    margin-bottom: 25px;
  }

  .ai-eyebrow span {
    display: block;
    margin-bottom: 6px;
  }

  .ai-hero__footer,
  .ai-intro__grid,
  .ai-capabilities__intro,
  .ai-experiments__heading,
  .ai-consulting__grid,
  .ai-beyond__intro {
    grid-template-columns: 1fr;
  }

  .ai-hero__lede {
    font-size: 15px;
    letter-spacing: 0 !important;
    max-width: calc(100vw - 48px);
    overflow-wrap: break-word;
    white-space: normal !important;
    width: calc(100vw - 48px);
  }

  .ai-hero__footer {
    max-width: calc(100vw - 48px);
    width: calc(100vw - 48px);
  }

  .ai-text-link--light {
    justify-self: start;
  }

  .ai-intro__copy {
    padding-top: 0;
  }

  .ai-stat-row {
    gap: 12px;
  }

  .ai-case-grid,
  .ai-case--horizontal,
  .ai-beyond-grid {
    grid-template-columns: 1fr;
  }

  .ai-case__visual--split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .ai-case__visual--split img {
    aspect-ratio: 4 / 3;
  }

  .ai-case__visual--split img:last-child {
    border-left: 0;
    border-top: 2px solid var(--ai-paper);
  }

  .ai-case__proof {
    grid-template-columns: 1fr;
  }

  .ai-case--horizontal .ai-case__visual {
    min-height: 320px;
  }

  .ai-capability-list li {
    gap: 8px 16px;
    grid-template-columns: 35px 1fr;
    padding: 18px 0;
  }

  .ai-capability-list em {
    grid-column: 2;
  }

  .ai-experiment-grid {
    grid-template-columns: 1fr;
  }

  .ai-experiment img {
    height: auto;
    max-height: 520px;
  }

  .ai-consulting__image img {
    height: 480px;
  }

  .ai-beyond-grid {
    gap: 55px;
  }

  .ai-footer__grid {
    gap: 20px;
    grid-template-columns: 1fr;
  }

  .ai-footer p:last-child {
    text-align: left;
  }
}
