/* ===========================================================================
   CardReborn - public site
   One stylesheet for every public page. The tokens below are the whole design
   system; nothing in the markup carries its own colour or spacing values.
   =========================================================================== */

@font-face{font-family:'DM Serif Display';src:url('/site/fonts/dmserif-400.woff2') format('woff2');
  font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'InterVar';src:url('/site/fonts/inter.woff2') format('woff2');
  font-weight:100 900;font-style:normal;font-display:swap;}

:root{
  /* surfaces */
  --bg:#050D1B; --bg-elev:#08162A; --surface:#0D1D33; --surface-hover:#12253F;
  --border:#1B3452;
  /* accents */
  --violet:#625BFF; --blue:#3B82F6; --lavender:#AA93FF;
  /* text */
  --tx:#F5F7FC; --tx2:#A7B8D2; --tx3:#7890B2;
  /* status */
  --ok:#10B981; --warn:#F59E0B; --err:#F87171;
  /* spacing scale */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px;
  --s7:48px; --s8:64px; --s9:96px;
  /* radii */
  --r-sm:9px; --r-md:14px; --r-lg:18px;
  --maxw:1320px; --pad:40px;
  --grad:linear-gradient(100deg,var(--violet) 0%,var(--blue) 100%);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--tx);
  font-family:'InterVar',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:var(--blue);text-decoration:none}
a:hover{color:var(--lavender)}
h1,h2,h3{font-family:'DM Serif Display',Georgia,serif;font-weight:400;line-height:1.1;
  margin:0;letter-spacing:-.01em}
p{margin:0}
:focus-visible{outline:2px solid var(--lavender);outline-offset:3px;border-radius:4px}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 var(--pad)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:-9999px;top:0;z-index:100;background:var(--surface);
  color:var(--tx);padding:var(--s3) var(--s4);border-radius:0 0 var(--r-sm) 0}
.skip:focus{left:0}

/* ----------------------------------------------------------------- buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--s2);
  font:inherit;font-size:15px;font-weight:600;border-radius:var(--r-sm);
  padding:0 var(--s5);min-height:46px;border:1px solid transparent;cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease;
  white-space:nowrap;text-decoration:none}
.btn svg{width:16px;height:16px;flex:none}
.btn-pri{background:var(--grad);color:#fff;box-shadow:0 8px 28px -10px rgba(98,91,255,.9)}
.btn-pri:hover{color:#fff;transform:translateY(-1px);box-shadow:0 14px 34px -12px rgba(98,91,255,1)}
.btn-pri:active{transform:translateY(0)}
.btn-sec{background:rgba(255,255,255,.03);border-color:var(--border);color:var(--tx)}
.btn-sec:hover{background:var(--surface-hover);border-color:#2c4a6f}
.btn-sm{min-height:38px;font-size:13.5px;padding:0 var(--s4)}
.btn[aria-disabled="true"],.btn:disabled{opacity:.55;cursor:not-allowed;transform:none}

/* ------------------------------------------------------------------ header */
.hdr{position:sticky;top:0;z-index:40;background:rgba(5,13,27,.72);
  backdrop-filter:saturate(140%) blur(14px);border-bottom:1px solid rgba(27,52,82,.6)}
.hdr-in{display:flex;align-items:center;gap:var(--s6);height:92px}
/* margin-right:auto pins the actions to the right edge. The centred nav used to do that
   job, and the moment it folds away on a phone the buttons drifted back to the middle. */
.brand{display:flex;align-items:center;gap:10px;flex:none;margin-right:auto}
.brand img{height:52px;width:auto}
.brand span{font-family:'DM Serif Display',Georgia,serif;font-size:21px;color:var(--tx)}
.nav{display:flex;align-items:center;gap:var(--s5);margin:0 auto;font-size:14.5px}
.hdr-in>.nav{margin-left:auto;margin-right:auto}
.nav a{color:var(--tx2);padding:var(--s2) 0;position:relative;font-weight:500}
.nav a:hover{color:var(--tx)}
.nav a[aria-current="page"]{color:var(--tx)}
.nav a[aria-current="page"]::after{content:"";position:absolute;left:0;right:0;bottom:-2px;
  height:2px;border-radius:2px;background:var(--grad)}
.hdr-act{display:flex;align-items:center;gap:var(--s3);flex:none}
.burger{display:none;background:none;border:1px solid var(--border);border-radius:var(--r-sm);
  width:44px;height:44px;align-items:center;justify-content:center;cursor:pointer;color:var(--tx)}
.burger svg{width:20px;height:20px}

/* drawer */
.drawer{position:fixed;inset:0;z-index:60;display:none}
.drawer[open],.drawer.on{display:block}
.drawer-bd{position:absolute;inset:0;background:rgba(3,8,16,.72);border:0;width:100%;padding:0}
.drawer-pn{position:absolute;top:0;right:0;bottom:0;width:min(86vw,360px);background:var(--bg-elev);
  border-left:1px solid var(--border);padding:var(--s5);display:flex;flex-direction:column;gap:var(--s4);
  overflow-y:auto}
.drawer-pn .nav{flex-direction:column;align-items:stretch;gap:0;margin:0;font-size:16px}
.drawer-pn .nav a{padding:var(--s4) 0;border-bottom:1px solid rgba(27,52,82,.55)}
.drawer-top{display:flex;align-items:center;justify-content:space-between}

/* -------------------------------------------------------------------- hero */
.hero{position:relative;isolation:isolate;overflow:hidden;
  min-height:clamp(560px,78vh,820px);display:flex;align-items:center}
.hero-img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;
  object-position:center right}
.hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    linear-gradient(90deg,rgba(5,13,27,.98) 0%,rgba(5,13,27,.93) 32%,rgba(5,13,27,.62) 52%,rgba(5,13,27,.08) 78%),
    linear-gradient(180deg,rgba(5,13,27,.55) 0%,rgba(5,13,27,0) 24%,rgba(5,13,27,0) 62%,var(--bg) 100%)}
/* The hero is a flex container, so its single child would otherwise shrink to its own
   content and the auto margins would centre it. Full width keeps the container doing the
   centring and the text sitting on its left edge. */
.hero-in{padding:var(--s9) var(--pad);width:100%}
/* The text sits on the LEFT of the centred container. Putting max-width on the .wrap
   itself centred the whole block in the hero and pushed it over the artwork. */
.hero-col{max-width:560px}
.eyebrow{display:inline-flex;align-items:center;gap:var(--s2);font-size:12px;font-weight:600;
  letter-spacing:.16em;text-transform:uppercase;color:var(--lavender);margin-bottom:var(--s5)}
.eyebrow::before{content:"";width:22px;height:1px;background:var(--lavender);opacity:.7}
.hero h1{font-size:clamp(44px,5vw,60px);line-height:1;margin-bottom:var(--s3)}
.hero h1 .g{background:var(--grad);-webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:var(--violet)}
.hero h2{font-size:clamp(19px,1.8vw,22px);font-family:'InterVar',sans-serif;font-weight:600;
  color:var(--tx);margin-bottom:var(--s4);letter-spacing:-.01em}
.hero p.lead{color:var(--tx2);font-size:16px;max-width:470px;margin-bottom:var(--s6)}
.hero-cta{display:flex;gap:var(--s3);flex-wrap:wrap}

/* credibility row */
/* Deliberately quieter than the buttons above it: one line each, no numbers. */
.cred{display:flex;align-items:center;gap:var(--s4);margin-top:var(--s7);flex-wrap:wrap}
.cred-i{display:flex;align-items:center;gap:10px}
.cred-ic{width:32px;height:32px;border-radius:50%;background:rgba(98,91,255,.14);
  border:1px solid rgba(98,91,255,.35);display:flex;align-items:center;justify-content:center;
  color:var(--lavender);flex:none}
.cred-ic svg{width:15px;height:15px}
.cred-t{font-size:13px;font-weight:600;color:var(--tx);white-space:nowrap}
.cred-sep{width:1px;height:26px;background:var(--border);flex:none}
/* A quiet "there is more below" mark. Decorative, so it is hidden from assistive
   technology and it never carries meaning on its own. */
.scrollcue{display:none;width:44px;height:44px;margin:var(--s7) auto 0;border-radius:50%;
  border:1px solid var(--border);color:var(--tx2);align-items:center;justify-content:center;
  background:rgba(13,29,51,.5)}
.scrollcue svg{width:18px;height:18px}

/* ---------------------------------------------------------------- sections */
.sec{padding:var(--s9) 0;border-top:1px solid rgba(27,52,82,.45)}
.sec:first-of-type{border-top:0}
.sec-h{max-width:720px;margin-bottom:var(--s7)}
.sec-h h2{font-size:clamp(30px,3.6vw,44px);margin-bottom:var(--s3)}
.sec-h p{color:var(--tx2);font-size:16.5px}
.kicker{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:var(--tx3);margin-bottom:var(--s3)}

.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--s5)}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:var(--s6);align-items:center}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);
  padding:var(--s6);transition:transform .18s ease,border-color .18s ease,background .18s ease}
.card:hover{transform:translateY(-3px);border-color:#2c4a6f;background:var(--surface-hover)}
.card-ic{width:42px;height:42px;border-radius:11px;background:rgba(59,130,246,.12);
  border:1px solid rgba(59,130,246,.28);display:flex;align-items:center;justify-content:center;
  color:var(--blue);margin-bottom:var(--s5)}
.card-ic svg{width:20px;height:20px}
.card h3{font-size:21px;margin-bottom:var(--s3)}
.card p{color:var(--tx2);font-size:14.5px}
.card .more{display:inline-flex;align-items:center;gap:6px;margin-top:var(--s4);font-size:14px;
  font-weight:600;color:var(--blue)}
.card .more svg{width:14px;height:14px}

/* steps */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--s5);counter-reset:step}
.step{position:relative;padding-top:var(--s6)}
.step::before{counter-increment:step;content:counter(step);position:absolute;top:0;left:0;
  width:30px;height:30px;border-radius:50%;background:var(--surface);border:1px solid var(--border);
  color:var(--lavender);font-size:13px;font-weight:700;display:flex;align-items:center;
  justify-content:center;font-family:'InterVar',sans-serif}
.step::after{content:"";position:absolute;top:15px;left:38px;right:-12px;height:1px;
  background:linear-gradient(90deg,var(--border),rgba(27,52,82,0))}
.step:last-child::after{display:none}
.step h3{font-size:17px;font-family:'InterVar',sans-serif;font-weight:600;margin-bottom:var(--s2)}
.step p{color:var(--tx2);font-size:14px}

/* preview panels */
.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);
  overflow:hidden}
.panel-h{display:flex;align-items:center;justify-content:space-between;gap:var(--s4);
  padding:var(--s4) var(--s5);border-bottom:1px solid var(--border);background:var(--bg-elev)}
.panel-b{padding:var(--s5)}
.demo-tag{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;color:var(--warn);
  background:rgba(245,158,11,.1);border:1px solid rgba(245,158,11,.35);
  padding:4px 9px;border-radius:999px}
.kv{display:grid;grid-template-columns:auto 1fr;gap:var(--s2) var(--s5);font-size:14px}
.kv dt{color:var(--tx3)}
.kv dd{margin:0;color:var(--tx);font-weight:500}
.status{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:600;
  padding:5px 11px;border-radius:999px;border:1px solid}
.status svg{width:13px;height:13px}
.status-ok{color:var(--ok);background:rgba(16,185,129,.1);border-color:rgba(16,185,129,.35)}
.status-warn{color:var(--warn);background:rgba(245,158,11,.1);border-color:rgba(245,158,11,.35)}
.status-neutral{color:var(--tx2);background:rgba(164,180,202,.08);border-color:var(--border)}
.note{font-size:13px;color:var(--tx3);margin-top:var(--s4);padding-top:var(--s4);
  border-top:1px solid var(--border)}

/* final cta */
.cta{background:linear-gradient(135deg,rgba(98,91,255,.14),rgba(59,130,246,.08));
  border:1px solid var(--border);border-radius:var(--r-lg);padding:var(--s8) var(--s7);
  text-align:center}
.cta h2{font-size:clamp(28px,3.4vw,40px);margin-bottom:var(--s3)}
.cta p{color:var(--tx2);margin-bottom:var(--s6)}
.cta .hero-cta{justify-content:center}

/* ------------------------------------------------- how CardReborn works
   One compact explanation between the hero and the footer. Three steps, a line icon
   each, no panels and no gradients - the hero is the only loud thing on this page. */
.how{padding:var(--s8) 0 var(--s9);border-top:1px solid var(--border)}
.how-h{margin-bottom:var(--s7)}
.how-h h2{font-size:clamp(26px,2.6vw,34px);margin-bottom:var(--s2)}
.how-h p{color:var(--tx2);font-size:16px}
.how-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);
  gap:var(--s7)}
.how-step{position:relative;padding-left:0}
.how-n{font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--tx3)}
.how-ic{display:flex;align-items:center;justify-content:center;width:40px;height:40px;
  margin:var(--s4) 0 var(--s4);border-radius:11px;border:1px solid var(--border);
  background:var(--surface);color:var(--lavender)}
.how-ic svg{width:19px;height:19px}
.how-step h3{font-family:'InterVar',sans-serif;font-size:18px;font-weight:600;
  margin-bottom:var(--s2)}
.how-step p{color:var(--tx2);font-size:14.5px;max-width:34ch}

/* ------------------------------------------------------------------- forms
   Every field has a visible label - a placeholder disappears the moment somebody types
   and then nobody can see what the box was for. */
.fgrid{display:grid;grid-template-columns:1fr 1fr;gap:var(--s4)}
.fld{display:grid;gap:7px;font-size:13.5px;color:var(--tx2);min-width:0}
.fld .lb{display:block}
.fld-wide{grid-column:1/-1}
.req{color:var(--lavender)}
.fld input,.fld select,.fld textarea{font:inherit;font-size:15px;background:var(--bg);
  border:1px solid var(--border);color:var(--tx);border-radius:12px;padding:11px 13px;
  width:100%;min-width:0}
.fld textarea{resize:vertical}
.fld select{color-scheme:dark}
.fld input:focus,.fld select:focus,.fld textarea:focus{outline:2px solid var(--lavender);
  outline-offset:1px;border-color:var(--lavender)}
.fld input[aria-invalid="true"],.fld textarea[aria-invalid="true"]{border-color:var(--err)}
.chk{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:var(--tx2);line-height:1.5}
.chk input{margin-top:3px;width:17px;height:17px;flex:none;accent-color:var(--violet)}
.drop{display:flex;align-items:center;gap:var(--s3);flex-wrap:wrap;border:1px dashed var(--border);
  border-radius:12px;padding:var(--s4);background:var(--bg)}
.drop.over{border-color:var(--lavender);background:var(--surface-hover)}
.drop-hint{font-size:12px;color:var(--tx3)}
.filelist{list-style:none;margin:var(--s3) 0 0;padding:0;display:grid;gap:7px}
.filelist li{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--tx2);
  background:var(--bg);border:1px solid var(--border);border-radius:10px;padding:7px 10px}
.filelist img{width:34px;height:34px;object-fit:cover;border-radius:7px;flex:none}
.filelist .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.filelist button{background:none;border:0;color:var(--tx3);cursor:pointer;font:inherit;
  font-size:12px;padding:4px 6px;border-radius:6px}
.filelist button:hover{color:var(--err);background:rgba(248,113,113,.1)}
.formmsg{font-size:13.5px;margin-top:var(--s4);min-height:1px}
.formmsg.err{color:var(--err)}
.formmsg.ok{color:var(--ok)}
.ftr-note{font-size:12.5px;color:var(--tx3);margin-top:var(--s3)}
@media (max-width:620px){ .fgrid{grid-template-columns:1fr} }

/* ------------------------------------------------ authenticity guide
   An article page: a column of text with a table of contents beside it. The sidebar
   sticks, the article does not fight it for width, and everything collapses to one
   column on a phone. */
.gd-top{padding:var(--s8) 0 var(--s6);text-align:center;
  background:radial-gradient(800px 320px at 50% -20%,rgba(114,87,255,.14),transparent 72%);
  border-bottom:1px solid rgba(27,52,82,.5)}
.gd-eyebrow{justify-content:center}
.gd-top h1{font-size:clamp(30px,4vw,50px);line-height:1.08;margin-bottom:var(--s4);
  max-width:20ch;margin-left:auto;margin-right:auto}
.gd-top-lead{color:var(--tx2);font-size:16.5px;line-height:1.7;max-width:70ch;margin:0 auto}
.gd-top-cta{justify-content:center;margin-top:var(--s5)}

.gd-wrap{display:grid;grid-template-columns:238px minmax(0,1fr);gap:var(--s7);
  padding-top:var(--s7);padding-bottom:var(--s9)}
.gd-toc{position:sticky;top:104px;align-self:start;max-height:calc(100vh - 140px);overflow:auto}
.gd-toc-h{font-family:'InterVar',sans-serif;font-size:11px;font-weight:600;letter-spacing:.13em;
  text-transform:uppercase;color:var(--tx3);margin:0 0 var(--s4)}
.gd-toc-btn{display:none}
.gd-toc-list{list-style:none;margin:0;padding:0;counter-reset:none;display:grid;gap:2px}
.gd-toc-list a{display:flex;gap:9px;align-items:baseline;padding:7px 10px;border-radius:8px;
  color:var(--tx2);font-size:13.5px;line-height:1.35;border-left:2px solid transparent}
.gd-toc-list a span{color:var(--tx3);font-size:11px;font-variant-numeric:tabular-nums}
.gd-toc-list a:hover{color:var(--tx);background:rgba(13,29,51,.7)}
.gd-toc-list a.on{color:var(--tx);background:rgba(13,29,51,.9);border-left-color:var(--violet)}
.gd-toc-rel{margin-top:var(--s6);padding-top:var(--s5);border-top:1px solid rgba(27,52,82,.7);
  display:grid;gap:9px}
.gd-toc-rel h3{font-family:'InterVar',sans-serif;font-size:11px;font-weight:600;letter-spacing:.13em;
  text-transform:uppercase;color:var(--tx3);margin:0 0 2px}
.gd-toc-rel a{color:var(--tx2);font-size:13.5px}
.gd-toc-rel a:hover{color:var(--lavender)}

.gd-article{max-width:76ch}
.gd-article p{color:var(--tx2);font-size:16px;line-height:1.75;margin-bottom:var(--s4)}
.gd-sec{scroll-margin-top:110px;padding:var(--s6) 0;border-top:1px solid rgba(27,52,82,.5)}
.gd-sec:first-of-type{border-top:0}
.gd-sec-h{display:flex;align-items:baseline;gap:14px;margin-bottom:var(--s4)}
.gd-n{font-size:12px;font-weight:700;letter-spacing:.12em;color:var(--violet);
  font-variant-numeric:tabular-nums}
.gd-sec h2{font-size:clamp(22px,2.4vw,30px)}
.gd-cols{display:grid;grid-template-columns:1fr 1fr;gap:var(--s5);margin:var(--s5) 0}
.gd-col h3{font-family:'InterVar',sans-serif;font-size:12px;font-weight:600;letter-spacing:.1em;
  text-transform:uppercase;color:var(--tx3);margin-bottom:10px}
.gd-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.gd-list li{position:relative;padding-left:20px;color:var(--tx2);font-size:14.5px;line-height:1.55}
.gd-list li::before{content:"";position:absolute;left:4px;top:9px;width:6px;height:6px;
  border-radius:50%;background:var(--blue)}
.gd-warn li::before{background:var(--warn)}
.gd-limit{font-size:14.5px;color:var(--tx3);border-left:2px solid rgba(27,52,82,.9);
  padding:4px 0 4px 16px;margin-top:var(--s4)}
.gd-limit strong{color:var(--tx2)}

/* A labelled rule between groups, the way a printed reference separates its chapters. */
.gd-rule{display:flex;align-items:center;gap:var(--s5);margin:var(--s8) 0 var(--s6)}
.gd-rule::before,.gd-rule::after{content:"";flex:1;height:1px;
  background:repeating-linear-gradient(90deg,rgba(130,155,205,.45) 0 3px,transparent 3px 7px)}
.gd-rule span{font-family:'DM Serif Display',Georgia,serif;font-size:19px;color:var(--lavender);
  font-style:italic;white-space:nowrap}

.gd-intro{border-top:0;padding-top:0}
.gd-intro h2{font-size:clamp(22px,2.4vw,30px);margin-bottom:var(--s4)}
.gd-item{scroll-margin-top:110px;padding:var(--s6) 0;border-top:1px solid rgba(27,52,82,.4);
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:var(--s6);align-items:start}
.gd-item:first-of-type{border-top:0}
.gd-item-txt{max-width:62ch;min-width:0}

/* The comparison slots: empty on purpose, and they say so. Two frames side by side, the
   same shape as the photographs that will replace them, so adding the images later shifts
   nothing on the page. */
.gd-shots{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:sticky;top:116px}
.gd-shot{position:relative;margin:0;aspect-ratio:3/4;border-radius:10px;
  border:1px dashed rgba(130,155,205,.34);background:
    repeating-linear-gradient(135deg,rgba(13,29,51,.85) 0 10px,rgba(10,24,44,.85) 10px 20px);
  display:flex;align-items:center;justify-content:center;padding:10px}
.gd-shot-tag{position:absolute;top:8px;left:8px;font-size:10px;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;padding:4px 8px;border-radius:6px;color:#fff}
.gd-ok{background:rgba(16,185,129,.9)}
.gd-bad{background:rgba(248,113,113,.9)}
.gd-shot-hint{font-size:11.5px;color:var(--tx3);text-align:center;line-height:1.4}
.gd-item-h{display:flex;align-items:flex-start;gap:16px;margin-bottom:var(--s4)}
.gd-item h3{font-size:clamp(19px,2vw,24px);font-family:'DM Serif Display',Georgia,serif;
  font-weight:400;line-height:1.2}
.gd-item h4{font-family:'InterVar',sans-serif;font-size:12px;font-weight:600;letter-spacing:.1em;
  text-transform:uppercase;color:var(--tx3);margin:var(--s5) 0 10px}
.gd-item p{font-size:15.5px}

/* the small marks beside each heading, drawn rather than fetched */
.gd-mark{flex:none;width:40px;height:40px;display:flex;align-items:center;justify-content:center;
  color:var(--violet);font-family:'InterVar',sans-serif;font-size:15px;font-weight:700;
  border:1px solid rgba(114,87,255,.3);border-radius:11px;background:rgba(114,87,255,.08);
  letter-spacing:-.02em}
.gd-mark sup{font-size:9px}
.gd-mark-dots{gap:3px}
.gd-mark-dots i{width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.75}
.gd-mark-dots i:nth-child(2){opacity:.5}.gd-mark-dots i:nth-child(3){opacity:.3}
.gd-mark-stack{flex-direction:column;gap:3px}
.gd-mark-stack i{width:17px;height:3px;border-radius:2px;background:currentColor;opacity:.8}
.gd-mark-stack i:nth-child(2){opacity:.45}
.gd-mark-back::before{content:"";width:17px;height:23px;border-radius:3px;
  border:2px solid currentColor}
.gd-mark-holo::before{content:"";width:20px;height:20px;border-radius:5px;
  background:linear-gradient(135deg,#7657ff,#397bff 55%,#19c992)}
.gd-mark-tex::before{content:"";width:20px;height:20px;border-radius:4px;
  background:repeating-linear-gradient(45deg,currentColor 0 2px,transparent 2px 5px)}
.gd-mark-cut::before{content:"";width:19px;height:19px;border-radius:3px;
  border:2px solid currentColor;border-right-style:dashed;border-bottom-style:dashed}

.gd-note{background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--violet);
  border-radius:12px;padding:var(--s5);margin-bottom:var(--s6)}
.gd-note h2{font-family:'InterVar',sans-serif;font-size:16px;font-weight:600;margin-bottom:10px}
.gd-note p{font-size:14.5px;margin-bottom:var(--s4)}

.gd-signs{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:var(--s5)}
.gd-sign{display:block;background:var(--surface);border:1px solid var(--border);border-radius:11px;
  padding:14px 16px;transition:border-color .15s ease,background .15s ease}
.gd-sign:hover{border-color:#2c4a6f;background:var(--surface-hover)}
.gd-sign strong{display:block;color:var(--tx);font-size:14.5px;margin-bottom:4px}
.gd-sign span{color:var(--tx2);font-size:13px;line-height:1.5}

.gd-check{list-style:none;margin:var(--s5) 0 0;padding:0;display:grid;gap:2px}
.gd-check label{display:flex;gap:12px;align-items:flex-start;padding:11px 12px;border-radius:9px;
  cursor:pointer;color:var(--tx);font-size:14.5px;line-height:1.5;min-height:44px}
.gd-check label:hover{background:rgba(13,29,51,.7)}
.gd-check input{width:19px;height:19px;margin-top:2px;flex:none;accent-color:var(--violet)}
.gd-check input:checked+span{color:var(--tx2)}
.gd-check-foot{display:flex;align-items:center;justify-content:space-between;gap:var(--s4);
  margin-top:var(--s4);padding-top:var(--s4);border-top:1px solid rgba(27,52,82,.7);flex-wrap:wrap}
.gd-progress{margin:0!important;font-size:14px;color:var(--tx2);font-variant-numeric:tabular-nums}
.gd-check-msg{font-size:14.5px;color:var(--tx2);margin:var(--s4) 0 var(--s5)!important}

.gd-steps{color:var(--tx2);font-size:15px;line-height:1.7;margin:var(--s4) 0 var(--s5);
  padding-left:20px;display:grid;gap:8px}
.gd-cta{background:linear-gradient(135deg,rgba(114,87,255,.14),rgba(57,123,255,.07));
  border:1px solid var(--border);border-radius:16px;padding:var(--s6);margin:var(--s6) 0}
.gd-cta h2{font-size:clamp(22px,2.4vw,28px);margin-bottom:10px}
.gd-source a{font-size:15px}

@media (max-width:980px){
  .gd-wrap{grid-template-columns:1fr;gap:var(--s5)}
  .gd-toc{position:static;max-height:none;background:var(--surface);border:1px solid var(--border);
    border-radius:12px;padding:6px}
  .gd-toc-h{display:none}
  .gd-toc-btn{display:flex;align-items:center;justify-content:space-between;width:100%;
    background:none;border:0;color:var(--tx);font:inherit;font-size:15px;font-weight:600;
    padding:13px 12px;cursor:pointer;min-height:48px}
  .gd-toc-btn svg{width:17px;height:17px;transition:transform .18s ease}
  .gd-toc-btn[aria-expanded="true"] svg{transform:rotate(180deg)}
  .gd-toc-list{display:none;padding:0 6px 8px}
  .gd-toc-list.open{display:grid}
  .gd-toc-rel{margin:0;padding:12px;border-top:1px solid rgba(27,52,82,.7)}
  .gd-article{max-width:none}
  .gd-cols,.gd-signs{grid-template-columns:1fr}
  .gd-item{grid-template-columns:1fr;gap:var(--s5)}
  .gd-item-txt{max-width:none}
  .gd-shots{position:static;max-width:420px}
}
@media (max-width:720px){
  .gd-hero{padding:var(--s7) 0 var(--s6)}
  .gd-hero .cred{grid-template-columns:1fr;gap:10px;border-top:0;padding-top:0}
  .gd-wrap{padding-bottom:var(--s8)}
}

/* ------------------------------------------------- restoration gallery */
.gal{padding:var(--s9) 0;border-top:1px solid rgba(27,52,82,.5);
  background:radial-gradient(1100px 420px at 50% -10%,rgba(114,87,255,.10),transparent 70%)}
.gal-head{text-align:center;max-width:780px;margin:0 auto var(--s7)}
.gal-label{display:flex;align-items:center;justify-content:center;gap:var(--s4);
  font-size:11.5px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
  color:var(--lavender);margin-bottom:var(--s4)}
.gal-label::before,.gal-label::after{content:"";height:1px;width:46px;
  background:linear-gradient(90deg,rgba(114,87,255,0),rgba(114,87,255,.8))}
.gal-label::after{background:linear-gradient(90deg,rgba(114,87,255,.8),rgba(114,87,255,0))}
.gal-head h2{font-size:clamp(28px,3.4vw,44px);margin-bottom:14px}
.gal-head .g{background:var(--grad);-webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:var(--violet)}
.gal-intro{color:var(--tx2);font-size:16.5px;max-width:760px;margin:0 auto}

.gal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:stretch}
.gal-card{display:flex;flex-direction:column;background:var(--surface);
  border:1px solid var(--border);border-radius:14px;overflow:hidden;
  transition:transform .18s ease,border-color .18s ease}
.gal-card:hover{transform:translateY(-2px);border-color:#2c4a6f}
.gal-card-b{padding:18px;display:flex;flex-direction:column;gap:6px;flex:1}
.gal-card h3{font-family:'InterVar',sans-serif;font-size:18px;font-weight:600}
.gal-card p{color:var(--tx2);font-size:14px}

/* The comparison. The supplied illustrations are the two halves of one composition and
   already carry their own BEFORE and AFTER labels, so they are placed side by side exactly
   as they were drawn. A real case - same framing, two moments - gets the slider instead;
   both live in this one component. */
.ba-pair{position:relative;display:grid;grid-template-columns:var(--split,50%) 1fr;
  background:var(--bg);touch-action:pan-y;user-select:none;cursor:ew-resize}
.ba-seam{position:absolute;top:0;bottom:0;left:var(--split,50%);width:2px;transform:translateX(-50%);
  background:linear-gradient(180deg,rgba(170,147,255,.25),rgba(170,147,255,.95) 38%,
             rgba(170,147,255,.95) 62%,rgba(170,147,255,.25));pointer-events:none;z-index:2}
.ba-cap{position:absolute;top:50%;left:var(--split,50%);width:32px;height:32px;
  border-radius:50%;transform:translate(-50%,-50%);background:rgba(5,13,27,.9);
  border:1px solid rgba(170,147,255,.8);box-shadow:0 0 14px -2px rgba(118,87,255,.85);
  display:flex;align-items:center;justify-content:center;color:#fff;
  pointer-events:none;z-index:3}
.ba-cap svg{width:14px;height:14px;display:block}
.ba-split{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;
  -webkit-appearance:none;appearance:none;background:none;cursor:ew-resize;z-index:4}
.ba-split:focus-visible~.ba-cap{outline:2px solid var(--lavender);outline-offset:3px}
/* contain, not cover: the two halves are a few pixels different in width, and cover was
   shaving the AFTER label off the right edge of two of the three. */
/* fill, not cover: each cell is given its image's own aspect ratio above, so filling it
   is exact and nothing is stretched or cropped. cover scaled the two halves differently
   and broke the line drawn across them. */
/* Each half keeps its own outer edge in view, so widening a side reveals more of that
   picture instead of stretching it. */
.ba-pair img{width:100%;height:100%;object-fit:cover;display:block;background:var(--bg)}
.ba-pair picture:first-child img{object-position:left center}
.ba-pair picture:last-of-type img{object-position:right center}


.ba{position:relative;aspect-ratio:3/2;background:var(--bg);overflow:hidden;
  touch-action:pan-y}            /* a drag must never steal the page's vertical scroll */
.ba img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.ba-after{clip-path:inset(0 0 0 var(--pos,50%))}
.ba-line{position:absolute;top:0;bottom:0;left:var(--pos,50%);width:2px;
  background:rgba(255,255,255,.85);transform:translateX(-1px);pointer-events:none}
.ba-knob{position:absolute;top:50%;left:var(--pos,50%);width:38px;height:38px;
  transform:translate(-50%,-50%);border-radius:50%;background:rgba(6,16,32,.86);
  border:1px solid rgba(255,255,255,.5);display:flex;align-items:center;justify-content:center;
  color:#fff;pointer-events:none}
.ba-knob svg{width:16px;height:16px}
.ba-range{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;
  cursor:ew-resize;-webkit-appearance:none;appearance:none;background:none}
.ba-range:focus-visible+.ba-line{box-shadow:0 0 0 2px var(--lavender)}
.ba-tag{position:absolute;top:12px;font-size:10.5px;font-weight:700;letter-spacing:.09em;
  text-transform:uppercase;padding:5px 10px;border-radius:8px;color:#fff;pointer-events:none;
  z-index:2;white-space:nowrap}
.ba-tag-b{left:12px;background:rgba(5,13,27,.86);border:1px solid rgba(255,255,255,.26)}
.ba-tag-a{right:12px;background:var(--grad);box-shadow:0 2px 10px -3px rgba(98,91,255,.9)}

.gal-disclaimer{text-align:center;color:var(--tx3);font-size:12.5px;line-height:1.6;
  max-width:60ch;margin:var(--s5) auto 0}
.gal-cta{display:flex;justify-content:center;margin-top:26px}
.gal-trust{list-style:none;margin:var(--s7) 0 0;padding:0;display:grid;
  grid-template-columns:repeat(3,1fr);gap:var(--s5)}
.gal-trust li{display:flex;gap:14px;align-items:flex-start;padding-left:var(--s5);
  border-left:1px solid rgba(27,52,82,.7)}
.gal-trust li:first-child{border-left:0;padding-left:0}
.gal-ic{width:38px;height:38px;flex:none;border-radius:50%;background:rgba(114,87,255,.12);
  border:1px solid rgba(114,87,255,.32);display:flex;align-items:center;justify-content:center;
  color:var(--lavender)}
.gal-ic svg{width:17px;height:17px}
.gal-trust strong{display:block;font-size:14px;color:var(--tx);margin-bottom:3px}
.gal-trust span{font-size:13px;color:var(--tx2)}

/* loading, empty and failed - a gallery with nothing in it still has to look deliberate */
.gal-skel{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.gal-skel div{border:1px solid var(--border);border-radius:14px;background:var(--surface);
  aspect-ratio:3/2.55}
.gal-note{text-align:center;color:var(--tx2);font-size:15px;max-width:620px;
  margin:0 auto;padding:var(--s6) 0}
.gal-note b{display:block;color:var(--tx);font-size:17px;margin-bottom:8px;
  font-family:'DM Serif Display',Georgia,serif;font-weight:400}

@media (max-width:1023px){
  .gal-grid,.gal-skel{grid-template-columns:repeat(2,1fr)}
  .gal-trust{grid-template-columns:1fr;gap:var(--s4)}
  .gal-trust li{border-left:0;padding-left:0}
}
@media (max-width:720px){
  .gal{padding:var(--s8) 0}
  .gal-grid,.gal-skel{grid-template-columns:1fr}
  .gal-head{margin-bottom:var(--s6)}
  .gal-intro{font-size:15px}
  .gal-cta .btn{width:100%}
}
@media (prefers-reduced-motion:reduce){ .gal-card:hover{transform:none} }

/* ------------------------------------------------------------------ footer
   One closing block, not four stacked ones. The links carry the weight, the brand line is
   deliberately secondary, and the artwork rises out of the bottom instead of starting at a
   hard edge. */
.ftr{border-top:1px solid var(--border);background:var(--bg-elev);margin-top:var(--s9)}
.ftr-top{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:var(--s7);
  padding-top:var(--s7);padding-bottom:var(--s6)}
.ftr-logo{height:30px;width:auto}
.ftr-brandcol p{color:var(--tx2);font-size:14px;line-height:1.6;margin-top:14px;max-width:44ch}
.ftr-brandcol p+p{margin-top:8px}
.ftr-h{font-family:'InterVar',sans-serif;font-size:11px;font-weight:600;letter-spacing:.13em;
  text-transform:uppercase;color:var(--tx3);margin:0 0 6px}
.ftr-list{list-style:none;margin:0;padding:0}
.ftr-list a{display:flex;align-items:center;justify-content:space-between;gap:var(--s4);
  color:var(--tx);font-size:15px;min-height:46px;
  border-bottom:1px solid rgba(27,52,82,.45);transition:color .15s ease}
.ftr-list li:last-child a{border-bottom:0}
.ftr-list a:hover,.ftr-list a:active{color:var(--lavender)}
.ftr-list .chev{width:12px;height:12px;color:var(--violet);flex:none;opacity:.7}

/* the closing signature */
.ftr-sign{position:relative;isolation:isolate;text-align:center;min-height:250px;
  padding:var(--s6) 0 36px;border-top:1px solid rgba(27,52,82,.5)}
/* The crystals are two corner pieces, not one wide strip. A strip either gets squashed to
   a sliver (100% auto) or has its sides cropped away (cover) - and the sides are exactly
   where the crystals live, which is why they looked cut through the middle. Anchored to
   the bottom corners at the section's own height, they run to the edge whatever the
   disclaimer does to that height. */
.ftr-sign::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    url('/site/assets/ftr-left.webp')  left  bottom / 38% auto no-repeat,
    url('/site/assets/ftr-right.webp') right bottom / 38% auto no-repeat,
    var(--bg-elev)}
/* A light veil along the top so the corners rise out of the navy rather than starting at
   a seam. The middle needs no cover: the two corner pieces leave it dark by themselves. */
.ftr-sign::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    linear-gradient(180deg,var(--bg-elev) 0%,rgba(8,22,42,.7) 30%,rgba(8,22,42,0) 68%),
    /* and a soft pool behind the words, so the disclaimer never has to compete with the
       brightest part of a crystal */
    radial-gradient(74% 62% at 50% 74%,rgba(8,22,42,.88),rgba(8,22,42,0) 76%)}
.ftr-rule{display:flex;align-items:center;justify-content:center;gap:var(--s4);
  margin-bottom:20px}
.ftr-rule::before,.ftr-rule::after{content:"";height:1px;flex:1;max-width:230px;
  background:linear-gradient(90deg,rgba(98,91,255,0),rgba(170,147,255,.7))}
.ftr-rule::after{background:linear-gradient(90deg,rgba(170,147,255,.7),rgba(98,91,255,0))}
.cr-mark{width:42px;height:auto;flex:none}
.ftr-copy{color:var(--tx2);font-size:12.5px}
.ftr-note{color:var(--tx3);font-size:11.5px;line-height:1.55;max-width:46ch;
  margin:14px auto 0;padding-bottom:var(--s5)}

/* ------------------------------------------------- footer, desktop
   One continuous artwork behind the whole footer, four columns above it and the monogram
   centred on the viewport. The mobile footer keeps its own approved treatment: its two
   corner pieces are switched off here, and this block never applies below 721px. */
@media (min-width:721px){
  .ftr{position:relative;isolation:isolate;overflow:hidden;background:var(--bg-elev)}
  .ftr::before{content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;
    /* 100% auto, anchored to the bottom: the crystals sit in the lower corners of the
       artwork and cover would crop exactly those away. */
    background:url('/site/assets/ftr-bg-1600.webp') center bottom / 100% auto no-repeat}
  .ftr::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
    background:linear-gradient(180deg,rgba(8,22,42,.92) 0%,rgba(8,22,42,.6) 42%,rgba(8,22,42,.25) 100%)}
  .ftr-sign::before,.ftr-sign::after{display:none}
  .ftr-sign{background:none;border-top-color:rgba(130,155,205,.18)}

  /* Three columns while there is no Connect column to fill the fourth. A reserved empty
     quarter reads as something that failed to load. */
  .ftr-top{grid-template-columns:46% 27% 27%;gap:0;
    padding-top:var(--s8);padding-bottom:var(--s7)}
  .ftr-nav{padding-left:var(--s6);border-left:1px solid rgba(130,155,205,.18)}
  .ftr-brandcol{padding-right:var(--s6)}
  .ftr-list a{min-height:42px;font-size:14px}
  .ftr-logo{height:40px}
  .ftr-brandcol p{font-size:14.5px;max-width:40ch}
  .ftr-h{color:var(--lavender)}
}
@media (min-width:1700px){
  .ftr::before{background-image:url('/site/assets/ftr-bg-2400.webp')}
}

/* ------------------------------------------------------------ page heading */
.phead{padding:var(--s9) 0 var(--s7);border-bottom:1px solid rgba(27,52,82,.45);
  background:radial-gradient(900px 300px at 20% 0%,rgba(98,91,255,.14),transparent 70%)}
.phead h1{font-size:clamp(36px,5vw,58px);margin-bottom:var(--s4)}
.phead p{color:var(--tx2);max-width:640px;font-size:17px}

/* --------------------------------------------------------------- responsive */
@media (max-width:1023px){
  .how-steps{gap:var(--s5)}
}
@media (max-width:1080px){
  .brand img{height:46px}
  /* Only the navigation in the HEADER folds away. The same list inside the drawer is the
     replacement for it, and a bare .nav rule hid that one too - the links were there, a
     screen reader could reach them, and nothing could be clicked. */
  .hdr-in > .nav{display:none}
  .burger{display:inline-flex}
  .hdr-act .btn-sec{display:none}
  .grid3{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr 1fr}
  .step::after{display:none}
}
@media (max-width:860px){
  :root{--pad:24px;--s9:64px}
  .grid2{grid-template-columns:1fr;gap:var(--s6)}
  /* Not a phone and not a desktop: keep the composition, give the text a darker ground so
     it stays readable over the artwork, and let the card keep the right-hand side. */
  .hero{min-height:clamp(520px,70vh,700px)}
  .hero-col{max-width:min(62%,520px)}
  .hero::after{background:
    linear-gradient(90deg,rgba(5,13,27,.985) 0%,rgba(5,13,27,.96) 42%,rgba(5,13,27,.72) 62%,rgba(5,13,27,.1) 86%),
    linear-gradient(180deg,rgba(5,13,27,.5) 0%,rgba(5,13,27,0) 22%,rgba(5,13,27,0) 60%,var(--bg) 100%)}
}
@media (max-width:640px){
  .hero-col{max-width:none}
}
@media (max-width:720px){
  .ftr-top{grid-template-columns:1fr;gap:26px;padding-top:32px;padding-bottom:var(--s5)}
  .ftr-brandcol p{max-width:none}
  .ftr-sign{padding:32px 0 32px;min-height:230px}
  .ftr-rule::before,.ftr-rule::after{max-width:none}
  .cr-mark{width:40px}
  /* The whole point of the band is that the headline AND the first button still fit on
     one screen. 44vh is what makes that true on a 844px-tall phone with the header above
     it; the other two caps keep the crop sane on very wide and very narrow devices. */
  :root{--band:min(112vw,44vh,460px)}
  .how{padding:var(--s7) 0 var(--s8)}
  .how-steps{grid-template-columns:1fr;gap:var(--s6)}
  .how-step p{max-width:none}
  .grid3{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr;gap:var(--s5)}
  .step{padding-top:0;padding-left:46px}
  .step::before{top:2px}
  .step::after{display:block;left:15px;top:36px;bottom:-22px;right:auto;width:1px;height:auto;
    background:linear-gradient(180deg,var(--border),rgba(27,52,82,0))}
  .step:last-child::after{display:none}
  .hero-cta{flex-direction:column;align-items:stretch}
  .hero-cta .btn{width:100%}
  .ftr-grid{grid-template-columns:1fr;gap:var(--s6)}
  .cta{padding:var(--s7) var(--s5)}
}
/* The stacked hero - artwork on top, words underneath - is for phones only. A foldable at
   690px is wide enough for the real composition: text on the left, the card on the right.
   It switches at the same width as the artwork itself, so the layout and the picture can
   never disagree about which device this is. */
@media (max-width:560px){
  /* On a phone the artwork is its own scene at the TOP and the words sit underneath it,
     on the dark ground the picture fades into. Nothing readable is laid over the slab,
     which is the brightest thing in the image. */
  .hero{min-height:0;align-items:flex-start}
  /* The artwork is a band at the TOP of the page, not a layer behind everything. Its
     height is set in vw so the crop keeps the same part of the picture - the slab and the
     CR emblem - on a 320px phone and on a 430px one alike. 142vw shows the scene down to
     just under the card, where the image is faded into the page background. */
  /* The band is capped in BOTH directions. 126vw alone is fine on a 390px phone and
     becomes an 870px wall of artwork on a 690px foldable, which pushed the heading and the
     button right off the first screen. 54vh keeps the call to action reachable on a short
     screen, 520px stops it growing on a wide one. */
  /* 47% is where the whole slab fits inside the band: the artwork runs from roughly a
     third down to two thirds, and the band shows a little over half the picture. */
  .hero-img{top:0;bottom:auto;height:var(--band);object-position:center 47%}
  /* Between a phone and a tablet the band is wide and short, so the picture in it is the
     LANDSCAPE one; the portrait crop would be scaled until only sky is left. Its focus
     sits lower, on the slab. */
  .hero::after{bottom:auto;height:var(--band);background:
    linear-gradient(180deg,rgba(5,13,27,.10) 0%,rgba(5,13,27,.04) 30%,rgba(5,13,27,.10) 55%,
                    rgba(5,13,27,.62) 78%,rgba(5,13,27,.95) 92%,var(--bg) 100%)}
  .hero-in{padding:calc(var(--band) - 22px) var(--pad) var(--s8);max-width:none}
  .hero-col{max-width:none}
  .hero h1{font-size:clamp(38px,11vw,48px);line-height:1.02;margin-bottom:var(--s2)}
  .hero h2{font-size:clamp(19px,5vw,22px);margin-bottom:var(--s3)}
  .hero p.lead{font-size:15.5px;margin-bottom:var(--s5)}
  .hero .eyebrow{margin-bottom:var(--s4)}
  /* Three columns of trust marks, like the design: icon above, label under it. */
  .cred{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--s3);margin-top:var(--s6);
    padding-top:var(--s5);border-top:1px solid var(--border)}
  .cred-i{flex-direction:column;align-items:flex-start;gap:9px;width:auto}
  .cred-t{white-space:normal;font-size:12.5px;line-height:1.35}
  .cred-sep{display:none}
  .scrollcue{display:flex}
  .hero-cta{flex-direction:column;align-items:stretch}
  .hero-cta .btn{width:100%}
}

@media (max-width:420px){ .brand img{height:40px} }
@media (max-width:380px){ :root{--pad:20px} }

/* ------------------------------------------------------------ motion rules */
.rv{opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .5s ease}
.rv.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.001ms!important;transition-duration:.001ms!important}
  .rv{opacity:1;transform:none}
  .card:hover{transform:none}
}
