/* Mark Lythe Travel case study theme (loaded only for theme: mark-lythe-travel, after casestudy-editorial.css).
 * Bright daylight: pale blue-grey grounds, white surfaces, the logo's yellow (#FDC80C) as the accent and its navy (#212647) for text.
 * Both colours are taken from the supplied logo artwork. Yellow is used for fills, lines and underlines only, never for text on light
 * grounds. The page loads no web fonts of its own: headings use WaveLocal's body typeface in bold. */
.ch-theme-mark-lythe-travel {
  --mt-yellow: #fdc80c;
  --mt-navy: #212647;
  --mt-ink: #212647;
  --mt-text: #3d4560;
  --mt-muted: #565f78;
  --mt-sky: #e8eff5;
  --mt-sky-2: #f3f7fa;
  --mt-line: #d3dde7;
  --mt-surface: #fff;
  --ch-gold: var(--mt-yellow);
  --ch-hair: var(--mt-line);
  --ch-muted: var(--mt-muted);
  --cs-font-0: var(--bodyFont);
}
html.dark-mode .ch-theme-mark-lythe-travel {
  --mt-ink: #fff;
  --mt-text: rgba(255, 255, 255, 0.86);
  --mt-muted: rgba(255, 255, 255, 0.72);
  --mt-sky: #1f2a35;
  --mt-sky-2: #1a232d;
  --mt-line: rgba(255, 255, 255, 0.16);
  --mt-surface: #26323f;
  --ch-hair: var(--mt-line);
  --ch-muted: var(--mt-muted);
}

/* ---------------------------------------------------------------- shared type */
.ch-theme-mark-lythe-travel .ch-h2 {
  max-width: 16ch;
  text-transform: none;
  font-family: var(--cs-font-0);
  font-size: clamp(2rem, 3.8vw, 3.375rem);
  line-height: 1.04em;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--mt-ink);
}
html.dark-mode .ch-theme-mark-lythe-travel .ch-h2 {
  color: #fff;
}
.ch-theme-mark-lythe-travel .ch-eyebrow {
  color: var(--mt-muted);
}

/* ---------------------------------------------------------------- hero: bright, with the devices and the logo on the right */
.ch-theme-mark-lythe-travel .ch-hero {
  background-color: var(--mt-sky);
}
.ch-theme-mark-lythe-travel .ch-hero:before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: 0;
  height: 38%;
  background: url("../images/projects/mark-lythe-travel/route.svg") center bottom / 100% auto no-repeat;
  opacity: 0.8;
  pointer-events: none;
}
.ch-theme-mark-lythe-travel .ch-hero__inner {
  position: relative;
  z-index: 1;
}
.ch-theme-mark-lythe-travel .ch-hero__title {
  text-transform: none;
  font-family: var(--cs-font-0);
  font-size: clamp(2.5rem, 4.4vw, 4.25rem);
  line-height: 1.02em;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--mt-ink);
}
.ch-theme-mark-lythe-travel .ch-hero__b {
  display: inline;
  background: linear-gradient(transparent 62%, var(--mt-yellow) 62%, var(--mt-yellow) 92%, transparent 92%);
  color: var(--mt-ink);
}
.ch-theme-mark-lythe-travel .ch-hero__a {
  display: block;
}
.ch-theme-mark-lythe-travel .ch-hero .ch-topper,
html.dark-mode .ch-theme-mark-lythe-travel .ch-hero .ch-topper {
  color: var(--mt-ink);
}
.ch-theme-mark-lythe-travel .ch-topper:before {
  background-color: var(--mt-yellow);
  height: 4px;
}
.ch-theme-mark-lythe-travel .ch-hero .cs-breadcrumbs li,
.ch-theme-mark-lythe-travel .ch-hero .cs-breadcrumbs a {
  color: var(--mt-muted);
}
.ch-theme-mark-lythe-travel .ch-hero__lead,
html.dark-mode .ch-theme-mark-lythe-travel .ch-hero .ch-hero__lead {
  color: var(--mt-text);
}
.ch-theme-mark-lythe-travel .ch-disciplines,
html.dark-mode .ch-theme-mark-lythe-travel .ch-hero .ch-disciplines {
  color: var(--mt-ink);
}
.ch-theme-mark-lythe-travel .ch-hero__media--component {
  overflow: visible;
  border-radius: 0;
}
html.dark-mode .ch-theme-mark-lythe-travel .ch-hero {
  background-color: var(--mt-sky);
}
@media only screen and (min-width: 64rem) {
  .ch-theme-mark-lythe-travel .ch-hero:before {
    left: 45%;
    height: 55%;
  }
  .ch-theme-mark-lythe-travel .ch-hero__inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    padding-right: max(1rem, calc((100% - 80rem) / 2));
  }
  .ch-theme-mark-lythe-travel .ch-hero__media--component {
    margin-left: 1rem;
  }
}

/* hero devices (ch-devices, hero variant) */
.ch-hd {
  position: relative;
}
.ch-hd__logo {
  margin: 0 0 1.25rem;
}
.ch-hd__logo img {
  display: block;
  height: auto;
  width: min(20rem, 70%);
  border-radius: 0.75rem;
  background-color: #fff;
  padding: 0.85rem 1.1rem;
  box-shadow: 0 1rem 2rem -1.25rem rgba(33, 38, 71, 0.4);
}
.ch-hd__stage {
  position: relative;
  padding: 0 0 2.5rem;
}
.ch-hd__phone {
  position: absolute;
  right: 0.75rem;
  bottom: 0;
  width: 25%;
  max-width: 10.5rem;
}

/* ---------------------------------------------------------------- image slots (ch-media) and device frames */
.ch-media {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}
.ch-r-4x5 {
  aspect-ratio: 4 / 5;
}
.ch-r-1x1 {
  aspect-ratio: 1 / 1;
}
.ch-r-3x2 {
  aspect-ratio: 3 / 2;
}
.ch-r-4x3 {
  aspect-ratio: 4 / 3;
}
.ch-r-16x10 {
  aspect-ratio: 16 / 10;
}
.ch-r-16x9 {
  aspect-ratio: 16 / 9;
}
.ch-r-phone {
  aspect-ratio: 780 / 1688;
}
.ch-media__img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.ch-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1.5px dashed var(--mt-yellow);
  background-color: var(--mt-sky-2);
  padding: 0.75rem;
  text-align: center;
  color: var(--mt-ink);
}
.ch-ph__tag {
  text-transform: uppercase;
  font-size: 0.75rem;
  line-height: 1.2em;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--mt-ink);
}
.ch-ph__label {
  max-width: 24ch;
  font-size: 1rem;
  line-height: 1.3em;
  font-weight: 700;
}
.ch-ph__spec {
  font-size: 0.75rem;
  line-height: 1.4em;
  color: var(--mt-muted);
  overflow-wrap: anywhere;
}
.ch-dframe {
  overflow: hidden;
  border: 1px solid var(--mt-line);
  border-radius: 0.9rem;
  background-color: var(--mt-surface);
  padding: 0.4rem;
  box-shadow: 0 1.5rem 2.5rem -1.75rem rgba(33, 38, 71, 0.45);
}
.ch-dframe .ch-media {
  border-radius: 0.55rem;
}
.ch-pframe {
  overflow: hidden;
  border: 0.4rem solid var(--mt-navy);
  border-radius: 1.8rem;
  background-color: var(--mt-navy);
  box-shadow: 0 1.5rem 2.5rem -1.25rem rgba(33, 38, 71, 0.55);
}
html.dark-mode .ch-theme-mark-lythe-travel .ch-pframe {
  border-color: #3a4560;
  background-color: #3a4560;
}
.ch-pframe .ch-media {
  border-radius: 1.4rem;
}
.ch-pframe .ch-ph {
  padding: 0.5rem;
}
.ch-pframe .ch-ph__label {
  font-size: 0.875rem;
}

/* ---------------------------------------------------------------- 01 the brief (reuses ch-intro) */
.ch-theme-mark-lythe-travel .ch-intro__body p:first-child {
  font-weight: 700;
  letter-spacing: -0.01em;
}
.ch-theme-mark-lythe-travel .ch-intro__body li strong {
  text-transform: none;
  font-family: var(--cs-font-0);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--mt-ink);
}
html.dark-mode .ch-theme-mark-lythe-travel .ch-intro__body li strong {
  color: #fff;
}
.ch-theme-mark-lythe-travel .ch-intro__body ul {
  border-top: 3px solid var(--mt-yellow);
}

/* ---------------------------------------------------------------- 02 brand identity (ch-identity) */
.ch-theme-mark-lythe-travel .ch-identity {
  background-color: var(--mt-sky);
}
.ch-identity__grid {
  display: grid;
  gap: 2.5rem;
}
.ch-identity__text {
  max-width: 30rem;
  margin-top: 1.5rem;
}
.ch-identity__text p {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  line-height: 1.65em;
  color: var(--mt-text);
}
html.dark-mode .ch-theme-mark-lythe-travel .ch-identity__text p {
  color: var(--mt-text);
}
.ch-idplate {
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid var(--mt-line);
  border-radius: 1.25rem;
  background: var(--mt-surface) url("../images/projects/mark-lythe-travel/route.svg") center bottom / 100% auto no-repeat;
  aspect-ratio: 4 / 3;
  padding: 8%;
}
.ch-idplate img {
  display: block;
  height: auto;
  width: 100%;
}
html.dark-mode .ch-theme-mark-lythe-travel .ch-idplate {
  background-color: #fff;
}
.ch-idcolours {
  margin-top: 1.25rem;
}
.ch-idswatches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ch-idswatch {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.ch-idswatch__chip {
  display: block;
  margin-bottom: 0.5rem;
  border: 1px solid var(--mt-line);
  border-radius: 0.75rem;
  height: 4.5rem;
  width: 100%;
}
.ch-idswatch__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--mt-ink);
}
.ch-idswatch__val {
  font-size: 0.875rem;
  line-height: 1.4em;
  color: var(--mt-muted);
}
.ch-idcolours__note {
  margin: 0.9rem 0 0;
  font-size: 0.875rem;
  color: var(--mt-muted);
}
@media only screen and (min-width: 64rem) {
  .ch-identity__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }
}

/* ---------------------------------------------------------------- 03 digital experience (ch-devices) */
.ch-theme-mark-lythe-travel .ch-devices {
  background-color: var(--mt-surface);
}
html.dark-mode .ch-theme-mark-lythe-travel .ch-devices {
  background-color: var(--dark);
}
.ch-devices__head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.ch-devices__intro {
  max-width: 34rem;
}
.ch-devices__intro p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.65em;
  color: var(--mt-text);
}
html.dark-mode .ch-theme-mark-lythe-travel .ch-devices__intro p {
  color: var(--mt-text);
}
.ch-stage {
  display: grid;
  justify-items: center;
  gap: 2rem;
}
.ch-stage__phone {
  width: min(72vw, 16rem);
}
.ch-notes {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 30rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ch-note;
}
.ch-note {
  position: relative;
  counter-increment: ch-note;
  padding-left: 2.75rem;
}
.ch-note:before {
  content: counter(ch-note);
  position: absolute;
  top: 0.1rem;
  left: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background-color: var(--mt-yellow);
  height: 1.9rem;
  width: 1.9rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #212647;
}
.ch-note__text {
  display: grid;
  gap: 0.15rem;
}
.ch-note__text strong {
  font-size: 1.125rem;
  line-height: 1.25em;
  font-weight: 700;
  color: var(--mt-ink);
}
.ch-note__text span {
  font-size: 1rem;
  line-height: 1.5em;
  color: var(--mt-text);
}
.ch-dsk {
  margin-top: clamp(3rem, 6vw, 5rem);
}
.ch-more {
  display: grid;
  gap: 2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.ch-more__item {
  margin: 0;
  min-width: 0;
}
.ch-more__item figcaption {
  display: grid;
  gap: 0.1rem;
  margin-top: 0.8rem;
  font-size: 0.9375rem;
  line-height: 1.5em;
  color: var(--mt-muted);
}
.ch-more__item figcaption strong {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--mt-ink);
}
@media only screen and (min-width: 40rem) {
  .ch-more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
  }
}
@media only screen and (min-width: 64rem) {
  .ch-devices__head {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    column-gap: clamp(3rem, 7vw, 7rem);
    align-items: end;
  }
  .ch-stage {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: repeat(4, auto);
    align-items: center;
    justify-items: stretch;
    gap: 0;
  }
  .ch-stage__phone {
    grid-column: 2;
    grid-row: 1 / span 4;
    width: clamp(15rem, 21vw, 19rem);
  }
  .ch-notes {
    display: contents;
  }
  .ch-note {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
  }
  .ch-note:before {
    content: "";
    position: static;
    order: 2;
    flex: 1 1 auto;
    display: block;
    border-radius: 0;
    background: none;
    border-top: 1px dashed var(--mt-navy);
    height: 0;
    width: auto;
    margin: 0 0.6rem;
  }
  html.dark-mode .ch-theme-mark-lythe-travel .ch-note:before {
    border-top-color: var(--mt-yellow);
  }
  .ch-note:after {
    content: "";
    order: 3;
    flex: none;
    border: 3px solid var(--mt-navy);
    border-radius: 50%;
    background-color: var(--mt-yellow);
    height: 0.95rem;
    width: 0.95rem;
  }
  .ch-note__text {
    flex: 0 0 15rem;
    order: 1;
    text-align: right;
  }
  .ch-note--1,
  .ch-note--3 {
    grid-column: 1;
  }
  .ch-note--2,
  .ch-note--4 {
    grid-column: 3;
  }
  .ch-note--2:after,
  .ch-note--4:after {
    order: 1;
  }
  .ch-note--2 .ch-note__text,
  .ch-note--4 .ch-note__text {
    order: 3;
    text-align: left;
  }
  .ch-note--1 {
    grid-row: 1;
  }
  .ch-note--2 {
    grid-row: 2;
  }
  .ch-note--3 {
    grid-row: 3;
  }
  .ch-note--4 {
    grid-row: 4;
  }
  .ch-dsk {
    max-width: 62rem;
    margin-left: auto;
    margin-right: auto;
  }
  .ch-more {
    max-width: 62rem;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }
  .ch-more__item--2 {
    margin-top: 3rem;
  }
}

/* ---------------------------------------------------------------- 04 visibility & growth (reuses ch-capabilities) */
.ch-theme-mark-lythe-travel #ch-growth {
  background-color: var(--mt-sky-2);
}
.ch-theme-mark-lythe-travel .ch-capabilities__intro p {
  color: var(--mt-text);
}
html.dark-mode .ch-theme-mark-lythe-travel .ch-capabilities__intro p {
  color: var(--mt-text);
}
.ch-theme-mark-lythe-travel .ch-cap4__item {
  border-top: 4px solid var(--mt-yellow);
}
.ch-theme-mark-lythe-travel .ch-cap4__item:before {
  display: none;
}
.ch-theme-mark-lythe-travel .ch-cap4__num {
  display: none;
}
.ch-theme-mark-lythe-travel .ch-cap4__title {
  margin: 0 0 0.5rem;
  text-transform: none;
  font-family: var(--cs-font-0);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  line-height: 1.15em;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--mt-ink);
}
html.dark-mode .ch-theme-mark-lythe-travel .ch-cap4__title {
  color: #fff;
}
.ch-theme-mark-lythe-travel .ch-cap4__text {
  color: var(--mt-text);
}
html.dark-mode .ch-theme-mark-lythe-travel .ch-cap4__text {
  color: var(--mt-text);
}
html.dark-mode .ch-theme-mark-lythe-travel #ch-growth {
  background-color: var(--mt-sky-2);
}
@media only screen and (min-width: 48rem) {
  .ch-theme-mark-lythe-travel .ch-cap4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------------------------------------------------------------- 05 the result (reuses ch-partnership with a list) */
.ch-theme-mark-lythe-travel .ch-partner__body p:first-child {
  font-weight: 700;
  letter-spacing: -0.015em;
}
.ch-theme-mark-lythe-travel .ch-delivered {
  border-top: 4px solid var(--mt-yellow);
}
.ch-theme-mark-lythe-travel .ch-delivered__list li {
  text-transform: none;
  font-family: var(--cs-font-0);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--mt-ink);
}
html.dark-mode .ch-theme-mark-lythe-travel .ch-delivered__list li {
  color: #fff;
}

/* structure of ch-capabilities (shared with the Totsi theme, restated here so each theme file stands alone) */
.ch-capabilities__head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}
.ch-capabilities__intro {
  max-width: 36rem;
}
.ch-capabilities__intro p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.65em;
}
.ch-cap4 {
  display: grid;
  gap: 0 clamp(2rem, 4vw, 4rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.ch-cap4__item {
  position: relative;
  padding: 1.4rem 0 1.9rem;
}
.ch-cap4__text {
  margin: 0;
  max-width: 26rem;
  font-size: 1.0625rem;
  line-height: 1.6em;
}
@media only screen and (min-width: 64rem) {
  .ch-capabilities__head {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    column-gap: clamp(3rem, 7vw, 7rem);
    align-items: end;
  }
}

@media only screen and (max-width: 39.999rem) {
  .ch-hd__phone {
    width: 32%;
  }
}
