/* ═══════════ TOKENS ═══════════ */
:root {
  color-scheme: light;

  --canvas: #F2EDF5;
  --canvas-2: #FAF7FC;
  --paper: #FFFFFF;
  --paper-2: #E7DDEB;

  --denim: #6841A5;
  --denim-2: #482778;
  --denim-3: #8965C2;

  --strap: #292333;
  --strap-2: #181420;
  --ink: #292331;
  --muted: #797080;

  --on-denim: #FBF7FF;
  --on-denim-muted: #D5C4EE;

  --rust: #D64F85;
  --rust-2: #B93369;
  --brass: #C49B51;
  --brass-2: #E8CB8D;

  --thread: #F08BB1;
  --seam: rgba(41, 35, 51, .16);
  --seam-light: rgba(251, 247, 255, .32);

  --wood: #568C99;
  --wood-2: #376B78;
  --hole: #D4C9DE;
  --ok: #278B78;
  --err: #D94758;

  --f: 'Karla', system-ui, -apple-system, sans-serif;
  --e: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.3, .64, 1);

  --sh: 0 18px 40px -26px rgba(48, 29, 65, .34);
}

[data-theme="dark"] {
  color-scheme: dark;

  --canvas: #15101D;
  --canvas-2: #1E1729;
  --paper: #292034;
  --paper-2: #382A47;

  --denim: #A17AE0;
  --denim-2: #7951B9;
  --denim-3: #B99AEF;

  --strap: #100C16;
  --strap-2: #08060C;
  --ink: #F5EFFB;
  --muted: #B6A9C4;

  --on-denim: #FFFFFF;
  --on-denim-muted: #E0D0F5;

  --rust: #FF78AD;
  --rust-2: #E9518C;
  --brass: #E4BD70;
  --brass-2: #F5DDA0;

  --thread: #FFA0C4;
  --seam: rgba(245, 239, 251, .16);
  --seam-light: rgba(255, 255, 255, .20);

  --wood: #5CA6B6;
  --wood-2: #397D8D;
  --hole: #17101F;
  --ok: #67D6B5;
  --err: #FF7D87;

  --sh: 0 20px 44px -26px rgba(0, 0, 0, .78);
}
/* ═══════════ BASE ═══════════ */
* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 80px }
body { margin: 0; font-family: var(--f); background: var(--canvas); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background .4s, color .4s }
a { color: inherit; text-decoration: none }
button, input, select, textarea { font: inherit; color: inherit }
button { cursor: pointer; background: none; border: 0; padding: 0 }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 800; letter-spacing: -.025em; line-height: 1.08 }
p, ul, ol, figure { margin: 0 }
ul, ol { padding: 0; list-style: none }
::selection { background: var(--rust); color: #fff }
::-webkit-scrollbar { width: 10px; height: 10px }
::-webkit-scrollbar-track { background: var(--canvas-2) }
::-webkit-scrollbar-thumb { background: var(--brass); border-radius: 99px; border: 2px solid var(--canvas-2) }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px }
.skip { position: fixed; top: -4rem; left: 1rem; z-index: 3000; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 8px }
.skip:focus { top: 1rem }
.wrap { width: min(1180px, 100% - 2.4rem); margin: 0 auto }
/* buttons */
.btn-r { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.25rem; border-radius: 9px; background: var(--rust); color: #fff; font-weight: 700; font-size: .9rem; border: 2px solid transparent; box-shadow: 0 3px 0 var(--rust-2); transition: transform .2s var(--e), box-shadow .2s, background .25s; line-height: 1.2 }
.btn-r:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--rust-2); color: #fff }
.btn-r:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--rust-2) }
.btn-r.ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: 0 3px 0 var(--ink) }
.btn-r.ghost:hover { box-shadow: 0 5px 0 var(--ink); color: var(--ink) }
.denim .btn-r.ghost { color: var(--on-denim); border-color: var(--on-denim); box-shadow: 0 3px 0 rgba(0, 0, 0, .45) }
.denim .btn-r.ghost:hover { color: var(--on-denim); box-shadow: 0 5px 0 rgba(0, 0, 0, .45) }
.btn-r.brass { background: var(--brass); color: #2A1D12; box-shadow: 0 3px 0 #7A5A20 }
.btn-r.brass:hover { color: #2A1D12; box-shadow: 0 5px 0 #7A5A20 }
.btn-r.sm { padding: .55rem .9rem; font-size: .8rem; border-radius: 7px; box-shadow: 0 2px 0 var(--rust-2) }
.btn-r.sm.ghost { box-shadow: 0 2px 0 var(--ink) }
/* woven label */
.label { display: inline-flex; align-items: center; gap: .5rem; font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: var(--paper); border: 1px solid var(--seam); border-radius: 4px; padding: .3rem .6rem .3rem .45rem }
.label i { width: 6px; height: 14px; border-radius: 2px; background: var(--rust) }
.sh { max-width: 780px; margin-bottom: 1.6rem }
.sh h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); margin-top: .8rem }
.sh p { color: var(--muted); margin-top: .6rem; font-size: 1rem }
.denim { color: var(--on-denim) }
.denim .sh p { color: var(--on-denim-muted) }
/* bands + seams */
.band { position: relative; padding: clamp(3rem, 6vw, 5.5rem) 0 }
.band.canvas { background-color: var(--canvas); background-image: repeating-linear-gradient(45deg, rgba(0, 0, 0, .025) 0 2px, transparent 2px 7px) }
.band.canvas.alt { background-color: var(--canvas-2) }
.band.denim { background-color: var(--denim); background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 5px) }
.band::before { content: ""; position: absolute; top: 10px; left: 14px; right: 14px; border-top: 2px dashed var(--seam); pointer-events: none }
.band.denim::before { border-color: var(--seam-light) }
.hero::before { top: 74px }
/* paper panel */
.panel { background: var(--paper); color: var(--ink); border-radius: 14px; padding: 1.5rem; position: relative; box-shadow: var(--sh) }
.stitched::after { content: ""; position: absolute; inset: 7px; border: 1.5px dashed var(--thread); border-radius: 9px; pointer-events: none; opacity: .85 }
.riv { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--brass-2), var(--brass) 60%, #7a5a20); top: 9px; pointer-events: none }
.riv.l { left: 9px }
.riv.r { right: 9px }
/* ═══════════ STRAP NAV ═══════════ */
.strap { position: fixed; top: 0; left: 0; right: 0; height: 64px; z-index: 1100; background: linear-gradient(var(--strap), var(--strap-2)); color: #E9DCC4; box-shadow: 0 6px 18px -12px rgba(0, 0, 0, .6) }
.strap::before, .strap::after { content: ""; position: absolute; left: 10px; right: 10px; border-top: 2px dashed var(--thread); opacity: .75; pointer-events: none }
.strap::before { top: 6px }
.strap::after { bottom: 6px }
.strap-in { display: flex; align-items: center; gap: 1rem; height: 64px; width: min(1240px, 100% - 1.6rem); margin: 0 auto }
.buckle { display: inline-flex; align-items: center; gap: .5rem; background: linear-gradient(160deg, var(--brass-2), var(--brass)); color: #2A1D12; padding: .38rem .8rem .38rem .6rem; border-radius: 6px; font-weight: 800; letter-spacing: .1em; font-size: .95rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 2px 0 #7A5A20; white-space: nowrap }
.buckle .rv-dot { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff3c9, #a87d2e 70%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3) }
.strap-links { display: flex; gap: .1rem; margin: 0 auto }
.strap-links a { padding: .45rem .75rem; border-radius: 6px; font-size: .84rem; font-weight: 700; color: #E9DCC4; opacity: .82; position: relative; white-space: nowrap; transition: opacity .25s, background .25s }
.strap-links a:hover { opacity: 1 }
.strap-links a.on { opacity: 1; background: rgba(255, 255, 255, .1) }
.strap-links a.on::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: 1px; border-top: 2px dashed var(--thread) }
.strap-right { display: flex; align-items: center; gap: .6rem; margin-left: auto }
.snap { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--brass-2), var(--brass) 55%, #7a5a20); box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .15), 0 2px 0 #5f4415; color: #2A1D12; display: grid; place-items: center; font-size: .95rem; transition: transform .35s var(--spring) }
.snap:hover { transform: rotate(20deg) }
.burger { display: none }
.strap .cta { padding: .6rem 1rem; font-size: .82rem }
.pmenu { position: fixed; top: 64px; left: 0; right: 0; z-index: 1090; background: var(--denim-2); border-bottom: 2px dashed var(--thread); padding: .8rem 1rem 1rem; display: none; max-height: calc(100vh - 64px); overflow: auto }
.pmenu.open { display: grid; gap: .3rem }
.pmenu a { padding: .8rem 1rem; border-radius: 8px; background: rgba(255, 255, 255, .06); color: var(--on-denim); font-weight: 700 }
.pmenu a:hover { background: rgba(255, 255, 255, .12) }
.pmenu .btn-r { margin-top: .4rem }
/* ═══════════ SELVEDGE (fixed left edge) ═══════════ */
.selvedge { position: fixed; top: 64px; bottom: 0; left: 0; width: 44px; z-index: 1000; background: var(--denim-2); border-right: 2px dashed var(--thread) }
.selv-thread { position: absolute; top: 1.1rem; bottom: 230px; left: 50%; width: 2px; margin-left: -1px; background: rgba(255, 255, 255, .12); border-radius: 2px }
.selv-thread i { display: block; width: 100%; height: 0; background: var(--thread); border-radius: 2px; transition: height .15s linear }
.selv-text { position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--on-denim-muted); white-space: nowrap; display: flex; gap: .8rem; align-items: center }
.selv-text b { color: var(--brass-2) }
main, footer { padding-left: 44px }
/* ═══════════ HERO ═══════════ */
.hero { padding-top: calc(64px + clamp(2.2rem, 5vw, 4rem)) }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(1.4rem, 3.5vw, 3rem); align-items: start }
h1 { font-size: clamp(2.5rem, 4.4vw, 3.4rem); letter-spacing: -.04em; line-height: 1; margin: .9rem 0 1rem }
h1 em { font-style: normal; color: var(--rust); position: relative; white-space: nowrap }
h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; border-top: 3px dashed var(--brass) }
.lead { font-size: 1.06rem; color: var(--muted); max-width: 50ch }
.ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 1.1rem }
.trust { display: flex; flex-wrap: wrap; gap: .45rem }
.trust li { display: inline-flex; align-items: center; gap: .45rem; background: var(--paper); border: 1px solid var(--seam); border-radius: 6px; padding: .4rem .7rem; font-size: .8rem; font-weight: 700 }
.trust li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--brass-2), var(--brass) 60%, #7a5a20) }
.hero-note { margin-top: 1.3rem; font-size: .86rem; color: var(--muted); display: flex; gap: .5rem; align-items: flex-start }
.hero-note i { color: var(--rust); margin-top: .15rem }
/* room measure tool */
.measure { background: var(--paper); color: var(--ink); border-radius: 18px; box-shadow: var(--sh); position: relative; overflow: hidden }
.measure::after { content: ""; position: absolute; inset: 8px; border: 1.5px dashed var(--thread); border-radius: 12px; pointer-events: none; opacity: .9 }
.m-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: 1.1rem 1.3rem .3rem }
.units { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 7px; overflow: hidden }
.units button { padding: .3rem .7rem; font-size: .74rem; font-weight: 800; color: var(--muted); transition: .2s }
.units button.on { background: var(--ink); color: var(--paper) }
.m-stage { position: relative; padding: 0 .8rem }
.m-stage svg { width: 100%; height: auto; display: block }
.swatches { position: absolute; right: 1.5rem; top: .5rem; display: flex; flex-direction: column; gap: .45rem; align-items: center }
.swatches small { font-size: .56rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: .2rem }
.sw { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--paper); box-shadow: 0 0 0 1.5px var(--seam); transition: transform .2s var(--spring), box-shadow .2s }
.sw:hover { transform: scale(1.14) }
.sw.on { box-shadow: 0 0 0 2.5px var(--rust) }
.m-controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; padding: .3rem 1.3rem .5rem }
.dim label { display: flex; justify-content: space-between; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem }
.dim output { color: var(--ink); font-variant-numeric: tabular-nums; font-size: .8rem }
.tape-range { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; margin: 0; display: block }
.tape-range::-webkit-slider-runnable-track { height: 16px; border-radius: 4px; border: 1px solid var(--ink); background: var(--paper-2) repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 8px) left top/100% 6px no-repeat }
.tape-range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 24px; margin-top: -5px; border-radius: 3px; background: linear-gradient(var(--brass-2), var(--brass)); border: 1px solid #7a5a20; box-shadow: 0 2px 0 rgba(0, 0, 0, .25); cursor: ew-resize }
.tape-range::-moz-range-track { height: 16px; border-radius: 4px; border: 1px solid var(--ink); background: var(--paper-2) repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 8px) left top/100% 6px no-repeat }
.tape-range::-moz-range-thumb { width: 14px; height: 24px; border-radius: 3px; background: linear-gradient(var(--brass-2), var(--brass)); border: 1px solid #7a5a20; cursor: ew-resize }
.plans { display: flex; flex-wrap: wrap; gap: .4rem; padding: .4rem 1.3rem .2rem; align-items: center }
.plans .pl { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: .2rem }
.plan { border: 1.5px solid var(--seam); border-radius: 99px; padding: .42rem .85rem; font-size: .78rem; font-weight: 700; background: var(--paper-2); transition: .2s }
.plan:hover { border-color: var(--ink) }
.plan.on { background: var(--ink); color: var(--paper); border-color: var(--ink) }
.m-tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: .8rem 1.3rem .4rem }
.mtag { position: relative; background: var(--canvas-2); clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); padding: .5rem .7rem .5rem 1.45rem; opacity: .5; transition: opacity .3s, background .3s, color .3s }
.mtag::before { content: ""; position: absolute; left: 9px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--seam) }
.mtag.on { opacity: 1; background: var(--brass-2); color: #2A1D12 }
.mtag b { display: block; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) }
.mtag.on b { color: #5a4218 }
.mtag span { font-weight: 800; font-size: .98rem; font-variant-numeric: tabular-nums }
.m-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: .5rem 1.3rem 1.3rem }
.m-foot .hint { font-size: .76rem; color: var(--muted); flex: 1; min-width: 170px }
/* ═══════════ TAPE STRIP ═══════════ */
.tape { background: var(--paper); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); height: 46px; overflow: hidden }
.tape-track { display: flex; gap: 2.8rem; width: max-content; height: 100%; align-items: flex-end; padding: 0 0 .55rem 1rem; animation: tape 44s linear infinite; background: repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 50px) left top/100% 14px no-repeat, repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 10px) left top/100% 7px no-repeat }
.tape-track span { font-weight: 800; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); white-space: nowrap }
@keyframes tape { to { transform: translateX(-50%) } }
/* ═══════════ ABOUT ═══════════ */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.4rem; align-items: start }
.story p { color: var(--muted); font-size: .98rem }
.story p+p { margin-top: .8rem }
.story h3 { font-size: 1.1rem; margin-bottom: .5rem }
.pocket { position: relative; margin-top: 1.3rem; padding-bottom: 64px }
.pocket-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; position: relative; z-index: 1; transition: transform .55s var(--spring) }
.pcard { background: var(--canvas-2); border-radius: 12px; padding: 1rem 1rem 3.2rem; position: relative }
.pcard::after { content: ""; position: absolute; inset: 6px; border: 1.5px dashed var(--seam); border-radius: 8px; pointer-events: none }
.pcard h3 { font-size: 1.02rem; margin: .6rem 0 .3rem }
.pcard p { font-size: .86rem; color: var(--muted) }
.pocket-front { position: absolute; left: -8px; right: -8px; bottom: 0; height: 78px; z-index: 2; background: var(--denim-3); border-radius: 18px 18px 12px 12px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: .6rem; color: var(--on-denim-muted); font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 -6px 14px -10px rgba(0, 0, 0, .5) }
.pocket-front::before { content: ""; position: absolute; inset: 8px 10px; border: 1.5px dashed var(--thread); border-radius: 12px 12px 8px 8px; opacity: .8; pointer-events: none }
@media(hover:hover) {
  .pocket-cards { transform: translateY(40px) }
  .pocket:hover .pocket-cards, .pocket:focus-within .pocket-cards { transform: translateY(0) }
}
.rail-bar { height: 7px; border-radius: 4px; background: linear-gradient(var(--brass-2), var(--brass)); box-shadow: 0 2px 0 rgba(0, 0, 0, .3) }
.hang-tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem .9rem; padding-top: 26px }
.hang-tags li { position: relative; transform-origin: 50% -26px; animation: sway 6s ease-in-out infinite alternate; animation-delay: var(--dl, 0s) }
.hang-tags li::before { content: ""; position: absolute; left: 50%; top: -26px; height: 26px; border-left: 1.5px solid var(--thread) }
.htag { position: relative; background: var(--paper); color: var(--ink); padding: 1.5rem .9rem .9rem; border-radius: 4px 4px 10px 10px; clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%, 0 12px); min-height: 150px }
.htag::before { content: ""; position: absolute; top: 8px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--denim); box-shadow: inset 0 0 0 2px var(--brass) }
.htag .e { font-size: 1.5rem; display: block }
.htag b { display: block; font-size: .92rem; margin-top: .35rem }
.htag span { font-size: .8rem; color: var(--muted) }
.care { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 1.6rem; background: var(--paper); color: var(--ink); border-radius: 6px; overflow: hidden; position: relative; padding-left: 14px; box-shadow: var(--sh) }
.care::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: repeating-linear-gradient(0deg, var(--rust) 0 6px, var(--paper) 6px 9px) }
.care li { padding: .95rem 1rem; border-right: 1.5px dashed var(--seam); display: flex; gap: .6rem; align-items: center; font-size: .84rem; color: var(--muted) }
.care li:last-child { border-right: 0 }
.care .e { font-size: 1.3rem }
.care b { display: block; color: var(--ink); font-size: .9rem }
@keyframes sway {
  from { transform: rotate(calc(var(--r, 0deg) - 1.1deg)) }
  to { transform: rotate(calc(var(--r, 0deg) + 1.1deg)) }
}
/* ═══════════ SERVICES — PEGBOARD ═══════════ */
.shelf { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .65rem .9rem; background: linear-gradient(var(--wood), var(--wood-2)); border-radius: 12px 12px 0 0; box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .2) }
.shelf .sl { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #F3E7CF; margin-right: .4rem }
.shelf-lbl { background: var(--paper); color: var(--ink); border-radius: 3px; padding: .4rem .75rem; font-size: .76rem; font-weight: 700; border: 1px solid rgba(0, 0, 0, .3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); transition: .2s }
.shelf-lbl:hover { transform: translateY(-1px) }
.shelf-lbl.on { background: var(--rust); color: #fff }
.shelf .cnt { margin-left: auto; font-size: .72rem; color: #F3E7CF; opacity: .85 }
.pegboard { background-color: var(--canvas-2); background-image: radial-gradient(circle, var(--hole) 2.6px, rgba(0, 0, 0, .09) 3.4px, transparent 4.2px); background-size: 26px 26px; background-position: 13px 13px; padding: 1.7rem 1.2rem 1.5rem; border-inline: 1px solid var(--seam) }
.tools { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.3rem .9rem }
.tool { position: relative; padding-top: 22px; text-align: left; display: block; width: 100% }
.hook { position: absolute; top: 0; left: 50%; width: 30px; height: 30px; margin-left: -15px; z-index: 2; pointer-events: none }
.tool-body { position: relative; display: block; background: var(--paper); color: var(--ink); border: 1.5px solid var(--seam); border-radius: 10px; padding: 1.25rem .8rem .85rem; min-height: 156px; transform-origin: 50% -10px; transition: border-color .25s, box-shadow .25s }
.tool-body::before { content: ""; position: absolute; inset: 5px; border: 1.5px dashed var(--thread); border-radius: 6px; pointer-events: none; opacity: .8 }
.hole { position: absolute; top: 6px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--canvas-2); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5) }
.tnum { position: absolute; top: 8px; right: 11px; font-size: .6rem; font-weight: 800; letter-spacing: .1em; color: var(--muted) }
.temo { display: block; font-size: 1.9rem; line-height: 1; margin: .6rem 0 .5rem }
.tool-body b { display: block; font-size: .85rem; line-height: 1.2 }
.tool-body small { display: block; margin-top: .35rem; font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rust) }
.tool:hover .tool-body, .tool:focus-visible .tool-body { animation: swing 1.6s var(--e) }
.tool.on .tool-body { border-color: var(--rust); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4.5px var(--rust) }
.tool.hide { display: none }
@keyframes swing {
  0% { transform: rotate(0) } 18% { transform: rotate(-7deg) } 42% { transform: rotate(5deg) }
  66% { transform: rotate(-2.5deg) } 84% { transform: rotate(1deg) } 100% { transform: rotate(0) }
}
.tray { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center; padding: 1.2rem 1.4rem; background: linear-gradient(var(--wood), var(--wood-2)); color: #F6ECD8; border-radius: 0 0 14px 14px; box-shadow: inset 0 8px 14px -10px rgba(0, 0, 0, .55) }
.tray-emo { width: 80px; height: 80px; border-radius: 14px; background: var(--paper); display: grid; place-items: center; font-size: 2.4rem; box-shadow: 0 3px 0 rgba(0, 0, 0, .35); transition: transform .4s var(--spring) }
.tray.pop .tray-emo { animation: pop .45s var(--spring) }
@keyframes pop { 0% { transform: scale(.7) rotate(-8deg) } 100% { transform: none } }
.tray .label { background: transparent; color: #F6ECD8; border-color: rgba(255, 255, 255, .35) }
.tray h3 { font-size: 1.3rem; margin: .4rem 0 .4rem; color: #fff }
.tray p { font-size: .92rem; color: #F0E3CC; max-width: 72ch }
.tray ul { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem }
.tray li { font-size: .74rem; font-weight: 700; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .18); border-radius: 99px; padding: .3rem .65rem }
.tray-act { display: flex; flex-direction: column; gap: .6rem; align-items: flex-end }
.pn { display: flex; gap: .4rem }
.pn button { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); color: #fff; transition: .2s }
.pn button:hover { background: rgba(255, 255, 255, .15) }
/* ═══════════ WHY — PATCHES ═══════════ */
.patches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem }
.patch { position: relative; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 1.6rem 1.4rem 1.4rem; box-shadow: var(--sh) }
.patch .stitch { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none }
.patch .stitch rect { fill: none }
.patch .stitch .th { stroke: var(--thread); stroke-width: 1.4; stroke-dasharray: 1.6 1.2 }
.patch .stitch .cv { stroke: var(--paper); stroke-width: 2.6; stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s linear }
.patch.in .stitch .cv { stroke-dashoffset: 100 }
.patch .pe { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--canvas-2); font-size: 1.5rem; border: 2px solid var(--brass) }
.patch h3 { font-size: 1.1rem; margin: .9rem 0 .4rem }
.patch p { font-size: .9rem; color: var(--muted) }
.patch .no { position: absolute; top: 1.1rem; right: 1.2rem; font-size: .62rem; font-weight: 800; letter-spacing: .14em; color: var(--muted) }
/* ═══════════ PROPERTY SECTIONS ═══════════ */
.prop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem; align-items: start }
.prop-copy { background: var(--paper); color: var(--ink); border-radius: 14px; padding: 1.6rem; position: relative; box-shadow: var(--sh) }
.prop-copy::after { content: ""; position: absolute; inset: 7px; border: 1.5px dashed var(--thread); border-radius: 9px; pointer-events: none; opacity: .85 }
.prop-copy .lede { font-size: 1.02rem; margin: 0 0 .9rem }
.ticks li { display: flex; gap: .55rem; align-items: flex-start; font-size: .92rem; padding: .25rem 0 }
.ticks li::before { content: "✓"; flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center; margin-top: .28rem }
.prop-copy .btn-r { margin-top: 1rem; position: relative; z-index: 1 }
.toolbox { background: var(--paper); color: var(--ink); border-radius: 14px; box-shadow: var(--sh); overflow: hidden }
.tb-h { display: flex; justify-content: space-between; gap: .8rem; align-items: center; padding: .75rem 1.1rem; background: var(--canvas-2); border-bottom: 1.5px dashed var(--seam); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase }
.tb-h span { color: var(--muted); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: .78rem; text-align: right }
.tb-b { padding: 1.1rem 1.2rem 1.3rem }
.q { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: .95rem 0 .45rem }
.q:first-child { margin-top: 0 }
.chips { display: flex; flex-wrap: wrap; gap: .4rem }
.chip { border: 1.5px solid var(--seam); border-radius: 8px; padding: .5rem .8rem; font-size: .84rem; font-weight: 700; background: var(--paper-2); transition: .2s; text-align: left; color: var(--ink) }
.chip:hover { border-color: var(--ink) }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink) }
.verdict { margin-top: 1rem; border-radius: 10px; padding: .9rem 1rem; background: var(--canvas-2); border-left: 5px solid var(--brass); font-size: .9rem; color: var(--muted) }
.verdict b { display: block; font-size: 1rem; margin-bottom: .2rem; color: var(--ink) }
.verdict.good { border-color: var(--ok) }
.verdict.skip { border-color: var(--rust) }
.tool-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; margin-top: .9rem; font-size: .8rem; color: var(--muted) }
/* insurance match */
.match { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1.2rem }
.mcol h4 { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem }
.mbtn { width: 100%; text-align: left; border: 1.5px solid var(--seam); border-radius: 8px; padding: .55rem 2rem .55rem .7rem; font-size: .82rem; background: var(--paper-2); margin-bottom: .45rem; transition: .2s; position: relative; line-height: 1.35 }
.mbtn.term { font-weight: 800 }
.mbtn:hover { border-color: var(--ink) }
.mbtn.sel { border-color: var(--rust); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--rust) }
.mbtn.done { border-style: dashed; border-color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, var(--paper)); color: var(--muted); cursor: default }
.mbtn.done::after { content: "✓"; position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); color: var(--ok); font-weight: 800 }
.mbtn.bad { animation: shake .4s }
@keyframes shake { 25% { transform: translateX(-4px) } 75% { transform: translateX(4px) } }
/* real estate triage */
.pool { display: flex; flex-wrap: wrap; gap: .4rem; min-height: 2.6rem }
.bins { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: .9rem }
.bin { border: 1.5px dashed var(--seam); border-radius: 10px; padding: .7rem; min-height: 130px; background: var(--paper-2) }
.bin h4 { font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .45rem; display: flex; justify-content: space-between; gap: .4rem }
.bin.fine h4 { color: var(--ok) }
.bin.neg h4 { color: var(--brass) }
.bin.chk h4 { color: var(--rust) }
.bin .chip { display: block; width: 100%; margin-bottom: .35rem; font-size: .78rem; padding: .42rem .6rem; animation: dropin .4s var(--spring) }
.bin small { display: block; color: var(--muted); font-size: .74rem; margin-top: .3rem; line-height: 1.4 }
.bin .em { color: var(--muted); font-size: .78rem; font-style: italic }
@keyframes dropin { from { opacity: 0; transform: translateY(-8px) } }
/* mortgage band */
.seg2 { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 8px; overflow: hidden; margin-bottom: .9rem }
.seg2 button { padding: .45rem .9rem; font-size: .8rem; font-weight: 800; color: var(--muted); transition: .2s }
.seg2 button.on { background: var(--ink); color: var(--paper) }
.dim2 { margin: .4rem 0 .8rem }
.dim2 label { display: flex; justify-content: space-between; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem }
.dim2 output { color: var(--ink); font-variant-numeric: tabular-nums }
.band-out { margin-top: .6rem; background: var(--canvas-2); border-radius: 10px; padding: .9rem 1rem; font-size: .9rem; color: var(--muted); border-left: 5px solid var(--brass) }
.band-out b { font-size: 1.1rem; display: block; margin-bottom: .25rem; color: var(--ink) }
.bring { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .7rem }
.bring span { font-size: .72rem; font-weight: 700; border: 1px solid var(--seam); border-radius: 99px; padding: .25rem .6rem; background: var(--paper); color: var(--ink) }
/* ═══════════ TESTIMONIALS — CLOTHESLINE ═══════════ */
.lines { display: grid; gap: 2.4rem }
.line-wrap { position: relative; padding-top: 20px }
.rope { position: absolute; left: 0; right: 0; top: 0; height: 24px; width: 100%; pointer-events: none }
.rope path { fill: none; stroke: var(--strap); stroke-width: 2.4; vector-effect: non-scaling-stroke }
[data-theme="dark"] .rope path { stroke: #8A7A66 }
.line-scroll { overflow: visible }
.line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 0 .2rem }
.note { position: relative; background: var(--paper); color: var(--ink); border-radius: 8px; padding: 1.5rem 1.2rem 1.2rem; box-shadow: var(--sh); margin-top: var(--dy, 0px); transform-origin: 50% -20px; animation: sway 5.5s ease-in-out infinite alternate; animation-delay: var(--dl, 0s) }
.note::after { content: ""; position: absolute; inset: 6px; border: 1.5px dashed var(--seam); border-radius: 5px; pointer-events: none }
.peg { position: absolute; top: -16px; width: 12px; height: 32px; border-radius: 3px 3px 5px 5px; background: linear-gradient(90deg, var(--wood-2), var(--wood) 45%, var(--wood-2)); box-shadow: 0 1px 0 rgba(0, 0, 0, .35); left: 22px; transform: rotate(-4deg); z-index: 2 }
.peg::before { content: ""; position: absolute; left: 5px; top: 7px; width: 2px; height: 14px; background: rgba(0, 0, 0, .4) }
.peg.r { left: auto; right: 22px; transform: rotate(3deg) }
.note .who { display: flex; align-items: center; gap: .6rem }
.note .av { width: 40px; height: 40px; border-radius: 50%; background: var(--canvas-2); display: grid; place-items: center; font-size: 1.2rem; border: 1.5px solid var(--seam); flex: 0 0 auto }
.note .who b { display: block; font-size: .92rem }
.note .who span { font-size: .76rem; color: var(--muted) }
.note .stars { color: var(--brass); letter-spacing: .12em; margin: .6rem 0 .4rem; font-size: .85rem }
.note q { font-size: .9rem; line-height: 1.55; quotes: "\201C" "\201D"; color: var(--ink) }
.note .job { display: inline-block; margin-top: .7rem; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rust) }
/* ═══════════ FAQ — ZIPPERS ═══════════ */
.zips { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.6rem; align-items: start }
.zip { position: relative }
.zq { width: 100%; text-align: left; display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; background: var(--paper); color: var(--ink); padding: .95rem 1.1rem 1.05rem; border-radius: 10px 10px 0 0; position: relative; transition: background .25s }
.zq:hover { background: var(--paper-2) }
.zq .qn { font-size: .62rem; font-weight: 800; letter-spacing: .12em; color: var(--rust) }
.zq h3 { font-size: .98rem; font-weight: 700; letter-spacing: 0 }
.zq::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -4px; height: 8px; background: repeating-linear-gradient(90deg, var(--brass) 0 5px, transparent 5px 10px); border-radius: 2px }
.pull { width: 26px; height: 34px; position: relative; display: grid; place-items: center; transition: transform .45s var(--e) }
.pull::before { content: ""; width: 12px; height: 20px; border-radius: 5px 5px 3px 3px; background: linear-gradient(var(--brass-2), var(--brass)); border: 1px solid #7a5a20 }
.pull::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--paper); bottom: 9px }
.zip.open .pull { transform: translateY(6px) rotate(90deg) }
.za { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--e) }
.zip.open .za { grid-template-rows: 1fr }
.za>div { overflow: hidden }
.za-in { position: relative; background: var(--paper-2); color: var(--ink); padding: 1.1rem 1.1rem 1.5rem; border-radius: 0 0 10px 10px; margin-top: 6px }
.za-in::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 6px; height: 8px; background: repeating-linear-gradient(90deg, var(--brass) 0 5px, transparent 5px 10px) 5px 0; border-radius: 2px }
.za-in p { font-size: .9rem; color: var(--muted) }
.za-in .tg { display: inline-block; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); margin-bottom: .3rem }
/* ═══════════ FORMS ═══════════ */
.fl { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem }
.fi { width: 100%; border: 1.5px solid var(--seam); border-radius: 9px; background: var(--paper-2); color: var(--ink); padding: .72rem .85rem; margin-bottom: .85rem; transition: border-color .2s, box-shadow .2s }
.fi:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rust) 22%, transparent) }
select.fi { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0h10L5 6z' fill='%23C6552D'/></svg>"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2rem }
select.fi option { color: #1F1A14; background: #FBF7EE }
textarea.fi { min-height: 110px; resize: vertical }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .9rem }
.chk { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: .1rem 0 1rem }
.chk input { width: 17px; height: 17px; margin-top: .2rem; accent-color: var(--rust); flex: 0 0 auto }
.ok { display: none; margin-top: .8rem; border: 1.5px dashed var(--ok); border-radius: 9px; padding: .65rem .85rem; font-size: .84rem; font-weight: 700; color: var(--ok) }
.ok.on { display: block; animation: dropin .4s var(--spring) }
.unsub { font-size: .82rem; color: var(--muted); margin-top: .8rem }
.unsub button { color: var(--rust); font-weight: 800; text-decoration: underline; text-underline-offset: 3px }
.nl { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.4rem; align-items: start }
.packlist { position: relative; background: var(--paper); color: var(--ink); border-radius: 4px 4px 12px 12px; clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%, 0 16px); padding: 2rem 1.4rem 1.4rem; box-shadow: var(--sh) }
.packlist::before { content: ""; position: absolute; top: 10px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: var(--canvas); box-shadow: inset 0 0 0 2px var(--brass) }
.packlist h3 { font-size: 1.05rem; margin: .3rem 0 .9rem }
.packlist li { display: flex; gap: .7rem; align-items: flex-start; padding: .55rem 0; border-top: 1.5px dashed var(--seam); font-size: .9rem }
.packlist li:first-child { border-top: 0 }
.packlist li i { width: 20px; height: 20px; border-radius: 4px; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: .7rem; flex: 0 0 auto; margin-top: .15rem }
.packlist b { display: block }
.packlist span { color: var(--muted); font-size: .84rem }
.ct { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.4rem; align-items: start }
.pocket-form { position: relative; padding-bottom: 4.4rem }
.pocket-form .panel { position: relative; z-index: 1 }
.pocket-lip { position: absolute; left: -8px; right: -8px; bottom: 0; height: 70px; z-index: 2; background: var(--denim-3); border-radius: 16px 16px 12px 12px; box-shadow: 0 -6px 14px -10px rgba(0, 0, 0, .6); display: flex; align-items: flex-end; justify-content: center; padding-bottom: .55rem; font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--on-denim-muted) }
.pocket-lip::before { content: ""; position: absolute; inset: 8px 10px; border: 1.5px dashed var(--thread); border-radius: 10px 10px 8px 8px; opacity: .8; pointer-events: none }
.info li { display: grid; grid-template-columns: auto 1fr; gap: .7rem; padding: .7rem 0; border-top: 1.5px dashed var(--seam); font-size: .9rem; align-items: start }
.info li:first-child { border-top: 0; padding-top: 0 }
.info .e { width: 38px; height: 38px; border-radius: 9px; background: var(--canvas-2); display: grid; place-items: center; font-size: 1.1rem; border: 1px solid var(--seam) }
.info b { display: block; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 800 }
.info a:hover { color: var(--rust) }
.map-patch { margin-top: 1rem; border-radius: 12px; overflow: hidden; position: relative; background: var(--canvas-2); border: 1.5px dashed var(--seam) }
.map-patch svg { display: block; width: 100%; height: auto }
.map-patch span { position: absolute; left: .7rem; bottom: .6rem; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--paper); border: 1px solid var(--seam); border-radius: 4px; padding: .25rem .55rem }
/* ═══════════ FOOTER ═══════════ */
footer { background: linear-gradient(var(--strap), var(--strap-2)); color: #EFE3CC; padding: 3rem 0 1.4rem; position: relative }
footer::before { content: ""; position: absolute; top: 10px; left: 14px; right: 14px; border-top: 2px dashed var(--thread); opacity: .7 }
.fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem }
footer h5 { font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-2); margin: 0 0 .8rem }
footer a { display: block; font-size: .88rem; opacity: .85; padding: .15rem 0; transition: .2s }
footer a:hover { opacity: 1; color: var(--brass-2) }
footer p { font-size: .88rem; opacity: .85 }
.fbrand { display: inline-flex; align-items: center; gap: .5rem; background: var(--paper); color: var(--ink); border-radius: 5px; padding: .4rem .8rem; font-weight: 800; letter-spacing: .12em; margin-bottom: .8rem }
.fbrand::before { content: ""; width: 6px; height: 16px; border-radius: 2px; background: var(--rust) }
.soc { display: flex; gap: .45rem; margin-top: .9rem }
.soc a { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); display: grid; place-items: center; padding: 0; opacity: 1 }
.soc a:hover { background: var(--brass); color: #2A1D12; border-color: var(--brass) }
.fbot { margin-top: 2rem; padding-top: 1rem; border-top: 2px dashed rgba(255, 255, 255, .22); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .8rem; opacity: .85 }
.fbot button { color: inherit; text-decoration: underline; text-underline-offset: 3px; font-weight: 700 }
.fbot button:hover { color: var(--brass-2) }
/* ═══════════ MODALS · TOAST · MISC ═══════════ */
.modal-content { background: var(--paper); color: var(--ink); border: 0; border-radius: 14px; position: relative }
.modal-content::after { content: ""; position: absolute; inset: 7px; border: 1.5px dashed var(--thread); border-radius: 9px; pointer-events: none; opacity: .85 }
.modal-header { border-bottom: 1.5px dashed var(--seam) }
.modal-title { font-weight: 800; font-size: 1.2rem }
.modal-title small { display: block; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); font-weight: 800; margin-bottom: .15rem }
[data-theme="dark"] .btn-close { filter: invert(1) grayscale(1) }
.leg { padding: .85rem 0; border-bottom: 1.5px dashed var(--seam) }
.leg:last-child { border-bottom: 0 }
.leg h6 { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); margin: 0 0 .3rem }
.leg p { font-size: .9rem; color: var(--muted) }
.toast-r { position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 10px); z-index: 1300; background: var(--strap); color: #F3E7CF; border-radius: 8px; padding: .65rem 1rem; font-size: .82rem; font-weight: 700; opacity: 0; transition: .3s var(--e); pointer-events: none; border: 1.5px dashed var(--thread); max-width: 85vw; text-align: center }
.toast-r.on { opacity: 1; transform: translate(-50%, 0) }
.totop { position: fixed; right: 16px; bottom: 16px; z-index: 1200; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--brass-2), var(--brass) 60%, #7a5a20); color: #2A1D12; font-size: 1.05rem; display: grid; place-items: center; box-shadow: 0 3px 0 #5f4415; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .3s var(--e) }
.totop.on { opacity: 1; visibility: visible; transform: none }
.rv { opacity: 0; transform: translateY(16px) rotate(-.4deg); transition: opacity .7s var(--e), transform .7s var(--spring); transition-delay: var(--d, 0s) }
.rv.in { opacity: 1; transform: none }
/* ═══════════ RESPONSIVE ═══════════ */
@media(max-width:1100px) { .tools { grid-template-columns: repeat(4, 1fr) } }
@media(max-width:991px) {
  .selvedge { display: none }
  main, footer { padding-left: 0 }
  .strap-links, .strap .cta { display: none }
  .burger { display: grid }
  .hero-grid, .about-grid, .prop, .nl, .ct { grid-template-columns: 1fr }
  .patches { grid-template-columns: 1fr 1fr }
  .tray { grid-template-columns: auto 1fr }
  .tray-act { grid-column: 1/-1; flex-direction: row; justify-content: space-between; align-items: center }
  .zips { grid-template-columns: 1fr }
  .line-scroll { overflow-x: auto; padding-bottom: .6rem; scroll-snap-type: x mandatory }
  .line { grid-template-columns: repeat(3, minmax(250px, 1fr)); min-width: max-content }
  .note { scroll-snap-align: start; max-width: 300px }
  .fgrid { grid-template-columns: 1fr 1fr }
}
@media(max-width:700px) {
  .tools { grid-template-columns: repeat(3, 1fr) }
  .m-controls { grid-template-columns: 1fr }
  .m-tags { grid-template-columns: 1fr 1fr }
  .hang-tags { grid-template-columns: 1fr 1fr }
  .care { grid-template-columns: 1fr 1fr }
  .care li:nth-child(2) { border-right: 0 }
  .care li:nth-child(-n+2) { border-bottom: 1.5px dashed var(--seam) }
  .patches { grid-template-columns: 1fr }
  .bins { grid-template-columns: 1fr }
  .match { grid-template-columns: 1fr }
  .two { grid-template-columns: 1fr }
  .pocket-cards { grid-template-columns: 1fr }
  .swatches { flex-direction: row; top: auto; bottom: .3rem; right: 1rem }
  .swatches small { writing-mode: horizontal-tb; transform: none; margin: 0 .2rem 0 0 }
}
@media(max-width:480px) {
  .tools { grid-template-columns: repeat(2, 1fr) }
  .fgrid { grid-template-columns: 1fr }
  .care { grid-template-columns: 1fr }
  .care li { border-right: 0; border-bottom: 1.5px dashed var(--seam) }
  .care li:last-child { border-bottom: 0 }
  .hang-tags { grid-template-columns: 1fr 1fr }
}
@media(prefers-reduced-motion:reduce) {
  * { animation: none !important; transition: none !important }
  .rv { opacity: 1; transform: none }
  .patch .stitch .cv { stroke-dashoffset: 100 }
}
.modal { z-index: 10000 }
/* ═══════════ MULTI-PAGE ADDITIONS ═══════════ */
.page-hero { padding-top: calc(64px + clamp(2.2rem, 5vw, 4rem)) }
.page-hero .sh { margin-bottom: .4rem }
.slim { max-width: 660px; margin: 0 auto }
.legal-panel { max-width: 940px; margin: 0 auto; padding: 1.9rem 1.7rem }
.legal-panel .leg { padding: 1.05rem 0 }
.unsub a { color: var(--rust); font-weight: 800; text-decoration: underline; text-underline-offset: 3px }
.fbot a { display: inline; padding: 0; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px }
.fbot a:hover { color: var(--brass-2); opacity: 1 }
.cta-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem }
.cta-strip h2 { font-size: clamp(1.5rem, 3vw, 2.2rem) }
.cta-strip p { color: var(--muted); margin-top: .45rem; max-width: 62ch }
.denim .cta-strip p { color: var(--on-denim-muted) }