/* Bold Line website, created by DI SI DI CONSULTING. */
/* Bold Line homepage. Shared tokens and components live in base.css. */

.eyebrow { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 0.7em; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, currentColor 0 6px, transparent 6px 9px) 0 0 / 9px 2px repeat-x; }
.eyebrow--ink { color: var(--gold-deep); }

/* satin underline: a zig-zag of short slanted stitches under a phrase */
.satin {
  color: var(--accent-text, var(--gold));
  background: repeating-linear-gradient(115deg, var(--gold) 0 2px, transparent 2px 5px) 0 92% / 100% 0.16em no-repeat;
  padding-bottom: 0.14em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: satin-in 1.4s 0.6s var(--ease-out) both;
}
/* "bold" in silver metal thread, like the metal business cards: brushed-silver letters crossed by fine slanted
   satin stitches, over a silver satin bar that sews itself in (the bar is a pseudo-element, since the letters
   use the background for their fill). */
[data-theme="pewter"] .hero h1 .satin {
  position: relative; display: inline-block; padding-bottom: 0.14em; animation: none;
  color: #d9dde2; -webkit-text-fill-color: transparent;
  background:
    repeating-linear-gradient(115deg, rgb(255 255 255 / 0.2) 0 0.9px, rgb(30 33 38 / 0.13) 0.9px 2.1px),
    linear-gradient(172deg, #fbfcfd 0%, #c9ced5 30%, #8e959e 48%, #eef0f3 64%, #a9afb7 82%, #d7dbe0 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 1px 0 rgb(0 0 0 / 0.55)) drop-shadow(0 0 10px rgb(220 226 232 / 0.12));
}
[data-theme="pewter"] .hero h1 .satin::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.16em; border-radius: 1px;
  background: repeating-linear-gradient(115deg, #eef0f3 0 1.6px, #a2a8b0 1.6px 3.4px);
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.45);
  transform-origin: 0 50%; animation: satin-bar 1.4s 0.6s var(--ease-out) both;
}
@keyframes satin-bar { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { [data-theme="pewter"] .hero h1 .satin::after { animation: none; } }
[data-theme="linen"] .hero h1 .satin {
  --accent-text: #6e1a2a;
  background-image: repeating-linear-gradient(115deg, #6e1a2a 0 2px, transparent 2px 5px);
}
@keyframes satin-in { from { background-size: 0% 0.16em; } }
@media (prefers-reduced-motion: reduce) { .satin { animation: none; } }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 1rem + 5vw, 5rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero::after { /* stitched hem along the bottom edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 2px;
  background: linear-gradient(90deg, var(--silver-2) 0 9px, transparent 9px 14px) 0 0 / 14px 2px repeat-x; opacity: 0.55;
}
.hero__thread { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__thread path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 10 6; opacity: 0.35; vector-effect: non-scaling-stroke; animation: thread-run 30s linear infinite; }
@keyframes thread-run { to { stroke-dashoffset: -640; } }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 4vw, 5rem); align-items: center; }
.hero__copy { display: grid; gap: var(--space-5); max-width: 44rem; }
.hero h1 { font-size: clamp(2.4rem, 1.2rem + 3.2vw, 4.2rem); line-height: 1.04; }
.hero .lede { color: var(--on-navy-soft); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); margin-top: var(--space-2); }
.hero__actions .link-thread { color: var(--on-navy); }
.hero__lanes { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.lane-chip {
  display: inline-flex; align-items: center; gap: 0.55em; min-height: 44px; padding: 0.45em 1em 0.45em 0.7em;
  border-radius: 999px; border: 1.5px dashed var(--veil-line); color: var(--on-navy); text-decoration: none; font-weight: 600; font-size: 0.92rem;
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s var(--ease-out);
}
.lane-chip:hover { border-color: var(--spool); transform: translateY(-2px); }
.lane-chip.is-active { border-style: solid; border-color: var(--spool); background: color-mix(in srgb, var(--spool) 16%, transparent); }
.lane-chip.is-active .spool { animation: spool-spin 0.9s linear infinite; }
@media (prefers-reduced-motion: reduce) { .lane-chip.is-active .spool, .hoop.is-sewing .hoop__needle svg { animation: none; } .hoop__needle { transition: none; } }
@keyframes spool-spin { to { transform: rotate(360deg); } }

/* --- the hoop --- */
.hero__taps { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; } /* above the hoop and text: taps land where the finger is */
.hero__grid { position: relative; z-index: 1; }
.hero { cursor: crosshair; }
.hero :is(a, button) { cursor: pointer; }
.hero__hint { margin: var(--space-4) 0 0; display: inline-flex; align-items: center; gap: 0.55em; font-size: 0.86rem; color: var(--on-navy-soft); transition: opacity 0.6s var(--ease-out); }
.hero__hint svg { width: 1.15em; height: 1.15em; flex: none; color: var(--gold); }
.hero__hint.is-used { opacity: 0.55; }
.hero__stage { margin: 0; display: grid; gap: var(--space-4); justify-items: center; }
.hoop { --size: min(60vh, 560px, 44vw); width: var(--size); aspect-ratio: 1; position: relative; isolation: isolate; filter: drop-shadow(0 30px 40px rgb(0 0 0 / 0.45)); }
.hoop__ring { /* outer hoop: brushed silver */
  position: absolute; inset: 0; border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgb(255 255 255 / 0.05) 0 0.6deg, rgb(0 0 0 / 0.05) 0.6deg 1.3deg),
    conic-gradient(from 210deg, #8d939c, #f4f5f7 12%, #a9afb7 26%, #dfe2e6 40%, #7c828b 55%, #eef0f2 70%, #9aa0a8 85%, #8d939c);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.5), inset 0 -6px 12px rgb(0 0 0 / 0.25);
}
.hoop__fabric {
  position: absolute; inset: 7.4%; border-radius: 50%; overflow: hidden;
  box-shadow: inset 0 0 0 3px rgb(0 0 0 / 0.18), inset 0 10px 26px rgb(0 0 0 / 0.28);
  transition: background-color 0.6s var(--ease-out);
  --weave-a: rgb(0 0 0 / 0.05); --weave-b: rgb(255 255 255 / 0.06);
  background-image:
    repeating-linear-gradient(0deg, var(--weave-a) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(90deg, var(--weave-b) 0 1px, transparent 1px 2px),
    radial-gradient(circle at 35% 30%, rgb(255 255 255 / 0.14), transparent 60%);
}
.hoop__fabric[data-fabric="cotton"] { background-color: #efe9da; }
.hoop__fabric[data-fabric="burgundy"] { background-color: #6c1d2a; }
.hoop__fabric[data-fabric="navy"] { background-color: #22305a; --weave-b: rgb(255 255 255 / 0.04); }
.hoop__fabric[data-fabric="terry"] { background-color: #f8f6f0; background-image: radial-gradient(circle, rgb(0 0 0 / 0.07) 0 1.2px, transparent 1.4px), radial-gradient(circle at 35% 30%, rgb(255 255 255 / 0.3), transparent 60%); background-size: 5px 5px, auto; }
.hoop__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hoop__inner { /* inner hoop lip over the fabric edge */
  position: absolute; inset: 6.4%; border-radius: 50%; z-index: 2; pointer-events: none;
  box-shadow: 0 0 0 0.6vmin #c3c8cf, 0 0 0 calc(0.6vmin + 1px) rgb(0 0 0 / 0.25), inset 0 0 0 1px rgb(255 255 255 / 0.35);
}
.hoop__clamp { position: absolute; top: -3.2%; left: 50%; width: 15%; height: 10%; transform: translateX(-50%); z-index: 3; border-radius: 6px 6px 3px 3px; background: linear-gradient(90deg, #7d838c, #f2f3f5 30%, #b4b9c0 55%, #e7e9ec 75%, #80868f); box-shadow: 0 4px 8px rgb(0 0 0 / 0.35); }
.hoop__clamp span { position: absolute; left: 50%; top: -42%; width: 34%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, #b9bec5 45%, #6f757e); box-shadow: 0 2px 4px rgb(0 0 0 / 0.4); }
.hoop__clamp span::after { content: ""; position: absolute; left: 20%; right: 20%; top: 46%; height: 8%; background: #59606a; border-radius: 2px; }

/* the needle follows the last stitch; it bobs while sewing */
.hoop__needle { --nx: 50%; --ny: 50%; position: absolute; left: var(--nx); top: var(--ny); width: 4.4%; height: 36%; z-index: 4; transform: translate(-50%, -100%); pointer-events: none; transition: left 0.08s linear, top 0.08s linear, opacity 0.4s; }
.hoop__needle svg { width: 100%; height: 100%; filter: drop-shadow(3px 6px 4px rgb(0 0 0 / 0.35)); }
.hoop.is-sewing .hoop__needle svg { animation: needle-bob 0.14s ease-in-out infinite alternate; }
@keyframes needle-bob { from { transform: translateY(-10%); } to { transform: translateY(0); } }
/* Pause stops everything that moves with the stitching: the needle, the spool on the lane chip and the thread across the hero */
.hoop.is-paused .hoop__needle svg,
.hero:has(.hoop.is-paused) .hero__thread path,
.hero:has(.hoop.is-paused) .lane-chip .spool { animation-play-state: paused; }
.hoop__thread { position: absolute; left: 50%; bottom: 87%; width: 2px; height: 160%; background: linear-gradient(var(--thread, var(--gold)) 0 0); transform-origin: bottom; transform: rotate(-24deg); opacity: 0.9; }
.hoop:not(.is-sewing) .hoop__needle { opacity: 0.55; }
.hoop.is-reframing .hoop__fabric, .hoop.is-reframing .hoop__canvas { animation: reframe 1.3s var(--ease-out); }
@keyframes reframe { 0% { opacity: 1; transform: none; } 45% { opacity: 0; transform: scale(0.94) rotate(-6deg); } 55% { opacity: 0; transform: scale(0.94) rotate(6deg); } 100% { opacity: 1; transform: none; } }

.hoop__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-2) var(--space-4); font-size: 0.88rem; color: var(--on-navy-soft); }
.hoop__k { color: var(--accent-text, var(--gold)); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.1em; margin-right: 0.3em; }
.hoop__count { color: var(--on-navy); font-size: 0.85rem; padding: 0.2em 0.7em; border-radius: 6px; background: var(--veil); border: 1px dashed var(--veil-line); }
.hoop__pause { display: inline-flex; align-items: center; gap: 0.45em; min-height: 36px; padding: 0.25em 0.8em; border-radius: 999px; border: 1px solid var(--veil-line); background: transparent; color: var(--on-navy-soft); cursor: pointer; font-size: 0.82rem; }
.hoop__pause[hidden] { display: none; }
.hoop__pause:hover { color: var(--on-navy); border-color: var(--on-navy-soft); }
.hoop__pause svg { width: 14px; height: 14px; }
.hoop__pause .i-play, .hoop__pause .when-paused { display: none; }
.hoop__pause[aria-pressed="true"] .i-play, .hoop__pause[aria-pressed="true"] .when-paused { display: inline; }
.hoop__pause[aria-pressed="true"] .i-pause, .hoop__pause[aria-pressed="true"] .when-playing { display: none; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { order: -1; }
  .hoop { --size: min(66vw, 340px); }
  .hero { padding-top: var(--space-6); }
  .hero__copy { gap: var(--space-4); }
  .hero h1 { font-size: clamp(1.9rem, 0.8rem + 5.4vw, 3.2rem); overflow-wrap: anywhere; }
}

/* ============ Proof strip ============ */
.proof { padding-block: 10px; overflow: hidden; }
.proof .seam { opacity: 0.7; }
.proof__track { padding-block: 1rem; }
.proof__list { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; margin: 0; padding: 0; row-gap: 0.6rem; }
.proof__list li { font-family: var(--font-display); font-weight: 500; font-size: clamp(0.88rem, 0.8rem + 0.35vw, 1.05rem); white-space: nowrap; display: inline-flex; align-items: center; }
.proof__list li:not(:last-child)::after { /* a short satin bar between facts */
  content: ""; width: 18px; height: 10px; margin-inline: 1.3rem; background: repeating-linear-gradient(115deg, var(--gold) 0 2px, transparent 2px 5px); opacity: 0.85; }
/* phones: three stacked rows, each led by a satin bar, block centred but text left-aligned so the bars line up */
@media (max-width: 640px) {
  .proof__list { flex-direction: column; align-items: flex-start; width: fit-content; margin-inline: auto; }
  .proof__list li:not(:last-child)::after { content: none; }
  .proof__list li::before { content: ""; width: 18px; height: 10px; margin-right: 0.8rem; background: repeating-linear-gradient(115deg, var(--gold) 0 2px, transparent 2px 5px); opacity: 0.85; }
}

/* ============ Lanes ============ */
.lane { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 5rem); align-items: center; padding-block: clamp(2rem, 4vw, 3.5rem); }
.lane + .lane { border-top: 0; }
.lane--flip .lane__text { order: 2; }
.lane__text { display: grid; gap: var(--space-4); max-width: 34rem; }
.lane__text h3 { font-size: var(--step-3); }
.lane__text p { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.5; }
.lane__text strong { color: var(--ink); }
.lane__text .link-thread { color: var(--lane-ink); justify-self: start; font-size: 1.02rem; }
.lane__no { display: inline-flex; align-items: center; gap: 0.6em; color: var(--lane-ink); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.lane__no .spool { width: 1.1em; height: 1.1em; }
.lane__pic { position: relative; aspect-ratio: 1; display: grid; place-items: center; width: 100%; max-width: 460px; justify-self: center; }
.lane__pic::before { /* thread-coloured stitched circle behind the garment */
  content: ""; position: absolute; inset: 6%; border-radius: 50%;
  background: color-mix(in srgb, var(--lane) 16%, var(--ground-b));
  outline: 2px dashed color-mix(in srgb, var(--lane) 85%, var(--ink)); outline-offset: -14px;
}
.lane__pic img { position: relative; width: 80%; height: 92%; object-fit: contain; filter: drop-shadow(0 18px 22px rgb(20 33 61 / 0.22)); transition: transform 0.8s var(--ease-out); }
.lane:hover .lane__pic img { transform: rotate(-2deg) translateY(-6px); }
.lane__pic--photo img { width: 74%; height: 84%; object-fit: cover; border-radius: 50%; filter: none; box-shadow: var(--shadow-2); }
.lane[data-lanefx="business"] .lane__pic { margin-top: 1.5rem; } /* room for the woven label on the frame's top edge */
.lane[data-lanefx="business"] .lane__pic img { object-position: 50% 78%; } /* the towels sit in the middle of the circle */
.lane__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; } /* above the photo so the paws can step onto the hoodie; plans keep it off the copy */
.lane__text, .lane__pic { z-index: 1; }
.lane__text { position: relative; }
.lane__seam { position: absolute; left: 0; right: 0; bottom: -10px; width: 100%; height: 30px; }
.lane__seam path { fill: none; stroke: var(--lane); stroke-width: 2; stroke-dasharray: 9 5; vector-effect: non-scaling-stroke; opacity: 0.85; }
@media (max-width: 760px) {
  .lane { grid-template-columns: 1fr; }
  .lane--flip .lane__text { order: 0; }
  .lane__pic { max-width: 380px; width: 100%; justify-self: center; }
}

/* ============ Rack ============ */
.rack-section { overflow: hidden; }
.rack-section .section-head { margin-bottom: var(--space-5); }
.rack { --hw: clamp(150px, 15vw, 220px); position: relative; padding-top: 34px; } /* --hw: one garment's width */
.rack__rail { position: absolute; top: 20px; left: 0; right: 0; height: 14px; border-radius: 7px; z-index: 2;
  background: linear-gradient(180deg, #f4f5f7 0%, #b8bdc4 40%, #8a9099 60%, #d6d9dd 100%);
  box-shadow: 0 6px 12px rgb(0 0 0 / 0.35);
}
.rack__rail i { position: absolute; top: -20px; width: 10px; height: 26px; background: linear-gradient(90deg, #8a9099, #eef0f2, #8a9099); border-radius: 3px; }
.rack__rail i:first-child { left: 6%; } .rack__rail i:last-child { right: 6%; }
/* the list scrolls sideways, so it also clips: its extra bottom padding (taken back by the negative margin) leaves room for an opened garment, which grows by ~0.33 × its width */
.rack__list { list-style: none; margin: 0 0 -4rem; padding: 0 var(--gutter) calc(var(--space-4) + 4rem); display: flex; gap: clamp(0.5rem, 1vw, 1.25rem); justify-content: center; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rack__list::-webkit-scrollbar { display: none; }
@media (max-width: 900px) { .rack__list { justify-content: flex-start; padding-inline: calc(50vw - var(--hw) / 2); } } /* the rack scrolls here: the first and last garments can still settle in the middle */
.hanger { --swing: 0deg; flex: 0 0 auto; width: var(--hw); scroll-snap-align: center; position: relative; transform-origin: 50% 0; transform: rotate(var(--swing)); }
.hanger.is-open { z-index: 5; }
.hanger__garment { transition: transform 0.6s var(--ease-out); transform-origin: 50% 0; }
.hanger.is-open .hanger__garment { transform: translateY(-8px) scale(1.22); }
.hanger__turn { display: grid; justify-items: center; cursor: pointer; }
/* like boldline.net: only a hook shows. It curls over the rail and its neck runs down to the hood, which hangs
   ~36px below the rail; the neck ends just inside the hood (hood tops sit at ~0.09 × width in the photos, a tee's
   neckline at ~0.165 × width). No hanger bar, so nothing can show through a garment while it turns. */
.hanger__hook { width: 40px; height: 58px; margin: -12px 0 calc(-10px - var(--hw) * 0.09); position: relative; z-index: 1; }
.hanger--tee .hanger__hook { margin-bottom: calc(-10px - var(--hw) * 0.165); }
.hanger__hook svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hanger__garment { position: relative; z-index: 2; width: 100%; aspect-ratio: 2 / 3; perspective: 900px; }
.hanger__garment img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 0.7s var(--ease-out), opacity 0.45s; backface-visibility: hidden; filter: drop-shadow(0 16px 18px rgb(0 0 0 / 0.45)); }
.hanger__side { transform: rotateY(0deg) scale(0.92); transform-origin: 50% 0; }
.hanger__front { transform: rotateY(-90deg); opacity: 0; transform-origin: 50% 0; }
.hanger.is-open .hanger__side { transform: rotateY(90deg); opacity: 0; }
.hanger.is-open .hanger__front { transform: rotateY(0deg); opacity: 1; transition-delay: 0.12s; }
.hanger__tag { position: absolute; left: 50%; bottom: 6%; transform: translate(-50%, 10px); opacity: 0; transition: opacity 0.3s, transform 0.4s var(--ease-out);
  display: grid; justify-items: center; gap: 2px; text-align: center; padding: 0.55rem 0.9rem 0.6rem; min-width: 70%;
  background: var(--paper); color: var(--ink); border-radius: 8px; box-shadow: var(--shadow-2); z-index: 4;
}
.hanger__tag::before { content: ""; position: absolute; inset: 4px; border: 1.5px dashed var(--silver-2); border-radius: 5px; pointer-events: none; }
.hanger__name { font-weight: 700; font-size: 0.86rem; line-height: 1.25; }
.hanger__price { font-size: 0.82rem; color: var(--ink-soft); }
.hanger__link { font-size: 0.82rem; font-weight: 700; color: var(--strong); padding: 0.35em 0.2em; min-height: 32px; display: inline-flex; align-items: center; position: relative; }
.hanger.is-open .hanger__tag, .hanger:focus-within .hanger__tag { opacity: 1; transform: translate(-50%, 0); }
.rack__foot { display: flex; justify-content: center; margin-top: var(--space-6); }
/* phone: where you are in the sideways rack (added by rack.js) */
.rack__progress { display: none; }
.rack.is-scrollable .rack__progress { display: block; position: relative; width: min(140px, 36vw); height: 3px; margin: 1.75rem auto 0; border-radius: 2px; background: rgb(255 255 255 / 0.14); overflow: hidden; }
.rack__progress span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--silver-2); transition: transform 0.15s linear; }
@media (max-width: 760px) {
  .rack { --hw: 40vw; }
  .hanger.is-open .hanger__garment { transform: translateY(-6px) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .hanger, .hanger__garment img { transition: opacity 0.3s; }
  .hanger__side, .hanger__front, .hanger.is-open .hanger__side, .hanger.is-open .hanger__front { transform: none; }
}

/* ============ Pets: before / after ============ */
.pets__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.compare { --split: 50%; position: relative; }
.compare__frame { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; isolation: isolate; -webkit-mask-image: linear-gradient(#000, #000); /* Safari: keep the rounded clip on the sliding layer */ touch-action: pan-y; cursor: ew-resize; user-select: none; box-shadow: var(--shadow-2); background: var(--cotton-200); }
.compare__frame::after { content: ""; position: absolute; inset: 10px; border-radius: 9px; border: 2px dashed rgb(255 255 255 / 0.55); pointer-events: none; }
.compare__frame img { position: absolute; max-width: none; height: auto; pointer-events: none; }
/* same crop as the original boldline.net slider, so the photographed cat and the embroidered cat sit on top of each other */
.compare__before { width: 139%; left: -21%; top: -17%; }
.compare__after { width: 286%; left: -22%; top: -4%; }
/* each photo sits in a frame-sized layer; the embroidery layer is clipped, not the enlarged image, so --split is a share of the frame */
.compare__layer { position: absolute; inset: 0; overflow: hidden; }
/* the embroidery half: the layer slides right by the split and its contents slide back by the same amount, so the
   frame's overflow does the cutting. (A clip-path redrawn on every frame made Safari flash the whole layer over the photo.) */
.compare__layer--after { transform: translateX(var(--split)); }
.compare__shift { position: absolute; inset: 0; transform: translateX(calc(var(--split) * -1)); }
.compare__tag { position: absolute; top: 22px; padding: 0.3em 0.7em; border-radius: 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: rgb(11 20 40 / 0.78); color: var(--cotton); z-index: 2; }
.compare__tag--l { left: 22px; } .compare__tag--r { right: 22px; background: var(--gold); color: var(--on-accent); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--split); width: 0; z-index: 3; pointer-events: none; }
.compare__seam { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: linear-gradient(180deg, var(--gold) 0 9px, transparent 9px 14px) 0 0 / 2px 14px repeat-y; filter: drop-shadow(0 0 2px rgb(0 0 0 / 0.6)); }
.compare__needle { position: absolute; left: -14px; top: -6px; width: 28px; height: 120px; filter: drop-shadow(2px 4px 3px rgb(0 0 0 / 0.4)); }
.compare__grip { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--navy-950);
  background: conic-gradient(from 200deg, #8d939c, #f4f5f7 15%, #a9afb7 35%, #eef0f2 60%, #8d939c); box-shadow: 0 6px 16px rgb(0 0 0 / 0.4), inset 0 0 0 4px rgb(255 255 255 / 0.35); transition: transform 0.25s var(--ease-out); }
.compare__grip svg { width: 22px; height: 22px; }
.compare.is-dragging .compare__grip { transform: translate(-50%, -50%) scale(1.12); }
.compare__range { position: absolute; inset: 0 0 auto; width: 100%; aspect-ratio: 4 / 5; height: auto; opacity: 0; margin: 0; cursor: ew-resize; pointer-events: none; }
.compare__range:focus-visible + .compare__note::before { content: "← → "; }
.compare:has(.compare__range:focus-visible) .compare__grip { outline: 2px dashed var(--gold); outline-offset: 4px; }
.compare__note { margin-top: var(--space-3); font-size: 0.9rem; color: var(--ink-soft); }
.pets__text .section-head { margin-bottom: var(--space-5); }
.steps { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: grid; gap: 0; position: relative; }
.steps li { display: grid; grid-template-columns: 3.2rem 1fr; gap: var(--space-4); padding-block: var(--space-4); position: relative; }
.steps li:not(:last-child)::after { /* running stitch joining the steps */
  content: ""; position: absolute; left: 1.15rem; top: 3.4rem; bottom: -0.6rem; width: 2px;
  background: linear-gradient(180deg, var(--gold-deep) 0 7px, transparent 7px 12px) 0 0 / 2px 12px repeat-y;
}
.steps__n { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; border: 2px dashed var(--gold-deep); color: var(--gold-deep); font-weight: 700; font-size: 0.85rem; background: var(--ground-b); }
.steps h3 { font-size: var(--step-1); margin-bottom: 0.25rem; }
.steps p { color: var(--ink-soft); }
.pets__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-5); }
.pets__price { color: var(--ink-soft); }
.pets__price strong { color: var(--ink); }
@media (max-width: 860px) { .pets__grid { grid-template-columns: 1fr; } .compare { max-width: 480px; width: 100%; justify-self: center; } }

/* ============ Drops ============ */
.drops__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.drops__text { display: grid; gap: var(--space-4); justify-items: start; }
.drops__text .lede { color: var(--on-navy-soft); }
.drops__meta { display: flex; gap: var(--space-6); margin: var(--space-2) 0; }
.drops__meta div { display: grid; gap: 2px; }
.drops__meta dt { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-navy-soft); }
.drops__meta dd { margin: 0; font-size: 1.15rem; color: var(--on-navy); font-weight: 700; }
.drops__text .link-thread { color: var(--gold); }
.drops__stage { position: relative; justify-self: center; width: min(100%, 420px); }
.drops__tissue { position: relative; aspect-ratio: 400 / 520; border-radius: 22px; overflow: hidden; background: radial-gradient(circle at 50% 40%, var(--tissue), var(--ground-a-deep) 75%); }
.drops__tissue img { position: absolute; inset: 6% 8%; width: 84%; height: 88%; object-fit: contain; filter: blur(14px) saturate(0.7) brightness(0.8); transform: scale(1.04); transition: filter 1.2s var(--ease-out); }
.drops__stage:hover .drops__tissue img { filter: blur(9px) saturate(0.8) brightness(0.9); }
.drops__stitch { position: absolute; inset: 0; width: 100%; height: 100%; }
.drops__stitch rect { fill: none; stroke: var(--silver-3); stroke-width: 2; stroke-dasharray: 10 6; vector-effect: non-scaling-stroke; animation: thread-run 24s linear infinite; }
.drops__seal { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); font-size: 1rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; padding: 0.7em 1.4em; color: var(--gold); border: 2px dashed var(--gold); border-radius: 6px; background: color-mix(in srgb, var(--ground-a-deep) 86%, transparent); }
.drops__tag { position: absolute; right: -6%; bottom: 8%; width: 132px; padding: 30px 14px 16px; display: grid; gap: 2px; text-align: center; color: var(--navy-950); border-radius: 10px 10px 14px 14px;
  background: linear-gradient(135deg, #f3f4f6, #aeb3ba 35%, #e1e4e8 55%, #868c95 90%); box-shadow: var(--shadow-2); transform: rotate(7deg); transform-origin: 50% 0; animation: tag-sway 5s ease-in-out infinite alternate; }
.drops__tag strong { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.02em; }
.drops__tag .mono { font-size: 0.68rem; letter-spacing: 0.1em; }
.drops__hole { position: absolute; top: 10px; left: 50%; width: 12px; height: 12px; transform: translateX(-50%); border-radius: 50%; background: var(--navy-950); box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.6); }
.drops__hole::before { content: ""; position: absolute; left: 5px; bottom: 6px; width: 2px; height: 60px; background: linear-gradient(180deg, var(--gold) 0 6px, transparent 6px 9px) 0 0 / 2px 9px repeat-y; transform: rotate(16deg); transform-origin: bottom; }
@keyframes tag-sway { from { transform: rotate(5deg); } to { transform: rotate(10deg); } }
@media (prefers-reduced-motion: reduce) { .drops__tag, .drops__stitch rect, .hero__thread path { animation: none; } }
@media (max-width: 860px) { .drops__grid { grid-template-columns: 1fr; } .drops__tag { right: 2%; } }

/* ============ Business ============ */
.biz__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.biz__text { display: grid; gap: var(--space-5); justify-items: start; }
.biz__text .section-head { margin-bottom: 0; }
.biz__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-weight: 600; font-size: var(--step-1); }
.biz__list li { display: flex; align-items: center; gap: 0.8em; }
.biz__list li::before { content: ""; width: 28px; height: 2px; flex: none; background: linear-gradient(90deg, var(--silver-4) 0 6px, transparent 6px 9px) 0 0 / 9px 2px repeat-x; }
.biz__visual { position: relative; min-height: 520px; }
.biz__photo { position: absolute; margin: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-2); }
.biz__photo img { width: 100%; height: 100%; object-fit: cover; }
.biz__photo--a { left: 0; top: 0; width: 58%; aspect-ratio: 1; }
.biz__photo--b { right: 0; top: 18%; width: 40%; aspect-ratio: 3 / 4; }
.metal-card { position: absolute; left: 12%; bottom: 0; width: min(330px, 66%); margin: 0; z-index: 2; } /* straight, not tilted */
.metal-card__face { aspect-ratio: 85 / 54; border-radius: 12px; padding: 7% 8%; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; column-gap: 14px; align-items: center; position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.10) 0 1px, rgb(0 0 0 / 0.04) 1px 2px, transparent 2px 3px),
    linear-gradient(120deg, #9aa0a8 0%, #f5f6f8 22%, #b6bbc2 40%, #e9ebee 58%, #8b919a 80%, #d2d5da 100%);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.8) inset, 0 -1px 0 rgb(0 0 0 / 0.2) inset, 0 24px 40px rgb(11 20 40 / 0.35), 0 4px 10px rgb(11 20 40 / 0.25);
  transition: transform 0.6s var(--ease-out);
}
.metal-card__face::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / 0.55) 45%, transparent 60%); transform: translateX(-120%); transition: transform 1.2s var(--ease-out); }
.metal-card:hover .metal-card__face::after, .metal-card.is-in .metal-card__face::after { transform: translateX(120%); }
.metal-card__face img { grid-row: 1 / 3; width: 44px; height: auto; opacity: 0.85; mix-blend-mode: multiply; }
.metal-card__name { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; color: var(--navy-950); letter-spacing: 0.01em; text-shadow: 0 1px 0 rgb(255 255 255 / 0.6); align-self: end; }
.metal-card__mail { font-size: 0.72rem; color: var(--navy-950); font-weight: 600; align-self: start; }
.metal-card figcaption { margin-top: var(--space-4); font-size: 0.85rem; color: var(--ink-soft); max-width: 30ch; }
.clients { margin-top: clamp(3rem, 6vw, 5rem); padding-top: var(--space-6); position: relative; }
.clients::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--silver-4) 0 9px, transparent 9px 14px) 0 0 / 14px 2px repeat-x; opacity: 0.6; }
.clients__label { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); font-weight: 700; margin-bottom: var(--space-4); }
.clients__slots { display: none; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.clients__slots li { height: 84px; display: grid; place-items: center; border: 2px dashed var(--cotton-300); border-radius: 10px; color: var(--ink-soft); font-size: 0.85rem; font-family: var(--font-mono); }
@media (max-width: 860px) {
  .biz__grid { grid-template-columns: 1fr; }
  .biz__visual { min-height: 0; aspect-ratio: 1 / 1.05; }
  .clients__slots { grid-template-columns: repeat(2, 1fr); }
}

/* ============ Reviews ============ */
.reviews__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.reviews__list li { padding: var(--space-5) clamp(1rem, 2.5vw, 2.5rem); position: relative; }
.reviews__list li + li::before { content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 2px; background: linear-gradient(180deg, var(--silver-4) 0 9px, transparent 9px 14px) 0 0 / 2px 14px repeat-y; opacity: 0.7; }
.reviews figure { margin: 0; display: grid; gap: var(--space-4); }
.reviews__lane { display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-navy-soft); }
.reviews blockquote { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: var(--step-1); line-height: 1.4; color: var(--on-navy); position: relative; padding-top: 2.2rem; }
.reviews blockquote::before { content: "\201C"; position: absolute; top: -0.9rem; left: -0.1rem; font-size: 4rem; line-height: 1; color: var(--gold); font-family: var(--font-display); }
.reviews figcaption { color: var(--on-navy-soft); font-size: 0.9rem; font-family: var(--font-mono); }
@media (max-width: 860px) {
  .reviews__list { grid-template-columns: 1fr; }
  .reviews__list li + li::before { left: 10%; right: 10%; top: 0; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--silver-4) 0 9px, transparent 9px 14px) 0 0 / 14px 2px repeat-x; }
}

/* ============ Request ============ */
.request__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.request__intro { position: sticky; top: 120px; }
.request__direct { display: grid; gap: var(--space-2); justify-items: start; }
.request__direct > p:first-child { color: var(--ink-soft); }
.request__direct .link-thread { font-size: var(--step-1); color: var(--strong); }
.request__ig a { color: var(--ink-soft); }
.form-wrap { --c: var(--ink-soft); --inset: 12px; background: var(--paper); border-radius: 16px; padding: clamp(1.5rem, 3vw, 2.75rem); box-shadow: var(--shadow-1); }
.request__form { display: grid; gap: var(--space-5); position: relative; }
.request__form fieldset { border: 0; padding: 0; margin: 0; }
.request__form legend { margin-bottom: var(--space-3); padding: 0; }
.request__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field__label { font-weight: 600; font-size: 0.95rem; }
.request__submit { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }
.request__submit .hint { font-size: 0.85rem; color: var(--ink-soft); }
.request__proto { margin-top: calc(-1 * var(--space-2)); }
.form-done { display: grid; gap: var(--space-3); justify-items: center; text-align: center; padding-block: var(--space-7); position: relative; }
.form-done[hidden] { display: none; }
.form-done svg { width: 72px; height: 72px; color: var(--gold-deep); }
.form-done p { color: var(--ink-soft); max-width: 36ch; }
@media (max-width: 860px) {
  .request__grid { grid-template-columns: 1fr; }
  .request__intro { position: static; }
}
@media (max-width: 520px) { .request__row { grid-template-columns: 1fr; } }

/* Self-stitching seam lines (shared helper for this page) */
.js .lane__seam { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s var(--ease-out) 0.3s; }
.js .lane.is-in .lane__seam { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .js .lane__seam { clip-path: none; transition: none; } }

/* mini-hoops: each lane's own motif stitched over its photo when it scrolls into view */
  background: var(--silver); box-shadow: 0 14px 26px rgb(11 12 16 / 0.28), inset 0 1px 0 rgb(255 255 255 / 0.6); z-index: 2; }
  background-image: var(--cotton-dark, none); }
.clients__strip { margin: 0; padding: 1rem 1.25rem; border: 2px dashed var(--cotton-300); border-radius: 10px; color: var(--ink-soft); font-size: 0.95rem; }
.request__steps { list-style: none; margin: var(--space-5) 0 var(--space-6); padding: 0; display: grid; gap: var(--space-3); }
.request__steps li { display: grid; grid-template-columns: 1.3em 1fr; gap: 0.75em; align-items: start; font-size: var(--step-0); line-height: 1.45; color: var(--ink); }
.request__steps .spool { width: 1.1em; height: 1.1em; margin-top: 0.2em; }

/* scroll prompt, under the hero copy: a short thread that keeps sewing downward; fades at the first scroll (hero.js) */
.scroll-cue { margin-top: var(--space-4); display: inline-flex; align-items: center; gap: 0.55em; width: fit-content;
  font-size: 0.86rem; font-weight: 600; color: var(--on-navy-soft); text-decoration: none; transition: opacity 0.5s var(--ease-out), color 0.2s; }
.scroll-cue svg { width: 14px; height: 26px; overflow: visible; flex: none; }
.scroll-cue__thread { fill: none; stroke: var(--silver-2, #9aa0a9); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 5 4; animation: cue-sew 0.9s linear infinite; }
.scroll-cue__tip { fill: none; stroke: var(--on-navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: cue-nudge 1.4s var(--ease-out) infinite; }
.scroll-cue:hover { color: var(--on-navy); }
.scroll-cue.is-gone { opacity: 0; pointer-events: none; }
@keyframes cue-sew { to { stroke-dashoffset: -18; } }
@keyframes cue-nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue__thread, .scroll-cue__tip { animation: none; } }

/* ===== FAQ ===== */
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.faq .section-head { margin-bottom: 0; }
.faq h2 { color: var(--on-navy); }
.faq__list { border-top: 2px dashed var(--silver-4); }
.faq__item { border-bottom: 2px dashed var(--silver-4); }
.faq__item summary { list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 0.9rem; min-height: 44px; padding: 1rem 2.75rem 1rem 0; position: relative; cursor: pointer; color: var(--on-navy); font-weight: 600; font-size: var(--step-0, 1rem); line-height: 1.4; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { content: ""; }
.faq__item summary::before, .faq__item summary::after { content: ""; position: absolute; right: 0.4rem; top: 50%; width: 14px; height: 2px; margin-top: -1px; background: var(--gold); border-radius: 1px; transition: transform 0.2s ease; }
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__item summary:hover .faq__q { color: var(--accent-text, var(--gold)); }
.faq__item summary:focus-visible { outline: 2px dashed var(--gold); outline-offset: 2px; border-radius: 4px; }
.faq__a { margin: 0; padding: 0 2.75rem 1.2rem 0; color: var(--on-navy-soft); line-height: 1.6; max-width: 62ch; }
.faq__more { margin: var(--space-5, 1.5rem) 0 0; color: var(--on-navy-soft); line-height: 1.8; }
.faq__more a { color: var(--accent-text, var(--gold)); }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; gap: 2rem; } }
@media (prefers-reduced-motion: reduce) { .faq__item summary::before, .faq__item summary::after { transition: none; } }
