/* Silk Road Carpets: cinematic, heritage, tangerine. */
@view-transition { navigation: auto; }
:root {
  --ground: #14100d; --surface: #1f1813; --surface2: #2a211a; --ink: #f3e9d9; --muted: #bba994;
  --primary: #f08a3c; --accent: #e3b873; --line: rgba(243, 233, 217, .14); --line2: rgba(243, 233, 217, .28);
  --paper: #f1e7d6; --paper2: #e8dbc5; --pink: #1d1611; --pmuted: #5b4d40; --rust: #a4441a; --blue-w: #2f4a6b;
  --serif: "Crimson Pro", Georgia, serif; --sans: "Lato", system-ui, sans-serif;
  --wrap: 1280px; --gut: 16px; --r: 4px; --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1rem/1.65 var(--sans); font-size: 16px; overflow-x: hidden; }
@media (min-width: 900px) { body { font-size: 17px; } }
img { max-width: 100%; display: block; }
a { color: inherit; }
p a, td a, .small a, dd a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.005em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.45rem; line-height: 1.2; }
p { margin: 0 0 1em; }
.small { font-size: .86rem; color: var(--muted); }
.paper .small { color: var(--pmuted); }
.center { text-align: center; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: 56px; z-index: 2000; background: var(--primary); color: var(--ground); padding: 10px 16px; transform: translateY(-200%); }
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
@media (min-width: 700px) { :root { --gut: 32px; } }
.ic { width: 22px; height: 22px; flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1px solid transparent; font: 700 .92rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; }
.btn-p { background: var(--primary); color: #1a0f06; }
.btn-p:hover { background: #f6a061; }
.btn-g { background: transparent; color: var(--ink); border-color: var(--line2); }
.btn-g:hover { border-color: var(--ink); }
.paper .btn-g { color: var(--pink); border-color: rgba(29, 22, 17, .3); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: .85rem; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.tl { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; text-decoration: none; min-height: 44px; }
.paper .tl { color: var(--rust); }
.tl .ic { width: 18px; transition: transform .3s var(--ease); }
.tl:hover .ic { transform: translateX(4px); }
.tl-b { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: var(--accent); font-weight: 700; text-decoration: underline; min-height: 44px; }
.paper .tl-b { color: var(--rust); }

/* header */
.hd { position: fixed; top: 0; left: 0; right: 0; z-index: 900; transition: background .4s, backdrop-filter .4s; }
.hd-in { max-width: 1440px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 14px var(--gut); transition: padding .4s var(--ease); }
.hd.is-condensed { background: rgba(20, 16, 13, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hd.is-condensed .hd-in { padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); view-transition-name: brand; min-height: 44px; }
.brand-m { width: 34px; height: 34px; }
.brand-t { display: flex; flex-direction: column; line-height: 1; }
.brand-w { font: 500 1.4rem/1 var(--serif); }
.brand-s { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.hd-nav { margin-left: auto; display: none; }
.hd-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.hd-nav a { display: block; padding: 10px 14px; text-decoration: none; font-size: .9rem; letter-spacing: .04em; color: var(--ink); opacity: .82; position: relative; }
.hd-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.hd-nav a:hover, .hd-nav a[aria-current] { opacity: 1; }
.hd-nav a:hover::after, .hd-nav a[aria-current]::after { transform: scaleX(1); }
.hd-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
@media (min-width: 1100px) { .hd-nav { display: block; } .hd-tools { margin-left: 8px; } }
.hd-ic, .hd-menu, .hd-lang { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; background: none; border: 1px solid transparent; color: var(--ink); border-radius: 999px; cursor: pointer; text-decoration: none; font: 700 .8rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; position: relative; }
.hd-ic:hover, .hd-lang:hover { border-color: var(--line2); }
.hd-menu { border-color: var(--line2); padding: 0 14px; }
.hd-menu:hover { border-color: var(--ink); }
.hd-lang { padding: 0 10px; }
.hd-lang .lang-alt { display: none; }
@media (min-width: 560px) { .hd-lang .lang-alt { display: inline; opacity: .55; font-weight: 400; } .hd-lang .lang-alt::before { content: "/ "; } }
html[lang="pcm"] .hd-lang .lang-cur { opacity: .55; font-weight: 400; }
html[lang="pcm"] .hd-lang .lang-alt { opacity: 1; font-weight: 700; }
.dc { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: var(--primary); color: #1a0f06; font-size: .68rem; display: grid; place-items: center; padding: 0 4px; }
.dc[data-zero] { display: none; }
.hd-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.hd-progress span { display: block; height: 100%; width: 100%; background: var(--primary); transform: scaleX(0); transform-origin: left; }
@media (max-width: 560px) { .hd-menu span { display: none; } .hd-menu { padding: 0; width: 44px; } .brand-s { display: none; } }

/* overlay menu */
.menu { position: fixed; inset: 0; z-index: 1500; background: #0c0907; overflow-y: auto; padding-top: 48px; }
.menu-in { max-width: 1280px; margin: 0 auto; padding: 24px var(--gut) 48px; }
.menu-top { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.menu-x { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line2); background: none; color: inherit; cursor: pointer; }
.menu-grid { display: grid; gap: 32px; padding: 32px 0; }
@media (min-width: 900px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }
.mn-h { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li a { display: flex; align-items: baseline; gap: 14px; padding: 8px 0; text-decoration: none; font: 400 clamp(1.6rem, 3.4vw, 2.3rem)/1.15 var(--serif); color: var(--ink); transition: color .25s, transform .35s var(--ease); }
.menu li a:hover, .menu li a[aria-current] { color: var(--primary); transform: translateX(6px); }
.mn-n { font: 700 .72rem/1 var(--sans); color: var(--muted); letter-spacing: .1em; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 20px; border-top: 1px solid var(--line); padding-top: 18px; align-items: center; }
.menu-foot a { color: var(--accent); min-height: 44px; display: inline-flex; align-items: center; }
html.menu-open { overflow: hidden; }

/* slates and section heads */
.slate { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font: 700 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.slate-n { color: var(--primary); }
.paper .slate-n { color: var(--rust); }
.slate-l { color: var(--muted); }
.paper .slate-l { color: var(--pmuted); }
.slate-tc { font-variant-numeric: tabular-nums; letter-spacing: .08em; color: var(--muted); opacity: .7; padding-left: 14px; border-left: 1px solid var(--line2); }
.s-head { max-width: 820px; margin-bottom: 40px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.paper .lead { color: var(--pmuted); }
.kicker { font: 700 .76rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

/* scenes */
.scene { padding: 88px 0; position: relative; }
@media (min-width: 900px) { .scene { padding: 128px 0; } }
.scene + .scene:not(.paper)::before { content: ""; position: absolute; top: 0; left: 50%; width: min(var(--wrap), calc(100% - 2 * var(--gut))); transform: translateX(-50%); height: 1px; background: var(--line); }
.paper { background: var(--paper); color: var(--pink); }
.paper p a, .paper td a, .paper dd a { color: var(--rust); }
.statement { font: 400 clamp(1.7rem, 3.6vw, 2.8rem)/1.2 var(--serif); margin: 0; }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* reveal (content visible unless JS adds .js-motion) */
.js-motion .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js-motion .rv.in { opacity: 1; transform: translateY(0px); }

/* photos and loom boxes */
.ph { margin: 0; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--surface2), #3a2a1e); border-radius: var(--r); }
.paper .ph { background: linear-gradient(135deg, #d9c7aa, #c8b190); }
.ph img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 12px; font-size: .82rem; color: #f8efe2; background: linear-gradient(transparent, rgba(10, 7, 5, .8)); }
.r43 { aspect-ratio: 4 / 3; } .r34 { aspect-ratio: 3 / 4; } .r45 { aspect-ratio: 4 / 5; } .r11 { aspect-ratio: 1; } .r169 { aspect-ratio: 16 / 9; } .rfill { position: absolute; inset: 0; border-radius: 0; }
.loom { position: relative; aspect-ratio: 1 / var(--lr, 1.4); background: radial-gradient(circle at 50% 50%, var(--lf) 0 30%, var(--lb) 31% 100%); background-clip: content-box; padding: 4% 0; border-radius: 2px; }
.loom canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.loom canvas[data-painted] ~ * { display: none; }

/* home hero */
.reel-hero { position: relative; height: calc(100svh - 48px); min-height: 620px; max-height: 1100px; overflow: hidden; background: radial-gradient(ellipse at 40% 30%, #3a2416, var(--ground) 65%); isolation: isolate; }
.hero3d-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; z-index: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.reel-hero.is-live .hero3d-canvas { opacity: 1; }
.reel-hero.is-live .hero-still { opacity: 0; }
.reel-hero.is-still .hero3d-canvas { opacity: 0; }
.reel-hero.is-still .hero-still { opacity: 1; }
.hero-still { position: absolute; inset: 0; z-index: 0; transition: opacity 1.2s; perspective: 900px; overflow: hidden; }
.still-beam { position: absolute; left: 20%; top: -10%; width: 60%; height: 120%; background: radial-gradient(ellipse at 50% 0%, rgba(255, 214, 160, .22), transparent 60%); }
.still-floor { position: absolute; left: -20%; right: -20%; bottom: -10%; height: 70%; background: repeating-linear-gradient(90deg, #2c1b10 0 120px, #34210f 120px 240px, #291a0f 240px 330px); transform: rotateX(62deg); transform-origin: bottom; opacity: .9; }
.still-rug { position: absolute; left: 50%; bottom: 4%; width: min(560px, 70vw); transform: translateX(-30%) rotateX(62deg) rotateZ(-24deg); transform-origin: bottom center; box-shadow: 0 40px 80px rgba(0, 0, 0, .6); }
.still-roll { position: absolute; left: 50%; bottom: 52%; width: min(560px, 70vw); height: 34px; transform: translateX(-38%) rotate(-12deg); border-radius: 20px; background: linear-gradient(180deg, #a04030, #5a1a12 60%, #2a0e0a); opacity: 0; }
.reel-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(14, 10, 8, .86) 0%, rgba(14, 10, 8, .55) 38%, rgba(14, 10, 8, 0) 70%), linear-gradient(0deg, rgba(14, 10, 8, .7), transparent 40%); }
@media (max-width: 700px) { .reel-hero::after { background: linear-gradient(0deg, rgba(14, 10, 8, .92) 10%, rgba(14, 10, 8, .5) 55%, rgba(14, 10, 8, .2)); } }
.bar { position: absolute; left: 0; right: 0; z-index: 3; background: #000; color: rgba(243, 233, 217, .78); display: flex; align-items: center; gap: 16px; padding: 0 var(--gut); font: 700 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.bar-t { top: 0; height: 56px; transform-origin: top; animation: barIn 1.4s var(--ease) both; padding-top: 0; }
.reel-hero .bar-t { top: 0; padding-top: 58px; height: 116px; }
@media (max-width: 1099px) { .reel-hero .bar-t { padding-top: 64px; height: 110px; } }
.bar-b { bottom: 0; min-height: 76px; animation: barIn 1.4s var(--ease) both; transform-origin: bottom; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
@keyframes barIn { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.bar-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.tc { font-variant-numeric: tabular-nums; color: var(--primary); }
.tc::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e0402e; margin-right: 8px; animation: rec 1.6s steps(2) infinite; }
@keyframes rec { 50% { opacity: .2; } }
.hero-copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 116px; max-width: var(--wrap); }
@media (min-width: 900px) { .hero-copy { padding-bottom: 132px; } }
@media (max-width: 899px) { .hero-lead { font-size: 1rem; } .hero-copy .btns .btn { flex: 1 1 auto; } }
@media (min-width: 900px) { .reel-hero .bar-b { padding-left: 176px; padding-right: 250px; } }
@media (max-width: 899px) { body.pg-index:not(.past-hero) .wa, body.pg-index:not(.past-hero) .vb-fab { visibility: hidden; opacity: 0; transform: translateY(20px); } .wa, .vb-fab { transition: transform .5s var(--ease), opacity .5s, visibility .5s; } }
@media (max-width: 560px) { .reel-hero .hero-lead { display: none; } .reel-hero .hero-h { font-size: 2.35rem; } }
.hero-h { font-size: clamp(2.5rem, 5.4vw, 5.1rem); line-height: 1; margin: 0 0 22px; max-width: 1000px; view-transition-name: page-title; }
.hero-h .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-h .ln > * { display: inline-block; }
.js-motion .hero-h .ln > * { animation: lineUp 1.2s var(--ease) both; }
.js-motion .hero-h .ln:nth-child(2) > * { animation-delay: .18s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: translateY(0%); } }
.hero-h em { color: var(--primary); font-style: italic; }
.hero-lead { max-width: 560px; font-size: 1.1rem; color: #e6dac7; }
.reel-ctl { display: flex; gap: 6px; flex: none; }
.reel-b { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; background: none; border: 1px solid rgba(243, 233, 217, .2); border-radius: 999px; color: var(--ink); font: 700 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.reel-b.is-on { border-color: var(--primary); color: var(--primary); }
.reel-bt { display: none; }
@media (min-width: 900px) { .reel-bt { display: inline; } }
.reel-prog { flex: 1; min-width: 80px; height: 2px; background: rgba(243, 233, 217, .16); position: relative; }
.reel-prog span { position: absolute; inset: 0; background: var(--primary); transform: scaleX(var(--reel, 0)); transform-origin: left; }
.reel-again { background: none; border: 0; color: var(--accent); font: 700 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; min-height: 44px; cursor: pointer; }
@media (max-width: 560px) { .reel-prog { display: none; } .bar-b { justify-content: space-between; } }

/* live strip */
.live { background: #0b0807; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .86rem; }
.live-in { display: flex; align-items: center; gap: 14px; min-height: 52px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #5fd38a; box-shadow: 0 0 0 0 rgba(95, 211, 138, .6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(95, 211, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 211, 138, 0); } }
.live-items { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; flex: 1; }
.live-items span + span::before { content: "·"; margin-right: 22px; color: var(--primary); }
@media (max-width: 700px) { .live-items span + span::before { content: none; } .live-items { flex-direction: column; } }
.live-src { margin: 0; font-size: .74rem; color: var(--muted); letter-spacing: .04em; }
.live-inline { margin-top: 0; }

/* house */
.house { display: grid; gap: 48px; }
@media (min-width: 960px) { .house { grid-template-columns: 1.1fr 1fr; gap: 96px; } }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 32px 0; }
@media (min-width: 900px) { .scene > .wrap > .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--ground); padding: 22px 18px; }
.paper .stats { background: rgba(29, 22, 17, .14); border-color: rgba(29, 22, 17, .14); }
.paper .stat { background: var(--paper); }
.stat-v { font: 500 clamp(2.2rem, 4vw, 3.2rem)/1 var(--serif); color: var(--primary); margin: 0 0 6px; font-variant-numeric: tabular-nums; }
.paper .stat-v { color: var(--rust); }
.stat-l { margin: 0; font-size: .86rem; color: var(--muted); }
.paper .stat-l { color: var(--pmuted); }

/* film strip */
.film { position: relative; margin: 0 calc(-1 * var(--gut)); }
.film::before, .film::after { content: ""; display: block; height: 22px; background: radial-gradient(circle at 50% 50%, var(--ground) 0 4px, transparent 5px) 0 0 / 26px 22px, #070504; }
.film-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px var(--gut); background: #070504; scrollbar-width: thin; scrollbar-color: var(--primary) #070504; }
.film-card { flex: 0 0 min(300px, 78vw); scroll-snap-align: start; }
.film-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }

/* rug card */
.rc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .3s; }
.rc:hover { transform: translateY(-4px); border-color: var(--line2); }
.rc-art { position: relative; padding: 22px 22px 8px; background: radial-gradient(ellipse at 50% 30%, #3a2618, #1a120d 70%); }
.rc-art .loom { max-height: 360px; margin: 0 auto; aspect-ratio: 1 / min(var(--lr), 1.55); }
.rc-art .loom { width: auto; }
.rc-art .loom canvas { object-fit: contain; }
.badge { position: absolute; top: 12px; left: 12px; background: rgba(10, 7, 5, .82); color: var(--accent); font: 700 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; margin: 0; }
.pd-info .badge { position: static; display: inline-block; margin-bottom: 12px; }
.badge-hold { color: #ffb38a; }
.rc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.rc-fam { font: 700 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.rc-h { font-size: 1.4rem; margin-bottom: 6px; }
.rc-meta { font-size: .86rem; color: var(--muted); margin-bottom: 6px; }
.rc-price { font: 500 1.3rem/1 var(--serif); color: var(--primary); margin-bottom: 14px; }
.rc-act { margin-top: auto; display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.rc-link { background: none; border: 0; padding: 0; font: 700 .86rem/1.2 var(--sans); color: var(--accent); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; min-height: 44px; text-align: left; }
.rc-add { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: none; border: 1px solid var(--line2); color: var(--ink); font: 700 .8rem/1 var(--sans); cursor: pointer; }
.rc-add .ic { width: 18px; }
.rc-add[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #1a0f06; }

/* story: scroll knotting */
.story { display: grid; gap: 48px; }
@media (min-width: 960px) { .story { grid-template-columns: .9fr 1.1fr; gap: 88px; } .story-art { position: sticky; top: 140px; align-self: start; } }
.knotting { position: relative; max-width: 420px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(29, 22, 17, .3)); }
.knotting::before { content: ""; position: absolute; inset: 4% 3%; background: repeating-linear-gradient(90deg, rgba(29, 22, 17, .35) 0 1px, transparent 1px 7px), linear-gradient(#e9dcc4, #ddcdb1); border-top: 3px solid #6b4a30; border-bottom: 3px solid #6b4a30; }
.knotting .loom { clip-path: inset(calc((1 - var(--knot, 1)) * 100%) 0 0 0); }
.js-motion .knotting .loom { clip-path: inset(calc((1 - var(--knot, 0)) * 100%) 0 0 0); }
.knot-line { position: absolute; left: -6%; right: -6%; height: 2px; background: var(--rust); bottom: calc(var(--knot, 1) * 100%); box-shadow: 0 0 12px rgba(164, 68, 26, .6); }
.js-motion .knot-line { bottom: calc(var(--knot, 0) * 100%); }
.knot-cap { text-align: center; font-size: .9rem; color: var(--pmuted); margin-top: 18px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { padding: 28px 0 28px 64px; border-top: 1px solid rgba(29, 22, 17, .16); position: relative; }
.step-n { position: absolute; left: 0; top: 30px; font: 500 1.9rem/1 var(--serif); color: var(--rust); }
.step h3 { font-size: 1.7rem; }
.step p { color: var(--pmuted); margin: 0; }

/* bento */
.bento { display: grid; gap: 16px; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(240px, auto); } .bt-big { grid-column: span 2; grid-row: span 2; } .bt-photo { grid-column: span 2; } }
.bt { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; overflow: hidden; transition: border-color .3s, transform .5s var(--ease); }
.bt:hover { border-color: var(--primary); }
.bt-c { position: relative; z-index: 2; }
.bt-k { display: flex; align-items: center; gap: 8px; font: 700 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.bt h3 { font-size: 1.7rem; }
.bt p:last-child { margin: 0; color: var(--muted); }
.bt-big { min-height: 460px; justify-content: space-between; }
@media (min-width: 1100px) { .bt-wide { grid-column: span 2; } }
.bt-art { position: relative; display: grid; place-items: center; padding: 10px 10px 28px; flex: 1; }
.bt-art .loom { width: 100%; max-width: 560px; transform: rotate(-4deg); transition: transform .9s var(--ease); }
.bt-big:hover .bt-art .loom { transform: rotate(0deg) scale(1.03); }
.bt-photo { min-height: 300px; }
.bt-photo .ph { position: absolute; inset: 0; border-radius: 0; }
.bt-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 7, 5, .92), rgba(10, 7, 5, .2) 70%); z-index: 1; }
.bt-photo p:last-child { color: #e6dac7; }
.bt-plan { position: absolute; right: 18px; top: 18px; width: 46%; color: var(--muted); }

/* trio + quote */
.trio { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; align-items: start; }
.trio-a { grid-column: 1 / -1; }
@media (min-width: 900px) { .trio { grid-template-columns: 1.1fr .9fr .8fr; } .trio-a { grid-column: auto; margin-top: 60px; } .trio-c { margin-top: 140px; } }
.quote { margin: 72px auto 32px; max-width: 900px; text-align: center; }
.quote blockquote { margin: 0; }
.quote p { font: italic 400 clamp(1.5rem, 3vw, 2.3rem)/1.3 var(--serif); }
.quote p::before { content: "\201C"; color: var(--primary); }
.quote p::after { content: "\201D"; color: var(--primary); }
.quote figcaption { color: var(--muted); font-size: .9rem; letter-spacing: .04em; }
.paper .quote figcaption { color: var(--pmuted); }

/* marquee */
.marq { overflow: hidden; padding: 8px 0 12px; }
.marq-track { display: flex; gap: 20px; width: max-content; animation: marq 60s linear infinite; }
.marq:hover .marq-track, .marq:focus-within .marq-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.mq { margin: 0; width: min(420px, 80vw); background: var(--paper2); padding: 28px; border-radius: var(--r); border-left: 3px solid var(--rust); }
.mq blockquote { margin: 0 0 12px; }
.mq p { font: 400 1.25rem/1.35 var(--serif); margin: 0; }
.mq figcaption { font-size: .85rem; color: var(--pmuted); }

/* visit */
.visit { display: grid; gap: 32px; }
@media (min-width: 960px) { .visit { grid-template-columns: 1.2fr 1fr; } .visit-c { grid-column: 1 / -1; } .visit-p { grid-template-columns: 1fr 1fr; } }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.hours caption { text-align: left; font: 700 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--primary); padding-bottom: 12px; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 400; vertical-align: top; }
.hours td { text-align: right; color: var(--muted); }
.ailine { display: flex; gap: 18px; align-items: flex-start; background: linear-gradient(120deg, #2a1a10, #1d1510); border: 1px solid rgba(240, 138, 60, .45); border-radius: var(--r); padding: 26px; color: var(--ink); }
.ailine-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #1a0f06; display: grid; place-items: center; flex: none; }
.ailine-k { font: 700 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--primary); }
.ailine h3 { font-size: 1.5rem; }
.ailine p { color: #d9ccb8; }
.ailine-n { font: 500 1.6rem/1 var(--serif); color: var(--accent); text-decoration: none; display: inline-block; margin: 4px 0 8px; min-height: 44px; }
.ailine .small { color: #bba994; margin: 0; }
.map { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.map svg { width: 100%; height: auto; display: block; }
.map-l { position: absolute; left: 12px; bottom: 8px; margin: 0; font-size: .8rem; background: rgba(10, 7, 5, .8); padding: 4px 10px; border-radius: 999px; }

/* journal cards */
.jgrid { display: grid; gap: 24px; }
@media (min-width: 800px) { .jgrid { grid-template-columns: repeat(3, 1fr); } .jgrid2 { grid-template-columns: repeat(2, 1fr); } }
.jc { text-decoration: none; display: block; }
.jc .ph { margin-bottom: 16px; }
.jc .ph img { transition: transform 1.2s var(--ease); }
.jc:hover .ph img { transform: scale(1.04); }
.jc-k { font: 700 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.paper .jc-k { color: var(--rust); }
.jc h3 { font-size: 1.6rem; }
.jc p:last-child { color: var(--muted); }
.paper .jc p:last-child { color: var(--pmuted); }
.paper .jc { background: var(--paper2); padding: 24px; border-radius: var(--r); }
.jlist { display: grid; gap: 48px; }
@media (min-width: 900px) { .jc-wide { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; } .jc-wide .ph { grid-row: span 3; margin: 0; } }

/* cta band */
.cta-band { position: relative; overflow: hidden; background: #0b0807; padding: 96px 0; border-top: 1px solid var(--line); }
.cta-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .cta-in { grid-template-columns: 1fr 1.2fr; } }
.cta-loom { transform: perspective(900px) rotateX(48deg) rotateZ(-8deg); max-width: 520px; width: 100%; box-shadow: 0 40px 60px rgba(0, 0, 0, .6); }
.cta-copy h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.cta-copy p { color: var(--muted); max-width: 520px; }

/* title card (inner hero) */
.title-card { position: relative; min-height: min(78svh, 720px); display: flex; align-items: flex-end; overflow: hidden; background: var(--surface); isolation: isolate; }
.tc-bg { position: absolute; inset: 0; z-index: -2; }
.tc-loom { background-color: var(--lf); background-size: 520px auto; background-repeat: repeat; animation: pan 60s linear infinite; }
@keyframes pan { to { background-position: 520px 728px; } }
.tc-photo .ph img { animation: kb 24s var(--ease) infinite alternate; }
@keyframes kb { from { transform: scale(1.02) translate(0px, 0px); } to { transform: scale(1.12) translate(-14px, -8px); } }
.tc-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 10, 8, .95) 8%, rgba(14, 10, 8, .62) 55%, rgba(14, 10, 8, .4)); }
.title-card .bar-t { top: 0; padding-top: 64px; height: 108px; }
.title-card .bar-b { min-height: 44px; }
.tc-in { position: relative; padding-top: 160px; padding-bottom: 92px; width: 100%; }
.tc-h { font-size: clamp(2.4rem, 6vw, 5rem); max-width: 980px; view-transition-name: page-title; margin-bottom: 18px; }
.tc-lead { max-width: 640px; color: #e6dac7; font-size: 1.1rem; margin: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: .82rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.crumbs a:hover { color: var(--ink); }

/* lists, tables, faq */
.nlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 900px) { .nlist { grid-template-columns: 1fr 1fr; column-gap: 64px; } }
.nlist li { display: flex; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.paper .nlist li { border-color: rgba(29, 22, 17, .16); }
.nl-n { font: 500 1.7rem/1 var(--serif); color: var(--primary); min-width: 40px; }
.paper .nl-n { color: var(--rust); }
.nlist h3 { font-size: 1.35rem; margin-bottom: 6px; }
.nlist p { margin: 0; color: var(--muted); }
.paper .nlist p { color: var(--pmuted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.paper .table-wrap { border-color: rgba(29, 22, 17, .16); }
.cmp { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .95rem; }
.split .cmp, .calc .cmp { min-width: 0; }
.cmp caption { text-align: left; padding: 14px 16px; font: 700 .72rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.paper .cmp caption { color: var(--rust); }
.cmp th, .cmp td { text-align: left; padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.paper .cmp th, .paper .cmp td { border-color: rgba(29, 22, 17, .14); }
.cmp th { font-weight: 700; }
.cmp thead th { font: 700 .74rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.paper .cmp thead th { color: var(--pmuted); }
.faq { border-top: 1px solid var(--line); }
.paper .faq { border-color: rgba(29, 22, 17, .16); }
.qa { border-bottom: 1px solid var(--line); }
.paper .qa { border-color: rgba(29, 22, 17, .16); }
.qa summary { list-style: none; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 0; cursor: pointer; font: 500 1.3rem/1.3 var(--serif); min-height: 44px; }
.qa summary::-webkit-details-marker { display: none; }
.qa-x { width: 26px; height: 26px; flex: none; position: relative; border: 1px solid currentColor; border-radius: 50%; opacity: .7; }
.qa-x::before, .qa-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s; }
.qa-x::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa-x::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa-a p { color: var(--muted); max-width: 760px; }
.paper .qa-a p { color: var(--pmuted); }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding: 8px 0 8px 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 16px; width: 14px; height: 8px; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }
.paper .ticks li::before { border-color: var(--rust); }
.cards3 { display: grid; gap: 18px; }
@media (min-width: 800px) { .cards3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; text-decoration: none; display: block; }
.card > .ic { width: 30px; height: 30px; color: var(--primary); margin-bottom: 16px; }
.card .ph { margin: -26px -26px 20px; border-radius: var(--r) var(--r) 0 0; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.paper .card { background: var(--paper2); border-color: rgba(29, 22, 17, .12); }
.paper .card p { color: var(--pmuted); }
.paper .card > .ic { color: var(--rust); }
.card-p { font: 500 1.8rem/1 var(--serif); color: var(--primary) !important; }
.paper .card-p { color: var(--rust) !important; }
a.card:hover { border-color: var(--primary); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: currentColor; opacity: .25; }
.timeline li { display: grid; gap: 4px 32px; padding: 0 0 36px 36px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--paper); }
.paper .timeline li::before { background: var(--rust); }
@media (min-width: 800px) { .timeline li { grid-template-columns: 160px 1fr; } }
.tl-y { font: 500 1.5rem/1.2 var(--serif); color: var(--rust); margin: 0; }
.timeline h3 { margin-bottom: 4px; }
.timeline p { margin: 0; }
.people { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .people { grid-template-columns: repeat(4, 1fr); } }
.person .ph { margin-bottom: 14px; filter: grayscale(.25) sepia(.15); }
.person h3 { font-size: 1.3rem; margin-bottom: 2px; }
.person-r { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.person p:last-child { color: var(--muted); font-size: .94rem; }

/* forms */
.form-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .fld.full { grid-column: 1 / -1; } }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld label, .lbl { font-size: .88rem; font-weight: 700; margin: 0; }
.req { color: var(--primary); }
.paper .req { color: var(--rust); }
.opt { font-weight: 400; color: var(--muted); }
.paper .opt { color: var(--pmuted); }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1px solid var(--line2); border-radius: var(--r); padding: 12px 14px; min-height: 48px; width: 100%; }
.paper input, .paper select, .paper textarea { background: #fbf6ec; color: var(--pink); border-color: rgba(29, 22, 17, .28); }
input[type="range"] { padding: 0; min-height: 44px; accent-color: var(--primary); background: none; border: 0; }
input[type="checkbox"] { width: 22px; height: 22px; min-height: 0; accent-color: var(--primary); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #ff8a6a; }
.err { color: #ffb3a0; font-size: .82rem; margin: 0; min-height: 0; }
.paper .err { color: #a0260c; }
.form { max-width: 820px; }
.form .btn { margin-top: 18px; }
.form-note { font-size: .86rem; color: var(--muted); margin-top: 12px; }
.paper .form-note { color: var(--pmuted); }
.thanks { margin-top: 20px; padding: 26px; border: 1px solid var(--primary); border-radius: var(--r); background: rgba(240, 138, 60, .08); }
.paper .thanks { border-color: var(--rust); background: rgba(164, 68, 26, .06); }
.thanks-k { font: 700 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--primary); }
.paper .thanks-k { color: var(--rust); }
.form.is-done .form-grid, .form.is-done > .btn, .form.is-done .form-note { display: none; }

/* chips, tabs, swatches */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); background: none; color: inherit; font: 400 .9rem/1 var(--sans); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.paper .chip { border-color: rgba(29, 22, 17, .3); }
.chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #1a0f06; }
.chip:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 28px; scrollbar-width: none; }
.paper .tabs { border-color: rgba(29, 22, 17, .16); }
.tabs [role="tab"] { flex: none; min-height: 48px; padding: 0 18px; background: none; border: 0; border-bottom: 2px solid transparent; color: inherit; opacity: .7; font: 700 .86rem/1 var(--sans); letter-spacing: .06em; cursor: pointer; }
.tabs [role="tab"][aria-selected="true"] { opacity: 1; border-color: var(--primary); }
.tabs-lg [role="tab"] { font: 500 1.25rem/1 var(--serif); letter-spacing: 0; }
.wv-p { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .wv-p { grid-template-columns: 380px 1fr; gap: 64px; } }
.wv-art .loom { max-width: 380px; margin: 0 auto; }
.wv-p h3 { font-size: 2.2rem; }
.specs { display: grid; gap: 0; margin: 18px 0; }
.specs div { display: grid; grid-template-columns: 140px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.paper .specs div { border-color: rgba(29, 22, 17, .16); }
.specs dt { color: var(--muted); font-size: .86rem; }
.paper .specs dt { color: var(--pmuted); }
.specs dd { margin: 0; }
.sws { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { width: 44px; height: 44px; border-radius: 50%; background: var(--c); border: 2px solid var(--line2); cursor: pointer; }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--ground), 0 0 0 5px var(--primary); }

/* collection */
.coll-bar { display: grid; gap: 14px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 32px; }
.coll-search { position: relative; }
.coll-search .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.coll-search input { padding-left: 46px; }
.coll-row { display: grid; gap: 8px; }
@media (min-width: 900px) { .coll-row { grid-template-columns: 90px 1fr; align-items: center; } .coll-row2 { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.coll-k { margin: 0; font: 700 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.coll-count { margin: 0; font-size: .9rem; color: var(--muted); }
.coll-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.coll-none { padding: 40px; text-align: center; border: 1px dashed var(--line2); border-radius: var(--r); }

/* product */
.pd { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .pd { grid-template-columns: 1.1fr 1fr; gap: 80px; } .pd-info { position: sticky; top: 130px; } }
.lens-wrap { position: relative; max-width: 520px; margin: 0 auto; cursor: crosshair; touch-action: pan-y; }
.lens { position: absolute; width: 170px; height: 170px; border-radius: 50%; border: 2px solid var(--accent); box-shadow: 0 10px 30px rgba(0, 0, 0, .6); pointer-events: none; opacity: 0; transition: opacity .2s; background-repeat: no-repeat; transform: translate(-50%, -50%); }
.lens-wrap.is-on .lens { opacity: 1; }
.pd-price { font: 500 clamp(2.2rem, 4vw, 3rem)/1 var(--serif); color: var(--primary); margin-bottom: 8px; }
.points { list-style: none; margin: 0; padding: 0; }
.points li { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid rgba(29, 22, 17, .16); }
.points span { font: 700 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rust); }
.points strong { font: 500 1.3rem/1.3 var(--serif); }
.pd-gal { display: grid; gap: 16px; }
@media (min-width: 800px) { .pd-gal { grid-template-columns: repeat(3, 1fr); } }
.crop { overflow: hidden; }
.crop canvas { transform: scale(2.2); transform-origin: 8% 8%; }
.rel { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
@media (min-width: 900px) { .rel { grid-template-columns: repeat(3, 1fr); } }
.loom:has(canvas[data-painted]) { background: none; }

/* planner */
.planner { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .planner { grid-template-columns: 340px 1fr; gap: 56px; } }
.planner-in { display: grid; gap: 14px; }
.planner-out { font: 500 1.3rem/1.4 var(--serif); margin: 0; }
.planner-rec { color: var(--muted); margin: 0; }
.plan { width: 100%; height: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.plan text { font: 700 12px var(--sans); fill: var(--muted); }
.calc { display: grid; gap: 16px; align-items: end; }
@media (min-width: 800px) { .calc { grid-template-columns: 1fr 1fr 1.2fr; } .calc-tri { grid-template-columns: repeat(4, 1fr); } .calc-tri .calc-out { grid-column: 1 / -1; } }
.calc-out { background: var(--paper2); border-radius: var(--r); padding: 20px; }
.scene:not(.paper) .calc-out { background: var(--surface); }
.calc-k { font: 700 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--rust); margin-bottom: 8px; }
.scene:not(.paper) .calc-k { color: var(--primary); }
.calc-v { font: 500 2.2rem/1 var(--serif); margin-bottom: 6px; }

/* knots */
.knots { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .knots { grid-template-columns: 1fr 360px; } }
.knot-grid { width: 100%; max-width: 360px; justify-self: center; background: #fbf6ec; border: 1px solid rgba(29, 22, 17, .2); }

/* bespoke */
.bsp { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .bsp { grid-template-columns: 1fr 1fr; gap: 64px; } .bsp-art { position: sticky; top: 130px; } }
.bsp-frame { background: radial-gradient(ellipse at 50% 30%, #3a2618, #120d0a 70%); padding: 32px; border-radius: var(--r); display: grid; place-items: center; min-height: 420px; }
.bsp-frame canvas { max-width: 100%; max-height: 640px; width: auto; height: auto; box-shadow: 0 30px 50px rgba(0, 0, 0, .55); }
.bsp-ctl { display: grid; gap: 22px; }
.est { border: 1px solid var(--line2); border-radius: var(--r); padding: 18px 20px; }
.paper .est { border-color: rgba(29, 22, 17, .2); }
.est p { display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.est p:last-child { border: 0; }
.est strong { font: 500 1.3rem/1 var(--serif); color: var(--primary); }
.est-t strong { font-size: 1.7rem; }

/* care */
.care { display: grid; gap: 40px; }
@media (min-width: 960px) { .care { grid-template-columns: 1fr 1fr; gap: 64px; } }
.care-ctl { display: grid; gap: 18px; }
.checks { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.checks legend { font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.checks label { display: flex; gap: 12px; align-items: center; min-height: 44px; cursor: pointer; }
.care-book h3 { font-size: 1.8rem; }
.care-book .chips { margin-bottom: 20px; }
.ba { position: relative; max-width: 980px; margin: 0 auto; overflow: hidden; border-radius: var(--r); }
.ba .loom { padding: 0; }
.ba-b { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--ba, 50%)); }
.ba-dirty canvas { filter: grayscale(.65) brightness(.62) contrast(.8) sepia(.35) blur(.6px); }
.ba-h { position: absolute; top: 0; bottom: 0; left: var(--ba, 50%); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); pointer-events: none; }
.ba-h::after { content: "Before  |  After"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; background: #fff; color: #1d1611; font: 700 .7rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }

/* wizard and calendar */
.wiz { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
@media (min-width: 800px) { .wiz { padding: 36px; } }
.wiz-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; list-style: none; margin: 0 0 28px; padding: 0; counter-reset: w; }
.wiz-steps li { counter-increment: w; font-size: .78rem; color: var(--muted); padding-top: 10px; border-top: 3px solid var(--line2); }
.wiz-steps li::before { content: counter(w, decimal-leading-zero) " "; color: var(--primary); font-weight: 700; }
.wiz-steps li.is-on, .wiz-steps li.is-done { border-color: var(--primary); color: var(--ink); }
.wiz-p { border: 0; padding: 0; margin: 0; }
.wiz-p legend { font: 500 1.7rem/1.2 var(--serif); margin-bottom: 18px; }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.picks { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pick { display: grid; grid-template-columns: 22px 64px 1fr; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line2); border-radius: var(--r); cursor: pointer; }
.pick:has(input:checked) { border-color: var(--primary); background: rgba(240, 138, 60, .08); }
.pick-art .loom { width: 64px; padding: 0; }
.pick-t { display: flex; flex-direction: column; font-size: .86rem; color: var(--muted); }
.pick-t strong { color: var(--ink); font-size: .95rem; }
.cal { margin-bottom: 18px; }
.cal-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cal-h p { font: 500 1.4rem/1 var(--serif); margin: 0; }
.cal-h button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: none; color: inherit; cursor: pointer; }
.cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-g .dow { font-size: .72rem; text-align: center; color: var(--muted); padding: 6px 0; }
.cal-d { min-height: 46px; border-radius: var(--r); border: 1px solid var(--line); background: none; color: inherit; font: 400 .9rem/1 var(--sans); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.cal-d small { font-size: .6rem; color: var(--muted); }
.cal-d.full { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.cal-d.few small { color: var(--accent); }
.cal-d[aria-pressed="true"] { background: var(--primary); color: #1a0f06; border-color: var(--primary); }
.cal-d[aria-pressed="true"] small { color: #1a0f06; }
.sum { margin-top: 20px; padding: 18px; background: var(--surface2); border-radius: var(--r); }
.sum p { margin: 0 0 6px; }

/* drawer, modal, lightbox, quick view */
.drawer, .modal, .lb, .qv { position: fixed; inset: 0; z-index: 1600; background: rgba(8, 6, 4, .7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.drawer-in { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--surface); padding: 64px 22px 22px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; animation: slideIn .5s var(--ease); }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0%); } }
.drawer-top { display: flex; justify-content: space-between; align-items: center; }
.drawer-top h2 { font-size: 2rem; margin: 0; }
.drawer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.drawer-list li { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); }
.drawer-list .loom { width: 60px; padding: 0; }
.drawer-list p { margin: 0; font-size: .86rem; color: var(--muted); }
.drawer-list strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.1rem; font-weight: 500; }
.drawer-list button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: none; color: inherit; cursor: pointer; }
.drawer-sum p { display: flex; justify-content: space-between; margin: 0 0 8px; }
.drawer-sum .btn { width: 100%; margin-top: 8px; }
.drawer-empty { color: var(--muted); }
.modal { display: grid; place-items: center; padding: 64px 12px 12px; overflow-y: auto; }
.modal-in { width: min(480px, 100%); background: #fbf7f0; color: #1d1611; border-radius: 14px; padding: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: pop .4s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: translateY(0px) scale(1); } }
.modal-in .menu-x { border-color: rgba(29, 22, 17, .25); }
.pay-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pay-brand { margin: 0; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.pay-brand .small { color: #5b4d40; }
.rv-dot { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, #2b6cf0, #12b5a0); }
.modal-in h2 { font-size: 1.7rem; margin-bottom: 4px; }
.pay-amt { font: 600 2.4rem/1 var(--serif); margin: 6px 0; }
.modal-in .small { color: #5b4d40; }
.modal-in .tabs { border-color: rgba(29, 22, 17, .16); margin: 16px 0; }
.modal-in input { background: #fff; color: #1d1611; border-color: rgba(29, 22, 17, .25); }
.bank { display: grid; gap: 0; margin: 0 0 12px; }
.bank div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(29, 22, 17, .12); }
.bank dt { color: #5b4d40; }
.bank dd { margin: 0; font-weight: 700; text-align: right; }
.pay-go { width: 100%; margin-top: 16px; }
.spinner { width: 48px; height: 48px; border-radius: 50%; border: 3px solid rgba(29, 22, 17, .15); border-top-color: #2b6cf0; animation: spin 1s linear infinite; margin: 30px auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
.pay-body[data-pay-step="2"] { text-align: center; padding-bottom: 24px; }
.modal-in .thanks-k { color: #1f7a4a; }
.rcpt { display: grid; margin: 0 0 14px; }
.rcpt div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed rgba(29, 22, 17, .2); }
.rcpt dt { color: #5b4d40; }
.rcpt dd { margin: 0; font-weight: 700; text-align: right; }
.modal-in .btn-g { color: #1d1611; border-color: rgba(29, 22, 17, .3); }
.lb { display: grid; place-items: center; padding: 60px 12px 12px; }
.lb-in { position: relative; width: min(1100px, 100%); }
.lb-fig { margin: 0; }
.lb-fig img { max-height: 76vh; width: 100%; object-fit: contain; background: var(--surface); aspect-ratio: 4 / 3; }
.lb-fig figcaption { padding: 10px 0; color: var(--muted); }
.lb-x { position: absolute; top: -56px; right: 0; }
.lb-nav { position: absolute; top: 45%; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(10, 7, 5, .8); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-p { left: 8px; } .lb-p .ic { transform: rotate(180deg); } .lb-n { right: 8px; }
.qv { display: grid; place-items: center; padding: 60px 12px 12px; overflow-y: auto; }
.qv-in { position: relative; width: min(880px, 100%); background: var(--surface); border-radius: var(--r); padding: 24px; animation: pop .4s var(--ease); }
.qv-in > .menu-x { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--surface); }
.qv-body { display: grid; gap: 24px; }
@media (min-width: 760px) { .qv-body { grid-template-columns: 1fr 1fr; align-items: center; } }
.qv-body .loom { max-width: 320px; margin: 0 auto; width: 100%; }
html.modal-open { overflow: hidden; }

/* gallery */
.gal { columns: 2; column-gap: 12px; }
@media (min-width: 900px) { .gal { columns: 4; column-gap: 16px; } }
.gt { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: none; cursor: zoom-in; break-inside: avoid; position: relative; color: inherit; text-align: left; }
.gt-c { position: absolute; left: 10px; bottom: 10px; font-size: .78rem; background: rgba(10, 7, 5, .78); padding: 4px 10px; border-radius: 999px; color: #f3e9d9; }

/* prose */
.art-s { padding-top: 72px; }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 1.6em; }
.prose p { font-size: 1.08rem; color: #e0d4c1; }
.prose p:first-child::first-letter { font: 500 4.2em/.8 var(--serif); float: left; margin: .06em .1em 0 0; color: var(--primary); }
.art-close { font: italic 1.4rem/1.4 var(--serif) !important; color: var(--accent) !important; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 40px; }

/* account */
.acc-in { display: grid; gap: 40px; }
@media (min-width: 900px) { .acc-in { grid-template-columns: 1.2fr 1fr; } }
.acc-login { background: var(--surface); border: 1px solid var(--line); padding: 28px; border-radius: var(--r); }
.acc-login .form-grid { grid-template-columns: 1fr; }
.acc-side { padding: 28px; border-left: 2px solid var(--primary); }
.dash-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.dash-top h2 { margin: 0; }
.dash-ov { display: grid; gap: 16px; }
@media (min-width: 800px) { .dash-ov { grid-template-columns: repeat(3, 1fr); } }
.dcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.dcard h3 { font-size: 1.3rem; }
.dcard p { color: var(--muted); margin-bottom: 8px; }
.dcard .big { font: 500 2rem/1 var(--serif); color: var(--primary); margin-bottom: 6px; }
.order { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin-bottom: 16px; display: grid; gap: 16px; }
@media (min-width: 900px) { .order { grid-template-columns: 90px 1fr 1.3fr; align-items: start; } }
.order .loom { width: 90px; padding: 0; }
.order h3 { margin-bottom: 4px; }
.order p { margin: 0 0 6px; color: var(--muted); font-size: .92rem; }
.st { display: inline-block; font: 700 .68rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(95, 211, 138, .14); color: #8fe3ae; }
.st-wait { background: rgba(240, 138, 60, .16); color: #ffb47a; }
.st-done { background: rgba(243, 233, 217, .1); color: var(--muted); }
.tline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tline li { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 6px 0; font-size: .88rem; color: var(--muted); }
.tline li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line2); }
.tline li.done { color: var(--ink); }
.tline li.done::before { background: var(--primary); border-color: var(--primary); }
.tline li.now::before { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(240, 138, 60, .2); }
.tline time { font-size: .78rem; }
.rlist { display: grid; gap: 10px; }
.rlist a { display: flex; justify-content: space-between; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; flex-wrap: wrap; }
.msgs { display: grid; gap: 10px; margin-bottom: 16px; max-width: 720px; }
.msg { padding: 14px 16px; border-radius: 12px; background: var(--surface); max-width: 85%; }
.msg.me { background: rgba(240, 138, 60, .16); justify-self: end; }
.msg small { display: block; color: var(--muted); margin-top: 4px; }
.msg-form { display: flex; gap: 10px; max-width: 720px; }

/* receipt */
.receipt { max-width: 640px; margin: 0 auto; background: #fbf7f0; color: #1d1611; padding: 32px; border-radius: var(--r); box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.r-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; border-bottom: 2px solid #1d1611; padding-bottom: 16px; margin-bottom: 16px; }
.r-brand { font: 600 1.6rem/1 var(--serif); margin-bottom: 4px; }
.receipt .small { color: #5b4d40; }
.r-paid { border: 2px solid #1f7a4a; color: #1f7a4a; padding: 6px 12px; font-weight: 700; transform: rotate(-4deg); }
.receipt .btn-g { color: #1d1611; border-color: rgba(29, 22, 17, .3); }

/* charts */
.chart { width: 100%; height: auto; overflow: visible; }
.chart .gl { stroke: var(--line); }
.paper .chart .gl { stroke: rgba(29, 22, 17, .14); }
.chart text { font: 700 12px var(--sans); fill: var(--muted); }
.paper .chart text { fill: var(--pmuted); }
.chart .v { fill: var(--ink); }
.paper .chart .v { fill: var(--pink); }
.paper .chart polyline { stroke: var(--rust); }
.paper .chart polygon { fill: var(--rust); }
.js-motion .chart .draw { stroke-dasharray: 3000; stroke-dashoffset: 3000; transition: stroke-dashoffset 2.4s var(--ease); }
.js-motion .chart.in .draw, .js-motion .rv.in .chart .draw { stroke-dashoffset: 0; }

/* whatsapp + vablus */
.wa { position: fixed; left: 16px; bottom: 16px; z-index: 800; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 999px; background: #1f7a4a; color: #fff; text-decoration: none; font-weight: 700; font-size: .86rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
@media (max-width: 560px) { .wa span { display: none; } .wa { padding: 0; width: 48px; justify-content: center; } }
.vb { position: fixed; right: 16px; bottom: 16px; z-index: 850; }
.vb-fab { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 18px 8px 12px; border-radius: 999px; border: 1px solid rgba(240, 138, 60, .6); background: #1f1813; color: var(--ink); cursor: pointer; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); text-align: left; }
.vb-dot { width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(from 200deg, var(--primary), var(--accent), #8e2a1f, var(--primary)); position: relative; flex: none; }
.vb-dot::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #1f1813; }
.vb-fab-t { display: flex; flex-direction: column; line-height: 1.2; }
.vb-fab-t strong { font-size: .9rem; }
.vb-fab-t span { font-size: .7rem; color: var(--muted); }
@media (max-width: 560px) { .vb-fab-t strong { font-size: .82rem; } }
.vb-panel { position: fixed; right: 16px; bottom: 84px; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100svh - 160px)); background: #1a1410; border: 1px solid var(--line2); border-radius: 16px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: pop .35s var(--ease); }
.vb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); background: #231a14; }
.vb-name { margin: 0; font-weight: 700; }
.vb-sub { margin: 0; font-size: .74rem; color: var(--muted); }
.vb-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.vb-m { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.45; background: var(--surface2); }
.vb-m.me { align-self: flex-end; background: rgba(240, 138, 60, .2); }
.vb-m p { margin: 0 0 6px; } .vb-m p:last-child { margin: 0; }
.vb-card { background: #fbf7f0; color: #1d1611; border-radius: 12px; padding: 14px; max-width: 92%; font-size: .88rem; }
.vb-card dl { margin: 6px 0 0; }
.vb-card div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px dashed rgba(29, 22, 17, .2); }
.vb-card dt { color: #5b4d40; } .vb-card dd { margin: 0; font-weight: 700; text-align: right; }
.vb-card a { color: #8a3612; }
.vb-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.vb-chips .chip { min-height: 40px; font-size: .82rem; padding: 0 12px; }
.vb-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.vb-form input { min-height: 44px; }
.vb-typing { display: inline-flex; gap: 4px; padding: 12px 14px; background: var(--surface2); border-radius: 14px; align-self: flex-start; }
.vb-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.vb-typing i:nth-child(2) { animation-delay: .2s; } .vb-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }

/* footer */
.ft { background: #0b0807; border-top: 1px solid var(--line); padding-bottom: 96px; }
.ft-reel { display: flex; gap: 48px; white-space: nowrap; overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line); font: italic 400 clamp(1.6rem, 4vw, 3rem)/1 var(--serif); color: var(--muted); }
.ft-reel span { animation: marq 40s linear infinite; }
.ft-reel span::after { content: "  \2726"; color: var(--primary); font-style: normal; font-size: .6em; vertical-align: middle; margin-left: 48px; }
.ft-in { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
@media (min-width: 900px) { .ft-in { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; } }
.ft-brand p { color: var(--muted); font-size: .92rem; max-width: 360px; margin-top: 16px; }
.ft-addr a { color: var(--accent); }
.ft-h { font: 700 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.ft-col ul { list-style: none; margin: 0; padding: 0; }
.ft-col li a { display: inline-flex; min-height: 40px; align-items: center; color: var(--ink); text-decoration: none; opacity: .85; font-size: .94rem; }
.ft-col li a:hover { opacity: 1; color: var(--primary); }
.ft-tools .small { margin: 4px 0 16px; }
.tog { display: flex; align-items: center; gap: 12px; min-height: 44px; background: none; border: 0; color: var(--ink); font: 700 .92rem/1 var(--sans); cursor: pointer; padding: 0; }
.tog-k { width: 42px; height: 24px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--line2); position: relative; flex: none; }
.tog-k::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .3s var(--ease), background .3s; }
.tog[aria-pressed="true"] .tog-k { background: rgba(240, 138, 60, .3); border-color: var(--primary); }
.tog[aria-pressed="true"] .tog-k::after { transform: translateX(18px); background: var(--primary); }
.ft-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--line); padding-top: 22px; font-size: .8rem; color: var(--muted); }
.ft-base p { margin: 0; }

/* low data and reduced motion */
html.low *, html.low *::before, html.low *::after { animation: none !important; transition: none !important; }
html.low .rv { opacity: 1 !important; transform: none !important; }
html.low .tc-loom { animation: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1 !important; transform: none !important; }
  .marq-track { animation: none; flex-wrap: wrap; width: auto; }
  .ft-reel span { animation: none; }
}
@media print {
  .hd, .ft, .wa, .vb, #covorn-ribbon, #covorn-ribbon-space, .title-card, .scene:not(.rc-s) { display: none !important; }
  body { background: #fff; }
  .receipt { box-shadow: none; }
}

.story-s { overflow-x: clip; }
