/* intempo.css — InTempo case study layout (dark theme via case.css tokens) */

.chero--intempo::after {
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 42%,
    color-mix(in srgb, var(--bg) 88%, transparent) 78%,
    color-mix(in srgb, var(--bg) 94%, transparent) 100%
  );
}

.chero .chero-tag {
  line-height: 0.95;
}

@media (max-width: 820px) {
  .chero--intempo.chero--has-scroll {
    justify-content: flex-end;
    min-height: clamp(580px, 94vh, 820px);
    padding-top: max(52px, env(safe-area-inset-top, 0px));
  }
  .chero--intempo .chero-canvas {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: auto;
    height: auto;
    margin: 0;
  }
  .chero--intempo::after {
    background: linear-gradient(
      180deg,
      transparent 0%,
      transparent 20%,
      color-mix(in srgb, var(--bg) 26%, transparent) 42%,
      color-mix(in srgb, var(--bg) 78%, transparent) 68%,
      color-mix(in srgb, var(--bg) 95%, transparent) 100%
    );
  }
  .chero--intempo.chero--has-scroll .chero-inner {
    transform: translateY(-24px);
    padding-top: 0;
    position: relative;
    z-index: 1;
  }
  .chero--intempo.chero--has-scroll .chero-scroll {
    bottom: 10px;
  }
  .chero--intempo .chero-tag {
    max-width: none;
  }
}

.it-awards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  margin-top: 8px;
}
.it-awards img {
  height: clamp(60px, 10vw, 100px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.it-brand-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.it-brand-logos img {
  height: clamp(56px, 8vw, 80px);
  width: auto;
  border-radius: 12px;
}

.it-current-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 52ch;
}
.it-current-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--surface) 96%, var(--accent) 4%),
    var(--surface)
  );
}
.it-current-ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 15px;
  line-height: 1;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent);
}
.it-current-list strong {
  display: block;
  margin-bottom: 3px;
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.01em;
}
.it-current-list li > div > span {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.it-hero-shot .shot img { border-radius: 16px; }

.it-wireframes-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.it-wireframes-copy h2 { margin-bottom: 20px; }
.it-wireframes-copy .lede { margin: 0 0 14px; max-width: 38ch; }
.it-wireframes-copy p { margin: 0; max-width: 38ch; color: var(--muted); font-size: 15px; line-height: 1.55; }

.it-wireframes-compact {
  margin: 0;
}
.it-wireframes-compact figcaption {
  text-align: left;
}

.it-wireframes-compact .shot,
.it-wireframes-strip .shot {
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.it-wireframes-compact .shot img {
  display: block;
  height: clamp(330px, 36vw, 510px);
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  object-fit: contain;
  border-radius: 0;
}
.it-wireframes-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 18px);
  margin-top: clamp(24px, 3.5vw, 40px);
  overflow: visible;
  scroll-snap-type: none;
  padding-bottom: 0;
  align-items: start;
}
.it-wireframes-strip figure {
  margin: 0;
  min-width: 0;
}
.it-wireframes-strip .shot {
  width: 100%;
  display: block;
}
.it-wireframes-strip .shot img {
  display: block;
  width: 100%;
  height: auto;
}
.it-wireframe-scale .shot img {
  width: 95%;
  margin-inline: auto;
}

.it-beta-compare .phone-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 18px);
  margin-top: 12px;
  overflow-x: hidden;
  scroll-snap-type: none;
  padding-bottom: 0;
}
.it-beta-compare .phone-strip figure {
  flex: none;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.it-beta-compare .phone-strip .shot,
.it-beta-compare .phone-strip img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}
.it-beta-compare .shot {
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.it-beta-compare .shot img {
  border-radius: 0;
}

@media (max-width: 820px) {
  .it-wireframes-layout { grid-template-columns: 1fr; }
  .it-wireframes-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #current .phone-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 2.5vw, 14px);
    overflow-x: hidden;
    scroll-snap-type: none;
    padding-bottom: 0;
  }
  #current .phone-strip figure {
    flex: none;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  #current .phone-strip .shot,
  #current .phone-strip img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
  }
}
