/* Matches bundle.mansgreback.com — same palette, same brand font, same shapes. */
/* Jumper Variable: wght axis 0–1000 (Light 0 · Regular 200 · Medium 400 · Bold 600 · Extra Bold 800 · Black 1000),
   so CSS font-weight is the axis value; ital axis 0–10 via font-variation-settings */
@font-face{font-family:'Jumper';src:url('/static/fonts/JumperVariable.woff2') format('woff2');font-weight:1 1000;font-display:swap}
:root{
  --paper:#FBF9FB; --white:#FFFFFF; --ink:#000000; --ink2:#5a5257; --dim:#8b8289;
  --dark:#1F0D0E; --dark2:#342B2C; --gold:#EDB720; --blue:#007BFF; --blue-dk:#0069d9;
  --rule:#e7e3e6; --rule2:#d3cdd1;
  --topbar-h:58px;          /* matches .topbar min-height; sticky offsets key off this */
  --topbar:linear-gradient(60deg,#1F0D0E,#342B2C);
  --banner:linear-gradient(359deg,#131FA4,#1E1C47,#1F0D0E);
  --ui:'Jumper',Helvetica,Arial,sans-serif;
  --mono:'Jumper',Helvetica,Arial,sans-serif;
  --w-light:180;--w-regular:260;--w-medium:400;--w-bold:600;--w-xbold:800;--w-black:1000;
}
*{box-sizing:border-box}
/* The rubber-band area above the page continues the topbar gradient, and below it
   continues the footer. Fixed attachment so it does not slide while scrolling. */
/* The overscroll (rubber-band) strip is painted from html's background-COLOR.
   A background-image is not painted there, and a fixed attachment definitely
   is not. So: solid brown as the colour, gradient on top as the image. */
html{background-color:var(--dark);background-image:var(--topbar);overflow-x:hidden}
body{margin:0;background:var(--paper);min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;color:var(--ink);font:16px/1.5 var(--ui);font-weight:var(--w-light);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
main{flex:1 0 auto}
h1,h2,h3{font-family:var(--ui);font-weight:var(--w-medium);margin:0;line-height:1.15}
h2,h3{font-weight:var(--w-regular)}
b,strong{font-weight:var(--w-bold)}
em,i{font-style:normal;font-variation-settings:'ital' 10}
.wrap{max-width:1280px;margin:0 auto;padding:0 clamp(14px,3vw,28px)}
.grow{flex:1}.dim{color:var(--ink2)}.small{font-size:14px}.center{text-align:center}
.mono{font-family:var(--mono);font-weight:var(--w-medium);font-variant-numeric:lining-nums}

/* top bar */
.topbar{background:var(--topbar);min-height:var(--topbar-h);display:flex;align-items:center;
  justify-content:space-between;gap:12px;padding:7px 15px 7px 6px;position:sticky;top:0;z-index:20}
.topbar img.logo{height:44px;width:auto;max-width:min(500px,62vw);display:block;object-fit:contain}
@media(max-width:560px){.topbar img.logo{height:34px}}
.orb{width:42px;height:42px;min-width:42px;flex:0 0 42px;border-radius:50%;border:0;padding:0;
     background:linear-gradient(180deg,var(--gold),rgba(237,183,32,.88));
     display:grid;place-items:center;cursor:pointer;position:relative;z-index:40}

/* ---- the menu: the gold circle grows into a full-height panel ----
   Same shape and timing as the live shop: 0.5s ease-in-out for the reveal,
   with the links fading up over 1s behind it. */
.menu{position:fixed;top:0;right:0;bottom:auto;z-index:35;
  background:linear-gradient(180deg,var(--gold),rgba(237,183,32,.88));
  /* grows out of the top-right corner: width 0, height 0, fully round.
     The nav inside is absolutely positioned at full width so the text never
     reflows while the panel opens -- it is simply revealed. */
  width:0;height:0;overflow:hidden;border-radius:100px;padding:0;
  transition:none;pointer-events:none}
.menu.open{width:min(530px,88vw);height:100dvh;border-radius:0;pointer-events:auto;
  transition:width .2s ease-out, height .2s ease-out, border-radius .2s ease-out}
.menu-nav{position:absolute;top:0;right:0;width:min(530px,88vw);
  display:flex;flex-direction:column;align-items:flex-end;gap:2px;
  padding:44px clamp(28px,6vw,76px) 40px 40px}
.menu-nav a{font-family:var(--ui);font-weight:1;color:#fff;font-size:30px;line-height:1.35;
  padding:2px 0;transition:opacity .15s}
.menu-nav a:hover{opacity:.72}
.menu-nav a.lg{font-size:34px;margin-bottom:34px}
.menu-nav .menu-who{display:flex;flex-direction:column;align-items:flex-end;margin-bottom:34px}
.menu-nav .menu-who a.lg{margin-bottom:6px;line-height:1.1}
.menu-nav .menu-tag{font-family:var(--ui);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.6);margin-bottom:2px}
.menu-nav .menu-mini{display:flex;gap:8px}
.menu-nav .menu-mini a{font-family:var(--ui);font-size:13px;line-height:1;padding:8.2px 12px 5.8px;border:1px solid rgba(255,255,255,.55);border-radius:999px;color:#fff}
.menu-nav .menu-mini a:hover{opacity:1;background:rgba(255,255,255,.14)}
.menu-nav a.mk{font-size:30px;margin-top:34px}
.menu-nav a.cart{margin-top:34px}
.menu-x{position:absolute;top:18px;right:24px;z-index:2;background:none;border:0;color:#fff;font-size:30px;
  line-height:1;cursor:pointer;opacity:.9;padding:4px 8px}
body.menu-open{overflow:hidden}
@media(prefers-reduced-motion:reduce){.menu.open{transition:none}}

/* bundle banner */
.banner{background:var(--banner);color:#FBF9FB;padding:clamp(18px,3vw,30px) 0}
.banner .wrap{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:clamp(12px,3vw,28px)}
.banner .col{text-align:center;min-width:0}
.banner .big{font-size:clamp(17px,2vw,24px);white-space:nowrap}
.banner .sub{font-size:clamp(12px,1.2vw,14px);opacity:.85;white-space:nowrap}
.banner .mid{text-align:center;min-width:0}
.banner .mid .pre{font-size:clamp(12px,1.2vw,14px);opacity:.9;margin-bottom:6px}
@media(max-width:700px){
  .banner .wrap{grid-template-columns:1fr 1fr;gap:10px 16px}
  .banner .mid{grid-column:1 / -1;order:-1}
}
.banner .mid img.ab{height:clamp(48px,7vw,96px);width:auto;max-width:100%;display:block;margin:0 auto}

/* controls */
.tools{padding:26px 0 8px;text-align:center}
.tools form{display:flex;gap:12px;align-items:center;flex-wrap:wrap;justify-content:center;max-width:100%}
.field{padding:11px 16px;border:1px solid var(--rule2);border-radius:4px;background:var(--white);
       font:inherit;font-size:15px;min-width:0;width:min(100%,340px);color:var(--ink)}
.field:focus{outline:none;border-color:var(--blue)}
.pill{display:inline-flex;align-items:center;justify-content:center;padding:11.6px 24px 8.4px;border-radius:30px;
      background:var(--blue);color:#fff;border:0;font:inherit;font-size:16px;cursor:pointer}
.pill:hover{background:var(--blue-dk)}
.pill.ghost{background:transparent;color:var(--ink);border:1px solid var(--rule2)}
.pill.ghost:hover{background:var(--white);border-color:var(--dim)}
.pill.on{background:var(--ink);color:#fff}
.pill:disabled{opacity:.4;cursor:not-allowed}
.pill.wide{width:100%}
.chips{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;padding:10px 0}
.chip{padding:7.2px 15px 4.8px;border-radius:30px;border:1px solid var(--rule2);background:var(--white);
      font-size:14px;color:var(--ink2);cursor:pointer;font-family:inherit}
.chip:hover{border-color:var(--dim);color:var(--ink)}
.chip.on{background:var(--ink);border-color:var(--ink);color:#fff}
.chip.off{opacity:.4;cursor:not-allowed;position:relative}.chip.off:hover{border-color:var(--rule2);color:inherit;opacity:.55}
.chip.off[data-why]:hover::after{content:attr(data-why);position:absolute;left:50%;top:calc(100% + 7px);transform:translateX(-50%);white-space:nowrap;background:var(--ink);color:#fff;font-size:12px;line-height:1;padding:7px 10px;border-radius:6px;z-index:20;opacity:1}

/* the specimen grid — no cards, just type, the way the real shop does it */
.specs{display:grid;grid-template-columns:repeat(3,1fr);gap:16px 26px;padding:26px 0 40px}
@media(max-width:1000px){.specs{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.specs{grid-template-columns:1fr}}
.spec{display:grid;place-items:center;min-height:210px;padding:18px;border-radius:6px;text-align:center}
.spec img{max-width:100%;max-height:150px;height:auto;display:block;mix-blend-mode:multiply}
.spec .fallback{font-size:34px;color:var(--ink)}
.spec .nm{font-size:13px;color:var(--dim);margin-top:12px;opacity:0;transition:opacity .12s}
.spec:hover .nm{opacity:1}

/* font page */
.hero-spec{background:var(--white);border-bottom:1px solid var(--rule);padding:clamp(20px,4vw,34px) 14px clamp(18px,3vw,30px);text-align:center}
.hero-spec img{max-width:min(880px,92%);max-height:250px;height:auto;mix-blend-mode:multiply}
.hero-spec .fallback{font-size:64px}
.cols{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:clamp(24px,4vw,46px);padding:34px clamp(14px,3vw,28px) 70px;align-items:start;max-width:1280px;margin:0 auto}
@media(max-width:950px){.cols{grid-template-columns:1fr}}
.body{max-width:62ch;color:var(--ink2);font-size:16px}
h3.sec{font-size:20px;margin:30px 0 12px}
.tag{display:inline-block;padding:4.2px 12px 1.8px;border-radius:30px;background:var(--white);border:1px solid var(--rule);font-size:13px;color:var(--ink2)}
.styles{list-style:none;padding:0;margin:0}
a.tag{text-decoration:none}a.tag:hover{border-color:var(--dim);color:var(--ink)}
#styles{scroll-margin-top:calc(var(--topbar-h) + 16px)}
/* font posters on the product page; the buy box stays in view beside them (unless the custom license is open) */
.posters{display:flex;flex-direction:column;gap:14px;margin:24px 0}
.posters.lead{margin-bottom:22px}
.body+.body{margin-top:14px}.lede{font-size:18px;color:var(--ink)}
.posters img{display:block;width:100%;height:auto;border-radius:6px;border:1px solid var(--rule);background:var(--white)}
.buy.stick{position:sticky;top:calc(var(--topbar-h) + 16px)}
.styles li{display:flex;gap:18px;align-items:center;padding:10px 0;border-bottom:1px solid var(--rule);font-size:15px}
.styles li i{font-style:normal;color:var(--dim);width:90px;flex:none;font-size:13px}

/* buy box */
@media(max-width:950px){.buy{position:static !important}}
.buy{background:var(--white);border:1px solid var(--rule);border-radius:8px;padding:22px}
.buy-head{position:sticky;top:var(--topbar-h);z-index:6;background:var(--white);
  margin:-22px -22px 0;padding:22px 22px 16px;border-radius:7px 7px 0 0;
  border-bottom:1px solid var(--rule)}
.price{font-size:42px;line-height:1;letter-spacing:-.02em}
.buy .desc{color:var(--ink2);font-size:14px;margin:8px 0 16px;line-height:1.45}
/* the calculation sits with the price, so it is always on screen */
.head-lines{margin:0 0 10px}
.head-lines .line{font-size:13px;padding:2px 0;color:var(--ink2)}
.head-lines .line b{color:var(--ink)}
/* one line needs no arithmetic, so it centres under the big figure;
   more than one reads as a bill and gets a Total label */
.price-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:14px}
.price-row.solo{justify-content:center}
.price-l{font-size:14px;color:var(--ink2)}
.head-lines.solo .line{justify-content:center}
details{margin-top:16px;border-top:1px solid var(--rule);padding-top:14px}
summary{cursor:pointer;color:var(--blue);font-size:15px;list-style:none}
summary::-webkit-details-marker{display:none}
summary:before{content:'▸ ';}
details[open] summary:before{content:'▾ ';}
.lbl{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--dim);margin:14px 0 7px}
.check{display:flex;gap:9px;align-items:center;font-size:14px;margin-top:10px;cursor:pointer}
.check input{accent-color:var(--blue);width:16px;height:16px}
.lines{margin-top:16px;border-top:1px solid var(--rule);padding-top:12px}
.line{display:flex;justify-content:space-between;gap:12px;font-size:14px;padding:4px 0}
.line.total{border-top:1px solid var(--ink);margin-top:8px;padding-top:10px;font-size:17px}

/* cart, checkout, receipt */
.page{max-width:840px;margin:0 auto;padding:34px clamp(14px,3vw,28px) 70px}
.panel{background:var(--white);border:1px solid var(--rule);border-radius:8px;padding:22px;margin-bottom:18px}
.row{display:flex;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid var(--rule);flex-wrap:wrap}
.row:last-child{border-bottom:0}
.row img{height:46px;width:auto;max-width:150px}
.g2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:620px){.g2{grid-template-columns:1fr}}
label.f{display:block;font-size:13px;color:var(--ink2);margin-bottom:5px}
.note{background:#eef4ff;border-left:3px solid var(--blue);padding:11px 14px;border-radius:0 5px 5px 0;font-size:14px;margin:14px 0}
.ok{background:#eaf7ef;border-left-color:#1b8a4b}
.flash{background:var(--ink);color:#fff;padding:11px 18px;border-radius:30px;display:inline-block;margin:14px 0;font-size:14px}
.foot{background:var(--dark);color:#cfc7ca;margin-top:auto;padding:30px 0;font-size:13px;flex:none}
.foot .wrap{display:flex;gap:20px;flex-wrap:wrap}


/* ---- filters, laid out like the live shop ---- */
.filters-bar{text-align:center;padding:24px 0 0}
.filters-toggle{background:none;border:0;font:inherit;font-size:20px;color:var(--ink);cursor:pointer;
  padding:6px 10px;display:inline-flex;align-items:center;gap:8px}
.filters-toggle .chev{display:inline-block;width:11px;height:11px;margin-left:6px;vertical-align:middle;background:no-repeat center/11px 11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3.4 1.4 L7 5 L3.4 8.6' fill='none' stroke='%23007BFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");transition:transform .15s ease}
.filters-toggle .chev.open{transform:rotate(90deg)}
.filters{display:none;padding:14px 0 0}
.filters.open{display:block}
.filters form{display:flex;gap:22px;align-items:flex-start;justify-content:center;flex-wrap:wrap}
.filters .field{width:min(100%,220px)}
.filters .sel{appearance:none;color:var(--ink2);
  background-image:linear-gradient(45deg,transparent 50%,var(--dim) 50%),linear-gradient(135deg,var(--dim) 50%,transparent 50%);
  background-position:calc(100% - 18px) 52%,calc(100% - 13px) 52%;background-size:5px 5px,5px 5px;
  background-repeat:no-repeat;padding-right:36px}
.sortby{display:flex;flex-direction:column;gap:5px;padding-top:2px}
.sortlbl{font-size:14px;color:var(--ink);margin-bottom:2px}
.sortby label{display:flex;align-items:center;gap:8px;font-size:15px;color:var(--ink);cursor:pointer}
.sortby input{accent-color:var(--blue);width:15px;height:15px;margin:0}
@media(max-width:620px){
  .filters form{gap:14px}
  .sortby{flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px 14px}
  .sortlbl{margin:0}
}

/* licensing grid */
.pgrid{width:100%;border-collapse:collapse}
.pgrid th,.pgrid td{padding:12px 10px;text-align:center;border-bottom:1px solid var(--rule);font-size:14px}
.pgrid th{font-size:13px;color:var(--ink2);font-weight:400}
.pgrid td:first-child,.pgrid th:first-child{text-align:left}
.pgrid td:first-child b{font-size:15px}
.cellval{display:inline-block;padding:6px 16px;border-radius:30px;font-family:var(--mono);font-weight:700;
  border:1px solid transparent}
.cellval:hover{border-color:var(--rule2)}
.cellval.on{background:var(--ink);color:#fff}
.g3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
@media(max-width:800px){.g3{grid-template-columns:1fr}}

/* ---- number steppers (designers, webfont, app) ---- */
.step{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:2px 0 6px}
.step-b{display:flex;align-items:center;justify-content:center;width:32px;height:32px;
  flex:0 0 32px;border:1px solid var(--rule2);border-radius:50%;background:var(--white);
  color:var(--ink2);text-decoration:none;font-size:17px;line-height:1;user-select:none;
  transition:background .12s ease,border-color .12s ease,color .12s ease}
.step-b:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.step-b.off{opacity:.3;pointer-events:none}
.step-f{margin:0;display:flex}
.step-n{width:112px;height:32px;padding:0 10px;text-align:center;background:var(--white);
  border:1px solid var(--rule2);border-radius:16px;color:var(--ink);font-size:14px;
  font-family:inherit;-moz-appearance:textfield}
.step-n::-webkit-outer-spin-button,.step-n::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.step-n:focus{outline:none;border-color:var(--ink)}
.step-u{font-size:13px;color:var(--dim);min-width:0}

/* ---- the special-licences disclosure ---- */
.special{margin:18px 0 2px;border-top:1px solid var(--rule);padding-top:4px}
/* a plain link, not <details>, so no browser-drawn disclosure triangle */
.fold>.sum{display:flex;align-items:flex-start;gap:7px;flex-wrap:wrap;
  padding:10px 0;font-size:14px;color:var(--ink);text-decoration:none;cursor:pointer}
.fold.locked>.sum{cursor:default}
a.sum:hover{color:var(--blue)}
.buy>.fold>a.sum{color:var(--blue)}
.fold>.sum .dim{flex:1 1 auto}
.sum-sub{flex:0 0 100%;margin-left:15px;font-size:12px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fold>.sum::before{content:"";flex:0 0 11px;height:11px;margin:4px 4px 0 0;
  background:no-repeat center/11px 11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3.4 1.4 L7 5 L3.4 8.6' fill='none' stroke='%23007BFF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transition:transform .15s ease}
.fold.open>.sum::before{transform:rotate(90deg)}
@media(prefers-reduced-motion:reduce){.fold>.sum::before{transition:none}}
.special-in{padding:2px 0 2px}

.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
[data-live][aria-busy="true"]{opacity:.55;transition:opacity .12s ease}

/* ---- special licences as checkboxes ---- */
.chk{display:flex;align-items:flex-start;gap:11px;padding:9px 0;text-decoration:none;
  color:var(--ink);border-bottom:1px solid var(--rule)}
.chk:last-of-type{border-bottom:0}
.chk-box{flex:0 0 19px;width:19px;height:19px;margin-top:1px;border-radius:4px;
  border:1.5px solid var(--rule2);background:var(--white);position:relative;
  transition:background .12s ease,border-color .12s ease}
.chk:hover .chk-box{border-color:var(--ink)}
.chk.on .chk-box{background:var(--ink);border-color:var(--ink)}
.chk.on .chk-box::after{content:"";position:absolute;left:5.5px;top:2px;width:5px;height:10px;
  border:solid #fff;border-width:0 2px 2px 0;transform:rotate(43deg)}
.chk-t{font-size:14px;line-height:1.35}
.chk-n{display:block;font-size:12.5px;color:var(--dim);margin-top:2px}
.chk-sub{padding:2px 0 12px 30px;border-bottom:1px solid var(--rule)}
.chk-sub .step{padding:0}


.buy details{margin-top:18px}

.country-pick{position:relative}.country-pick .cp-search{width:100%;min-width:0}
.cp-list{position:absolute;left:0;right:0;top:100%;z-index:30;max-height:260px;overflow:auto;background:#fff;border:1px solid #ddd;border-radius:10px;box-shadow:0 12px 30px rgba(0,0,0,.12);margin-top:4px;padding:4px}
.cp-item{display:block;width:100%;text-align:left;background:none;border:0;font:inherit;font-size:15px;padding:8px 10px;border-radius:6px;cursor:pointer}.cp-item:hover{background:#f3f3f3}

.f .dim{color:var(--dim);font-weight:400;opacity:.9}

.styles-live{max-width:1100px;margin:0 auto;padding:0 16px}.style-row{border-top:1px solid var(--rule);padding:10px 0 4px}.style-row img{display:block;width:auto;height:auto;max-width:100%;max-height:150px;margin:4px auto 0}
.spec img.live{background:#fff;object-fit:contain}

.chat-badge{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#111111;color:#fff;vertical-align:middle;margin:0 2px}.chat-badge svg{width:15px;height:15px}
.pill .chat-badge{width:24px;height:24px;margin:0 4px 0 -6px}.pill .chat-badge svg{width:13px;height:13px}

.legacy-body{font-size:16px;line-height:1.6}.legacy-body h2,.legacy-body h3{margin:26px 0 8px}.legacy-body p{margin:0 0 14px}.legacy-body a{color:var(--blue)}.legacy-body ul,.legacy-body ol{padding-left:22px}

.ask-ai{cursor:pointer;white-space:nowrap}.ask-ai .chat-badge{cursor:pointer}
.pill.pill-dark{background:#111111;border-color:#111111;color:#fff}.pill.pill-dark:hover{background:#000;border-color:#000}
/* running text thin */ p,.body,.desc,.note,.legacy-body,.legacy-body li,.faq-a,.dlnote{font-weight:1}
.fbw .fbw-in,.fbw textarea,.fbw input{font-weight:1}

/* button text optical shift: Jumper sits high, so button text is set ~1.6 px lower; icons are put back in the middle */
.pill .chat-badge{position:relative;top:-1.6px}
.fbw-new{padding:6.2px 10px 3.8px!important}.fbw-card button{padding:10.6px 14px 7.4px!important}

.menu-nav a.cart,.menu-nav .menu-who a.lg{font-weight:var(--w-bold)}
.cart-dot{display:inline-block;width:8px;height:8px;margin-left:6px;border-radius:50%;background:#e5322d;vertical-align:middle;position:relative;top:-6px}
/* +/- optical shift */ .step-b{padding-top:1.6px}.fc-container .size-btn{padding-top:1.6px!important}

/* account name: one row; base.html shrinks it to fit */ .menu-nav .menu-who{max-width:100%}.menu-nav .menu-who a.lg{white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
/* the address on Check your inbox; text 1.6px down like the other pills */ .email-pill{display:inline-block;background:#fff;color:var(--ink);border:1px solid var(--rule);border-radius:999px;padding:9.6px 18px 6.4px;font-weight:var(--w-medium);word-break:break-all}
/* numbers in the stepper pills: 1.6px down like the button text (the field centres its text, so 3.2px top padding moves it 1.6px) */ .step-n{padding-top:3.2px}.step-v{display:flex;align-items:center;justify-content:center}
/* My account: licenses of one product sit close together, products further apart */ .lic-group{margin-bottom:26px}.lic-group .panel{margin-bottom:6px}
.bundle-page{max-width:420px;margin:0 auto;padding:56px 16px 60px}.bundle-page h1{font-size:30px;text-align:center;margin:0 0 26px}
.bundle-page p{margin:0 0 18px;line-height:1.55}.bundle-buy{text-align:center;margin:34px 0 16px}
.bundle-pts{list-style:none;padding:0;margin:0 auto 26px;width:max-content;font-size:13px;line-height:1.6}.bundle-pts li::before{content:"• "}
.bundle-more{font-size:14px;text-align:center;color:var(--dim)}.bundle-terms{text-align:center;font-size:14px}.bundle-terms a,.bundle-more a{color:inherit;text-decoration:underline}
.bundle-sel{font-size:14px;color:var(--dim);margin:0 0 12px!important;text-align:center}
.behalf-fold>.fold-in{display:none;padding:0 0 4px}.behalf-fold.open>.fold-in{display:block}.behalf-fold>.sum{color:var(--blue)}
.bundle-box{border:1px solid var(--rule2);border-radius:14px;padding:20px 20px 4px;margin:30px 0 22px}
.bundle-opts{margin-bottom:16px}.bundle-opts .chips{justify-content:flex-start;padding:0 0 4px}
.bundle-box .bundle-buy{margin:14px 0 16px}.bundle-box .small{text-align:center}
.bundle-promo{display:block;margin-top:14px;font-size:14px;color:var(--blue);text-decoration:none}.bundle-promo:hover{text-decoration:underline}
/* two rows, each on one line: the size follows the box width so a row never wraps */
.bundle-promo{container-type:inline-size}.bundle-promo>span{display:block;white-space:nowrap;font-size:min(15px,5.6cqi)}
/* Custom license on the font page: a white button as wide as Add to cart, the arrow still shows open/closed */
.buy>.fold>a.sum{justify-content:center;align-items:center;margin-top:16px;padding:11.6px 24px 8.4px;
  background:var(--white);color:var(--ink);border:1px solid var(--rule2);border-radius:30px;font-size:16px}
.buy>.fold>a.sum:hover{color:var(--ink);border-color:var(--dim)}
.buy>.fold>a.sum::before{margin:0 2px 2px 0}
.buy>.fold>a.sum.reset::before{display:none}.buy>.fold>a.sum.reset span{font-size:18px;line-height:1;margin:-3px 0 0 2px}

/* ---- front page (landing.html): built from store/home.py, nothing on it is edited by hand ---- */
.hero{background:var(--banner);color:#FBF9FB;padding:clamp(34px,6vw,72px) 0}
.hero-in{display:grid;grid-template-columns:1.25fr 1fr;gap:clamp(24px,5vw,64px);align-items:center}
.hero .eyebrow{font-size:13px;letter-spacing:.06em;text-transform:uppercase;opacity:.8;margin-bottom:14px}
.hero h1{font-size:clamp(32px,5vw,60px);font-weight:var(--w-bold);line-height:1.05;letter-spacing:-.01em}
.hero-try{display:flex;gap:10px;margin-top:28px;max-width:520px}
.hero-try .field{flex:1;min-width:0;background:#fff;border:0}
.hero-links{display:flex;flex-wrap:wrap;gap:8px 26px;margin-top:20px;font-size:15px}
.hero-links a{opacity:.9;border-bottom:1px solid rgba(251,249,251,.35);padding-bottom:1px}
.hero-links a:hover{opacity:1;border-color:#FBF9FB}
.hero-new{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:var(--paper);
  color:var(--ink);border-radius:10px;padding:clamp(22px,3vw,36px);min-height:260px;position:relative;transition:transform .15s}
.hero-new:hover{transform:translateY(-2px)}
.hero-new img{max-width:100%;max-height:170px;display:block;mix-blend-mode:multiply}
.hero-new .fallback{font-size:40px}
.hero-new .tag{position:absolute;top:14px;left:16px;font-size:12px;font-weight:var(--w-medium);letter-spacing:.06em;
  text-transform:uppercase;background:var(--gold);color:var(--dark);padding:4px 10px 2px;border-radius:20px}
.hero-new .nm{font-size:13px;color:var(--dim)}
@media(max-width:820px){.hero-in{grid-template-columns:1fr}.hero-new{min-height:200px}}
.notices{background:var(--dark);color:#FBF9FB;font-size:14px}
.notices .wrap{display:flex;flex-wrap:wrap;gap:6px 30px;padding-top:11px;padding-bottom:9px}
.notices a{opacity:.9}.notices a:hover{opacity:1}
.notices b{color:var(--gold);margin-right:8px;font-weight:var(--w-bold)}
.hsec{padding:clamp(34px,5vw,56px) 0 0}
.hhead{display:flex;align-items:baseline;justify-content:space-between;gap:16px;border-bottom:1px solid var(--rule);padding-bottom:10px}
.hhead h2{font-size:clamp(22px,2.6vw,30px);font-weight:var(--w-medium)}
.hhead a{font-size:14px;color:var(--ink2)}.hhead a:hover{color:var(--ink)}
.hsec .specs{padding-bottom:0}
.hbundle{background:var(--banner);color:#FBF9FB;margin-top:clamp(34px,5vw,56px);padding:clamp(30px,5vw,54px) 0}
.hbundle-in{display:grid;grid-template-columns:auto 1fr;gap:clamp(20px,5vw,60px);align-items:center}
.hbundle img.ab{height:clamp(70px,11vw,140px);width:auto;max-width:100%;display:block}
.hbundle p{margin:0 0 14px;font-size:clamp(16px,1.6vw,19px);max-width:520px}
.hprices{display:flex;gap:26px;margin-bottom:20px;font-size:15px;opacity:.95}
.hprices b{font-size:clamp(22px,2.4vw,28px);font-weight:var(--w-bold)}
@media(max-width:700px){.hbundle-in{grid-template-columns:1fr}}
.hcats{display:flex;flex-wrap:wrap;gap:10px;padding-top:20px}
.hcats a{border:1px solid var(--rule2);border-radius:30px;padding:8px 16px 6px;background:var(--white);font-size:15px}
.hcats a:hover{border-color:var(--dim)}
.hcats span{color:var(--dim);margin-left:6px;font-size:13px}
.hcards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding-bottom:clamp(40px,6vw,70px)}
.hcards a{display:flex;flex-direction:column;gap:6px;background:var(--white);border:1px solid var(--rule);border-radius:10px;padding:20px 20px 18px}
.hcards a:hover{border-color:var(--rule2)}
.hcards b{font-size:18px;font-weight:var(--w-medium)}
.hcards span{font-size:14px;color:var(--ink2);line-height:1.45}
@media(max-width:1000px){.hcards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.hcards{grid-template-columns:1fr}}

/* ---------------- journal ---------------- */
.jtop{background:var(--banner);color:#FBF9FB;padding:clamp(28px,5vw,56px) 0 clamp(22px,4vw,40px)}
.jtop h1{font-size:clamp(34px,5vw,58px);font-weight:var(--w-bold);letter-spacing:-.01em}
.jtop p{max-width:640px;opacity:.85;font-size:18px;margin:12px 0 0}
.jtop .jcrumbs{color:rgba(251,249,251,.7)}
.jtop .chip{background:transparent;border-color:rgba(251,249,251,.35);color:#FBF9FB}
.jtop .chip:hover{border-color:#FBF9FB}
.jtop .chip.on{background:#FBF9FB;color:var(--ink);border-color:#FBF9FB}
.jchips{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.jadminlink{font-size:14px!important}.jadminlink a{border-bottom:1px solid rgba(251,249,251,.4)}
.jcrumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:var(--dim);margin-bottom:14px}
.jcrumbs a:hover{color:var(--ink)}.jtop .jcrumbs a:hover{color:#fff}
.jempty{padding:60px 0;text-align:center;font-size:18px}
.jlead{margin:clamp(22px,4vw,38px) 0 8px}
.jlead .jcard{display:grid;grid-template-columns:1.35fr 1fr;gap:0;align-items:stretch}
.jlead .jcard-img{aspect-ratio:auto;min-height:320px}
.jlead .jcard-txt{padding:clamp(20px,3vw,40px);justify-content:center}
.jlead .jcard b{font-size:clamp(24px,3vw,36px)}
.jlead .jcard-sum{-webkit-line-clamp:4;font-size:17px}
.jgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:22px;margin:22px 0 10px}
.jcard{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--rule);border-radius:8px;overflow:hidden;transition:border-color .15s,transform .15s}
.jcard:hover{border-color:var(--rule2);transform:translateY(-2px)}
.jcard-img{display:block;aspect-ratio:16/10;background:var(--dark2);overflow:hidden}
.jcard-img img{width:100%;height:100%;object-fit:cover;display:block}
.jcard-ph{display:flex;height:100%;align-items:center;justify-content:center;padding:20px;text-align:center;color:#FBF9FB;background:var(--banner);font-size:22px;font-weight:var(--w-medium)}
.jcard-txt{display:flex;flex-direction:column;gap:8px;padding:18px 20px 20px;flex:1}
.jcard-tag{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.jcard b{font-size:21px;font-weight:var(--w-medium);line-height:1.2}
.jcard-sum{color:var(--ink2);font-size:15px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.jcard time{margin-top:auto;font-size:13px;color:var(--dim)}
.jpages{display:flex;justify-content:center;align-items:center;gap:16px;padding:20px 0 50px}
@media(max-width:760px){.jlead .jcard{grid-template-columns:1fr}.jlead .jcard-img{min-height:0;aspect-ratio:16/10}}

.jadminbar{background:#fff7d6;border-bottom:1px solid #f0dc8c;font-size:14px;padding:9px 0}
.jadminbar a{margin-left:12px;color:var(--blue)}
.jart{padding-bottom:20px}
.jhead{max-width:760px;margin:0 auto;padding:clamp(28px,5vw,56px) clamp(14px,3vw,28px) 0}
.jhead h1{font-size:clamp(32px,5vw,54px);font-weight:var(--w-bold);letter-spacing:-.01em;line-height:1.08}
.jdek{font-size:clamp(18px,2.2vw,22px);color:var(--ink2);margin:16px 0 0;line-height:1.45}
.jmeta{display:flex;flex-wrap:wrap;gap:6px 18px;margin:20px 0 0;font-size:14px;color:var(--dim)}
.jmeta a{color:var(--ink);border-bottom:1px solid var(--rule2)}
.jcover{max-width:1040px;margin:clamp(24px,4vw,40px) auto 0;padding:0 clamp(0px,3vw,28px)}
.jcover img{width:100%;height:auto;display:block;border-radius:clamp(0px,1vw,8px)}
.jbody-wrap{max-width:760px;margin:0 auto;padding:clamp(24px,4vw,40px) clamp(14px,3vw,28px) 0}
.jkey,.jtoc{background:var(--white);border:1px solid var(--rule);border-radius:8px;padding:18px 22px;margin:0 0 22px}
.jkey{border-left:3px solid var(--gold)}
.jkey h2,.jtoc h2{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink2);margin:0 0 8px;font-weight:var(--w-medium)}
.jkey ul,.jtoc ol{margin:0;padding-left:20px}.jkey li{margin:4px 0;font-size:17px}
.jtoc li{margin:3px 0}.jtoc a{color:var(--blue)}.jtoc a:hover{text-decoration:underline}
.jbody{font-size:19px;line-height:1.7;font-weight:var(--w-light);overflow-wrap:break-word}
.jbody>*:first-child{margin-top:0}
.jbody p,.jbody ul,.jbody ol,.jbody blockquote,.jbody table,.jbody pre,.jbody figure,.jbody .embed,.jbody .jfont{margin:0 0 1.15em}
.jbody h2{font-size:clamp(25px,3vw,31px);font-weight:var(--w-medium);margin:1.8em 0 .55em;scroll-margin-top:calc(var(--topbar-h) + 16px)}
.jbody h3{font-size:22px;font-weight:var(--w-medium);margin:1.5em 0 .45em;scroll-margin-top:calc(var(--topbar-h) + 16px)}
.jbody h4{font-size:19px;font-weight:var(--w-bold);margin:1.3em 0 .4em}
.jbody a{color:var(--blue);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.jbody a:hover{color:var(--blue-dk)}
.jbody li{margin:.3em 0}
.jbody blockquote{border-left:3px solid var(--ink);padding:2px 0 2px 20px;margin-left:0;font-size:21px;color:var(--ink2)}
.jbody blockquote p:last-child{margin-bottom:0}
.jbody img{max-width:100%;height:auto;display:block;border-radius:6px}
.jbody figure{margin-left:0;margin-right:0}
.jbody figcaption{font-size:14px;color:var(--dim);margin-top:8px;line-height:1.45}
.jbody hr{border:0;border-top:1px solid var(--rule2);margin:2.2em 0}
.jbody code{font-family:ui-monospace,Menlo,monospace;font-size:.85em;background:#f1eef0;padding:1px 5px;border-radius:4px}
.jbody pre{background:var(--dark);color:#f3eef1;padding:16px 18px;border-radius:8px;overflow-x:auto;font-size:15px;line-height:1.5}
.jbody pre code{background:none;padding:0;color:inherit}
.jbody table{border-collapse:collapse;width:100%;font-size:16px;display:block;overflow-x:auto}
.jbody th,.jbody td{border-bottom:1px solid var(--rule);padding:8px 10px;text-align:left;vertical-align:top}
.jbody th{font-weight:var(--w-bold);border-bottom-color:var(--ink)}
.jbody .footnote{font-size:15px;color:var(--ink2)}
.jbody .embed{position:relative;aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:#000}
.jbody .embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.jfont{display:flex!important;flex-direction:column;align-items:center;gap:6px;background:var(--white);border:1px solid var(--rule);border-radius:8px;padding:22px 18px 16px;text-decoration:none!important;color:var(--ink)!important}
.jfont:hover{border-color:var(--rule2)}
.jfont img{max-width:min(560px,100%);max-height:150px;width:auto;mix-blend-mode:multiply;border-radius:0}
.jfont b{font-size:18px;font-weight:var(--w-medium)}.jfont small{font-size:14px;color:var(--blue)}
.jfaq{margin-top:2.2em}
.jfaq h2{font-size:clamp(25px,3vw,31px);font-weight:var(--w-medium);margin-bottom:12px}
.jfaq details{border-bottom:1px solid var(--rule);padding:14px 0}
.jfaq summary{cursor:pointer;font-size:19px;font-weight:var(--w-medium);list-style:none;display:flex;justify-content:space-between;gap:16px}
.jfaq summary::after{content:'+';color:var(--dim)}.jfaq details[open] summary::after{content:'–'}
.jfaq summary::-webkit-details-marker{display:none}
.jfaq p{margin:10px 0 0;font-size:17px;color:var(--ink2)}
.jtags{display:flex;flex-wrap:wrap;gap:8px;margin:2em 0 0}
.jtags .tag:hover{border-color:var(--dim);color:var(--ink)}

/* admin */
.jadmin-top{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center;margin-bottom:16px}
.jlist{padding:6px 0}
.jrow{display:flex;align-items:center;gap:14px;padding:12px 20px;border-bottom:1px solid var(--rule)}
.jrow:last-child{border-bottom:0}.jrow:hover{background:var(--paper)}
.jrow-t{flex:1;min-width:0;display:flex;flex-direction:column}.jrow-t .small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jrow-d{white-space:nowrap}
.jst{display:inline-block;font-size:12px;padding:3px 10px 2px;border-radius:20px;white-space:nowrap}
.jst-draft{background:#efecee;color:var(--ink2)}.jst-scheduled{background:#fff3c4;color:#7a5b00}.jst-published{background:#dcf5e3;color:#1a6b34}
@media(max-width:620px){.jrow{flex-wrap:wrap}.jrow-d{width:100%;padding-left:0}}
.jmedia{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;margin-top:14px}
.jm{background:var(--white);border:1px solid var(--rule);border-radius:8px;padding:8px;display:flex;flex-direction:column;gap:6px;text-align:left;font:inherit;color:inherit}
.jm img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:4px;background:var(--paper)}
.jm-b{display:flex;gap:6px}.jm-b form{margin:0}.jm-b .chip{font-size:13px;padding:5px 12px 3px}
.jm-pick{cursor:pointer}.jm-pick:hover{border-color:var(--blue)}
.jlib{border:0;border-radius:10px;padding:18px;width:min(900px,94vw);max-height:84vh;background:var(--paper)}
.jlib::backdrop{background:rgba(0,0,0,.45)}
.jlib-h{display:flex;justify-content:space-between;align-items:center}

.jed-bar{position:sticky;top:var(--topbar-h);z-index:15;background:rgba(251,249,251,.96);backdrop-filter:blur(6px);border-bottom:1px solid var(--rule)}
.jed-bar-in{display:flex;align-items:center;gap:10px;padding-top:10px;padding-bottom:10px;flex-wrap:wrap}
.jed-bar .pill{padding:9px 20px 6px}
.jed-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:26px;padding-top:22px;padding-bottom:60px;align-items:start}
@media(min-width:981px){.jed-side{position:sticky;top:calc(var(--topbar-h) + 72px);max-height:calc(100vh - var(--topbar-h) - 84px);overflow-y:auto;padding-right:4px;overscroll-behavior:contain}}
@media(max-width:980px){.jed-grid{grid-template-columns:1fr}}
.jed-title{width:100%;border:0;background:transparent;font:inherit;resize:none;overflow:hidden;display:block;line-height:1.1;font-size:clamp(28px,3.4vw,42px);font-weight:var(--w-bold);padding:4px 0 10px;outline:none;color:var(--ink)}
.jed-tools{display:flex;flex-wrap:wrap;gap:4px;align-items:center;position:sticky;top:calc(var(--topbar-h) + 58px);z-index:5;background:var(--paper);padding:6px 0;border-bottom:1px solid var(--rule)}
.jed-tools button{font:inherit;font-size:14px;border:1px solid transparent;background:transparent;border-radius:6px;padding:5px 9px 3px;cursor:pointer;color:var(--ink)}
.jed-tools button:hover{background:var(--white);border-color:var(--rule2)}
.jed-tabs{display:inline-flex;border:1px solid var(--rule2);border-radius:20px;overflow:hidden}
.jed-tabs button{border-radius:0;border:0!important}.jed-tabs button.on{background:var(--ink);color:#fff}
.jed-panes{display:grid;gap:18px;margin-top:12px}
.jed-panes[data-view=split]{grid-template-columns:1fr 1fr}
.jed-panes[data-view=write] .jed-prev{display:none}.jed-panes[data-view=preview] .jed-body{display:none}
@media(max-width:1200px){.jed-panes[data-view=split]{grid-template-columns:1fr}}
.jed-body{width:100%;min-height:62vh;resize:vertical;border:1px solid var(--rule2);border-radius:8px;background:var(--white);padding:18px 20px;
  font:16px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--ink);outline:none;tab-size:2}
.jed-body:focus{border-color:var(--blue)}.jed-body.drop{border-color:var(--blue);background:#f2f7ff}
.jed-prev{min-height:62vh;background:var(--white);border:1px solid var(--rule);border-radius:8px;padding:22px 26px;font-size:18px}
.jed-foot{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-top:8px}
.jed-help summary{cursor:pointer;text-align:right}
.jed-help table{margin-top:8px;border-collapse:collapse;font-size:13px;background:var(--white);border:1px solid var(--rule);border-radius:6px}
.jed-help td{padding:5px 10px;border-bottom:1px solid var(--rule);vertical-align:top}
.jed-help code{font-family:ui-monospace,Menlo,monospace;font-size:12px;background:#f1eef0;padding:1px 4px;border-radius:3px}
.jed-side .panel{padding:16px 18px;margin-bottom:14px}
.jed-side h3{font-size:16px;font-weight:var(--w-bold);margin-bottom:8px}
.jed-side .f{display:block;font-size:13px;margin:10px 0 4px}
.jed-side .field{width:100%;padding:8px 11px;font:inherit;font-size:14px}
.jed-side textarea.field{resize:vertical;line-height:1.45}
.jed-side p.small{margin:0 0 8px;font-size:13px}
.jed-slug{display:flex;align-items:center;gap:4px;font-size:14px}.jed-slug .field{flex:1}
.jed-cover img{width:100%;border-radius:6px;display:block;aspect-ratio:16/9;object-fit:cover}
.jed-sugg,.jed-ac{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.jed-sugg .tag,.jed-ac .tag{cursor:pointer;font:inherit;font-size:12px}.jed-sugg .tag:hover,.jed-ac .tag:hover{border-color:var(--blue)}
.jcount{font-size:12px;color:var(--dim);margin-top:4px}.jcount.bad{color:#b4541a}
.jserp{margin-top:12px;padding:12px;border:1px solid var(--rule);border-radius:6px;font-family:Arial,sans-serif;background:#fff}
.jserp-u{font-size:12px;color:#4d5156;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.jserp-t{font-size:18px;color:#1a0dab;line-height:1.3;margin:3px 0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}
.jserp-d{font-size:13px;color:#4d5156;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.jcheck{list-style:none;margin:0;padding:0;font-size:13px}
.jcheck li{padding:4px 0 4px 24px;position:relative;background:none;border:0}
.jcheck li::before{position:absolute;left:0;top:3px;width:16px;height:16px;border-radius:50%;display:grid;place-items:center;font-size:11px}
.jcheck li.ok::before{content:'✓';background:#dcf5e3;color:#1a6b34}
.jcheck li.no::before{content:'';border:1.5px solid #e2b27f}
.jcheck li.opt{color:var(--dim)}.jcheck li.opt::before{content:'';border:1.5px dashed var(--rule2)}
.jed-del{color:#b42318;border-color:#f1c0bb}
.jbody figure img{border:1px solid var(--rule)}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
/* product page: Technical section */
.tech{display:grid;grid-template-columns:150px minmax(0,1fr);margin:0;border-top:1px solid var(--rule)}
.tech dt,.tech dd{margin:0;padding:12px 0;border-bottom:1px solid var(--rule);font-size:15px}
.tech dt{color:var(--dim);font-size:13px;padding-top:14px}
.tech .dim{color:var(--dim)}
.tech .tip+.tip{margin-top:16px}.tech .tip p{margin:0 0 8px}
.tip-ex{margin:0 0 6px;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.tip-ex img{height:64px;width:auto;max-width:100%;object-fit:contain;object-position:left}
.tip-ex figcaption{font-size:13px;color:var(--dim)}.tip-ex code{font-size:13px;color:var(--ink);background:var(--white);border:1px solid var(--rule);border-radius:4px;padding:1px 6px}
@media(max-width:600px){.tech{grid-template-columns:1fr}.tech dt{border-bottom:0;padding-bottom:0}}
/* product page gallery: full / pair / trio / slides, mixed with the text; every image opens the viewer */
.gal{margin:26px 0}
.gal figure{margin:0;min-width:0}
.gal img{display:block;width:100%;height:auto;border-radius:6px;border:1px solid var(--rule);background:var(--white);cursor:zoom-in}
.gal figcaption{font-size:13px;color:var(--dim);margin-top:6px;line-height:1.4}
.gal-pair,.gal-trio{display:flex;gap:12px;align-items:flex-start}
.gal-pair figure,.gal-trio figure{flex:1 1 0}          /* gallery.js sets each to its image's aspect ratio: equal heights, no cropping */
.gal-trio{gap:10px}
@media(max-width:600px){.gal-pair{flex-direction:column}}
.gal-slides{position:relative}
.gal-slides .track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;
  border:1px solid var(--rule);border-radius:6px;background:var(--white)}
.gal-slides .track::-webkit-scrollbar{display:none}
.gal-slides .track figure{flex:0 0 100%;scroll-snap-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
.gal-slides .track img{border:0;border-radius:0;width:100%;height:100%;object-fit:contain}
.gal-slides .track figcaption{padding:0 12px 10px}
.sl-btn{position:absolute;top:calc(50% - 22px);width:40px;height:40px;border-radius:50%;border:1px solid var(--rule2);background:rgba(255,255,255,.92);
  color:var(--ink);font:inherit;font-size:24px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0 0 3px}
.sl-btn.prev{left:10px}.sl-btn.next{right:10px}.sl-btn:hover{border-color:var(--dim)}.sl-btn[disabled]{opacity:0;pointer-events:none}
.sl-dots{display:flex;justify-content:center;gap:7px;margin-top:10px}
.sl-dots button{width:8px;height:8px;border-radius:50%;border:0;padding:0;background:var(--rule2);cursor:pointer}
.sl-dots button.on{background:var(--ink)}
/* full-screen viewer */
.lbx{position:fixed;inset:0;z-index:100;background:rgba(14,10,12,.94);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}
.lbx[hidden]{display:none}
.lbx img{max-width:92vw;max-height:84vh;object-fit:contain;border-radius:4px}
.lbx p{color:#d9d3d6;font-size:14px;margin:0;text-align:center;padding:0 16px}
.lbx button{position:absolute;background:none;border:0;color:#fff;font:inherit;font-size:34px;cursor:pointer;padding:12px 18px;opacity:.8}
.lbx button:hover{opacity:1}.lbx .x{top:8px;right:8px;font-size:28px}.lbx .lp{left:6px;top:calc(50% - 30px)}.lbx .ln{right:6px;top:calc(50% - 30px)}
/* custom work page: the description above the enquiry form */
.custom-info{max-width:620px;margin-top:22px;color:var(--ink2);font-size:16px;line-height:1.55}
.custom-info p{margin:0 0 12px}.custom-info ul,.custom-info ol{margin:0 0 12px;padding-left:22px}.custom-info li{margin:4px 0}
.custom-info h3.sec{color:var(--ink);margin:28px 0 10px}
.custom-info .aside{font-size:14px;color:var(--dim)}
.custom-info a{color:var(--blue)}
/* account: Download opens a small format menu (OTF / TTF / WOFF / Variable) */
details.dl{position:relative;display:inline-block;margin:0;border:0;padding:0}
.dl>summary{list-style:none;cursor:pointer;display:inline-flex;color:#fff}.dl>summary:before,details.dl[open]>summary:before{content:none}.dl>summary::-webkit-details-marker{display:none}
.dl-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:15;background:var(--white);border:1px solid var(--rule2);border-radius:10px;
  padding:14px;min-width:200px;box-shadow:0 10px 30px rgba(0,0,0,.12);display:flex;flex-direction:column;gap:9px;text-align:left}
.dl-menu label{display:flex;align-items:center;gap:9px;font-size:15px;cursor:pointer}
.dl-menu input{width:16px;height:16px;accent-color:var(--blue)}
.dl-menu .pill{margin-top:4px}
/* Font Creator embed: its "step" blocks are not the site's number steppers */
.fc-container .step:not(.hidden){display:block;padding:20px;gap:0;flex-wrap:nowrap}
.fc-container .step>*{min-width:0}
/* cart + My account: the font's first poster as a 2:1 thumbnail, cropped (never squeezed) when it is another shape */
.row img.thumb{width:132px;height:66px;max-width:none;aspect-ratio:2/1;object-fit:cover;border-radius:5px;border:1px solid var(--rule);flex:none}
/* /download-license: the old Squarespace download page (invoice + license for pre-2026 orders) */
.dl-legacy form{text-align:center}
.dl-legacy form .field{width:min(340px,100%);margin:5px 0;text-align:center}
.dl-legacy #loadingDiv img,.dl-legacy #loadingDivUpdate img{width:40px}
.dl-legacy #invoice{display:none;background:var(--white);border:1px solid var(--rule);border-radius:8px;padding:28px;font-size:15px;line-height:1.5}
.dl-legacy #invoice>div{margin-bottom:26px}
.dl-legacy #section1>div,.dl-legacy #section2>div,.dl-legacy #section3>div{width:50%;float:left}
.dl-legacy #invDetail,.dl-legacy #licenceShipping,.dl-legacy #priceDetail{width:60%;float:right}
.dl-legacy #priceDetail{text-align:right}
.dl-legacy .clearfix::after{content:"";clear:both;display:table}
.dl-legacy #section3a>p,.dl-legacy #section4>h4{text-align:center}
.dl-legacy #section3a table{margin:0 auto}.dl-legacy #section3a td{padding:4px 10px}
.dl-legacy #section3a input,.dl-legacy #section3a select{width:180px}
.dl-legacy #section3a>button{display:block;margin:10px auto}
.dl-legacy #section4{text-align:justify}
.dl-legacy #section5{text-align:center}
.dl-legacy #invoice button{font:inherit;padding:9px 18px;margin:4px;border-radius:30px;border:1px solid var(--rule2);background:var(--white);cursor:pointer}
.dl-legacy #invoice #download{background:var(--blue);color:#fff;border-color:var(--blue)}
@media print{body *{visibility:hidden}.dl-legacy #invoice,.dl-legacy #invoice *{visibility:visible}
  .dl-legacy #invoice{position:absolute;left:0;top:0;width:100%;border:0}
  .dl-legacy #section5,.dl-legacy #licenseeinput,.dl-legacy #fontinput,.dl-legacy #protectedphraseinput,.dl-legacy #updatedatabtn{display:none!important}}
/* the original invoice of an order from the old Squarespace shop */
.legacy-inv{background:var(--white);border:1px solid var(--rule);border-radius:8px;padding:30px;font-size:15px;line-height:1.55}
.legacy-inv h4{font-size:16px;margin:0 0 4px}
.legacy-inv .li-row{display:flex;justify-content:space-between;gap:24px;margin-bottom:28px}
.legacy-inv .r{text-align:right}
@media print{body *{visibility:hidden}.legacy-inv,.legacy-inv *{visibility:visible}.legacy-inv{position:absolute;inset:0 auto auto 0;width:100%;border:0}}
