/* =========================================================
   feature-signature.css — TailorFit
   A distinctive presentation layer for the 3 Feature pages:
   Tailor App, Measurements, Boutique Management.

   Signature idea: "The Thread Line" — a stitched running thread
   that travels down the page through every content section,
   visually tying the story together the way a single thread
   runs through a garment. Each page also gets one signature
   hero moment specific to its subject.

   Uses ONLY existing tokens from main.css (colors/fonts/shadows).
   No content is changed by this file — presentation only.
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   0) Shared utility tokens for this layer
   ========================================================= */
:root {
    --thread-color: #c9a24b;
    --thread-color-soft: rgba(201, 162, 75, 0.3);
    --stitch-gap: 10px;
}

/* =========================================================
   0b) Page-wide pastel wash — carries the hero's cream/pastel
   palette down through every content section on the 3
   Feature pages, replacing the plain white/grey defaults.
   ========================================================= */
body.feature-page-signature .content-block {
    background: #fdfbf7;
}
body.feature-page-signature .content-block.alt-bg {
    background: linear-gradient(180deg, #f7f3ec 0%, #f2ece0 100%);
}
body.feature-page-signature .eyebrow {
    color: #9b7f3f;
}
body.feature-page-signature h2.fw-bold,
body.feature-page-signature h3 {
    color: #3f3a32;
}
body.feature-page-signature .check-list li strong {
    color: #3f3a32;
}
body.feature-page-signature .check-list li i {
    color: #c9a24b;
}

/* =========================================================
   1) SIGNATURE — The Thread Line
   A vertical stitched thread runs along the left edge of every
   .content-block on feature pages, animating in like it's being
   sewn as you scroll. On desktop only (keeps mobile clean).
   ========================================================= */
body.feature-page-signature .content-block {
    position: relative;
}

@media (min-width: 992px) {
    body.feature-page-signature .content-block::before {
        content: "";
        position: absolute;
        left: 18px;
        top: 0;
        bottom: 0;
        width: 2px;
        background-image: linear-gradient(var(--thread-color-soft), var(--thread-color-soft));
        background-repeat: repeat-y;
        background-size: 2px 14px;
        background-position: 0 0;
        opacity: 0;
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 1s cubic-bezier(.22,.68,0,1), opacity .6s ease;
    }
    body.feature-page-signature .content-block.reveal.visible::before {
        opacity: 1;
        transform: scaleY(1);
    }
    /* Small "needle" dot that sits at the top of each thread segment */
    body.feature-page-signature .content-block::after {
        content: "";
        position: absolute;
        left: 13px;
        top: -1px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--thread-color);
        box-shadow: 0 0 0 4px rgba(99,102,241,0.12);
        opacity: 0;
        transition: opacity .4s ease .6s, transform .5s cubic-bezier(.22,.68,0,1.4) .6s;
        transform: scale(0);
    }
    body.feature-page-signature .content-block.reveal.visible::after {
        opacity: 1;
        transform: scale(1);
    }
}

/* =========================================================
   2) Hero — shared cinematic entrance
   ========================================================= */
.feature-page-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.feature-page-hero .hero-fabric-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(99,102,241,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.07) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0;
    animation: fabricFadeIn 1.4s ease .1s forwards;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 40%, transparent 90%);
}

@keyframes fabricFadeIn {
    to { opacity: 1; }
}

.feature-page-hero .container {
    position: relative;
    z-index: 1;
}

.feature-page-hero .feature-breadcrumb {
    opacity: 0;
    animation: threadIn .6s cubic-bezier(.22,.68,0,1) both;
}
.feature-page-hero .eyebrow {
    opacity: 0;
    animation: threadIn .6s cubic-bezier(.22,.68,0,1) .08s both;
}
.feature-page-hero h1 {
    opacity: 0;
    animation: threadIn .7s cubic-bezier(.22,.68,0,1) .16s both;
}
.feature-page-hero p.lead {
    opacity: 0;
    animation: threadIn .6s cubic-bezier(.22,.68,0,1) both;
}
.feature-page-hero p.lead:nth-of-type(1) { animation-delay: .26s; }
.feature-page-hero p.lead:nth-of-type(2) { animation-delay: .34s; }
.feature-page-hero .btn {
    opacity: 0;
    animation: threadIn .6s cubic-bezier(.22,.68,0,1) .42s both;
}
.feature-page-hero .feature-badge-row {
    opacity: 0;
    animation: threadIn .6s cubic-bezier(.22,.68,0,1) .5s both;
}

@keyframes threadIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Badge row — each badge stitches in one after another */
.feature-page-hero .feature-badge-row span {
    display: inline-flex;
    opacity: 0;
    animation: badgePop .5s cubic-bezier(.22,.68,0,1.35) both;
}
.feature-page-hero .feature-badge-row span:nth-child(1) { animation-delay: .55s; }
.feature-page-hero .feature-badge-row span:nth-child(2) { animation-delay: .63s; }
.feature-page-hero .feature-badge-row span:nth-child(3) { animation-delay: .71s; }
.feature-page-hero .feature-badge-row span:nth-child(4) { animation-delay: .79s; }
.feature-page-hero .feature-badge-row span:nth-child(5) { animation-delay: .87s; }

@keyframes badgePop {
    from { opacity: 0; transform: translateY(8px) scale(.9); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* =========================================================
   3) Phone mockup — magnetic float + parallax tilt (JS-driven)
   Used by Tailor App & Measurements & Boutique hero/content media
   ========================================================= */
.content-icon-showcase .phone-mockup {
    transition: transform .25s cubic-bezier(.22,.68,0,1);
    transform-style: preserve-3d;
    will-change: transform;
}

.content-icon-showcase.parallax-enabled .phone-mockup {
    transform: perspective(900px)
               rotateX(var(--pTiltY, 0deg))
               rotateY(var(--pTiltX, 0deg))
               translateY(var(--pLift, 0px));
}

.content-media-row .content-icon-showcase {
    animation: floatSoft 5.5s ease-in-out infinite;
}
.content-media-row.reverse .content-icon-showcase {
    animation-delay: .4s;
}

@keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* When parallax JS is active, let JS own the transform and pause the CSS float */
.content-icon-showcase.parallax-enabled {
    animation: none;
}

/* =========================================================
   3b) Cloth Showcase — floating fabric piece replacing the
   phone mockup in content sections. Hover lifts & sways it.
   Text sits embroidered/printed on the cloth, always visible.
   ========================================================= */
.cloth-showcase {
    position: relative;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
    cursor: default;
    perspective: 900px;
}
.cloth-showcase .cloth-piece {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .6s cubic-bezier(.22,.68,0,1), filter .6s ease;
    transform: rotate(-2deg) translateY(0);
    filter: drop-shadow(0 18px 30px rgba(90,70,60,0.16));
}
.cloth-showcase:hover .cloth-piece,
.cloth-showcase:focus-within .cloth-piece {
    transform: rotate(1deg) translateY(-14px);
    filter: drop-shadow(0 30px 42px rgba(90,70,60,0.22));
}
.cloth-showcase .cloth-piece svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}
.cloth-showcase .cloth-fold {
    transition: d .6s ease;
}
/* gentle continuous sway once hovered, layered on top of the lift */
.cloth-showcase:hover .cloth-piece,
.cloth-showcase:focus-within .cloth-piece {
    animation: clothSway 3.2s ease-in-out infinite;
}
@keyframes clothSway {
    0%, 100% { transform: rotate(1deg) translateY(-14px); }
    50%      { transform: rotate(-1.4deg) translateY(-20px); }
}

.cloth-showcase .cloth-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14% 18%;
    pointer-events: none;
}
.cloth-showcase .cloth-eyebrow {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: #9b8560;
    margin-bottom: 8px;
    opacity: 0.85;
}
.cloth-showcase .cloth-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.35;
    color: #4a4238;
}
.cloth-showcase .cloth-stitch-icon {
    margin-top: 10px;
    color: #b99a58;
    font-size: 1rem;
    opacity: 0.8;
}

@media (max-width: 767.98px) {
    .cloth-showcase { max-width: 260px; }
    .cloth-showcase .cloth-text { font-size: 1.05rem; }
}


.content-media-row .content-text > * {
    opacity: 0;
    transform: translateX(-22px);
}
.content-media-row.reverse .content-text > * {
    transform: translateX(22px);
}
.content-block.reveal.visible .content-media-row .content-text > * {
    animation: slideInText .6s cubic-bezier(.22,.68,0,1) both;
}
.content-block.reveal.visible .content-media-row .content-text > *:nth-child(1) { animation-delay: .05s; }
.content-block.reveal.visible .content-media-row .content-text > *:nth-child(2) { animation-delay: .12s; }
.content-block.reveal.visible .content-media-row .content-text > *:nth-child(3) { animation-delay: .19s; }
.content-block.reveal.visible .content-media-row .content-text > *:nth-child(4) { animation-delay: .26s; }
.content-block.reveal.visible .content-media-row .content-text > *:nth-child(5) { animation-delay: .33s; }

@keyframes slideInText {
    to { opacity: 1; transform: translateX(0); }
}

.content-media-row .content-icon-showcase {
    opacity: 0;
    transform: scale(.92);
}
.content-block.reveal.visible .content-media-row .content-icon-showcase {
    animation: mediaPop .7s cubic-bezier(.22,.68,0,1.15) .15s both, floatSoft 5.5s ease-in-out 0.85s infinite;
}

@keyframes mediaPop {
    from { opacity: 0; transform: scale(.92); }
    to   { opacity: 1; transform: scale(1); }
}

/* =========================================================
   5) Check-list — sewn stitch reveal, one item at a time
   ========================================================= */
.content-block ul.check-list li {
    opacity: 0;
    transform: translateX(-14px);
}
.content-block.reveal.visible ul.check-list li {
    animation: stitchIn .45s cubic-bezier(.22,.68,0,1) both;
}
.content-block.reveal.visible ul.check-list li:nth-child(1) { animation-delay: .28s; }
.content-block.reveal.visible ul.check-list li:nth-child(2) { animation-delay: .38s; }
.content-block.reveal.visible ul.check-list li:nth-child(3) { animation-delay: .48s; }
.content-block.reveal.visible ul.check-list li:nth-child(4) { animation-delay: .58s; }
.content-block.reveal.visible ul.check-list li:nth-child(5) { animation-delay: .68s; }

@keyframes stitchIn {
    to { opacity: 1; transform: translateX(0); }
}

.content-block ul.check-list li::before {
    transition: transform .3s cubic-bezier(.22,.68,0,1.4);
}
.content-block ul.check-list li:hover::before {
    transform: scale(1.3) rotate(-8deg);
}

/* =========================================================
   6) Workflow rail — for genuine sequences (Cutting > Stitching >
   Finishing > Delivery). Only applied where markup opts in via
   [data-stage] on check-list items.
   ========================================================= */
.check-list.workflow-rail {
    position: relative;
    padding-left: 4px;
}
.check-list.workflow-rail li {
    padding-left: 38px;
}
.check-list.workflow-rail li::before {
    display: none;
}
.check-list.workflow-rail li::after {
    content: attr(data-stage);
    position: absolute;
    left: 0;
    top: -2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary-color, #6366f1);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Sans', sans-serif;
}
.check-list.workflow-rail li:not(:last-child) {
    padding-bottom: 6px;
    border-left: 2px dashed rgba(99,102,241,0.25);
    margin-left: 12px;
    padding-left: 26px;
}
.check-list.workflow-rail li:not(:last-child)::after {
    left: -14px;
}
.check-list.workflow-rail li:last-child::after {
    left: 0;
}

/* =========================================================
   7) Feature card grids — magnetic tilt + icon choreography
   (builds on tilt-enabled from feature-animations.js)
   ========================================================= */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(251,191,36,0.06));
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}
.feature-card:hover::before {
    opacity: 1;
}

.feature-card .fs-2 {
    display: inline-block;
    transition: transform .4s cubic-bezier(.22,.68,0,1.3);
}
.feature-card:hover .fs-2 {
    transform: scale(1.18) rotate(-6deg);
}

/* Grid stagger-in on scroll */
.stagger-cards [class*="col-"] {
    opacity: 0;
    transform: translateY(24px);
}
.stagger-cards.reveal.visible [class*="col-"] {
    animation: gridPop .55s cubic-bezier(.22,.68,0,1.2) both;
}
.stagger-cards [class*="col-"]:nth-child(1) { animation-delay: .04s; }
.stagger-cards [class*="col-"]:nth-child(2) { animation-delay: .10s; }
.stagger-cards [class*="col-"]:nth-child(3) { animation-delay: .16s; }
.stagger-cards [class*="col-"]:nth-child(4) { animation-delay: .22s; }
.stagger-cards [class*="col-"]:nth-child(5) { animation-delay: .28s; }
.stagger-cards [class*="col-"]:nth-child(6) { animation-delay: .34s; }
.stagger-cards [class*="col-"]:nth-child(7) { animation-delay: .40s; }
.stagger-cards [class*="col-"]:nth-child(8) { animation-delay: .46s; }

@keyframes gridPop {
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   8) FAQ accordion — smoother chevron + slide, subtle bg wash
   ========================================================= */
.feature-faq .accordion-item {
    transition: box-shadow .3s ease, transform .3s ease;
}
.feature-faq .accordion-button {
    transition: color .25s ease;
}
.feature-faq .accordion-button:not(.collapsed) {
    color: var(--primary-color, #6366f1);
}
.feature-faq .accordion-button::after {
    transition: transform .35s cubic-bezier(.22,.68,0,1.2) !important;
}
.feature-faq .accordion-item:has(.accordion-button:not(.collapsed)) {
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.1));
}

/* =========================================================
   9) Pill links — thread-tied hover
   ========================================================= */
.feature-other-links .pill-link {
    position: relative;
}
.feature-other-links .pill-link:hover {
    box-shadow: 0 0 0 2px var(--thread-color-soft);
}

/* =========================================================
   10) CTA — soft ambient sheen sweep across the whole band
   ========================================================= */
.cta-section {
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: -30%;
    width: 30%;
    height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255,255,255,0.10), transparent);
    animation: sheenSweep 6s ease-in-out infinite;
    pointer-events: none;
}
@keyframes sheenSweep {
    0%   { left: -30%; }
    45%  { left: 120%; }
    100% { left: 120%; }
}

/* =========================================================
   11) Reading progress bar (thin, top of viewport, per page)
   Injected by JS as #featureProgressBar
   ========================================================= */
#featureProgressBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color, #6366f1), var(--accent-color, #fbbf24));
    z-index: 2000;
    transition: width .1s linear;
}

/* =========================================================
   12) Section eyebrow — animated underline tick
   ========================================================= */
.eyebrow {
    position: relative;
    display: inline-block;
}
.eyebrow::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 0;
    background: var(--accent-color, #fbbf24);
    transition: width .5s cubic-bezier(.22,.68,0,1) .2s;
}
.content-block.reveal.visible .eyebrow::after,
.feature-page-hero .eyebrow::after {
    width: 100%;
}

/* =========================================================
   13) Per-page hero signature elements
   ========================================================= */

/* --- Tailor App: stitched needle path trace behind headline --- */
.hero-signature-stitch {
    position: absolute;
    right: 4%;
    top: 12%;
    width: 220px;
    height: 220px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}
.hero-signature-stitch svg {
    width: 100%;
    height: 100%;
}
.hero-signature-stitch path {
    fill: none;
    stroke: rgba(99,102,241,0.28);
    stroke-width: 2;
    stroke-dasharray: 8 6;
    stroke-linecap: round;
    animation: stitchTravel 40s linear infinite;
}
@keyframes stitchTravel {
    to { stroke-dashoffset: -1000; }
}

/* --- Measurements: animated ruler / tape marks along hero top --- */
.hero-signature-ruler {
    position: absolute;
    left: 0;
    right: 0;
    top: 84px;
    height: 44px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    opacity: 0.45;
    pointer-events: none;
}
.hero-signature-ruler .tick {
    flex: 0 0 auto;
    width: 1px;
    background: rgba(155,138,111,0.4);
    margin-right: 23px;
    animation: tickRise .5s cubic-bezier(.22,.68,0,1.4) both;
}
.hero-signature-ruler .tick.major { height: 28px; width: 2px; }
.hero-signature-ruler .tick.minor { height: 14px; }
@keyframes tickRise {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
}

/* --- Boutique: floating fabric-swatch chips drifting in hero --- */
.hero-signature-swatches {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-signature-swatches .swatch {
    position: absolute;
    border-radius: 10px;
    opacity: 0.5;
    box-shadow: 0 8px 20px rgba(99,102,241,0.10);
    animation: swatchDrift 14s ease-in-out infinite;
}
.hero-signature-swatches .swatch:nth-child(1) { width: 70px; height: 90px; top: 12%; left: 8%; background: var(--accent-color, #fbbf24); transform: rotate(-8deg); animation-delay: 0s; }
.hero-signature-swatches .swatch:nth-child(2) { width: 56px; height: 72px; top: 55%; left: 4%; background: var(--secondary-color, #4a6b5c); opacity: 0.18; transform: rotate(10deg); animation-delay: 2.2s; }
.hero-signature-swatches .swatch:nth-child(3) { width: 64px; height: 82px; top: 20%; right: 10%; background: var(--primary-color, #6366f1); opacity: 0.14; transform: rotate(6deg); animation-delay: 4.5s; }
.hero-signature-swatches .swatch:nth-child(4) { width: 48px; height: 60px; top: 62%; right: 6%; background: var(--accent-color, #fbbf24); transform: rotate(-12deg); animation-delay: 1.1s; }
@keyframes swatchDrift {
    0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
    50%      { transform: translateY(-16px) rotate(var(--r, 0deg)); }
}

/* =========================================================
   13b) ATELIER SCENES — cinematic macro-craftsmanship canvas
   Per your creative brief: warm directional light, brass tools,
   oak table, dust-free atelier feel, slow/smooth motion.
   Purely decorative — sits behind the hero content.
   ========================================================= */
.atelier-scene {
    background: linear-gradient(180deg, #fdfcfa 0%, #f7f3ec 55%, #f2ece0 100%);
}
.atelier-scene .feature-breadcrumb,
.atelier-scene .feature-breadcrumb a,
.atelier-scene .eyebrow,
.atelier-scene h1,
.atelier-scene .lead,
.atelier-scene .text-muted,
.atelier-scene .feature-page-icon {
    color: var(--text-dark, #333333);
}
.atelier-scene .feature-breadcrumb a { color: #9b8a6f; }
.atelier-scene .lead { color: #55504a !important; }
.atelier-scene .text-muted { color: #7a736a !important; }
.atelier-scene .feature-page-icon {
    background: linear-gradient(135deg, rgba(201,162,75,0.16), rgba(201,162,75,0.04));
    border: 1px solid rgba(201,162,75,0.3);
}
.atelier-scene .feature-badge-row span {
    background: rgba(255,255,255,0.7);
    color: #55504a;
    border: 1px solid rgba(201,162,75,0.28);
}
.atelier-scene .feature-badge-row span i { color: #c9a24b; }
.atelier-scene .btn-outline-primary {
    color: #55504a;
    border-color: rgba(85,80,74,0.35);
}
.atelier-scene .btn-outline-primary:hover {
    background: rgba(85,80,74,0.14);
    border-color: rgba(85,80,74,0.55);
    color: #222222;
}

.atelier-vignette {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 90% 70% at 30% 20%, rgba(231,185,107,0.08), transparent 60%),
                radial-gradient(ellipse 120% 90% at 50% 100%, rgba(255,255,255,0.4), transparent 55%);
}

.atelier-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.atelier-svg {
    position: absolute;
    right: -4%;
    bottom: -6%;
    width: 62%;
    min-width: 420px;
    height: auto;
    opacity: 0;
    filter: drop-shadow(0 16px 32px rgba(120,100,80,0.16));
    animation: atelierFadeIn 1.6s cubic-bezier(.22,.68,0,1) .2s forwards;
}
@keyframes atelierFadeIn {
    to { opacity: 1; }
}

.atelier-lightsweep {
    animation: atelierLightDrift 12s ease-in-out infinite;
}
@keyframes atelierLightDrift {
    0%, 100% { transform: translate(0,0); opacity: 0.12; }
    50%      { transform: translate(-18px, 8px); opacity: 0.20; }
}

/* Tailor App: needle + thread traveling the stitch line */
.atelier-stitch-path {
    animation: stitchDraw 6s linear infinite;
}
@keyframes stitchDraw {
    to { stroke-dashoffset: -260; }
}
.atelier-needle {
    transform-box: fill-box;
}

/* Measurements: chalk stick drawing pattern lines */
.atelier-chalk-path {
    animation: chalkDraw 5.5s linear infinite;
}
@keyframes chalkDraw {
    to { stroke-dashoffset: -180; }
}
.atelier-chalk {
    transform-box: fill-box;
}

/* Boutique: slow orbital tilt on the mannequin + gliding tape */
.atelier-orbit {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: mannequinOrbit 10s ease-in-out infinite;
}
@keyframes mannequinOrbit {
    0%, 100% { transform: perspective(600px) rotateY(0deg); }
    50%      { transform: perspective(600px) rotateY(10deg); }
}
.atelier-tape-end {
    transform-box: fill-box;
}

@media (prefers-reduced-motion: reduce) {
    .atelier-svg { opacity: 1; animation: none; }
    .atelier-lightsweep,
    .atelier-stitch-path,
    .atelier-chalk-path,
    .atelier-orbit,
    .atelier-needle animateMotion,
    .atelier-chalk animateMotion,
    .atelier-tape-end animateMotion {
        animation: none;
    }
}

/* =========================================================
   13c) Faded orb watermark — sits behind the hero top-left,
   subtle, non-distracting, matches page subject.
   ========================================================= */
.atelier-orb-watermark {
    position: absolute;
    top: 90px;
    left: -3%;
    width: 260px;
    max-width: 26%;
    z-index: 0;
    opacity: 0.55;
    border-radius: 50%;
    filter: drop-shadow(0 16px 32px rgba(120,100,80,0.18));
    pointer-events: none;
    animation: orbFadeIn 1.8s ease .1s both;
}
@keyframes orbFadeIn {
    from { opacity: 0; transform: scale(0.94) translateY(10px); }
    to   { opacity: 0.55; transform: scale(1) translateY(0); }
}
@media (max-width: 991.98px) {
    .atelier-orb-watermark { top: 80px; width: 180px; opacity: 0.4; }
}
@media (max-width: 575.98px) {
    .atelier-orb-watermark { display: none; }
}

/* =========================================================
   14) Responsive guardrails
   ========================================================= */
@media (max-width: 991.98px) {
    body.feature-page-signature .content-block::before,
    body.feature-page-signature .content-block::after {
        display: none;
    }
    .hero-signature-stitch { display: none; }
    .atelier-svg { opacity: 0.28; width: 90%; right: -10%; bottom: -8%; }
}

@media (max-width: 575.98px) {
    .hero-signature-swatches .swatch { opacity: 0.10; }
    .atelier-svg { opacity: 0.16; }
}