@media screen and (prefers-reduced-motion: no-preference) {
  :root {
    --ease-out: cubic-bezier(.2, .75, .25, 1);
    --ease-shift: cubic-bezier(.25, .78, .25, 1);
  }


  .motion-enhanced .page-intro > * { animation: rise-in .65s var(--ease-out) both; }
  .motion-enhanced .page-intro > h1 { animation-delay: .07s; }
  .motion-enhanced .page-intro > p:not(.eyebrow) { animation-delay: .14s; }
  .motion-enhanced .page-intro > .button { animation-delay: .2s; }

  .motion-enhanced .reveal { transition: opacity .62s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
  .motion-enhanced .reveal:not(.is-visible, :focus-within, :target) { opacity: 0; transform: translateY(1.35rem); }
  .motion-enhanced .reveal:focus-within { transition: none; }
  .motion-enhanced .feature-art.reveal:not(.is-visible, :focus-within) { transform: translateY(1.1rem) scale(.97); }

  .feature-flow { position: relative; overflow: hidden; isolation: isolate; }
  .feature-flow::before {
    content: "";
    position: absolute;
    inset: -28% -15% -28% 35%;
    z-index: -1;
    background:
      repeating-radial-gradient(ellipse at 78% 55%, transparent 0 1rem, #a9d2df20 1.03rem 1.08rem, transparent 1.12rem 1.45rem),
      radial-gradient(ellipse at 83% 55%, #2d5566, transparent 64%);
    opacity: .8;
    mask-image: linear-gradient(90deg, transparent, #000 45%);
  }
  .feature-flow.is-visible::before { animation: ripples-in 1.35s var(--ease-out) both; }
  .feature-flow.is-visible li { animation: flow-in .58s var(--ease-out) both; }
  .feature-flow.is-visible li:nth-child(1) { animation-delay: .14s; }
  .feature-flow.is-visible li:nth-child(2) { animation-delay: .28s; }
  .feature-flow.is-visible li:nth-child(3) { animation-delay: .42s; }
  .feature-flow.is-visible li:not(:last-child)::after { animation: draw-flow .42s .34s var(--ease-out) both; transform-origin: top; }

  .contact-strip { position: relative; isolation: isolate; overflow: hidden; }
  .contact-strip::after {
    content: "";
    position: absolute;
    inset: 0 0 0 44%;
    z-index: -1;
    background: repeating-radial-gradient(ellipse at 91% 82%, transparent 0 1.35rem, #b9deea20 1.38rem 1.43rem, transparent 1.48rem 2rem);
    mask-image: linear-gradient(90deg, transparent, #000 74%);
    pointer-events: none;
  }

  .button, .nav-contact {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: background-color .22s, border-color .22s, color .22s, translate .26s var(--ease-out), box-shadow .26s;
  }
  .button::after, .nav-contact::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 30%, #ffffff52 50%, transparent 70%);
    translate: -120% 0;
  }
  .button:not(:disabled):active, .nav-contact:active { translate: 0 1px; }
  .button:focus-visible, .nav-contact:focus-visible { box-shadow: 0 0 0 3px #40788f60; }
  .filters button { transition: color .2s, background-color .2s, border-color .2s; }
  .filters button:active { translate: 0 1px; }
  .field-card, .product-card, .resource-row .field-icon { transition: border-color .24s, box-shadow .26s, translate .28s var(--ease-out), background-color .24s; }
  .field-card.reveal, .product-card.reveal { transition: opacity .62s var(--ease-out), transform .7s var(--ease-out), border-color .24s, box-shadow .26s, translate .28s var(--ease-out); }
  .field-card.reveal:not(.is-visible), .product-card.reveal:not(.is-visible) { transition-delay: var(--reveal-delay, 0ms); }
  .field-card.is-visible, .product-card.is-visible { transition-delay: var(--reveal-delay, 0ms), var(--reveal-delay, 0ms), 0ms, 0ms, 0ms; }
  .field-card .field-icon svg { transition: translate .32s var(--ease-out), rotate .32s var(--ease-out); }
  .product-art { overflow: hidden; }
  .product-art img { transition: scale .65s var(--ease-out); }
  .accordion summary svg { transition: transform .28s var(--ease-out); }
  .accordion details[open] > p { animation: rise-in .28s var(--ease-out) both; }
  .has-menu .nav.is-open { animation: flow-in .23s var(--ease-out) both; }
  .contact-form :is(input, select, textarea) { transition: border-color .2s, background-color .2s; }
  .contact-form :is(input, select, textarea):focus { border-color: var(--action); background-color: var(--white); }

  @media (hover: hover) {
    .button:not(:disabled):hover, .nav-contact:hover {
      translate: 0 -2px;
      box-shadow: 0 .45rem .85rem #122f3d28;
    }
    .button:not(:disabled):hover::after, .nav-contact:hover::after { translate: 120% 0; transition: translate .58s var(--ease-out); }
    .button:not(:disabled):active, .nav-contact:active { translate: 0 1px; box-shadow: none; }
    .field-card:hover, .product-card:hover { translate: 0 -4px; border-color: #9cb3bc; box-shadow: 0 .65rem 1.4rem #25424c12; }
    .field-card:hover .field-icon svg { translate: 0 -2px; rotate: -8deg; }
    .product-card:hover .product-art img { scale: 1.06; }
    .resource-row:hover .field-icon { translate: 0 -2px; background-color: #d4e4e9; }
    .nav a:not(.nav-contact) {
      background: linear-gradient(var(--action), var(--action)) 0 100% / 0 1px no-repeat;
      transition: background-size .28s var(--ease-out), color .22s;
    }
    .nav a:not(.nav-contact):hover, .nav a[aria-current="page"]:not(.nav-contact) { background-size: 100% 1px; text-decoration: none; }
  }

  .motion-enhanced .journey { position: relative; }
  .motion-enhanced .process-grid li { transition: background-color .35s, border-color .35s, box-shadow .35s; }
  .motion-enhanced .process-grid li.reveal {
    transition: opacity .62s var(--ease-out), transform .7s var(--ease-out), background-color .35s, border-color .35s, box-shadow .35s;
  }
  .motion-enhanced .process-grid li.is-current {
    border-color: #6c98a9;
    background: #f1f8fa;
    box-shadow: 0 .5rem 1.2rem #25424c0c;
  }

  @media (width > 52rem) {
    .motion-enhanced { scroll-padding-top: 5rem; }
    .motion-enhanced .site-header {
      position: sticky;
      top: 0;
      z-index: 5;
      transition: background-color .26s, box-shadow .26s;
    }
    .motion-enhanced .site-header.has-scrolled { background: #fbfdfef0; backdrop-filter: blur(16px); box-shadow: 0 1px 0 #18303918; }
    .motion-enhanced .site-header::after {
      content: "";
      position: absolute;
      inset: auto 0 0;
      height: 2px;
      pointer-events: none;
      background: linear-gradient(90deg, #4b839a, #a7ccd7);
      scale: var(--page-progress, 0) 1;
      transform-origin: left;
    }
  }

  @media (width > 52rem) and (min-height: 36rem) {
    .motion-enhanced .journey { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; gap: clamp(1.4rem, 4vw, 4rem); }
    .motion-enhanced .journey-visual {
      display: block;
      position: sticky;
      top: clamp(6rem, 13vh, 8.75rem);
      border-radius: .75rem;
      overflow: hidden;
      background: #10232b;
      color: #edf5f8;
      box-shadow: 0 1.3rem 2.7rem #14282f1c;
      --stage-color: #9bcddf;
      --stage-glow: #4184a1;
      --ring-turn: -22deg;
      --ring-scale: 1;
    }
    .journey-visual[data-stage="1"] { --stage-color: #a6e7ec; --stage-glow: #438f9d; --ring-turn: 18deg; --ring-scale: .88; }
    .journey-visual[data-stage="2"] { --stage-color: #b4dfed; --stage-glow: #6095a9; --ring-turn: 62deg; --ring-scale: 1.08; }
    .journey-visual[data-stage="3"] { --stage-color: #ffd8a5; --stage-glow: #b17a49; --ring-turn: 115deg; --ring-scale: 1.13; }
    .journey-art {
      display: grid;
      position: relative;
      isolation: isolate;
      place-items: center;
      height: clamp(13rem, 40vh, 26rem);
      overflow: hidden;
      background: linear-gradient(145deg, #18303b, #102028 77%);
    }
    .journey-art::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background-image: linear-gradient(90deg, #d4e6ee17 1px, transparent 1px), linear-gradient(#d4e6ee17 1px, transparent 1px);
      background-size: 2.2rem 2.2rem;
      mask-image: radial-gradient(ellipse at center, #000, transparent 78%);
    }
    .journey-art::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -2;
      background-color: var(--stage-glow);
      mask-image: radial-gradient(ellipse at 50% 52%, #0007, transparent 67%);
      transition: background-color .68s;
    }
    .journey-rings {
      display: grid;
      place-items: center;
      grid-area: 1 / 1;
      width: min(74%, 22.5rem, 41vh);
      aspect-ratio: 1;
      rotate: var(--ring-turn);
      scale: var(--ring-scale);
      color: var(--stage-color);
      transition: rotate .9s var(--ease-shift), scale .9s var(--ease-shift), color .55s;
    }
    .journey-rings i {
      display: block;
      grid-area: 1 / 1;
      width: var(--ring-size);
      aspect-ratio: 1.24;
      border: 1px solid currentColor;
      border-radius: 46% 54% 47% 53%;
      opacity: var(--ring-opacity);
      rotate: var(--ring-tilt);
    }
    .journey-rings i:nth-child(1) { --ring-size: 100%; --ring-opacity: .28; --ring-tilt: -20deg; }
    .journey-rings i:nth-child(2) { --ring-size: 84%; --ring-opacity: .45; --ring-tilt: 12deg; }
    .journey-rings i:nth-child(3) { --ring-size: 69%; --ring-opacity: .64; --ring-tilt: 33deg; }
    .journey-rings i:nth-child(4) { --ring-size: 53%; --ring-opacity: .8; --ring-tilt: 61deg; }
    .journey-drop {
      grid-area: 1 / 1;
      width: clamp(2rem, 5vw, 4.3rem);
      aspect-ratio: 1;
      rotate: 45deg;
      border-radius: 10% 65% 63% 65%;
      background: radial-gradient(circle at 28% 21%, #fff9, transparent 38%), var(--stage-color);
      box-shadow: 0 0 3rem color-mix(in srgb, var(--stage-glow), transparent 28%);
      transition: background-color .55s, box-shadow .55s;
    }
    .journey-caption { padding: 1rem 1.5rem 1.45rem; border-top: 1px solid #d2e8f120; }
    .journey-labels { display: grid; }
    .journey-labels span {
      grid-area: 1 / 1;
      font-size: clamp(1.15rem, 2vw, 1.5rem);
      letter-spacing: -.028em;
      font-weight: 650;
      opacity: 0;
      translate: 0 .35rem;
      transition: opacity .28s, translate .43s var(--ease-out);
    }
    .journey-visual[data-stage="0"] .journey-labels span:nth-child(1),
    .journey-visual[data-stage="1"] .journey-labels span:nth-child(2),
    .journey-visual[data-stage="2"] .journey-labels span:nth-child(3),
    .journey-visual[data-stage="3"] .journey-labels span:nth-child(4) { opacity: 1; translate: 0; }
    .journey-track { height: 2px; background: #d2e8f130; margin-top: .9rem; overflow: hidden; }
    .journey-track span { display: block; height: 100%; background: var(--stage-color); scale: var(--journey-fill, .08) 1; transform-origin: left; transition: background-color .4s; }
    .motion-enhanced .journey .process-grid { grid-template-columns: 1fr; gap: 1.15rem; }
    .motion-enhanced .journey .process-grid li { min-height: clamp(10.5rem, 23vh, 15rem); justify-content: center; padding: clamp(1.25rem, 2.45vw, 2rem); }
  }

  @media (width <= 37rem) {
    .motion-enhanced .reveal, .motion-enhanced .reveal.is-visible { --reveal-delay: 0ms !important; }
  }

  @keyframes rise-in {
    from { opacity: 0; transform: translateY(.8rem); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes flow-in {
    from { opacity: 0; transform: translateY(.45rem); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes ripples-in {
    from { opacity: .12; scale: .85; }
    to { opacity: .8; scale: 1; }
  }
  @keyframes draw-flow {
    from { scale: 1 0; }
    to { scale: 1 1; }
  }
}
