/* =========================================================
   Mobile declutter pass (phones only, max-width 760px).
   Desktop is untouched: apart from hiding the phone-only intro strip, every rule sits inside the media query.
   Goals: keep the logo image clear of text, shorten what is read on first glance,
   and give long paragraphs a lighter, more scannable rhythm. Wording is unchanged.
   ========================================================= */

.m-intro { display: none; }
.svc-more { display: none; }
.hero-short { display: none; }

@media (max-width: 760px) {

  /* ---------- Hero: headline and one clear action, nothing on top of the mark ---------- */
  .scene-flow .scene-copy .hero-body { display: none; }
  .scene-flow.tall .scene-copy .hero-short { display: block; margin-top: 14px; max-width: 21rem; font-size: 1rem; line-height: 1.5; color: #CBD3D8; }
  .scene-flow:not(.tall) .scene-copy .hero-short { display: block; }
  /* The eyebrow repeats the opening caption ("AI Built to Work") the visitor has just watched. */
  .scene-flow.tall .eyebrow { display: none; }
  .scene-flow.tall .scene-copy { bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  .scene-flow.tall .scene-copy h1 { font-size: clamp(2.1rem, 1.5rem + 3vw, 2.75rem); line-height: 1; }
  .scene-flow.tall .scene-copy .ctas { margin-top: 22px; display: grid; justify-items: center; gap: 4px; width: 100%; }
  .scene-flow.tall .scene-copy .ctas .btn.light { width: min(100%, 20rem); justify-content: center; }
  /* Secondary action becomes a quiet text link, so there is one obvious button. */
  .scene-flow.tall .scene-copy .ctas .btn.line-light {
    border: 0; background: none; min-height: 44px; padding: 0 8px; color: #D5DCE0;
    text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(213,220,224,.5);
  }
  /* ---------- Intro strip: the hero paragraph, given room to be read ---------- */
  .m-intro { display: block; background: var(--midnight); color: var(--ivory); padding: 40px 0 44px; }
  .m-intro p { font-family: var(--display); font-size: 1.25rem; line-height: 1.4; letter-spacing: -0.01em; color: var(--ivory); max-width: 22em; }
  .m-intro p + p { margin-top: 14px; font-family: var(--body); font-size: 1rem; line-height: 1.6; letter-spacing: 0; color: #C3CCD2; }

  /* ---------- Shared type rhythm: smaller intro paragraphs, shorter lines ---------- */
  .sub, .head-row .sub, .impl-head .sub { font-size: 1.0625rem; line-height: 1.6; }
  .prose { gap: 14px; }
  .prose p { font-size: 1rem; line-height: 1.6; }
  .prose .lead { font-size: 1.375rem; line-height: 1.3; }
  .split { gap: 20px; }

  /* "You don't need to figure out AI on your own": supporting points read as a short list. */
  .gap .prose p:not(.lead) { position: relative; padding-left: 22px; }
  .gap .prose p strong { color: var(--midnight); font-weight: 600; }
  .gap .prose p:not(.lead)::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--slate); }

  /* ---------- What we do: cards with the detail one tap away ---------- */
  .services { gap: 12px; }
  .services li { background: var(--white); border: 1px solid var(--stone); border-top: 3px solid var(--midnight); padding: 18px 18px 14px; gap: 8px; }
  .services h3 { font-size: 1.25rem; }
  .services p { font-size: 0.9375rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .services li.open p { display: block; -webkit-line-clamp: unset; }
  .svc-more {
    display: inline-flex; align-items: center; justify-self: start; min-height: 40px; padding: 0; border: 0; background: none;
    font: inherit; font-size: 0.875rem; font-weight: 600; color: var(--midnight); cursor: pointer;
  }
  .svc-more::after { content: "+"; margin-left: 8px; font-weight: 400; font-size: 1.1em; }
  .services li.open .svc-more::after { content: "\2212"; }
  .svc-foot p { font-size: 0.9375rem; }

  /* ---------- See it in action: photo as a banner above the copy, never behind it ---------- */
  .ty-band { display: block; min-height: 0; padding: 0 0 56px; background: var(--ivory); }
  .ty-band .band-img { position: relative; inset: auto; height: 220px; object-position: 60% 40%; }
  .ty-band .band-shade { display: none; }
  .ty-band .band-copy { padding-top: 32px; }
  .ty-band .band-copy p:not(.fine) { font-size: 1rem; line-height: 1.6; }
  .ty-band .band-copy h2 + p { font-family: var(--display); font-size: 1.25rem; line-height: 1.35; color: var(--midnight); }
  .ty-band .ctas { display: grid; gap: 10px; }
  .ty-band .ctas .btn { width: 100%; justify-content: center; }

  /* ---------- Contact: same treatment, so the form sits on a calm background ---------- */
  .contact-band { padding-top: 0; }
  .contact-band .band-img { position: relative; inset: auto; height: 180px; opacity: 1; }
  .contact-band .band-shade { top: 180px; background: var(--midnight); }
  .contact-grid { padding-top: 32px; }
  .contact-grid .sub { font-size: 1rem; }
}
