/* ==========================================================================
   EOS Portfolio - Mobile Launch Overrides
   Scope: phones and narrow tablets only. Loaded after the main stylesheet.
   ========================================================================== */

@media (max-width: 768px) {
  :root {
    --header-height: 78px;
    --shell-width: min(760px, calc(100vw - 2rem));
    --mobile-card-radius: 24px;
    --mobile-card-padding: clamp(1.1rem, 4.4vw, 1.35rem);
    --mobile-field-height: 56px;
  }

  html {
    font-size: 16px;
    scroll-padding-top: calc(var(--header-height) + 18px);
  }

  body {
    overflow-x: clip;
    padding-bottom: 0;
    font-size: 16px;
    line-height: 1.68;
    letter-spacing: 0.01em;
    -webkit-text-size-adjust: 100%;
  }

  body:not(.is-high-contrast) {
    background:
      radial-gradient(circle at 16% 14%, rgba(42, 59, 255, 0.24), transparent 36%),
      radial-gradient(circle at 84% 12%, rgba(216, 168, 255, 0.14), transparent 38%),
      linear-gradient(180deg, #040713 0%, #050819 38%, #070d1f 100%);
  }

  #site-wrapper,
  .shell,
  main,
  main>section,
  .site-header,
  .site-footer {
    max-width: 100%;
  }

  html,
  body,
  #site-wrapper,
  .site-header,
  .site-header__inner,
  .site-nav,
  .hero,
  .hero__inner,
  .hero__copy,
  .contact,
  .site-footer,
  .site-footer__inner,
  .mobile-sticky-cta {
    overflow-x: clip;
  }

  .site-header__inner>*,
  .hero__copy>*,
  .contact__canvas>*,
  .site-footer__inner>* {
    min-width: 0;
  }

  .shell {
    width: min(100%, 760px);
    padding-inline: 16px;
  }

  .section-transition,
  .scroll-progress {
    display: none !important;
  }

  h1:not(.hero__title) {
    /* font-size: clamp(2rem, 8vw, 2.6rem); */
    line-height: 1.08;
    letter-spacing: 0.1em;
  }

  h2 {
    font-size: clamp(1.8rem, 7.2vw, 2.35rem);
    line-height: 1.14;
    letter-spacing: 0.08em;
  }

  h3 {
    font-size: clamp(1.42rem, 6.2vw, 1.9rem);
    line-height: 1.2;
    letter-spacing: 0.05em;
  }

  .section-head h2 {
    font-size: clamp(1.42rem, 6.2vw, 1.9rem);
    line-height: 1.2;
    letter-spacing: 0.05em;
  }

  h4 {
    font-size: clamp(1.04rem, 4.6vw, 1.2rem);
    line-height: 1.28;
    letter-spacing: 0.04em;
  }

  p,
  li,
  dd,
  blockquote,
  input,
  textarea,
  select {
    font-size: clamp(0.98rem, 3.8vw, 1.05rem);
    line-height: 1.72;
    text-wrap: pretty;
  }

  .section-kicker,
  .contact__label,
  .testimonial-card__role,
  .services-scene__detail-kicker,
  .services-scene__column-title,
  .services-scene__tags li,
  .about-chip,
  .about__eyebrow,
  .metric-card__label,
  .coverflow-mobile-hint,
  .testimonial-card__toggle,
  .site-footer__links a,
  .site-footer__link-btn {
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    line-height: 1.4;
  }

  .hero__lead,
  .manifesto__columns p,
  .services-scene__detail-subtitle,
  .testimonial-card__text,
  .contact__lede,
  .contact__list,
  .about__text,
  .about__step-desc,
  .about__list li,
  .team-card__list {
    text-transform: none;
    letter-spacing: 0.01em;
  }

  .manifesto,
  .coverflow,
  .services,
  .process,
  .team.about,
  .metrics,
  .testimonials,
  .contact {
    padding-block: clamp(4.25rem, 12vw, 5.5rem) !important;
  }

  .section-head {
    margin-bottom: 1.75rem !important;
  }

  .site-header {
    padding: max(0.55rem, env(safe-area-inset-top)) 0 0.75rem;
  }

  body:not(.is-high-contrast) .site-header {
    background: linear-gradient(180deg, rgba(4, 7, 20, 0.96), rgba(4, 7, 20, 0.78) 62%, rgba(4, 7, 20, 0.24));
    border-bottom: 1px solid rgba(144, 169, 255, 0.2);
    box-shadow: 0 18px 36px rgba(2, 5, 16, 0.34);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
  }

  .site-header__inner {
    min-height: calc(var(--header-height) - 0.5rem);
    gap: 0.75rem;
  }

  .site-logo {
    min-width: 0;
    max-width: calc(100vw - 12rem);
    gap: 0.7rem;
  }

  .site-logo__name {
    display: none;
  }

  .site-logo__img {
    display: block;
    height: 36px;
    width: auto;
  }

  .site-header__right {
    margin-left: auto;
    gap: 0.5rem;
    min-width: 0;
  }

  .site-header__actions {
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .site-menu-toggle,
  .btn-contact--mobile,
  .site-header__actions .site-chip {
    width: 50px;
    height: 50px;
    min-height: 50px;
    padding: 0;
    border-radius: 18px;
    flex-shrink: 0;
  }

  .btn-contact--mobile {
    display: inline-flex;
  }

  body:not(.is-high-contrast) .site-menu-toggle,
  body:not(.is-high-contrast) .btn-contact--mobile,
  body:not(.is-high-contrast) .site-header__actions .site-chip {
    background: rgba(9, 14, 34, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
  }

  .site-menu-toggle__icon {
    width: 24px;
    height: 24px;
    border: none;
  }

  .site-menu-toggle__icon span {
    width: 18px;
  }

  .site-header__actions .site-chip {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .site-header__actions .site-chip[data-lang-toggle]::after {
    content: none;
  }

  .site-nav {
    top: calc(var(--header-height) + max(env(safe-area-inset-top), 0px) - 6px);
    width: 100%;
    padding: 1.15rem 1rem calc(1.4rem + env(safe-area-inset-bottom));
  }

  body:not(.is-high-contrast) .site-nav {
    background: linear-gradient(180deg, rgba(4, 7, 20, 0.98), rgba(5, 8, 25, 0.95));
    border-top: 1px solid rgba(144, 169, 255, 0.16);
    box-shadow: 0 28px 48px rgba(2, 5, 16, 0.48);
  }

  .site-nav.is-open {
    max-height: calc(100dvh - var(--header-height) - env(safe-area-inset-top));
  }

  .mobile-menu {
    width: 100%;
    gap: 0.25rem;
  }

  .mobile-menu a {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0.95rem 0.35rem;
    text-align: left;
    font-size: 0.92rem;
    letter-spacing: 0.16em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero {
    position: relative;
    top: auto;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + max(env(safe-area-inset-top), 0px) + 1.8rem) !important;
    /* padding-bottom: calc(7.4rem + env(safe-area-inset-bottom)) !important; */
  }

  .hero__inner {
    display: grid;
    place-items: stretch;
    align-items: center;
    min-height: calc(100svh - var(--header-height) - 3.8rem);
    padding: clamp(1.15rem, 4.5vw, 1.65rem) 0 clamp(1.5rem, 5vw, 2rem);
    opacity: 1 !important;
    transform: none !important;
    will-change: auto;
  }

  .hero__inner .hero__copy {
    gap: 4.1rem;
    padding: 0.65rem 0 0.35rem;
    border-radius: 0;
    margin: auto;
    padding: 1rem;
    text-align: center;
  }


  body:not(.is-high-contrast) .hero__inner .hero__copy {
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero__background {
    inset: 0;
    transform: none !important;
    filter: none;
    opacity: 1;
    will-change: auto;
  }

  body:not(.is-high-contrast) .hero__background::before {
    animation: none;
    background:
      radial-gradient(60% 42% at 42% 38%, rgba(129, 222, 255, 0.22), transparent 54%),
      radial-gradient(40% 30% at 78% 18%, rgba(84, 163, 243, 0.16), transparent 60%),
      linear-gradient(180deg, rgba(3, 6, 18, 0.34) 0%, rgba(4, 8, 20, 0.74) 48%, rgba(4, 7, 20, 0.92) 100%);
  }

  body:not(.is-high-contrast) .hero__background::after {
    background: linear-gradient(180deg, rgba(2, 5, 14, 0.32) 0%, rgba(3, 7, 20, 0.6) 42%, rgba(3, 7, 19, 0.92) 100%);
  }

  .hero__bg-video {
    transform: none !important;
    opacity: 0.52;
    filter: saturate(115%) contrast(106%) brightness(0.36);
    object-position: center 40%;
    will-change: auto;
  }

  .hero__light,
  .hero__mist {
    display: none !important;
  }

  .hero__eyebrow {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    color: rgba(231, 241, 255, 0.92);
    width: fit-content;
    max-width: 100%;
  }

  body:not(.is-high-contrast) .hero__eyebrow {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
  }

  .hero__title {
    font-size: clamp(3.15rem, 17vw, 5rem) !important;
    line-height: 0.92;
    letter-spacing: 0.08em !important;
    max-width: 8ch;
    text-align: left;
    margin-top: 0.1rem;
  }

  .hero__title.hero__title--reveal {
    justify-self: start;
  }

  .hero__title-stage {
    margin-inline: 0;
  }

  /* .hero__lead {
    max-width: 30ch;
    margin: 0;
    font-size: clamp(1.02rem, 4.5vw, 1.12rem) !important;
    line-height: 1.78 !important;
    color: rgba(236, 243, 255, 0.92);
  } */

  .hero__cta {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    width: 100%;
    margin-top: 0.35rem;
    margin-bottom: 0;
  }

  .hero__cta .btn,
  .contact-form__submit,
  .eos-questionnaire-trigger,
  .about__more-btn,
  .services-scene__cta,
  .mobile-sticky-cta__link,
  .site-footer__links a,
  .site-footer__link-btn,
  .coverflow-more {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.2rem;
    border-radius: 18px;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
    text-wrap: balance;
    touch-action: manipulation;
  }

  .hero__cta .btn--ghost {
    display: inline-flex !important;
  }

  body:not(.is-high-contrast) .hero__cta .btn--primary,
  body:not(.is-high-contrast) .mobile-sticky-cta__link--primary,
  body:not(.is-high-contrast) .contact-form__submit {
    background: linear-gradient(135deg, rgba(78, 144, 226, 0.92), rgba(142, 214, 255, 0.98));
    border-color: rgba(184, 224, 255, 0.7);
    color: #04101f;
    box-shadow: 0 18px 38px rgba(5, 22, 60, 0.42);
  }

  body:not(.is-high-contrast) .hero__cta .btn--ghost,
  body:not(.is-high-contrast) .mobile-sticky-cta__link--ghost,
  body:not(.is-high-contrast) .eos-questionnaire-trigger,
  body:not(.is-high-contrast) .site-footer__links a,
  body:not(.is-high-contrast) .site-footer__link-btn {
    background: rgba(10, 17, 42, 0.78);
    border-color: rgba(176, 202, 255, 0.28);
    color: rgba(255, 255, 255, 0.96);
  }

  .hero__visual,
  .scroll-cue {
    display: none !important;
  }

  .manifesto__inner {
    max-width: none;
  }

  .manifesto__inner h2.type-emphases {
    font-size: clamp(1.9rem, 8vw, 2.7rem);
    line-height: 1.18;
  }

  .manifesto__columns {
    gap: 1rem;
    padding: var(--mobile-card-padding);
    border-radius: var(--mobile-card-radius);
  }

  body:not(.is-high-contrast) .manifesto__columns,
  body:not(.is-high-contrast) .services-scene__detail,
  body:not(.is-high-contrast) .services-scene__column,
  body:not(.is-high-contrast) .testimonial-card,
  body:not(.is-high-contrast) .contact__story,
  body:not(.is-high-contrast) .contact__experience,
  body:not(.is-high-contrast) #coverflow .tile,
  body:not(.is-high-contrast) .about-card,
  body:not(.is-high-contrast) .team-card--solo {
    background: linear-gradient(160deg, rgba(5, 8, 22, 0.88), rgba(8, 14, 34, 0.72));
    border-color: rgba(148, 173, 255, 0.2);
    box-shadow: 0 18px 48px rgba(2, 6, 18, 0.38);
  }

  .manifesto__columns::after {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  #coverflow .section-head {
    margin-bottom: 1.35rem !important;
  }

  #coverflow .section-kicker {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 1;
  }

  .coverflow-mobile-hint {
    display: inline-flex;
    margin-top: 0.25rem;
  }

  #coverflow .viewport {
    overflow-x: auto !important;
    overflow-y: visible;
    padding: 0.15rem 16px 0.55rem !important;
    scroll-padding-left: 16px;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
  }

  #coverflow .rail {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 1rem;
    min-width: max-content;
    padding: 0 16px 0.1rem 0;
    transform: none !important;
  }

  #coverflow .tile {
    flex: 0 0 min(86vw, 340px);
    width: min(86vw, 340px);
    height: clamp(280px, 80vw, 430px);
    border-radius: 24px;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }

  #coverflow .tile img {
    height: 100% !important;
    object-fit: cover;
    object-position: 50% 0;
    animation: none !important;
  }

  #coverflow .tile footer {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    gap: 0.55rem;
  }

  #coverflow .tile footer span {
    font-size: 0.72rem;
    padding: 0.35rem 0.65rem;
  }

  #coverflow .tile footer b {
    font-size: 1rem;
    letter-spacing: 0.08em;
    line-height: 1.25;
    max-width: 22ch;
    text-transform: none;
  }

  #coverflow .coverflow-dots {
    padding-top: 0.7rem;
  }

  #coverflow .coverflow-dots button {
    width: 10px;
    height: 10px;
  }

  .coverflow-more {
    margin-top: 1.1rem;
  }

  .services-scene__selector-wrap {
    overflow-x: auto;
    padding: 1rem;
    border: none;
  }

  .metrics__grid {
    grid-template-columns: repeat(auto-fit, minmax(310.1px, 1fr));
  }

  .services-plan-btn {
    --plan-rgb: 143, 182, 255;
    min-height: 64px;
    padding: 0.85rem 0.95rem;
    border-radius: 18px;
    align-content: start;
  }

  body:not(.is-high-contrast) .services-plan-btn {
    border-color: rgba(var(--plan-rgb), 0.34);
    /* background:
      linear-gradient(160deg, rgba(var(--plan-rgb), 0.24), rgba(8, 13, 36, 0.9) 72%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent); */
    /* box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 10px 22px rgba(3, 7, 20, 0.2); */
    color: rgba(248, 251, 255, 0.94);
  }

  .services-plan-btn[data-plan-target="starter"] {
    --plan-rgb: 42, 59, 255;
  }

  .services-plan-btn[data-plan-target="pro"] {
    --plan-rgb: 108, 99, 255;
  }

  .services-plan-btn[data-plan-target="premium"] {
    --plan-rgb: 255, 45, 141;
  }

  .services-plan-btn[data-plan-target="custom"] {
    --plan-rgb: 157, 77, 255;
  }

  #studio-team .about__intro {
    margin-bottom: 0 !important;
  }

  .services-plan-btn__name,
  .services-plan-btn__title {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    line-height: 1.28;
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  .services-plan-btn__target {
    max-width: none;
    font-size: 0.68rem;
    line-height: 1.45;
    text-align: center;
  }

  .services-plan-btn__price {
    font-size: 0.75rem;
    white-space: nowrap;
  }

  body:not(.is-high-contrast) .services-plan-btn[aria-pressed="true"] {
    border-color: rgba(var(--plan-rgb), 0.92);
    background:
      linear-gradient(160deg, rgba(var(--plan-rgb), 0.54), rgba(8, 14, 38, 0.94) 78%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent);
    box-shadow:
      0 14px 28px rgba(var(--plan-rgb), 0.24),
      0 0 0 1px rgba(var(--plan-rgb), 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
    color: #fff;
  }

  body:not(.is-high-contrast) .services-plan-btn[aria-pressed="true"] .services-plan-btn__price {
    color: rgba(255, 255, 255, 0.96);
  }

  .services-scene__detail {
    padding: var(--mobile-card-padding) !important;
    border-radius: var(--mobile-card-radius);
  }

  .services-scene__detail.is-switching {
    animation: none !important;
  }

  .services-scene__detail.is-shimmering::after {
    animation: none !important;
    opacity: 0 !important;
  }

  .services-scene__detail-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.95rem;
  }

  .services-scene__detail-title {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
    line-height: 1.08;
  }

  .services-scene__detail-subtitle {
    max-width: none;
    font-size: 1rem;
    line-height: 1.7;
  }

  .services-scene__detail-price {
    width: 100%;
    justify-items: start;
    text-align: left;
    gap: 0.45rem;
  }

  [data-services-detail-price] {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
  }

  .services-scene__tags {
    margin-top: 0.9rem;
    gap: 0.5rem 0.45rem;
  }

  .services-scene__tags li {
    padding: 0.45rem 0.72rem;
  }

  .services-scene__snapshot,
  .services-scene__compare {
    margin-top: 0.95rem;
    padding: 1rem;
    border-radius: 20px;
  }

  .services-scene__target {
    font-size: 1rem;
    line-height: 1.7;
  }

  .services-scene__summary {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .services-scene__summary li {
    padding-left: 1.1rem;
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .services-scene__compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .services-scene__compare-item {
    padding: 0.82rem 0.88rem;
  }

  .services-scene__compare-item dd {
    font-size: 0.92rem;
  }

  .services-scene__columns {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 1rem;
  }

  .services-scene__column {
    padding: 1rem;
    border-radius: 20px;
  }

  .services-scene__list {
    gap: 0.65rem;
  }

  .services-scene__list li {
    padding-left: 1.5rem;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .services-scene__cta {
    width: 100%;
    margin-top: 1rem;
  }

  .section-links {
    margin-top: 0.85rem;
    font-size: 0.88rem;
    line-height: 1.7;
  }

  .about-card,
  .team-card--solo {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: var(--mobile-card-padding) !important;
    border-radius: var(--mobile-card-radius);
    min-height: auto;
  }

  .about-card__body,
  .team-card__body {
    gap: 1rem;
    min-width: 0;
    overflow: visible;
  }

  .about-card__cols,
  .about__values,
  .team-card__columns {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .about-chip,
  .about__signature span {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    padding: 0.45rem 0.75rem;
  }

  .about__list {
    gap: 0.45rem;
    margin-top: 0.4rem;
  }

  .about__list li,
  .team-card__list {
    font-size: 0.96rem !important;
    line-height: 1.6;
  }

  .team-card__columns>div,
  .about__panel,
  .about__step {
    padding: 1rem;
  }

  #studio-team .section-head .about__headline {
    display: block;
    max-width: none;
    overflow: visible;
    text-wrap: balance;
    white-space: normal;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
  }

  #studio-team .about-title__line,
  #studio-team .about-title__text {
    display: block;
    overflow: visible;
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  #studio-team .about__manifesto-title {
    display: block;
    margin: 0;
    max-width: none;
    font-size: clamp(1.02rem, 4.4vw, 1.2rem);
    line-height: 1.5;
    letter-spacing: 0.025em;
    text-transform: none;
    white-space: normal;
    text-wrap: pretty;
    overflow-wrap: anywhere;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
  }

  #studio-team .about__lede {
    max-width: none;
    white-space: normal;
    text-wrap: pretty;
    overflow-wrap: anywhere;
  }

  #studio-team .about__lede--full {
    display: block;
  }

  #studio-team .about__lede--mobile {
    display: none;
  }

  #studio-team .about__more-btn {
    display: none !important;
  }

  #studio-team .about-card__cols {
    display: grid;
  }

  #studio-team .about__milestones {
    margin-top: 0;
    min-width: 0;
  }

  #studio-team .about__eyebrow,
  #studio-team .about__list li {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .testimonials__intro {
    margin-bottom: 1.5rem;
  }

  .testimonials__stage {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    overflow: visible;
    padding: 0;
  }

  .testimonial-card {
    min-width: 0;
    padding: var(--mobile-card-padding);
    border-radius: 26px;
    column-gap: 0.85rem;
    row-gap: 0.75rem;
  }

  .testimonial-card--main,
  .testimonial-card--secondary {
    min-height: 0;
    border-radius: 26px;
  }

  .testimonial-card__avatar {
    width: 72px;
    height: 72px;
  }

  .testimonial-card--secondary .testimonial-card__avatar {
    width: 60px;
    height: 60px;
  }

  .testimonial-card__name {
    font-size: 0.98rem;
    letter-spacing: 0.18em;
  }

  .testimonial-card__role {
    margin-top: 0.3rem;
    color: rgba(236, 243, 255, 0.72);
  }

  .testimonial-card__quote {
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0.18em;
    text-transform: none;
  }

  .testimonial-card__text {
    font-size: 0.98rem;
    line-height: 1.75;
    letter-spacing: 0.01em;
    color: rgba(236, 243, 255, 0.86);
    text-transform: none;
    -webkit-line-clamp: 6;
  }

  .testimonial-card__toggle {
    min-height: 46px;
    padding: 0.65rem 0.95rem;
  }

  .testimonial-nav {
    display: flex !important;
    gap: 0.75rem;
    justify-content: center;
  }

  .testimonial-nav__btn {

    min-height: 48px;
  }

  .testimonial-card__index {
    left: auto;
    right: clamp(1.8rem, 3vw, 3rem);
  }

  .contact__canvas {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .contact__story,
  .contact__experience {
    /* padding: var(--mobile-card-padding); */
    padding: 0;
    border-radius: var(--mobile-card-radius);
  }

  .contact__story {
    max-width: none;
    text-transform: none;
    letter-spacing: 0.02em;
  }

  .contact__lede {
    font-size: 1rem;
    line-height: 1.78;
    color: rgba(236, 243, 255, 0.88);
  }

  .contact__list {
    margin-top: 1.35rem;
    gap: 0.85rem;
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-transform: none;
  }

  .contact__label {
    margin-bottom: 0.18rem;
  }

  .contact__experience {
    justify-self: stretch;
  }

  .contact__heading {
    margin: 0;
    text-align: left;
    gap: 0.35rem;
    letter-spacing: 0.14em;
  }

  .contact__heading span {
    font-size: clamp(1.6rem, 8.5vw, 2.3rem);
    line-height: 1.04;
  }

  .contact__form {
    margin-top: 1.2rem;
    padding: 0;
    background: none;
    border: 0;
    gap: 1rem;
  }

  .contact-form__grid,
  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-form__column {
    gap: 1rem;
  }

  .contact-field {
    gap: 0.48rem;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
  }

  .contact-field input,
  .contact-field textarea {
    width: 100%;
    min-height: var(--mobile-field-height);
    padding: 0.95rem 1rem !important;
    border-radius: 18px;
    font-size: 1rem !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    box-shadow: none !important;
  }

  body:not(.is-high-contrast) .contact-field input,
  body:not(.is-high-contrast) .contact-field textarea {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: rgba(10, 16, 38, 0.84);
    color: rgba(255, 255, 255, 0.96);
  }

  .contact-field textarea,
  .contact-field--textarea textarea {
    min-height: 180px;
  }

  .contact-field input::placeholder,
  .contact-field textarea::placeholder {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: none;
    color: rgba(236, 243, 255, 0.54);
  }

  .contact-field input:focus-visible,
  .contact-field textarea:focus-visible {
    border-bottom-color: inherit;
  }

  body:not(.is-high-contrast) .contact-field input:focus-visible,
  body:not(.is-high-contrast) .contact-field textarea:focus-visible,
  body:not(.is-high-contrast) .contact-plan-select:focus-within {
    border-color: rgba(216, 168, 255, 0.72) !important;
    box-shadow: 0 0 0 3px rgba(216, 168, 255, 0.18) !important;
  }

  .contact-plan-select {
    min-height: var(--mobile-field-height);
    padding: 0 0.95rem;
    border-radius: 18px;
  }

  body:not(.is-high-contrast) .contact-plan-select {
    background: rgba(10, 16, 38, 0.84);
    border-color: rgba(255, 255, 255, 0.2);
  }

  .contact-plan-select select {
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-transform: none;
  }

  .contact-form__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .contact-form__actions .contact-form__submit,
  .contact-form__actions .eos-questionnaire-trigger {
    width: 100%;
  }

  .contact-form__actions .contact-form__submit {
    order: 0;
  }

  .contact-form__actions .eos-questionnaire-trigger {
    display: none !important;
  }

  .ui-hint-toggle {
    display: none;
  }

  .eos-questionnaire-status {
    display: none !important;
  }

  .ui-hint-toggle__btn {
    display: inline-flex !important;
    min-height: 46px;
  }

  .contact__form-message {
    min-height: 1.4rem;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: none;
  }

  .site-footer {
    padding: 3.5rem 0 calc(3.5rem + env(safe-area-inset-bottom));
  }

  body:not(.is-high-contrast) .site-footer {
    background: linear-gradient(180deg, rgba(4, 7, 20, 0.82), rgba(4, 7, 20, 0.96));
    border-top: 1px solid rgba(144, 169, 255, 0.18);
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  .site-footer__signature {
    margin: 0;
    /* max-width: 32ch; */
    font-size: 0.82rem;
    line-height: 1.6;
    letter-spacing: 0.04em;
    text-transform: none;
    color: rgba(236, 243, 255, 0.72);
  }

  .site-footer__links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    width: 100%;
  }

  .site-footer__links a,
  .site-footer__link-btn {
    justify-content: flex-start;
    width: 100%;
    text-decoration: none;
  }

  body:not(.is-high-contrast) .site-footer__links a[href="#accueil"] {
    background: linear-gradient(135deg, rgba(79, 143, 224, 0.24), rgba(143, 214, 255, 0.18));
    border-color: rgba(180, 224, 255, 0.36);
    color: #fff;
  }

  .site-footer__links a[href="#accueil"]::after {
    content: "↑";
    margin-left: auto;
    font-size: 1rem;
    line-height: 1;
  }

  .site-footer__link-btn {
    text-align: left;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1150;
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 1rem calc(0.95rem + env(safe-area-inset-bottom));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  body:not(.is-high-contrast) .mobile-sticky-cta {
    background: linear-gradient(180deg, rgba(4, 7, 20, 0.04), rgba(4, 7, 20, 0.94) 36%);
    border-top: 1px solid rgba(144, 169, 255, 0.22);
    box-shadow: 0 -16px 34px rgba(2, 5, 16, 0.28);
  }

  .mobile-sticky-cta.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-sticky-cta__link {
    min-height: 54px;
    border-radius: 18px;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    padding: 0.9rem 0.95rem;
    line-height: 1.15;
  }

  .mobile-back-to-top {
    bottom: calc(176px + env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  body:not(.is-high-contrast) .mobile-back-to-top {
    background: rgba(9, 14, 34, 0.9);
    border: 1px solid rgba(176, 202, 255, 0.24);
    box-shadow: 0 18px 34px rgba(2, 5, 16, 0.34);
  }

  .cookie-banner {
    bottom: calc(126px + env(safe-area-inset-bottom));
    width: min(560px, calc(100vw - 1rem));
    border-radius: 20px;
    max-height: min(62vh, 520px);
    overflow-y: auto;
  }
}

@media (max-width: 768px) and (hover: none) {

  .btn:active,
  .hero__cta .btn:active,
  .contact-form__submit:active,
  .eos-questionnaire-trigger:active,
  .services-scene__cta:active,
  .mobile-sticky-cta__link:active,
  .site-footer__links a:active,
  .site-footer__link-btn:active {
    transform: translateY(1px);
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 74px;
    --mobile-card-radius: 22px;
    --mobile-field-height: 54px;
  }

  body {
    padding-bottom: 0 !important;
  }

  .site-header__inner {
    gap: 0.55rem;
  }

  .site-logo {
    max-width: calc(100vw - 10.5rem);
  }

  .hero {
    padding-top: calc(var(--header-height) + max(env(safe-area-inset-top), 0px) + 1.25rem) !important;
    /* padding-bottom: calc(8.2rem + env(safe-area-inset-bottom)) !important; */
  }

  .hero__inner .hero__copy {
    gap: 4.1rem;
    padding: 0.65rem 0 0.35rem;
    border-radius: 0;
    margin: auto;
    padding: 1rem;
    text-align: center;
  }

  .services--wrap .services-plan-btn {
    background: linear-gradient(160deg, rgba(8, 13, 36, 0.6), rgb(15 28 97 / 50%));
    align-content: center;
  }

  .services-plan-btn {
    align-content: center;
  }

  .services-scene__selector-wrap {
    overflow-x: auto;
    padding-bottom: 0.2rem;
    border: none;
    background: none;
    gap: 1rem;
    box-shadow: none;
  }

  .testimonial-card.is-expanded {
    top: 50%;
  }


  section.services-scene__column.services-scene__column--muted, .services-plan-btn__price {
    display: none;
  }

  .hero__title {
    font-size: clamp(5.85rem, 16vw, 6.2rem) !important;
    letter-spacing: 0.07em !important;
    margin: auto;
  }

  .hero__lead {
    max-width: 100%;
    font-size: 1rem !important;
  }

  .hero__cta .btn,
  .contact-form__submit,
  .eos-questionnaire-trigger,
  .mobile-sticky-cta__link,
  .site-footer__links a,
  .site-footer__link-btn {
    min-height: 50px;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  #coverflow .tile {
    flex-basis: calc(100vw - 2.25rem);
    width: calc(100vw - 2.25rem);
    height: clamp(250px, 88vw, 380px);
  }

  .services-scene__detail {
    padding: 1.05rem 0 !important;
  }

  .testimonial-card {
    grid-template-columns: 64px 1fr;
    column-gap: 0.75rem;
  }

  .mobile-sticky-cta {
    gap: 0.5rem;
    padding-inline: 0.75rem;
  }

  .mobile-back-to-top,
  .cookie-banner {
    bottom: calc(164px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {

  .hero__background,
  .hero__bg-video,
  .hero__light,
  .hero__mist,
  .site-nav,
  .mobile-sticky-cta,
  .mobile-back-to-top,
  #coverflow .tile,
  .testimonial-card,
  .contact-form__submit,
  .eos-questionnaire-trigger {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
