/* Cadenza America — the string and the soft seams between sections (v52). */
main { position: relative; }
.am-thread { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; overflow: visible; }
.am-thread path { fill: none; stroke: #b99c63; stroke-width: 1.25; stroke-linecap: round; }
.am-thread path.is-gap { visibility: hidden; }
.am-thread-tip { fill: #e9d3a2; opacity: 0; transition: opacity .3s ease; filter: drop-shadow(0 0 5px #e7c98acc); }
.am-thread-tip.is-on { opacity: 1; }
/* The closer look sits above the string, so the line passes behind it. */
.am-has-thread #inside { position: relative; z-index: 5; }
.am-has-thread .am-inside-animated .am-inside-card::before { background: linear-gradient(90deg, #b99c63, #f0dfb8); }
/* On the journey the string is the rail. */
.am-has-thread .am-journey ol::before { opacity: 0; }
/* The string arrives at the button. */
@media (min-width:0px) {
  #quick-contact [type=submit].am-thread-arrived { box-shadow: 0 0 0 1px #b99c63, 0 0 22px #b99c6366; transition: box-shadow .6s ease; }
}

/* Seams: where a dark section meets a light one, the colour changes over a short distance instead of at a hard edge. */
.am-seam { position: absolute; left: 0; right: 0; top: 0; height: clamp(70px, 11vh, 130px); z-index: -1; pointer-events: none; }
.am-seamed { position: relative; isolation: isolate; }
@media print { .am-thread, .am-seam { display: none; } }

