/* Automatic engraving loop with an independent coating picker. */
.card-story{--story-metal:rgb(232,147,5);--story-metal-image:url("assets/products/card-colors/gold.webp");--story-progress:0;position:relative;isolation:isolate;border-block:1px solid var(--line);background:var(--surface-tint);scroll-margin-top:0}
.card-story-sticky{width:min(100%,1440px);margin-inline:auto;padding:48px clamp(22px,5vw,76px) 36px;box-sizing:border-box}
.card-story-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}
.card-story-heading h2{margin:0;font-size:.9375rem;font-weight:650;line-height:1.5;color:var(--text-soft);letter-spacing:0}
.card-story-layout{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.45fr);align-items:center;gap:clamp(28px,4vw,64px);padding-block:36px}
.card-story-chapters{min-width:0;display:grid;align-items:center}
.story-chapter{grid-area:1/1;display:none;pointer-events:none}
.story-chapter:last-child{display:block}
.is-laser-ready .story-chapter{display:block;opacity:0}
.story-chapter-number{display:block;font-size:.875rem;color:var(--gold-dark);margin-bottom:18px;font-weight:650;letter-spacing:.03em}
.story-chapter h3{font-size:clamp(32px,4vw,60px);line-height:1.08;letter-spacing:-.04em;font-weight:750;color:var(--text);margin:0 0 20px}
.story-chapter p{color:var(--text-soft);max-width:32ch;font-size:1rem;line-height:1.65;margin:0}
.card-story-product{min-width:0}
.story-card-stage{width:100%;padding:34px 4px;container-type:inline-size}
.story-card{width:100%;aspect-ratio:1200/757;position:relative;border-radius:clamp(12px,1.8vw,24px);box-shadow:0 35px 65px -20px #0007,0 3px 4px #0009;transform:none}
.story-card-face{position:absolute;inset:0;overflow:hidden;border-radius:inherit;border:1px solid #ffffff60;background-color:var(--story-metal);background-image:var(--story-metal-image);background-repeat:no-repeat;background-position:center;background-size:118% 196%;box-shadow:inset 0 1px 1px #ffffff80,inset 0 -2px 1px #0008}
/* Frame the interior of the original card photo; retain its own texture and reflections. */
.story-laser-canvas{position:absolute;inset:0;width:100%;height:100%;display:none;z-index:3;pointer-events:none}
.is-laser-ready .story-laser-canvas{display:block}.is-laser-ready .story-fallback{visibility:hidden}
.story-fallback{color:#e2e6e9;font-family:Arial,sans-serif}.story-fallback>*{position:absolute}
.story-fallback-logo{left:7.667%;top:9.775%;width:13.167%;height:20.872%;object-fit:contain}
.story-fallback-name{left:23%;top:12%;font-size:8cqw;line-height:1.2;font-weight:750;letter-spacing:-.03em}.story-fallback-name span{display:block;font-size:2.7cqw;letter-spacing:.22em;margin-top:3%}
.story-fallback-slogan{left:8.33%;top:48%;font-size:6.8cqw;font-weight:700;line-height:1.15;letter-spacing:-.03em}
.story-qr-source{right:8%;bottom:15%;width:19%;height:auto}
.story-finishes{text-align:center;margin-top:14px}.story-finish-label{display:block;color:var(--text-soft);font-size:.875rem;font-weight:650;min-height:22px}
.story-finish-swatches{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;max-width:450px;margin:12px auto 0}
.story-finish-swatches button{display:grid;place-items:center;width:44px;height:44px;min-height:44px;flex:0 0 44px;padding:7px;border:1px solid var(--line-strong);border-radius:50%;background:var(--surface);box-sizing:border-box;cursor:pointer}
.story-finish-swatches button::before{content:"";display:block;width:26px;height:26px;border:1px solid #0003;border-radius:50%;box-sizing:border-box;background-color:var(--swatch);background-image:var(--swatch-image);background-position:center;background-size:400% 400%}
.story-finish-swatches button[aria-pressed="true"]{border:2px solid var(--text);box-shadow:0 0 0 2px var(--gold)}
.story-finish-swatches button:hover{border-color:var(--text)}
.card-story-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px}
.story-playback-controls{min-width:0}
.story-playback{font:inherit;font-size:.875rem;min-height:44px;padding:10px 14px;border:1px solid var(--line-strong);border-radius:8px;background:var(--surface-tint);color:var(--text);cursor:pointer}
.story-playback[hidden]{display:none!important}
.story-progress{height:2px;width:clamp(140px,23vw,240px);background:var(--line);margin-top:12px;overflow:hidden}.story-progress>span{height:100%;display:block;background:var(--gold);transform:scaleX(var(--story-progress));transform-origin:left}
.card-story:not(.is-laser-ready) .story-progress{display:none}
.studio-site .story-config-link{white-space:normal;font-size:.9375rem;min-height:48px;padding:13px 20px;text-align:center}
.story-config-link:focus-visible,.story-playback:focus-visible,.story-finish-swatches button:focus-visible{outline:3px solid var(--gold-dark);outline-offset:4px}
@media(max-width:800px){
 .card-story-sticky{padding:36px 22px 24px}.card-story-heading{align-items:flex-start;gap:16px}.card-story-heading h2{max-width:24ch;font-size:.875rem}
 .card-story-layout{grid-template-columns:minmax(0,1fr);gap:26px;padding-block:24px}.card-story-product{grid-row:1;width:min(100%,520px);margin-inline:auto}.story-card-stage{padding:12px 1px}.story-card{border-radius:14px}.story-finishes{margin-top:6px}
 .card-story-chapters{max-width:520px;width:100%;margin-inline:auto}
 .story-chapter h3{font-size:clamp(29px,7.5vw,40px);margin:0 0 10px;letter-spacing:-.035em}.story-chapter h3 br{display:none}.story-chapter h3 br::after{content:" "}.story-chapter-number{font-size:.8125rem;margin-bottom:9px}.story-chapter p{max-width:38ch;font-size:.9375rem;line-height:1.55}
 .card-story-footer{gap:14px}.story-progress{width:100%;max-width:160px;margin-top:9px}.studio-site .story-config-link{font-size:.875rem;padding:12px 16px}
}
.story-card{overflow:hidden}
