/* ============================================================
   Polish layer (Nov 30, 2026)
   Loads after each page's stylesheet and before mobile.css.
   1. One card style  2. Straight layout  3. Clean homepage hero  4. Calmer type
   Delete a block to bring the old look back for that piece.
   ============================================================ */

/* ---------- 1. One card style ----------
   Offset color shadows become a thin color bar on top plus one soft shadow. */
.sh-v,.sh-p,.sh-l{
  border-width:1.5px!important;
  border-radius:8px!important;
  background:#fffdf6!important;
}
.sh-v{box-shadow:inset 0 5px 0 var(--violet,#aa7bfc),0 14px 30px -18px rgba(23,28,33,.45)!important}
.sh-p{box-shadow:inset 0 5px 0 var(--pink,#fb2ca3),0 14px 30px -18px rgba(23,28,33,.45)!important}
.sh-l{box-shadow:inset 0 5px 0 var(--lime,#c8ff01),0 14px 30px -18px rgba(23,28,33,.45)!important}
.card,.pcard,.scard{padding-top:28px!important}
.card:hover,.pcard:hover{transform:translateY(-3px);transition:transform .2s}

/* ---------- 2. Straight layout ----------
   Everything sits straight. Tape is gone except on the one .tilt photo per page. */
*{--r:0deg!important;--rot:0deg!important}
[style*="rotate:"]{rotate:0deg!important}
.cov,.hang,.rv,.proof{animation:none!important}
.tape{display:none!important}
.tilt,.tilt[style]{rotate:-2deg!important}
.tilt .tape{display:block!important}

/* ---------- 3. Clean homepage hero ----------
   Four floating polaroids become an even 2 x 2 project grid. */
.hero .covers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;aspect-ratio:auto!important;max-width:620px;height:auto!important}
.hero .cov{position:static!important;width:auto!important;margin:0!important;left:auto!important;right:auto!important;top:auto!important}
.hero .cov .cf{padding:0;background:none;box-shadow:none;rotate:0deg!important;transform:none!important}
.hero .cov img{border-radius:6px;aspect-ratio:1/1;box-shadow:0 14px 30px -18px rgba(23,28,33,.5);transition:transform .3s}
.hero .cov:hover img{transform:translateY(-3px)}
.hero .cov .cl{padding:10px 2px 0;font-family:"Parson",Georgia,serif}
.hero .cov .cl b{font-family:"Editorial Today",Georgia,serif;font-weight:400;font-size:19px;word-spacing:-.09em}
.hero .cov .cl small{font-family:"Helvena",Arial,sans-serif;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#4a4f55}

/* ---------- 4. Calmer type ----------
   Card titles go roman. Italic stays for the second line of big headlines. */
.card h3,.pcard h3,.scard h3,.clipping h3,.note h3,.step7 h4,.toc .ttl,
a.card.fxc h2,#menu .legacy .svc-h,main.legacy h3,.pcard .go strong,
.bandhead h2,.leaks h2,.leaks h4,.news h2{font-style:normal!important;font-weight:400!important}
.bandhead h2 span,.leaks h2 span,.news h2 em{font-style:italic!important}
.card .lab,.pcard .lab,.scard .lab{text-transform:none!important;letter-spacing:.02em!important;font-size:13px!important}

/* 1b. Same soft shadow on the other boxes; buttons lose the offset block */
.hits,.cols3>.paperbox,.cols3>.paperbox:hover,.legacy .way,.legacy .way:hover,.legacy .svc .path-card,.legacy .svc .path-card:hover,
.legacy .svc.in,.legacy .svc:hover,.legacy .svc:focus-within,.legacy .why-b .quotes figure,
main.legacy .card,main.legacy .way,main.legacy .bopt,main.legacy .steps li,
main.legacy :is(.three,.ways,.grid,.cards)>:is(.card,.way,.fq){
  box-shadow:0 14px 30px -18px rgba(23,28,33,.45)!important;border-radius:8px!important}
.legacy .res-cover{box-shadow:0 30px 60px -30px rgba(0,0,0,.5)!important}
.btn.cr,.join{box-shadow:none!important}

/* 1c. Clean project cards everywhere (same as the homepage Edge Cases) */
.clips{align-items:stretch}
.clipping{filter:none!important;display:flex!important}
.clipping .tc-fr{-webkit-mask-box-image:none!important;mask-border:none!important;mask:none!important;background:#fcfbf4!important;border-radius:6px;box-shadow:0 12px 28px -14px rgba(0,0,0,.55);display:flex;width:100%}
.clipping .tc-in{-webkit-mask-box-image:none!important;mask-border:none!important;mask:none!important;background:#fcfbf4!important;padding:14px 14px 18px!important;display:flex;flex-direction:column;width:100%;box-sizing:border-box}
.clipping .fimg{border:0!important;border-radius:3px}
.clipping .no{border-bottom:0!important;padding:14px 0 4px!important;margin-bottom:0!important}
.clipping .no .lab{color:#c4127a}
.clips .no .lab:only-child{display:inline!important}
.clipping p{text-align:left!important;hyphens:none!important;-webkit-hyphens:none!important}
.clipping .rd{margin-top:auto!important;padding-top:12px!important;border-top:0!important}

/* 2b. Photos, frames and cards that were tilted by a fixed angle */
.sp-frame,.nf-anno,.nf-glance,.pullq,.bleed figure,.covbadge,.mag-hero .big,.mag-hero .small,.nextup .ph,.more,
.legacy main .three .card,.legacy main .two .card,.legacy main .pack.fav,.legacy .res-cover,.legacy .founder .snap,
.legacy .pillars div,.legacy .e-pagehero .two.center img,.legacy .stack .sticky,.legacy main section.sec.wrap .lbl:not(.e-tape):not(.tape){rotate:0deg!important}
.ticker,.ticker.edge{rotate:0deg!important}

/* 2c. Older pages (Glossary, Resources, Start here, Book): no tiny masthead strip, same soft card shadow */
.e-pagehero .mast{display:none!important}
html main.legacy :is(.three,.ways,.grid,.cards)>:nth-child(n):is(.card,.way,.fq),
html main.legacy .steps li:nth-child(n),html main.legacy .card,html main.legacy .way,html main.legacy .bopt,
html body .legacy .way.w1,html body .legacy .way.w2,html body .legacy .way.w3,
html body .legacy .way.w1:hover,html body .legacy .way.w2:hover,html body .legacy .way.w3:hover{
  box-shadow:0 14px 30px -18px rgba(23,28,33,.45)!important;border-radius:8px!important}

/* 2d. Book page: card labels as plain text, not tape */
html main.legacy .way .kick{background:none!important;color:#c4127a!important;padding:0!important;margin:0 0 6px!important;rotate:0deg!important;box-shadow:none!important;clip-path:none!important;font-size:12px!important;letter-spacing:.12em!important;display:block!important;width:auto!important}
html main.legacy .way .kick::before,html main.legacy .way .kick::after{display:none!important}
html main.legacy .way:nth-child(n) .kick{color:#c4127a!important;opacity:1!important}
@media (max-width:820px){.hero .covers{margin-bottom:56px!important}}

/* ---------- 5. Services shop as a price list (Nov 30, 2026) ----------
   One category at a time, compact rows, starting prices on the right, details in the pop-up. */
html #menu .shop-head{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:40px;align-items:end;margin:0 0 36px}
html #menu .shop-head h2{margin:0;border:0!important;padding:0;font-size:clamp(36px,3.6vw,54px)!important;line-height:1.02;text-transform:none;letter-spacing:0;text-align:left;color:#fcfbf4}
html #menu .shop-head h2 em{font-style:italic;color:#c4a3ff}
html #menu .shop-head p{margin:0;font-size:17px;line-height:1.5;color:rgba(252,251,244,.78);max-width:460px}
html #menu .legacy .shop{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start}
html #menu .legacy .shop-bar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-bottom:14px}
html #menu .legacy .shop-tab{font-size:12px;letter-spacing:.1em;padding:12px 16px;display:inline-flex;gap:8px;align-items:center}
html #menu .legacy .shop-tab .shop-n{font-size:11px;opacity:.6;letter-spacing:0}
html #menu .legacy .shop-count{font-size:13px;color:rgba(252,251,244,.6);margin:0 0 10px}
html #menu .legacy .shop-grid{display:block!important;background:#fcfbf4;border-radius:8px;overflow:hidden;box-shadow:0 18px 40px -22px rgba(0,0,0,.6);grid-template-columns:none!important;gap:0!important}
html #menu .legacy .svc.row{display:flex!important;align-items:center;justify-content:space-between;gap:24px;padding:20px 26px!important;margin:0!important;border:0!important;border-bottom:1px solid rgba(23,28,33,.12)!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:#171c21;min-height:0!important;transform:none!important}
html #menu .legacy .svc.row:last-child{border-bottom:0!important}
html #menu .legacy .svc.row:hover{background:#f4efe2!important}
html #menu .legacy .svc-info{min-width:0;flex:1}
html #menu .legacy .svc.row .svc-h{margin:0 0 4px!important;font-size:22px!important;line-height:1.15;font-style:normal!important;font-weight:400!important;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
html #menu .legacy .svc.row .svc-open{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-align:left}
html #menu .legacy .svc.row .svc-open:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
html #menu .legacy .svc.row .svc-flag{font:600 10.5px/1 Helvena,Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#6b4bb8;background:#ede3ff;border-radius:99px;padding:5px 9px}
html #menu .legacy .svc.row .svc-dept{margin:0 0 4px;font:600 11px/1 Helvena,Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#c4127a}
html #menu .legacy .svc.row .svc-line{margin:0!important;font-size:15.5px!important;line-height:1.45;color:#4a4f55;max-width:560px}
html #menu .legacy .svc-side{display:flex;align-items:center;gap:20px;flex:none}
html #menu .legacy .svc.row .svc-price{margin:0;text-align:right;min-width:86px;display:block}
html #menu .legacy .svc.row .svc-price small{display:block;font:600 10.5px/1 Helvena,Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#6b7076;margin-bottom:4px}
html #menu .legacy .svc.row .svc-price strong{font-family:"Editorial Today",Georgia,serif;font-weight:400;font-size:24px;line-height:1}
html #menu .legacy .svc.row .svc-go{min-height:44px;padding:0 18px;border-radius:999px;border:1.5px solid #171c21;background:transparent;color:#171c21;font:600 12px/1 Helvena,Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;cursor:pointer}
html #menu .legacy .svc.row .svc-go:hover{background:#171c21;color:#fcfbf4}
html #menu .legacy .calc-box{position:sticky;top:90px}
@media (max-width:980px){
  html #menu .shop-head{grid-template-columns:1fr;gap:14px}
  html #menu .legacy .shop{grid-template-columns:1fr}
  html #menu .legacy .calc-box{position:static}
}
@media (max-width:600px){
  html #menu .legacy .svc.row{flex-direction:column;align-items:stretch;gap:12px;padding:18px 18px!important}
  html #menu .legacy .svc-side{justify-content:space-between}
  html #menu .legacy .svc.row .svc-price{text-align:left}
}
html #menu .legacy .svc.row{flex-direction:row!important;text-align:left!important}
html #menu .legacy .svc.row .svc-info,html #menu .legacy .svc.row .svc-h{text-align:left!important;justify-content:flex-start!important}
@media (max-width:600px){html #menu .legacy .svc.row{flex-direction:column!important}}

/* ---------- 6. Smaller headlines, no one-word lines (Nov 30, 2026) ----------
   About 25 to 35% smaller at desktop. Balanced wrapping keeps words from sitting alone. */
h1,h2,h3,h4{text-wrap:balance}
p,li,figcaption,blockquote{text-wrap:pretty}
h1:not(.mag-title){font-size:clamp(42px,5vw,72px)!important;line-height:1!important}
.hero h1{font-size:clamp(52px,6.2vw,90px)!important;line-height:.92!important}
.mag-title:not([style]){font-size:clamp(84px,9vw,140px)!important}
.mag-title[style]{font-size:clamp(46px,5vw,80px)!important}
h2:not(.mag-title):not(dialog h2):not(.gig h2){font-size:clamp(32px,3.7vw,54px)!important;line-height:1.04!important}
.way h2,.sp-name{font-size:clamp(30px,3.2vw,46px)!important}
#meet h2{font-size:clamp(44px,4.6vw,66px)!important}
html body main.legacy .e-pagehero h1,html body .legacy .e-pagehero h1,html body .legacy .has-pins h1{font-size:clamp(42px,5vw,72px)!important;line-height:1!important}
