/* Creativity — component styles. Every value comes from tokens.css; motion values are listed in the README. */

:root {
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --dur-press: 200ms;
  --dur-reveal: 700ms;
  --rise: 20px;
}

/* ---------- Base ---------- */
.ct, .ct * { box-sizing: border-box; }
.ct {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg-100);
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:where(.ct) img { display: block; max-width: 100%; }
:where(.ct) a { color: inherit; text-decoration: none; }
:where(.ct) p { margin: 0; }
:where(.ct) :is(h1, h2, h3, h4) { margin: 0; font-weight: 500; }
:where(.ct) :is(b, strong) { font-weight: 500; }
.ct :focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: var(--little-border-radius); }
.ct .on-dark :focus-visible, .ct-dark :focus-visible { outline-color: var(--sky); }
.ct:lang(ar) { --font-sans: var(--font-sans-ar); }
.ct:lang(ar), .ct:lang(ar) * { letter-spacing: 0 !important; }
.ct-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ct-container { width: 100%; max-width: calc(var(--content-max) + 2 * var(--gutter-desktop)); margin: 0 auto; padding: 0 var(--gutter-desktop); }
.ct-section { padding: var(--space-12) 0; }
/* Menu links land each section just below the floating nav (nav top offset + solid bar height) */
html { scroll-padding-top: var(--space-12); }
@media (max-width: 899px) { html { scroll-padding-top: calc(12px + 76px); } }
.ct-section--alt { background: var(--bg-200); }

.ct-muted { color: var(--ink-muted); }
.ct-ghost { color: var(--ink-ghost); }

/* Type scale — responsive steps on top of the token classes */
.t-hero { text-wrap: balance; }
.t-section, .t-statement { text-wrap: balance; }
.t-label { text-transform: uppercase; }
@media (max-width: 1023px) {
  .t-hero { font-size: 60px; }
  .t-section { font-size: 42px; }
  .t-stat { font-size: 52px; }
}
@media (max-width: 639px) {
  .ct-container { padding: 0 var(--gutter-mobile); }
  .ct-section { padding: var(--space-6) 0; }
  .t-hero { font-size: 44px; line-height: 1.04; }
  .t-section { font-size: 34px; }
  .t-statement { font-size: 28px; }
  .t-card-title { font-size: 22px; }
  .t-stat { font-size: 44px; }
  .t-body-lg { font-size: 17px; }
}

/* ---------- Buttons ---------- */
.ct-btn {
  --btn-bg: var(--midnight); --btn-fg: var(--on-dark); --btn-bd: transparent;
  display: inline-flex; align-items: center; gap: 14px;
  height: var(--control-height); padding-block: 0; padding-inline: 24px 6px;
  border-radius: var(--little-border-radius); border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font: 500 15px/1 var(--font-sans); letter-spacing: 0;
  cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur-press) var(--ease-out), color var(--dur-press) var(--ease-out), border-color var(--dur-press) var(--ease-out), transform var(--dur-press) var(--ease-out);
}
.ct-btn:not(:has(.ct-btn__arrow)) { padding: 0 24px; }
.ct-btn__arrow {
  width: 38px; height: 38px; border-radius: calc(var(--little-border-radius) - 3px);
  display: grid; place-items: center; flex: none;
  background: var(--on-dark); color: var(--midnight);
  transition: transform var(--dur-press) var(--ease-out);
}
.ct-btn__arrow svg { width: 16px; height: 16px; transition: transform var(--dur-press) var(--ease-out); }
.ct-btn:hover { --btn-bg: var(--midnight-hover); }
.ct-btn:hover .ct-btn__arrow svg { transform: translateX(3px); }
.ct-btn:active { transform: scale(.98); }
.ct-btn[disabled], .ct-btn[aria-disabled="true"] { --btn-bg: var(--surface-card); --btn-fg: var(--ink-muted); cursor: not-allowed; transform: none; }
.ct-btn[disabled] .ct-btn__arrow, .ct-btn[aria-disabled="true"] .ct-btn__arrow { background: var(--border); color: var(--ink-muted); }

.ct-btn--secondary { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--border); }
.ct-btn--secondary .ct-btn__arrow { background: var(--midnight); color: var(--on-dark); }
.ct-btn--secondary:hover { --btn-bg: var(--sky-100); --btn-bd: var(--sky-100); }

.ct-btn--light { --btn-bg: var(--on-dark); --btn-fg: var(--midnight); }
.ct-btn--light .ct-btn__arrow { background: var(--midnight); color: var(--on-dark); }
.ct-btn--light:hover { --btn-bg: var(--sky-100); }

.ct-btn--glass { --btn-bg: rgba(255,255,255,.12); --btn-fg: var(--on-dark); --btn-bd: rgba(255,255,255,.35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.ct-btn--glass:hover { --btn-bg: rgba(255,255,255,.22); }

.ct-btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }

/* Circular arrow button (carousel nav) */
.ct-icon-btn {
  width: 52px; height: 52px; border-radius: var(--little-border-radius);
  display: grid; place-items: center;
  border: 1px solid var(--border); background: var(--surface-white); color: var(--ink);
  cursor: pointer;
  transition: background-color var(--dur-press) var(--ease-out), color var(--dur-press) var(--ease-out), border-color var(--dur-press) var(--ease-out), transform var(--dur-press) var(--ease-out);
}
.ct-icon-btn svg { width: 18px; height: 18px; transition: transform var(--dur-press) var(--ease-out); }
.ct-icon-btn:hover { background: var(--midnight); border-color: var(--midnight); color: var(--on-dark); }
.ct-icon-btn[data-dir="next"]:hover svg { transform: translateX(2px); }
.ct-icon-btn[data-dir="prev"]:hover svg { transform: translateX(-2px); }
.ct-icon-btn:active { transform: scale(.95); }
.ct-icon-btn[disabled] { opacity: .4; cursor: not-allowed; background: var(--surface-white); color: var(--ink); border-color: var(--border); }

/* ---------- Tags / eyebrows ---------- */
.ct-tag {
  width: fit-content;
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 14px; border-radius: var(--little-border-radius);
  background: var(--surface-card); color: var(--ink-muted);
  font: 500 12px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase;
}
.ct-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.ct-tag--plain::before { display: none; }
.ct-tag--on-photo { background: rgba(255,255,255,.14); color: var(--on-dark); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ct-tag--on-photo::before, .ct-tag--dark::before { background: var(--sky); }
.ct-tag--dark { background: rgba(255,255,255,.08); color: var(--on-dark-muted); }

/* ---------- Navigation ---------- */
.ct-nav { position: sticky; top: 0; z-index: 50; height: 0; }
.ct-nav__bar {
  position: absolute; left: 0; right: 0; top: 16px;
  margin: 0 auto; width: calc(100% - 32px); max-width: calc(var(--content-max) + 48px);
  height: var(--nav-height); padding-block: 0; padding-inline: 24px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-radius: var(--little-border-radius); border: 1px solid transparent;
  color: var(--on-dark);
  transition: background-color 400ms var(--ease-out), border-color 400ms var(--ease-out), color 400ms var(--ease-out), box-shadow 400ms var(--ease-out), height 400ms var(--ease-out);
}
.ct-nav__logo { position: relative; display: block; height: 88px; width: 251px; flex: none; transition: height 400ms var(--ease-out), width 400ms var(--ease-out); }
.ct-nav__logo img { position: absolute; inset: 0; height: 100%; width: auto; transition: opacity 400ms var(--ease-out); }
.ct-nav__logo .is-color { opacity: 0; }
.ct-nav__links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 4px; border-radius: var(--little-border-radius); background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background-color 400ms var(--ease-out), border-color 400ms var(--ease-out); }
.ct-nav__links a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--little-border-radius); font: 400 14px/1 var(--font-sans); opacity: .88; transition: background-color var(--dur-press), opacity var(--dur-press); }
.ct-nav__links a:hover, .ct-nav__links a[aria-current="page"] { opacity: 1; background: rgba(255,255,255,.16); }
.ct-nav__menu { display: none; }

.ct-nav.is-solid .ct-nav__bar { background: rgba(250,250,248,.86); border-color: var(--border); color: var(--ink); box-shadow: var(--shadow-soft); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); height: 80px; }
.ct-nav.is-solid .ct-nav__logo { height: 68px; width: 194px; }
.ct-nav.is-solid .ct-nav__logo .is-white { opacity: 0; }
.ct-nav.is-solid .ct-nav__logo .is-color { opacity: 1; }
.ct-nav.is-solid .ct-nav__links { background: transparent; border-color: transparent; }
.ct-nav.is-solid .ct-nav__links a:hover, .ct-nav.is-solid .ct-nav__links a[aria-current="page"] { background: var(--surface-card); }
.ct-nav.is-solid .ct-btn--light { --btn-bg: var(--midnight); --btn-fg: var(--on-dark); }
.ct-nav.is-solid .ct-btn--light .ct-btn__arrow { background: var(--on-dark); color: var(--midnight); }

.ct-nav--light .ct-nav__bar { color: var(--ink); }
.ct-nav--light .ct-nav__logo .is-white { opacity: 0; }
.ct-nav--light .ct-nav__logo .is-color { opacity: 1; }
.ct-nav:not(.is-solid) .ct-nav__logo .is-white { opacity: 1; }
.ct-nav:not(.is-solid) .ct-nav__logo .is-color { opacity: 0; }
.ct-nav--light .ct-nav__links { background: rgba(255,255,255,.55); border-color: rgba(255,255,255,.85); }
.ct-nav--light .ct-nav__links a:hover, .ct-nav--light .ct-nav__links a[aria-current="page"] { background: var(--surface-white); }
.ct-nav--light .ct-btn--light { --btn-bg: var(--midnight); --btn-fg: var(--on-dark); }
.ct-nav--light .ct-btn--light .ct-btn__arrow { background: var(--on-dark); color: var(--midnight); }

@media (max-width: 899px) {
  .ct-nav__links, .ct-nav__cta { display: none; }
  .ct-nav__menu { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--little-border-radius); border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: inherit; cursor: pointer; }
  .ct-nav.is-solid .ct-nav__menu, .ct-nav--light .ct-nav__menu { border-color: var(--border); background: var(--surface-white); }
  .ct-nav__logo, .ct-nav.is-solid .ct-nav__logo { height: 60px; width: 171px; }
  .ct-nav__bar { height: 76px; top: 12px; width: calc(100% - 24px); padding-inline: 18px 8px; }
}

/* ---------- Hero: exactly one viewport tall; full-bleed photo under a midnight shade, white copy centred ---------- */
.ct-hero { height: 100vh; height: 100svh; background: var(--midnight); border-bottom: 1px solid var(--border); }
.ct-hero__frame {
  position: relative; overflow: hidden; isolation: isolate; height: 100%;
  color: var(--on-dark); background: var(--midnight);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ct-hero__media { position: absolute; inset: -6% 0; z-index: -2; will-change: transform; }
.ct-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
/* dark blue shade: even wash for the copy, a little deeper at the bottom for the facts strip */
.ct-hero__scrim { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,26,53,.62) 0%, rgba(8,26,53,.55) 45%, rgba(8,26,53,.85) 100%); }
/* centred between the nav and the facts strip */
.ct-hero__content { padding: calc(var(--nav-height) + 16px) var(--gutter-desktop) 80px; width: 100%; max-width: 980px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.ct-hero__badge { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding-inline: 4px 12px; border-radius: var(--little-border-radius); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--on-dark); font: 500 13px/1 var(--font-sans); }
.ct-hero__badge b { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: calc(var(--little-border-radius) - 3px); background: var(--sky); color: var(--midnight); font-weight: 500; }
.ct-hero__title { margin: 24px 0 20px; max-width: 24ch; line-height: 1.2; }
.ct-hero__lead { max-width: 560px; color: var(--on-dark-muted); }
.ct-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.ct-hero__foot { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 calc(var(--gutter-desktop) + var(--space-3)); padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.28); display: flex; justify-content: space-between; align-items: center; gap: 24px; color: rgba(255,255,255,.9); }
.ct-hero__facts { display: flex; gap: 40px; flex-wrap: wrap; }
.ct-hero__facts span { display: flex; align-items: center; gap: 10px; }
.ct-hero__facts span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.ct-hero__scroll { display: inline-flex; align-items: center; gap: 12px; }
.ct-hero__scroll i { width: 1px; height: 36px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.ct-hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--on-dark); animation: ct-scroll 2.2s var(--ease-out) infinite; }
@keyframes ct-scroll { to { top: 100%; } }
@media (max-width: 639px) {
  .ct-hero__content { padding: 96px 20px 24px; }
  .ct-hero__badge { font-size: 12px; }
  .ct-hero__actions { margin-top: 24px; }
  .ct-hero__foot { display: none; }
  .ct-hero__media img { object-position: 40% 60%; }
}

/* ---------- About ---------- */
.ct-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--space-12); align-items: center; }
.ct-about__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.ct-about__text { max-width: 480px; }
.ct-about__media { position: relative; aspect-ratio: 5 / 4.4; border-radius: var(--radius-card); overflow: hidden; background: var(--surface-card); }
.ct-parallax { position: absolute; inset: -8% 0; will-change: transform; }
.ct-parallax img { width: 100%; height: 100%; object-fit: cover; }
.ct-about__badge { position: absolute; left: 20px; bottom: 20px; right: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 20px 22px; border-radius: var(--radius-image); background: rgba(250,250,248,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.ct-about__badge strong { display: block; font: 500 22px/1.2 var(--font-sans); letter-spacing: -.01em; }
@media (max-width: 899px) { .ct-about { grid-template-columns: 1fr; gap: var(--space-6); } }

/* ---------- Services (layout fixed: icon + general copy left, card carousel + arrows right) ---------- */
.ct-services { background: var(--tint, var(--bg-200)); transition: background-color 800ms var(--ease-out); overflow: hidden; }
.ct-services__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: var(--space-8); align-items: stretch; }
.ct-services__intro { display: flex; flex-direction: column; }
.ct-services__icon { position: relative; width: 112px; height: 112px; border-radius: var(--radius-card); background: var(--surface-white); color: var(--primary); display: grid; place-items: center; box-shadow: var(--shadow-soft); }
.ct-services__icon svg { position: absolute; width: 48px; height: 48px; opacity: 0; transform: translateY(8px) scale(.92); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.ct-services__icon svg.is-active { opacity: 1; transform: none; }
.ct-services__copy { margin-top: var(--space-6); padding-inline-start: var(--space-12); display: flex; flex-direction: column; gap: 24px; max-width: 560px; }
.ct-services__current { margin-top: auto; padding-top: var(--space-6); padding-inline-start: var(--space-12); display: flex; align-items: baseline; gap: 16px; color: var(--ink-muted); }
.ct-services__current b { font: 400 40px/1 var(--font-sans); letter-spacing: -.03em; color: var(--ink); min-width: 1.6em; }
.ct-services__current [data-name] { font: 500 15px/1.3 var(--font-sans); color: var(--ink); }
.ct-services__stage { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.ct-carousel { position: relative; overflow: hidden; touch-action: pan-y; padding: 8px 0 16px; margin: -8px 0 -16px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); }
.ct-carousel__track { display: flex; gap: 20px; transition: transform 700ms var(--ease-out); will-change: transform; }
.ct-carousel__track.is-dragging { transition: none; }
.ct-carousel__nav { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.ct-carousel__dots { display: flex; gap: 6px; margin-inline-end: auto; padding-inline-start: 4px; }
.ct-carousel__dots button { width: 24px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.ct-carousel__dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; border-radius: 2px; background: var(--border); transition: background-color 300ms, transform 300ms; }
.ct-carousel__dots button[aria-current="true"]::after { background: var(--primary); }

.ct-service-card {
  flex: 0 0 clamp(300px, 62%, 460px);
  display: flex; flex-direction: column;
  padding: 12px; border-radius: var(--radius-card);
  background: var(--surface-white); color: var(--ink);
  opacity: .55; transform: scale(.94); transform-origin: center;
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out), box-shadow 600ms var(--ease-out);
  user-select: none;
}
.ct-service-card.is-active { opacity: 1; transform: none; box-shadow: var(--shadow-soft); }
.ct-service-card__media { aspect-ratio: 4 / 3.1; border-radius: var(--radius-image); overflow: hidden; background: var(--surface-card); }
.ct-service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); pointer-events: none; }
.ct-service-card:hover .ct-service-card__media img { transform: scale(1.04); }
.ct-service-card__body { padding: 20px 12px 12px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ct-service-card__index { font: 500 12px/1 var(--font-sans); letter-spacing: .12em; color: var(--ink-muted); }
.ct-service-card__text { color: var(--ink-muted); }
.ct-service-card__cta { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 10px; font: 500 15px/1 var(--font-sans); color: var(--ink); min-height: 44px; }
.ct-service-card__cta span { width: 32px; height: 32px; border-radius: calc(var(--little-border-radius) - 3px); display: grid; place-items: center; background: var(--midnight); color: var(--on-dark); transition: transform var(--dur-press) var(--ease-out); }
.ct-service-card__cta svg { width: 14px; height: 14px; }
.ct-service-card__cta:hover span { transform: translateX(3px); }

@media (max-width: 1023px) {
  .ct-services__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .ct-services__copy, .ct-services__current { padding-inline-start: 0; }
  .ct-services__current { display: none; }
  .ct-services__icon { width: 88px; height: 88px; }
  .ct-services__icon svg { width: 38px; height: 38px; }
  .ct-service-card { flex-basis: min(86%, 440px); }
}

/* ---------- Process (How we work) ---------- */
.ct-process__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: var(--space-8); }
.ct-process__head > div { max-width: 620px; display: flex; flex-direction: column; gap: 20px; }
.ct-process__steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 20px; }
.ct-process__steps svg.ct-process__path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; color: var(--secondary); }
.ct-process__path path { fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-dasharray: 4 6; }
.ct-process__path .arrow { stroke-dasharray: none; }
/* Arrow motion: each connector draws in as a solid line, its head pops, then it turns into dashes that keep flowing forward */
.ct-process__path g { transition: color 400ms var(--ease-out); }
.ct-process__path g.is-active { color: var(--primary); }
.ct-process__path g.is-active path { stroke-width: 1.75; }
.ct-process__path .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ct-process__path .flow, .ct-process__path .arrow { opacity: 0; }
.ct-process__steps.is-play .ct-process__path .draw { animation: ct-draw 480ms var(--ease-out) forwards, ct-out 240ms var(--ease-out) forwards; animation-delay: calc(560ms + var(--i) * 280ms), calc(1240ms + var(--i) * 280ms); }
.ct-process__steps.is-play .ct-process__path .flow { animation: ct-fade 240ms var(--ease-out) forwards, ct-flow 1.12s linear infinite; animation-delay: calc(1240ms + var(--i) * 280ms), 0s; }
.ct-process__steps.is-play .ct-process__path .arrow { animation: ct-fade 240ms var(--ease-out) forwards; animation-delay: calc(960ms + var(--i) * 280ms); }
.ct-process__steps.is-done .ct-process__path .draw { animation: none; opacity: 0; }
.ct-process__steps.is-done .ct-process__path .flow { animation: ct-flow 1.12s linear infinite; opacity: 1; }
.ct-process__steps.is-done .ct-process__path .arrow { animation: none; opacity: 1; }
.ct-process__steps.is-done .ct-process__path g.is-active .flow { animation-duration: .56s; }
@keyframes ct-draw { to { stroke-dashoffset: 0; } }
@keyframes ct-out { to { opacity: 0; } }
@keyframes ct-fade { to { opacity: 1; } }
@keyframes ct-flow { to { stroke-dashoffset: -20; } }
.ct-step { position: relative; z-index: 1; padding: 24px; border-radius: var(--radius-card); background: var(--bg-100); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; min-height: 200px; transition: background-color 400ms var(--ease-out), border-color 400ms var(--ease-out), transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out); }
.ct-section--alt .ct-step { background: var(--surface-white); border-color: transparent; }
.ct-process__steps > .ct-step:nth-of-type(odd) { grid-row: 1; }
.ct-process__steps > .ct-step:nth-of-type(even) { grid-row: 2; margin-top: 40px; }
.ct-process__steps > .ct-step:nth-of-type(1) { grid-column: 1; }
.ct-process__steps > .ct-step:nth-of-type(2) { grid-column: 2; }
.ct-process__steps > .ct-step:nth-of-type(3) { grid-column: 3; }
.ct-process__steps > .ct-step:nth-of-type(4) { grid-column: 4; }
.ct-process__steps > .ct-step:nth-of-type(5) { grid-column: 5; }
.ct-step__num { display: flex; align-items: center; justify-content: space-between; font: 500 12px/1 var(--font-sans); letter-spacing: .12em; color: var(--ink-muted); }
.ct-step__num i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--secondary); transition: background-color 400ms, border-color 400ms; }
.ct-step h3 { font: 500 22px/1.2 var(--font-sans); letter-spacing: -.012em; margin-top: auto; }
.ct-step p { color: var(--ink-muted); font-size: 15px; line-height: 1.55; }
.ct-step:hover, .ct-step.is-current { background: var(--midnight); border-color: var(--midnight); color: var(--on-dark); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.ct-step:hover p, .ct-step.is-current p, .ct-step:hover .ct-step__num, .ct-step.is-current .ct-step__num { color: var(--on-dark-muted); }
.ct-step:hover .ct-step__num i, .ct-step.is-current .ct-step__num i { background: var(--sky); border-color: var(--sky); }
@media (max-width: 1023px) {
  .ct-process__head { flex-direction: column; align-items: flex-start; margin-bottom: var(--space-6); }
  .ct-process__steps { grid-template-columns: 1fr; gap: 12px; padding-inline-start: 28px; }
  .ct-process__steps::before { content: ""; position: absolute; inset-inline-start: 6px; top: 12px; bottom: 12px; width: 1px; background: var(--border); transform: scaleY(0); transform-origin: top; transition: transform 1400ms var(--ease-out) 300ms; }
  .ct-process__steps.is-play::before { transform: none; }
  .ct-process__steps svg.ct-process__path { display: none; }
  .ct-process__steps > .ct-step:nth-of-type(n) { grid-column: 1; grid-row: auto; margin-top: 0; min-height: 0; }
  .ct-process__steps .ct-step::before { content: ""; position: absolute; inset-inline-start: -27px; top: 28px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg-200); border: 1.5px solid var(--secondary); transition: background-color 400ms, border-color 400ms; }
  .ct-process__steps .ct-step.is-current::before { background: var(--primary); border-color: var(--primary); }
  .ct-step h3 { margin-top: 4px; }
}

/* ---------- Section heading (centered) ---------- */
.ct-head-center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 720px; margin: 0 auto var(--space-6); }
.ct-head-center p { max-width: 560px; }

/* ---------- Bento (Why choose us) ---------- */
.ct-bento { display: grid; grid-template-columns: 1.05fr 1.15fr .95fr; grid-template-rows: auto auto; gap: 20px; }
.ct-bento-card { position: relative; overflow: hidden; border-radius: var(--radius-card); background: var(--surface-card); padding: 16px; display: flex; flex-direction: column; min-height: 260px; transition: box-shadow 500ms var(--ease-out), transform 500ms var(--ease-out); }
.ct-bento-card__media { border-radius: var(--radius-image); overflow: hidden; background: var(--bg-200); }
.ct-bento-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.ct-bento-card:hover .ct-bento-card__media img { transform: scale(1.04); }
.ct-bento-card__body { padding: 20px 16px 16px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.ct-bento-card__title { font: 500 26px/1.22 var(--font-sans); letter-spacing: -.016em; max-width: 22ch; }
.ct-bento-card__title .ct-ghost { transition: color 900ms var(--ease-out); }

.ct-bento-card--tall { grid-row: span 2; }
.ct-bento-card--tall .ct-bento-card__media { aspect-ratio: 1 / 1; flex: 1; min-height: 260px; }
.ct-bento-card--tall .ct-bento-card__body { margin-top: auto; padding-top: 28px; }

.ct-bento-card--photo { padding: 0; }
.ct-bento-card--photo .ct-bento-card__media { position: absolute; inset: 0; border-radius: 0; }
.ct-bento-card--photo .ct-bento-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--surface-card) 18%, rgba(233,234,235,.0) 62%); }
.ct-bento-card--photo .ct-bento-card__body { position: relative; margin-top: auto; padding: 32px; }

.ct-bento-card--stat { justify-content: space-between; padding: 32px; }
.ct-bento-card--navy { background: var(--midnight); color: var(--on-dark); }
.ct-bento-card--navy .ct-muted { color: var(--on-dark-muted); }
.ct-bento-card__stat { font: 400 88px/0.9 var(--font-sans); letter-spacing: -.05em; }
.ct-bento-card__stat sup { font-size: .35em; letter-spacing: 0; vertical-align: top; margin-left: 4px; color: var(--sky); }
.ct-bento-card__mark { position: absolute; inset-inline-end: -18px; top: -10px; width: 180px; opacity: .18; color: var(--sky); }

.ct-bento-card--wide { grid-column: span 2; flex-direction: row; align-items: stretch; padding: 0; min-height: 280px; }
.ct-bento-card--wide .ct-bento-card__body { padding: 32px; justify-content: flex-end; flex: 1 1 52%; }
.ct-bento-card--wide .ct-bento-card__media { flex: 1 1 48%; border-radius: 0; position: relative; }
.ct-bento-card--wide .ct-bento-card__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--surface-card) 0%, rgba(233,234,235,0) 40%); }
.ct-bento-card:hover { box-shadow: var(--shadow-lift); }
@media (max-width: 1023px) {
  .ct-bento { grid-template-columns: 1fr 1fr; }
  .ct-bento-card--tall { grid-row: auto; grid-column: span 2; }
  .ct-bento-card--tall .ct-bento-card__media { aspect-ratio: 16 / 10; min-height: 0; flex: none; }
}
@media (max-width: 639px) {
  .ct-bento { grid-template-columns: 1fr; gap: 16px; }
  .ct-bento-card--tall, .ct-bento-card--wide { grid-column: auto; }
  .ct-bento-card--wide { flex-direction: column-reverse; }
  .ct-bento-card--wide .ct-bento-card__media { aspect-ratio: 16 / 10; flex: none; }
  .ct-bento-card--wide .ct-bento-card__media::before { background: linear-gradient(0deg, var(--surface-card) 0%, rgba(233,234,235,0) 40%); }
  .ct-bento-card__title { font-size: 22px; }
  .ct-bento-card__stat { font-size: 72px; }
}

/* ---------- Clients / partners grid ---------- */
.ct-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; }
.ct-logos li { list-style: none; display: grid; place-items: center; height: 112px; border-bottom: 1px solid var(--border); color: var(--ink); text-align: center; transition: color 300ms; }
.ct-logos { margin: 0; padding: 0; }
.ct-logos .ct-wordmark { font: 500 22px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; opacity: .78; transition: opacity 300ms; }
.ct-logos .ct-wordmark small { display: block; margin-top: 8px; font: 400 12px/1 var(--font-sans); letter-spacing: .1em; color: var(--ink-muted); }
.ct-logos li:hover .ct-wordmark { opacity: 1; }
.ct-logos img { max-height: 48px; max-width: 70%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter 300ms, opacity 300ms; }
.ct-logos li:hover img { filter: none; opacity: 1; }
@media (max-width: 899px) { .ct-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; } .ct-logos li { height: 88px; } .ct-logos .ct-wordmark { font-size: 17px; } }

/* ---------- Stats band ---------- */
.ct-stats { background: var(--midnight); color: var(--on-dark); position: relative; overflow: hidden; }
.ct-stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ct-stat { padding-block: 8px; padding-inline: 0 32px; display: flex; flex-direction: column; gap: 16px; }
.ct-stat + .ct-stat { padding-inline-start: 32px; border-inline-start: 1px solid rgba(255,255,255,.14); }
.ct-stat__value { font-variant-numeric: tabular-nums; }
.ct-stat__value sup { font-size: .4em; color: var(--sky); vertical-align: top; margin-left: 2px; letter-spacing: 0; }
.ct-stat__label { color: var(--on-dark-muted); max-width: 22ch; }
.ct-stats__intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: var(--space-6); }
.ct-stats__intro p { max-width: 420px; color: var(--on-dark-muted); }
.ct-stats__chevrons { position: absolute; right: -40px; top: -40px; width: 360px; color: rgba(169,205,221,.07); pointer-events: none; }
@media (max-width: 899px) {
  .ct-stats__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .ct-stat:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .ct-stats__intro { flex-direction: column; align-items: flex-start; }
}

/* ---------- Projects ---------- */
.ct-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: var(--space-6); }
.ct-section-head > div { max-width: 640px; display: flex; flex-direction: column; gap: 20px; }
.ct-section-head > .ct-section-head__aside { max-width: 520px; align-items: flex-start; }
.ct-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
.ct-project { display: flex; flex-direction: column; gap: 18px; color: var(--ink); }
.ct-project__media { position: relative; overflow: hidden; border-radius: var(--radius-card); aspect-ratio: 4 / 3; background: var(--surface-card); }
.ct-project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.ct-project__media .ct-tag { position: absolute; inset-inline-start: 16px; top: 16px; }
.ct-project__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ct-project__row p { color: var(--ink-muted); margin-top: 6px; max-width: 46ch; }
.ct-project__go { flex: none; width: 44px; height: 44px; border-radius: var(--little-border-radius); border: 1px solid var(--border); display: grid; place-items: center; transition: background-color var(--dur-press), color var(--dur-press), border-color var(--dur-press); }
.ct-project__go svg { width: 16px; height: 16px; transition: transform var(--dur-press) var(--ease-out); }
.ct-project:hover .ct-project__media img { transform: scale(1.04); }
.ct-project:hover .ct-project__go { background: var(--midnight); border-color: var(--midnight); color: var(--on-dark); }
.ct-project:hover .ct-project__go svg { transform: translate(2px, -2px); }
.ct-project--lg { grid-column: span 2; }
.ct-project--lg .ct-project__media { aspect-ratio: auto; flex: 1; min-height: 360px; }
.ct-project--tall .ct-project__media { aspect-ratio: auto; flex: 1; }
@media (max-width: 1023px) { .ct-section-head { flex-direction: column; align-items: flex-start; } .ct-projects { grid-template-columns: 1fr 1fr; } .ct-project--lg { grid-column: span 2; } .ct-project--lg .ct-project__media { min-height: 320px; } }
@media (max-width: 639px) { .ct-projects { grid-template-columns: 1fr; gap: 28px; } .ct-project--lg { grid-column: auto; } .ct-project--lg .ct-project__media, .ct-project--tall .ct-project__media { aspect-ratio: 4 / 3; min-height: 0; flex: none; } }

/* ---------- One-screen sections (Why us, Our projects): on desktop the section fills exactly the space under the nav ---------- */
@media (min-width: 1024px) {
  .ct-section--fit { height: calc(100vh - var(--space-12)); height: calc(100svh - var(--space-12)); min-height: 640px; padding-block: var(--space-6); }
  .ct-section--fit > .ct-container { height: 100%; display: flex; flex-direction: column; }
  .ct-section--fit :is(.ct-head-center, .ct-section-head) { flex: none; margin-bottom: var(--space-4); }
  .ct-section--fit .ct-head-center p { max-width: 720px; }
  .ct-section--fit :is(.ct-bento, .ct-projects) { flex: 1; min-height: 0; grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .ct-section--fit .ct-bento-card, .ct-section--fit .ct-bento-card--wide { min-height: 0; }
  .ct-section--fit .ct-bento-card__title { font-size: 22px; }
  .ct-section--fit .ct-bento-card--stat { padding: var(--space-3); }
  .ct-section--fit .ct-bento-card__body { gap: var(--space-2); }
  .ct-section--fit .ct-bento-card--photo .ct-bento-card__media::after { background: linear-gradient(0deg, var(--surface-card) 45%, rgba(233,234,235,0) 90%); }
  .ct-section--fit .ct-bento-card--tall .ct-bento-card__media { aspect-ratio: auto; min-height: 0; }
  .ct-section--fit .ct-projects { gap: 20px; }
  .ct-section--fit .ct-project { min-height: 0; gap: 12px; }
  .ct-section--fit .ct-project__media, .ct-section--fit .ct-project--lg .ct-project__media { aspect-ratio: auto; flex: 1; min-height: 0; }
  .ct-section--fit .ct-project__row p { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .ct-section--fit .ct-project__row > div { min-width: 0; }
}
/* short laptop screens: the stat tile is the tightest, so it gives up some padding and size */
@media (min-width: 1024px) and (max-height: 820px) {
  .ct-section--fit .ct-bento-card--stat { padding: var(--space-3); }
  .ct-section--fit .ct-bento-card__stat { font-size: 64px; }
  .ct-section--fit .ct-bento-card--stat .t-caption { max-width: none !important; margin-top: var(--space-1) !important; }
  /* the Why us copy can't fit in ~670px without cutting text, so here that section grows to its content */
  .ct-section--fit:has(.ct-bento) { height: auto; }
  .ct-section--fit .ct-bento { grid-template-rows: auto auto; }
  .ct-section--fit .ct-bento-card__media { position: relative; }
  .ct-section--fit .ct-bento-card--photo .ct-bento-card__media { position: absolute; }
  .ct-section--fit .ct-bento-card__media img { position: absolute; inset: 0; }
  .ct-section--fit .ct-bento-card--tall .ct-bento-card__media { flex: 1; height: 0; min-height: 200px; }
  .ct-section--fit .ct-bento-card--photo { min-height: 220px; }
}

/* ---------- Contact ---------- */
.ct-contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--space-12); align-items: start; }
.ct-contact__intro { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 120px; }
.ct-contact__list { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--border); }
.ct-contact__list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; border-bottom: 1px solid var(--border); }
.ct-contact__list span { color: var(--ink-muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.ct-contact__list a, .ct-contact__list b { font-weight: 500; font-size: 17px; }
.ct-contact__list a:hover { color: var(--primary); }
.ct-form { background: var(--surface-white); border-radius: var(--radius-card); padding: var(--space-6); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; box-shadow: var(--shadow-soft); }
.ct-field { display: flex; flex-direction: column; gap: 8px; }
.ct-field--full { grid-column: 1 / -1; }
.ct-field label { font: 500 13px/1.3 var(--font-sans); color: var(--ink); }
.ct-field label i { font-style: normal; color: var(--ink-muted); font-weight: 400; }
.ct-input { width: 100%; height: var(--control-height); padding: 0 16px; border: 1px solid var(--border); border-radius: var(--little-border-radius); background: var(--bg-100); color: var(--ink); font: 400 16px/1.4 var(--font-sans); transition: border-color var(--dur-press), background-color var(--dur-press), box-shadow var(--dur-press); appearance: none; }
textarea.ct-input { height: 140px; padding: 14px 16px; resize: vertical; }
select.ct-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2317191c' stroke-width='1.5'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-inline-end: 40px; }
[dir="rtl"] select.ct-input { background-position: left 16px center; }
.ct-input::placeholder { color: var(--ink-muted); }
.ct-input:hover { border-color: var(--secondary); }
.ct .ct-input:focus-visible, .ct-input:focus { outline: none; border-color: var(--primary); background: var(--surface-white); box-shadow: 0 0 0 3px rgba(0,59,92,.18); }
.ct-form__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 8px; }
@media (max-width: 899px) { .ct-contact { grid-template-columns: 1fr; gap: var(--space-6); } .ct-contact__intro { position: static; } }
@media (max-width: 639px) { .ct-form { grid-template-columns: 1fr; padding: 24px; } }

.ct-footer { background: var(--midnight); color: var(--on-dark); padding: var(--space-8) 0 var(--space-6); }
.ct-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: var(--space-8); border-bottom: 1px solid rgba(255,255,255,.14); }
.ct-footer__logo { height: 72px; width: auto; }
.ct-footer h4 { font: 500 12px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 20px; }
.ct-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ct-footer ul a { display: inline-flex; align-items: center; min-height: 36px; color: var(--on-dark); opacity: .9; transition: opacity var(--dur-press), color var(--dur-press); }
.ct-footer ul a:hover { color: var(--sky); opacity: 1; }
.ct-footer__about { color: var(--on-dark-muted); max-width: 320px; margin-top: 24px; }
.ct-footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: var(--space-4); color: var(--on-dark-muted); font-size: 13px; }
@media (max-width: 899px) { .ct-footer__top { grid-template-columns: 1fr 1fr; } .ct-footer__top > :first-child { grid-column: span 2; } .ct-footer__bottom { flex-direction: column; } }

/* ---------- Page shell ---------- */
.ct-page { height: 100vh; overflow-y: auto; overflow-x: hidden; scroll-behavior: smooth; }
.ct-sheet { position: fixed; inset: 0; z-index: 60; background: var(--bg-100); padding: 96px 20px 32px; display: flex; flex-direction: column; gap: 8px; opacity: 0; visibility: hidden; transition: opacity 300ms var(--ease-out), visibility 300ms; }
.ct-sheet.is-open { opacity: 1; visibility: visible; overflow-y: auto; }
.ct-sheet > * { flex: none; }
.ct-sheet a, .ct-sheet__group summary { font: 500 32px/1.2 var(--font-sans); letter-spacing: -.02em; padding: 10px 0; border-bottom: 1px solid var(--border); }
.ct-sheet .ct-btn { margin-top: auto; justify-content: space-between; }
.ct-sheet__close { position: absolute; top: 20px; inset-inline-end: 20px; width: 48px; height: 48px; border-radius: var(--little-border-radius); border: 1px solid var(--border); background: var(--surface-white); display: grid; place-items: center; cursor: pointer; }
.ct-watermark { position: absolute; overflow: hidden; pointer-events: none; direction: ltr; }
.ct-watermark img { height: 100%; width: auto; max-width: none; }

/* ---------- Motion ---------- */
.ct-reveal { opacity: 0; transform: translateY(var(--rise)); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); transition-delay: var(--d, 0ms); }
.ct-reveal.is-in { opacity: 1; transform: none; }
.ct-mask { clip-path: inset(18% 0 0 0 round var(--radius-card)); transition: clip-path 1100ms var(--ease-out); transition-delay: var(--d, 0ms); }
.ct-mask img { transform: scale(1.12); transition: transform 1400ms var(--ease-out); }
.ct-mask.is-in { clip-path: inset(0 0 0 0 round var(--radius-card)); }
.ct-mask.is-in img { transform: scale(1); }
.ct-project:hover .ct-mask.is-in img { transform: scale(1.04); }
.ct-words .w { color: var(--ink-ghost); transition: color 500ms var(--ease-out); }
.ct-words .w.is-on { color: var(--ink); }
.no-js .ct-reveal, .no-js .ct-mask { opacity: 1; transform: none; clip-path: none; }

@media (prefers-reduced-motion: reduce) {
  .ct *, .ct *::before, .ct *::after { transition-duration: 1ms !important; animation: none !important; }
  .ct-reveal { opacity: 1; transform: none; }
  .ct-mask, .ct-mask.is-in { clip-path: none; }
  .ct-mask img { transform: none; }
  .ct-words .w { color: var(--ink); }
  .ct-hero__media, .ct-parallax { transform: none !important; }
  .ct-process__path .draw { opacity: 0; }
  .ct-process__path .flow, .ct-process__path .arrow { opacity: 1; }
  .ct-process__steps::before { transform: none; }
}

/* ---------- Scroll progress ---------- */
.ct-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 3px; background: var(--primary); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
[dir="rtl"] .ct-progress { transform-origin: 100% 50%; }

/* ---------- RTL: mirror directional arrows and the horizontal fades ---------- */
[dir="rtl"] :is(.ct-btn__arrow, .ct-service-card__cta span, .ct-icon-btn, .ct-project__go) svg { scale: -1 1; }
[dir="rtl"] .ct-bento-card--wide .ct-bento-card__media::before { background: linear-gradient(270deg, var(--surface-card) 0%, rgba(233,234,235,0) 40%); }
@media (max-width: 639px) { [dir="rtl"] .ct-bento-card--wide .ct-bento-card__media::before { background: linear-gradient(0deg, var(--surface-card) 0%, rgba(233,234,235,0) 40%); } }

/* ---------- Floating actions: language (bottom left) and WhatsApp (bottom right) ---------- */
.ct-float {
  position: fixed; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 55;
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; padding: 0;
  border: 0; border-radius: var(--little-border-radius); box-shadow: var(--shadow-lift);
  font: 500 17px/1 var(--font-sans-ar); cursor: pointer;
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-press) var(--ease-out);
}
.ct-float:hover { transform: translateY(-2px); }
.ct-float:active { transform: scale(.96); }
.ct-float--lang { left: 16px; background: var(--midnight); color: var(--on-dark); }
.ct-float--lang:hover { background: var(--midnight-hover); }
.ct-float--wa { right: 16px; background: var(--whatsapp); color: var(--on-dark); }
.ct-float--wa svg { width: 26px; height: 26px; }


/* ---------- Logo 2026-10 (wide lockup, ratio ~4.8:1) ---------- */
.ct-nav__logo { height: 62px; width: 300px; }
.ct-nav.is-solid .ct-nav__logo { height: 50px; width: 242px; }
@media (max-width: 899px) {
  .ct-nav__logo, .ct-nav.is-solid .ct-nav__logo { height: 44px; width: 213px; }
}
.ct-footer__logo { height: 56px; width: auto; max-width: 100%; }

/* Arabic: no tracking (it breaks letter joins) */
.ct:lang(ar), .ct:lang(ar) * { letter-spacing: 0 !important; }

/* Contact form: reCAPTCHA + status */
.ct-recaptcha { grid-column: 1 / -1; margin: 4px 0 8px; min-height: 78px; }
.ct-form__status { grid-column: 1 / -1; margin-top: 12px; }
.ct-form__status:empty { display: none; }

/* Mobile: long email/links wrap; no sideways page sway */
.ct-contact__list a, .ct-contact__list li { overflow-wrap: anywhere; min-width: 0; }
body { overflow-x: clip; }
.ct-contact__intro, .ct-form { min-width: 0; }
@media (max-width: 400px) {
  .ct-recaptcha { max-width: 100%; overflow: hidden; min-height: 64px; }
  .ct-recaptcha > div { transform: scale(.8); transform-origin: 0 0; }
  .ct:lang(ar) .ct-recaptcha > div { transform-origin: 100% 0; }
}
.ct-footer__top > * { min-width: 0; }
@media (max-width: 380px) {
  .ct-nav__logo, .ct-nav.is-solid .ct-nav__logo { height: 36px; width: 174px; }
  .ct-carousel__dots button { width: 14px; }
}

/* ---------- Profile button + popup ---------- */
.ct-nav__actions { display: flex; align-items: center; gap: 10px; }
.ct-sheet [data-profile-open] { margin-bottom: 10px; }
.ct-profile { border: 0; padding: 0; width: min(880px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border-radius: var(--little-border-radius); background: var(--surface-white); color: var(--ink); box-shadow: var(--shadow-lift); font-family: var(--font-sans); }
.ct-profile::backdrop { background: rgb(8 26 53 / .6); backdrop-filter: blur(4px); }
.ct-profile__inner { display: grid; gap: 16px; padding: 24px; }
.ct-profile__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ct-profile__title { margin: 0 0 4px; font: 500 22px/1.3 var(--font-sans); color: var(--midnight); }
.ct-profile__x { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
.ct-profile__x:hover { background: var(--bg-200); }
.ct-profile__frame { width: 100%; height: min(60vh, 560px); border: 1px solid var(--border); border-radius: 8px; background: var(--bg-200); }
.ct-profile__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) { .ct-profile__frame { display: none; } .ct-profile__inner { padding: 20px; } }

/* 900–1199px: nav is too wide for logo + links + 2 buttons → use the menu sheet */
@media (min-width: 900px) and (max-width: 1199px) {
  .ct-nav__links, .ct-nav__actions { display: none; }
  .ct-nav__menu { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--little-border-radius); border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: inherit; cursor: pointer; }
  .ct-nav.is-solid .ct-nav__menu, .ct-nav--light .ct-nav__menu { border-color: var(--border); background: var(--surface-white); }
}

/* ======================================================================
   ABOUT PAGE (about.html)
   ====================================================================== */

/* Nav on a light page top: keep the colour logo until the bar turns solid */
.ct-nav.ct-nav--on-light:not(.is-solid) .ct-nav__logo .is-white { opacity: 0; }
.ct-nav.ct-nav--on-light:not(.is-solid) .ct-nav__logo .is-color { opacity: 1; }
.ct-nav--on-light .ct-nav__links { background: var(--surface-white); border-color: var(--border); }
.ct-nav--on-light .ct-nav__links a:hover, .ct-nav--on-light .ct-nav__links a[aria-current="page"] { background: var(--surface-card); }

/* Page hero: headline left, intro + actions right, wide photograph below */
.ct-phero { padding: calc(var(--nav-height) + 16px + var(--space-8)) 0 var(--space-12); }
.ct-phero__head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--space-8); align-items: end; }
.ct-phero__head > div:first-child { display: flex; flex-direction: column; gap: 24px; }
.ct-phero__title { font-size: 72px; line-height: 1.08; white-space: pre-line; text-wrap: balance; }
.ct-phero__side { display: flex; flex-direction: column; gap: 28px; padding-bottom: 10px; }
.ct-phero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ct-phero__media { position: relative; margin: var(--space-8) 0 0; aspect-ratio: 21 / 9; border-radius: var(--radius-card); overflow: hidden; background: var(--surface-card); }
.ct-phero__media .ct-parallax { inset: -10% 0; }
.ct-phero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,26,53,.7) 0%, rgba(8,26,53,0) 38%); pointer-events: none; }
.ct-phero__facts { position: absolute; z-index: 1; inset-inline: var(--space-4); bottom: 0; padding: 20px 0 22px; border-top: 1px solid rgba(255,255,255,.28); display: flex; gap: 40px; flex-wrap: wrap; color: rgba(255,255,255,.92); }
.ct-phero__facts span { display: flex; align-items: center; gap: 10px; }
.ct-phero__facts span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }

/* Who we are: statement + three photographs */
.ct-who__head { display: flex; flex-direction: column; gap: 24px; max-width: 980px; margin-bottom: var(--space-8); }
.ct-who__head .t-statement { max-width: 30ch; }
.ct-who__photos { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 20px; }
.ct-who__photos figure { position: relative; margin: 0; height: 380px; border-radius: var(--radius-card); overflow: hidden; background: var(--surface-card); }
.ct-who__photos .ct-parallax { inset: -10% 0; }

/* What we believe in: intro + image | stacked cards */
.ct-beliefs__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-8); align-items: start; }
.ct-beliefs__intro { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 120px; }
.ct-beliefs__media { position: relative; margin: var(--space-3) 0 0; width: min(100%, 360px); aspect-ratio: 4 / 5; border-radius: var(--radius-card); overflow: hidden; background: var(--surface-card); }
.ct-beliefs__cards { display: flex; flex-direction: column; gap: 16px; }
.ct-belief, .ct-why-card { position: relative; overflow: hidden; background: var(--surface-white); border: 1px solid var(--border); border-radius: var(--radius-card); padding: var(--space-4); display: flex; flex-direction: column; gap: 12px; transition: opacity var(--dur-reveal) var(--ease-out) var(--d, 0ms), transform var(--dur-reveal) var(--ease-out) var(--d, 0ms), translate 400ms var(--ease-out), box-shadow 400ms var(--ease-out), background-color 400ms var(--ease-out), border-color 400ms var(--ease-out), color 400ms var(--ease-out); }
.ct-belief p, .ct-why-card p { color: var(--ink-muted); transition: color 400ms var(--ease-out); }
.ct-belief__icon { width: 44px; height: 44px; border-radius: var(--little-border-radius); background: var(--midnight); color: var(--on-dark); display: grid; place-items: center; margin-bottom: 12px; transition: background-color 400ms var(--ease-out), color 400ms var(--ease-out); }
.ct-belief__icon svg { width: 22px; height: 22px; }
.ct-belief__title { font: 500 22px/1.2 var(--font-sans); letter-spacing: -.012em; margin: 0; }
.ct-chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chips li { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--little-border-radius); background: var(--bg-200); color: var(--ink); font-size: 14px; opacity: 0; translate: 0 10px; transition: opacity 500ms var(--ease-out) calc(var(--c) * 60ms + 300ms), translate 500ms var(--ease-out) calc(var(--c) * 60ms + 300ms), background-color var(--dur-press) var(--ease-out), color var(--dur-press) var(--ease-out); }
.ct-chips li:nth-child(1) { --c: 0; } .ct-chips li:nth-child(2) { --c: 1; } .ct-chips li:nth-child(3) { --c: 2; } .ct-chips li:nth-child(4) { --c: 3; } .ct-chips li:nth-child(5) { --c: 4; } .ct-chips li:nth-child(6) { --c: 5; }
.is-in > .ct-chips li, .ct-chips.is-in li { opacity: 1; translate: none; }
.ct-section--alt .ct-belief .ct-chips li { background: var(--bg-200); border: 0; }

/* Values: midnight band, six numbered values */
.ct-values { background: var(--midnight); color: var(--on-dark); }
.ct-values__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: var(--space-8); align-items: start; }
.ct-values__head { display: flex; flex-direction: column; gap: 24px; padding-top: 24px; }
.ct-values__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.14); }
.ct-values__list li { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 28px 24px 32px 0; border-bottom: 1px solid rgba(255,255,255,.14); font: 500 20px/1.3 var(--font-sans); letter-spacing: -.01em; }
.ct-values__list li span { font: 500 12px/1 var(--font-sans); letter-spacing: .12em; color: var(--sky); }

/* Safety: photo | copy */
.ct-safety__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); align-items: center; }
.ct-safety__media { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-card); overflow: hidden; background: var(--surface-card); }
.ct-safety__media img { object-position: 50% 30%; }
.ct-safety__copy { display: flex; flex-direction: column; gap: 24px; max-width: 520px; }

/* Why us: four cards, first one navy */
.ct-why .ct-section-head { align-items: flex-end; }
.ct-why__lead { max-width: 520px; }
.ct-why__sub { margin: 0 0 20px; color: var(--ink-muted); }
.ct-why__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ct-why-card--navy { background: var(--midnight); border-color: var(--midnight); color: var(--on-dark); }
.ct-why-card--navy p { color: var(--on-dark-muted); }
.ct-why-card--navy .ct-belief__icon { background: var(--sky); color: var(--midnight); }
.ct-why__close { text-align: center; max-width: 26ch; margin: var(--space-12) auto 0; }

/* CTA band */
.ct-cta-band__box { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-6); padding: var(--space-8); border-radius: var(--radius-card); background: var(--midnight); color: var(--on-dark); }
.ct-cta-band__box > div:nth-child(2) { display: flex; flex-direction: column; gap: 16px; max-width: 620px; position: relative; }
.ct-cta-band__box p { color: var(--on-dark-muted); }
.ct-cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.ct-cta-band__mark { width: 260px; height: 260px; inset-inline-end: -30px; top: -40px; opacity: .07; }

/* About motion. Layout at rest is untouched: everything here only changes how elements arrive and respond. */
.ct-rise.ct-reveal { opacity: 1; transform: none; }
.ct-rise__line { display: block; }
.ct-rise__w { display: inline-block; clip-path: inset(-.2em -.05em -.25em); }
.ct-rise__w i { display: inline-block; font-style: normal; transform: translateY(130%); transition: transform 900ms var(--ease-out) calc(var(--i) * 60ms + 80ms); }
.ct-rise.is-in .ct-rise__w i { transform: none; }

.ct-phero__facts span { opacity: 0; translate: 0 10px; transition: opacity var(--dur-reveal) var(--ease-out), translate var(--dur-reveal) var(--ease-out); transition-delay: 600ms; }
.ct-phero__facts span:nth-child(2) { transition-delay: 720ms; }
.ct-phero__facts span:nth-child(3) { transition-delay: 840ms; }
.is-in > .ct-phero__facts span { opacity: 1; translate: none; }
.ct-phero__facts span::before { animation: ct-pulse 2.8s var(--ease-out) infinite; }
.ct-phero__facts span:nth-child(2)::before { animation-delay: .4s; }
.ct-phero__facts span:nth-child(3)::before { animation-delay: .8s; }
@keyframes ct-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } }

.ct-belief__icon svg > .is-draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 900ms var(--ease-out) calc(var(--d, 0ms) + 250ms); }
.is-in > .ct-belief__icon svg > .is-draw { stroke-dashoffset: 0; }
@keyframes ct-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.ct-belief::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 3px; background: var(--primary); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 400ms var(--ease-out); }
.ct-values__list li::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 1px; background: var(--sky); transform: scaleX(0); transform-origin: 0 50%; transition: transform 600ms var(--ease-out); }
[dir="rtl"] .ct-values__list li::after { transform-origin: 100% 50%; }
.ct-values__list li span { transition: translate 400ms var(--ease-out); }

/* Hover only where a real pointer exists, so a tap doesn't leave a card stuck in its hover state */
@media (hover: hover) {
  :is(.ct-phero__media, .ct-who__photos figure, .ct-beliefs__media, .ct-safety__media).is-in:hover img { transform: scale(1.04); transition-duration: 900ms; }
  .ct-belief:hover, .ct-why-card:hover { box-shadow: var(--shadow-lift); translate: 0 -4px; }
  .ct-belief:hover::before { transform: scaleY(1); }
  .ct-belief:hover .ct-belief__icon { background: var(--primary); }
  :is(.ct-belief, .ct-why-card).is-in:hover .ct-belief__icon svg > .is-draw { animation: ct-draw 700ms var(--ease-out); }
  .ct-chips li:hover, .ct-section--alt .ct-chips li:hover, .ct-section--alt .ct-belief .ct-chips li:hover { background: var(--midnight); border-color: var(--midnight); color: var(--on-dark); transition-delay: 0ms; }
  .ct-values__list li:hover::after { transform: scaleX(1); }
  .ct-values__list li:hover span { translate: 0 -3px; }
  /* Why cards: the navy highlight follows the pointer */
  .ct-why-card:hover { background: var(--midnight); border-color: var(--midnight); color: var(--on-dark); }
  .ct-why-card:hover p { color: var(--on-dark-muted); }
  .ct-why-card:hover .ct-belief__icon { background: var(--sky); color: var(--midnight); }
  .ct-why__cards:has(.ct-why-card:hover) .ct-why-card--navy:not(:hover) { background: var(--surface-white); border-color: var(--border); color: var(--ink); }
  .ct-why__cards:has(.ct-why-card:hover) .ct-why-card--navy:not(:hover) p { color: var(--ink-muted); }
  .ct-why__cards:has(.ct-why-card:hover) .ct-why-card--navy:not(:hover) .ct-belief__icon { background: var(--midnight); color: var(--on-dark); }
}

@media (prefers-reduced-motion: reduce) {
  .ct-rise__w i { transform: none; }
  .ct-phero__facts span, .ct-chips li { opacity: 1; translate: none; }
  .ct-belief__icon svg > .is-draw { stroke-dashoffset: 0; }
  .ct-belief:hover, .ct-why-card:hover { translate: none; }
}

@media (max-width: 1023px) {
  .ct-phero__head, .ct-beliefs__grid, .ct-values__grid, .ct-safety__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .ct-phero__title { font-size: 56px; }
  .ct-beliefs__intro { position: static; }
  .ct-beliefs__media { display: none; }
  .ct-why__cards { grid-template-columns: 1fr 1fr; }
  .ct-why .ct-section-head { flex-direction: column; align-items: flex-start; }
  .ct-cta-band__box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 639px) {
  .ct-phero { padding: calc(76px + 12px + var(--space-6)) 0 var(--space-6); }
  .ct-phero__title { font-size: 40px; }
  .ct-phero__media { aspect-ratio: 4 / 3; margin-top: var(--space-6); }
  .ct-phero__facts { display: none; }
  .ct-who__photos { grid-template-columns: 1fr 1fr; }
  .ct-who__photos figure { height: 200px; }
  .ct-who__photos figure:first-child { grid-column: span 2; height: 240px; }
  .ct-values__list { grid-template-columns: 1fr 1fr; }
  .ct-values__list li { padding-inline-end: 12px; font-size: 17px; }
  .ct-why__cards { grid-template-columns: 1fr; }
  .ct-cta-band__box { padding: var(--space-4); }
}

/* ======================================================================
   SERVICES KIT (services-kit.html) — common + per-service components
   ====================================================================== */

/* Kit page chrome (internal only) */
.ct-kit-intro { padding: calc(var(--nav-height) + 16px + var(--space-6)) 0 var(--space-6); }
.ct-kit-intro .ct-container { display: flex; flex-direction: column; gap: 20px; }
.ct-kit-intro p { max-width: 760px; }
.ct-kit-toc { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-kit-toc a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--little-border-radius); font-size: 13px; background: var(--surface-white); }
.ct-kit-toc a:hover { border-color: var(--primary); color: var(--primary); }
.ct-kit { border-top: 1px dashed var(--secondary); scroll-margin-top: 90px; }
.ct-kit-label { max-width: calc(var(--content-max) + 2 * var(--gutter-desktop)); margin: 0 auto; padding: 14px var(--gutter-desktop); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 13px; color: var(--ink-muted); }
.ct-kit-label span { font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; color: var(--primary); }
.ct-kit-label b { font-weight: 500; color: var(--ink); }
.ct-kit-label i { font-style: normal; }
.ct-kit .ct-phero { padding-top: var(--space-6); }

/* C1 Service hero — the About page hero (.ct-phero) plus a breadcrumb */
.ct-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: var(--space-4); font-size: 13px; color: var(--ink-muted); }
.ct-crumbs a { min-height: 32px; display: inline-flex; align-items: center; }
.ct-crumbs a:hover { color: var(--primary); }
.ct-crumbs [aria-current] { color: var(--ink); }
.ct-svc-hero__title { font-size: 60px; line-height: 1.1; }

/* C2 Work gallery */
.ct-gallery__lead { max-width: 480px; }
.ct-gallery__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 16px; }
.ct-gallery__item { position: relative; margin: 0; border-radius: var(--radius-card); overflow: hidden; background: var(--surface-card); }
.ct-gallery__item--lg { grid-row: span 2; }
.ct-gallery__item:nth-child(4) { grid-column: 2 / span 2; }
.ct-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.ct-gallery__item.is-in:hover img { transform: scale(1.04); transition-duration: 900ms; }
.ct-gallery__item figcaption { position: absolute; inset-inline-start: 16px; bottom: 16px; padding: 8px 12px; border-radius: var(--little-border-radius); background: rgba(8,26,53,.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--on-dark); font-size: 13px; }

/* C3 Related services (reuses .ct-project cards) */
.ct-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ct-related .ct-project__media { aspect-ratio: 16 / 10; }
.ct-related .ct-project__row { align-items: center; }

/* C5 Services overview */
.ct-overview__head { display: flex; flex-direction: column; gap: 20px; max-width: 860px; margin-bottom: var(--space-6); }
.ct-overview__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ct-ov-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 12px 12px 20px; border-radius: var(--radius-card); background: var(--surface-white); border: 1px solid var(--border); transition: opacity var(--dur-reveal) var(--ease-out) var(--d, 0ms), transform var(--dur-reveal) var(--ease-out) var(--d, 0ms), translate 400ms var(--ease-out), box-shadow 400ms var(--ease-out), border-color 400ms var(--ease-out); }
.ct-ov-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-image); margin-bottom: 8px; }
.ct-ov-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-image); margin-bottom: 8px; }
.ct-ov-card__media img { height: 100%; margin: 0; border-radius: 0; transition: transform 900ms var(--ease-out); }
.ct-ov-card > :not(img, .ct-ov-card__media) { margin-inline: 8px; }
.ct-ov-card__num { font: 500 12px/1 var(--font-sans); letter-spacing: .12em; color: var(--ink-muted); }
.ct-ov-card .t-card-title { font-size: 22px; }
.ct-ov-card p { color: var(--ink-muted); font-size: 15px; line-height: 1.55; }
.ct-ov-card .ct-project__go { position: absolute; top: 24px; inset-inline-end: 24px; background: var(--surface-white); }
.ct-ov-card:hover .ct-project__go { background: var(--midnight); border-color: var(--midnight); color: var(--on-dark); }
.ct-overview__foot { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.ct-overview__foot p { max-width: 560px; }

/* Inline CTA — closes every service component */
.ct-cta-inline { margin-top: var(--space-6); padding: var(--space-4); border-radius: var(--radius-card); background: var(--midnight); color: var(--on-dark); display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }
.ct-cta-inline__title { font: 500 24px/1.25 var(--font-sans); letter-spacing: -.012em; margin: 0 0 6px; }
.ct-cta-inline p { color: var(--on-dark-muted); max-width: 620px; }
.ct-cta-inline .ct-btn { --btn-bg: var(--on-dark); --btn-fg: var(--midnight); flex: none; }
.ct-cta-inline .ct-btn .ct-btn__arrow { background: var(--midnight); color: var(--on-dark); }
.ct-cta-inline .ct-btn:hover { --btn-bg: var(--sky-100); }
.ct-svc__head { display: flex; flex-direction: column; gap: 20px; max-width: 760px; margin-bottom: var(--space-6); }

/* S1 Building — risk vs approach */
.ct-compare { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: stretch; }
.ct-compare__card { transition: opacity var(--dur-reveal) var(--ease-out) var(--d, 0ms), transform var(--dur-reveal) var(--ease-out) var(--d, 0ms), translate 400ms var(--ease-out), box-shadow 400ms var(--ease-out); padding: var(--space-4); border-radius: var(--radius-card); display: flex; flex-direction: column; gap: 12px; min-height: 220px; }
.ct-compare__card p { color: var(--ink-muted); }
.ct-compare__card--risk { background: var(--surface-card); }
.ct-compare__card--ok { background: var(--surface-white); border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.ct-compare__label { width: fit-content; margin-bottom: auto; padding: 6px 10px; border-radius: var(--little-border-radius); font: 500 12px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; background: var(--bg-100); color: var(--ink-muted); }
.ct-compare__card--ok .ct-compare__label { background: var(--midnight); color: var(--on-dark); }
.ct-compare__arrow { align-self: center; width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--little-border-radius); border: 1px solid var(--border); color: var(--primary); background: var(--surface-white); }
.ct-compare__arrow svg { width: 22px; height: 22px; }
[dir="rtl"] .ct-compare__arrow svg { scale: -1 1; }

/* S2 Industrial — areas of work */
.ct-areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ct-areas__tile { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: var(--radius-card); overflow: hidden; background: var(--surface-card); }
.ct-areas__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.ct-areas__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,26,53,.8) 0%, rgba(8,26,53,0) 50%); }
.ct-areas__tile figcaption { position: absolute; z-index: 1; inset-inline: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--on-dark); font: 500 19px/1.25 var(--font-sans); }
.ct-areas__tile figcaption span { font-size: 12px; letter-spacing: .12em; color: var(--sky); }
.ct-areas__tile:hover img { transform: scale(1.05); }

/* S3 Roads — stage sequence */
.ct-stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.ct-stages li { display: flex; flex-direction: column; gap: 14px; position: relative; }
.ct-stages figure { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-card); overflow: hidden; background: var(--surface-card); }
.ct-stages img { width: 100%; height: 100%; object-fit: cover; }
.ct-stages__num { position: relative; display: flex; align-items: center; gap: 12px; font: 500 12px/1 var(--font-sans); letter-spacing: .12em; color: var(--primary); }
.ct-stages__num::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--sky-100); flex: none; }
.ct-stages__num::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.ct-stages li:last-child .ct-stages__num::after { display: none; }
.ct-stages h3 { font: 500 20px/1.3 var(--font-sans); letter-spacing: -.01em; margin: 0; }

/* S4 Flooring — tabs */
.ct-floors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--space-8); align-items: center; }
.ct-floors__copy { display: flex; flex-direction: column; gap: 20px; }
.ct-tabs { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.ct-tabs button { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 18px; border: 1px solid var(--border); border-radius: var(--little-border-radius); background: var(--surface-white); color: var(--ink); font: 500 16px/1.3 var(--font-sans); text-align: start; cursor: pointer; transition: background-color var(--dur-press), color var(--dur-press), border-color var(--dur-press); }
.ct-tabs button::after { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--secondary); }
.ct-tabs button:hover { border-color: var(--primary); }
.ct-tabs button[aria-selected="true"] { background: var(--midnight); border-color: var(--midnight); color: var(--on-dark); }
.ct-tabs button[aria-selected="true"]::after { background: var(--sky); border-color: var(--sky); }
.ct-floors__stage { position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--radius-card); overflow: hidden; background: var(--surface-card); }
.ct-floors__stage figure { position: absolute; inset: 0; margin: 0; }
.ct-floors__stage figure.is-active { animation: ct-fade 600ms var(--ease-out); }
.ct-floors__stage img { width: 100%; height: 100%; object-fit: cover; }
@keyframes ct-fade { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }

/* S5 Concrete repair — treat the cause */
.ct-repair { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-8); align-items: center; }
.ct-repair__copy { display: flex; flex-direction: column; gap: 20px; }
.ct-repair__warn { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--little-border-radius); background: var(--surface-card); color: var(--ink); }
.ct-repair__warn span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--on-dark); font-size: 12px; }
.ct-repair__steps { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--border); }
.ct-repair__steps li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.ct-repair__steps li > span { flex: none; font: 500 12px/1.8 var(--font-sans); letter-spacing: .12em; color: var(--primary); }
.ct-repair__steps h3 { font: 500 19px/1.3 var(--font-sans); margin: 0 0 4px; }
.ct-repair__steps p { color: var(--ink-muted); }
.ct-repair__media { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius-card); overflow: hidden; }
.ct-repair__media img { width: 100%; height: 100%; object-fit: cover; }
.ct-repair__media figcaption { position: absolute; inset-inline: 16px; bottom: 16px; padding: 10px 14px; border-radius: var(--little-border-radius); background: rgba(250,250,248,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); }

/* S6 Sports courts — build-stage slider */
.ct-scrub { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: var(--space-8); align-items: center; }
.ct-scrub__copy { display: flex; flex-direction: column; gap: 20px; }
.ct-scrub__stage { border-radius: var(--radius-card); overflow: hidden; background: var(--surface-white); border: 1px solid var(--border); }
.ct-scrub__frames { position: relative; aspect-ratio: 16 / 10; background: var(--surface-card); }
.ct-scrub__frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 600ms var(--ease-out); }
.ct-scrub__frames img.is-active { opacity: 1; }
.ct-scrub__bar { padding: 20px 24px 22px; display: flex; flex-direction: column; gap: 14px; }
.ct-scrub__caption { display: flex; gap: 12px; align-items: baseline; font: 500 18px/1.3 var(--font-sans); }
.ct-scrub__caption span { font-size: 12px; letter-spacing: .12em; color: var(--primary); }
.ct-scrub__range { --fill: 0%; width: 100%; height: 44px; margin: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; }
.ct-scrub__range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--primary) var(--fill), var(--border) var(--fill)); }
.ct-scrub__range::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--primary) var(--fill), var(--border) var(--fill)); }
[dir="rtl"] .ct-scrub__range::-webkit-slider-runnable-track { background: linear-gradient(270deg, var(--primary) var(--fill), var(--border) var(--fill)); }
[dir="rtl"] .ct-scrub__range::-moz-range-track { background: linear-gradient(270deg, var(--primary) var(--fill), var(--border) var(--fill)); }
.ct-scrub__range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: var(--little-border-radius); background: var(--midnight); border: 3px solid var(--surface-white); box-shadow: var(--shadow-soft); }
.ct-scrub__range::-moz-range-thumb { width: 18px; height: 18px; border-radius: var(--little-border-radius); background: var(--midnight); border: 3px solid var(--surface-white); }
.ct-scrub__ticks { list-style: none; margin: -6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; font-size: 12px; line-height: 1.35; color: var(--ink-muted); }
.ct-scrub__ticks li { cursor: pointer; }
.ct-scrub__ticks li.is-on { color: var(--ink); }
.ct-scrub__ticks li:nth-child(2) { text-align: center; } .ct-scrub__ticks li:nth-child(3) { text-align: center; } .ct-scrub__ticks li:last-child { text-align: end; }

/* S7 Interior & landscape — two panels */
.ct-duo { display: flex; gap: 16px; height: 520px; }
.ct-duo__panel { position: relative; flex: 1; min-width: 0; border-radius: var(--radius-card); overflow: hidden; color: var(--on-dark); transition: opacity var(--dur-reveal) var(--ease-out) var(--d, 0ms), transform var(--dur-reveal) var(--ease-out) var(--d, 0ms), flex-grow 700ms var(--ease-out); }
.ct-duo__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.ct-duo__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,26,53,.8) 0%, rgba(8,26,53,0) 55%); }
.ct-duo__body { position: absolute; z-index: 1; inset-inline: 28px; bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.ct-duo__body p { color: var(--on-dark-muted); }
.ct-duo:hover .ct-duo__panel, .ct-duo:focus-within .ct-duo__panel { flex-grow: .8; }
.ct-duo .ct-duo__panel:hover, .ct-duo .ct-duo__panel:focus-visible { flex-grow: 1.6; }
.ct-duo__panel:hover img { transform: scale(1.04); }

@media (max-width: 1023px) {
  .ct-gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 200px 200px; }
  .ct-gallery__item--lg { grid-column: span 2; grid-row: auto; }
  .ct-gallery__item:nth-child(4) { grid-column: span 2; }
  .ct-related__grid, .ct-areas { grid-template-columns: 1fr 1fr; }
  .ct-overview__grid { grid-template-columns: 1fr 1fr; }
  .ct-stages { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .ct-stages li:nth-child(2) .ct-stages__num::after { display: none; }
  .ct-floors, .ct-repair, .ct-scrub { grid-template-columns: 1fr; gap: var(--space-6); }
  .ct-svc-hero__title { font-size: 48px; }
  .ct-overview__foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 639px) {
  .ct-kit-label { padding-inline: var(--gutter-mobile); }
  .ct-svc-hero__title { font-size: 36px; }
  .ct-gallery__grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .ct-gallery__item--lg, .ct-gallery__item:nth-child(4) { grid-column: auto; }
  .ct-related__grid, .ct-overview__grid { grid-template-columns: 1fr; }
  .ct-areas { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ct-areas__tile figcaption { inset-inline: 14px; bottom: 14px; font-size: 16px; }
  .ct-stages { grid-template-columns: 1fr; }
  .ct-stages__num::after { display: none; }
  .ct-compare { grid-template-columns: 1fr; }
  .ct-compare__arrow { justify-self: center; rotate: 90deg; }
  [dir="rtl"] .ct-compare__arrow { rotate: 90deg; }
  .ct-compare__card { min-height: 0; }
  .ct-cta-inline { flex-direction: column; align-items: flex-start; padding: var(--space-3); }
  .ct-duo { flex-direction: column; height: auto; }
  .ct-duo__panel { height: 300px; flex: none; }
  .ct-scrub__ticks { display: none; }
  .ct-repair__media { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .ct-duo__panel, .ct-floors__stage figure.is-active { transition: none; animation: none; } }
.ct-section--alt .ct-chips li { background: var(--surface-white); border: 1px solid var(--border); }

/* ======================================================================
   SERVICE PAGES — motion. Resting layout stays as the kit draws it.
   ====================================================================== */
.ct-overview--page { padding-top: calc(var(--nav-height) + 16px + var(--space-8)); }
.ct-overview--page .ct-crumbs { margin-bottom: 0; }
.ct-overview--page .ct-overview__head { max-width: 980px; }
.ct-crumbs a { transition: color var(--dur-press) var(--ease-out); }

/* S1: the two sides arrive from opposite edges and meet at the arrow */
.ct-compare__card--risk.ct-reveal:not(.is-in) { transform: translateX(-28px); }
.ct-compare__card--ok.ct-reveal:not(.is-in) { transform: translateX(28px); }
[dir="rtl"] .ct-compare__card--risk.ct-reveal:not(.is-in) { transform: translateX(28px); }
[dir="rtl"] .ct-compare__card--ok.ct-reveal:not(.is-in) { transform: translateX(-28px); }
.ct-compare__arrow { --s: 1; }
[dir="rtl"] .ct-compare__arrow { --s: -1; }
.ct-compare__arrow svg { animation: ct-nudge 2.4s var(--ease-out) infinite; }
@keyframes ct-nudge { 0%, 100% { translate: 0 0; } 50% { translate: calc(var(--s) * 5px) 0; } }

/* Gallery + area tiles: captions sit up as the photo zooms */
.ct-gallery__item figcaption { z-index: 1; transition: translate 400ms var(--ease-out), background-color 400ms var(--ease-out); }
.ct-areas__tile { position: relative; }
.ct-areas__tile figcaption { transition: translate 400ms var(--ease-out); }
.ct-areas__tile figcaption span { transition: letter-spacing 400ms var(--ease-out); }
.ct-areas__tile::after { transition: opacity 400ms var(--ease-out); }

/* S3: the line draws from each stage to the next as they arrive */
.ct-stages__num::before { scale: 0; transition: scale 500ms var(--ease-out) calc(var(--d, 0ms) + 200ms); }
.ct-stages li.is-in .ct-stages__num::before { scale: 1; }
.ct-stages__num::after { transform: scaleX(0); transform-origin: 0 50%; transition: transform 800ms var(--ease-out) calc(var(--d, 0ms) + 350ms); }
[dir="rtl"] .ct-stages__num::after { transform-origin: 100% 50%; }
.ct-stages li.is-in .ct-stages__num::after { transform: none; }
.ct-stages img { transition: transform 900ms var(--ease-out); }
.ct-stages h3 { transition: color 300ms var(--ease-out); }

/* S4 / S6 */
.ct-tabs button { transition: background-color var(--dur-press) var(--ease-out), color var(--dur-press) var(--ease-out), border-color var(--dur-press) var(--ease-out), translate var(--dur-press) var(--ease-out); }
.ct-floors__stage img, .ct-scrub__frames img { transition: opacity 600ms var(--ease-out), transform 900ms var(--ease-out); }
.ct-scrub__ticks li { transition: color var(--dur-press) var(--ease-out); }

/* S5: warning mark pops, a rule draws under each step */
.ct-repair__warn.is-in span { animation: ct-pop 600ms var(--ease-out) calc(var(--d, 0ms) + 300ms) backwards; }
@keyframes ct-pop { 0% { scale: 0; } 70% { scale: 1.2; } 100% { scale: 1; } }
.ct-repair__steps li { position: relative; }
.ct-repair__steps li::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 1px; background: var(--primary); transform: scaleX(0); transform-origin: 0 50%; transition: transform 600ms var(--ease-out); }
[dir="rtl"] .ct-repair__steps li::after { transform-origin: 100% 50%; }
.ct-repair__steps li > span { transition: translate 400ms var(--ease-out); }

/* S7 */
.ct-duo__body { transition: translate 500ms var(--ease-out); }

@media (hover: hover) {
  .ct-ov-card:hover { box-shadow: var(--shadow-lift); translate: 0 -4px; border-color: var(--secondary); }
  .ct-ov-card:hover .ct-ov-card__media img { transform: scale(1.06); }
  .ct-ov-card:hover .ct-project__go svg { transform: translate(2px, -2px); }
  .ct-compare__card:hover { translate: 0 -4px; box-shadow: var(--shadow-lift); }
  .ct-gallery__item.is-in:hover figcaption { translate: 0 -6px; }
  .ct-areas__tile.is-in:hover img { transform: scale(1.05); }
  .ct-areas__tile:hover figcaption { translate: 0 -8px; }
  .ct-areas__tile:hover figcaption span { letter-spacing: .24em; }
  .ct-areas__tile:hover::after { opacity: .75; }
  .ct-stages li:hover img { transform: scale(1.05); }
  .ct-stages li:hover h3 { color: var(--primary); }
  .ct-tabs button:not([aria-selected="true"]):hover { translate: 4px 0; }
  [dir="rtl"] .ct-tabs button:not([aria-selected="true"]):hover { translate: -4px 0; }
  .ct-floors__stage.is-in:hover img { transform: scale(1.04); }
  .ct-scrub__frames:hover img { transform: scale(1.03); }
  .ct-scrub__ticks li:hover { color: var(--primary); }
  .ct-repair__media.is-in:hover img { transform: scale(1.04); transition-duration: 900ms; }
  .ct-repair__steps li:hover::after { transform: scaleX(1); }
  .ct-repair__steps li:hover > span { translate: 0 -3px; }
  .ct-duo__panel:hover .ct-duo__body { translate: 0 -8px; }
  .ct-related .ct-project .t-card-title { transition: color var(--dur-press) var(--ease-out); }
  .ct-related .ct-project:hover .t-card-title { color: var(--primary); }
}

@media (prefers-reduced-motion: reduce) {
  .ct-compare__card--risk.ct-reveal:not(.is-in), .ct-compare__card--ok.ct-reveal:not(.is-in), [dir="rtl"] .ct-compare__card--risk.ct-reveal:not(.is-in), [dir="rtl"] .ct-compare__card--ok.ct-reveal:not(.is-in) { transform: none; }
  .ct-stages__num::before { scale: 1; }
  .ct-stages__num::after { transform: none; }
  .ct-ov-card:hover, .ct-compare__card:hover { translate: none; }
}

/* ======================================================================
   SERVICE PAGES — breadcrumb banner, nav dropdown, materials
   ====================================================================== */
/* Breadcrumb banner: the page's photo behind its name and trail */
.ct-svc-hero { padding: calc(var(--nav-height) + 16px + var(--space-3)) 0 var(--space-8); }
.ct-banner { position: relative; display: flex; align-items: flex-end; min-height: clamp(280px, 30vw, 400px); border-radius: var(--radius-card); overflow: hidden; background: var(--midnight); color: var(--on-dark); }
.ct-banner .ct-parallax { inset: -12% 0; }
.ct-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,26,53,.88) 0%, rgba(8,26,53,.58) 55%, rgba(8,26,53,.32) 100%); pointer-events: none; }
[dir="rtl"] .ct-banner::after { background: linear-gradient(270deg, rgba(8,26,53,.88) 0%, rgba(8,26,53,.58) 55%, rgba(8,26,53,.32) 100%); }
.ct-banner__body { position: relative; z-index: 1; width: 100%; padding: var(--space-6) var(--space-4) 84px; display: flex; flex-direction: column; gap: 14px; }
.ct-banner__title { max-width: 22ch; }
.ct-crumbs--on-dark { margin: 0; color: rgba(255,255,255,.86); }
.ct-crumbs--on-dark a:hover { color: var(--sky); }
.ct-crumbs--on-dark [aria-current] { color: var(--on-dark); font-weight: 500; }
.ct-svc-hero .ct-phero__head { margin-top: var(--space-8); align-items: start; }
.ct-svc-hero .ct-phero__side { padding-bottom: 0; }
@media (hover: hover) { .ct-banner.is-in:hover img { transform: scale(1.04); transition-duration: 900ms; } }
@media (max-width: 639px) {
  .ct-svc-hero { padding: calc(76px + 12px + var(--space-2)) 0 var(--space-6); }
  .ct-banner { min-height: 240px; }
  .ct-banner::after, [dir="rtl"] .ct-banner::after { background: rgba(8,26,53,.68); }
  .ct-banner__body { padding: var(--space-4) var(--space-3); }
  .ct-svc-hero .ct-phero__head { margin-top: var(--space-6); }
}

/* Services dropdown */
.ct-nav__has-drop { position: relative; }
.ct-nav__has-drop > a { gap: 6px; }
.ct-nav__has-drop > a svg { transition: transform var(--dur-press) var(--ease-out); }
.ct-nav__drop { position: absolute; top: calc(100% + 10px); inset-inline-start: -4px; z-index: 5; width: 320px; margin: 0; padding: 8px; list-style: none; background: var(--surface-white); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-lift); color: var(--ink); opacity: 0; visibility: hidden; translate: 0 8px; transition: opacity 200ms var(--ease-out), translate 200ms var(--ease-out), visibility 200ms; }
.ct-nav__drop::before { content: ""; position: absolute; inset-inline: 0; top: -12px; height: 12px; }
.ct-nav__has-drop:hover > .ct-nav__drop, .ct-nav__has-drop:focus-within > .ct-nav__drop { opacity: 1; visibility: visible; translate: none; }
.ct-nav__has-drop.is-closed > .ct-nav__drop { opacity: 0; visibility: hidden; }
.ct-nav__has-drop:hover > a svg, .ct-nav__has-drop:focus-within > a svg { transform: rotate(180deg); }
.ct-nav__links .ct-nav__drop a { display: flex; width: 100%; height: 44px; padding: 0 12px; color: var(--ink); opacity: 1; font-size: 15px; }
.ct-nav .ct-nav__links .ct-nav__drop a:hover, .ct-nav .ct-nav__links .ct-nav__drop a[aria-current="page"] { background: var(--surface-card); }
.ct-nav__drop-all { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--border); }
.ct-nav__links .ct-nav__drop-all a { font-weight: 500; color: var(--primary); }

/* Same list in the mobile menu */
.ct-sheet__group summary { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); cursor: pointer; list-style: none; }
.ct-sheet__group summary::-webkit-details-marker { display: none; }
.ct-sheet__group summary svg { width: 18px; height: 18px; transition: transform var(--dur-press) var(--ease-out); }
.ct-sheet__group[open] summary svg { transform: rotate(180deg); }
.ct-sheet__group > div { display: flex; flex-direction: column; }
.ct-sheet .ct-sheet__group a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; padding-inline-start: 16px; font: 400 18px/1.3 var(--font-sans); letter-spacing: 0; }


/* ======================================================================
   HOW WE WORK timeline, PROJECTS grid and mosaic
   ====================================================================== */
.ct-journey { --p: 0; position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-8); }
.ct-journey::before, .ct-journey::after { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 50%; width: 2px; margin-inline-start: -1px; background: var(--border); }
.ct-journey::after { background: var(--primary); transform: scaleY(var(--p)); transform-origin: 50% 0; }
.ct-journey > li { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); gap: var(--space-4); align-items: center; }
.ct-journey__media { position: relative; margin: 0; grid-column: 1; grid-row: 1; aspect-ratio: 16 / 10; border-radius: var(--radius-card); overflow: hidden; background: var(--surface-card); }
.ct-journey__dot { grid-column: 2; grid-row: 1; justify-self: center; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface-white); color: var(--ink-muted); font: 500 14px/1 var(--font-sans); transition: background-color 500ms var(--ease-out), border-color 500ms var(--ease-out), color 500ms var(--ease-out), scale 500ms var(--ease-out); }
.ct-journey > li:has(.is-in) .ct-journey__dot { background: var(--midnight); border-color: var(--midnight); color: var(--on-dark); }
.ct-journey__copy { grid-column: 3; grid-row: 1; display: flex; flex-direction: column; gap: 12px; }
.ct-journey > li:nth-child(even) .ct-journey__media { grid-column: 3; }
.ct-journey > li:nth-child(even) .ct-journey__copy { grid-column: 1; }

.ct-projects--page { row-gap: var(--space-6); }
.ct-projects__note { margin-top: var(--space-4); }
.ct-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 16px; }
.ct-mosaic__item { position: relative; margin: 0; border-radius: var(--radius-card); overflow: hidden; background: var(--surface-card); }
.ct-mosaic__item img { width: 100%; height: 100%; object-fit: cover; }
.ct-mosaic__item--wide { grid-column: span 2; }
.ct-mosaic__item--tall { grid-row: span 2; }

@media (hover: hover) {
  .ct-journey > li:hover .ct-journey__dot { scale: 1.1; }
  .ct-journey__media.is-in:hover img { transform: scale(1.04); transition-duration: 900ms; }
  .ct-mosaic__item.is-in:hover img { transform: scale(1.05); transition-duration: 900ms; }
  .ct-projects--page .ct-project .t-card-title { transition: color var(--dur-press) var(--ease-out); }
  .ct-projects--page .ct-project:hover .t-card-title { color: var(--primary); }
}
@media (max-width: 1023px) {
  .ct-journey { gap: var(--space-6); }
  .ct-journey::before, .ct-journey::after { inset-inline-start: 28px; }
  .ct-journey > li, .ct-journey > li:nth-child(even) { grid-template-columns: 56px minmax(0, 1fr); column-gap: var(--space-3); row-gap: 16px; align-items: start; }
  .ct-journey__dot { grid-column: 1; grid-row: 1 / span 2; }
  .ct-journey > li .ct-journey__media, .ct-journey > li:nth-child(even) .ct-journey__media { grid-column: 2; grid-row: 1; }
  .ct-journey > li .ct-journey__copy, .ct-journey > li:nth-child(even) .ct-journey__copy { grid-column: 2; grid-row: 2; }
  .ct-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
}
@media (max-width: 639px) {
  .ct-mosaic { gap: 10px; grid-auto-rows: 150px; }
}
