:root {
  --black: #020306;
  --graphite: #151921;
  --white: #ffffff;
  --ice-white: #dee6ef;
  --soft-white: #f4f4f4;
  --light-grey: #e8e8e8;
  --font: "Poppins", sans-serif;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 0;
  color: var(--black);
  background: var(--black);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

button,
input,
textarea,
select,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

/* Progressive blur opening animation */

.page-reveal {
  position: fixed;
  z-index: 200;
  inset: 0;
  pointer-events: none;
  background: rgba(2, 3, 6, 0.2);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  opacity: 1;
  transform: translateZ(0);
  will-change: opacity;
  contain: strict;
  animation: page-unblur 1.12s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes page-unblur {
  0% {
    opacity: 1;
  }

  58% {
    opacity: 0.32;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* Header */

.site-header {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  height: 86px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: 16px 22px;
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

/* Circular logo without outline */

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  background: var(--black);
  border: 0;
  border-radius: 50%;
  box-shadow: none;
}

.brand-mark__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Navigation */

.navigation {
  grid-column: 2;
  width: 116px;
  min-height: 46px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: rgba(2, 3, 6, 0.94);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    width 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.3s;
}

.navigation.is-open {
  width: min(740px, calc(100vw - 320px));
}

.navigation__toggle {
  flex: 0 0 116px;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 14px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.navigation__toggle-icon {
  width: 16px;
  display: grid;
  gap: 4px;
}

.navigation__toggle-icon span {
  height: 1px;
  background: currentColor;
  transition: transform 0.22s;
}

.navigation.is-open
  .navigation__toggle-icon
  span:first-child {
  transform: translateY(2.5px) rotate(45deg);
}

.navigation.is-open
  .navigation__toggle-icon
  span:last-child {
  transform: translateY(-2.5px) rotate(-45deg);
}

.navigation__links {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  padding-right: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-16px);
  transition:
    opacity 0.28s,
    visibility 0.28s,
    transform 0.28s;
}

.navigation.is-open .navigation__links {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.navigation__links a {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.navigation__links a:hover,
.navigation__links a.is-active {
  color: var(--black);
  background: var(--white);
}

/* Shared buttons */

.header-cta,
.footer__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  color: var(--white);
  background: var(--black);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.header-cta {
  grid-column: 3;
  justify-self: end;
}

.button-arrow {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 86px 7vw;
  background: var(--black);
  isolation: isolate;
}

.hero__background-video {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  opacity: 0;
  filter: blur(22px);
  transform: scale(1.1);
  animation: video-reveal 1.15s
    cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__video-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(2, 3, 6, 0.38),
      rgba(2, 3, 6, 0.12) 42%,
      rgba(2, 3, 6, 0.48)
    );
}

.hero__title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.19em;
  margin: 0;
  color: var(--white);
  font-size: clamp(58px, 7.8vw, 132px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.07em;
  white-space: nowrap;
  opacity: 0;
  filter: blur(20px);
  animation: title-reveal 1.55s
    cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

@keyframes video-reveal {
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1.04);
  }
}

@keyframes title-reveal {
  to {
    opacity: 1;
    filter: blur(0);
  }
}

/* Hides native mobile video controls */

.hero__background-video::-webkit-media-controls,
.hero__background-video::-webkit-media-controls-panel,
.hero__background-video::-webkit-media-controls-play-button,
.hero__background-video::-webkit-media-controls-overlay-play-button,
.hero__background-video::-webkit-media-controls-overlay-enclosure,
.hero__background-video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0 !important;
  visibility: hidden !important;
}

.homepage-content:empty {
  display: none;
}

/* Sticky discovery call */

.floating-discovery {
  --footer-fade: 0;
  position: fixed;
  z-index: 35;
  left: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 54px;
  padding: 5px 5px 5px 23px;
  color: var(--white);
  background: rgba(2, 3, 6, 0.94);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 18px) scale(0.96);
  transition:
    opacity 0.25s,
    visibility 0.25s,
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.34s ease;
}

.floating-discovery.is-visible {
  opacity: calc(1 - var(--footer-fade));
  visibility: visible;
  filter: blur(calc(var(--footer-fade) * 12px));
  transform:
    translate(-50%, calc(var(--footer-fade) * 16px))
    scale(calc(1 - var(--footer-fade) * 0.04));
}

.floating-discovery.is-footer-blocked {
  pointer-events: none;
}

.floating-discovery__button {
  min-width: 90px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  color: var(--black);
  background: var(--white);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

/* Footer */

.site-footer {
  position: relative;
  z-index: 2;
  padding: 80px 5vw 22px;
  color: var(--white);
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 0.6fr 1fr;
  gap: 64px;
  align-items: start;
}

.footer__identity {
  max-width: 420px;
}

.footer__logo {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 24px;
}

.footer__identity p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.65;
}

.footer__nav,
.footer__contact {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.footer__nav p,
.footer__contact p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer__nav a,
.footer__contact > a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.footer__nav a:hover,
.footer__contact > a:hover {
  color: var(--white);
}

.footer__call {
  color: var(--black);
  background: var(--white);
  margin-bottom: 3px;
}

.footer__wordmark {
  width: 100%;
  max-width: none;
  overflow: visible;
  margin-top: 70px;
  padding-inline: 0.06em;
  box-sizing: border-box;
  font-size: clamp(70px, 14vw, 260px);
  font-weight: 700;
  line-height: 0.72;
  letter-spacing: -0.08em;
  text-align: center;
  white-space: nowrap;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
}

/* Booking popup */

.booking-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.22s,
    visibility 0.22s;
}

.booking-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  border: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.booking-card {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 60px));
  max-height: calc(100svh - 60px);
  overflow: auto;
  padding: clamp(30px, 4vw, 52px);
  background: var(--soft-white);
  border-radius: 28px;
  opacity: 0;
  clip-path: inset(0 46% round 999px);
  transform: translateY(-10px) scaleY(0.82);
  transform-origin: top center;
  transition:
    clip-path 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.18s;
}

/* Keep every piece of popup copy in one clean, sentence-case type system. */
.booking-card,
.booking-card button,
.booking-card input,
.booking-card textarea,
.booking-card select,
.booking-card option {
  font-family: var(--font);
  text-transform: none;
}

.booking-modal.is-open .booking-card {
  opacity: 1;
  clip-path: inset(0 round 28px);
  transform: none;
}

.booking-card__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--black);
  border: 0;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
}

.booking-card__header {
  padding-right: 60px;
  margin-bottom: 34px;
}

.booking-card__header p {
  margin: 0 0 10px;
  color: rgba(2, 3, 6, 0.52);
  font-size: 11px;
  letter-spacing: 0;
}

.booking-card__header h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.booking-layout {
  display: grid;
  grid-template-columns:
    minmax(440px, 1.08fr)
    minmax(320px, 0.92fr);
  gap: clamp(28px, 5vw, 70px);
}

/* Calendar */

.booking-calendar-panel {
  padding: 24px;
  background: var(--light-grey);
  border-radius: 22px;
}

.booking-calendar__header {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  margin-bottom: 22px;
  text-align: center;
}

.calendar-nav {
  width: 40px;
  height: 40px;
  color: var(--black);
  background: var(--white);
  border: 0;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
}

.calendar-nav:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.booking-calendar__week,
.booking-calendar__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.booking-calendar__week {
  margin-bottom: 8px;
}

.booking-calendar__week span {
  color: rgba(2, 3, 6, 0.38);
  font-size: 8px;
  text-align: center;
}

.calendar-day {
  aspect-ratio: 1;
  padding: 0;
  color: var(--black);
  background: rgba(255, 255, 255, 0.8);
  border: 0;
  border-radius: 50%;
  font-size: 11px;
  cursor: pointer;
}

.calendar-day:hover:not(:disabled),
.calendar-day.is-selected {
  color: var(--white);
  background: var(--black);
}

.calendar-day:disabled {
  color: rgba(2, 3, 6, 0.18);
  background: transparent;
  cursor: not-allowed;
}

.calendar-day--blank {
  visibility: hidden;
}

/* Form */

.booking-form {
  display: grid;
  gap: 15px;
}

.booking-form__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.selected-date-box {
  min-height: 68px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px 14px;
  color: var(--white);
  background: var(--black);
  border-radius: 14px;
}

.selected-date-box span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  letter-spacing: 0;
}

.selected-date-box strong {
  font-size: 12px;
}

.booking-form label,
.booking-field {
  display: grid;
  gap: 7px;
}

.booking-form label > span,
.booking-field > span {
  font-size: 10px;
  font-weight: 500;
}

.time-picker {
  position: relative;
}

.time-picker__trigger {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  color: var(--black);
  background: var(--light-grey);
  border: 0;
  border-radius: 18px;
  cursor: pointer;
}

.time-picker__trigger:disabled {
  color: rgba(2, 3, 6, 0.42);
  cursor: not-allowed;
}

.time-picker__trigger svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.time-picker.is-open .time-picker__trigger svg {
  transform: rotate(180deg);
}

.time-picker__options {
  position: absolute;
  z-index: 12;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  max-height: min(270px, 38vh);
  overflow-y: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 10px;
  background: var(--white);
  border: 1px solid rgba(2, 3, 6, 0.08);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(2, 3, 6, 0.2);
}

.time-picker__options:not([hidden]) {
  display: grid;
}

.time-picker__option {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  color: var(--black);
  background: var(--soft-white);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.time-picker__option.is-booked {
  color: rgba(2, 3, 6, 0.42);
  background: rgba(2, 3, 6, 0.055);
  cursor: not-allowed;
}

.time-picker__booked-label {
  padding: 3px 7px;
  color: rgba(2, 3, 6, 0.55);
  background: rgba(2, 3, 6, 0.08);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
}

.time-picker__option:hover,
.time-picker__option:focus-visible,
.time-picker__option.is-selected {
  color: var(--white);
  background: var(--black);
  outline: 0;
}

.time-picker__option.is-booked:hover {
  color: rgba(2, 3, 6, 0.42);
  background: rgba(2, 3, 6, 0.055);
}

.time-picker__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px 12px;
  color: rgba(2, 3, 6, 0.58);
  font-size: 11px;
  text-align: center;
}

.booking-form input,
.booking-form textarea,
.booking-form select {
  width: 100%;
  padding: 13px 14px;
  color: var(--black);
  background: var(--light-grey);
  border: 0;
  border-radius: 14px;
  outline: 0;
}

.booking-form textarea {
  min-height: 118px;
  resize: vertical;
}

.booking-form input:focus,
.booking-form textarea:focus,
.booking-form select:focus {
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(2, 3, 6, 0.1);
}

.phone-field__control {
  display: grid;
  grid-template-columns: 110px 1fr;
  overflow: hidden;
  background: var(--light-grey);
  border-radius: 14px;
}

.phone-field__control select {
  border-right: 1px solid rgba(2, 3, 6, 0.1);
  border-radius: 0;
  background: transparent;
}

.phone-field__control input {
  border-radius: 0;
  background: transparent;
}

.phone-field small {
  color: rgba(2, 3, 6, 0.5);
  font-size: 9px;
}

.booking-form__submit {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white);
  background: var(--black);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.booking-form__submit:disabled {
  cursor: wait;
  opacity: 0.58;
}

.booking-form__status {
  min-height: 18px;
  margin: 0;
  font-size: 11px;
}

.booking-form__status.is-success {
  color: #a8742f;
}

/* Mobile and tablet */

@media (max-width: 760px) {
  .site-header {
    height: 74px;
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .header-cta {
    display: none;
  }

  .navigation {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 112px;
    display: block;
    max-height: 46px;
    border-radius: 23px;
    transition:
      width 0.36s cubic-bezier(0.16, 1, 0.3, 1),
      max-height 0.42s cubic-bezier(0.16, 1, 0.3, 1),
      border-radius 0.26s;
  }

  .navigation.is-open {
    width: min(320px, calc(100vw - 32px));
    max-height: 430px;
    border-radius: 24px;
  }

  .navigation__toggle {
    width: 112px;
    min-height: 46px;
    justify-content: flex-start;
    padding: 0 16px;
  }

  .navigation__links {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    padding: 9px 9px 12px;
    transform: translateY(-8px);
  }

  .navigation.is-open .navigation__links {
    transform: none;
  }

  .navigation__links a {
    width: 100%;
    min-height: 48px;
    justify-content: flex-start;
    padding: 0 18px;
    text-align: left;
    font-size: 14px;
  }

  .hero {
    padding: 86px 20px;
  }

  .hero__title {
    display: grid;
    gap: 0;
    font-size: clamp(56px, 17vw, 94px);
    white-space: normal;
  }

  .floating-discovery {
    width: calc(100% - 30px);
    max-width: 370px;
    bottom: 15px;
    justify-content: space-between;
    gap: 10px;
    padding-left: 18px;
    font-size: 11px;
  }

  .floating-discovery__button {
    min-width: 80px;
    min-height: 42px;
    padding: 0 16px;
  }

  .site-footer {
    padding: 64px 22px 20px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer__wordmark {
    margin-top: 55px;
    font-size: 21vw;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .booking-modal {
    place-items: end center;
    padding: 12px;
  }

  .booking-card {
    width: 100%;
    max-height: calc(100svh - 24px);
    padding: 32px 20px;
    border-radius: 24px;
    clip-path: inset(0 42% round 999px);
  }

  .booking-modal.is-open .booking-card {
    clip-path: inset(0 round 24px);
  }

  .booking-card__header h2 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .booking-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .booking-calendar-panel {
    padding: 15px;
  }

  .booking-calendar__week,
  .booking-calendar__days {
    gap: 3px;
  }

  .phone-field__control {
    grid-template-columns: 104px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .page-reveal {
    display: none;
  }
}
/* Requested footer and mobile-navigation adjustments only */

.site-header {
  opacity: 1;
  filter: blur(0);
  transition:
    opacity 0.42s ease,
    filter 0.42s ease,
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Centre desktop footer content */
@media (min-width: 761px) {
  .footer__top {
    text-align: center;
  }

  .footer__identity {
    justify-self: center;
  }

  .footer__logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer__nav,
  .footer__contact {
    justify-items: center;
  }
}

@media (max-width: 760px) {
  /* Keep the open navigation clear of the logo */
  .navigation.is-open {
    width: min(320px, calc(100vw - 92px));
  }

  /* Progressive blur when the footer is reached */
  .site-header.is-footer-hidden {
    opacity: 0;
    filter: blur(14px);
    transform: translateY(-14px);
    pointer-events: none;
  }

  /* Keep existing mobile footer alignment */
  .footer__top {
    text-align: left;
  }

  .footer__identity {
    justify-self: stretch;
  }

  .footer__logo {
    margin-left: 0;
    margin-right: 0;
  }

  .footer__nav,
  .footer__contact {
    justify-items: start;
  }

  /* Keep the complete VERVESTAC wordmark inside the screen */
  .footer__wordmark {
    width: 100%;
    max-width: none;
    overflow: visible;
    font-size: min(16.5vw, calc((100vw - 52px) / 5));
    letter-spacing: -0.085em;
    text-align: center;
  }
}

/* Centre the footer section, while keeping content left-aligned */

.footer__top {
  width: min(1180px, 100%);
  margin-inline: auto;
  text-align: left;
}

.footer__identity {
  justify-self: auto;
}

.footer__logo {
  margin-left: 0;
  margin-right: 0;
}

.footer__nav,
.footer__contact {
  justify-items: start;
  text-align: left;
}

/* Footer email and social links */

.footer__socials {
  display: grid;
  justify-items: start;
  gap: 9px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__socials a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  transition: color 0.2s ease;
}

.footer__socials a:hover {
  color: var(--white);
}

.footer__wordmark {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.footer__details {
  width: 100%;
  display: grid;
  gap: 28px;
  margin-top: 10px;
}

.footer__detail-group {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.footer__detail-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__detail-group > a,
.footer__social-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  transition: color 0.2s ease;
}

.footer__detail-group > a:hover,
.footer__social-links a:hover {
  color: var(--white);
}

.footer__social-links {
  display: grid;
  justify-items: start;
  gap: 11px;
}

.footer__social-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.footer__social-links svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer__social-links svg path,
.footer__social-links svg rect.icon-fill {
  fill: currentColor;
  stroke: none;
}

.footer__social-links svg .icon-fill {
  fill: currentColor;
  stroke: none;
}

/* =====================================================
   TESTIMONIAL SECTION
   ===================================================== */

.homepage-content {
  background: var(--black);
}

.testimonials {
  width: 100%;
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  padding: clamp(90px, 10vw, 150px) 24px;
  color: var(--white);
  background: var(--black);
}

.testimonial-stage {
  width: min(900px, 100%);
  position: relative;
}

/* Testimonial card */

.testimonial-slide {
  width: 100%;
  min-height: 560px;
  display: none;
  grid-template-columns: 0.94fr 1.06fr;
  align-items: stretch;
  opacity: 0;
  filter: blur(14px);
  transform: translateY(16px) scale(0.985);
}

.testimonial-slide.is-active {
  display: grid;
  animation:
    testimonial-reveal 0.65s
    cubic-bezier(0.16, 1, 0.3, 1)
    forwards;
}

/* Left photograph */

.testimonial-slide__media {
  position: relative;
  z-index: 1;
  min-height: 560px;
  overflow: hidden;
  background: var(--graphite);
  border-radius: 42px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  transform: rotate(-2.2deg);
  transform-origin: bottom right;
}

.testimonial-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right quote panel */

.testimonial-slide__quote {
  position: relative;
  z-index: 2;
  min-height: 560px;
  display: grid;
  align-content: center;
  justify-items: center;
  margin-left: -27px;
  padding: 58px;
  overflow: hidden;
  color: var(--black);
  text-align: center;
  background: var(--ice-white);
  border-radius: 42px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
}

.testimonial-slide__quote blockquote {
  width: 100%;
  max-width: 420px;
  margin: 0;
  font-size: clamp(25px, 2.3vw, 36px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.testimonial-slide__quote p {
  display: grid;
  gap: 2px;
  margin: 38px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.testimonial-slide__quote p strong {
  font-weight: 600;
}

.testimonial-slide__quote p span {
  color: rgba(2, 3, 6, 0.6);
}

/* Gradient sweep over both cards */

.testimonial-slide__media::after,
.testimonial-slide__quote::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(
      110deg,
      transparent 20%,
      rgba(255, 255, 255, 0.04) 38%,
      rgba(255, 255, 255, 0.42) 50%,
      rgba(255, 255, 255, 0.05) 62%,
      transparent 80%
    );
  transform: translateX(-130%);
}

.testimonial-slide.is-active
.testimonial-slide__media::after,
.testimonial-slide.is-active
.testimonial-slide__quote::after {
  animation:
    testimonial-sweep 0.9s
    cubic-bezier(0.22, 1, 0.36, 1)
    0.08s forwards;
}

/* Logo buttons */

.testimonial-tabs {
  width: min(900px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}

.testimonial-tab {
  min-width: 128px;
  height: 62px;
  display: grid;
  place-items: center;
  padding: 13px 22px;
  overflow: hidden;
  background: var(--ice-white);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.55;
  transform: translateY(0);
  transition:
    opacity 0.25s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s ease;
}

.testimonial-tab:hover {
  opacity: 0.82;
  transform: translateY(-2px);
}

.testimonial-tab.is-active {
  opacity: 1;
  background: var(--white);
  transform: translateY(-3px);
}

.testimonial-tab img {
  width: auto;
  height: 27px;
  max-width: 112px;
  object-fit: contain;
}

/* Reveal animation */

@keyframes testimonial-reveal {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

/* Gradient sweep animation */

@keyframes testimonial-sweep {
  0% {
    opacity: 0;
    transform: translateX(-130%);
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(130%);
  }
}

/* Mobile */

@media (max-width: 760px) {
  .testimonials {
    min-height: auto;
    padding: 90px 15px;
  }

  .testimonial-stage {
    width: min(100%, 480px);
  }

  .testimonial-slide {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .testimonial-slide__media {
    min-height: 410px;
    border-radius: 29px;
    transform: rotate(-1.5deg);
  }

  .testimonial-slide__quote {
    min-height: 390px;
    margin: -24px 0 0;
    padding: 45px 25px 38px;
    border-radius: 29px;
  }

  .testimonial-slide__quote blockquote {
    max-width: 350px;
    font-size: clamp(24px, 7vw, 32px);
  }

  .testimonial-slide__quote p {
    margin-top: 30px;
  }

  .testimonial-tabs {
    width: min(100%, 480px);
    justify-content: flex-start;
    gap: 8px;
    margin-top: 35px;
    padding: 3px 0 9px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .testimonial-tabs::-webkit-scrollbar {
    display: none;
  }

  .testimonial-tab {
    min-width: 116px;
    height: 57px;
    padding: 12px 18px;
  }

  .testimonial-tab img {
    height: 23px;
    max-width: 96px;
  }
}

@media (max-width: 420px) {
  .testimonial-slide__media {
    min-height: 350px;
  }

  .testimonial-slide__quote {
    min-height: 350px;
  }
}

/* =====================================================
   EIGHT-LAYER PROGRESSIVE VIEWPORT BLUR
   ===================================================== */

.progressive-blur {
  position: fixed;
  z-index: 10;
  right: 0;
  left: 0;
  height: 200px;
  overflow: hidden;
  pointer-events: none;
}

.progressive-blur.top-blur {
  --blur-direction: to bottom;
  top: -32px;
}

.progressive-blur.bottom-blur {
  --blur-direction: to top;
  bottom: -32px;
}

.progressive-blur .layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.progressive-blur .blur-1 {
  z-index: 1;
  -webkit-backdrop-filter: blur(0.078125px);
  backdrop-filter: blur(0.078125px);
  -webkit-mask-image: linear-gradient(
    var(--blur-direction),
    transparent 87.5%,
    #000 100%
  );
  mask-image: linear-gradient(
    var(--blur-direction),
    transparent 87.5%,
    #000 100%
  );
}

.progressive-blur .blur-2 {
  z-index: 2;
  -webkit-backdrop-filter: blur(0.15625px);
  backdrop-filter: blur(0.15625px);
  -webkit-mask-image: linear-gradient(
    var(--blur-direction),
    transparent 75%,
    #000 87.5% 100%
  );
  mask-image: linear-gradient(
    var(--blur-direction),
    transparent 75%,
    #000 87.5% 100%
  );
}

.progressive-blur .blur-3 {
  z-index: 3;
  -webkit-backdrop-filter: blur(0.3125px);
  backdrop-filter: blur(0.3125px);
  -webkit-mask-image: linear-gradient(
    var(--blur-direction),
    transparent 62.5%,
    #000 75% 87.5%,
    transparent 100%
  );
  mask-image: linear-gradient(
    var(--blur-direction),
    transparent 62.5%,
    #000 75% 87.5%,
    transparent 100%
  );
}

.progressive-blur .blur-4 {
  z-index: 4;
  -webkit-backdrop-filter: blur(0.625px);
  backdrop-filter: blur(0.625px);
  -webkit-mask-image: linear-gradient(
    var(--blur-direction),
    transparent 50%,
    #000 62.5% 75%,
    transparent 87.5%
  );
  mask-image: linear-gradient(
    var(--blur-direction),
    transparent 50%,
    #000 62.5% 75%,
    transparent 87.5%
  );
}

.progressive-blur .blur-5 {
  z-index: 5;
  -webkit-backdrop-filter: blur(1.25px);
  backdrop-filter: blur(1.25px);
  -webkit-mask-image: linear-gradient(
    var(--blur-direction),
    transparent 37.5%,
    #000 50% 62.5%,
    transparent 75%
  );
  mask-image: linear-gradient(
    var(--blur-direction),
    transparent 37.5%,
    #000 50% 62.5%,
    transparent 75%
  );
}

.progressive-blur .blur-6 {
  z-index: 6;
  -webkit-backdrop-filter: blur(2.5px);
  backdrop-filter: blur(2.5px);
  -webkit-mask-image: linear-gradient(
    var(--blur-direction),
    transparent 25%,
    #000 37.5% 50%,
    transparent 62.5%
  );
  mask-image: linear-gradient(
    var(--blur-direction),
    transparent 25%,
    #000 37.5% 50%,
    transparent 62.5%
  );
}

.progressive-blur .blur-7 {
  z-index: 7;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  -webkit-mask-image: linear-gradient(
    var(--blur-direction),
    transparent 12.5%,
    #000 25% 37.5%,
    transparent 50%
  );
  mask-image: linear-gradient(
    var(--blur-direction),
    transparent 12.5%,
    #000 25% 37.5%,
    transparent 50%
  );
}

.progressive-blur .blur-8 {
  z-index: 8;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(
    var(--blur-direction),
    transparent 0%,
    #000 12.5% 25%,
    transparent 37.5%
  );
  mask-image: linear-gradient(
    var(--blur-direction),
    transparent 0%,
    #000 12.5% 25%,
    transparent 37.5%
  );
}

@media (max-width: 680px) {
  .progressive-blur {
    height: 160px;
  }
}
/* =====================================================
   REQUESTED TESTIMONIAL AND CTA ADJUSTMENTS
   ===================================================== */

/*
  The floating discovery CTA is only needed on mobile.
  Desktop uses the header CTA.
*/

@media (min-width: 761px) {
  .floating-discovery {
    display: none !important;
  }

  .header-cta {
    min-width: 224px;
  }
}

/*
  Compact the booking CTA before the open desktop navigation can reach it.
  The action remains available as the same north-east arrow used by the
  full-size button; only its visible label is collapsed.
*/
@media (min-width: 761px) and (max-width: 1240px) {
  .navigation.is-open {
    width: min(780px, calc(100vw - 180px));
  }

  .header-cta {
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
  }

  .header-cta > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .header-cta .button-arrow {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }
}

/* Smoother brand-button interaction */

.testimonial-tab {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.35s ease,
    background 0.35s ease,
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-tab::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(
      110deg,
      transparent 20%,
      rgba(255, 255, 255, 0.75) 50%,
      transparent 80%
    );
  transform: translateX(-130%);
}

.testimonial-tab:hover {
  opacity: 0.88;
  transform: translateY(-3px) scale(1.025);
}

.testimonial-tab:active {
  transform: translateY(0) scale(0.94);
  transition-duration: 0.12s;
}

.testimonial-tab.is-active {
  opacity: 1;
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.24);
  animation:
    testimonial-tab-select 0.7s
    cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-tab.is-active::before {
  animation:
    testimonial-tab-sweep 1.15s
    cubic-bezier(0.22, 1, 0.36, 1);
}

/* Slower and smoother complete-card entrance */

.testimonial-slide.is-active {
  animation:
    testimonial-card-enter 0.9s
    cubic-bezier(0.16, 1, 0.3, 1)
    forwards;
}

.testimonial-slide.is-active
.testimonial-slide__media {
  animation:
    testimonial-image-enter 1s
    cubic-bezier(0.16, 1, 0.3, 1)
    forwards;
}

.testimonial-slide.is-active
.testimonial-slide__quote {
  animation:
    testimonial-quote-enter 1s
    cubic-bezier(0.16, 1, 0.3, 1)
    forwards;
}

/* Slower gradient sweep */

.testimonial-slide.is-active
.testimonial-slide__media::after,
.testimonial-slide.is-active
.testimonial-slide__quote::after {
  animation:
    testimonial-sweep-slow 1.55s
    cubic-bezier(0.22, 1, 0.36, 1)
    0.16s forwards;
}

@keyframes testimonial-card-enter {
  0% {
    opacity: 0;
    filter: blur(16px);
    transform: translateY(28px) scale(0.965);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes testimonial-image-enter {
  0% {
    opacity: 0;
    filter: blur(12px);
    transform:
      translateX(-38px)
      rotate(-5deg)
      scale(0.97);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform:
      translateX(0)
      rotate(-2.2deg)
      scale(1);
  }
}

@keyframes testimonial-quote-enter {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform:
      translateX(38px)
      scale(0.975);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform:
      translateX(0)
      scale(1);
  }
}

@keyframes testimonial-sweep-slow {
  0% {
    opacity: 0;
    transform: translateX(-135%);
  }

  18% {
    opacity: 1;
  }

  72% {
    opacity: 0.72;
  }

  100% {
    opacity: 0;
    transform: translateX(135%);
  }
}

@keyframes testimonial-tab-select {
  0% {
    transform: translateY(0) scale(0.94);
  }

  55% {
    transform: translateY(-5px) scale(1.065);
  }

  100% {
    transform: translateY(-4px) scale(1.04);
  }
}

@keyframes testimonial-tab-sweep {
  0% {
    opacity: 0;
    transform: translateX(-130%);
  }

  25% {
    opacity: 0.8;
  }

  100% {
    opacity: 0;
    transform: translateX(130%);
  }
}

/* =====================================================
   MOBILE TESTIMONIAL CARD
   Matches the overlapping-card reference
   ===================================================== */

@media (max-width: 760px) {
  .testimonial-stage {
    width: min(100%, 390px);
    padding: 18px 14px 22px;
  }

  .testimonial-slide {
    position: relative;
    min-height: 475px;
    display: none;
    grid-template-columns: 1fr;
    place-items: center;
  }

  .testimonial-slide.is-active {
    display: grid;
  }

  /*
    On mobile the media card becomes the darker,
    rotated backing card from the reference.
  */

  .testimonial-slide__media {
    position: absolute;
    z-index: 1;
    inset: 26px 10px 18px;
    min-height: 0;
    border-radius: 36px;
    background: rgba(222, 230, 239, 0.68);
    box-shadow: none;
    transform: rotate(6deg);
  }

  .testimonial-slide__media img {
    display: none;
  }

  .testimonial-slide__quote {
    position: relative;
    z-index: 2;
    width: calc(100% - 28px);
    min-height: 450px;
    margin: 0;
    padding: 46px 28px;
    border-radius: 36px;
    background: var(--ice-white);
    box-shadow:
      0 22px 50px rgba(0, 0, 0, 0.22);
  }

  .testimonial-slide__quote blockquote {
    max-width: 310px;
    font-size: clamp(23px, 6.8vw, 30px);
    line-height: 1.07;
  }

  .testimonial-slide__quote p {
    margin-top: 34px;
  }

  .testimonial-tabs {
    width: min(100%, 390px);
    justify-content: center;
    gap: 7px;
    margin-top: 28px;
    padding: 0;
    overflow: visible;
  }

  .testimonial-tab {
    min-width: 0;
    width: calc((100% - 14px) / 3);
    height: 57px;
    padding: 11px 13px;
  }

  .testimonial-tab img {
    width: 100%;
    height: 23px;
    max-width: 94px;
  }

  .testimonial-slide.is-active
  .testimonial-slide__media {
    animation:
      testimonial-mobile-back-card 1s
      cubic-bezier(0.16, 1, 0.3, 1)
      forwards;
  }

  .testimonial-slide.is-active
  .testimonial-slide__quote {
    animation:
      testimonial-mobile-front-card 1s
      cubic-bezier(0.16, 1, 0.3, 1)
      forwards;
  }
}

@keyframes testimonial-mobile-back-card {
  0% {
    opacity: 0;
    filter: blur(12px);
    transform:
      translateY(30px)
      rotate(12deg)
      scale(0.94);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform:
      translateY(0)
      rotate(6deg)
      scale(1);
  }
}

@keyframes testimonial-mobile-front-card {
  0% {
    opacity: 0;
    filter: blur(12px);
    transform:
      translateY(36px)
      rotate(-3deg)
      scale(0.94);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform:
      translateY(0)
      rotate(0)
      scale(1);
  }
}
/* =====================================================
   EQUAL TESTIMONIAL SIZE + LIQUID POPOVER
   =================================================   ===================================================== */

/* Every desktop testimonial uses identical dimensions */

@media (min-width: 761px) {
  .testimonial-stage {
    width: min(900px, 100%);
    height: 560px;
  }

  .testimonial-slide {
    width: 100%;
    height: 560px;
    min-height: 560px;
    grid-template-columns: 0.94fr 1.06fr;
  }

  .testimonial-slide__media,
  .testimonial-slide__quote {
    width: auto;
    height: 560px;
    min-height: 560px;
    max-height: 560px;
  }

  .testimonial-slide__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/*
  Remove the previous independent left/right card
  entrance animations. The complete card now enters
  using one liquid popover animation.
*/

.testimonial-slide.is-active
.testimonial-slide__media,
.testimonial-slide.is-active
.testimonial-slide__quote {
  animation: none;
}

/* Optional quote-card background image */

.testimonial-slide__quote {
  background-color: var(--ice-white);

  background-image:
    linear-gradient(
      rgba(222, 230, 239, 0.84),
      rgba(222, 230, 239, 0.84)
    ),
    var(--testimonial-bg, none);

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Replace the current complete-card reveal */

.testimonial-slide.is-active {
  transform-origin: center;
  will-change:
    transform,
    opacity,
    filter,
    clip-path;

  animation:
    testimonial-liquid-pop 1.05s
    cubic-bezier(0.16, 1, 0.3, 1)
    forwards;
}

/* Slower gradient sweep after the liquid opening */

.testimonial-slide.is-active
.testimonial-slide__media::after,
.testimonial-slide.is-active
.testimonial-slide__quote::after {
  animation:
    testimonial-liquid-sweep 1.75s
    cubic-bezier(0.22, 1, 0.36, 1)
    0.25s forwards;
}

@keyframes testimonial-liquid-pop {
  0% {
    opacity: 0;
    filter: blur(18px);
    clip-path:
      inset(
        42% 46%
        round 48% 52% 46% 54%
      );
    transform:
      translateY(36px)
      scaleX(0.72)
      scaleY(1.14);
  }

  38% {
    opacity: 1;
    filter: blur(5px);
    clip-path:
      inset(
        4% 3%
        round 12% 9% 13% 10%
      );
    transform:
      translateY(-7px)
      scaleX(1.045)
      scaleY(0.955);
  }

  62% {
    filter: blur(0);
    clip-path:
      inset(
        0
        round 7% 8% 7% 8%
      );
    transform:
      translateY(3px)
      scaleX(0.985)
      scaleY(1.018);
  }

  80% {
    transform:
      translateY(-1px)
      scaleX(1.008)
      scaleY(0.994);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    clip-path:
      inset(
        0
        round 0
      );
    transform:
      translateY(0)
      scale(1);
  }
}

@keyframes testimonial-liquid-sweep {
  0% {
    opacity: 0;
    transform:
      translateX(-140%)
      skewX(-10deg);
  }

  20% {
    opacity: 0.9;
  }

  72% {
    opacity: 0.55;
  }

  100% {
    opacity: 0;
    transform:
      translateX(140%)
      skewX(-10deg);
  }
}

/* Mobile keeps the overlapping-card layout */

@media (max-width: 760px) {
  .testimonial-stage {
    height: auto;
  }

  .testimonial-slide {
    width: 100%;
    height: auto;
    min-height: 475px;
  }

  .testimonial-slide__media {
    height: auto;
    min-height: 0;
  }

  .testimonial-slide__quote {
    height: auto;
    min-height: 450px;
  }

  .testimonial-slide.is-active {
    animation:
      testimonial-liquid-pop-mobile 1.05s
      cubic-bezier(0.16, 1, 0.3, 1)
      forwards;
  }
}

@keyframes testimonial-liquid-pop-mobile {
  0% {
    opacity: 0;
    filter: blur(16px);
    clip-path:
      inset(
        44% 32%
        round 50%
      );
    transform:
      translateY(34px)
      scaleX(0.76)
      scaleY(1.12);
  }

  42% {
    opacity: 1;
    filter: blur(4px);
    clip-path:
      inset(
        3%
        round 12%
      );
    transform:
      translateY(-6px)
      scaleX(1.04)
      scaleY(0.96);
  }

  68% {
    filter: blur(0);
    clip-path:
      inset(
        0
        round 8%
      );
    transform:
      translateY(2px)
      scaleX(0.985)
      scaleY(1.015);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    clip-path:
      inset(
        0
        round 0
      );
    transform:
      translateY(0)
      scale(1);
  }
}
/* =====================================================
   SMOOTH LIQUID REVEAL — COMPLETE CARDS
   ===================================================== */

/*
  Prevent the rotated cards from being cut.
*/

.testimonial-stage,
.testimonial-slide {
  overflow: visible;
}

.testimonial-slide,
.testimonial-slide.is-active {
  clip-path: none !important;
}

/*
  Ensure all desktop cards retain the complete,
  identical original dimensions.
*/

@media (min-width: 761px) {
  .testimonial-stage {
    width: min(900px, 100%);
    height: 560px;
  }

  .testimonial-slide {
    width: 100%;
    height: 560px;
    min-height: 560px;
    grid-template-columns: 0.94fr 1.06fr;
  }

  .testimonial-slide__media {
    width: auto;
    height: 560px;
    min-height: 560px;
    max-height: 560px;
    overflow: hidden;
    border-radius: 42px;
  }

  .testimonial-slide__quote {
    width: auto;
    height: 560px;
    min-height: 560px;
    max-height: 560px;
    overflow: hidden;
    border-radius: 42px;
  }

  .testimonial-slide__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/*
  Disable the earlier clipping-based animation.
*/

.testimonial-slide.is-active {
  transform-origin: center;
  will-change: opacity, filter, transform;

  animation:
    testimonial-smooth-liquid-pop 1.45s
    cubic-bezier(0.16, 1, 0.3, 1)
    forwards !important;
}

/*
  Keep the individual cards stable while their
  parent performs the complete liquid movement.
*/

.testimonial-slide.is-active
.testimonial-slide__media,
.testimonial-slide.is-active
.testimonial-slide__quote {
  animation: none !important;
}

/*
  Slower, continuous liquid pop without the pause
  or snapping visible in the previous version.
*/

@keyframes testimonial-smooth-liquid-pop {
  0% {
    opacity: 0;
    filter: blur(16px);
    transform:
      translateY(32px)
      scaleX(0.82)
      scaleY(1.08);
  }

  20% {
    opacity: 0.42;
    filter: blur(11px);
    transform:
      translateY(23px)
      scaleX(0.89)
      scaleY(1.055);
  }

  40% {
    opacity: 0.75;
    filter: blur(6px);
    transform:
      translateY(12px)
      scaleX(0.96)
      scaleY(1.025);
  }

  60% {
    opacity: 0.94;
    filter: blur(2px);
    transform:
      translateY(3px)
      scaleX(1.015)
      scaleY(0.988);
  }

  78% {
    opacity: 1;
    filter: blur(0);
    transform:
      translateY(-2px)
      scaleX(0.995)
      scaleY(1.006);
  }

  90% {
    transform:
      translateY(1px)
      scaleX(1.003)
      scaleY(0.998);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform:
      translateY(0)
      scaleX(1)
      scaleY(1);
  }
}

/*
  Preserve the complete overlapping mobile cards.
*/

@media (max-width: 760px) {
  .testimonial-stage {
    height: auto;
    overflow: visible;
  }

  .testimonial-slide {
    width: 100%;
    height: auto;
    min-height: 475px;
    overflow: visible;
  }

  .testimonial-slide__media {
    overflow: hidden;
    border-radius: 36px;
  }

  .testimonial-slide__quote {
    min-height: 450px;
    overflow: hidden;
    border-radius: 36px;
  }

  .testimonial-slide.is-active {
    animation:
      testimonial-smooth-liquid-pop 1.45s
      cubic-bezier(0.16, 1, 0.3, 1)
      forwards !important;
  }
}

/* =====================================================
   CONTINUOUS LIQUID TESTIMONIAL TRANSITION
   ===================================================== */

/*
  All slides remain layered in the same position.
  This prevents the layout from collapsing between cards.
*/

.testimonial-stage {
  position: relative;
  overflow: visible;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  display: grid !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  filter: blur(12px);

  transform:
    translateY(24px)
    scaleX(0.9)
    scaleY(1.035);

  transform-origin: center;
  clip-path: none !important;
  animation: none !important;

  transition:
    opacity 0.65s ease,
    filter 0.9s ease,
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 1.05s;

  will-change:
    opacity,
    filter,
    transform;
}

.testimonial-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  filter: blur(0);

  transform:
    translateY(0)
    scaleX(1)
    scaleY(1);

  animation: none !important;

  transition:
    opacity 0.72s ease,
    filter 0.95s ease,
    transform 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

/*
  Disable all older card movement animations.
  The complete slide now moves as one piece.
*/

.testimonial-slide.is-active
.testimonial-slide__media,
.testimonial-slide.is-active
.testimonial-slide__quote {
  animation: none !important;
}

/* Fixed desktop stage prevents height changes */

@media (min-width: 761px) {
  .testimonial-stage {
    width: min(900px, 100%);
    height: 560px;
    min-height: 560px;
  }

  .testimonial-slide {
    height: 560px;
    min-height: 560px;
    grid-template-columns: 0.94fr 1.06fr;
  }

  .testimonial-slide__media,
  .testimonial-slide__quote {
    height: 560px;
    min-height: 560px;
    max-height: 560px;
  }
}

/* Fixed mobile stage preserves the overlapping cards */

@media (max-width: 760px) {
  .testimonial-stage {
    width: min(100%, 390px);
    height: 475px;
    min-height: 475px;
  }

  .testimonial-slide {
    height: 475px;
    min-height: 475px;
    grid-template-columns: 1fr;
  }

  .testimonial-slide__media {
    height: auto;
    min-height: 0;
  }

  .testimonial-slide__quote {
    height: auto;
    min-height: 450px;
  }
}

/*
  Keep only the slower gradient sweep.
  This does not control the card movement.
*/

.testimonial-slide.is-active
.testimonial-slide__media::after,
.testimonial-slide.is-active
.testimonial-slide__quote::after {
  animation:
    testimonial-continuous-sweep 1.8s
    cubic-bezier(0.22, 1, 0.36, 1)
    0.18s forwards;
}

@keyframes testimonial-continuous-sweep {
  0% {
    opacity: 0;
    transform:
      translateX(-140%)
      skewX(-8deg);
  }

  18% {
    opacity: 0.8;
  }

  68% {
    opacity: 0.55;
  }

  100% {
    opacity: 0;
    transform:
      translateX(140%)
      skewX(-8deg);
  }
}

/* =====================================================
   CO-FOUNDERS HOME SECTION
   ===================================================== */

.founders-story {
  --founder-progress: 0;
  position: relative;
  height: 165svh;
  overflow: clip;
  color: var(--ice-white);
  background: var(--black);
}

.founders-story__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
}

/* Text remains behind the founders */

.founders-story__text {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(1000px, calc(100% - 80px));
  text-align: center;
  transform: translate(-50%, -50%);
}

.founders-story__text p {
  margin: 0 0 17px;
  color: rgba(222, 230, 239, 0.48);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.founders-story__text h2 {
  display: grid;
  margin: 0;
  color: var(--ice-white);
  font-size: clamp(58px, 7.6vw, 126px);
  font-weight: 600;
  line-height: 0.91;
  letter-spacing: -0.07em;
}

/* Shared founder image */

.founder {
  position: absolute;
  z-index: 2;
  bottom: -1px;
  width: clamp(390px, 34vw, 650px);
  height: min(83svh, 850px);
  display: block;
  color: var(--black);
  will-change: transform;
}

.founder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  transition:
    filter 0.5s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Begin apart and move toward the centre */

.founder--left {
  left: 0;

  transform:
    translateX(
      calc(
        -25% +
        (var(--founder-progress) * 25%)
      )
    );
}

.founder--right {
  right: 0;

  transform:
    translateX(
      calc(
        25% -
        (var(--founder-progress) * 25%)
      )
    );
}

/* Know-more pill */

.founder__prompt {
  position: absolute;
  top: 42%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 19px;
  color: var(--black);
  background: var(--ice-white);
  border-radius: 999px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  opacity: 0;
  filter: blur(8px);
  transform: translateY(12px) scale(0.92);
  transition:
    opacity 0.3s ease,
    filter 0.4s ease,
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.founder--left .founder__prompt {
  right: 8%;
}

.founder--right .founder__prompt {
  left: 8%;
}

.founder__prompt svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Founder interaction */

.founder:hover img,
.founder:focus-visible img {
  filter: brightness(0.78);
  transform: scale(1.015);
}

.founder:hover .founder__prompt,
.founder:focus-visible .founder__prompt {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.founders-story__instruction {
  position: absolute;
  z-index: 3;
  bottom: 25px;
  left: 50%;
  margin: 0;
  color: rgba(222, 230, 239, 0.38);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 760px) {
  .founders-story {
    height: 145svh;
  }

  .founders-story__sticky {
    min-height: 620px;
  }

  .founders-story__text {
    top: 31%;
    width: calc(100% - 34px);
  }

  .founders-story__text p {
    margin-bottom: 13px;
  }

  .founders-story__text h2 {
    font-size: clamp(43px, 12.8vw, 68px);
    line-height: 0.92;
  }

  /*
    Both founders remain side by side on mobile.
    They move horizontally toward each other.
  */

  .founder {
    bottom: 0;
    width: 68vw;
    max-width: 390px;
    height: 60svh;
    min-height: 410px;
  }

  .founder--left {
    left: -25vw;

    transform:
      translateX(
        calc(
          -16% +
          (var(--founder-progress) * 16%)
        )
      );
  }

  .founder--right {
    right: -25vw;

    transform:
      translateX(
        calc(
          16% -
          (var(--founder-progress) * 16%)
        )
      );
  }

  /*
    Phones do not have hover, so the labels remain
    subtly visible and can be tapped directly.
  */

  .founder__prompt {
    top: auto;
    bottom: 22px;
    min-height: 42px;
    padding: 0 15px;
    font-size: 11px;
    opacity: 0.92;
    filter: blur(0);
    transform: none;
  }

  .founder--left .founder__prompt {
    right: 2%;
  }

  .founder--right .founder__prompt {
    left: 2%;
  }

  .founders-story__instruction {
    display: none;
  }
}

@media (max-width: 420px) {
  .founder {
    width: 72vw;
  }

  .founder--left {
    left: -29vw;
  }

  .founder--right {
    right: -29vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .founders-story {
    --founder-progress: 1;
    height: 100svh;
  }
}

/* =========================================================
   STATIC FOUNDERS — no scroll-toward-each-other movement
   ========================================================= */

.founder--left,
.founder--right {
  transform: none !important;
  translate: none !important;
}

.founders-story__sticky {
  overflow: hidden;
}

.founder {
  will-change: auto;
}

/* =========================================================
   MOBILE FOUNDERS
   ========================================================= */

@media (max-width: 680px) {
  .founders-story {
    min-height: 100svh;
    height: auto;
    overflow: hidden;
  }

  .founders-story__sticky {
    position: relative;
    min-height: 100svh;
    height: auto;
    padding:
      max(92px, env(safe-area-inset-top))
      0
      42px;
    overflow: hidden;
  }

  .founders-story__text {
    position: relative;
    z-index: 2;
    width: min(88%, 360px);
    margin: 0 auto;
    padding: 0 6px;
    text-align: center;
  }

  .founders-story__text h2 {
    margin: 12px 0 0;
    font-size: clamp(2.45rem, 12.5vw, 4rem);
    line-height: 0.96;
    letter-spacing: -0.065em;
    text-wrap: balance;
  }

  .founders-story__text h2 span {
    display: inline;
  }

  .founder {
    position: absolute;
    top: auto;
    bottom: 34px;
    width: 50%;
    height: min(48svh, 430px);
    overflow: visible;
  }

  .founder--left {
    left: 0;
  }

  .founder--right {
    right: 0;
  }

  .founder img {
    position: absolute;
    bottom: 62px;
    width: clamp(185px, 61vw, 270px);
    max-width: none;
    height: auto;
    object-fit: contain;
  }

  .founder--left img {
    left: -24%;
  }

  .founder--right img {
    right: -24%;
  }

  .founder__more {
    position: absolute;
    z-index: 4;
    bottom: 0;
    left: 50%;
    min-width: 96px;
    transform: translateX(-50%);
  }
}

/* =========================================================
   FINAL FOUNDERS RESPONSIVE OVERRIDE
   PASTE AT THE ABSOLUTE END OF <style>
   ========================================================= */

html body .founders-story {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 720px !important;
  padding: clamp(100px, 11vh, 150px) 24px !important;
  margin: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background: #020306 !important;
}

html body .founders-story .founders-story__sticky {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;

  width: min(1400px, 100%) !important;
  height: auto !important;
  min-height: 520px !important;
  margin: 0 auto !important;
  padding: 0 !important;

  display: grid !important;
  grid-template-columns:
    minmax(210px, 0.75fr)
    minmax(500px, 1.8fr)
    minmax(210px, 0.75fr) !important;
  grid-template-areas: "founder-left founder-text founder-right" !important;

  align-items: center !important;
  justify-items: center !important;
  gap: 0 !important;

  overflow: visible !important;
  transform: none !important;
}

/* Central heading */
html body .founders-story .founders-story__text {
  grid-area: founder-text !important;

  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;

  width: 100% !important;
  max-width: 850px !important;
  margin: 0 !important;
  padding: 0 !important;

  text-align: center !important;
  transform: none !important;
  translate: none !important;
}

html body .founders-story .founders-story__text h2 {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;

  font-size: clamp(4rem, 7vw, 8rem) !important;
  line-height: 0.88 !important;
  letter-spacing: -0.07em !important;
  text-align: center !important;
  text-wrap: balance !important;
}

html body .founders-story .founders-story__text h2 span {
  display: block !important;
}

/* Both founder links/containers */
html body .founders-story .founder {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;

  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;

  opacity: 1 !important;
  transform: none !important;
  translate: none !important;
  will-change: auto !important;
}

/* Left founder */
html body .founders-story .founder--left {
  grid-area: founder-left !important;
  justify-self: end !important;
}

/* Right founder */
html body .founders-story .founder--right {
  grid-area: founder-right !important;
  justify-self: start !important;
}

/* Founder images */
html body .founders-story .founder img {
  position: relative !important;
  inset: auto !important;

  display: block !important;
  width: clamp(210px, 21vw, 340px) !important;
  max-width: none !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  object-fit: contain !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Move the faces closer to the heading */
html body .founders-story .founder--left img {
  translate: clamp(24px, 3vw, 52px) 0 !important;
}

html body .founders-story .founder--right img {
  translate: clamp(-52px, -3vw, -24px) 0 !important;
}

/* Know more buttons */
html body .founders-story .founder__more {
  position: relative !important;
  inset: auto !important;
  z-index: 4 !important;

  display: inline-flex !important;
  margin: 14px auto 0 !important;

  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  translate: none !important;
}

/* Remove the old scroll instruction */
html body .founders-story .founders-story__hint,
html body .founders-story .founders-scroll-hint {
  display: none !important;
}

/* =========================================================
   TABLET OVERRIDE
   ========================================================= */

@media screen and (max-width: 980px) {
  html body .founders-story {
    min-height: auto !important;
    padding: 110px 18px 80px !important;
  }

  html body .founders-story .founders-story__sticky {
    grid-template-columns:
      minmax(160px, 0.7fr)
      minmax(390px, 1.8fr)
      minmax(160px, 0.7fr) !important;

    min-height: 500px !important;
  }

  html body .founders-story .founders-story__text h2 {
    font-size: clamp(3.5rem, 8vw, 5.8rem) !important;
  }

  html body .founders-story .founder img {
    width: clamp(175px, 24vw, 255px) !important;
  }
}

/* =========================================================
   PHONE OVERRIDE
   ========================================================= */

@media screen and (max-width: 680px) {
  html body .founders-story {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;

    padding:
      max(88px, calc(env(safe-area-inset-top) + 68px))
      8px
      52px !important;

    overflow: hidden !important;
  }

  html body .founders-story .founders-story__sticky {
    position: relative !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-areas:
      "founder-text founder-text"
      "founder-left founder-right" !important;

    align-items: end !important;
    justify-items: center !important;

    column-gap: 0 !important;
    row-gap: clamp(18px, 5vw, 30px) !important;

    overflow: visible !important;
  }

  html body .founders-story .founders-story__text {
    width: min(96%, 390px) !important;
    margin: 0 auto !important;
  }

  html body .founders-story .founders-story__text p {
    margin: 0 0 11px !important;
    font-size: 0.56rem !important;
    letter-spacing: 0.1em !important;
  }

  html body .founders-story .founders-story__text h2 {
    width: 100% !important;
    margin: 0 !important;

    font-size: clamp(2.55rem, 13vw, 3.9rem) !important;
    line-height: 0.91 !important;
    letter-spacing: -0.07em !important;

    text-align: center !important;
  }

  html body .founders-story .founders-story__text h2 span {
    display: inline !important;
  }

  html body .founders-story .founder {
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;

    align-self: end !important;
    overflow: visible !important;
  }

  html body .founders-story .founder--left {
    justify-self: end !important;
    align-items: flex-end !important;
  }

  html body .founders-story .founder--right {
    justify-self: start !important;
    align-items: flex-start !important;
  }

  html body .founders-story .founder img {
    position: relative !important;

    width: clamp(142px, 48vw, 205px) !important;
    max-width: none !important;
    height: auto !important;

    margin: 0 !important;
    transform: none !important;
  }

  /* Bring the two founders inward */
  html body .founders-story .founder--left img {
    translate: clamp(8px, 3vw, 14px) 0 !important;
  }

  html body .founders-story .founder--right img {
    translate: clamp(-14px, -3vw, -8px) 0 !important;
  }

  html body .founders-story .founder__more {
    align-self: center !important;
    min-width: 94px !important;
    margin-top: 8px !important;
  }
}

/* =========================================================
   VERY NARROW PHONES
   ========================================================= */

@media screen and (max-width: 360px) {
  html body .founders-story {
    padding-inline: 4px !important;
  }

  html body .founders-story .founders-story__text h2 {
    font-size: clamp(2.3rem, 12.7vw, 2.9rem) !important;
  }

  html body .founders-story .founder img {
    width: clamp(132px, 47vw, 166px) !important;
  }

  html body .founders-story .founder__more {
    min-width: 86px !important;
    padding-inline: 10px !important;
    font-size: 0.62rem !important;
  }
}

/* =========================================================
   RESPONSIVE TESTIMONIALS — survives narrow/squeezed screens
   ========================================================= */

.testimonials-section,
.testimonial-shell,
.testimonial-stage {
  box-sizing: border-box;
  max-width: 100%;
}

.testimonial-shell {
  width: min(100%, 1100px);
  margin-inline: auto;
}

.testimonial-stage {
  width: min(100%, 900px);
  margin-inline: auto;
}

.testimonial-slide {
  inset: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.testimonial-media,
.testimonial-quote-card {
  min-width: 0;
  box-sizing: border-box;
}

.testimonial-quote,
.testimonial-author,
.testimonial-role {
  max-width: 100%;
  overflow-wrap: break-word;
}

.testimonial-tabs {
  display: flex;
  width: 100%;
  max-width: 100%;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(5px, 2vw, 12px);
  padding-inline: 10px;
  box-sizing: border-box;
}

.testimonial-tab {
  min-width: 0;
  max-width: 170px;
  flex: 0 1 150px;
  overflow: hidden;
}

.testimonial-tab img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 24px;
  object-fit: contain;
}

@media (max-width: 680px) {
  .testimonials-section {
    width: 100%;
    overflow: hidden;
    padding-inline: clamp(10px, 3.5vw, 18px);
    box-sizing: border-box;
  }

  .testimonial-shell {
    width: 100%;
    min-width: 0;
  }

  .testimonial-stage {
    width: min(100%, 390px);
    height: auto;
    aspect-ratio: 0.76;
    min-height: 390px;
    max-height: 510px;
    overflow: visible;
  }

  .testimonial-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .testimonial-media {
    display: none !important;
  }

  .testimonial-quote-card {
    position: absolute;
    inset: 4% 5% 5%;
    width: auto;
    height: auto;
    min-height: 0;
    padding: clamp(24px, 8vw, 42px);
    border-radius: clamp(24px, 8vw, 38px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .testimonial-quote-card::before {
    border-radius: inherit;
  }

  .testimonial-quote {
    width: 100%;
    margin: 0;
    font-size: clamp(1.15rem, 5.8vw, 1.65rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    text-align: center;
    text-wrap: balance;
  }

  .testimonial-author {
    margin-top: 24px;
    font-size: 0.78rem;
    text-align: center;
  }

  .testimonial-role {
    font-size: 0.68rem;
    text-align: center;
  }

  .testimonial-tabs {
    margin-top: 24px;
    gap: 5px;
    padding-inline: 0;
  }

  .testimonial-tab {
    height: 50px;
    flex: 1 1 0;
    padding: 8px 10px;
    border-radius: 999px;
  }

  .testimonial-tab img {
    width: 100%;
    height: 20px;
  }
}

@media (max-width: 360px) {
  .testimonial-stage {
    min-height: 370px;
  }

  .testimonial-quote-card {
    inset-inline: 3%;
    padding-inline: 20px;
  }

  .testimonial-tab {
    height: 46px;
    padding-inline: 7px;
  }
}
/* =========================================================
   FINAL FOUNDERS + PARALLAX OVERRIDE
   Paste at the absolute end of <style>
   ========================================================= */

html body .founders-story {
  --founders-parallax: 0px;

  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: clamp(680px, 94svh, 920px) !important;
  padding: clamp(100px, 12vh, 150px) 18px 90px !important;
  overflow: hidden !important;
  contain: layout paint;
  background: #020306 !important;
}

html body .founders-story .founders-story__sticky {
  position: relative !important;
  inset: auto !important;

  width: min(1540px, 100%) !important;
  height: auto !important;
  min-height: clamp(540px, 72svh, 720px) !important;
  margin-inline: auto !important;
  padding: 0 !important;

  display: grid !important;
  grid-template-columns:
    minmax(280px, 0.9fr)
    minmax(540px, 1.45fr)
    minmax(280px, 0.9fr) !important;
  grid-template-areas: "founder-left founder-text founder-right" !important;

  align-items: center !important;
  justify-items: center !important;
  gap: 0 !important;

  overflow: visible !important;
  transform: none !important;
}

/* Heading parallax */
html body .founders-story .founders-story__text {
  grid-area: founder-text !important;
  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;

  width: 100% !important;
  max-width: 850px !important;
  margin: 0 !important;

  text-align: center !important;
  translate: none !important;
  transform: translate3d(
    0,
    calc(var(--founders-parallax) * -0.16),
    0
  ) !important;

  will-change: transform;
}

/* Founder containers */
html body .founders-story .founder {
  position: relative !important;
  inset: auto !important;
  z-index: 2 !important;

  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;

  transform: translate3d(
    0,
    calc(var(--founders-parallax) * 0.12),
    0
  ) !important;
  translate: none !important;

  will-change: transform;
  overflow: visible !important;
}

html body .founders-story .founder--left {
  grid-area: founder-left !important;
  justify-self: end !important;
}

html body .founders-story .founder--right {
  grid-area: founder-right !important;
  justify-self: start !important;
}

/* Larger founder images */
html body .founders-story .founder img {
  position: relative !important;
  inset: auto !important;

  display: block !important;
  width: clamp(300px, 27vw, 470px) !important;
  max-width: none !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  object-fit: contain !important;
  opacity: 1 !important;
}

/* Bring both founders inward toward the heading */
html body .founders-story .founder--left img {
  transform: translate3d(
    clamp(20px, 2vw, 42px),
    0,
    0
  ) !important;
}

html body .founders-story .founder--right img {
  transform: translate3d(
    clamp(-42px, -2vw, -20px),
    0,
    0
  ) !important;
}

/* =========================================================
   SUBTLE KNOW MORE BUTTON
   Hidden beneath founder until hover/focus
   ========================================================= */

html body .founders-story .founder__more {
  position: relative !important;
  inset: auto !important;
  z-index: 4 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;

  min-width: auto !important;
  margin: 8px auto 0 !important;
  padding: 8px 13px !important;

  color: #DEE6EF !important;
  background: rgba(21, 25, 33, 0.72) !important;
  border: 1px solid rgba(222, 230, 239, 0.13) !important;
  border-radius: 999px !important;

  font-size: 0.66rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;

  opacity: 0 !important;
  visibility: hidden !important;

  translate: none !important;
  transform: translate3d(0, -8px, 0) !important;

  transition:
    opacity 280ms ease,
    transform 380ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 280ms ease,
    border-color 280ms ease !important;

  pointer-events: none !important;
}

/* Reveal underneath—not over the face */
html body .founders-story .founder:hover .founder__more,
html body .founders-story .founder:focus-visible .founder__more,
html body .founders-story .founder:focus-within .founder__more {
  opacity: 0.82 !important;
  visibility: visible !important;
  transform: translate3d(0, 0, 0) !important;
  pointer-events: auto !important;
}

html body .founders-story .founder__more:hover {
  opacity: 1 !important;
  color: #020306 !important;
  background: #DEE6EF !important;
  border-color: #DEE6EF !important;
}

/* Remove old scroll prompt */
html body .founders-story .founders-story__hint,
html body .founders-story .founders-scroll-hint {
  display: none !important;
}

/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 1050px) {
  html body .founders-story .founders-story__sticky {
    grid-template-columns:
      minmax(220px, 0.85fr)
      minmax(430px, 1.5fr)
      minmax(220px, 0.85fr) !important;
  }

  html body .founders-story .founder img {
    width: clamp(250px, 28vw, 350px) !important;
  }
}

/* =========================================================
   PHONE
   ========================================================= */

@media screen and (max-width: 680px) {
  html body .founders-story {
    min-height: auto !important;
    height: auto !important;

    padding:
      max(94px, calc(env(safe-area-inset-top) + 72px))
      8px
      58px !important;

    overflow: hidden !important;
    contain: layout paint;
  }

  html body .founders-story .founders-story__sticky {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-areas:
      "founder-text founder-text"
      "founder-left founder-right" !important;

    align-items: end !important;
    justify-items: center !important;

    row-gap: clamp(22px, 7vw, 38px) !important;
    column-gap: 0 !important;
  }

  html body .founders-story .founders-story__text {
    width: min(96%, 390px) !important;

    transform: translate3d(
      0,
      calc(var(--founders-parallax) * -0.08),
      0
    ) !important;
  }

  html body .founders-story .founders-story__text h2 {
    font-size: clamp(2.55rem, 13vw, 4rem) !important;
    line-height: 0.91 !important;
    letter-spacing: -0.07em !important;
  }

  html body .founders-story .founder {
    width: 100% !important;

    transform: translate3d(
      0,
      calc(var(--founders-parallax) * 0.06),
      0
    ) !important;
  }

  html body .founders-story .founder--left {
    align-items: flex-end !important;
  }

  html body .founders-story .founder--right {
    align-items: flex-start !important;
  }

  html body .founders-story .founder img {
    width: clamp(170px, 54vw, 230px) !important;
    max-width: none !important;
  }

  html body .founders-story .founder--left img {
    transform: translate3d(10px, 0, 0) !important;
  }

  html body .founders-story .founder--right img {
    transform: translate3d(-10px, 0, 0) !important;
  }

  /*
   * Phones do not have reliable hover.
   * Keep the button subtly visible beneath each founder.
   */
  html body .founders-story .founder__more {
    min-width: auto !important;
    margin-top: 5px !important;
    padding: 7px 11px !important;

    font-size: 0.61rem !important;

    opacity: 0.72 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }
}

@media screen and (max-width: 360px) {
  html body .founders-story .founder img {
    width: clamp(155px, 52vw, 185px) !important;
  }

  html body .founders-story .founder__more {
    padding: 6px 9px !important;
    font-size: 0.58rem !important;
  }
}

/* Accessibility and lower-powered-device fallback */
@media (prefers-reduced-motion: reduce) {
  html body .founders-story,
  html body .founders-story .founders-story__text,
  html body .founders-story .founder {
    --founders-parallax: 0px !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Frequently asked questions */
.faq {
  --faq-stage-image: url("27d4be286260d04d617d245f0a073f85.jpg");
  padding: clamp(92px, 10vw, 150px) clamp(18px, 4vw, 64px);
  color: #fff;
  background: #020306;
  overflow: hidden;
}

.faq__inner {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.faq__header {
  display: block;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}

.faq__header h2 {
  margin: 0;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.faq__title-s {
  display: inline-block;
  margin-left: 0.02em;
  font-size: 0.62em;
  letter-spacing: -0.04em;
  vertical-align: 0.08em;
}

.faq__intro {
  max-width: 590px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.55;
}

.faq__stage {
  position: relative;
  min-height: clamp(440px, 48vw, 610px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)),
    var(--faq-stage-image);
  background-color: #12151a;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: clamp(26px, 3vw, 42px);
}

.faq__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 0.8px, transparent 0.8px);
  background-size: 19px 19px;
  opacity: 0.18;
}

.faq__viewport {
  position: relative;
  align-self: stretch;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-block: 38px;
  border-radius: inherit;
  touch-action: pan-y;
  cursor: grab;
}

.faq__viewport:active {
  cursor: grabbing;
}

.faq__viewport::before,
.faq__viewport::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  width: clamp(52px, 9vw, 128px);
  pointer-events: none;
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
}

.faq__viewport::before {
  left: -1px;
  background: linear-gradient(90deg, rgba(85, 119, 184, 0.94), rgba(85, 119, 184, 0));
  border-radius: clamp(26px, 3vw, 42px) 0 0 clamp(26px, 3vw, 42px);
  -webkit-mask-image: linear-gradient(90deg, #000 10%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 10%, transparent 100%);
}

.faq__viewport::after {
  right: -1px;
  background: linear-gradient(270deg, rgba(85, 119, 184, 0.94), rgba(85, 119, 184, 0));
  border-radius: 0 clamp(26px, 3vw, 42px) clamp(26px, 3vw, 42px) 0;
  -webkit-mask-image: linear-gradient(270deg, #000 10%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 10%, transparent 100%);
}

.faq__track {
  display: flex;
  flex: 0 0 auto;
  gap: clamp(16px, 2vw, 26px);
  width: max-content;
  padding-inline: clamp(76px, 11vw, 150px);
  will-change: transform;
  user-select: none;
}

.faq__item {
  position: relative;
  width: clamp(340px, 38vw, 470px);
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  color: #111318;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  transform: scale(1);
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.42s ease;
}

.faq__item.is-tapped {
  z-index: 3;
  transform: scale(1.035);
  box-shadow: 0 34px 84px rgba(0, 0, 0, 0.4);
}

.faq__item:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}

.faq__number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: clamp(56px, 6vw, 82px);
  color: rgba(17, 19, 24, 0.52);
  background: #f0f1f3;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
}

.faq__item h3 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.1vw, 29px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.faq__item p {
  margin: 0;
  color: rgba(17, 19, 24, 0.64);
  font-size: 14px;
  line-height: 1.58;
}

@media (max-width: 680px) {
  .faq {
    padding: 96px 0;
  }

  .faq__inner {
    width: 100%;
  }

  .faq__header {
    width: min(100% - 28px, 520px);
    padding-inline: 0;
    margin-bottom: 38px;
  }

  .faq__header h2 {
    font-size: clamp(47px, 15vw, 68px);
  }

  .faq__intro {
    max-width: 590px;
    margin-top: 18px;
    font-size: clamp(14px, 1.2vw, 17px);
  }

  .faq__stage {
    min-height: 520px;
    border-inline: 0;
    border-radius: 0;
  }

  .faq__track {
    gap: 14px;
    padding-inline: 42px;
  }

  .faq__item {
    width: min(78vw, 330px);
    min-height: 372px;
    padding: 26px;
    border-radius: 22px;
  }

  .faq__number {
    margin-bottom: 58px;
  }

  .faq__item h3 {
    font-size: 23px;
  }

  .faq__viewport::before,
  .faq__viewport::after {
    width: 52px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq__item {
    transition: none;
  }
}

/* Responsive service-card polish. */

.services .service-card--artwork .service-card__visual img {
  object-fit: cover !important;
  object-position: center bottom !important;
}

/* Keep the complete Branding artwork visible at every card size. */
.services .service-card--branding,
.services .service-card--branding .service-card__visual,
.services .service-card--branding .service-card__visual img {
  background-color: #5577b8;
}

.services .service-card.service-card--branding .service-card__visual {
  inset: -2px -2px -12px !important;
  border-radius: inherit;
}

.services .service-card.service-card--artwork.service-card--branding .service-card__visual img {
  object-fit: contain !important;
  object-position: center center !important;
  background: linear-gradient(to bottom, #5577b8 0%, #a9bcdf 50%, #a9bcdf 100%) !important;
}


.service-card--seo,
.service-card--development {
  gap: 10px;
}

.service-card--seo .service-card__header {
  min-height: 44px;
}

.service-card--development .service-card__header {
  min-height: 62px;
}

.service-card--seo .seo-story {
  min-height: 276px;
}

.service-card--development .build-story {
  min-height: 268px;
}

.seo-story__chatgpt-logo {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: grid;
  place-items: center;
  margin-right: 6px;
  overflow: hidden;
  border-radius: 50%;
}

.seo-story__chatgpt-logo img {
  width: 66px;
  height: 44px;
  max-width: none;
  display: block;
  transform: translate(-23px, -12px);
}

.seo-story[data-platform="chatgpt"] .seo-story__top {
  top: 13px;
  align-items: center;
}

.seo-story[data-platform="chatgpt"] .seo-story__platform {
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  line-height: 20px;
}

.seo-story[data-platform="chatgpt"] .seo-story__filters {
  top: 45px;
}

.seo-story[data-platform="chatgpt"]::before {
  top: 79px;
}

.seo-story[data-platform="chatgpt"] .seo-story__results {
  top: 107px;
  right: 16px;
  bottom: 99px;
  left: 16px;
}

.seo-story[data-platform="chatgpt"] .seo-story__search {
  right: 14px;
  bottom: 31px;
  left: 14px;
  min-height: 58px;
  padding: 13px 42px 13px 14px;
  transition: opacity 0.32s ease, filter 0.32s ease;
}

.seo-story[data-platform="chatgpt"] .seo-story__optimizer {
  inset: 101px 14px 38px;
  gap: 11px;
  padding: 15px;
}

.seo-story[data-platform="chatgpt"] .seo-story__optimizer p {
  font-size: 10px;
  line-height: 1.3;
}

.seo-story[data-platform="chatgpt"] .seo-story__optimizer div {
  grid-template-columns: 68px 1fr;
  gap: 9px;
  font-size: 8px;
}

.seo-story[data-platform="chatgpt"][data-phase="optimize"] .seo-story__search,
.seo-story[data-platform="chatgpt"][data-phase="optimize"] .seo-story__results {
  opacity: 0;
  filter: blur(5px);
}

.seo-story[data-platform="chatgpt"] .seo-story__caption {
  bottom: 10px;
}

@media (max-width: 760px) {
  .services .service-card {
    aspect-ratio: 305 / 390;
  }

  .service-card--seo .seo-story,
  .service-card--development .build-story {
    min-height: 0;
  }
}

/* About story: normal document flow below the cloud hero. */
.about-main .about-hero {
  position: relative;
  top: auto;
  z-index: 0;
}

.about-story {
  position: relative;
  z-index: 3;
  min-height: 112svh;
  padding: clamp(96px, 12vw, 180px) clamp(24px, 7vw, 112px) clamp(110px, 13vw, 190px);
  overflow: hidden;
  color: #060709;
  background: #fff;
  border-radius: clamp(30px, 4vw, 64px) clamp(30px, 4vw, 64px) 0 0;
  box-shadow: 0 -30px 80px rgba(41, 64, 115, 0.16);
}

.about-story__inner {
  width: min(1260px, 100%);
  margin: 0 auto;
}

.about-story__header {
  display: grid;
  grid-template-columns: minmax(130px, 0.34fr) minmax(0, 1.66fr);
  gap: clamp(28px, 6vw, 110px);
  align-items: start;
  padding-bottom: clamp(70px, 10vw, 150px);
  border-bottom: 1px solid rgba(6, 7, 9, 0.14);
}

.about-story__eyebrow {
  margin: 0;
  padding-top: 0.65em;
  color: rgba(6, 7, 9, 0.52);
  font-size: 14px;
  font-weight: 500;
}

.about-story h2 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(54px, 7.4vw, 118px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.94;
}

.about-story__body {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: clamp(60px, 11vw, 180px);
  align-items: start;
  padding-top: clamp(72px, 9vw, 132px);
}

.about-story__lead {
  max-width: 720px;
  margin: 0;
  font-size: clamp(30px, 4.1vw, 66px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.about-story__copy {
  display: grid;
  gap: 28px;
  padding-top: 0.45em;
}

.about-story__copy p {
  margin: 0;
  color: rgba(6, 7, 9, 0.68);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.7;
}

.about-story__eyebrow,
.about-story h2,
.about-story__lead,
.about-story__copy {
  opacity: 0;
  filter: blur(16px);
  transform: translateY(42px);
  transition:
    opacity 0.75s ease,
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-story.is-visible .about-story__eyebrow,
.about-story.is-visible h2,
.about-story.is-visible .about-story__lead,
.about-story.is-visible .about-story__copy {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.about-story.is-visible h2 { transition-delay: 0.08s; }
.about-story.is-visible .about-story__lead { transition-delay: 0.16s; }
.about-story.is-visible .about-story__copy { transition-delay: 0.24s; }

@media (max-width: 760px) {
  .about-story {
    min-height: 100svh;
    padding: 92px 22px 110px;
    border-radius: 30px 30px 0 0;
  }

  .about-story__header,
  .about-story__body {
    grid-template-columns: 1fr;
  }

  .about-story__header {
    gap: 32px;
    padding-bottom: 64px;
  }

  .about-story__eyebrow {
    padding-top: 0;
  }

  .about-story h2 {
    font-size: clamp(48px, 15vw, 76px);
  }

  .about-story__body {
    gap: 44px;
    padding-top: 64px;
  }

  .about-story__lead {
    font-size: clamp(30px, 9.5vw, 46px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-story__eyebrow,
  .about-story h2,
  .about-story__lead,
  .about-story__copy {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

/* About hero: cloud atmosphere and question-to-title reveal. */
.about-intro-page {
  min-height: 100%;
  margin: 0;
  color: #fff;
  background: #5577b8;
  font-family: "Poppins", sans-serif;
  /* `overflow-x: hidden` creates a scrolling ancestor that can break sticky
     positioning, especially in mobile browsers. Clip without creating one. */
  overflow-x: clip;
}

.about-main {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
}

.about-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(41, 64, 115, 0.03), rgba(41, 64, 115, 0.17));
}

.about-hero::before,
.about-hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.about-hero::before {
  inset: 0;
  background:
    radial-gradient(circle at 50% 75%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(41, 64, 115, 0.08), transparent 42%, rgba(41, 64, 115, 0.08));
}

.about-hero::after {
  right: 8%;
  bottom: -10%;
  width: 48vw;
  height: 38vw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  filter: blur(90px);
  opacity: 0.55;
}

.about-hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(41, 64, 115, 0.05) 0%, transparent 34%, rgba(41, 64, 115, 0.15) 100%);
  backdrop-filter: saturate(1.08);
  pointer-events: none;
}

.about-hero__stage {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 86px clamp(20px, 5vw, 76px);
}

.about-hero__question,
.about-hero__title {
  grid-area: 1 / 1;
  margin: 0;
}

.about-hero__question {
  color: rgba(255, 255, 255, 0.2);
  font-size: clamp(190px, 27vw, 430px);
  font-weight: 600;
  letter-spacing: -0.1em;
  line-height: 0.72;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.72);
  text-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 20px 55px rgba(41, 64, 115, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.62);
  opacity: 0;
  filter: blur(30px);
  transform: translateY(105%) scale(0.78);
  transform-origin: 50% 100%;
  will-change: transform, filter, opacity;
}

.about-hero.is-ready .about-hero__question {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
  transition:
    transform 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.92s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s ease;
}

.about-hero__title {
  width: 100%;
  padding-bottom: clamp(4px, 1vw, 16px);
  text-align: center;
  opacity: 0;
  filter: blur(28px);
  clip-path: circle(0% at 50% 72%);
  transform: translateY(38%) scale(0.82);
  transform-origin: 50% 82%;
  will-change: transform, filter, opacity, clip-path;
}

.about-hero__title-text {
  display: inline-block;
  color: rgba(255, 255, 255, 0.22);
  font-size: clamp(58px, 7.8vw, 132px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.92;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.3) 54%, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.68);
  filter: drop-shadow(0 18px 30px rgba(41, 64, 115, 0.28));
}

.about-hero.is-formed .about-hero__question {
  opacity: 0;
  filter: blur(34px);
  transform: translateY(-10%) scale(3.1, 0.28);
  transition:
    transform 0.78s cubic-bezier(0.7, 0, 0.3, 1),
    filter 0.72s ease,
    opacity 0.45s ease 0.1s;
}

.about-hero.is-formed .about-hero__title {
  opacity: 1;
  filter: blur(0);
  clip-path: circle(78% at 50% 72%);
  transform: translateY(0) scale(1);
  transition:
    transform 1.15s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s ease,
    clip-path 1.12s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 680px) {
  .about-hero {
    background-position: 53% center;
  }

  .about-hero__stage {
    inset: 0;
    min-height: 0;
    padding: 86px 20px;
  }

  .about-hero__question {
    font-size: clamp(170px, 66vw, 290px);
  }

  .about-hero__title-text {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .about-hero__title-text {
    font-size: clamp(56px, 17vw, 94px);
    font-weight: 600;
    line-height: 0.92;
    letter-spacing: -0.07em;
    white-space: normal;
  }
}

@supports (height: 100dvh) {
  .about-hero {
    height: 100dvh;
    min-height: 100dvh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero__question {
    display: none;
  }

  .about-hero__title {
    opacity: 1;
    filter: none;
    clip-path: none;
    transform: none;
  }
}

/* Interactive client map on the Offerings page. */
.client-map {
  padding: clamp(90px, 11vw, 170px) clamp(18px, 5vw, 76px) clamp(110px, 13vw, 190px);
  color: #080a0d;
  background: #fff;
}

.client-map__header {
  width: min(920px, 100%);
  margin: 0 auto clamp(48px, 7vw, 90px);
  text-align: center;
}

.client-map__header p {
  margin: 0 0 18px;
  color: rgba(8, 10, 13, 0.48);
  font-size: 13px;
}

.client-map__header h2 {
  margin: 0;
  font-size: clamp(54px, 7.5vw, 112px);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.client-map__header > span {
  display: block;
  max-width: 620px;
  margin: 24px auto 0;
  color: rgba(8, 10, 13, 0.56);
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.6;
}

.client-map__frame {
  position: relative;
  width: min(1320px, 100%);
  margin: 0 auto;
}

.client-map__stage,
.client-map-modal__map {
  position: relative;
  min-height: clamp(480px, 54vw, 700px);
  overflow: hidden;
  background: #f3f5f6;
  border: 1px solid #dfe3e6;
  border-radius: clamp(28px, 3vw, 46px);
  box-shadow: 0 34px 90px rgba(20, 30, 40, 0.1);
}

.client-map__viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}

.client-map__viewport.is-dragging { cursor: grabbing; }

.client-map__canvas {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  will-change: transform;
}

.client-map__world {
  width: 100%;
  height: 100%;
  display: block;
}

.client-map__ocean { fill: #f3f5f6; }
.client-map__grid line { stroke: rgba(91, 103, 112, 0.09); stroke-width: 1; }
.client-map__land {
  fill: #e2e6e8;
  stroke: #cbd1d5;
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}

.client-map__marker {
  position: absolute;
  z-index: 3;
  width: clamp(42px, 4vw, 58px);
  height: clamp(42px, 4vw, 58px);
  display: grid;
  place-items: center;
  padding: 6px;
  border: 4px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #0c1015;
  box-shadow: 0 12px 28px rgba(11, 18, 25, 0.25);
  cursor: pointer;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.client-map__marker::after {
  position: absolute;
  top: calc(100% + 7px);
  left: 50%;
  width: 8px;
  height: 8px;
  content: "";
  background: #11161d;
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translateX(-50%);
}

.client-map__marker:hover,
.client-map__marker:focus-visible,
.client-map__marker.is-active {
  z-index: 5;
  transform: translate(-50%, -50%) scale(1.14);
  box-shadow: 0 18px 36px rgba(11, 18, 25, 0.32);
}

.client-map__marker img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.client-map__marker .client-map__logo--citywalk,
.client-map__info-logo .client-map__logo--citywalk {
  transform: scale(2.8);
}

.client-map__marker span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.client-map__info {
  position: absolute;
  z-index: 7;
  right: clamp(18px, 3vw, 42px);
  bottom: clamp(18px, 3vw, 42px);
  width: min(360px, calc(100% - 36px));
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  color: #fff;
  background: rgba(8, 11, 15, 0.91);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
  pointer-events: none;
}

.client-map__info-logo {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
}

.client-map__info-logo img { width: 82%; height: 82%; object-fit: contain; }
.client-map__info-logo span { color: #080a0d; font-size: 13px; font-weight: 700; }
.client-map__info strong { display: block; font-size: 15px; line-height: 1.25; }
.client-map__info small { display: block; margin-top: 4px; color: rgba(255, 255, 255, 0.58); font-size: 11px; }
.client-map__info p { grid-column: 1 / -1; margin: 2px 0 0; color: rgba(255, 255, 255, 0.72); font-size: 12px; line-height: 1.45; }

.client-map__controls {
  position: absolute;
  z-index: 8;
  top: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 34px);
  display: flex;
  gap: 7px;
}

.client-map__controls button,
.client-map__expand,
.client-map-modal__close {
  border: 0;
  color: #fff;
  background: #0b0e12;
  cursor: pointer;
}

.client-map__controls button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 20px;
}

.client-map__expand {
  position: absolute;
  z-index: 9;
  top: clamp(18px, 3vw, 34px);
  left: clamp(18px, 3vw, 34px);
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 17px;
  border-radius: 999px;
  font-size: 12px;
}

.client-map__expand svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.client-map-modal {
  width: min(1500px, calc(100vw - 32px));
  max-width: none;
  height: min(900px, calc(100dvh - 32px));
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: clamp(24px, 3vw, 42px);
  background: #f3f5f6;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.42);
}

.client-map-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
}

.client-map-modal__map { min-height: 100%; border: 0; border-radius: inherit; }
.client-map-modal__close {
  position: absolute;
  z-index: 20;
  top: 20px;
  left: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}

body.client-map-open { overflow: hidden; }

@media (max-width: 680px) {
  .client-map { padding: 90px 14px 110px; }
  .client-map__stage { min-height: 68svh; border-radius: 28px; }
  .client-map__header { padding-inline: 12px; }
  .client-map__info { right: 12px; bottom: 12px; width: calc(100% - 24px); }
  .client-map__expand { top: 14px; left: 14px; }
  .client-map__controls { top: 14px; right: 14px; }
  .client-map__controls button { width: 38px; height: 38px; }
  .client-map__controls button:last-child { display: none; }
  .client-map-modal { width: calc(100vw - 12px); height: calc(100dvh - 12px); }
  .client-map-modal__close { top: 12px; left: 12px; }
}

/* Editorial map treatment: supplied world artwork, country-accurate static pins,
   no app chrome or interaction layer. */
.client-map {
  padding-inline: clamp(18px, 5vw, 76px);
}

.client-map__header {
  margin-bottom: clamp(12px, 2vw, 28px);
}

.client-map__frame {
  position: relative;
  width: min(1380px, 100%);
  aspect-ratio: 3 / 2;
}

.client-map__map-intro {
  position: absolute;
  z-index: 8;
  top: 10.5%;
  left: 50%;
  width: min(540px, 76%);
  margin: 0;
  color: rgba(8, 10, 13, 0.62);
  font-size: clamp(12px, 1.15vw, 16px);
  line-height: 1.5;
  text-align: center;
  transform: translateX(-50%);
}

.client-map__stage {
  position: absolute;
  inset: 0;
  min-height: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.client-map__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
  opacity: 0.94;
}

.client-map__feather {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 29%;
  pointer-events: none;
  background: linear-gradient(180deg, #fff 3%, rgba(255, 255, 255, 0.92) 34%, rgba(255, 255, 255, 0.48) 66%, rgba(255, 255, 255, 0));
}

.client-map__markers {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
}

.client-map__pin {
  position: absolute;
  display: grid;
  justify-items: center;
  transform: translate(-50%, -50%);
}

.client-map__pin-logo {
  width: clamp(38px, 4vw, 58px);
  height: clamp(38px, 4vw, 58px);
  display: grid;
  place-items: center;
  padding: 6px;
  overflow: hidden;
  color: #fff;
  background: #090c10;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.23);
}

.client-map__pin-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.client-map__pin-logo .client-map__brand-image--citywalk,
.client-map__spotlight-logo .client-map__brand-image--citywalk {
  width: calc(100% + 14px);
  height: calc(100% + 14px);
  max-width: none;
  max-height: none;
  object-fit: cover;
}

.client-map__pin-logo b {
  font-size: clamp(7px, 0.7vw, 10px);
  letter-spacing: -0.04em;
}

.client-map__pin-logo .client-map__logo--citywalk {
  transform: scale(2.8);
}

.client-map__pin-dot {
  width: 9px;
  height: 9px;
  margin-top: 6px;
  background: #090c10;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.client-map__pin-label {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  min-width: max-content;
  padding: 7px 10px;
  color: #fff;
  background: rgba(8, 11, 15, 0.88);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}

.client-map__pin-label strong,
.client-map__pin-label small {
  display: block;
  white-space: nowrap;
}

.client-map__pin-label strong { font-size: clamp(8px, 0.75vw, 11px); }
.client-map__pin-label small { margin-top: 2px; color: rgba(255, 255, 255, 0.62); font-size: clamp(7px, 0.65vw, 9px); }

.client-map__pin--citywalk .client-map__pin-label {
  left: calc(50% + clamp(54px, 5vw, 76px));
  top: 4px;
}

.client-map__pin--citywalk .client-map__pin-logo {
  position: relative;
  top: 13px;
  left: 20px;
}

.client-map__pin--elite .client-map__pin-label {
  right: calc(50% + clamp(22px, 2vw, 34px));
  left: auto;
  top: -3px;
  transform: none;
}

.client-map__pin--elite .client-map__pin-logo {
  position: relative;
  top: -13px;
  left: -20px;
}

@media (max-width: 680px) {
  .client-map { padding: 88px 18px 108px; }
  .client-map__header { padding-inline: 18px; }
  .client-map__frame { width: 100%; margin: 0 auto; }
  .client-map__map-intro { top: 8.5%; font-size: 10px; }
  .client-map__feather { height: 27%; }
  .client-map__pin-logo { width: 34px; height: 34px; padding: 5px; border-width: 2px; }
  .client-map__pin-dot { width: 7px; height: 7px; margin-top: 4px; border-width: 1px; }
  .client-map__pin-label { display: none; }
  .client-map__pin--citywalk { transform: translate(-28%, -30%); }
  .client-map__pin--elite { transform: translate(-78%, -76%); }
}

/* Rotating map focus: quiet country dots, one expanding logo and one synced
   client card. This layer intentionally overrides the earlier static labels. */
.client-map__header {
  margin-bottom: 0;
}

.client-map__map-intro {
  top: 3.5%;
}

.client-map__pin,
.client-map__pin--citywalk,
.client-map__pin--elite {
  transform: translate(-50%, -50%);
}

.client-map__pin-logo,
.client-map__pin--citywalk .client-map__pin-logo,
.client-map__pin--elite .client-map__pin-logo {
  position: static;
  top: auto;
  left: auto;
  width: 11px;
  height: 11px;
  padding: 0;
  background: #080b0f;
  border: 2px solid #fff;
  box-shadow: 0 5px 13px rgba(0, 0, 0, 0.24);
  transition:
    width 0.62s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.62s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.62s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease;
}

.client-map__pin-logo img,
.client-map__pin-logo b,
.client-map__pin-logo .client-map__avatar {
  opacity: 0;
  transform: scale(0.55);
  transition: opacity 0.3s ease 0.12s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
}

.client-map__pin.is-active {
  z-index: 4;
}

/* Pins respond to the pointer; the invisible ring makes the small dots easy to hover. */
.client-map__pin {
  pointer-events: auto;
  cursor: pointer;
}

.client-map__pin::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.client-map__pin:not(.is-active):hover .client-map__pin-logo {
  box-shadow: 0 0 0 4px rgba(8, 11, 15, 0.18), 0 5px 13px rgba(0, 0, 0, 0.24);
}

.client-map__pin.is-active .client-map__pin-logo {
  width: clamp(46px, 4.3vw, 62px);
  height: clamp(46px, 4.3vw, 62px);
  padding: 7px;
  box-shadow: 0 17px 38px rgba(0, 0, 0, 0.28);
}

.client-map__pin.is-active .client-map__pin-logo img,
.client-map__pin.is-active .client-map__pin-logo b,
.client-map__pin.is-active .client-map__pin-logo .client-map__avatar {
  opacity: 1;
  transform: scale(1);
}

.client-map__avatar {
  width: 78%;
  height: 78%;
  display: grid;
  place-items: center;
  color: #c8ced5;
}

.client-map__avatar svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: currentColor;
}

.client-map__pin.is-active .client-map__pin-logo .client-map__logo--citywalk {
  transform: scale(2.8);
}

.client-map__spotlight {
  position: absolute;
  z-index: 9;
  right: clamp(18px, 4vw, 60px);
  bottom: clamp(30px, 8%, 80px);
  width: min(350px, calc(100% - 36px));
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
  padding: 17px;
  color: #fff;
  background: rgba(8, 11, 15, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
  opacity: 0;
  filter: blur(9px);
  transform: translateY(12px);
  transition: opacity 0.35s ease, filter 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-map__spotlight.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.client-map__spotlight-logo {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 8px;
  overflow: hidden;
  color: #d5dae0;
  background: #232932;
  border-radius: 14px;
}

.client-map__spotlight-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.client-map__spotlight-logo .client-map__logo--citywalk {
  transform: scale(2.8);
}

.client-map__spotlight-logo b {
  font-size: 13px;
  letter-spacing: -0.04em;
}

.client-map__spotlight-copy strong,
.client-map__spotlight-copy small {
  display: block;
}

.client-map__spotlight-copy strong {
  font-size: 15px;
  line-height: 1.25;
}

.client-map__spotlight-copy small {
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.client-map__spotlight-copy small {
  display: flex;
}

.client-map__flag {
  position: relative;
  width: 18px;
  height: 12px;
  flex: 0 0 18px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.client-map__flag--gb {
  background:
    linear-gradient(33deg, transparent 42%, #fff 42% 48%, #c98442 48% 53%, #fff 53% 59%, transparent 59%),
    linear-gradient(-33deg, transparent 42%, #fff 42% 48%, #c98442 48% 53%, #fff 53% 59%, transparent 59%),
    linear-gradient(90deg, transparent 39%, #fff 39% 45%, #c98442 45% 56%, #fff 56% 62%, transparent 62%),
    linear-gradient(transparent 34%, #fff 34% 42%, #c98442 42% 58%, #fff 58% 66%, transparent 66%),
    #21468b;
}

.client-map__flag--sg {
  background: linear-gradient(#c98442 0 50%, #fff 50%);
}

.client-map__flag--sg::before {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 5px;
  height: 5px;
  content: "";
  border: 1.5px solid #fff;
  border-right-color: transparent;
  border-radius: 50%;
}

.client-map__flag--us {
  background: repeating-linear-gradient(180deg, #8a5630 0 1px, #fff 1px 2px);
}

.client-map__flag--us::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 6px;
  content: "";
  background: #3c3b6e;
}

.client-map__flag--kr {
  background: #fff;
}

.client-map__flag--kr::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  content: "";
  background: linear-gradient(180deg, #c98442 0 50%, #294073 50%);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(28deg);
}

/* Sri Lanka: gold border, green and saffron stripes, maroon field with the gold lion. */
.client-map__flag--lk {
  background: linear-gradient(90deg, #ffbe29 0 1px, #00534e 1px 3.5px, #f7941d 3.5px 6px, #ffbe29 6px 7px, #8d153a 7px 17px, #ffbe29 17px);
  box-shadow: inset 0 0 0 1px #ffbe29, 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.client-map__flag--lk::before {
  position: absolute;
  top: 3px;
  left: 9.5px;
  width: 5px;
  height: 6px;
  content: "";
  background: #ffbe29;
  border-radius: 45% 55% 25% 30%;
}

.client-map__flag--ie {
  background: linear-gradient(90deg, #a8742f 0 33.333%, #fff 33.333% 66.666%, #ff883e 66.666%);
}

.client-map__spotlight p {
  grid-column: 1 / -1;
  margin: 1px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 680px) {
  .client-map__header {
    margin-bottom: 22px;
    padding-inline: 10px;
  }
  .client-map__header p {
    margin-bottom: 14px;
    font-size: 12px;
  }
  .client-map__header h2 {
    font-size: clamp(47px, 15vw, 68px);
  }
  .client-map__frame {
    height: auto;
    aspect-ratio: auto;
    padding-bottom: 94px;
  }
  .client-map__stage {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 3 / 2;
  }
  .client-map__map-intro {
    position: relative;
    top: auto;
    left: auto;
    width: 90%;
    margin: 0 auto 42px;
    font-size: 14px;
    line-height: 1.55;
    transform: none;
  }
  .client-map__feather { display: none; }
  .client-map__pin.is-active .client-map__pin-logo { width: 42px; height: 42px; padding: 6px; }
  .client-map__spotlight {
    right: auto;
    bottom: -78px;
    left: 50%;
    width: min(300px, calc(100% - 24px));
    grid-template-columns: 38px 1fr;
    gap: 9px;
    padding: 10px;
    border-radius: 14px;
    transform: translate(-50%, 10px);
  }
  .client-map__spotlight.is-visible { transform: translate(-50%, 0); }
  .client-map__spotlight-logo { width: 38px; height: 38px; padding: 5px; border-radius: 9px; }
  .client-map__spotlight-copy strong { font-size: 13px; }
  .client-map__spotlight-copy small,
  .client-map__spotlight p { font-size: 11px; line-height: 1.3; }
  .client-map__spotlight-copy small { gap: 4px; margin-top: 2px; }
  .client-map__spotlight p { margin-top: 0; }
  .client-map__flag { width: 14px; height: 9px; flex-basis: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .client-map__pin-logo,
  .client-map__pin-logo img,
  .client-map__pin-logo b,
  .client-map__spotlight {
    transition: none;
  }
}

/* Careers and contact holding pages */
.pipeline-page {
  min-height: 100svh;
  background: #020305;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

.pipeline-main {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 148px 24px 96px;
  text-align: center;
}

.pipeline-panel {
  display: grid;
  justify-items: center;
  width: min(100%, 980px);
  gap: 28px;
}

.pipeline-panel__label {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 500;
  letter-spacing: 0;
}

.pipeline-panel h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.pipeline-panel__home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 24px;
  border-radius: 999px;
  background: #fff;
  color: #090a0c;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 180ms ease;
}

.pipeline-panel__home:hover {
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .pipeline-main {
    padding: 116px 18px 72px;
  }

  .pipeline-panel h1 {
    font-size: clamp(44px, 14vw, 68px);
  }
}

/* =========================================================
   INLINE EDITORIAL FOUNDERS SECTION
   ========================================================= */

.founders-inline {
  position: relative;
  width: 100%;
  min-height: clamp(680px, 92svh, 920px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(100px, 12vh, 150px) clamp(20px, 4vw, 72px);
  color: rgba(255, 255, 255, 0.46);
  background: var(--black);
}

.founders-inline__content {
  width: min(1240px, 100%);
  display: grid;
  justify-items: center;
}

.founders-inline__eyebrow {
  margin: 0 0 clamp(20px, 3vh, 34px);
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--font);
  font-size: clamp(0.82rem, 0.9vw, 1rem);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.founders-inline__headline {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 0.04em;
  font-size: clamp(3.35rem, 7vw, 7.5rem);
  font-weight: 600;
  line-height: 0.91;
  letter-spacing: -0.072em;
  text-align: center;
}

.founders-inline__line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.3vw, 24px);
  white-space: nowrap;
}

.founders-inline__line--lead {
  color: var(--white);
}

.founders-inline__media {
  width: clamp(112px, 11vw, 178px);
  aspect-ratio: 1.62;
  flex: 0 0 auto;
  display: block;
  overflow: hidden;
  background: var(--graphite);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: clamp(14px, 1.3vw, 22px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(0.035em);
}

.founders-inline__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 30%;
}

@media (max-width: 760px) {
  .founders-inline {
    min-height: 78svh;
    padding: 100px 14px 84px;
  }

  .founders-inline__eyebrow {
    margin-bottom: 24px;
    font-size: 0.78rem;
  }

  .founders-inline__headline {
    gap: 0.13em;
    font-size: clamp(2.65rem, 13.2vw, 4.2rem);
    line-height: 0.92;
    letter-spacing: -0.066em;
  }

  .founders-inline__line {
    gap: clamp(8px, 2.5vw, 14px);
  }

  .founders-inline__media {
    width: clamp(86px, 27vw, 124px);
    border-radius: 13px;
  }
}

/* Homepage service preview and its route to the complete About-page grid. */
.services--preview .services__grid {
  width: min(1260px, 100%);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: center;
}

.services__link {
  width: fit-content;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: clamp(28px, 4vw, 48px) auto 0;
  padding: 0 23px;
  color: var(--black);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s ease;
}

.services__link:hover,
.services__link:focus-visible {
  background: #eeeeeb;
  transform: translateY(-3px);
}

.services__link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.services__link:hover svg,
.services__link:focus-visible svg {
  transform: translate(2px, -2px);
}

.about-page {
  min-height: 100svh;
  background: var(--black);
}

.about-page .services {
  min-height: 100svh;
  padding-top: clamp(150px, 14vw, 210px);
  scroll-margin-top: 88px;
}

.site-header .header-cta {
  text-decoration: none;
}

@media (max-width: 1080px) {
  .services--preview .services__grid {
    width: min(632px, 100%);
    grid-template-columns: repeat(2, minmax(0, 305px));
  }
}

@media (max-width: 680px) {
  .services--preview .services__grid {
    width: min(305px, 100%);
    grid-template-columns: minmax(0, 1fr);
  }

  .services--full .service-card:nth-child(n + 4) {
    display: flex;
  }

  .about-page .services {
    padding-top: 126px;
  }

}

/* Keep longer approved reviews inside the fixed testimonial composition. */
.testimonial-slide--long .testimonial-slide__quote blockquote {
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

@media (max-width: 760px) {
  .testimonial-slide--long .testimonial-slide__quote blockquote {
    font-size: clamp(16px, 4.3vw, 19px);
    line-height: 1.25;
    letter-spacing: -0.02em;
  }
}

/* =========================================================
   SERVICES
   ========================================================= */

.services {
  width: 100%;
  padding: clamp(92px, 10vw, 150px) clamp(18px, 4vw, 64px);
  color: var(--white);
  background: var(--black);
}

.services__header {
  width: min(680px, 100%);
  margin: 0 auto clamp(46px, 6vw, 78px);
  text-align: center;
}

.services__mark {
  width: 28px;
  height: 28px;
  display: block;
  margin: 0 auto 14px;
  object-fit: cover;
  border-radius: 50%;
}

.services__header h1,
.services__header h2 {
  margin: 0;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.services__title-break {
  display: inline;
}

.services__intro {
  max-width: 570px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.55;
}

.services__grid {
  width: min(1260px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 22px);
  margin: 0 auto;
}

.service-card {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 305px;
  height: 390px;
  min-width: 0;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  padding: clamp(18px, 2vw, 25px);
  color: #000;
  background: #fff;
  border: 1px solid rgba(2, 3, 6, 0.045);
  border-radius: clamp(22px, 2vw, 30px);
}

.service-card--seo,
.service-card--development,
.service-card--seo .seo-story,
.service-card--development .build-story {
  background-color: #fff;
}

.service-card__header {
  position: relative;
  z-index: 2;
  min-height: 88px;
}

.service-card--seo .service-card__header {
  min-height: 64px;
}

.service-card__header > span {
  display: block;
  margin-bottom: 8px;
  color: rgba(0, 0, 0, 0.48);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.service-card__header h2,
.service-card__header h3 {
  margin: 0;
  color: #000;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.service-card__description {
  margin: 10px 0 0;
  color: rgba(0, 0, 0, 0.62);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: -0.015em;
}

.services__grid > .service-card--service-brand { order: 1; }
.services__grid > .service-card--service-web { order: 2; }
.services__grid > .service-card--service-seo { order: 3; }
.services__grid > .service-card--service-marketing { order: 4; }
.services__grid > .service-card--service-paid { order: 5; }
.services__grid > .service-card--service-strategy { order: 6; }

.service-card--service-brand,
.service-card--service-marketing,
.service-card--service-paid,
.service-card--service-strategy {
  background: #fff;
}

@media (min-width: 1081px) {
  .services__grid {
    width: min(1000px, 100%);
    grid-template-columns: repeat(3, minmax(0, 305px));
    justify-content: center;
  }
}

@media (min-width: 900px) {
  .services .services__grid,
  .services--preview .services__grid {
    width: min(1000px, 100%);
    grid-template-columns: repeat(3, minmax(0, 305px));
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .services--preview:not(.is-expanded) .service-card {
    display: none;
  }

  .services--preview:not(.is-expanded) .service-card--service-brand,
  .services--preview:not(.is-expanded) .service-card--service-web,
  .services--preview:not(.is-expanded) .service-card--service-seo {
    display: flex !important;
  }
}

.service-card__visual,
.seo-demo,
.code-demo {
  position: relative;
  min-height: 230px;
  flex: 1 1 auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(2, 3, 6, 0.055);
  border-radius: 20px;
}

.seo-demo {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.seo-demo__track {
  --seo-camera-y: 0px;
  min-height: 0;
  flex: 1 1 auto;
  transform: translate3d(0, var(--seo-camera-y), 0);
  transform-origin: center top;
  transition:
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.24s ease;
  will-change: transform, filter;
}

.seo-demo__viewport {
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.seo-demo__viewport.is-scrolling {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 5px, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 5px, #000 100%);
}

.seo-demo__track.is-camera-moving {
  filter: blur(3px);
}

.service-card--seo .seo-demo {
  overflow: hidden !important;
  contain: paint;
}

.seo-demo__label.is-entering {
  animation: seo-label-enter 0.62s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes seo-label-enter {
  from { opacity: 0; filter: blur(7px); transform: translateY(7px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

.service-card__visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  align-content: end;
  gap: 10px;
  padding: 24px 24px 38px;
  color: #000;
  background: transparent;
  border: 0;
  border-radius: inherit;
  font-size: 12px;
  text-align: center;
}

.service-card__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background: transparent;
}

.service-card:nth-child(-n + 2) .service-card__visual {
  inset: 72px 0 0;
}

.service-card:nth-child(-n + 2) .service-card__visual img {
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
}

.service-card--artwork .service-card__visual {
  inset: 0;
}

.service-card--artwork .service-card__visual img {
  object-fit: cover;
  object-position: center;
  opacity: 1;
}

@media (max-width: 760px) {
  .service-card--artwork .service-card__visual img {
    object-fit: contain;
    object-position: center;
  }
}

.seo-demo,
.code-demo {
  z-index: 1;
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.seo-demo__toolbar,
.code-demo__toolbar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 16px;
}

.seo-demo__toolbar {
  display: none;
}

.seo-demo__toolbar span,
.code-demo__toolbar span {
  width: 7px;
  height: 7px;
  display: block;
  background: rgba(2, 3, 6, 0.13);
  border-radius: 50%;
}

.seo-demo__label {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: fit-content;
  margin: 0 0 13px;
  padding: 0;
  color: rgba(0, 0, 0, 0.58);
  background: transparent;
  border-radius: 0;
  font-size: 11px;
  font-weight: 500;
}

.seo-demo__copy {
  display: inline;
  margin: 0;
  color: #000;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.34;
  letter-spacing: -0.015em;
}

.seo-demo__edit-target {
  padding: 0 0.08em;
  margin: 0 -0.08em;
  border-radius: 0.28em;
  transition:
    color 0.35s ease,
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}

.seo-demo__edit-target.is-highlighted {
  background: rgba(255, 220, 84, 0.52);
  box-shadow: 0 0 0 0.12em rgba(255, 220, 84, 0.18);
}

.seo-demo__edit-target.is-rewriting {
  animation: seo-copy-blur-out 0.3s cubic-bezier(0.4, 0, 1, 1) both;
}

.seo-demo__edit-target.is-optimized {
  animation: seo-copy-blur-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.seo-demo__copy.is-resetting {
  animation: seo-copy-reset 0.42s cubic-bezier(0.4, 0, 1, 1) both;
}

@keyframes seo-copy-blur-out {
  from { opacity: 1; filter: blur(0); transform: translateY(0); }
  to { opacity: 0; filter: blur(8px); transform: translateY(5px); }
}

@keyframes seo-copy-blur-in {
  from { opacity: 0; filter: blur(9px); transform: translateY(-5px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes seo-copy-reset {
  from { opacity: 1; filter: blur(0); transform: translateY(0); }
  to { opacity: 0; filter: blur(10px); transform: translateY(8px); }
}

.typed-character {
  animation: typed-character-reveal 0.44s
    cubic-bezier(0.16, 1, 0.3, 1) both;
}

.typing-caret {
  width: 2px;
  height: 1.1em;
  display: inline-block;
  margin-left: 2px;
  vertical-align: -0.16em;
  background: currentColor;
  animation: typing-caret 0.8s steps(1) infinite;
}

.code-demo {
  color: #000;
  background: transparent;
}

.code-demo__toolbar {
  padding: 0 0 12px;
  border: 0;
}

.code-demo__toolbar span {
  display: none;
}

.code-demo__toolbar strong {
  margin-left: 0;
  color: rgba(0, 0, 0, 0.58);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 400;
}

.code-demo pre {
  margin: 0;
  overflow: hidden;
  white-space: pre-wrap;
}

.code-demo code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 18px;
  line-height: 1.34;
}

.services__more {
  min-height: 50px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 24px auto 0;
  padding: 0 20px;
  color: var(--black);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
}

.services__more svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  transition: transform 0.25s ease;
}

.services__more:disabled {
  cursor: wait;
  opacity: 0.72;
}

.services.is-expanded .services__more svg {
  transform: rotate(45deg);
}

@keyframes typing-caret {
  50% {
    opacity: 0;
  }
}

@keyframes typed-character-reveal {
  from {
    opacity: 0;
    filter: blur(7px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

@media (max-width: 1080px) {
  .services__grid {
    width: min(632px, 100%);
    grid-template-columns: repeat(2, minmax(0, 305px));
    justify-content: center;
  }

  .service-card {
    min-height: 390px;
  }
}

@media (max-width: 680px) {
  .services {
    padding: 96px 14px;
  }

  .services__header {
    margin-bottom: 38px;
    padding-inline: 10px;
  }

  .services__header h1,
  .services__header h2 {
    font-size: clamp(47px, 15vw, 68px);
  }

  .services__title-break {
    display: none;
  }

  .services__grid {
    width: min(305px, 100%);
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .service-card {
    min-height: 390px;
    padding: 20px;
    border-radius: 25px;
  }

  .service-card__header h2,
  .service-card__header h3 {
    font-size: 20px;
  }

  .services:not(.is-expanded) .service-card:nth-child(n + 4) {
    display: none;
  }

  .services__more {
    display: flex;
  }
}

@media (min-width: 681px) and (max-width: 760px) {
  .testimonials {
    padding-block: 92px;
  }
}

@media (max-width: 680px) {
  .testimonials {
    padding-block: 96px;
  }
}

@media (max-width: 380px) {
  .service-card {
    min-height: 380px;
    height: 380px;
    padding: 17px;
  }

  .service-card__visual,
  .seo-demo,
  .code-demo {
    min-height: 215px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .typed-character,
  .typing-caret {
    animation: none;
  }
}

@media (max-width: 430px) {
  .founders-inline__headline {
    font-size: clamp(1.9rem, 11.25vw, 3.15rem);
  }

  .founders-inline__media {
    width: clamp(64px, 22vw, 104px);
  }
}

/* Compact horizontal navigation for small tablets. */
@media (min-width: 761px) and (max-width: 900px) {
  .navigation {
    width: 108px;
  }

  .navigation.is-open {
    width: min(700px, calc(100vw - 170px));
  }

  .navigation__toggle {
    flex-basis: 108px;
    padding-inline: 10px;
  }

  .navigation__links {
    gap: 2px;
    padding-right: 4px;
  }

  .navigation__links a {
    padding-inline: 10px;
    font-size: 13px;
  }
}

/* Keep only a short, subtle blend from the hero into the black About section. */
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -1px;
  left: 0;
  height: clamp(48px, 5.5vw, 76px);
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(2, 3, 6, 0),
    rgba(2, 3, 6, 0.32) 58%,
    var(--black) 100%
  );
}

.hero__title {
  z-index: 2;
}

/* All other section boundaries stay clean and transition-free. */
.testimonials::before {
  content: none !important;
}

.site-footer {
  border-top: 0;
}

/* Accessible booking typography. */
.booking-card__header p {
  font-size: 14px;
}

.booking-calendar__week span {
  font-size: 11px;
}

.calendar-day {
  font-size: 13px;
}

.selected-date-box span {
  font-size: 12px;
}

.selected-date-box strong {
  font-size: 14px;
}

.booking-form label > span,
.booking-field > span {
  font-size: 13px;
}

.time-picker__trigger,
.booking-form input,
.booking-form textarea,
.booking-form select,
.booking-form__submit {
  font-size: 16px;
  line-height: 1.4;
}

.time-picker__option {
  font-size: 14px;
}

.time-picker__booked-label {
  font-size: 11px;
}

.time-picker__empty,
.booking-form__status {
  font-size: 13px;
  line-height: 1.45;
}

.phone-field small {
  font-size: 12px;
  line-height: 1.45;
}

/* Keep supporting copy elsewhere on the page comfortably legible. */
.footer__detail-title,
.footer__nav p,
.footer__contact p,
.footer__bottom {
  font-size: 12px;
}

.footer__nav a,
.footer__contact > a,
.footer__detail-group > a,
.footer__social-links a {
  font-size: 14px;
}

.floating-discovery {
  font-size: 13px;
}

/*
 * Phone-only viewport correction. Dynamic viewport units track Safari's
 * expanding/collapsing browser chrome so the hero ends at the usable screen.
 */
@media (max-width: 760px) {
  .hero {
    width: 100%;
    height: 100svh;
    min-height: 100svh;
  }

  .hero__background-video {
    height: 100%;
    min-height: 100%;
  }

  @supports (height: 100dvh) {
    .hero {
      height: 100dvh;
      min-height: 100dvh;
    }
  }
}

@media (max-width: 680px) {
  .services.services--full .service-card:nth-child(n + 4) {
    display: flex;
  }
}

/* Pure-white review face across every viewport. */
.testimonial-slide__quote {
  background: #fff;
}

.testimonial-flip {
  display: none;
}

@media (max-width: 760px) {
  .testimonials {
    padding-inline: 15px;
  }

  .testimonial-stage {
    width: min(100%, 390px);
    height: auto;
    min-height: 0;
    aspect-ratio: 0.76;
    perspective: 1400px;
  }

  .testimonial-slide {
    height: 100%;
    min-height: 0;
    transform-style: preserve-3d;
  }

  .testimonial-slide__media,
  .testimonial-slide__quote {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    margin: 0;
    overflow: hidden;
    border-radius: clamp(28px, 8vw, 38px);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    transition:
      transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.45s ease;
  }

  .testimonial-slide__media {
    z-index: 2;
    opacity: 1;
    background: #fff;
    transform: rotateY(0deg) !important;
  }

  .testimonial-slide__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .testimonial-slide__quote {
    z-index: 1;
    padding: clamp(28px, 9vw, 48px);
    opacity: 0;
    background: #fff;
    transform: rotateY(180deg) !important;
  }

  .testimonial-slide.is-flipped .testimonial-slide__media {
    opacity: 0;
    transform: rotateY(-180deg) !important;
  }

  .testimonial-slide.is-flipped .testimonial-slide__quote {
    z-index: 3;
    opacity: 1;
    transform: rotateY(0deg) !important;
  }

  .testimonial-flip {
    position: absolute;
    z-index: 8;
    right: 16px;
    bottom: 16px;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    color: #fff;
    background: rgba(2, 3, 6, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font: 500 11px/1 var(--font);
    cursor: pointer;
  }

  .testimonial-slide.is-flipped .testimonial-flip {
    color: #fff;
    background: #000;
  }

  .services {
    padding-inline: 15px;
  }

  .services .services__grid {
    width: min(100%, 390px);
  }

  .services .service-card {
    width: 100%;
    max-width: 390px;
    height: auto;
    min-height: 0;
    aspect-ratio: 0.76;
  }
}

/* Circular page progress paired with the collapsed navigation. */
.navigation {
  z-index: 2;
}

.scroll-progress {
  --scroll-progress: 0;
  position: fixed;
  z-index: 0 !important;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    conic-gradient(
      #fff calc(var(--scroll-progress) * 1%),
      rgba(255, 255, 255, 0.16) 0
    );
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
  opacity: 0;
  pointer-events: none;
  filter: blur(12px);
  transition:
    opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity, filter;
}

.scroll-progress.is-ready {
  opacity: 1;
  filter: blur(0);
  transition:
    transform 0.68s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-progress::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: rgba(2, 3, 6, 0.96);
  border-radius: inherit;
}

.scroll-progress span {
  position: relative;
  z-index: 1;
  font-size: 10px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.navigation.is-open + .scroll-progress.is-ready {
  opacity: 0;
  filter: blur(10px);
}

.scroll-progress.is-relocating {
  animation: progress-motion-blur 0.76s ease both;
}

@keyframes progress-motion-blur {
  0%,
  100% {
    filter: blur(0);
    opacity: 1;
  }

  42%,
  58% {
    filter: blur(9px);
    opacity: 0.16;
  }
}

@media (max-width: 760px) {
  .scroll-progress {
    width: 42px;
    height: 42px;
  }

  .navigation.is-open + .scroll-progress {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress,
  .scroll-progress.is-relocating {
    animation: none;
    transition: none;
  }
}

/* Logo selectors use a clean black surface; logo artwork keeps its colors. */
.testimonial-tab,
.testimonial-tab.is-active {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.testimonial-tab:hover {
  background: #08090c;
}

@media (max-width: 760px) {
  .service-card__header > span {
    font-size: 13px;
  }

  .service-card__header h2,
  .service-card__header h3 {
    font-size: 22px;
    line-height: 1.14;
  }

  .service-card__visual {
    font-size: 14px;
  }

  .seo-demo__label {
    font-size: 13px;
  }

  .seo-demo__copy {
    font-size: 18px;
    line-height: 1.34;
  }
}

/* Shared editorial headings for the homepage story sections. */
.section-heading {
  width: min(760px, calc(100% - 36px));
  margin-inline: auto;
  color: #fff;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.section-heading p {
  max-width: 590px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.55;
}

.section-heading--featured {
  margin-bottom: clamp(46px, 6vw, 78px);
}

.section-heading--impact {
  width: min(760px, 100%);
  margin-bottom: clamp(46px, 6vw, 72px);
}

/* Featured project: editorial three-column folder composition. */
.featured-work {
  position: relative;
  width: min(100% - 32px, 1500px);
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(420px, 1.44fr) minmax(240px, 0.78fr);
  align-items: stretch;
  margin: 0 auto;
  overflow: hidden;
  color: #08090c;
  background:
    radial-gradient(circle at 50% 104%, rgba(240, 197, 144, 0.52), transparent 28%),
    #fff;
  border-radius: 34px;
}

.featured-work::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(240, 197, 144, 0.42));
}

.featured-work__column,
.featured-work__centre {
  position: relative;
  z-index: 1;
  padding: clamp(36px, 4.5vw, 70px);
}

.featured-work__column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(8, 9, 12, 0.07);
}

.featured-work__spotlight {
  border-right: 0;
  border-left: 1px solid rgba(8, 9, 12, 0.07);
}

.featured-work__eyebrow {
  margin: 0 0 12px;
  color: rgba(8, 9, 12, 0.46);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.featured-work h2,
.featured-work h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.featured-work__column > p:not(.featured-work__eyebrow) {
  margin: 28px 0 0;
  color: rgba(8, 9, 12, 0.68);
  font-size: 13px;
  line-height: 1.72;
}

.featured-work__description > a {
  width: fit-content;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 38px;
  color: #08090c;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(8, 9, 12, 0.35);
}

.featured-work__status {
  width: fit-content;
  display: inline-flex;
  margin-top: 38px;
  color: rgba(8, 9, 12, 0.56);
  font-size: 12px;
  font-weight: 500;
}

.featured-work__centre {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.featured-work__centre h3 {
  font-size: clamp(30px, 3.4vw, 54px);
}

.project-folder {
  position: relative;
  width: min(100%, 520px);
  height: 380px;
  display: block;
  margin-top: 40px;
  color: #08090c;
  text-align: left;
  text-decoration: none;
  perspective: 1100px;
}

.project-folder__back,
.project-folder__front {
  position: absolute;
  left: 4%;
  width: 92%;
  display: block;
  border: 1px solid rgba(8, 9, 12, 0.09);
  border-radius: 30px;
}

.project-folder__back {
  top: 34px;
  height: 292px;
  background: #f1f1ee;
  box-shadow: 0 25px 60px rgba(16, 17, 24, 0.12);
}

.project-folder__back::before {
  content: "";
  position: absolute;
  left: 0;
  top: -34px;
  width: 43%;
  height: 68px;
  background: #f1f1ee;
  border: 1px solid rgba(8, 9, 12, 0.09);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
}

.project-folder__cover {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 32px;
  height: 245px;
  display: block;
  overflow: hidden;
  background: #090b19;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(9, 11, 25, 0.22);
  transform: translateY(0) rotate(-1deg);
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-folder__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.project-folder__cover > span {
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: #fff;
  font-size: clamp(23px, 3vw, 40px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.project-folder__front {
  top: 150px;
  height: 180px;
  padding: 35px 38px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px rgba(16, 17, 24, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform-origin: center bottom;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-folder__front strong,
.project-folder__front small {
  display: block;
}

.project-folder__front strong {
  font-size: clamp(24px, 3.3vw, 42px);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.project-folder__front small {
  margin-top: 8px;
  color: rgba(8, 9, 12, 0.52);
  font-size: 12px;
}

.project-folder__open {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 11px 16px;
  color: #fff;
  background: #08090c;
  border-radius: 999px;
  font-size: 11px;
  transform: translateX(-50%);
}

.project-folder:hover .project-folder__cover,
.project-folder:focus-visible .project-folder__cover {
  transform: translateY(-38px) rotate(1deg);
}

.project-folder:hover .project-folder__front,
.project-folder:focus-visible .project-folder__front {
  transform: rotateX(-12deg) translateY(12px);
}

.featured-work__spotlight ul {
  display: grid;
  gap: 11px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.featured-work__spotlight li {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.88);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.2), transparent 36%),
    linear-gradient(135deg, rgba(154, 159, 171, 0.52), rgba(67, 71, 82, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -8px 18px rgba(0, 0, 0, 0.13),
    0 8px 24px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.featured-work__spotlight li::before {
  content: none;
}

@media (max-width: 1000px) {
  .featured-work {
    grid-template-columns: 1fr 1.35fr;
  }

  .featured-work__spotlight {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(8, 9, 12, 0.07);
    border-left: 0;
  }

  .featured-work__spotlight ul {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .section-heading {
    width: min(100% - 28px, 520px);
  }

  .section-heading h2 {
    font-size: clamp(47px, 15vw, 68px);
  }

  .section-heading p {
    margin-top: 18px;
  }

  .section-heading--featured,
  .section-heading--impact {
    margin-bottom: 38px;
  }

  .featured-work {
    width: calc(100% - 20px);
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .featured-work__column,
  .featured-work__centre {
    padding: 42px 25px;
    border: 0;
    border-bottom: 1px solid rgba(8, 9, 12, 0.07);
  }

  .featured-work__centre {
    order: -1;
  }

  .featured-work__spotlight {
    border-bottom: 0;
  }

  .project-folder {
    height: 315px;
    margin-top: 28px;
  }

  .project-folder__back {
    height: 242px;
  }

  .project-folder__cover {
    height: 205px;
  }

  .project-folder__front {
    top: 124px;
    height: 145px;
    padding: 28px;
  }

  .featured-work__spotlight ul {
    grid-template-columns: 1fr;
  }
}

/* Citywalk featured-work treatment: continuous black section + generated folder artwork. */
.featured-work {
  color: #fff;
  background: #030407;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.featured-work::after {
  display: none;
}

.featured-work__column,
.featured-work__spotlight {
  border-color: rgba(255, 255, 255, 0.09);
}

.featured-work__eyebrow,
.featured-work__column > p:not(.featured-work__eyebrow) {
  color: rgba(255, 255, 255, 0.48);
}

.featured-work__description > a,
.featured-work__spotlight li {
  border-color: rgba(255, 255, 255, 0.2);
}

.featured-work__description > a {
  color: #fff;
}

.featured-work__spotlight li {
  color: rgba(255, 255, 255, 0.88);
}

.featured-work__status {
  color: rgba(255, 255, 255, 0.52);
}

.project-folder--artwork {
  height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-folder__artwork {
  width: 100%;
  max-height: 355px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.38));
  transform: translateY(0) scale(0.96);
  transition:
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.6s ease;
}

.service-card--seo .seo-demo {
  overflow: hidden !important;
  contain: paint;
}

.project-folder--artwork:hover .project-folder__artwork,
.project-folder--artwork:focus-visible .project-folder__artwork {
  filter: drop-shadow(0 42px 55px rgba(0, 0, 0, 0.52));
  transform: translateY(-12px) scale(1);
}

@media (max-width: 680px) {
  .featured-work__column,
  .featured-work__centre {
    border-color: rgba(255, 255, 255, 0.09);
  }

  .project-folder--artwork {
    height: 305px;
  }

  .project-folder__artwork {
    max-height: 280px;
  }
}

/* White secondary-page canvas with black, blended service cards. */
.about-page {
  color: #030407;
  background: #fff;
}

.about-page .services {
  color: #030407;
  background: #fff;
}

.about-page .services__mark {
  filter: invert(1);
}

.about-page .services__header h1,
.about-page .services__header h2 {
  color: #030407;
}

.about-page .services__intro {
  color: rgba(3, 4, 7, 0.58);
}

.about-page .service-card {
  color: #030407;
  background: #fff;
  border-color: rgba(3, 4, 7, 0.08);
  box-shadow: 0 20px 55px rgba(3, 4, 7, 0.07);
}

.about-page .service-card__header h2,
.about-page .service-card__header h3,
.about-page .seo-demo__copy,
.about-page .code-demo {
  color: #030407;
}

.about-page .seo-demo__label,
.about-page .code-demo__toolbar strong {
  color: rgba(3, 4, 7, 0.58);
}

.about-page .typing-caret {
  background: #030407;
}

.about-page .service-card__visual.has-image img {
  background: #fff;
}

.about-page .service-card:nth-child(-n + 2) .service-card__visual {
  inset: 0;
}

.about-page .service-card:nth-child(-n + 2) .service-card__visual img {
  border-radius: inherit;
}

@media (max-width: 760px) {
  .services .service-card.service-card--artwork .service-card__visual {
    inset: 0;
  }

  .services .service-card.service-card--artwork .service-card__visual img {
    object-fit: contain;
    object-position: center;
    opacity: 1;
  }
}

.footer__call {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  font: 500 12px/1 var(--font);
  text-decoration: none;
}

/* Experimental service stories: search visibility and code-to-interface. */
.about-page .service-card.service-card--seo,
.about-page .service-card.service-card--development {
  background: #fff;
}

.seo-story,
.build-story {
  position: relative;
  z-index: 1;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  color: #06070a;
  background: #fff;
  border: 1px solid rgba(2, 3, 6, 0.07);
  border-radius: 18px;
}

.seo-story {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 7px;
  padding: 13px;
  font-family: var(--font);
  font-style: normal;
  text-transform: none;
  transition: opacity 0.42s ease, filter 0.42s ease;
}

.seo-story.is-resetting,
.build-story.is-resetting {
  opacity: 0;
  filter: blur(8px);
}

.seo-story__top,
.build-story__bar,
.build-story__browser-bar {
  display: flex;
  align-items: center;
}

.seo-story__top {
  justify-content: space-between;
  color: rgba(2, 3, 6, 0.46);
  font-size: 9px;
  font-weight: 500;
}

.seo-story__platform {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  transition: opacity 0.22s ease, filter 0.22s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.22s ease;
}

.seo-story__platform i {
  display: inline-block;
  font-style: normal;
  line-height: 1;
}

.seo-story__platform > span:not(.seo-story__instagram-mark) {
  display: inline-flex;
  align-items: center;
  min-height: 15px;
  line-height: 1;
}

.seo-story__platform--google {
  font-size: 12px;
  letter-spacing: -0.06em;
}

.seo-story__platform--google i:nth-child(1),
.seo-story__platform--google i:nth-child(4) { color: #5577b8; }
.seo-story__platform--google i:nth-child(2),
.seo-story__platform--google i:nth-child(6) { color: #c98442; }
.seo-story__platform--google i:nth-child(3) { color: #fbbc05; }
.seo-story__platform--google i:nth-child(5) { color: #e6ad61; }

.seo-story__platform svg,
.seo-story__instagram-mark {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin-right: 5px;
  vertical-align: middle;
}

.seo-story__instagram-mark {
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 68% 68%, #e6ad61 0 20%, #ff7a00 35%, #c98442 58%, #3a4f86 78%, #8398c6 100%);
  border-radius: 4px;
}

.seo-story__instagram-mark svg {
  width: 15px;
  height: 15px;
  margin: 0;
}

.seo-story__platform.is-changing {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(4px);
}

.seo-story__platform--facebook { color: #5577b8; }
.seo-story__platform--linkedin { color: #294073; }
.seo-story__platform--instagram { color: #8398c6; }
.seo-story__platform--chatgpt { color: #202123; }

.seo-story__chatgpt-logo {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: block;
  margin-right: 5px;
  overflow: hidden;
  border-radius: 50%;
}

.seo-story__chatgpt-logo img {
  width: 51px;
  height: 34px;
  max-width: none;
  display: block;
  transform: translate(-17px, -8px);
}

.seo-story[data-platform="chatgpt"] {
  display: block;
  color: #f7f7f8;
  background: #000;
  border-color: #222;
}

.seo-story[data-platform="chatgpt"]::before {
  content: "What should we work on?";
  position: absolute;
  top: 76px;
  right: 12px;
  left: 12px;
  color: #f7f7f8;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
}

.seo-story[data-platform="chatgpt"] .seo-story__top {
  position: absolute;
  z-index: 8;
  top: 12px;
  right: 12px;
  left: 12px;
  color: #f7f7f8;
}

.seo-story[data-platform="chatgpt"] .seo-story__platform {
  color: #f7f7f8;
  font-size: 11px;
}

.seo-story[data-platform="chatgpt"] [data-seo-status] {
  padding: 5px 9px;
  color: #d1d1d1;
  background: #1f1f1f;
  border-radius: 999px;
  font-size: 7px;
}

.seo-story[data-platform="chatgpt"] .seo-story__search {
  position: absolute;
  z-index: 7;
  right: 12px;
  bottom: 28px;
  left: 12px;
  min-height: 52px;
  align-items: flex-start;
  padding: 12px 13px;
  color: #e7e7e7;
  white-space: normal;
  background: #1f1f1f;
  border-color: #2d2d2d;
  border-radius: 16px;
  box-shadow: none;
}

.seo-story[data-platform="chatgpt"] .seo-story__glass {
  display: none;
}

.seo-story[data-platform="chatgpt"] .seo-story__search::after {
  content: "↑";
  position: absolute;
  right: 8px;
  bottom: 7px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #285b96;
  border-radius: 50%;
  font-size: 14px;
}

.seo-story[data-platform="chatgpt"] .seo-story__search i {
  background: #fff;
}

.seo-story[data-platform="chatgpt"] .seo-story__filters {
  position: absolute;
  z-index: 8;
  top: 41px;
  left: 50%;
  min-height: 22px;
  gap: 0;
  padding: 2px;
  border: 0;
  background: #181818;
  border-radius: 999px;
  transform: translateX(-50%);
}

.seo-story[data-platform="chatgpt"] .seo-story__filters span,
.seo-story[data-platform="chatgpt"] .seo-story__filters b {
  min-width: 40px;
  padding: 4px 8px;
  color: #a8a8a8;
  border-radius: 999px;
  font-size: 7px;
  text-align: center;
}

.seo-story[data-platform="chatgpt"] .seo-story__filters b {
  color: #fff;
  background: #2a2a2a;
}

.seo-story[data-platform="chatgpt"] .seo-story__filters b::after {
  content: none;
}

.seo-story[data-platform="chatgpt"] .seo-story__results {
  position: absolute;
  z-index: 5;
  top: 110px;
  right: 16px;
  bottom: 94px;
  left: 16px;
}

.seo-story[data-platform="chatgpt"] .seo-story__result--one,
.seo-story[data-platform="chatgpt"] .seo-story__result--two {
  display: none;
}

.seo-story[data-platform="chatgpt"] .seo-story__result {
  padding: 8px 0;
  color: #ececec;
  background: transparent;
  border-color: transparent;
  border-radius: 7px;
}

.seo-story[data-platform="chatgpt"] .seo-story__result small {
  width: max-content;
  margin-bottom: 7px;
  padding: 3px 6px;
  color: #b4b4b4;
  background: #262626;
  border-radius: 999px;
}

.seo-story[data-platform="chatgpt"] .seo-story__result strong {
  color: #f7f7f8;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
}

.seo-story[data-platform="chatgpt"] .seo-story__result--vervestac {
  inset: 0;
  background: transparent;
  border-color: transparent;
}

.seo-story[data-platform="chatgpt"] .seo-story__result--vervestac strong {
  color: #fff;
  font-weight: 600;
}

.seo-story[data-platform="chatgpt"] .seo-story__result span {
  margin-top: 5px;
  color: #b4b4b4;
  font-size: 8px;
  line-height: 1.4;
}

.seo-story[data-platform="chatgpt"] .seo-story__optimizer {
  inset: 92px 12px 87px;
  color: #f7f7f8;
  background: rgba(20, 20, 20, 0.98);
}

.seo-story[data-platform="chatgpt"] .seo-story__optimizer div {
  color: #aaa;
}

.seo-story[data-platform="chatgpt"] .seo-story__optimizer i {
  background: #303030;
}

.seo-story[data-platform="chatgpt"] .seo-story__optimizer i::after {
  background: linear-gradient(90deg, #a8742f, #e6ad61);
}

.seo-story[data-platform="chatgpt"] .seo-story__caption {
  position: absolute;
  right: 12px;
  bottom: 8px;
  left: 12px;
  color: #8e8e8e;
  font-size: 7px;
}

.seo-story[data-platform="facebook"] {
  background: #fff;
  border-color: #d8dade;
}

.seo-story[data-platform="facebook"] .seo-story__search {
  background: #e4e6eb;
  border-color: transparent;
  box-shadow: none;
}

.seo-story[data-platform="facebook"] .seo-story__filters b {
  color: #5577b8;
}

.seo-story[data-platform="facebook"] .seo-story__filters b::after {
  background: #5577b8;
}

.seo-story[data-platform="facebook"] .seo-story__result {
  background: #fff;
  border-color: #dddfe2;
  border-radius: 8px;
}

.seo-story[data-platform="facebook"] .seo-story__result strong {
  color: #050505;
  font-weight: 600;
}

.seo-story[data-platform="linkedin"] {
  background: #fff;
  border-color: #d8d6d1;
}

.seo-story[data-platform="linkedin"] .seo-story__search {
  background: #eef3f8;
  border-color: transparent;
  border-radius: 4px;
  box-shadow: none;
}

.seo-story[data-platform="linkedin"] .seo-story__filters b,
.seo-story[data-platform="linkedin"] .seo-story__result strong {
  color: #294073;
}

.seo-story[data-platform="linkedin"] .seo-story__filters b::after {
  background: #294073;
}

.seo-story[data-platform="linkedin"] .seo-story__result {
  background: #fff;
  border-color: #d6d3ce;
  border-radius: 7px;
}

.seo-story[data-platform="instagram"] .seo-story__search {
  background: #efefef;
  border-color: transparent;
  border-radius: 8px;
  box-shadow: none;
}

.seo-story[data-platform="instagram"] .seo-story__filters b {
  color: #8398c6;
}

.seo-story[data-platform="instagram"] .seo-story__filters b::after {
  background: linear-gradient(90deg, #ff7a00, #3a4f86, #8398c6);
}

.seo-story[data-platform="instagram"] .seo-story__result {
  background: #fff;
  border-color: #dbdbdb;
  border-radius: 8px;
}

.seo-story[data-platform="instagram"] .seo-story__result strong {
  color: #262626;
  font-weight: 600;
}

.seo-story__search {
  min-height: 35px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  overflow: hidden;
  white-space: nowrap;
  background: #fff;
  border: 1px solid #dfe1e5;
  border-radius: 999px;
  font-size: 10px;
  box-shadow: 0 1px 4px rgba(32, 33, 36, 0.14);
}

.seo-story__filters {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 13px;
  padding: 0 8px 3px;
  color: #70757a;
  border-bottom: 1px solid #ebebeb;
  font-size: 7px;
}

.seo-story__filters b {
  position: relative;
  color: #5577b8;
  font-weight: 500;
}

.seo-story__filters b::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 2px;
  background: #5577b8;
}

.seo-story__glass {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border: 1.5px solid rgba(2, 3, 6, 0.52);
  border-radius: 50%;
}

.seo-story__glass::after {
  content: "";
  width: 4px;
  height: 1.5px;
  display: block;
  margin: 7px 0 0 7px;
  background: rgba(2, 3, 6, 0.52);
  transform: rotate(45deg);
}

.seo-story__search i {
  width: 1px;
  height: 13px;
  background: #050609;
  animation: typing-caret 0.8s steps(1) infinite;
}

.seo-story__results,
.seo-story__optimizer {
  position: relative;
  min-height: 0;
}

.seo-story__results {
  display: grid;
  align-content: start;
  gap: 3px;
}

.seo-story__result {
  position: relative;
  display: grid;
  gap: 1px;
  padding: 4px 7px;
  opacity: 0;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 5px;
  transform: translateY(8px);
  transition: opacity 0.48s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.seo-story__result small {
  color: #202124;
  font-size: 7px;
}

.seo-story__result strong {
  color: #294073;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.2;
}

.seo-story__result span {
  color: #4d5156;
  font-size: 7px;
}

.seo-story[data-phase="missing"] .seo-story__result--one,
.seo-story[data-phase="missing"] .seo-story__result--two,
.seo-story[data-phase="found"] .seo-story__result {
  opacity: 1;
  transform: translateY(0);
}

.seo-story[data-phase="missing"] .seo-story__result--two {
  transition-delay: 0.12s;
}

.seo-story__result--vervestac {
  position: absolute;
  inset: 0 0 auto;
  opacity: 0;
  background: #fff;
  border-color: rgba(85, 119, 184, 0.28);
}

.seo-story[data-phase="found"] .seo-story__result--one {
  transform: translateY(46px) scale(0.96);
  opacity: 0.42;
}

.seo-story[data-phase="found"] .seo-story__result--two {
  transform: translateY(50px) scale(0.96);
  opacity: 0.3;
}

.seo-story[data-phase="found"] .seo-story__result--vervestac {
  z-index: 2;
  box-shadow: 0 8px 18px rgba(85, 119, 184, 0.13);
}

.seo-story__optimizer {
  position: absolute;
  inset: 90px 13px 34px;
  z-index: 4;
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 13px;
  opacity: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  transform: scale(0.96);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.seo-story[data-phase="optimize"] .seo-story__optimizer {
  opacity: 1;
  transform: scale(1);
}

.seo-story__optimizer p {
  margin: 0 0 2px;
  font-size: 9px;
  font-weight: 600;
}

.seo-story__optimizer div {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 7px;
  color: rgba(2, 3, 6, 0.56);
  font-size: 7px;
}

.seo-story__optimizer i {
  height: 4px;
  overflow: hidden;
  background: #ecebea;
  border-radius: 999px;
}

.seo-story__optimizer i::after {
  content: "";
  width: 0;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #8398c6, #8398c6);
  border-radius: inherit;
}

.seo-story[data-phase="optimize"] .seo-story__optimizer i::after {
  animation: seo-story-progress 1.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.seo-story[data-phase="optimize"] .seo-story__optimizer div:nth-child(3) i::after { animation-delay: 0.22s; }
.seo-story[data-phase="optimize"] .seo-story__optimizer div:nth-child(4) i::after { animation-delay: 0.44s; }

.seo-story__caption,
.build-story__caption {
  position: relative;
  z-index: 6;
  margin: 0;
  color: rgba(2, 3, 6, 0.54);
  font-size: 8px;
  line-height: 1.25;
}

@keyframes seo-story-progress {
  to { width: 100%; }
}

.build-story {
  isolation: isolate;
  transition: opacity 0.42s ease, filter 0.42s ease;
}

.build-story__code,
.build-story__browser {
  position: absolute;
  inset: 0 0 24px;
  padding: 12px;
  transition: opacity 0.65s ease, filter 0.65s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.build-story__code {
  overflow: hidden;
}

.build-story__code::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 68px;
  pointer-events: none;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.22) 28%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.22) 28%, #000 100%);
}

.build-story__bar,
.build-story__browser-bar {
  gap: 4px;
  padding-bottom: 10px;
}

.build-story__bar > span,
.build-story__browser-bar > span {
  width: 6px;
  height: 6px;
  background: rgba(2, 3, 6, 0.14);
  border-radius: 50%;
}

.build-story__bar strong {
  margin-left: 5px;
  color: rgba(2, 3, 6, 0.46);
  font: 400 7px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.build-story__code pre {
  margin: 0;
  white-space: pre-wrap;
}

.build-story__code code {
  color: #332a56;
  font: 400 8px/1.45 var(--font);
  letter-spacing: -0.025em;
}

.build-story__code pre i {
  width: 1px;
  height: 10px;
  display: inline-block;
  margin-left: 2px;
  background: #332a56;
  animation: typing-caret 0.8s steps(1) infinite;
}

.build-story__browser {
  padding: 8px;
  opacity: 0;
  filter: blur(10px);
  background: #e9e9e6;
  transform: translateY(20px) scale(0.9);
}

.build-story__browser-bar {
  height: 22px;
  padding: 0 6px;
}

.build-story__browser-bar small {
  margin-left: auto;
  color: rgba(2, 3, 6, 0.45);
  font-size: 6px;
}

.build-story__page {
  height: calc(100% - 22px);
  padding: 10px;
  overflow: hidden;
  background: #050609;
  border-radius: 9px;
  color: #fff;
}

.build-story__page b {
  font-size: 6px;
  letter-spacing: 0.04em;
}

.build-story__page h3 {
  margin: 15px 0 5px;
  color: #fff;
  font-size: 16px;
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-align: center;
}

.build-story__page p {
  margin: 0 auto 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 6px;
  text-align: center;
}

.build-story__page div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.build-story__page div span {
  min-height: 38px;
  display: grid;
  place-items: center;
  color: #050609;
  background: #fff;
  border-radius: 6px;
  font-size: 6px;
  font-weight: 600;
}

.build-story__caption {
  position: absolute;
  right: 12px;
  bottom: 9px;
  left: 12px;
}

.build-story[data-phase="assembling"] .build-story__code {
  opacity: 0.35;
  filter: blur(4px);
  transform: scale(0.92);
}

.build-story[data-phase="assembling"] .build-story__browser,
.build-story[data-phase="browser"] .build-story__browser {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.build-story[data-phase="browser"] .build-story__code {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(-14px) scale(0.88);
}

@media (max-width: 760px) {
  .seo-story__result strong { font-size: 10px; }
  .seo-story__caption,
  .build-story__caption { font-size: 9px; }
  .build-story__code code { font-size: 9px; }
  .build-story__page h3 { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .seo-story *,
  .build-story * {
    animation: none !important;
    transition: none !important;
  }
}

/* Final service-story sizing: kept last so legacy card rules cannot override it. */
.services .service-card--artwork .service-card__visual img {
  object-fit: cover !important;
  object-position: center bottom !important;
}

.service-card--seo,
.service-card--development {
  gap: 10px;
}

.service-card--seo .service-card__header {
  min-height: 105px;
}

.service-card--development .service-card__header {
  min-height: 105px;
}

.service-card--seo .seo-story {
  min-height: 215px;
}

.service-card--development .build-story {
  min-height: 215px;
}

.seo-story__chatgpt-logo {
  width: 20px;
  height: 20px;
  min-height: 20px;
  flex: 0 0 20px;
  display: grid;
  place-items: center;
  margin-right: 6px;
  overflow: hidden;
  border-radius: 50%;
}

.seo-story__chatgpt-logo img {
  width: 66px;
  height: 44px;
  max-width: none;
  display: block;
  transform: translate(-23px, -12px);
}

.seo-story[data-platform="chatgpt"] .seo-story__top {
  top: 13px;
  align-items: center;
}

.seo-story[data-platform="chatgpt"] .seo-story__platform {
  align-items: center;
  line-height: 20px;
}

.seo-story[data-platform="chatgpt"] .seo-story__filters {
  top: 45px;
}

.seo-story[data-platform="chatgpt"]::before {
  top: 79px;
}

.seo-story[data-platform="chatgpt"] .seo-story__results {
  top: 107px;
  right: 16px;
  bottom: 99px;
  left: 16px;
}

.seo-story[data-platform="chatgpt"] .seo-story__search {
  right: 14px;
  bottom: 31px;
  left: 14px;
  min-height: 58px;
  padding: 13px 42px 13px 14px;
  transition: opacity 0.32s ease, filter 0.32s ease;
}

.seo-story[data-platform="chatgpt"] .seo-story__optimizer {
  inset: 101px 14px 38px;
  gap: 11px;
  padding: 15px;
}

.seo-story[data-platform="chatgpt"] .seo-story__optimizer p {
  font-size: 10px;
  line-height: 1.3;
}

.seo-story[data-platform="chatgpt"] .seo-story__optimizer div {
  grid-template-columns: 68px 1fr;
  gap: 9px;
  font-size: 8px;
}

.seo-story[data-platform="chatgpt"][data-phase="optimize"] .seo-story__search,
.seo-story[data-platform="chatgpt"][data-phase="optimize"] .seo-story__results {
  opacity: 0;
  filter: blur(5px);
}

.seo-story[data-platform="chatgpt"] .seo-story__caption {
  bottom: 10px;
}

@media (max-width: 760px) {
  .services .service-card {
    aspect-ratio: 305 / 390;
  }

  .service-card--seo .seo-story,
  .service-card--development .build-story {
    min-height: 0;
  }
}

/* Offerings page: same type as the about page. */
.services--full #services-title {
  font-size: clamp(56px, 9vw, 112px);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1.02;
}

#client-map-title {
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.06;
}

.services--full .services__intro,
.client-map__map-intro {
  max-width: 640px;
  font-size: clamp(19px, 1.9vw, 24px);
  font-weight: 500;
  letter-spacing: .009em;
  line-height: 1.35;
}

/* Offerings cards match the home page: three columns across the same 1260px column. */
@media (min-width: 1081px) {
  .services--full .services__grid {
    width: min(1260px, calc(100% - 44px));
    max-width: none;
    margin-inline: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services--full .service-card {
    width: auto;
    max-width: none;
  }
}
