/* Chevron — phone device + template screens */

.page-chevron {
  --chevron-mobile-bg: #e9e9ea;
  /* Chevron brand blues — match case-study.css / chevron.com palette */
  --ch-blue-dark: var(--chevron-blue);
  --ch-blue-light: var(--chevron-light-blue);
  --ch-blue-brand: var(--chevron-light-blue);
  --ch-blue-news: var(--chevron-light-blue);
  --ch-blue-link: var(--chevron-light-blue);
  --ch-blue-title: var(--chevron-blue);
  --ch-red-party: #c8102e;
}

.chevron-phone-section {
  --ch-phone-display: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(100% * var(--ch-phone-display));
  max-width: none;
  margin-inline: calc((1 - var(--ch-phone-display)) / 2 * 100%);
  padding: clamp(32px, 4vh, 56px) var(--page-inset);
  background: var(--chevron-mobile-bg);
  box-sizing: border-box;
  /* --ch-phone-scale crops PNG margins; --ch-phone-display sets on-screen size */
  overflow: hidden;
}

.page-case-study .project-gallery .chevron-phone-section {
  margin-inline: calc((1 - var(--ch-phone-display)) / 2 * 100%);
  padding-inline: 0;
}

/* Chevron phone — Pixel-style shell, 1:2 aspect, Chevron on-screen width */
.chevron-phone {
  --ch-phone-shell-w: clamp(218px, 25vw, 374px);
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.chevron-phone__shell {
  position: relative;
  width: fit-content;
  box-sizing: border-box;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.chevron-phone__buttons {
  position: absolute;
  top: 18%;
  right: -3px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 14px;
  pointer-events: none;
}

.chevron-phone__btn {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #f0f0f0 0%, #b8b8b8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 0 0 1px rgba(0, 0, 0, 0.1);
}

.chevron-phone__btn--power {
  height: 28px;
}

.chevron-phone__btn--vol {
  height: 48px;
}

.chevron-phone__face {
  display: flex;
  flex-direction: column;
  width: var(--ch-phone-shell-w);
  aspect-ratio: 1 / 2;
  background: #f5f5f5;
  border-radius: clamp(22px, 6vw, 32px);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.14),
    0 14px 36px rgba(0, 0, 0, 0.18),
    0 4px 10px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.chevron-phone__bezel-top {
  position: relative;
  flex: 0 0 9%;
  display: flex;
  align-items: center;
  padding: 0 8%;
  background: #f5f5f5;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.chevron-phone__camera {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4a4a4a 0%, #0a0a0a 55%, #1a1a1a 100%);
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.chevron-phone__speaker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18%;
  height: 4px;
  border-radius: 999px;
  background: #d8d8d8;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.chevron-phone__sensor {
  margin-left: auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1f1f1f;
}

.chevron-phone__screen {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 4%;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.chevron-phone__bezel-bottom {
  flex: 0 0 9%;
  background: #f5f5f5;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.chevron-phone__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  container-type: size;
  container-name: ch-phone;
  isolation: isolate;
  --ch-phone-nav-height: calc(2.2cqi + 5.2cqi + 1.6cqi);
}

.chevron-phone.is-playing .ch-phone-gesture-dot {
  opacity: 1;
}

.ch-phone-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}

.ch-phone-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: none;
  z-index: 1;
  will-change: transform;
  backface-visibility: hidden;
}

.ch-phone-slide.is-dismissing {
  z-index: 10 !important;
}

.ch-phone-gesture {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
}

.ch-phone-gesture-dot {
  position: absolute;
  left: 55%;
  top: 72%;
  display: block;
  width: clamp(26px, 8cqi, 38px);
  height: clamp(26px, 8cqi, 38px);
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px) saturate(165%);
  -webkit-backdrop-filter: blur(14px) saturate(165%);
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.1),
    0 10px 24px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -0.5px 0 rgba(255, 255, 255, 0.12);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  overflow: hidden;
  isolation: isolate;
  will-change: left, top, transform, opacity;
  transition: opacity 0.35s ease, transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

@supports (backdrop-filter: url(#ch-liquid-glass-lens)) {
  .ch-phone-gesture-dot {
    backdrop-filter: blur(12px) saturate(170%) url(#ch-liquid-glass-lens);
    -webkit-backdrop-filter: blur(12px) saturate(170%) url(#ch-liquid-glass-lens);
  }
}

.ch-phone-gesture-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from 210deg at 50% 50%,
    rgba(255, 255, 255, 0.02) 0deg,
    rgba(255, 255, 255, 0.38) 52deg,
    rgba(255, 255, 255, 0.08) 120deg,
    rgba(255, 255, 255, 0.02) 180deg,
    rgba(255, 255, 255, 0.06) 255deg,
    rgba(255, 255, 255, 0.28) 315deg,
    rgba(255, 255, 255, 0.02) 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.ch-phone-gesture-dot::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: radial-gradient(
    ellipse 85% 55% at 50% 10%,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.04) 45%,
    transparent 70%
  );
  pointer-events: none;
}

.ch-phone-gesture-dot.is-tapping,
.ch-phone-gesture-dot.is-swiping,
.ch-phone-gesture-dot.is-flicking {
  transform: translate(-50%, -50%) scale(0.84);
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    0 1px 6px rgba(0, 0, 0, 0.12),
    0 6px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -0.5px 0 rgba(255, 255, 255, 0.1);
}

.ch-phone-gesture-dot.is-swiping {
  transform: translate(-50%, -50%) scale(0.92);
}

.ch-phone-gesture-dot.is-flicking {
  transform: translate(-50%, -50%) scale(0.78);
}

.ch-phone-nav {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.2cqi 3.2cqi 1.6cqi;
  background: #fff;
  border-radius: 2.4cqi 2.4cqi 0 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  z-index: 4;
  color: var(--chevron-blue);
}

.ch-phone-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  pointer-events: none;
}

.ch-phone-nav__icon {
  display: block;
  width: 5.2cqi;
  height: 5.2cqi;
}

.ch-phone-nav__actions {
  display: flex;
  align-items: center;
  gap: 3.6cqi;
}

.ch-phone-nav__bell-wrap {
  position: relative;
  display: block;
  line-height: 0;
}

.ch-phone-nav__badge {
  position: absolute;
  top: -0.2cqi;
  right: -0.9cqi;
  display: block;
  width: 2.6cqi;
  height: 2.6cqi;
  color: var(--chevron-blue);
}

.ch-phone-nav__badge svg {
  display: block;
  width: 100%;
  height: 100%;
}

.chevron-phone.is-playing .ch-phone-stage,
.chevron-phone.is-playing .ch-phone-scroll,
.chevron-phone.is-playing .ch-phone-nav {
  pointer-events: none;
  user-select: none;
}

.ch-phone-nav__menu {
  pointer-events: auto;
  cursor: pointer;
}

.ch-phone-drawer {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  visibility: hidden;
}

.ch-phone-drawer.is-open {
  visibility: visible;
}

.ch-phone-drawer__backdrop {
  position: absolute;
  top: var(--ch-phone-nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0;
  border: none;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  cursor: pointer;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.ch-phone-drawer.is-open .ch-phone-drawer__backdrop {
  opacity: 1;
  pointer-events: auto;
}

.ch-phone-drawer__panel {
  position: absolute;
  top: var(--ch-phone-nav-height);
  right: 0;
  bottom: 0;
  width: 72%;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  background: #ffffff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.ch-phone-drawer.is-open .ch-phone-drawer__panel {
  transform: translateX(0);
  pointer-events: auto;
}

.ch-phone-drawer__panel .ch-profile__sidebar {
  padding: 3.5cqi 10px 4cqi 20px;
  margin-inline: 0;
}

.ch-phone-drawer__panel .ch-profile__nav {
  font-size: 3.35cqi;
  line-height: 1.35;
}

.ch-phone-drawer__panel .ch-profile__nav-label {
  margin-top: 4cqi;
  font-size: 3.2cqi;
}

@media (prefers-reduced-motion: reduce) {
  .ch-phone-drawer__backdrop,
  .ch-phone-drawer__panel {
    transition: none;
  }

  .ch-phone-gesture-dot {
    transition: none;
  }

  .ch-phone-gesture-dot::before,
  .ch-phone-gesture-dot::after {
    display: none;
  }
}

.ch-phone-scroll {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y pinch-zoom;
  pointer-events: auto;
  scrollbar-width: none;
  background: #fff;
  scroll-behavior: auto;
  isolation: isolate;
}

.ch-phone-scroll::-webkit-scrollbar {
  display: none;
}

.ch-phone-scroll.is-autoscrolling {
  scroll-behavior: auto;
}

.ch-phone-t1,
.ch-phone-t2,
.ch-phone-t3 {
  box-sizing: border-box;
  background: #fff;
}

.ch-phone-scroll__tail {
  background: #fff;
  box-sizing: border-box;
}

.ch-phone-t1__tail {
  padding: 2.2cqi 2.5cqi 3.2cqi;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ch-phone-t2__tail {
  padding: 2.2cqi 2.5cqi 3.2cqi;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ch-phone-t3__panel--tail {
  padding: 2.4cqi 2.5cqi 3.2cqi;
  border-bottom: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.ch-phone-t3__panel--tail .ch-phone-t2__more {
  margin-top: 2.4cqi;
}

/* ---- Template 1: profile overview ---- */
.ch-phone-t1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 4.2cqi;
  line-height: 1.35;
  color: #333;
  background: #fff;
  --ch-body-inset: calc(8cqi + 1.5cqi);
}

.ch-phone-t1__bar {
  margin: 0;
  padding: 2.4cqi 3.2cqi;
  font-size: 4.6cqi;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: #fff;
}

.ch-phone-t1__bar--name {
  background: var(--ch-blue-dark);
}

.ch-phone-t1__bar--news {
  background: var(--ch-blue-news);
  font-weight: 700;
  text-transform: lowercase;
}

.ch-phone-t1__card {
  padding: 2.2cqi 2.5cqi 2.8cqi;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ch-phone-t1__hero {
  display: grid;
  grid-template-columns: 31cqi 1fr;
  gap: 2cqi 2.2cqi;
  align-items: start;
}

.ch-phone-t1__bio {
  margin-inline: 5px;
}

.ch-phone-t1__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 141 / 172;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.06);
  line-height: 0;
}

.ch-phone-t1__photo img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: fill;
  object-position: left top;
}

.ch-phone-t1__badges {
  display: flex;
  align-items: center;
  gap: 1cqi;
  margin-top: 1cqi;
}

.ch-phone-t1__party {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 5cqi;
  padding: 0 1cqi;
  box-sizing: border-box;
  background: var(--ch-red-party);
  color: #fff;
  font-size: 2.85cqi;
  font-weight: 700;
  line-height: 1;
}

.ch-phone-t1__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5cqi;
  height: 5cqi;
  color: #fff;
  font-size: 2.75cqi;
  font-weight: 700;
  line-height: 1;
}

.ch-phone-t1__social-btn svg {
  width: 3.15cqi;
  height: 3.15cqi;
}

.ch-phone-t1__social-btn--twitter {
  background: var(--chevron-light-blue);
}

.ch-phone-t1__social-btn--facebook {
  background: #3b5998;
  font-family: Georgia, serif;
}

.ch-phone-t1__role {
  margin: 0 0 1.2cqi;
  font-size: 3.3cqi;
  line-height: 1.25;
}

.ch-phone-t1__facts {
  margin: 0 0 1.4cqi;
  padding-left: 1.2em;
  font-size: 2.9cqi;
  line-height: 1.35;
}

.ch-phone-t1__facts li + li {
  margin-top: 0.35cqi;
}

.ch-phone-t1__contact + .ch-phone-t1__contact {
  margin-top: 1.2cqi;
}

.ch-phone-t1__contact-label {
  margin: 0 0 0.5cqi;
  font-size: 3.1cqi;
  font-weight: 700;
}

.ch-phone-t1__contact-line {
  margin: 0;
  font-size: 2.8cqi;
  line-height: 1.35;
}

.ch-phone-t1__contact-line + .ch-phone-t1__contact-line {
  margin-top: 0.25cqi;
}

.ch-phone-t1__contact-key {
  font-weight: 600;
}

.ch-phone-t1__contact-line a {
  color: var(--ch-blue-link);
  text-decoration: none;
}

.ch-phone-t1__section-title {
  margin: 0 0 2cqi;
  font-size: 4.7cqi;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: lowercase;
  color: var(--ch-blue-title);
}

.ch-phone-t1__insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4cqi;
  padding-inline-start: var(--ch-body-inset);
}

.ch-phone-t1__insights-label {
  margin: 0 0 0.8cqi;
  font-size: 3.6cqi;
  font-weight: 700;
  line-height: 1.2;
}

.ch-phone-t1__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ch-phone-t1__links li + li {
  margin-top: 0.55cqi;
}

.ch-phone-t1__links a {
  color: var(--ch-blue-link);
  font-size: 3.3cqi;
  line-height: 1.3;
  text-decoration: none;
}

.ch-phone-t1__chev {
  font-size: 3cqi;
  opacity: 0.85;
}

.ch-phone-t1__feed-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ch-phone-t1__feed-item {
  display: grid;
  grid-template-columns: 8cqi 1fr auto;
  gap: 1.5cqi;
  align-items: start;
  padding: 1.8cqi 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ch-phone-t1__feed-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.ch-phone-t1__feed-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7cqi;
  height: 7cqi;
  overflow: hidden;
  background: var(--chevron-light-blue);
  color: #fff;
}

.ch-phone-t1__feed-icon svg {
  width: 4.2cqi;
  height: 4.2cqi;
}

.ch-phone-t1__feed-icon--photo {
  background: #ececec;
}

.ch-phone-t1__feed-icon--photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
}

.ch-phone-t1__feed-text {
  margin: 0;
  color: rgba(0, 0, 0, 0.7);
  font-size: 2.8cqi;
  line-height: 1.35;
}

.ch-phone-t1__feed-meta {
  margin: 0.6cqi 0 0;
  color: #888;
  font-size: 2.85cqi;
  line-height: 1.3;
}

.ch-phone-t1__feed-vote {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 3.2cqi;
  line-height: 1;
  opacity: 0.45;
}

.project-chevron-phone .ch-phone-t1__photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: fill !important;
  object-position: left top !important;
}

.project-chevron-phone .ch-phone-t1__feed-icon--photo img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* ---- Template 2: stakeholder management + district ---- */
.ch-phone-t2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 4.2cqi;
  line-height: 1.35;
  color: #333;
  background: #fff;
}

.ch-phone-t2__panel {
  padding: 2.2cqi 2.5cqi 2.8cqi;
}

.ch-phone-t2__entries {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ch-phone-t2__entry + .ch-phone-t2__entry {
  margin-top: 2.4cqi;
}

.ch-phone-t2__entry-date {
  margin: 0;
  font-size: 3.15cqi;
  font-weight: 700;
  line-height: 1.25;
  color: #222;
}

.ch-phone-t2__entry-names {
  margin: 0.35cqi 0 0;
  font-size: 3cqi;
  font-weight: 400;
  line-height: 1.25;
  color: #666;
}

.ch-phone-t2__entry-body {
  margin: 0.55cqi 0 0;
  font-size: 2.85cqi;
  font-weight: 400;
  line-height: 1.35;
  color: #707070;
}

.ch-phone-t2__cta {
  display: block;
  width: fit-content;
  margin: 2.8cqi auto 0;
  padding: 1.5cqi 3cqi;
  background: var(--chevron-blue);
  color: #fff;
  font-size: 3.05cqi;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-transform: lowercase;
}

.ch-phone-t2__panel--district {
  padding-bottom: 2.2cqi;
}

.ch-phone-t2__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 2.45cqi;
  line-height: 1.25;
}

.ch-phone-t2__table thead th {
  padding: 0 0.4cqi 1.2cqi;
  font-size: 2.35cqi;
  font-weight: 700;
  text-align: left;
  vertical-align: bottom;
  color: #222;
}

.ch-phone-t2__table thead th:nth-child(2) {
  width: 18cqi;
  text-align: center;
}

.ch-phone-t2__table thead th:nth-child(3) {
  width: 24cqi;
}

.ch-phone-t2__table tbody td {
  padding: 1.1cqi 0.4cqi;
  vertical-align: middle;
  color: #333;
}

.ch-phone-t2__table tbody tr:nth-child(odd) {
  background: #f3f4f8;
}

.ch-phone-t2__table tbody tr:nth-child(even) {
  background: #fff;
}

.ch-phone-t2__table tbody td:nth-child(2) {
  text-align: center;
  font-weight: 600;
}

.ch-phone-t2__bar-track {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 2.8cqi;
}

.ch-phone-t2__bar {
  display: flex;
  align-items: stretch;
  width: calc(var(--bar-width, 100) * 1%);
  max-width: 100%;
  height: 2.6cqi;
  min-width: 3.5cqi;
}

.ch-phone-t2__bar-light {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--chevron-light-blue);
}

.ch-phone-t2__bar-marker {
  flex: 0 0 2px;
  background: #fff;
}

.ch-phone-t2__bar-dark {
  flex: 0 0 2.2cqi;
  background: var(--chevron-blue);
}

.ch-phone-t2__table-foot {
  margin-top: 1.4cqi;
}

.ch-phone-t2__source {
  margin: 0;
  font-size: 2.2cqi;
  line-height: 1.3;
  color: #888;
}

.ch-phone-t2__more {
  margin: 0.8cqi 0 0;
  font-size: 2.85cqi;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--chevron-light-blue);
}

/* ---- Template 3: committees and caucuses ---- */
.ch-phone-t3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 4.2cqi;
  line-height: 1.35;
  color: #333;
  background: #fff;
}

.ch-phone-t3__panel {
  padding: 2.2cqi 2.5cqi 2.6cqi;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ch-phone-t3__panel--caucus {
  border-bottom: 0;
  padding-bottom: 2cqi;
}

.ch-phone-t3__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.8cqi;
  align-items: start;
}

.ch-phone-t3__links a {
  font-size: 2.95cqi;
  line-height: 1.28;
}

.ch-phone-t3__links li + li {
  margin-top: 0.45cqi;
}

@media (prefers-reduced-motion: reduce) {
  .ch-phone-carousel.is-autoscrolling,
  .ch-phone-scroll.is-autoscrolling {
    scroll-behavior: auto;
  }
}

/* ---- Portrait iPad — landscape frame rotated 90° ---- */
.project-chevron-ipad {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: clamp(32px, 5vw, 64px) clamp(16px, 3vw, 40px);
  background: #f7f6f3;
  box-sizing: border-box;
}

.project-chevron-ipad .project-chevron-dashboard__stage {
  width: min(calc(1160px * 0.7225), 72.25%);
}

.project-chevron-ipad .project-chevron-dashboard__gesture-dot {
  width: 37.4px;
  height: 37.4px;
}

.ch-ipad--portrait .ch-ipad__device {
  position: relative;
  width: 100%;
  aspect-ratio: 848 / 1024;
}

.ch-ipad--portrait .ch-ipad__rotator {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% * 1024 / 848);
  aspect-ratio: 1024 / 848;
  transform: translate(-50%, -50%) rotate(90deg);
  pointer-events: none;
  z-index: 1;
}

.ch-ipad--portrait .ch-ipad__frame {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/*
 * Screen sits outside the rotated frame — upright, vertical scroll.
 * Mapped from landscape cutout (171,164,701×528) after 90° CW rotation.
 */
.ch-ipad--portrait .ch-ipad__screen {
  position: absolute;
  z-index: 2;
  left: calc(158 / 848 * 100% - 0.35%);
  top: calc(173 / 1024 * 100% - 0.35%);
  width: calc(523 / 848 * 100% + 0.7%);
  height: calc(697 / 1024 * 100% + 0.7%);
  overflow: hidden;
  background: #f4f4f4;
  container-type: size;
  container-name: ch-ipad;
  pointer-events: auto;
  box-sizing: border-box;
  box-shadow: 0 0 0 3px #f4f4f4;
  --ch-profile-dash-header-height: calc(5.7cqi + 0.85cqi + 7.4cqi + 0.6cqi + 1.96cqi * 1.2 + 9.7cqi);
}

.ch-ipad--portrait .project-chevron-dashboard__gesture {
  z-index: 10;
}

.ch-ipad--portrait .project-chevron-dashboard__gesture-dot {
  transform: translate(-50%, -50%);
}

.project-chevron-ipad.is-playing .project-chevron-dashboard__gesture-dot {
  opacity: 1;
}

.ch-ipad--portrait .project-chevron-dashboard__gesture-dot.is-tapping {
  transform: translate(-50%, -50%) scale(0.84);
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    0 1px 6px rgba(0, 0, 0, 0.12),
    0 6px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -0.5px 0 rgba(255, 255, 255, 0.1);
}

.project-chevron-ipad.is-playing .ch-profile-scroll {
  pointer-events: none;
  user-select: none;
}
.ch-profile-scroll {
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior: none;
  scrollbar-width: none;
  background: #f4f4f4;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 2.05cqi;
  line-height: 1.35;
  color: #707070;
}

.ch-profile-scroll::-webkit-scrollbar {
  display: none;
}

/* Portrait iPad — dashboard header nav (matches landscape ch-dash) */
.ch-profile__dash-header {
  position: sticky;
  top: 0;
  z-index: 4;
  width: 100%;
  margin: 0;
  background: #fff;
}

.ch-profile__dash-brand {
  text-align: center;
  padding: 5.7cqi 0 0.85cqi;
  background: #fff;
}

.ch-profile__dash-logo {
  display: block;
  width: auto;
  height: 7.4cqi;
  max-width: 18.5cqi;
  margin: 0 auto 0.6cqi;
  object-fit: contain;
  object-position: center bottom;
}

.ch-profile__dash-title {
  margin: 0;
  font-size: 1.96cqi;
  font-weight: 400;
  line-height: 1.2;
  color: var(--chevron-light-blue);
  text-transform: lowercase;
}

.ch-profile__dash-searchbar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 9.7cqi;
  box-sizing: border-box;
  background: #006cc3;
}

.ch-profile__dash-search-cluster {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 0;
}

.ch-profile__dash-search-group {
  display: flex;
  align-items: center;
  gap: 1.4cqi;
  color: #fff;
}

.ch-ipad--portrait .ch-profile__dash-search-group {
  transform: translateX(calc((3.1cqi + 1.4cqi) * 0.5));
}

.ch-profile__dash-search-field {
  position: static;
  width: 38.5cqi;
  max-width: 100%;
  transform: none;
}

.ch-profile__dash-actions {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 1.6cqi;
  padding-right: 2cqi;
  color: #fff;
}

.ch-profile__dash-search-input {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 1.4cqi;
  border: none;
  background: #fff;
  font-family: inherit;
  font-size: 1.57cqi;
  line-height: 4.57cqi;
  height: 4.57cqi;
  color: #0068b8;
  outline: none;
  pointer-events: none;
}

.ch-profile__dash-search-input::placeholder {
  color: #9eb3d4;
  text-transform: lowercase;
}

.ch-profile__dash-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.2cqi;
  height: 4.2cqi;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
  pointer-events: none;
}

.ch-profile__dash-menu-btn {
  flex-direction: column;
  gap: 0.5cqi;
  width: auto;
  height: auto;
  padding: 0.6cqi;
  pointer-events: auto;
}

.ch-profile__dash-menu-btn span {
  display: block;
  width: 3.1cqi;
  height: 0.18cqi;
  border-radius: 0.09cqi;
  background: currentColor;
  transition: transform 0.35s ease, opacity 0.25s ease;
  transform-origin: center;
}

.ch-profile__dash-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.68cqi) rotate(45deg);
}

.ch-profile__dash-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.ch-profile__dash-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.68cqi) rotate(-45deg);
}

.ch-profile__dash-search-icon {
  flex: 0 0 auto;
}

.ch-profile__dash-tool-icon {
  display: block;
  width: 3.1cqi;
  height: 3.1cqi;
}

.ch-profile__dash-bell-wrap {
  position: relative;
  display: block;
  line-height: 0;
}

.ch-profile__dash-bell-badge {
  position: absolute;
  top: -0.15cqi;
  right: -0.35cqi;
  width: 1.6cqi;
  height: 1.6cqi;
  color: #fff;
}

.ch-profile__dash-bell-badge svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ch-ipad--portrait .ch-profile__drawer {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
}

.ch-ipad--portrait .ch-profile__drawer.is-open {
  visibility: visible;
}

.ch-ipad--portrait .ch-profile__drawer-backdrop {
  position: absolute;
  top: var(--ch-profile-dash-header-height);
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0;
  border: none;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  cursor: pointer;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.ch-ipad--portrait .ch-profile__drawer.is-open .ch-profile__drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.ch-ipad--portrait .ch-profile__drawer-panel {
  position: absolute;
  top: var(--ch-profile-dash-header-height);
  right: 0;
  bottom: 0;
  width: calc(72% * 0.6);
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  background: #ffffff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.ch-ipad--portrait .ch-profile__drawer.is-open .ch-profile__drawer-panel {
  transform: translateX(0);
  pointer-events: auto;
}

.ch-ipad--portrait .ch-profile__drawer-close {
  position: absolute;
  top: 1.1cqi;
  right: 1.1cqi;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4cqi;
  height: 3.4cqi;
  padding: 0;
  border: none;
  background: transparent;
  color: #707070;
  cursor: pointer;
}

.ch-ipad--portrait .ch-profile__drawer-close svg {
  display: block;
  width: 2.4cqi;
  height: 2.4cqi;
}

.ch-ipad--portrait .ch-profile__drawer-panel .ch-profile__sidebar {
  position: static;
  top: auto;
  padding: 2.4cqi 10px 3cqi 20px;
  margin-inline: 0;
}

.ch-ipad--portrait .ch-profile__drawer-panel .ch-profile__nav-label {
  margin: 4.5cqi 0 1.8cqi;
  padding: 1.1cqi 0;
}

.ch-ipad--portrait .ch-profile__drawer-panel .ch-profile__nav li {
  padding: 0.45cqi 0 0.6cqi;
}

.project-chevron-ipad.is-playing .ch-profile__dash-menu-btn {
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .ch-ipad--portrait .ch-profile__drawer-backdrop,
  .ch-ipad--portrait .ch-profile__drawer-panel {
    transition: none;
  }

  .ch-profile__dash-menu-btn span {
    transition: none;
  }
}

.ch-profile__layout {
  display: block;
  padding: 0 0 3cqi;
}

.ch-profile__nav {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.85cqi;
  line-height: 1.674;
  color: #707070;
}

.ch-profile__nav li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 3px;
}

.ch-profile__nav a {
  color: inherit;
  text-decoration: none;
}

.ch-profile__nav a::first-letter,
.ch-profile__nav-label::first-letter {
  text-transform: uppercase;
}

.ch-profile__nav-label {
  display: block;
  margin: 50px 0 0;
  padding: 3px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 1.75cqi;
  font-weight: 700;
  color: #707070;
}

.ch-profile__main {
  min-width: 0;
  color: #707070;
}

.ch-profile__name {
  margin: 0 0 1.2cqi;
  font-size: 2.35cqi;
  font-weight: 700;
  line-height: 1.2;
  color: #707070;
}

.ch-profile__bar {
  margin: 0;
  padding: 1.35cqi 2cqi;
  width: 100%;
  min-height: calc(2.35cqi * 1.2 + 2.7cqi);
  box-sizing: border-box;
  font-size: 2.35cqi;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: #fff;
}

.ch-profile__bar--name {
  background: var(--chevron-blue);
}

.ch-profile__bar--section {
  background: var(--chevron-light-blue);
  font-weight: 700;
  text-transform: lowercase;
}

.ch-profile__card {
  padding: 1.8cqi 2cqi 2.2cqi;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ch-profile__hero {
  display: grid;
  grid-template-columns: 20cqi 1fr;
  gap: 1.6cqi 1.8cqi;
  align-items: start;
}

.ch-profile__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 141 / 172;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  line-height: 0;
}

.ch-profile__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: left top;
}

.ch-profile__badges {
  display: flex;
  align-items: center;
  gap: 0.5cqi;
  margin-top: 0.6cqi;
  width: 100%;
}

.ch-profile__party {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  height: 3.2cqi;
  padding: 0 0.8cqi;
  background: var(--ch-red-party);
  color: #fff;
  font-size: 1.65cqi;
  font-weight: 700;
  line-height: 1;
}

.ch-profile__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2cqi;
  height: 3.2cqi;
  color: #fff;
  font-size: 1.55cqi;
  font-weight: 700;
  line-height: 1;
}

.ch-profile__social svg {
  width: 1.8cqi;
  height: 1.8cqi;
}

.ch-profile__social--twitter {
  background: var(--chevron-light-blue);
}

.ch-profile__social--facebook {
  background: #3b5998;
  font-family: Georgia, serif;
}

.ch-profile__role {
  margin: 0 0 0.8cqi;
  font-size: 1.85cqi;
  line-height: 1.25;
}

.ch-profile__facts {
  margin: 0 0 1cqi;
  padding-left: 1.2em;
  font-size: 1.65cqi;
  line-height: 1.35;
}

.ch-profile__facts li + li {
  margin-top: 0.25cqi;
}

.ch-profile__contact-label {
  margin: 0 0 0.35cqi;
  font-size: 1.75cqi;
  font-weight: 700;
}

.ch-profile__contact-line {
  margin: 0;
  font-size: 1.6cqi;
  line-height: 1.35;
}

.ch-profile__contact-line + .ch-profile__contact-line {
  margin-top: 0.2cqi;
}

.ch-profile__contact-line a {
  color: var(--chevron-light-blue);
  text-decoration: none;
}

.ch-profile__contact + .ch-profile__contact {
  margin-top: 0.9cqi;
}

.ch-profile__section-title {
  margin: 0 0 1.4cqi;
  font-size: 2.75cqi;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: lowercase;
  color: var(--chevron-blue);
}

.ch-profile__insights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6cqi 2cqi;
}

.ch-profile__insights-label {
  margin: 0 0 0.6cqi;
  font-size: 2cqi;
  font-weight: 700;
  line-height: 1.2;
}

.ch-profile__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ch-profile__links li + li {
  margin-top: 0.4cqi;
}

.ch-profile__links a {
  color: var(--chevron-light-blue);
  font-size: 1.85cqi;
  line-height: 1.3;
  text-decoration: none;
}

.ch-profile__feed-item {
  display: grid;
  grid-template-columns: 4.2cqi 1fr auto;
  gap: 1cqi 1.2cqi;
  align-items: start;
  padding: 1.4cqi 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ch-profile__feed-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.ch-profile__feed-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.8cqi;
  height: 3.8cqi;
  overflow: hidden;
  background: var(--chevron-light-blue);
  color: #fff;
}

.ch-profile__feed-icon svg {
  width: 2.2cqi;
  height: 2.2cqi;
}

.ch-profile__feed-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ch-profile__feed-body {
  min-width: 0;
}

.ch-profile__feed-text {
  margin: 0;
  color: #707070;
  font-size: 1.75cqi;
  line-height: 1.35;
}

.ch-profile__feed-text a {
  color: inherit;
  text-decoration: none;
}

.ch-profile__feed-meta {
  margin: 0.45cqi 0 0;
  color: #888;
  font-size: 1.55cqi;
  line-height: 1.3;
}

.ch-profile__feed-vote {
  display: flex;
  gap: 0.4cqi;
  font-size: 1.6cqi;
  line-height: 1;
  opacity: 0.45;
  color: var(--chevron-light-blue);
}

.ch-profile__more {
  margin: 1.2cqi 0 0;
  font-size: 1.85cqi;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--chevron-light-blue);
}

.ch-profile__asset-slot {
  display: none;
}

.ch-profile__feed-icon--pending {
  background: #e8e8e8;
}

.ch-profile__map {
  margin: 0;
  line-height: 0;
}

.ch-profile__map img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  margin: 0;
  object-fit: contain;
}

.ch-profile__entries {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ch-profile__entry + .ch-profile__entry {
  margin-top: 1.6cqi;
}

.ch-profile__entry-date {
  margin: 0;
  font-size: 1.85cqi;
  font-weight: 700;
  line-height: 1.25;
  color: #222;
}

.ch-profile__entry-names {
  margin: 0.3cqi 0 0;
  font-size: 1.75cqi;
  color: #666;
}

.ch-profile__entry-body {
  margin: 0.45cqi 0 0;
  font-size: 1.65cqi;
  line-height: 1.35;
  color: inherit;
}

.ch-profile__cta {
  display: block;
  width: fit-content;
  margin: 1.8cqi auto 0;
  padding: 1cqi 2cqi;
  background: var(--chevron-blue);
  color: #fff;
  font-size: 1.8cqi;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-transform: lowercase;
}

.ch-profile__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 1.55cqi;
  line-height: 1.25;
}

.ch-profile__table thead th {
  padding: 0 0.3cqi 0.9cqi;
  font-size: 1.45cqi;
  font-weight: 700;
  text-align: left;
  vertical-align: bottom;
  color: #222;
}

.ch-profile__table tbody td {
  padding: 0.8cqi 0.3cqi;
  vertical-align: middle;
  color: #333;
}

.ch-profile__table tbody tr:nth-child(odd) {
  background: #f3f4f8;
}

.ch-profile__bar-track {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 2.2cqi;
}

.ch-profile__ind-bar {
  display: flex;
  align-items: stretch;
  width: calc(var(--bar-width, 100) * 1%);
  max-width: 100%;
  height: 2cqi;
  min-width: 2.5cqi;
}

.ch-profile__bar-light {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--chevron-light-blue);
}

.ch-profile__bar-marker {
  flex: 0 0 1px;
  background: #fff;
}

.ch-profile__bar-dark {
  flex: 0 0 1.6cqi;
  background: var(--chevron-blue);
}

.ch-profile__grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.4cqi;
}

.ch-profile__bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1cqi 2cqi;
  font-size: 1.65cqi;
}

.ch-profile__bio-grid dt {
  margin: 0;
  font-weight: 700;
  color: var(--chevron-blue);
}

.ch-profile__bio-grid dd {
  margin: 0 0 0.8cqi;
}

.ch-profile__about {
  margin: 0;
  font-size: 1.65cqi;
  line-height: 1.45;
  color: #333;
}

.ch-profile__about p + p {
  margin-top: 0.9cqi;
}

.ch-profile__chart-row {
  display: grid;
  grid-template-columns: 14cqi 1fr;
  gap: 1.6cqi;
  align-items: center;
}

.ch-profile__donut {
  width: 14cqi;
  height: 14cqi;
}

.ch-profile__legend {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1.55cqi;
  line-height: 1.5;
}

.ch-profile__legend li {
  display: flex;
  align-items: center;
  gap: 0.6cqi;
}

.ch-profile__legend-swatch {
  flex: 0 0 1.2cqi;
  height: 1.2cqi;
}

.ch-profile__bill-row {
  display: grid;
  grid-template-columns: 8cqi 1fr;
  gap: 0.8cqi;
  padding: 1cqi 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 1.55cqi;
}

.ch-profile__bill-row:first-child {
  border-top: 0;
}

.ch-profile__bill-id {
  color: var(--chevron-light-blue);
  font-weight: 600;
}

.ch-profile__bill-action {
  margin-top: 0.3cqi;
  color: #666;
  font-size: 1.45cqi;
}

/* ---- Product walkthrough (Navigate | Engage) ---- */
.chevron-walkthrough {
  --ch-walk-surface: #f7f6f3;
  width: calc(100% + 2 * var(--page-inset));
  max-width: 100%;
  margin-left: calc(-1 * var(--page-inset));
  margin-right: calc(-1 * var(--page-inset));
  background: var(--ch-walk-surface);
  font-family: var(--font-main);
  color: var(--chevron-black);
  box-sizing: border-box;
}

.page-case-study .project-gallery .chevron-walkthrough__intro {
  --hero-body: 17px;
  --hero-lead: 26px;
  margin: 0;
  padding: var(--story-chapter-pad-top) var(--page-inset) var(--story-chapter-pad-bottom);
  text-align: center;
}

.chevron-walkthrough__intro .project-title {
  grid-column: auto;
  grid-row: auto;
  margin-bottom: var(--hero-lead);
  color: var(--black);
}

.chevron-walkthrough__intro .project-title-sep {
  font-weight: 300;
}

.chevron-walkthrough__intro .project-desc {
  margin-inline: auto;
  margin-bottom: 0;
  max-width: 52ch;
  color: var(--project-label-color);
}

.chevron-walkthrough__layout {
  position: relative;
  padding: 0 var(--page-inset) calc(clamp(20px, 3vw, 40px) + 50px);
  box-sizing: border-box;
  overflow: visible;
}

.chevron-walkthrough__outro {
  margin-top: -150px;
  padding: 200px var(--page-inset) 200px;
  text-align: center;
  background: var(--ch-walk-surface);
}

.chevron-walkthrough__outro .project-title {
  grid-column: auto;
  grid-row: auto;
  margin: 0;
  color: var(--black);
}

.chevron-walkthrough__path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}

.chevron-walkthrough__dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 3;
}

.chevron-walkthrough__path-bg,
.chevron-walkthrough__path-fill {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chevron-walkthrough__path-bg {
  stroke: rgba(255, 0, 0, 0.14);
  stroke-width: 32;
}

.chevron-walkthrough__path-fill {
  stroke: var(--chevron-red);
  stroke-width: 32;
}

.chevron-walkthrough__dot {
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.chevron-walkthrough__dot.is-on {
  opacity: 1;
}

.chevron-walkthrough__dot--halo {
  fill: rgba(255, 0, 0, 0.14);
}

.chevron-walkthrough__dot--core {
  fill: #fff;
  stroke: none;
  transition: fill 0.25s ease;
}

.chevron-walkthrough__dot--core.is-start {
  fill: var(--chevron-red);
}

.chevron-walkthrough__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.chevron-walkthrough__step {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vh, 48px) 0;
  box-sizing: border-box;
  opacity: 0.38;
  transition: opacity 0.45s ease;
}

.chevron-walkthrough__step.is-active {
  opacity: 1;
}

.chevron-walkthrough__step.is-complete {
  opacity: 0.72;
}

.chevron-walkthrough__step-panel {
  margin-left: 38%;
  width: 56%;
  max-width: 720px;
  padding-left: 50px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.chevron-walkthrough__step[data-chevron-step="0"] .chevron-walkthrough__step-panel,
.chevron-walkthrough__step[data-chevron-step="3"] .chevron-walkthrough__step-panel {
  gap: 100px;
}

.chevron-walkthrough__step[data-chevron-step="1"] .chevron-walkthrough__step-panel {
  width: min(2048px, calc(100vw - 38vw - 80px));
  max-width: none;
}

.chevron-walkthrough__step[data-chevron-step="2"] .chevron-walkthrough__step-panel {
  width: min(2048px, calc(100vw - 38vw - 80px));
  max-width: none;
}

.chevron-walkthrough__step-copy {
  position: relative;
  z-index: 2;
  max-width: 430px;
}

.chevron-walkthrough__step-visual {
  position: relative;
  z-index: 1;
  margin-top: 0;
  margin-left: -110px;
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.chevron-walkthrough__step[data-chevron-step="0"] .chevron-walkthrough__step-visual {
  margin-left: -147px;
  margin-bottom: 30px;
}

.chevron-walkthrough__step[data-chevron-step="3"] .chevron-walkthrough__step-visual {
  margin-left: -147px;
  margin-bottom: 15px;
}

.chevron-walkthrough__step[data-chevron-step="1"] .chevron-walkthrough__step-visual {
  margin-left: -70px;
}

.chevron-walkthrough__step[data-chevron-step="1"] .chevron-walkthrough__step-copy {
  margin-top: 20px;
}

.chevron-walkthrough__step-num {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  color: var(--chevron-red);
}

.chevron-walkthrough__step-title {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--chevron-black);
}

.chevron-walkthrough__step-desc {
  margin: 0;
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 400;
  line-height: 1.62;
  color: rgba(9, 9, 9, 0.54);
  max-width: 430px;
}

.chevron-walkthrough__beat .project-chevron-dashboard,
.chevron-walkthrough__beat .project-chevron-ipad {
  width: 100%;
  padding: 0;
  background: var(--ch-walk-surface);
  justify-content: flex-start;
}

.chevron-walkthrough__beat .chevron-phone-section {
  --ch-phone-display: 1;
  --chevron-mobile-bg: var(--ch-walk-surface);
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 0;
  background: var(--ch-walk-surface);
  overflow: visible;
}

.chevron-walkthrough__beat .project-chevron-dashboard__stage {
  width: min(1024px, 100%);
  max-width: 100%;
}

.chevron-walkthrough__step[data-chevron-step="1"] .project-chevron-dashboard__stage {
  width: 90%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.chevron-walkthrough__step[data-chevron-step="2"] .project-chevron-ipad .project-chevron-dashboard__stage {
  width: 85%;
  max-width: none;
}

.chevron-walkthrough__beat .project-chevron-ipad .project-chevron-dashboard__stage {
  width: min(72.25%, 1160px);
  max-width: 100%;
}

.chevron-walkthrough__step[data-chevron-step="1"] .project-chevron-dashboard,
.chevron-walkthrough__step[data-chevron-step="2"] .project-chevron-ipad {
  width: 100%;
  max-width: none;
  padding: 0 !important;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.chevron-walkthrough__step[data-chevron-step="1"] .project-chevron-dashboard {
  overflow: hidden;
}

.chevron-walkthrough__step[data-chevron-step="1"] .ch-ipad__device {
  clip-path: inset(40px 0 40px 0);
  margin-top: -40px;
  margin-bottom: -40px;
}

.chevron-walkthrough__step[data-chevron-step="2"] .project-chevron-ipad .project-chevron-dashboard__stage {
  margin: 0;
  padding: 0;
}

.chevron-walkthrough__step[data-chevron-step="1"],
.chevron-walkthrough__step[data-chevron-step="2"] {
  overflow: visible;
}

.chevron-walkthrough__step[data-chevron-step="1"] .chevron-walkthrough__step-visual {
  overflow: hidden;
  max-width: none;
}

.chevron-walkthrough__step[data-chevron-step="2"] .chevron-walkthrough__step-visual {
  overflow: visible;
  max-width: none;
}

.chevron-walkthrough__step[data-chevron-step="3"] {
  overflow: visible;
  min-height: auto;
  justify-content: flex-start;
  padding-bottom: clamp(15px, 2.5vh, 24px);
}

.chevron-walkthrough__beat .chevron-phone {
  --ch-phone-shell-w: clamp(218px, 25vw, 374px);
}

.page-chevron .chevron-walkthrough__beat:last-child {
  padding-bottom: clamp(24px, 4vh, 48px);
}

.page-chevron .project-next {
  margin-top: 0;
  background: #ffffff;
}
.ch-login--phone {
  --ch-login-gutter: 6cqi;
  --ch-login-field-gap: 1.6cqi;
  --ch-login-stack-gap: 5.5cqi;
  --ch-login-header-gap: 10cqi;
  --ch-login-touch: 13cqi;
  width: 100%;
  height: 100%;
  background: #ffffff;
}

.ch-login--phone .ch-login__screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  min-height: 100%;
  padding:
    calc(var(--ch-login-gutter) * 2)
    var(--ch-login-gutter)
    calc(var(--ch-login-gutter) * 1.5);
  box-sizing: border-box;
}

.ch-login--phone .ch-login__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 0 var(--ch-login-header-gap);
}

.chevron-phone--login .ch-login__logo {
  display: block;
  width: 22.5%;
  max-width: 22.5%;
  height: auto;
  margin: 0 0 2.4cqi;
  object-fit: contain;
}

.ch-login--phone .ch-login__title {
  margin: 0 0 1cqi;
  font-size: 4.2cqi;
  font-weight: 600;
  line-height: 1.25;
  color: var(--chevron-blue);
  text-transform: lowercase;
}

.ch-login--phone .ch-login__subtitle {
  margin: 0;
  font-size: 3.2cqi;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(9, 9, 9, 0.5);
  text-transform: lowercase;
}

.ch-login--phone .ch-login__form {
  display: flex;
  flex-direction: column;
  gap: var(--ch-login-stack-gap);
  width: 100%;
}

.ch-login--phone .ch-login__field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--ch-login-field-gap);
}

.ch-login--phone .ch-login__label {
  font-size: 3cqi;
  font-weight: 600;
  line-height: 1.3;
  color: var(--chevron-blue);
  text-transform: lowercase;
}

.ch-login--phone .ch-login__input {
  width: 100%;
  min-height: var(--ch-login-touch);
  box-sizing: border-box;
  border: 1px solid rgba(0, 107, 190, 0.22);
  border-radius: 0;
  padding: 0 2.4cqi;
  font-family: var(--font-main);
  font-size: 3.4cqi;
  line-height: 1.2;
  color: var(--chevron-black);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.chevron-phone--login.is-email-focused .ch-login__input--email,
.ch-login__input--email.is-typing {
  border-color: rgba(0, 107, 190, 0.55);
  box-shadow: inset 0 0 0 1px rgba(0, 107, 190, 0.12);
}

.ch-login__input--email.is-typing {
  caret-color: var(--chevron-blue);
}

.ch-login--phone .ch-login__input::placeholder {
  color: rgba(9, 9, 9, 0.35);
}

.ch-login--phone .ch-login__submit {
  margin: 1cqi 0 0;
  width: 100%;
  min-height: var(--ch-login-touch);
  border: 0;
  border-radius: 0;
  padding: 0 2.4cqi;
  font-family: var(--font-main);
  font-size: 3.4cqi;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
  background: var(--chevron-blue);
  text-transform: lowercase;
  cursor: default;
}

@media (max-width: 991px) {
  .page-chevron .page-hero-sec {
    margin-inline: var(--page-inset);
  }

  .page-case-study .project-gallery .chevron-walkthrough__intro {
    padding: clamp(56px, 8vw, 96px) var(--page-inset) clamp(40px, 6vw, 64px);
  }

  .chevron-walkthrough__layout {
    padding-inline: var(--page-inset);
  }

  .chevron-walkthrough__outro {
    margin-top: -60px;
    padding: 120px var(--page-inset) 120px;
  }

  .chevron-walkthrough__step {
    min-height: 66vh;
    padding: clamp(32px, 8vw, 56px) 0 clamp(56px, 12vw, 80px);
  }

  .chevron-walkthrough__step-panel {
    margin-left: 28%;
    width: 68%;
    max-width: none;
    padding-left: 16px;
  }

  .chevron-walkthrough__step[data-chevron-step="0"] .chevron-walkthrough__step-panel,
  .chevron-walkthrough__step[data-chevron-step="3"] .chevron-walkthrough__step-panel {
    gap: clamp(40px, 10vw, 72px);
  }

  .chevron-walkthrough__step-visual,
  .chevron-walkthrough__step[data-chevron-step="0"] .chevron-walkthrough__step-visual,
  .chevron-walkthrough__step[data-chevron-step="1"] .chevron-walkthrough__step-visual,
  .chevron-walkthrough__step[data-chevron-step="3"] .chevron-walkthrough__step-visual {
    margin-left: 0;
  }

  .chevron-walkthrough__step-copy,
  .chevron-walkthrough__step-desc {
    max-width: none;
  }

  .chevron-walkthrough__step-title {
    font-size: 20px;
  }

  .chevron-walkthrough__path-bg,
  .chevron-walkthrough__path-fill {
    stroke-width: 18;
  }

  .chevron-walkthrough__step[data-chevron-step="1"] .chevron-walkthrough__step-panel,
  .chevron-walkthrough__step[data-chevron-step="2"] .chevron-walkthrough__step-panel {
    width: 68%;
    max-width: none;
  }

  .chevron-walkthrough__step[data-chevron-step="1"] .project-chevron-dashboard__stage {
    width: 100%;
  }

  .chevron-walkthrough__step[data-chevron-step="2"] .project-chevron-ipad .project-chevron-dashboard__stage {
    width: 100%;
  }

  .chevron-walkthrough__beat .chevron-phone {
    --ch-phone-shell-w: clamp(156px, 42.6vw, 250px);
  }

  .chevron-walkthrough__step[data-chevron-step="1"] .project-chevron-dashboard,
  .chevron-walkthrough__step[data-chevron-step="1"] .chevron-walkthrough__step-visual {
    overflow: visible;
  }

  .chevron-walkthrough__step[data-chevron-step="1"] .ch-ipad__device {
    clip-path: none;
    margin-top: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .page-chevron .page-hero-sec {
    margin-inline: var(--page-inset);
    padding-top: 100px;
    padding-bottom: 48px;
  }

  .page-case-study .project-gallery .chevron-walkthrough__intro {
    padding: clamp(48px, 10vw, 72px) var(--page-inset) clamp(32px, 6vw, 48px);
  }

  .chevron-walkthrough__layout {
    padding-inline: var(--page-inset);
  }

  .chevron-walkthrough__step {
    min-height: auto;
    padding: 32px 0 48px;
  }

  .chevron-walkthrough__step-panel,
  .chevron-walkthrough__step[data-chevron-step="1"] .chevron-walkthrough__step-panel,
  .chevron-walkthrough__step[data-chevron-step="2"] .chevron-walkthrough__step-panel {
    margin-left: 0;
    width: 100%;
    padding-left: 0;
  }

  .chevron-walkthrough__step[data-chevron-step="0"] .chevron-walkthrough__step-panel,
  .chevron-walkthrough__step[data-chevron-step="3"] .chevron-walkthrough__step-panel {
    gap: 24px;
  }

  .chevron-walkthrough__step-visual {
    justify-content: center;
    width: 100%;
  }

  .chevron-walkthrough__path,
  .chevron-walkthrough__dots {
    display: none;
  }

  .chevron-walkthrough__outro {
    margin-top: 0;
    padding: 72px var(--page-inset) 88px;
  }

  .chevron-walkthrough__beat .chevron-phone {
    --ch-phone-shell-w: clamp(200px, 58vw, 280px);
  }

  .page-chevron .project-next {
    padding-top: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chevron-walkthrough__step {
    min-height: auto;
    opacity: 1;
    transition: none;
  }

  .chevron-walkthrough__dot {
    transition: none;
  }
}

