/* ============================================================================
   Custom Technology Solutions page. Body sections ported from the React
   CustomSoftware.tsx; the hero is Craig's Schematic system (services hero
   standard): this lane's DELIVERY PIPELINE drawn as a technical drawing
   (DWG AN-009), driven through stage states by an-custom.js. Loaded
   only on this page via its Styles section.
   ============================================================================ */

/* ---- Hero: THE SOURCE SHEET (pitch black; Craig picked A 2026-07-16) --------
   --an-dark-3 field, real C# typeset as a two-column code sheet anchored right
   (>=1024), copy left over a dark scrim, proof stats on the hero-floor
   hairline. Replaced the AN-009 pipeline drawing. ----------------------------- */
.an-ct-hero {
  position: relative;
  background: var(--an-dark-3);
  color: #fff;
  /* No bottom padding: the proof bar is the hero's floor (site standard). */
  padding: 144px 24px 0;
  overflow: hidden;
}
.an-ct-hero__inner {
  position: relative;
  max-width: 1300px;
  margin-inline: auto;
}
.an-ct-hero__h1 {
  font-weight: 800;
  font-size: 44px;
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 24px;
}
/* Keep "and keeps fitting." together so the break lands on the comma
   (the hero-lockup standard), while still wrapping internally on mobile. */
.an-ct-hero__h1 em { display: inline-block; }
.an-ct-hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 32px;
}
.an-ct-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.an-ct-hero__alt { font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.8); transition: color .2s var(--an-ease); }
.an-ct-hero__alt:hover { color: #fff; }

/* Mono sheet slate (desktop only). */
.an-ct-hero__slate {
  display: none;
  position: absolute;
  top: -44px; right: 0;
  font-family: var(--an-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  z-index: 4;
}
.an-ct-hero__slate-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--an-red-light);
  display: inline-block;
  margin-right: 8px;
  animation: an-ct-pulse 2s ease-in-out infinite;
}

/* The source sheet. Hidden below 1024; anchored right behind the copy above. */
.an-ct-hero__code, .an-ct-hero__code-tag { display: none; }

/* Copy sits above the sheet. */
.an-ct-hero__copy { position: relative; z-index: 2; }

/* Proof stats: hero-floor hairline (the white version's skinny band is
   retired with the black hero). */
.an-ct-hero__proofband {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.an-ct-hero__proofbar {
  max-width: 1300px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  padding: 28px 0 30px;
}
.an-ct-hero__proofbar > div { white-space: nowrap; }
.an-ct-hero__proof-num { font-weight: 800; font-size: 22px; color: #fff; }
.an-ct-hero__proof-label { font-weight: 700; font-size: 13.5px; color: rgba(255,255,255,0.5); margin-left: 8px; }

@keyframes an-ct-pulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* ---- What we deliver: weighted bento on paper --------------------------------
   Card size ranks the offer: Custom Web & Mobile feature (drafted app-frames
   motif), Legacy Modernization tall, the other two compact. */
.an-ct-deliver { background: var(--an-paper); padding: 64px 24px; }
.an-ct-deliver__inner { max-width: 1300px; margin-inline: auto; }
.an-ct-deliver__head { max-width: 720px; margin-bottom: 40px; }
.an-ct-deliver__h2 {
  font-weight: 800;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--an-ink);
}
.an-ct-deliver__h2 em { display: inline-block; }
.an-ct-deliver__grid { display: grid; gap: 20px; }
.an-ct-deliver__card {
  background: #fff;
  border: 1px solid var(--an-border);
  border-radius: 16px;
  padding: 32px;
  transition: transform .3s var(--an-ease), box-shadow .3s var(--an-ease);
}
.an-ct-deliver__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -20px rgba(26,27,25,0.25);
}
.an-ct-deliver__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(167,37,44,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.an-ct-deliver__icon svg { width: 20px; height: 20px; color: var(--an-red); }
.an-ct-deliver__title { font-weight: 700; font-size: 19px; color: var(--an-ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.an-ct-deliver__desc { font-size: 15px; color: var(--an-gray-3); line-height: 1.6; }
.an-ct-deliver__card--feature { display: flex; flex-direction: column; border-color: rgba(167,37,44,0.3); }
.an-ct-deliver__card--feature .an-ct-deliver__title { font-size: 23px; letter-spacing: -0.02em; }
.an-ct-deliver__card--feature .an-ct-deliver__desc { font-size: 16px; }
.an-ct-deliver__art { margin-top: 28px; width: 100%; max-width: 340px; }
.an-ct-deliver__card--tall { display: flex; flex-direction: column; }
.an-ct-deliver__art--tall { max-width: 220px; }

/* ---- How we work: sticky-scroll timeline, dark variant ---------------------- */
.an-ct-how { background: var(--an-dark); color: #fff; padding: 72px 24px; }
.an-ct-how__grid { max-width: 1300px; margin-inline: auto; display: grid; gap: 48px; }
.an-ct-how__h2 {
  font-weight: 800;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
}
.an-ct-how__h2 em { display: inline-block; }
.an-ct-how__lead { margin-top: 20px; font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.6; }
.an-ct-how__intro-cta { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }

/* Rail geometry mirrors the homepage timeline (spine insets 40/48) so the
   shared scroll-fill JS in an-home.js computes the same way. */
.an-ct-how__rail { position: relative; }
.an-ct-how__spine {
  position: absolute;
  left: 34px; top: 40px; bottom: 48px;
  width: 2px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
}
.an-ct-how__fill {
  position: absolute;
  left: 34px; top: 40px;
  width: 2px; height: 0;
  background: linear-gradient(to bottom, var(--an-red), var(--an-red-light));
  border-radius: 999px;
}
.an-ct-how__dot {
  position: absolute;
  left: 34px; top: 40px;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--an-red-light);
  box-shadow: 0 0 12px 3px rgba(196,73,80,0.5);
  opacity: 0;
}
.an-ct-how__phase {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  padding: 28px 0;
  align-items: start;
}
.an-ct-how__num-wrap { position: relative; display: flex; justify-content: center; }
.an-ct-how__num {
  position: relative;
  z-index: 1;
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--an-red-light);
  background: var(--an-dark);
  padding: 8px 0;
}
.an-ct-how__row-h { font-weight: 800; font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; color: #fff; margin-bottom: 8px; }
.an-ct-how__row-p { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.65; max-width: 560px; }

/* ---- Stack: drafted BILL OF MATERIALS table (DWG AN-010) --------------------- */
.an-ct-stack { background: #fff; padding: 64px 24px 48px; }
.an-ct-stack__inner { max-width: 1100px; margin-inline: auto; }
.an-ct-stack__head { max-width: 760px; margin-bottom: 36px; }
.an-ct-stack__h2 {
  font-weight: 800;
  font-size: 34px;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: var(--an-ink);
  margin-bottom: 20px;
}
.an-ct-stack__h2 em { display: inline-block; }
.an-ct-stack__p { font-size: 17px; color: var(--an-gray-3); line-height: 1.7; max-width: 640px; }
.an-ct-bom { border: 1px solid rgba(26,26,26,0.3); }
.an-ct-bom__caption {
  font-family: var(--an-font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(26,26,26,0.45);
  padding: 12px 20px;
  border-bottom: 1px solid rgba(26,26,26,0.3);
}
.an-ct-bom__cols { display: grid; }
.an-ct-bom__col { padding: 6px 20px 18px; }
.an-ct-bom__col + .an-ct-bom__col { border-top: 1px solid rgba(26,26,26,0.15); }
.an-ct-bom__col-h { font-weight: 800; font-size: 15px; color: var(--an-ink); padding: 14px 0 10px; border-bottom: 1px solid rgba(26,26,26,0.12); }
.an-ct-bom__row {
  display: grid;
  grid-template-columns: 40px 1fr;
  padding: 9px 0;
  border-bottom: 1px solid rgba(26,26,26,0.07);
  font-family: var(--an-font-mono);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--an-gray-2);
}
.an-ct-bom__row:last-child { border-bottom: 0; }
.an-ct-bom__row i { font-style: normal; color: var(--an-red); font-size: 12px; }
.an-ct-stack__tag { margin-top: 14px; text-align: right; font-family: var(--an-font-mono); font-size: 11px; letter-spacing: 0.15em; color: rgba(26,26,26,0.35); }

/* ---- Featured case: dark band on white (top trimmed, Craig round 1) --------- */
.an-ct-case { background: #fff; padding: 24px 24px 64px; overflow: hidden; }
.an-ct-case__band {
  position: relative;
  max-width: 1300px;
  margin-inline: auto;
  border: 1px solid rgba(167,37,44,0.3);
  background: var(--an-dark);
  border-radius: 24px;
  box-shadow: 0 30px 70px -34px rgba(0,0,0,0.4);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow: hidden;
}
.an-ct-case__glow {
  position: absolute;
  right: -80px; top: -80px;
  width: 288px; height: 288px;
  border-radius: 999px;
  background: rgba(167,37,44,0.15);
  filter: blur(90px);
  pointer-events: none;
}
.an-ct-case__copy { position: relative; max-width: 680px; }
.an-ct-case__h2 {
  font-weight: 800;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 12px;
}
.an-ct-case__h2 em { display: inline-block; }
.an-ct-case__p { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.6; }
.an-ct-case__btn { position: relative; align-self: flex-start; flex-shrink: 0; }

/* ---- FAQ: black accordion (homepage pattern, page-local styles; SEO
   JSON-LD rendered in the section) ------------------------------------------- */
.an-ct-faq { background: var(--an-dark); padding: 64px 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.an-ct-faq__inner { max-width: 1100px; margin-inline: auto; }
.an-ct-faq__head { margin-bottom: 36px; max-width: 760px; }
.an-ct-faq__h2 {
  font-weight: 800;
  font-size: 32px;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: #fff;
}
.an-ct-faq__h2 em { display: inline-block; }
.an-ct-faq__grid { display: grid; gap: 16px; }
.an-ct-faq__item {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  border-radius: 16px; padding: 24px; cursor: pointer;
  transition: border-color .3s var(--an-ease), background .3s var(--an-ease);
}
.an-ct-faq__item:hover { border-color: rgba(255,255,255,0.2); }
.an-ct-faq__item.is-open { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.an-ct-faq__q-row {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  /* Real button (keyboard-operable accordion): reset chrome, inherit type. */
  width: 100%; background: none; border: 0; padding: 0;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.an-ct-faq__q-row:focus-visible { outline: 2px solid var(--an-red-light); outline-offset: 4px; border-radius: 8px; }
.an-ct-faq__q { font-size: 18px; font-weight: 600; color: #fff; line-height: 1.4; }
.an-ct-faq__toggle {
  width: 40px; height: 40px; border-radius: 999px; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: transform .5s var(--an-ease), background .5s var(--an-ease), border-color .5s var(--an-ease);
}
.an-ct-faq__item.is-open .an-ct-faq__toggle { transform: rotate(45deg); background: var(--an-red); border-color: transparent; }
.an-ct-faq__a-wrap { overflow: hidden; max-height: 0; transition: max-height .4s var(--an-ease); }
.an-ct-faq__item.is-open .an-ct-faq__a-wrap { max-height: 420px; }
.an-ct-faq__a { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.7; padding-top: 20px; }

/* ---- CTA: red band (homepage an-cta treatment) ------------------------------ */
.an-ct-cta { position: relative; background: var(--an-red); padding: 88px 24px 72px; text-align: center; overflow: hidden; }
.an-ct-cta__light { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 50% 30%, rgba(255,255,255,0.12), transparent 70%); }
/* Top fades from the black FAQ above, bottom into the footer (Cloud blend). */
.an-ct-cta__dark { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(20,20,20,0.55), transparent 30%, transparent 60%, var(--an-red-deep)); }
.an-ct-cta__inner { position: relative; z-index: 2; max-width: 640px; margin-inline: auto; }
.an-ct-cta__h2 {
  font-weight: 800;
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 20px;
}
.an-ct-cta__h2 em { font-style: normal; color: rgba(255,255,255,0.95); display: inline-block; }
.an-ct-cta__p { font-size: 18px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 36px; }
.an-ct-cta__btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--an-red);
  padding: 16px 32px; border-radius: 12px; font-size: 16px; font-weight: 600;
  transition: transform .3s var(--an-ease), box-shadow .3s var(--an-ease);
}
.an-ct-cta__btn:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(0,0,0,0.3); }

/* ---- Responsive ------------------------------------------------------------- */
@media (min-width: 640px) {
  .an-ct-bom__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .an-ct-bom__col + .an-ct-bom__col { border-top: 0; border-left: 1px solid rgba(26,26,26,0.15); }
}
@media (min-width: 768px) {
  .an-ct-deliver__h2 { font-size: 44px; }
  .an-ct-deliver__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .an-ct-deliver__card--feature { grid-column: span 2; }
  .an-ct-deliver__card:last-child { grid-column: span 2; }
  .an-ct-how__h2 { font-size: 44px; }
  .an-ct-stack__h2 { font-size: 42px; }
}
@media (min-width: 1024px) {
  .an-ct-hero { padding: 176px 48px 0; }
  .an-ct-hero__proofband { margin-top: 56px; }
  .an-ct-hero__slate { display: block; }
  .an-ct-hero__copy { max-width: 560px; }
  .an-ct-hero__sub { font-size: 18px; }
  /* The source sheet anchors right, fades at its bottom edge, and stays
     clear of the proof band. */
  .an-ct-hero__code {
    display: flex;
    gap: 44px;
    position: absolute;
    top: 16px; right: 0; bottom: 40px;
    width: 52%;
    overflow: hidden;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
    pointer-events: none;
  }
  .an-ct-hero__col {
    flex: 1;
    font-family: var(--an-font-mono);
    font-size: 12px;
    line-height: 1.8;
    letter-spacing: 0.01em;
    color: rgba(255,255,255,0.42);
    white-space: pre;
    overflow: hidden;
    /* Right-edge fade so a cut token dissolves like the sheet's other edges
       (at 1024-1399 the left column clipped mid-token, audit CUSTOM-01). */
    -webkit-mask-image: linear-gradient(to right, #000 78%, transparent 100%);
    mask-image: linear-gradient(to right, #000 78%, transparent 100%);
  }
  .an-ct-hero__col i { font-style: normal; color: var(--an-red-light); opacity: 0.85; }
  .an-ct-hero__code-tag {
    display: block;
    position: absolute;
    right: 0; bottom: 16px;
    font-family: var(--an-font-mono);
    font-size: 10.5px;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.4);
    z-index: 2;
  }
  .an-ct-deliver { padding: 80px 48px 72px; }
  .an-ct-deliver__h2 { font-size: 52px; }
  /* Bento: feature left (2 rows), Legacy tall middle, two compact right. */
  .an-ct-deliver__grid { grid-template-columns: 1.5fr 1fr 1fr; grid-auto-rows: minmax(150px, auto); }
  .an-ct-deliver__card--feature { grid-column: 1; grid-row: 1 / 3; }
  .an-ct-deliver__card--tall { grid-column: 2; grid-row: 1 / 3; }
  .an-ct-deliver__card:last-child { grid-column: auto; }
  .an-ct-deliver__card--feature .an-ct-deliver__art { margin-top: auto; }
  .an-ct-deliver__card--tall .an-ct-deliver__art--tall { margin-top: auto; }
  .an-ct-how { padding: 88px 48px; }
  .an-ct-how__grid { grid-template-columns: 340px 1fr; gap: 80px; }
  .an-ct-how__intro { position: sticky; top: 128px; align-self: start; }
  /* 32px: the largest size where "keeps you in the room." holds one line
     in the 340px intro column, keeping the lockup break. */
  .an-ct-how__h2 { font-size: 32px; }
  .an-ct-how__spine, .an-ct-how__fill, .an-ct-how__dot { left: 50px; }
  .an-ct-how__phase { grid-template-columns: 100px 1fr; gap: 36px; padding: 36px 0; }
  .an-ct-how__num { font-size: 58px; }
  .an-ct-how__row-h { font-size: 26px; }
  .an-ct-stack { padding: 88px 48px 56px; }
  .an-ct-stack__h2 { font-size: 50px; }
  .an-ct-stack__p { font-size: 18px; }
  .an-ct-case { padding: 32px 48px 80px; }
  .an-ct-faq { padding: 80px 48px; }
  .an-ct-faq__h2 { font-size: 42px; }
  .an-ct-faq__grid { grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
  .an-ct-faq__item { padding: 28px; }
  .an-ct-case__band { padding: 48px; flex-direction: row; align-items: center; justify-content: space-between; }
  .an-ct-case__h2 { font-size: 34px; }
  .an-ct-case__btn { align-self: center; }
  .an-ct-cta { padding: 88px 48px; }
  .an-ct-cta__h2 { font-size: 44px; }
}
@media (min-width: 1280px) {
  /* 52px: the largest size where "and keeps fitting." holds one line,
     keeping the two-line hero lockup. */
  .an-ct-hero__h1 { font-size: 52px; }
  .an-ct-hero__copy { max-width: 700px; }
  /* One-line proof band. Below 1280 the four slots wrap. */
  .an-ct-hero__proofbar { flex-wrap: nowrap; justify-content: space-between; gap: 24px; }
}
@media (min-width: 1400px) {
  .an-ct-hero__code { width: 55%; }
  /* Both columns fit at 1400+; no edge fade needed. */
  .an-ct-hero__col { -webkit-mask-image: none; mask-image: none; }
  .an-ct-hero__proofband { margin-top: 72px; }
}

/* ---------------------------------------------------------------------------
   SITE AUDIT (2026-07-27) — Material Series continuity below 1200.
   THE SOURCE is this hero's whole design concept, but it was display:none
   below 1024, so phones and tablets got bare type on black. And from
   1024-1199 the absolute 52% column overlaps the 560px copy (same geometry
   the Cloud page logged as audit CLOUD-01).
   Fix: below 1200 the sheet renders IN FLOW under the CTAs as a single
   column (two columns of source cannot hold a phone's measure) with a
   hairline rule and its mono tag. At 1200+ the two-column composition is
   untouched.
--------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  /* This hero puts the code sheet BEFORE the copy in the DOM (irrelevant while
     it was absolutely positioned). In flow that would open the page on a wall
     of source, so the column is explicitly ordered copy -> sheet -> tag.
     The slate stays absolutely positioned and is unaffected by order. */
  .an-ct-hero__inner { display: flex; flex-direction: column; }
  .an-ct-hero__copy { order: 1; }
  .an-ct-hero__code { order: 2; }
  .an-ct-hero__code-tag { order: 3; }

  .an-ct-hero__code {
    display: block;
    position: static;
    width: auto;
    inset: auto;
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 76%, transparent 100%);
  }
  /* One column only: the second is the continuation of the same file and
     would halve an already-tight measure. */
  .an-ct-hero__col + .an-ct-hero__col { display: none; }
  .an-ct-hero__col {
    margin: 0;
    font-family: var(--an-font-mono);
    font-size: min(11px, 2.5vw);
    line-height: 1.9;
    letter-spacing: 0.01em;
    color: rgba(255,255,255,0.42);
    white-space: pre;
    overflow: hidden;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .an-ct-hero__col i { font-style: normal; color: var(--an-red-light); opacity: 0.85; }
  .an-ct-hero__code-tag {
    display: block;
    position: static;
    inset: auto;
    margin-top: 14px;
    font-family: var(--an-font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.34);
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .an-ct-hero__col { font-size: 12px; }
}

/* ---- Reduced motion ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .an-ct-hero__slate-dot { animation: none; }
}

/* Mobile tap target (audit SW-05): quiet hero link. CUSTOM-M04 bumps to 12px
   (was 10px = 43px tall, 1px under the 44px floor). */
@media (max-width: 767px) {
  .an-ct-hero__alt { display: inline-block; padding-block: 12px; }
}

/* ===========================================================================
   MOBILE UX PASS (2026-07-18). Mobile-breakpoint-gated; desktop untouched.
=========================================================================== */
@media (max-width: 767px) {
  /* CUSTOM-M01: 36px orphaned 'room.' as a widow; 32px holds the em lockup
     'keeps you in the room.' on one line at 360-430 (matches the file's own
     desktop-intro treatment of this headline). */
  .an-ct-how__h2 { font-size: clamp(28px, 8vw, 32px); }

  /* CUSTOM-M02: the featured-case CTA wrapped inside the desktop 36px padding;
     32px gives the 253px button room at 360+. */
  .an-ct-case__band { padding: 32px 24px; }

  /* CUSTOM-M03: the Legacy Modernization motif was capped at 220px in a ~279px
     card (60px dead air, 9px annotations); fill the column. */
  .an-ct-deliver__art--tall { max-width: 100%; }
}

/* CUSTOM-M05: at 360 the 44px H1 tips to 5 lines with 'fitting.' widowed;
   40px holds a clean 4-line stack. 375-430 keep 44px. */
@media (max-width: 374px) {
  .an-ct-hero__h1 { font-size: 40px; }
}
