/* I: everything is a card, lying on a forest floor seen from above */
.x-i { --ground: #3b4a2a; --linen: #f5f1e6; --ink: #171612; --muted: #5e5a4f; --accent: #c8402a; --frame: #2a2924;
  --sh: 0 1px 1px rgba(8,10,0,.5), 2px 3px 5px rgba(8,10,0,.38), 8px 14px 24px rgba(8,10,0,.34);
  position: relative; overflow: hidden; color: var(--ink); background-color: var(--ground);
  background-image: radial-gradient(ellipse 50% 35% at 75% 20%, rgba(255,240,190,.08), transparent 70%), radial-gradient(ellipse 45% 30% at 15% 60%, rgba(0,0,0,.25), transparent 70%), url("tex/grass001_tile-1024.webp");
  background-size: 1300px 1000px, 1200px 1000px, 460px; }
body:has(.x-i) { background: #3b4a2a; }
.i-light { position: absolute; inset: 0; pointer-events: none; z-index: 6; background: radial-gradient(ellipse 80% 55% at 20% 0%, rgba(255,236,190,.22), transparent 65%), radial-gradient(ellipse 130% 95% at 50% 40%, transparent 50%, rgba(4,6,0,.5)); mix-blend-mode: soft-light; }
.i-nav { position: relative; z-index: 3; max-width: 1240px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: flex-end; }
.i-nav nav { display: flex; gap: 6px; }
.i-nav a { font-family: var(--f-ui); font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; padding: 18px 16px 9px; border-radius: 0 0 9px 9px; box-shadow: var(--sh); transform: translateY(-6px); transition: transform .2s ease; background: var(--linen) url("tex/linen.webp") center / 260px; background-blend-mode: multiply; }
.i-nav a:hover { transform: none; } .i-nav a.r { background: var(--ink); color: #fff; }
.i-scene { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 24px 40px 120px; }
/* the card itself */
.card { position: relative; border-radius: 16px; padding: 10px; box-shadow: var(--sh); }
.card .cf { position: relative; height: 100%; box-sizing: border-box; border: 1.5px solid rgba(42,41,36,.55); border-radius: 9px; padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), inset 0 0 12px rgba(30,40,0,.2); z-index: 3; }
.c-art { margin: -6px -8px 6px; border-radius: 6px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; gap: 10px; aspect-ratio: 4 / 3; }
.card h3 { margin: 0; font-family: var(--f-heading); font-weight: 800; font-size: 22px; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }
.c-type { margin: 0; font-family: var(--f-ui); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.c-org { margin: 0; font-size: 14px; color: var(--muted); }
.card .c-text { margin: 0; font-size: 15px; line-height: 1.5; }
.card a:not(.s-btn) { margin-top: auto; font-family: var(--f-ui); font-weight: 700; color: var(--accent); }
/* hero */
.i-hero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px 70px; padding: 26px 0 70px; background: none; min-height: 0; }
.i-name { grid-column: 1; align-self: end; }
.x-i .i-hero h1 { font-size: clamp(66px, 9.2vw, 136px); line-height: 1.05; margin: 0; white-space: nowrap; filter: drop-shadow(1px 2px 1px rgba(8,10,0,.55)) drop-shadow(6px 10px 9px rgba(8,10,0,.4)); }
.c-intro { grid-column: 1; max-width: 600px; transform: rotate(-.8deg); }
.c-intro .cf { padding: 24px 28px 26px; gap: 12px; }
.c-pitch { margin: 0; font-family: var(--f-pitch); font-weight: 500; font-size: 24px; line-height: 1.32; letter-spacing: -.01em; }
.x-i .s-actions { margin: 6px 0 0; }
.c-me { grid-column: 2; grid-row: 1 / span 2; align-self: center; aspect-ratio: 5 / 7; transform: rotate(2.4deg); }
.c-me .art-me { aspect-ratio: auto; flex: 1; background: #3d3f42; } .c-me .art-me img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.c-me .cf { padding: 12px 14px 14px; } .c-me h3 { font-size: 21px; margin-top: 4px; }
/* section labels: label-maker tape */
.i-label { position: relative; z-index: 4; display: inline-block; margin: 0 0 22px; font-family: var(--f-ui); font-weight: 700; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: #1d1d1b; padding: 7px 14px 6px; border-radius: 3px; box-shadow: 0 1px 1px rgba(0,0,0,.5), 2px 4px 6px rgba(0,0,0,.3); transform: rotate(-1deg); }
.i-row { display: grid; gap: 28px; margin-bottom: 76px; align-items: start; }
.i-cases { grid-template-columns: repeat(3, minmax(0,1fr)); }
.case { aspect-ratio: 5 / 7; }
.k1 { transform: rotate(-1.6deg); } .k2 { transform: rotate(.9deg) translateY(16px); } .k3 { transform: rotate(-.5deg) translateY(4px); }
.art-exact { background: #dfe5dc; padding-top: 18px; } .art-exact img { width: 40%; border-radius: 10px 10px 0 0; box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.art-lab { background: #f8efcd; align-items: center; } .art-lab .s-diagram { width: 86%; margin: 0; }
.art-birds { background: #ead9df; align-items: center; } .card .art-birds p { font-family: var(--f-heading); font-weight: 700; font-size: 28px; line-height: 1.1; text-align: center; margin: 0 20px; }
.i-jobs { grid-template-columns: repeat(6, minmax(0,1fr)); gap: 18px; }
.job { aspect-ratio: 5 / 7; } .job h3 { font-size: 19px; } .job .c-text { font-size: 14px; color: var(--muted); margin-top: auto; }
.j1 { transform: rotate(-2deg); } .j2 { transform: rotate(1.2deg) translateY(10px); } .j3 { transform: rotate(-.6deg); } .j4 { transform: rotate(1.8deg) translateY(14px); } .j5 { transform: rotate(-1.2deg) translateY(4px); } .j6 { transform: rotate(.9deg) translateY(8px); }
.i-games { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.game { aspect-ratio: 5 / 7; } .art-dw img { width: 100%; height: 100%; object-fit: cover; } .art-dw { align-items: stretch; }
.g1 { transform: rotate(-1.4deg); } .g2 { transform: rotate(1deg) translateY(12px); } .g3 { transform: rotate(-.8deg); } .g4 { transform: rotate(1.6deg) translateY(8px); }
.game:not(.g1) .cf { justify-content: flex-start; } .game:not(.g1) h3 { font-size: 26px; margin-top: 8px; }
/* blades */
.lay { position: relative; }
.blade { position: absolute; pointer-events: none; transform-origin: 50% 100%; z-index: 4; filter: drop-shadow(.4px 1px .8px rgba(8,10,0,.35)); }
@media (max-width: 1000px) { .i-jobs { grid-template-columns: repeat(3, minmax(0,1fr)); } .i-games { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 700px) {
  .i-scene { padding: 16px 18px 80px; } .i-nav { padding: 0 12px; } .i-nav a:not(.r):not(:nth-child(4)) { display: none; }
  .i-hero, .i-cases { grid-template-columns: minmax(0,1fr); }
  .c-me { grid-column: 1; grid-row: auto; width: 72%; justify-self: center; }
  .case, .game, .job { aspect-ratio: auto; } .k2, .k3, .j2, .j4, .g2, .g4 { translate: 0 0; }
  .i-jobs, .i-games { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
}
/* playing-card stock: bright white, fine embossed linen, a faint gloss */
.x-i { --linen: #fbfaf6; }
.card { background-image: linear-gradient(125deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 38%, rgba(255,255,255,0) 62%, rgba(255,255,255,.25) 100%), linear-gradient(rgba(254,253,250,.84), rgba(254,253,250,.84)), url("tex/linen.webp"); background-size: auto, auto, 150px; border-radius: 18px; }
/* blades cut from the ground: the sprite is a mask, the fill is the lawn plus the sprite's own light and dark */
.blade { filter: none; -webkit-mask: var(--m) 0 0 / 100% 100%; mask: var(--m) 0 0 / 100% 100%;
  background-image: var(--m), url("tex/grass001_tile-1024.webp"); background-size: 100% 100%, 460px; background-blend-mode: soft-light; }
.blade-clip { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; z-index: 3; }
.lay-name > .blade-clip { display: none; }
.blade-sh { position: absolute; transform-origin: 50% 100%; background: rgba(10,12,0,.28); -webkit-mask: var(--m) 0 0 / 100% 100%; mask: var(--m) 0 0 / 100% 100%; translate: .6px 1.6px; filter: blur(.9px); }
.blade { background-image: linear-gradient(0deg, rgba(0,0,0,.18), rgba(255,250,210,.06) 70%, rgba(255,250,210,.12)), url("tex/grass001_tile-1024.webp"); background-size: 100% 100%, 460px; background-blend-mode: normal; }
/* forest floor */
.x-i { --ground: #4a5233; background-image: radial-gradient(ellipse 50% 35% at 75% 20%, rgba(255,240,190,.08), transparent 70%), radial-gradient(ellipse 45% 30% at 15% 60%, rgba(0,0,0,.22), transparent 70%), url("tex/moss-cool.webp"); background-size: 1300px 1000px, 1200px 1000px, 560px; }
body:has(.x-i) { background: #4a5233; }
.blade { background-image: linear-gradient(0deg, rgba(0,0,0,.14), rgba(255,250,210,.05) 70%, rgba(255,250,210,.1)), url("tex/moss-cool.webp"); background-size: 100% 100%, 560px; }
.litter-ground { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.litter { position: absolute; pointer-events: none; transform-origin: 50% 50%; }
.litter.flat { filter: saturate(.7) brightness(.82) drop-shadow(0 1px 1px rgba(0,0,0,.35)); opacity: .9; }
.litter.under { z-index: -1; filter: saturate(.8) brightness(.9) drop-shadow(0 1px 1.5px rgba(0,0,0,.35)); }
.litter.over { z-index: 5; filter: saturate(.8) brightness(.92) drop-shadow(.5px 2px 2px rgba(0,0,0,.32)); }
.x-i { --shade: linear-gradient(rgba(22,28,12,.38), rgba(22,28,12,.38)); background-image: radial-gradient(ellipse 50% 35% at 75% 20%, rgba(255,240,190,.08), transparent 70%), radial-gradient(ellipse 45% 30% at 15% 60%, rgba(0,0,0,.22), transparent 70%), var(--shade), url("tex/moss-cool.webp"); background-size: 1300px 1000px, 1200px 1000px, auto, 900px; }
.blade { background-image: linear-gradient(0deg, rgba(0,0,0,.12), rgba(255,250,210,.04) 70%, rgba(255,250,210,.08)), var(--shade), url("tex/moss-cool.webp"); background-size: 100% 100%, auto, 900px; }
.litter-under { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.i-scene > :not(.litter-under) { position: relative; }
/* one light for the whole scene: warm sun from the upper left through the canopy. The ground keeps only its base shade;
   all light and shadow pools sit in .i-light, which covers the cards and the ground alike */
.x-i { background-image: var(--shade), url("tex/moss-cool.webp"); background-size: auto, 900px;
  --sh: 0 1px 1px rgba(10,14,4,.55), 3px 4px 6px rgba(10,14,4,.35), 14px 20px 30px rgba(10,14,4,.32); }
.i-light { z-index: 7; mix-blend-mode: multiply; background:
  radial-gradient(ellipse 900px 700px at 12% 2%, rgba(255,247,226,1), rgba(255,247,226,0) 70%),
  radial-gradient(ellipse 700px 600px at 85% 38%, rgba(70,82,52,.55), rgba(70,82,52,0) 70%),
  radial-gradient(ellipse 800px 700px at 20% 70%, rgba(60,72,44,.5), rgba(60,72,44,0) 70%),
  radial-gradient(ellipse 140% 100% at 30% 20%, rgba(255,255,255,0) 45%, rgba(40,48,26,.75)),
  linear-gradient(150deg, rgb(250,244,226) 0%, rgb(226,224,200) 45%, rgb(196,200,172) 100%); }
.i-light::after { content: ""; position: absolute; inset: 0; mix-blend-mode: soft-light; background:
  radial-gradient(ellipse 1000px 800px at 10% 0%, rgba(255,226,160,.7), rgba(255,226,160,0) 70%),
  radial-gradient(ellipse 600px 500px at 70% 62%, rgba(255,230,170,.3), rgba(255,230,170,0) 70%); }
/* card stock exposed like the ground: off-white, with a breath of green bounce light from the moss along the lower edges */
.card { background-image: linear-gradient(125deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 65%, rgba(255,255,255,.12) 100%), linear-gradient(rgba(240,236,224,.8), rgba(240,236,224,.8)), url("tex/linen.webp");
  box-shadow: var(--sh), inset 0 -10px 16px -10px rgba(70,96,30,.22), inset -8px 0 14px -10px rgba(70,96,30,.16), inset 0 1px 0 rgba(255,255,240,.6); }
/* the name's letters are pieces lying on the floor too: same light, same cast shadow as the cards */
.i-name .fill-cv canvas { filter: drop-shadow(1px 2px 1.5px rgba(10,14,4,.45)) drop-shadow(8px 12px 14px rgba(10,14,4,.3)); }
.i-name > .blade { z-index: 9; }
.i-name .fill-cv canvas { filter: drop-shadow(0 0 1px rgba(10,14,4,.6)) drop-shadow(3px 4px 3px rgba(10,14,4,.45)) drop-shadow(10px 14px 16px rgba(10,14,4,.3)); }
/* physical objects: buttons are thick chipboard tokens, labels are strips of paper tape, menu tabs are card stock */
.x-i .s-hero .s-btn, .x-i .s-btn { position: relative; border: 0; border-radius: 10px; padding: .78em 1.3em; color: #fff8ec;
  background: #c8402a url("tex/paper006_tile-1024.webp") center / 220px; background-blend-mode: multiply;
  --edge: #7f2414; --cast: rgba(10,14,4,.4);
  box-shadow: inset 1px 1.5px 0 rgba(255,236,210,.45), inset -1px -1px 0 rgba(60,10,0,.25),
    1px 1px 0 var(--edge), 2px 2px 0 var(--edge), 3px 3px 0 var(--edge), 4px 4px 0 var(--edge), 4px 5px 2px var(--cast), 9px 12px 14px var(--cast);
  transform: translate(0, 0); transition: transform .14s ease, box-shadow .14s ease; }
.x-i .s-btn:not(.primary) { background-color: #efe9da; color: var(--ink); --edge: #a69c84; }
.x-i .s-hero .s-btn:hover, .site.x-i .s-btn:hover, .site.x-i .s-btn:focus-visible { /* .site.x-i: outranks site.css's lift-on-hover, which gave buttons outside the hero a hard black shadow */ transform: translate(-1px, -1px);
  box-shadow: inset 1px 1.5px 0 rgba(255,236,210,.45), inset -1px -1px 0 rgba(60,10,0,.25), 1px 1px 0 var(--edge), 2px 2px 0 var(--edge), 3px 3px 0 var(--edge), 4px 4px 0 var(--edge), 5px 5px 0 var(--edge), 6px 7px 3px var(--cast), 12px 16px 18px var(--cast); }
.x-i .s-hero .s-btn:active, .site.x-i .s-btn:active { transform: translate(3px, 3px);
  box-shadow: inset 1px 1.5px 0 rgba(255,236,210,.35), inset -1px -1px 0 rgba(60,10,0,.25), 1px 1px 0 var(--edge), 2px 2px 1px var(--cast), 4px 5px 6px var(--cast); }
.i-label { color: #2b2720; background: rgba(226,214,180,.9) url("tex/paper001_tile-1024.webp") center / 300px; background-blend-mode: multiply; border-radius: 0; padding: 8px 22px 7px;
  clip-path: polygon(0 8%, 3% 0, 5% 12%, 8% 2%, 10% 0, 90% 0, 92% 6%, 95% 0, 97% 10%, 100% 4%, 98% 30%, 100% 55%, 97% 78%, 100% 100%, 94% 92%, 91% 100%, 88% 95%, 10% 100%, 7% 92%, 4% 100%, 2% 90%, 0 100%, 2% 70%, 0 45%, 3% 24%);
  box-shadow: none; filter: drop-shadow(1px 2px 1.5px rgba(10,14,4,.35)); opacity: .97; }
.i-label::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,255,255,.25), rgba(255,255,255,0) 40%, rgba(0,0,0,.05)); pointer-events: none; }
.i-nav a { background: #f0ebdd url("tex/linen.webp") center / 150px; background-blend-mode: multiply;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.5), 0 1px 0 #c9c1ad, 0 2px 0 #b5ac95, 0 3px 2px rgba(10,14,4,.4), 4px 9px 12px rgba(10,14,4,.3); }
.i-nav a.r { background: #22211d url("tex/paper006_tile-1024.webp") center / 220px; background-blend-mode: multiply; color: #fff8ec;
  box-shadow: 0 1px 0 #111, 0 2px 0 #0b0b0a, 0 3px 2px rgba(10,14,4,.45), 4px 9px 12px rgba(10,14,4,.3); }
.x-i .s-btn:not(.primary) { background-image: url("tex/linen.webp"); background-size: 150px; background-color: #f1ecdf; }
/* sunlight through a canopy: real leaf silhouettes, out of focus, cast cool shade; the gaps glow warm. Both layers sit over
   the cards and the ground alike, so everything is lit by the same sun */
.x-i { --shade: linear-gradient(rgba(22,28,12,.2), rgba(22,28,12,.2)); }
.i-light { mix-blend-mode: multiply; background:
  url("tex/canopy-shade-2.webp") -180px -120px / 1600px,
  radial-gradient(ellipse 140% 100% at 25% 15%, rgba(255,255,255,0) 50%, rgba(40,48,30,.6)),
  linear-gradient(150deg, rgb(255,250,236) 0%, rgb(236,232,212) 50%, rgb(208,210,186) 100%); }
.i-light::after { mix-blend-mode: soft-light; background: url("tex/canopy-sun-2.webp") -180px -120px / 1600px; }
.i-light::before { content: ""; position: absolute; inset: 0; mix-blend-mode: screen; opacity: .35; background: url("tex/canopy-sun-2.webp") -180px -120px / 1600px; }
.x-i > .i-light { position: absolute; inset: 0; }
.i-light { background: url("tex/canopy-shade-2.webp") -180px -120px / 1600px, radial-gradient(ellipse 140% 100% at 25% 15%, rgba(255,255,255,0) 55%, rgba(40,48,30,.35)), linear-gradient(150deg, rgb(255,252,242) 0%, rgb(244,240,224) 55%, rgb(224,224,204) 100%); opacity: .85; }
.i-light::after, .i-light::before { display: none; }
.x-i > .i-sun { position: absolute; inset: 0; z-index: 7; pointer-events: none; mix-blend-mode: soft-light; background: url("tex/canopy-sun-2.webp") -180px -120px / 1600px; }
.i-name .fill-cv canvas { filter: drop-shadow(1px 1.5px .8px rgba(10,14,4,.55)) drop-shadow(4px 6px 5px rgba(10,14,4,.35)) drop-shadow(10px 14px 16px rgba(10,14,4,.22)); }
.i-name .fill-cv > canvas { filter: drop-shadow(1px 1px 0 rgba(8,10,2,.5)) drop-shadow(3px 5px 2.5px rgba(8,10,2,.6)) drop-shadow(10px 15px 12px rgba(8,10,2,.42)); }
.i-light { opacity: .78; }
.i-name .fill-cv > canvas { filter: drop-shadow(1px 1px 0 rgba(6,8,2,.6)) drop-shadow(4px 6px 3px rgba(6,8,2,.75)) drop-shadow(14px 20px 16px rgba(6,8,2,.5)); }
/* neutral card stock: the linen is desaturated and the stock is a cool white, so only the sunlight adds warmth */
.x-i { --linen: #f6f6f3; }
.card { background-color: #f6f6f3; background-image: linear-gradient(125deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 65%, rgba(255,255,255,.12) 100%), linear-gradient(rgba(248,248,246,.78), rgba(248,248,246,.78)), url("tex/linen-n.webp"); }
.i-nav a:not(.r), .x-i .s-btn:not(.primary) { background-color: #f3f3ef; background-image: url("tex/linen-n.webp"); }
.x-i .s-btn:not(.primary) { --edge: #a3a39b; }
.i-light { background: url("tex/canopy-shade-2.webp") -180px -120px / 1600px, radial-gradient(ellipse 140% 100% at 25% 15%, rgba(255,255,255,0) 55%, rgba(40,48,30,.35)), linear-gradient(150deg, rgb(255,253,248) 0%, rgb(244,243,234) 55%, rgb(226,228,214) 100%); }
/* The Daily Weather's wallet lies on its card as a real object: a thick vinyl wallet, turned a little, hanging over the card's top edge */
.card .art-dw { overflow: visible; background: none; align-items: center; justify-content: center; position: relative; z-index: 6; }
.art-dw img.wallet { width: 112%; height: auto; max-width: none; object-fit: fill; margin: 0 -6%; transform: translate(4px, -26px) rotate(-6deg);
  filter: drop-shadow(.6px .8px 0 #0d1533) drop-shadow(1px 1.4px 0 #0b122c) drop-shadow(1px 1.4px 0 #091026) drop-shadow(3px 5px 3px rgba(6,8,2,.55)) drop-shadow(12px 18px 16px rgba(6,8,2,.38)); }
/* no inner frame line: the cards are plain stock */
.card .cf { border: 0; }
/* experience and game cards size to their content instead of a fixed card shape, so there are no empty stretches */
.job, .game:not(.g1) { aspect-ratio: auto; }
.i-jobs, .i-games { align-items: start; }
.job .c-text { margin-top: 10px; }
/* the art panels become things lying on the card: a phone, a paper slip, a printed diagram */
.card .c-art.art-exact, .card .c-art.art-lab, .card .c-art.art-birds { background: none; overflow: visible; align-items: center; justify-content: center; position: relative; z-index: 6; }
.phone { width: 38%; aspect-ratio: 720 / 1565; padding: 5px; border-radius: 22px; background: linear-gradient(135deg, #3a3c40, #151619 55%, #0d0e10);
  transform: rotate(8deg) translate(6px, 4px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 1px 1px 0 rgba(255,255,255,.25), 1px 1px 0 #0b0c0d, 2px 2px 0 #08090a, 3px 3px 0 #060607, 4px 6px 4px rgba(6,8,2,.5), 14px 20px 20px rgba(6,8,2,.35); position: relative; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 17px; display: block; box-shadow: none !important; }
.phone::after { content: ""; position: absolute; inset: 5px; border-radius: 17px; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(255,255,255,.06)); }
.slip { position: relative; background: #fbf3cf url("tex/paper001_tile-1024.webp") center / 300px; background-blend-mode: multiply; border-radius: 3px;
  box-shadow: 1px 1px 0 rgba(0,0,0,.08), 2px 4px 3px rgba(6,8,2,.25), 8px 12px 14px rgba(6,8,2,.2); }
.art-lab .s-diagram.slip { width: 92%; padding: 14px 10px; transform: rotate(-2.2deg); }
.art-birds .slip { background-color: #efdfe4; padding: 26px 22px; margin: 0 6%; transform: rotate(1.8deg); }
.case { aspect-ratio: auto; } .i-cases { align-items: start; }
.case .c-art { aspect-ratio: auto; height: 250px; margin-bottom: 14px; }
.phone { width: auto; height: 108%; }
.case a:not(.s-btn) { margin-top: 12px; }
@media (max-width: 700px) {
  .i-jobs { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .job .cf { display: grid; grid-template-columns: 7.5em minmax(0,1fr); gap: 2px 14px; }
  .job .c-type { grid-row: 1 / span 3; } .job .c-text { margin-top: 6px; }
  .c-intro .s-actions { flex-wrap: nowrap; gap: 12px; } .x-i .c-intro .s-btn { padding: .72em 1em; }
}
@media (max-width: 700px) {
  .job .cf { display: flex; } .i-jobs, .i-games { gap: 34px; } .i-cases { gap: 34px; }
}
@media (max-width: 700px) {
  .i-games { grid-template-columns: minmax(0,1fr); } .game:not(.g1) h3 { font-size: 24px; }
  .case .c-art { height: 200px; } .art-birds .slip { padding: 20px 18px; }
  .g1 .art-dw img.wallet { width: 86%; margin: 0 auto; }
}
/* the EXACT phone at true scale: the game cards are standard playing cards (63.5 mm wide), so --mm is one millimetre;
   an iPhone is 71.6 x 147.6 mm. It lies screen-up on the moss and the EXACT card rests on its corner. */
.x-i { --mm: calc((min(100vw, 1240px) - 80px - 72px) / 4 / 63.5); }
.i-cases { position: relative; padding-top: calc(var(--mm) * 58); }
.floor-phone { position: absolute; z-index: 0; width: calc(var(--mm) * 71.6); height: calc(var(--mm) * 147.6); aspect-ratio: auto; padding: calc(var(--mm) * 1.6); border-radius: calc(var(--mm) * 10);
  left: calc(var(--mm) * 34); top: calc(var(--mm) * -40); transform: rotate(74deg); transform-origin: 50% 50%; }
.floor-phone img { border-radius: calc(var(--mm) * 8.6); }
.floor-phone::after { inset: calc(var(--mm) * 1.6); border-radius: calc(var(--mm) * 8.6); }
.i-cases > .card { position: relative; z-index: 1; }
@media (max-width: 1000px) { .x-i { --mm: calc((100vw - 80px - 24px) / 2 / 63.5); } }
@media (max-width: 700px) { .x-i { --mm: calc((100vw - 36px - 14px) / 2 / 63.5 * .8); } .i-cases { padding-top: calc(var(--mm) * 70); } .floor-phone { left: 50%; margin-left: calc(var(--mm) * -36); top: calc(var(--mm) * -36); transform: rotate(80deg); } }
.floor-phone { left: calc(var(--mm) * 46); }
.floor-phone > .blade-clip { inset: 0; border-radius: inherit; }
/* EXACT: two instant-photo prints of the app's screens lying on the card (prints have no fixed size, so nothing to get wrong) */
.i-cases { padding-top: 0; }
.print { position: absolute; margin: 0; width: 40%; padding: 6px 6px 22px; background: #fbfbf8 url("tex/paper003_tile-1024.webp") center / 260px; background-blend-mode: multiply; border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04), 1px 1px 0 rgba(0,0,0,.08), 2px 4px 3px rgba(6,8,2,.28), 8px 12px 14px rgba(6,8,2,.22); }
.print img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; border-radius: 0; box-shadow: none !important; }
.art-exact .print { left: 12%; top: 4%; transform: rotate(-6deg); }
.art-exact .print.p2 { left: auto; right: 10%; top: 9%; transform: rotate(5deg); }
.art-exact .print.p2 img { object-position: 50% 12%; }
.art-exact .print:not(.p2) img { object-position: 50% 62%; }
.i-cases { padding-top: calc(var(--mm) * 58); }
/* the phone, true to scale, lies upright at the start of the case studies row; the EXACT card overlaps its right edge */
.i-cases { padding-top: 0; grid-template-columns: calc(var(--mm) * 71.6) repeat(3, minmax(0,1fr)); align-items: start; }
.floor-phone { position: relative; left: auto; top: auto; margin-top: 18px; transform: rotate(-4deg); z-index: 0; }
.i-cases > .k1 { margin-left: -34px; margin-top: 70px; }
@media (max-width: 1000px) { .i-cases { grid-template-columns: calc(var(--mm) * 71.6) minmax(0,1fr); } .i-cases > .k2, .i-cases > .k3 { grid-column: span 1; } }
@media (max-width: 700px) { .i-cases { grid-template-columns: minmax(0,1fr); } .floor-phone { margin: 0 auto -60px; left: 0; transform: rotate(-4deg); } .i-cases > .k1 { margin: 0; } }
@media (min-width: 701px) {
  .i-cases { align-items: stretch; } .floor-phone { align-self: start; }
  .i-cases > .k1 { margin-left: -64px; margin-top: 90px; margin-bottom: -40px; }
  .i-cases > .card .cf { height: 100%; } .i-cases > .card a:not(.s-btn) { margin-top: auto; padding-top: 12px; }
}
@media (min-width: 701px) {
  .i-cases { align-items: start; } .i-cases > .card .cf { height: auto; }
  .i-cases > .k1 { margin-top: 170px; margin-bottom: 0; } .i-cases > .k2 { margin-top: 24px; } .i-cases > .k3 { margin-top: 96px; }
}
/* the three case cards match: same size, same art height, links on one line */
@media (min-width: 701px) {
  .i-cases { align-items: stretch; } .floor-phone { align-self: start; }
  .i-cases > .k1, .i-cases > .k2, .i-cases > .k3 { margin-top: 110px; margin-bottom: 0; }
  .i-cases > .card .cf { height: 100%; } .i-cases > .card a:not(.s-btn) { margin-top: auto; padding-top: 12px; }
}
.card .c-art.art-stations { background: none; overflow: visible; align-items: center; justify-content: center; position: relative; z-index: 6; }
.art-stations .slip { list-style: none; margin: 0; padding: 16px 20px; width: 78%; transform: rotate(-2deg); background-color: #e3ece0;
  font-family: var(--f-heading); font-weight: 700; font-size: 17px; line-height: 1.25; }
.art-stations .slip li { padding: 6px 0 6px 26px; position: relative; border-bottom: 1px dashed rgba(23,22,18,.25); }
.art-stations .slip li:last-child { border: 0; }
.art-stations .slip li::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin-top: -8px; border: 2px solid var(--ink); border-radius: 3px; }
.art-stations .slip li::after { content: ""; position: absolute; left: 4px; top: 50%; width: 5px; height: 9px; margin-top: -7px; border: solid var(--accent); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg); }
@media (min-width: 1001px) {
  .i-cases { grid-template-columns: calc(var(--mm) * 71.6 - 64px) repeat(3, minmax(0,1fr)); }
  .i-cases > .k1 { margin-left: 0; } .floor-phone { width: calc(var(--mm) * 71.6); max-width: none; }
}
/* every row's cards match in size: experience and games stretch to one height; the wallet hangs off the top of its card so that card isn't taller */
@media (min-width: 701px) {
  .i-jobs, .i-games { align-items: stretch; } .job, .game { translate: 0 0 !important; } .g2, .g4 { transform: rotate(1deg); }
  .i-jobs .cf, .i-games .cf { height: 100%; }
  .g1 { aspect-ratio: auto; } .g1 .art-dw { aspect-ratio: auto; height: 90px; margin-bottom: 4px; } .g1 .art-dw img.wallet { transform: translate(4px, -50px) rotate(-6deg); }
  .i-games { margin-top: 90px; }
}
/* MENU: a fanned hand of small cards lying in the top-right corner. Each card is a link; pointing at one slides it up out of the hand. */
.i-nav { position: absolute; top: 0; right: 0; left: auto; max-width: none; padding: 0; z-index: 8; }
.hand { position: relative; width: 330px; height: 190px; margin: 26px 34px 0 0; display: block; }
.hand a { position: absolute; left: 50%; top: 18px; width: 78px; height: 110px; margin-left: -39px; padding: 0; border-radius: 7px; transform-origin: 50% 240%;
  transform: rotate(calc((var(--i) - 2) * 11deg)); background: #f6f6f3 url("tex/linen-n.webp") center / 150px; background-blend-mode: multiply; color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05), 1px 1px 0 #d4d4cc, 1.5px 1.5px 0 #c4c4bb, 2px 3px 2px rgba(6,8,2,.35), 6px 10px 12px rgba(6,8,2,.25);
  transition: transform .22s cubic-bezier(.3,.7,.3,1); text-decoration: none; }
.hand a span { position: absolute; left: 8px; top: 8px; font-family: var(--f-heading); font-weight: 700; font-size: 13px; line-height: 1; letter-spacing: -.01em; }
.hand a::after { content: ""; position: absolute; right: 8px; bottom: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); opacity: .85; }
.hand a.r { background-color: #22211d; background-image: url("tex/paper006_tile-1024.webp"); background-size: 220px; color: #fff8ec; box-shadow: 1px 1px 0 #0d0d0c, 1.5px 1.5px 0 #090908, 2px 3px 2px rgba(6,8,2,.4), 6px 10px 12px rgba(6,8,2,.3); }
.hand a.r::after { background: #fff8ec; }
.hand a:hover, .hand a:focus-visible { transform: rotate(calc((var(--i) - 2) * 11deg)) translateY(-16px); outline: none; }
.hand a:focus-visible span { text-decoration: underline; text-underline-offset: 3px; }

/* OPEN LAYOUT: more open moss, asymmetric. The hero gets room to breathe; rows shift left and right instead of all filling the width. */
.i-hero { padding: 120px 0 150px; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 120px; }
.c-intro { margin-top: 18px; margin-left: 6%; }
.c-me { margin-top: 140px; }
.i-row { margin-bottom: 150px; }
@media (min-width: 1001px) {
  #exp, .i-jobs { margin-left: 5%; } .i-jobs { grid-template-columns: repeat(6, minmax(0,1fr)); }
  #games { margin-left: 0; } .i-games { margin-right: 12%; }
}
@media (max-width: 700px) { .hand { width: 230px; height: 140px; margin: 14px 4px 0 0; } .hand a { width: 58px; height: 82px; margin-left: -29px; top: 10px; } .hand a span { font-size: 10px; left: 6px; top: 6px; }
  .i-hero { padding: 120px 0 80px; } .c-me { margin-top: 0; } .c-intro { margin-left: 0; } .i-row { margin-bottom: 90px; } }
/* the label runs up the card's left edge, the part of each card a fanned hand leaves showing */
.hand { width: 380px; height: 220px; }
.hand a { width: 88px; height: 124px; margin-left: -44px; transform: rotate(calc((var(--i) - 2) * 13deg)); }
.hand a:hover, .hand a:focus-visible { transform: rotate(calc((var(--i) - 2) * 13deg)) translateY(-18px); }
.hand a span { left: 7px; top: 9px; writing-mode: vertical-rl; transform: rotate(180deg); transform-origin: center; font-size: 13.5px; height: 104px; display: flex; align-items: center; justify-content: flex-end; }
.hand a::after { left: auto; right: 9px; top: 9px; bottom: auto; }
.i-cases > .floor-phone { z-index: 2; }
@media (max-width: 700px) { .hand { width: 250px; height: 150px; } .hand a { width: 62px; height: 88px; margin-left: -31px; } .hand a span { font-size: 10.5px; height: 72px; left: 5px; top: 7px; } }
.i-cases > .floor-phone { z-index: 0; } .i-cases > .card { z-index: 1; }
@media (max-width: 1000px) { .i-hero { column-gap: 40px; grid-template-columns: minmax(0, 1fr) 240px; } }
@media (max-width: 700px) {
  .i-hero { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
  .i-nav .hand a { display: block !important; }
}
/* hand v2: a loose spread rather than a tight fan, so each card shows its top-left corner and the name reads level */
.hand { width: 470px; height: 190px; }
.hand a { left: 0; margin-left: 0; width: 108px; height: 150px; top: 20px; transform-origin: 50% 100%;
  translate: calc(var(--i) * 84px) calc(abs(var(--i) - 2) * 7px); transform: rotate(calc((var(--i) - 2) * 4deg)); }
.hand a:hover, .hand a:focus-visible { transform: rotate(calc((var(--i) - 2) * 4deg)) translateY(-16px); }
.hand a span { writing-mode: horizontal-tb; transform: none; height: auto; display: block; left: 10px; top: 11px; font-size: 14.5px; }
.hand a::after { right: 10px; top: auto; bottom: 10px; }
@media (max-width: 700px) {
  .hand { width: 330px; height: 130px; margin-right: 6px; } .hand a { width: 74px; height: 104px; translate: calc(var(--i) * 62px) calc(abs(var(--i) - 2) * 5px); }
  .hand a span { font-size: 11px; left: 7px; top: 8px; }
}
@media (max-width: 700px) { .hand { width: 316px; } .hand a { width: 70px; height: 98px; translate: calc(var(--i) * 58px) calc(abs(var(--i) - 2) * 5px); } .hand a::after { display: none; } } .hand a::after { display: none; }
/* MENU v3: landscape cards lying in the grass, tucked under the top edge of the page so only their lower part shows.
   Pointing at one pulls it a little further out. */
.i-nav { top: 0; right: 40px; }
.hand { width: 640px; height: 110px; margin: 0; }
.hand a { top: -62px; left: 0; width: 132px; height: 120px; border-radius: 9px; transform-origin: 50% 0;
  translate: calc(var(--i) * 128px) 0; transform: rotate(calc((var(--i) - 2) * 1.6deg + (var(--i) * 37 % 5 - 2) * .6deg)); }
.hand a:hover, .hand a:focus-visible { transform: rotate(calc((var(--i) - 2) * 1.6deg + (var(--i) * 37 % 5 - 2) * .6deg)) translateY(12px); }
.hand a span { left: 14px; top: auto; bottom: 14px; font-size: 16px; writing-mode: horizontal-tb; transform: none; height: auto; }
.hand a > .blade, .hand a > .blade-clip { pointer-events: none; }
@media (max-width: 700px) {
  .i-nav { right: 8px; } .hand { width: 370px; height: 80px; }
  .hand a { width: 76px; height: 96px; top: -58px; translate: calc(var(--i) * 74px) 0; } .hand a span { font-size: 11.5px; left: 8px; bottom: 9px; }
}
/* menu v3b: wider cards so labels never run under the next one; only the bottom edge is grassy */
.hand { width: 700px; }
.hand a { width: 144px; translate: calc(var(--i) * 140px) 0; }
.hand a span { bottom: 20px; left: 16px; }
@media (max-width: 700px) { .hand { width: 380px; } .hand a { width: 78px; translate: calc(var(--i) * 75px) 0; } .hand a span { bottom: 13px; left: 8px; } }
@media (max-width: 700px) { .hand a span { font-size: 10.5px; left: 7px; letter-spacing: -.01em; } }
/* quieter ground (Ian picked "middle"): same scan, mid-scale clutter toned down, not blurred */
.x-i { background-image: var(--shade), url("tex/moss-quiet-a.webp"); }
.blade { background-image: linear-gradient(0deg, rgba(0,0,0,.12), rgba(255,250,210,.04) 70%, rgba(255,250,210,.08)), var(--shade), url("tex/moss-quiet-a.webp"); }
/* Light baked into each piece's own background instead of blend layers over the whole page (those made scrolling lag).
   Every lit piece knows its offset in the scene (--ox, --oy, set by blades.js), so the canopy shade, the sun flecks and the
   page-wide falloff line up across the ground, the cards, the menu and the grass blades. */
.x-i { --ox: 0px; --oy: 0px; }
.x-i, .card, .hand a, .blade {
  --L-img: url("tex/canopy-sun-2.webp"), url("tex/canopy-shade-L.webp"),
    radial-gradient(ellipse 140% 100% at 25% 15%, rgba(255,255,255,0) 55%, rgba(40,48,30,.27)),
    linear-gradient(150deg, rgb(255,253,249) 0%, rgb(246,246,239) 55%, rgb(232,234,223) 100%);
  --L-pos: calc(-180px - var(--ox) - var(--wx, 0px)) calc(-120px - var(--oy) - var(--wy, 0px)), calc(-180px - var(--ox) - var(--wx, 0px)) calc(-120px - var(--oy) - var(--wy, 0px)),
    calc(0px - var(--ox)) calc(0px - var(--oy)), calc(0px - var(--ox)) calc(0px - var(--oy));
  --L-size: 1600px, 1600px, var(--pw, 100%) var(--ph, 100%), var(--pw, 100%) var(--ph, 100%);
  --L-blend: soft-light, multiply, multiply, multiply;
}
.x-i > .i-light, .x-i > .i-sun { display: none; }
.x-i { background-image: var(--L-img), var(--shade), url("tex/moss-quiet-2k.webp");
  background-size: var(--L-size), auto, 900px; background-position: var(--L-pos), 0 0, calc(0px - var(--wx, 0px)) calc(0px - var(--wy, 0px)); background-blend-mode: var(--L-blend), normal, normal; background-repeat: repeat; }
.card { background-image: var(--L-img), linear-gradient(125deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 65%, rgba(255,255,255,.12) 100%), linear-gradient(rgba(248,248,246,.78), rgba(248,248,246,.78)), url("tex/linen-n.webp");
  background-size: var(--L-size), auto, auto, 512px; background-position: var(--L-pos), 0 0, 0 0, 0 0; background-blend-mode: var(--L-blend), normal, normal, normal; background-repeat: repeat; }
.hand a:not(.r) { background-image: var(--L-img), url("tex/linen-n.webp"); background-size: var(--L-size), 512px; background-position: var(--L-pos), 0 0; background-blend-mode: var(--L-blend), normal; }
.hand a.r { background-image: var(--L-img), url("tex/paper006_tile-1024.webp"); background-size: var(--L-size), 220px; background-position: var(--L-pos), 0 0; background-blend-mode: var(--L-blend), multiply; }
.blade { background-image: var(--L-img), linear-gradient(0deg, rgba(0,0,0,.12), rgba(255,250,210,.04) 70%, rgba(255,250,210,.08)), var(--shade), url("tex/moss-quiet-2k.webp");
  background-size: var(--L-size), 100% 100%, auto, 900px; background-position: var(--L-pos), 0 0, 0 0, calc(0px - var(--ox) - var(--wx, 0px)) calc(0px - var(--oy) - var(--wy, 0px)); background-blend-mode: var(--L-blend), normal, normal, normal; background-repeat: repeat; }
/* pieces that keep their own look sit a touch darker, as they did under the old light layer */
.x-i .s-btn, .i-label { filter: brightness(.95); }
.litter.flat { filter: saturate(.6) brightness(.68) drop-shadow(0 1px 1px rgba(0,0,0,.35)); }
.litter.under { filter: saturate(.7) brightness(.76) drop-shadow(0 1px 1.5px rgba(0,0,0,.35)); }
.litter.over { filter: saturate(.75) brightness(.8) drop-shadow(.5px 2px 2px rgba(0,0,0,.32)); }
/* the letters' thickness is cast by the whole name, so it stays put while a letter twirls */
.i-name .fill-cv > canvas { filter: none; }
.i-name .fill-cv { filter: drop-shadow(1px 1px 0 rgba(6,8,2,.6)) drop-shadow(4px 6px 3px rgba(6,8,2,.75)) drop-shadow(14px 20px 16px rgba(6,8,2,.5)); }
/* grass painted on canvas: a few strips per piece, and one canvas over the page for blades the cursor is bending */
.blade-strip { position: absolute; pointer-events: none; z-index: 4; max-width: none; max-height: none; } /* the site-wide img max-width squeezed the resting strips */
.i-name > .blade-strip { z-index: 9; }
.brush-cv { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 50; }
/* menu cards sit a little apart */
.hand { width: 740px; }
.hand a { width: 132px; translate: calc(var(--i) * 146px) 0; }
@media (max-width: 700px) { .hand { width: 380px; } .hand a { width: 70px; translate: calc(var(--i) * 76px) 0; } .hand a span { font-size: 10px; left: 6px; } }
/* the letters cast their thickness again from each canvas; a rocking tile casts it from its bottom slice */
.i-name .fill-cv { filter: none; }
/* the letters lie flat on the ground, so their shadow hugs them: a dark contact line and a short soft spread, barely offset */
.i-name .fill-cv > canvas, .rock-tile > canvas.rock-base { filter: drop-shadow(.5px .8px .5px rgba(6,8,2,.7)) drop-shadow(1.5px 2.5px 2px rgba(6,8,2,.6)) drop-shadow(3px 5px 7px rgba(6,8,2,.35)); }
.i-name .rock-tile canvas { filter: none !important; }
.i-name canvas.rock-shadow { filter: none !important; }
/* a rocking letter's shadow: the same chain as a resting letter's (the letter itself is masked out in site-r.js) */
.i-name .rock-shadow { filter: drop-shadow(1px 1px 0 rgba(6,8,2,.6)) drop-shadow(4px 6px 3px rgba(6,8,2,.75)) drop-shadow(14px 20px 16px rgba(6,8,2,.5)); }
.i-name .rock-shadow canvas { filter: none !important; }

/* the name's sprigs: the sprig's own photo under the same light as the ground, instead of a cut-out of the ground */
.blade { background-image: var(--L-img), linear-gradient(0deg, rgba(0,0,0,.12), rgba(255,250,210,.04) 70%, rgba(255,250,210,.08)), var(--shade), var(--sp);
  background-size: var(--L-size), 100% 100%, auto, 100% 100%; background-position: var(--L-pos), 0 0, 0 0, 0 0; background-repeat: repeat, repeat, repeat, repeat, repeat, repeat, no-repeat; }
.i-name .rock-hold { filter: drop-shadow(1px 1px 0 rgba(6,8,2,.6)) drop-shadow(4px 6px 3px rgba(6,8,2,.75)) drop-shadow(14px 20px 16px rgba(6,8,2,.5)); }
.i-name .rock-hold { filter: none; } .i-name canvas.rock-shadow { filter: none !important; }
/* the hidden-words grid opens over everything: its card rises above the next card and all the grass while it is open */
/* the intro card always sits above its neighbours (raising it only while the hidden-words grid was open reshuffled the grass) */
.c-intro { z-index: 30; }
/* Loading: until the moss and the canopy light are decoded, the ground is a veil of its own average colour, which then
   fades away, so the texture comes up softly instead of popping in (the cards and menu sit above the veil) */
.x-i { background-color: rgb(87, 95, 70); }
html, body { background-color: rgb(87, 95, 70); }
.x-i::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgb(87, 95, 70); transition: opacity .25s ease; }
html.ground-in .x-i::after { opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s .25s; } /* (Ian: the slow fade-in was too slow on his phone) */
/* no veil at all (Ian: like a traditional site where the pan isn't available): the ground simply shows as it loads */
.x-i::after { content: none; }
/* a page shown already built (laid out ahead of the click) has nothing to fade in */
html.ground-now .x-i::after { transition: none; }
/* the wallet keeps its desktop size on wider two-column cards, so it never hangs down over the game's title */
@media (min-width: 701px) { .g1 .art-dw img.wallet { width: min(112%, 236px); margin: 0 -50%; } }
/* the wallet at life size (about 98 x 66 mm, against the game cards' true 63.5 mm width): wider than its card, so it lies
   across the card's top, its right edge near the card's, and hangs out over the moss to the left */
.g1 .art-dw { overflow: visible; }
.g1 .art-dw img.wallet { width: calc(var(--mm) * 98); max-width: none; margin: 0 0 0 calc(100% - var(--mm) * 98 + var(--mm) * 2); }
@media (min-width: 701px) { .g1 .art-dw { height: calc(var(--mm) * 40); } .g1 .art-dw img.wallet { transform: translate(0, calc(var(--mm) * -30)) rotate(-6deg); }
  .i-games { margin-top: calc(var(--mm) * 40); } }
@media (min-width: 1001px) { .i-games { margin-right: 0; margin-left: 12%; } #games { margin-left: 12%; } }
@media (min-width: 1001px) { .g1 .art-dw { height: calc(var(--mm) * 36); } }
/* two columns: the cards are wider than real cards here, so the wallet keeps a fixed size */
@media (min-width: 701px) and (max-width: 1000px) { .g1 .art-dw { height: 120px; } .g1 .art-dw img.wallet { width: 340px; margin-left: calc(100% - 332px); transform: translate(0, -110px) rotate(-6deg); } .i-games { margin-top: 120px; } }

/* ABOUT: one wide linen card, set in from the left */
.i-about { grid-template-columns: minmax(0, 700px); margin-left: 20%; } #about { margin-left: 20%; }
.c-about { transform: rotate(.7deg); }
.c-about .cf { padding: 26px 30px 28px; gap: 14px; }
.c-about .c-text { font-size: 17px; line-height: 1.6; text-wrap: pretty; }

/* SKILLS: a ruled 6 x 4 in index card at true size (152 x 102 mm), the skills printed on its lines */
.i-skills { grid-template-columns: auto; justify-content: start; margin-left: 30%; } #skills { margin-left: 30%; }
.index { --rule: calc(var(--mm) * 6.35); --head: calc(var(--mm) * 14);
  width: calc(var(--mm) * 152); min-height: calc(var(--mm) * 102); box-sizing: border-box; padding: calc(var(--head) + 5px) calc(var(--mm) * 8) var(--rule) calc(var(--mm) * 8);
  background-color: #fbfaf3;
  background-image: linear-gradient(rgba(214,72,66,.6), rgba(214,72,66,.6)),
    repeating-linear-gradient(to bottom, transparent 0 calc(var(--rule) - 1px), rgba(86,132,196,.38) calc(var(--rule) - 1px) var(--rule)),
    linear-gradient(170deg, rgba(255,255,255,.5), rgba(236,232,218,.35));
  background-size: 100% 1.2px, 100% calc(100% - var(--head) - var(--rule)), 100% 100%; background-position: 0 var(--head), 0 calc(var(--head) + 1.2px), 0 0;
  background-repeat: no-repeat;
  border-radius: 3px; transform: rotate(-1.2deg);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04), 0 1px 1px rgba(8,10,0,.45), 2px 4px 5px rgba(8,10,0,.32), 8px 14px 22px rgba(8,10,0,.3); }
.index dl { margin: 0; font-size: 15px; line-height: var(--rule); }
.index dl div + div { margin-top: var(--rule); }
.index dt { display: inline; font-family: var(--f-ui); font-weight: 700; margin-right: .45em; }
.index dd { display: inline; margin: 0; }

/* SEE ALL GAMES: a strip of label tape, like the section labels, but a link */
.i-more { margin: -96px 0 150px; text-align: right; }
.i-more a { display: inline-block; font-family: var(--f-ui); font-weight: 700; font-size: 15px; letter-spacing: .04em; color: #2b2720; text-decoration: none;
  background: rgba(226,214,180,.9) url("tex/paper001_tile-1024.webp") center / 300px; background-blend-mode: multiply; padding: 8px 20px 7px;
  box-shadow: 0 1px 1px rgba(0,0,0,.5), 2px 4px 6px rgba(0,0,0,.3); transform: rotate(1.2deg); filter: brightness(.95); }
.i-more a::after { content: " →"; }
.i-more a:hover, .i-more a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* CONTACT: a note with the links, and the message form on a second card beside it */
.i-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 44px; max-width: 980px; margin-left: 8%; margin-bottom: 40px; } #contact { margin-left: 8%; }
.c-contact { transform: rotate(-.9deg); } .c-contact .cf { padding: 24px 28px 26px; gap: 16px; }
.c-contact .c-text { font-size: 17px; line-height: 1.55; }
.c-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.c-links li { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: baseline; }
.c-links b { font-family: var(--f-ui); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.x-i .card .c-links a { margin: 0; overflow-wrap: anywhere; }
.x-i .c-form { display: block; border: 0; box-shadow: var(--sh); transform: rotate(.8deg) translateY(26px); }
.c-form .cf { padding: 22px 24px 24px; gap: 12px; }
.c-form label { display: grid; gap: 5px; font-family: var(--f-ui); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.x-i .c-form input, .x-i .c-form select, .x-i .c-form textarea { font: inherit; font-family: var(--f-body, inherit); font-size: 15px; font-weight: 400; color: var(--ink);
  background: rgba(255,255,255,.5); border: 1px solid rgba(42,41,36,.3); border-radius: 6px; padding: 9px 10px; width: 100%; box-sizing: border-box; box-shadow: inset 0 1px 2px rgba(30,40,0,.12); }
.x-i .c-form textarea { min-height: 96px; resize: vertical; }
.x-i .c-form input:focus-visible, .x-i .c-form select:focus-visible, .x-i .c-form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.c-form .s-btn { justify-self: start; align-self: flex-start; margin-top: 4px; }

@media (max-width: 1000px) { .i-about, #about { margin-left: 6%; } .i-skills, #skills { margin-left: 8%; } #contact { margin-left: 0; } .i-more { margin-top: -60px; } .i-contact { margin-left: 0; } }
@media (max-width: 700px) {
  .i-about, .i-skills, #about, #skills { margin-left: 0; } .i-about { grid-template-columns: minmax(0,1fr); }
  .c-about .cf, .c-contact .cf { padding: 20px 20px 22px; } .c-about .c-text, .c-contact .c-text { font-size: 16px; }
  .i-skills { grid-template-columns: minmax(0,1fr); }
  .index { --rule: 26px; --head: 30px; width: auto; min-height: 0; padding: calc(var(--head) + 5px) 18px var(--rule); }
  .index dl { font-size: 14.5px; }
  .i-more { margin: -50px 0 90px; }
  .i-contact { grid-template-columns: minmax(0,1fr); gap: 34px; } .x-i .c-form { transform: rotate(.6deg); }
}
/* the screen-reader announcer sat after the page and added a strip of empty page below it */
body > p[role="status"] { top: 0; left: 0; }
@media (max-width: 700px) { .g1 .art-dw img.wallet { width: 86%; margin: 0 auto; } }
/* plain-spoken labels: sentence case on the tape (spaced-out capitals read as template), and no arrow on the one tape link */
.x-i .i-label { text-transform: none; letter-spacing: .01em; font-size: 17px; }
.i-more a::after { content: none; }
/* the index card never runs off the page: it moves left as the window narrows, and shrinks (text reflowing on its lines) only when it must */
@media (min-width: 701px) { .i-skills, #skills { margin-left: clamp(0px, calc(100% - var(--mm) * 152 - 40px), 30%); }
  .index { width: min(calc(var(--mm) * 152), 100%); min-height: min(calc(var(--mm) * 102), 70vh); } }
.c-me .c-name { margin: 4px 0 0; font-family: var(--f-heading); font-weight: 800; font-size: 21px; letter-spacing: -.02em; line-height: 1.1; }
.x-i .i-more a { color: var(--accent); }
/* text needs to stay readable in the shade: on cards the canopy shade is a little over half as deep as on the moss
   (paper throws back more light than leaves anyway), and the grey text is darker */
.x-i .card { --L-img: url("tex/canopy-sun-2.webp"), url("tex/canopy-shade-card.webp"),
    radial-gradient(ellipse 140% 100% at 25% 15%, rgba(255,255,255,0) 55%, rgba(40,48,30,.27)),
    linear-gradient(150deg, rgb(255,253,249) 0%, rgb(246,246,239) 55%, rgb(232,234,223) 100%); }
.x-i { --muted: #47443b; }
/* links: the same orange a shade deeper, at 19px bold, so they pass WCAG AA (3:1 for large text) on cards in shade and on tape */
.x-i { --link: #9a2d19; } /* (darker than the old #b5371f, which was 4.1-4.4:1 on the paper: site review 2026-11-09) */
.x-i .card a:not(.s-btn), .x-i .i-more a { color: var(--link); font-size: 19px; font-weight: 700; }
.x-i .i-more a { background-color: rgba(240,233,210,.95); filter: none; }
/* visible keyboard focus on the menu cards and on the name (a tab stop for typing hidden words) */
.x-i .hand a:focus-visible { outline: 3px solid #f5f1e6; outline-offset: 2px; }
.x-i .i-hero h1:focus-visible:not(.by-pointer) { outline: 3px solid #f5f1e6; outline-offset: 8px; border-radius: 8px; text-decoration: none; }
/* the name's sprigs keep their own layer all the time: the browser drew them a little differently while they swayed than at
   rest, so they flickered at the start and end of every sway */
.i-name > .blade { will-change: transform; }
/* Safari sorts a tipping 3D letter by depth against the leaves lying over it, and drew the raised edge in front of them; the
   leaves sit well above the highest a letter can tip (no perspective above them, so nothing changes size) */
.i-name > .blade, .i-name > .blade-strip { translate: 0 0 200px; }
/* the letters keep one flat layer of their own, so their 3D tipping stays inside it and can't cut through the leaves */
.i-name { isolation: isolate; } .i-name > .fill-cv { will-change: transform; }

/* the scene keeps one layer of its own for good, so the moss layer under it showing and hiding, or sprigs being redrawn,
   never makes the browser re-layer (and redraw) the whole page mid-scroll: that showed as bare green on a fast scroll */
.x-i .i-scene { will-change: transform; }

/* each contact link stays on one line (Ian), and the three links are laid out alike: label and link side by side while
   the longest one (linkedin.com/in/ian-tarter) fits, otherwise every link sits under its label */
.x-i .card .c-links a { white-space: nowrap; overflow-wrap: normal; }
.c-links { container-type: inline-size; }
.c-links li { grid-template-columns: 76px auto; }
@container (max-width: 372px) { .c-links li { grid-template-columns: 1fr; row-gap: 2px; } }

.site.x-i .s-egg-chip { position: relative; border: 0; border-radius: 10px; color: var(--ink); background: #f3f3ef url("tex/linen-n.webp") center / 150px; --edge: #a3a39b; --cast: rgba(10,14,4,.4);
  box-shadow: inset 1px 1.5px 0 rgba(255,236,210,.45), inset -1px -1px 0 rgba(60,10,0,.25), 1px 1px 0 var(--edge), 2px 2px 0 var(--edge), 3px 3px 0 var(--edge), 4px 4px 0 var(--edge), 4px 5px 2px var(--cast), 9px 12px 14px var(--cast);
  transition: transform .14s ease, box-shadow .14s ease; filter: brightness(.95); }
.site.x-i .s-egg-chip:active { transform: translate(3px, 3px);
  box-shadow: inset 1px 1.5px 0 rgba(255,236,210,.35), inset -1px -1px 0 rgba(60,10,0,.25), 1px 1px 0 var(--edge), 2px 2px 1px var(--cast), 4px 5px 6px var(--cast); }
/* Buttons are thick tokens lying on the card, seen from straight above like everything else: no side walls show, only
   a thin rim (light on the upper left, darker on the lower right) and the shadow they cast. Pointed at, a token grows
   taller: its top comes closer, so it looks a little bigger, and its shadow reaches further from it. Pressed, it sinks.
   The three states use the same list of layers, so one slides smoothly into the next. The hidden-words badge is the
   same kind of token as "Email me" beside it. */
.site.x-i .s-btn, .site.x-i .s-egg-chip { transform: none; transition: transform .16s ease, box-shadow .16s ease;
  box-shadow: inset 1px 1px 0 rgba(255,240,220,.5), inset -1px -1.5px 0 rgba(40,20,0,.28), 0 0 0 .5px var(--edge), .5px 1px 1px rgba(10,14,4,.55), 3px 4px 3px var(--cast), 8px 11px 12px var(--cast); }
.site.x-i .s-btn:hover, .site.x-i .s-btn:focus-visible, .site.x-i .s-egg-chip:hover, .site.x-i .s-egg-chip:focus-visible { transform: scale(1.02);
  box-shadow: inset 1px 1px 0 rgba(255,240,220,.5), inset -1px -1.5px 0 rgba(40,20,0,.28), 0 0 0 .5px var(--edge), .75px 1.5px 1.5px rgba(10,14,4,.5), 4.5px 6px 4px var(--cast), 11px 15px 15px var(--cast); }
.site.x-i .s-btn:active, .site.x-i .s-egg-chip:active { transform: scale(.992);
  box-shadow: inset 1px 1px 0 rgba(255,240,220,.4), inset -1px -1.5px 0 rgba(40,20,0,.3), 0 0 0 .5px var(--edge), .5px .75px .75px rgba(10,14,4,.58), 2px 3px 2.5px var(--cast), 6px 8px 9px var(--cast); }
@media (prefers-reduced-motion: reduce) { .site.x-i .s-btn, .site.x-i .s-egg-chip { transition: none; } }
/* the hidden-words badge shares the button row: on a narrow card the buttons tighten up so all three fit */
.x-i .s-actions.s-tight { gap: 7px; }
.x-i .c-intro .s-actions.s-tight .s-btn { padding: .62em .5em; font-size: .9em; }
.site.x-i .s-tight .s-egg-chip { padding: 0 6px; }
@media (max-width: 400px) { .x-i .c-intro .cf { padding-left: 20px; padding-right: 20px; } }
@media (max-width: 370px) { .x-i .c-intro .s-actions.s-tight .s-btn { font-size: .86em; } }
/* The pages lie side by side on the forest floor: the games to the left of the homepage, the case studies to its right,
   in the homepage's order. Following a link pans across to the next page (browsers with cross-page view transitions;
   others just load the page). The direction is set by the little script in each page's head. */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
::view-transition-group(root) { animation-duration: 1.5s; }
/* each page slides by its own width without the scrollbar, and the page whose right edge meets the other one has its
   scrollbar cut off, so no flat strip shows at the join (--sbw: the scrollbar's width, set in each page's head) */
html:active-view-transition-type(pan-right)::view-transition-old(root) { animation: pan-to-left 1.5s cubic-bezier(.3, 0, .3, 1) both; clip-path: inset(0 var(--sbw, 0px) 0 0); }
html:active-view-transition-type(pan-right)::view-transition-new(root) { animation: pan-from-right 1.5s cubic-bezier(.3, 0, .3, 1) both; }
html:active-view-transition-type(pan-left)::view-transition-old(root) { animation: pan-to-right 1.5s cubic-bezier(.3, 0, .3, 1) both; }
html:active-view-transition-type(pan-left)::view-transition-new(root) { animation: pan-from-left 1.5s cubic-bezier(.3, 0, .3, 1) both; clip-path: inset(0 var(--sbw, 0px) 0 0); }
@keyframes pan-to-left { to { transform: translateX(calc(var(--sbw, 0px) - 100%)); } }
@keyframes pan-from-right { from { transform: translateX(calc(100% - var(--sbw, 0px))); } }
@keyframes pan-to-right { to { transform: translateX(calc(100% - var(--sbw, 0px))); } }
@keyframes pan-from-left { from { transform: translateX(calc(var(--sbw, 0px) - 100%)); } }
/* the clearing at the bottom: a long walk of open moss to a rock you can sit on; sitting lets a breeze run through the
   grass. The light goes to sunset on the way down (one still layer that scrolls with the page, so it costs nothing to scroll) */
.i-field { position: relative; height: max(240vh, 1700px); margin: 120px 0 -120px; } /* reaches the bottom of the page, through the scene's padding */
.i-rock { position: absolute; left: 50%; bottom: 25vh; width: min(205px, 36vw); transform: translate(-50%, 50%) rotate(-6deg); /* its middle three quarters of the way down the last screen */ padding: 0; border: 0; background: none; cursor: pointer; z-index: 3; }
.rock-img { display: block; width: 100%; height: auto; filter: drop-shadow(2px 3px 2px rgba(8,10,0,.5)) drop-shadow(10px 16px 16px rgba(8,10,0,.38)); }
.i-rock:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 40%; }
/* (the gold is cut to the canopy gaps where this page lies on the floor: --wx/--wy, as for the daylight) */
/* at sunset the low sun is warm and dim and the sky is blue: the moss in shade is lit only by the sky, so it goes darker
   and cooler, and the patches the sun still reaches turn gold. So one layer cools and dims everything, and a second, cut
   to the same canopy gaps as the daylight, brings the sun back warm, both fading in down the clearing */
.x-i > .i-dusk { position: absolute; left: 0; right: 0; bottom: 0; height: calc(max(240vh, 1700px) + 60vh); z-index: 8; pointer-events: none;
  background: linear-gradient(rgba(140,160,210,0), rgba(140,160,210,.42) 45%, rgba(120,138,200,.66) 85%, rgba(112,128,196,.72)); mix-blend-mode: multiply; }
.x-i > .i-glow { mix-blend-mode: color-dodge; background: rgb(128,86,18);
  -webkit-mask-image: linear-gradient(transparent 5%, rgba(0,0,0,.6) 50%, #000 90%), url("tex/dusk-sun.webp"); mask-image: linear-gradient(transparent 5%, rgba(0,0,0,.6) 50%, #000 90%), url("tex/dusk-sun.webp");
  mask-size: 100% 100%, 1600px; mask-repeat: no-repeat, repeat; mask-composite: intersect; -webkit-mask-composite: source-in;
  mask-position: 0 0, calc(-180px - var(--wx, 0px)) calc(-120px - var(--wy, 0px) - var(--ph, 0px) + max(240vh, 1700px) + 60vh); -webkit-mask-size: 100% 100%, 1600px; -webkit-mask-repeat: no-repeat, repeat;
  -webkit-mask-position: 0 0, calc(-180px - var(--wx, 0px)) calc(-120px - var(--wy, 0px) - var(--ph, 0px) + max(240vh, 1700px) + 60vh); }
/* on the narrowest phones the longest link (linkedin.com/in/ian-tarter) would reach the card's edge on one line */
@container (max-width: 262px) { .x-i .card .c-links a { font-size: 13.5px; } }
@media (max-width: 700px) { .i-field { margin-bottom: -80px; } } /* the scene's bottom padding is smaller on phones */
html.sitting, html.sitting body { touch-action: none; overscroll-behavior: none; } /* sitting, a finger on the moss combs it rather than moving the page */

/* PREVIEW MOCKUPS (Ian, 2026-10-31): slots for the "above and beyond" ideas. Each is outlined and tagged so it can't be
   mistaken for finished copy; bracketed text is a placeholder for Ian's own material. */
.mock { position: relative; outline: 1.5px dashed rgba(181,55,31,.75); outline-offset: 6px; border-radius: 2px; }
.mock::before { content: attr(data-mock); position: absolute; right: -6px; top: -18px; z-index: 3; font: 600 10.5px/1 var(--f-ui); letter-spacing: .02em; color: #fff8ec; background: #b5371f; padding: 3px 6px 2px; border-radius: 2px; white-space: nowrap; pointer-events: none; }
li.mock::before, label.mock::before, .c-pdf.mock::before, .c-now.mock::before { top: -14px; }
.ph { color: #8a5a2b; font-style: italic; }
.c-pdf { margin: 14px 0 0; font: 500 14px/1.4 var(--f-ui); }
.c-pdf a { color: var(--accent, #b5371f); }
.c-now { margin-top: 14px; }
.s-tldr { margin-top: 54px; padding: 16px 18px 14px; background: rgba(255,250,236,.55); }
.s-tldr-h { margin: 0 0 12px; }
.s-tldr dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.s-tldr dt { font-size: 14px; line-height: 1.4; color: var(--muted); margin-bottom: 4px; }
.s-tldr dd { margin: 0; font-size: 17px; line-height: 1.5; }
@media (max-width: 700px) { .s-tldr dl { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
.s-artifact { margin-block: 30px; }
.s-artifact-box { aspect-ratio: 16 / 5; display: grid; place-items: center; background: repeating-linear-gradient(135deg, rgba(120,110,90,.08) 0 10px, rgba(120,110,90,.03) 10px 20px); border: 1px solid rgba(60,55,45,.18); }
.s-artifact figcaption { margin-top: 8px; font-size: 14px; line-height: 1.4; }
.g-sheet { margin-top: 16px; padding: 12px; background: rgba(255,250,236,.5); }
.g-photo { aspect-ratio: 3 / 2; display: grid; place-items: center; margin-bottom: 10px; background: repeating-linear-gradient(135deg, rgba(120,110,90,.08) 0 10px, rgba(120,110,90,.03) 10px 20px); border: 1px solid rgba(60,55,45,.18); font-size: 14px; }
.g-sheet dl { margin: 0 0 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; font-size: 13.5px; }
.g-sheet dt { font-weight: 700; } .g-sheet dd { margin: 0; }
.g-sheet a { font: 600 13.5px/1 var(--f-ui); }
.g-sheet .g-wide { grid-column: 1 / -1; }
.g-pdf { margin: 24px 0 0; } .g-card .g-photo { margin: 0 0 12px; }
.g-facts { margin: 14px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; font-size: 14px; line-height: 1.4; } .g-facts dt { color: var(--muted); } .g-facts dd { margin: 2px 0 0; }

/* one set of text colours (Ian, 2026-10-31: keep the hierarchy simple): the older site tokens follow the diorama's ink,
   muted and link colours, so there is one near-black, one grey and one red */
.x-i { --s-text: var(--ink); --s-muted: var(--muted); --s-link: var(--link); }
.x-i .i-label { color: var(--ink); }
.skip { font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.x-i .c-intro { color: var(--ink); }
.x-i .c-me { color: var(--ink); }

/* ONE TYPE SCALE (Ian, 2026-10-31: keep the hierarchy simple). Six sizes, each with one job; the name keeps its own.
   14 labels and small print · 17 body, links and buttons · 20 intro lines · 22 titles · 26 the hero line · 58 page titles */
.x-i.x-i { --t14: 14px; --t17: 17px; --t20: 20px; --t22: 22px; --t26: 26px; --t58: 58px; }
.x-i.x-i .c-type, .x-i.x-i .c-org, .x-i.x-i .meta, .x-i.x-i .s-case-meta, .x-i.x-i .c-links b, .x-i.x-i .s-form label,
.x-i.x-i .s-case-facts dt, .x-i.x-i figcaption, .x-i.x-i .i-jobs .c-text { font-size: var(--t14); }
.x-i.x-i .c-text, .x-i.x-i .s-body p, .x-i.x-i .s-skills dd, .x-i.x-i .s-skills dt, .x-i.x-i dl dd, .x-i.x-i dl dt,
.x-i.x-i .s-form select, .x-i.x-i .s-form input, .x-i.x-i .s-form textarea, .x-i.x-i .s-btn, .x-i.x-i .hand a span,
.x-i.x-i .cf a, .x-i.x-i .c-links a, .x-i.x-i .i-more, .x-i.x-i .i-more a, .x-i.x-i .s-quote cite a, .x-i.x-i .s-more { font-size: var(--t17); }
.x-i.x-i .s-case-facts dt { font-size: var(--t14); }
.x-i.x-i .s-case-facts dd { font-size: var(--t17); }
.x-i.x-i .s-case-lede, .x-i.x-i .s-case-q, .x-i.x-i .i-jobs h3 { font-size: var(--t20); }
.x-i.x-i .cf h3, .x-i.x-i .c-name, .x-i.x-i .s-label { font-size: var(--t22); }
.x-i.x-i .i-jobs h3 { font-size: var(--t20); }
.x-i.x-i .c-pitch, .x-i.x-i .art-birds .slip { font-size: var(--t26); }
.x-i.x-i .s-case-title, .x-i.x-i .s-case-stats b { font-size: var(--t58); }
.x-i.x-i .g-facts dt, .x-i.x-i .g-facts dd, .x-i.x-i .s-tldr dt { font-size: var(--t14); }
.x-i.x-i .s-tldr dd { font-size: var(--t17); }
@media (max-width: 700px) { .x-i.x-i .hand a span { font-size: 10px; } } /* the phone menu cards are too small for the scale: like the name, they keep their own size */
/* in-progress games read as a quick screen (Ian): name, photo, a 3x2 row of facts, then the one-line hook */
.g-pitch h3 { margin: 0 0 12px; }
.g-pitch .g-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 14px; }
.g-pitch .cf > p { margin: 0; }
.g-pitch .cf { padding-top: 22px; padding-bottom: 24px; }
.g-pitch h3 { margin-bottom: 16px; }
.g-pitch .g-photo { margin-bottom: 26px; }
.g-pitch .g-facts { gap: 20px 20px; margin: 4px 0 24px; }
.g-pitch .g-facts dd { margin-top: 4px; }
/* Daily Weather card in the facts layout: wallet fills the photo slot, lying on the card */
.x-i .g1.g-pitch .art-dw { aspect-ratio: 3 / 2; height: auto; margin: 0 0 26px; display: flex; align-items: center; justify-content: center; }
.x-i .g1.g-pitch .art-dw img.wallet { width: 104%; max-width: none; margin: 0 -2%; transform: rotate(-6deg); }
.x-i .g-pitch .g-facts dd a { white-space: normal; }
/* Games as a 2x2 grid (Ian, 2026-10-31) */
@media (min-width: 701px) { .x-i .i-games { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px 40px; max-width: 760px; } }
/* Projects page uses the homepage game cards: same grid, size and spacing */
.x-i.games-i .g-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px 40px; max-width: 760px; }
@media (max-width: 700px) { .x-i.games-i .g-grid { grid-template-columns: minmax(0,1fr); gap: 22px; } }
.x-i.games-i .g-card.g-pitch > .cf { display: block; padding: 22px 24px 24px; }
.x-i.games-i .g-card.g-pitch h3 { margin: 0 0 16px; }
.x-i.games-i .g-card.g-pitch p.c-text { font-size: 15px; line-height: 1.5; }
.x-i.games-i .g-card.g-pitch p.c-text + p.c-text { margin-top: 10px; }
.g-facts dd { overflow-wrap: anywhere; }
.g-photo.g-real { background: none; border: 0; display: block; aspect-ratio: auto; }
.g-photo.g-real img { width: 100%; height: auto; display: block; border-radius: 2px; box-shadow: .5px 1px 1px rgba(10,14,4,.4), 3px 5px 6px rgba(10,14,4,.22); }
.x-i.games-i .g-quotes { max-width: 760px; } .x-i.games-i .g-quotes > .cf { gap: 14px; }
.x-i.games-i .g-grid + .g-quotes { margin-top: -40px; }
.x-i.games-i .g-card.g-pitch .g-photo { margin: 0 0 26px; }
/* Experience as 3 columns, 2 rows (Ian, 2026-11-01) */
@media (min-width: 701px) { .x-i .i-jobs { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px 32px; max-width: 900px; } }
/* Center the card groups on the page, labels aligned to each group's left edge (Ian, 2026-11-01) */
@media (min-width: 701px) {
  .x-i .i-games { margin-left: auto; margin-right: auto; }
  .x-i #games { margin-left: max(0px, calc((100% - 760px) / 2)); }
  .x-i .i-jobs { margin-left: auto; margin-right: auto; }
  .x-i #exp { margin-left: max(0px, calc((100% - 900px) / 2)); }
  .x-i.games-i .i-scene { max-width: calc(760px + 80px); }
  .x-i.games-i .c-head { max-width: none; }
}
.x-i .i-row.i-games { margin-top: 0; } /* the wallet no longer hangs over the top edge */
.x-i .g-photo.g-real img.s-card-img { width: 100%; margin: 0; aspect-ratio: auto; order: 0; }

/* Live site: unfilled placeholders stay hidden until they have real content */
.g-photo.mock, .s-artifact.mock, .g-facts > div:has(.ph) { display: none; }
.g-facts.mock { outline: none; }
.g-facts.mock::before { display: none; }
/* Everything on the homepage centered (Ian, 2026-11-01) */
@media (min-width: 701px) {
  .x-i .i-about { margin-left: auto; margin-right: auto; justify-content: center; }
  .x-i #about { margin-left: max(0px, calc((100% - 700px) / 2)); }
  .x-i .i-skills { margin-left: 0; grid-template-columns: minmax(0,1fr); justify-items: center; }
  .x-i #skills { margin-left: max(0px, calc((100% - var(--mm) * 152) / 2)); }
  .x-i .i-more { max-width: 760px; margin-left: auto; margin-right: auto; }
  .x-i .i-cases { translate: 10px 0; }
}
/* One shared 900px column for About, Experience, Skills, Games, Contact; hero and case row stay wide (Ian, 2026-11-01) */
@media (min-width: 701px) {
  .x-i { --col: 900px; }
  .x-i .i-about, .x-i .i-jobs, .x-i .i-skills, .x-i .i-games, .x-i .i-more, .x-i .i-contact { max-width: var(--col); margin-left: auto; margin-right: auto; }
  .x-i #about, .x-i #exp, .x-i #skills, .x-i #games, .x-i #contact { margin-left: max(0px, calc((100% - var(--col)) / 2)); }
  .x-i .i-about { grid-template-columns: minmax(0, 1fr); }
  .x-i .c-about .cf { display: block; columns: 2; column-gap: 44px; }
  .x-i .c-about .cf > * { break-inside: avoid; margin: 0 0 14px; }
  .x-i .i-games { gap: 40px; }
}
@media (min-width: 701px) and (max-width: 860px) { .x-i .c-about .cf { columns: 1; } }
/* Case card titles on one line across the row (Ian, 2026-11-01): same picture height, meta line reserves two lines and sits on the title */
@media (min-width: 1001px) {
  .x-i .i-cases > .card .c-art { height: 256px; aspect-ratio: auto; }
  .x-i .i-cases > .card .c-type { min-height: 46px; display: flex; align-items: flex-end; }
  .x-i .i-cases > .k1, .x-i .i-cases > .k2, .x-i .i-cases > .k3 { margin-top: 110px; translate: none; }
  .x-i .i-cases > .k1 { transform: rotate(-1.6deg); } .x-i .i-cases > .k2 { transform: rotate(.9deg); } .x-i .i-cases > .k3 { transform: rotate(-.5deg); }
}
/* Class feedback (2026-11-05): work comes sooner, and the hero line splits into a headline and a tagline */
.x-i .i-hero { padding-bottom: 30px; }
.x-i.x-i .c-pitch .c-role { display: block; font-family: var(--f-heading); font-weight: 700; font-size: var(--t26); line-height: 1.2; letter-spacing: -.01em; margin-bottom: 8px; }
.x-i.x-i .c-pitch .c-tag { display: block; font-size: var(--t20); font-weight: 400; line-height: 1.4; }
@media (max-width: 700px) { .x-i .i-hero { padding-bottom: 20px; } }
/* First screen on a 12-column grid (Ian, 2026-11-05): name, headline, tagline and the case studies on one laptop screen.
   One gutter (24px) and one spacing scale (8 / 16 / 24 / 32 / 48). */
@media (min-width: 1001px) {
  .x-i.x-i .i-hero { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 16px; align-items: start; margin-top: -40px; padding: 0; }
  .x-i.x-i .i-name { grid-column: 1 / 10; grid-row: 1; align-self: end; margin: 0; }
  .x-i.x-i .i-hero h1 { font-size: 88px; }
  .x-i.x-i .c-intro { grid-column: 1 / 9; grid-row: 2; margin: 0; max-width: none; align-self: start; }
  .x-i.x-i .c-intro > .cf { height: auto; min-height: 0; padding: 24px 24px 24px; }
  .x-i.x-i .c-intro .s-actions { margin-top: 16px; }
  .x-i.x-i .c-me { grid-column: 11 / 13; grid-row: 1 / 3; width: auto; margin: 0; align-self: end; }
  .x-i.x-i #work { margin: 32px 0 16px; }
  .x-i.x-i .i-cases { container-type: inline-size; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-top: 0; margin: 0 0 256px; translate: none; align-items: stretch; }
  .x-i.x-i .i-cases > .floor-phone { --mm: calc(((100cqw - 11 * 24px) / 12 * 3 + 48px) / 71.6); grid-column: 1 / 4; grid-row: 1; width: 100%; height: auto; aspect-ratio: 71.6 / 147.6; margin: 0 0 -100cqw; align-self: start; }
  .x-i.x-i .i-cases > .k1 { grid-column: 4 / 7; } .x-i.x-i .i-cases > .k2 { grid-column: 7 / 10; } .x-i.x-i .i-cases > .k3 { grid-column: 10 / 13; }
  .x-i.x-i .i-cases > .k1, .x-i.x-i .i-cases > .k2, .x-i.x-i .i-cases > .k3 { grid-row: 1; margin: 0; }
  .x-i.x-i .i-cases > .card .cf { padding: 24px; }
  .x-i.x-i .i-cases > .card .c-art { height: 112px; overflow: visible; align-items: start; margin-bottom: 16px; }
  .x-i.x-i .i-cases > .card .c-art .slip { transform-origin: 50% 0; scale: .66; }
  .x-i.x-i .i-cases > .card .c-text { display: none; }
  .x-i.x-i .i-cases > .card a:not(.s-btn) { padding-top: 8px; }
}
/* The shared column below the fold sits on the same 12-column grid: columns 2 to 11 */
@media (min-width: 1001px) { .x-i { --col: calc(100% - 2 * ((100% - 264px) / 12 + 24px)); } }
/* Case studies as real playing cards (Ian, 2026-11-05): 5:7, corner indices, only the graphic and the title, the whole card is the link */
.x-i.x-i.x-i .i-cases > .case { aspect-ratio: 5 / 7; position: relative; cursor: pointer; transition: translate .25s cubic-bezier(.3,0,.3,1); }
.x-i.x-i.x-i .i-cases > .case .cf { height: 100%; display: flex; flex-direction: column; padding: 40px 28px 40px; box-sizing: border-box; }
.x-i.x-i.x-i .i-cases > .case .c-art { flex: 1; height: auto; min-height: 0; margin: 0 0 24px; display: flex; align-items: center; justify-content: center; overflow: visible; }
.x-i.x-i.x-i .i-cases > .case .c-art .slip { scale: .86; transform-origin: 50% 50%; }
.x-i.x-i.x-i .i-cases > .case .c-type, .x-i.x-i.x-i .i-cases > .case .c-text, .x-i.x-i.x-i .i-cases > .case .c-more { display: none; }
.x-i.x-i.x-i .i-cases > .case h3 { margin: 0; text-align: center; }
.x-i.x-i.x-i .i-cases > .case h3 a { color: var(--ink); text-decoration: none; }
.x-i.x-i.x-i .i-cases > .case h3 a::after { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; }
.x-i.x-i.x-i .i-cases > .case.up { translate: 0 -6px; }
.x-i.x-i.x-i .i-cases > .case.up h3 a, .x-i.x-i.x-i .i-cases > .case h3 a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.x-i.x-i.x-i .i-cases > .case:focus-within { outline: 3px solid var(--link); outline-offset: 4px; }
.x-i .c-index { position: absolute; top: 14px; left: 16px; display: flex; flex-direction: column; align-items: center; gap: 4px; z-index: 2; pointer-events: none; }
.x-i .c-index b { font-family: var(--f-heading); font-weight: 700; font-size: 22px; line-height: 1; color: var(--link); }
.x-i .c-index i { width: 11px; height: 11px; background: var(--link); border-radius: 0 100% 0 100%; transform: rotate(45deg); }
.x-i .c-index-b { top: auto; left: auto; bottom: 14px; right: 16px; transform: rotate(180deg); }
@media (min-width: 1001px) { .x-i.x-i .i-hero + #work, .x-i.x-i #work { margin: 48px 0 24px; } }
@media (max-width: 1000px) { .x-i.x-i.x-i .i-cases > .case { width: min(100%, 300px); justify-self: center; } }
/* Real cards keep their 5:7 shape and grow when the text needs it */
.x-i.x-i.x-i .i-cases > .case { align-self: start; }
/* Text-heavy pieces are paper, not cards: About is a letter, Contact a note and a printed form */
.x-i.x-i .c-about, .x-i.x-i .c-contact, .x-i.x-i .c-form { border-radius: 2px;
  background-image: linear-gradient(rgba(251,249,242,.86), rgba(251,249,242,.86)), url("tex/paper001_tile-1024.webp"); background-size: auto, 420px; }
.x-i.x-i .c-about > .cf, .x-i.x-i .c-contact > .cf, .x-i.x-i .c-form > .cf { border: 0; border-radius: 0; }
.x-i.x-i .i-games, .x-i.x-i.games-i .g-grid { align-items: start; }
/* Section rhythm (Ian, 2026-11-05): the gap between sections is clearly bigger than the gap from a label to its content.
   Desktop: 96px between sections, 24px label to content. Phone: 64px and 16px. */
.x-i.x-i .i-label { margin-top: 0; margin-bottom: 24px; }
.x-i.x-i .i-hero { padding-bottom: 0; margin-bottom: 96px; }
.x-i.x-i .i-row, .x-i.x-i .i-more { margin-top: 0; }
.x-i.x-i .i-row { margin-bottom: 96px; }
.x-i.x-i #work, .x-i.x-i #about, .x-i.x-i #exp, .x-i.x-i #skills, .x-i.x-i #games, .x-i.x-i #contact { margin-top: 0; margin-bottom: 24px; }
.x-i.x-i .i-row.i-games { margin-bottom: 24px; } .x-i.x-i .i-more { margin-bottom: 96px; }
@media (min-width: 1001px) { .x-i.x-i .i-row.i-cases { margin-bottom: 256px; } }
@media (max-width: 700px) {
  .x-i.x-i .i-label, .x-i.x-i #work, .x-i.x-i #about, .x-i.x-i #exp, .x-i.x-i #skills, .x-i.x-i #games, .x-i.x-i #contact { margin-bottom: 16px; }
  .x-i.x-i .i-hero { margin-bottom: 64px; } .x-i.x-i .i-row { margin-bottom: 64px; } .x-i.x-i .i-more { margin-bottom: 64px; } .x-i.x-i .i-row.i-games { margin-bottom: 16px; }
}
@media (min-width: 1001px) { .x-i.x-i .i-hero { margin-bottom: 56px; } .x-i.x-i .i-row.i-cases { margin-bottom: 286px; } }
.x-i.x-i .i-row.i-jobs { margin-bottom: 112px; } @media (max-width: 700px) { .x-i.x-i .i-row.i-jobs { margin-bottom: 64px; } }
/* Real deck indices (Ian, 2026-11-05): rank over a real suit, tight in the corner, red or black; each section is one suit */
.x-i.x-i .c-index { top: 10px; left: 12px; gap: 1px; }
.x-i.x-i .c-index b { font-size: 22px; letter-spacing: -.04em; color: var(--ink); }
.x-i.x-i .c-index i, .x-i.x-i .c-index.s-pine i, .x-i.x-i .c-index.s-acorn i { width: auto; height: auto; background: none; border: 0; border-radius: 0; transform: none; box-shadow: none; font-style: normal; font-size: 18px; line-height: 1; color: var(--ink); font-family: "Segoe UI Symbol", "Apple Symbols", "DejaVu Sans", sans-serif; }
.x-i.x-i .c-index.s-red b, .x-i.x-i .c-index.s-red i { color: var(--link); }
.x-i.x-i .c-index-b { top: auto; left: auto; bottom: 10px; right: 12px; transform: rotate(180deg); }
/* The phone lies under the first case card again */
@media (min-width: 1001px) { .x-i.x-i.x-i .i-cases > .floor-phone { width: calc(100% + 72px); --mm: calc(((100cqw - 11 * 24px) / 12 * 3 + 48px + 72px) / 71.6); } .x-i.x-i .i-cases > .floor-phone { z-index: 0; } .x-i.x-i .i-cases > .case { z-index: 1; } }
/* Court-card faces for the case studies (Ian, 2026-11-05): a framed, double-ended print in red, black, gold and blue; the title rides a banner across the middle */
.x-i.x-i.x-i .i-cases > .case .cf { padding: 0; position: relative; height: 100%; min-height: 0; }
.x-i.x-i.x-i .i-cases > .case .c-art.c-court { position: absolute; left: 14%; right: 14%; top: 50%; translate: 0 -50%; height: auto; aspect-ratio: 200 / 280; margin: 0; background: none; display: block; }
.x-i .c-court .court { display: block; width: 100%; height: 100%; }
.x-i.x-i.x-i .i-cases > .case h3 { position: absolute; left: 10%; right: 10%; top: 50%; translate: 0 -50%; z-index: 3; margin: 0; padding: 8px 10px 9px; background: #fbf6e6; border: 2.5px solid var(--ink); border-radius: 3px; text-align: center; font-size: 17px; line-height: 1.15; box-shadow: 0 2px 0 rgba(23,22,18,.25); }
.x-i.x-i.x-i .i-cases > .case .c-art.c-court { z-index: 1; } .x-i.x-i.x-i .i-cases > .case h3 { z-index: 8; }
.x-i.x-i .c-index.c-kun b { font-size: 15px; letter-spacing: 0; writing-mode: vertical-rl; text-orientation: upright; }
/* Experience = employee ID badges (Ian, 2026-11-05): CR80 landscape plastic, a punched slot, a colour band per employer */
.x-i.x-i .job { aspect-ratio: 85.6 / 54; border-radius: 12px; padding: 0;
  background-image: linear-gradient(160deg, rgba(255,255,255,.7), rgba(255,255,255,0) 45%), linear-gradient(#f7f6f2, #f1efe9); }
.x-i.x-i .job > .cf { border: 0; border-radius: 0; padding: 0 22px 18px; display: flex; flex-direction: column; gap: 4px; height: 100%; box-sizing: border-box; }
.x-i.x-i .job .c-org { order: -1; margin: 0 -22px 10px; padding: 26px 22px 9px; background: var(--band, var(--ink)); color: #fff; border-radius: 12px 12px 0 0; font-family: var(--f-heading); font-weight: 700; font-size: var(--t17, 17px); letter-spacing: .01em; position: relative; }
.x-i.x-i .job .c-org::before { content: ""; position: absolute; top: 9px; left: 50%; width: 46px; height: 8px; margin-left: -23px; border-radius: 4px; background: #24301b; box-shadow: inset 0 1px 2px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.35); }
.x-i.x-i .job h3 { order: 0; margin: 0; } .x-i.x-i .job .c-type { order: 1; margin: 0; } .x-i.x-i .job .c-text { order: 2; margin-top: 8px; }
.x-i .j1, .x-i .j6 { --band: #b5371f; } .x-i .j2 { --band: #2f5d8a; } .x-i .j3 { --band: #7a5a1e; } .x-i .j4 { --band: #3f6b4a; } .x-i .j5 { --band: #171612; }
@media (min-width: 701px) { .x-i.x-i .i-jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; } }
/* Games = sell sheets: one printed page each (letter, portrait), paper not card */
.x-i.x-i .game.g-pitch, .x-i.x-i .g-card.g-pitch { aspect-ratio: 8.5 / 11; border-radius: 2px; padding: 0;
  background-image: linear-gradient(rgba(251,249,242,.9), rgba(251,249,242,.9)), url("tex/paper001_tile-1024.webp"); background-size: auto, 420px; }
.x-i.x-i .game.g-pitch > .cf, .x-i.x-i .g-card.g-pitch > .cf { border: 0; border-radius: 0; padding: 32px 32px 32px; display: block; height: auto; }
.x-i.x-i .g-pitch h3 { font-size: var(--t26, 26px); margin: 0 0 16px; padding: 0 0 12px; border-bottom: 2.5px solid var(--ink); }
.x-i.x-i .g-pitch .g-facts { border-top: 1px solid rgba(23,22,18,.25); border-bottom: 1px solid rgba(23,22,18,.25); padding: 12px 0; margin: 16px 0; }
.x-i.x-i .job { background-image: linear-gradient(160deg, rgba(255,255,255,.55), rgba(255,255,255,0) 45%), linear-gradient(rgba(247,246,242,.93), rgba(247,246,242,.93)), url("tex/paper001_tile-1024.webp"); background-size: auto, auto, 360px; }
/* Badges on a real CC0 PVC scan (ambientCG Plastic013A); the band is tinted by multiplying the same plastic */
.x-i.x-i .job { background-image: linear-gradient(160deg, rgba(255,255,255,.35), rgba(255,255,255,0) 45%), url("tex/plastic013a_tile-1024.webp"); background-size: auto, 320px; background-color: #f4f3ef; }
.x-i.x-i .job .c-org { background-image: url("tex/plastic013a_tile-1024.webp"); background-size: 320px; background-blend-mode: multiply; background-color: var(--band, var(--ink)); }
/* Notes from Ian, 2026-11-05 17:00 */
/* 1) one rule under a sell sheet's title, not two */
.x-i.x-i .g-pitch .g-facts { border-top: 0; padding-top: 4px; }
/* 3) the phone takes its own height in the case row, so About never runs into it */
@media (min-width: 1001px) {
  .x-i.x-i.x-i .i-cases > .floor-phone { margin-bottom: 0; }
  .x-i.x-i .i-cases { align-items: start; }
  .x-i.x-i .i-row.i-cases { margin-bottom: 96px; }
}
/* 4) hovering picks the card up: it straightens, grows a little and its shadow spreads and softens */
.x-i.x-i.x-i .i-cases > .case { transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s cubic-bezier(.2,.7,.3,1), translate .35s cubic-bezier(.2,.7,.3,1); }
.x-i.x-i.x-i .i-cases > .case.up, .x-i.x-i.x-i .i-cases > .case:focus-within { transform: rotate(0deg) scale(1.05); translate: 0 -10px; z-index: 6;
  box-shadow: 0 2px 2px rgba(8,10,0,.3), 6px 14px 18px rgba(8,10,0,.28), 18px 36px 48px rgba(8,10,0,.3); }
@media (prefers-reduced-motion: reduce) { .x-i.x-i.x-i .i-cases > .case { transition: none; } }
/* 5) every sell sheet the same size: letter-shaped, rows share one height; the Daily Weather wallet lies over its title */
.x-i.x-i .i-games, .x-i.x-i.games-i .g-grid { align-items: start; }
.x-i.x-i .g-pitch .g-facts { gap: 12px 20px; }
.x-i.x-i .g1.g-pitch h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.x-i.x-i .g1.g-pitch .art-dw { margin-top: -6px; }
/* Sell sheets: at least letter-shaped, and every sheet on a page the same height (rows share the tallest) */
.x-i.x-i .i-games, .x-i.x-i.games-i .g-grid { container-type: inline-size; align-items: stretch; grid-auto-rows: 1fr; }
.x-i.x-i .game.g-pitch, .x-i.x-i .g-card.g-pitch { aspect-ratio: auto; min-height: calc((100cqw - 40px) / 2 * 11 / 8.5); }
@media (max-width: 700px) { .x-i.x-i .game.g-pitch, .x-i.x-i .g-card.g-pitch { min-height: calc(100cqw * 11 / 8.5); } }
@media (min-width: 701px) { .x-i.x-i.games-i .g-card.g-pitch { min-height: 660px; } }
.x-i.x-i.games-i .g-card.g-pitch { margin-top: 0; }
/* Three decks: poker (EXACT), hanafuda (Japan study), tarot (BIRDS), all printed at poker size with the title in one place. */
.x-i.x-i.x-i .i-cases > .case.d-hana { border-radius: 14px; background: #2a1712; background-image: none; }
.x-i.x-i.x-i .i-cases > .case .c-art.c-deck { position: absolute; inset: 0; translate: none; height: auto; aspect-ratio: auto; margin: 0; background: none; display: block; z-index: 1; }
.x-i.x-i.x-i .i-cases > .case.d-hana .c-art.c-deck { inset: 7px; border-radius: 8px; overflow: hidden; }
.x-i.x-i.x-i .i-cases > .case.d-tarot .c-art.c-deck { inset: 4px; }
.x-i .c-deck .deck { display: block; width: 100%; height: 100%; }
.x-i.x-i.x-i .i-cases > .case.d-hana .c-index { z-index: 3; top: 15px; left: 16px; }
.x-i.x-i.x-i .i-cases > .case.d-hana .c-index b { color: #fbf6e6; }
.x-i.x-i.x-i .i-cases > .case.d-hana .c-index-b { top: 15px; bottom: auto; left: auto; right: 16px; transform: none; }
.x-i.x-i.x-i .i-cases > .case.d-hana .c-index i { display: none; }
/* Physical card stock: a linen-embossed grain over the print and the title band, a hairline of edge thickness, and a faint sheen. */
.x-i.x-i.x-i .i-cases > .case::after { z-index: 9; background-image: linear-gradient(125deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 70%, rgba(255,255,255,.08) 100%), url("tex/stock-grain.webp?v=2"); background-size: auto, 340px; mix-blend-mode: overlay; box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), inset 0 -1px 0 rgba(0,0,0,.18), inset 0 0 10px rgba(30,40,0,.14); }
.x-i.x-i.x-i .i-cases > .case { --edge: 0 1px 0 #d9d5ca, 0 2px 0 #b9b4a8; }
.x-i.x-i.x-i .i-cases > .case.d-hana { --edge: 0 1px 0 #3a231c, 0 2.5px 0 #1a0e0b; }
/* Lifting a card: the grass lying over it slides off quickly instead of rising with it, and settles back once the card is down. */
@media (hover: hover) {
  .x-i.x-i.x-i .i-cases > .case > .blade-strip { transition: opacity .3s ease .32s; }
  .x-i.x-i.x-i .i-cases > .case.up > .blade-strip, .x-i.x-i.x-i .i-cases > .case:focus-within > .blade-strip { opacity: 0; transition: opacity .12s ease 0s; }
}
.x-i.x-i.x-i .i-cases > .case { box-shadow: var(--edge), var(--sh); }
.x-i.x-i.x-i .i-cases > .case.up, .x-i.x-i.x-i .i-cases > .case:focus-within { box-shadow: var(--edge), 0 2px 2px rgba(8,10,0,.3), 6px 14px 18px rgba(8,10,0,.28), 18px 36px 48px rgba(8,10,0,.3); }
/* Real public-domain card art (2026-11-05): 1910 Murad basketball card, c.1900 February hanafuda, 1909 Three of Cups. Titles sit in one name plate at the foot of every card. */
.x-i .c-deck img { display: block; width: 100%; height: 100%; object-fit: cover; }
.x-i.x-i.x-i .i-cases > .case.d-trade .c-art.c-deck { inset: 7.5% 7.5% 7.5%; border: 3px solid #3d2a6b; box-shadow: inset 0 0 0 2px #b8954a; outline: 2px solid #b8954a; outline-offset: 3px; }
.x-i.x-i.x-i .i-cases > .case.d-trade .c-art.c-deck img { position: relative; z-index: -1; }
.x-i.x-i.x-i .i-cases > .case.d-hana .c-art.c-deck img { object-position: 50% 30%; }
.x-i.x-i.x-i .i-cases > .case.d-tarot .c-art.c-deck { inset: 3.5%; }
.x-i.x-i.x-i .i-cases > .case.d-tarot .c-art.c-deck img { object-fit: contain; }
.x-i.x-i.x-i .i-cases > .case h3, .x-i.x-i.x-i .i-cases > .case.d-hana h3, .x-i.x-i.x-i .i-cases > .case.d-tarot h3 { top: auto; bottom: 9%; translate: none; left: 11%; right: 11%; }
.x-i.x-i.x-i .i-cases > .case.d-hana .c-index b { color: var(--ink); }
/* The scan IS the card: full bleed, no inset frame or second border. */
.x-i.x-i.x-i .i-cases > .case.d-trade .c-art.c-deck, .x-i.x-i.x-i .i-cases > .case.d-tarot .c-art.c-deck { inset: 0; border: 0; outline: 0; box-shadow: none; border-radius: inherit; overflow: hidden; }
.x-i.x-i.x-i .i-cases > .case.d-trade .c-art.c-deck img, .x-i.x-i.x-i .i-cases > .case.d-tarot .c-art.c-deck img { object-fit: cover; position: static; z-index: auto; }
.x-i.x-i.x-i .i-cases > .case h3 { box-shadow: none; }
/* Scanned cards: the scan is the face, edge to edge (the base .card padding made a second border). */
.x-i.x-i.x-i .i-cases > .case.d-trade, .x-i.x-i.x-i .i-cases > .case.d-hana, .x-i.x-i.x-i .i-cases > .case.d-tarot { padding: 0; }
.x-i.x-i.x-i .i-cases > .case.d-trade::after, .x-i.x-i.x-i .i-cases > .case.d-tarot::after { background-image: linear-gradient(125deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 70%, rgba(255,255,255,.06) 100%); box-shadow: none; }
/* EXACT: a real 1910 trading card (Frank Irons, broad jump) at its own squarer shape, same height as the others. */
.x-i.x-i.x-i .i-cases > .case.d-trade { aspect-ratio: 2514 / 2898; width: 121.4%; justify-self: end; border-radius: 6px; background: none; }
.x-i.x-i.x-i .i-cases > .case.d-trade .c-art.c-deck img { object-fit: fill; }
@media (max-width: 1000px) { .x-i.x-i.x-i .i-cases > .case.d-trade { width: min(100%, 340px); justify-self: center; } }
@media (min-width: 1001px) { .x-i.x-i .c-intro { grid-column: 1 / 8; } } /* 7 columns: hugs the tagline and buttons */
/* Method tokens: punched chipboard tokens lying across each case card's foot, printed face up. */
.x-i .c-tokens { position: absolute; left: 8%; right: 4%; bottom: -15px; z-index: 10; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.x-i .c-tokens li { font-family: var(--f-ui); font-weight: 700; font-size: 14px; line-height: 1; color: var(--ink); padding: 7px 12px 8px; border-radius: 999px;
  background-color: #f4efe2; background-image: linear-gradient(rgba(250,246,236,.82), rgba(250,246,236,.82)), url("tex/paper001_tile-1024.webp"); background-size: auto, 300px;
  box-shadow: 0 1.5px 0 #b59a72, 0 3px 0 #8a6e48, 1px 4px 4px rgba(8,10,0,.35), 4px 9px 14px rgba(8,10,0,.25); }
.x-i .c-tokens li:nth-child(1) { rotate: -3deg; } .x-i .c-tokens li:nth-child(2) { rotate: 2deg; translate: 0 3px; } .x-i .c-tokens li:nth-child(3) { rotate: -1deg; translate: 0 -1px; }
.x-i .c-tokens { flex-wrap: nowrap; gap: 8px; } .x-i .c-tokens li { white-space: nowrap; }
/* Tokens v2: thick round punchboard tokens. Printed face (ink colour, cream ring, icon over the word), grey board core showing at the edge. */
.x-i .c-tokens { left: auto; right: -14px; bottom: -22px; gap: 4px; align-items: flex-end; }
.x-i .c-tokens li { position: relative; width: 84px; height: 84px; padding: 0 6px; box-sizing: border-box; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; white-space: normal; text-align: center;
  font-size: 12px; line-height: 1.1; letter-spacing: .01em; color: #fbf6e6;
  background-color: #a8381f; background-image: radial-gradient(circle at 35% 28%, rgba(255,255,255,.16), rgba(255,255,255,0) 55%), url("tex/paper001_tile-1024.webp"); background-size: auto, 220px; background-blend-mode: normal, multiply;
  box-shadow: inset 0 0 0 4px #a8381f, inset 0 0 0 5.5px #fbf6e6, inset 0 1px 1px rgba(255,255,255,.35), 0 1px 0 #6d6a62, 0 2px 0 #5c5952, 0 3px 0 #4b4843, 0 3.5px 0 #3c3a36, 1px 5px 5px rgba(8,10,0,.4), 5px 11px 16px rgba(8,10,0,.28); }
.x-i .c-tokens li svg { width: 22px; height: 22px; flex: none; }
.x-i .c-tokens li span { display: block; }
.x-i .c-tokens li:nth-child(1) { rotate: -8deg; translate: 0 6px; } .x-i .c-tokens li:nth-child(2) { rotate: 5deg; translate: 0 -4px; }
@media (max-width: 1000px) { .x-i .c-tokens { right: -10px; } }
.x-i .c-tokens { left: 7%; right: auto; bottom: -54px; gap: 6px; }
@media (max-width: 1000px) { .x-i .c-tokens { left: 7%; right: auto; } }
/* BIRDS: the study's own figure (from the public preprint) printed onto the card stock: ink multiplies into the paper instead of sitting on it. */
.x-i.x-i.x-i .i-cases > .case.d-fig .c-art.c-deck { inset: 7% 7% auto; height: auto; aspect-ratio: 558 / 519; }
.x-i.x-i.x-i .i-cases > .case.d-fig .c-art.c-deck img { object-fit: contain; mix-blend-mode: multiply; filter: contrast(1.05) saturate(.9); }
/* EXACT is the phone alone: k1 is an invisible frame over the phone's upper part that holds the title plate and tokens, lined up with the cards. */
@media (min-width: 1001px) {
  .x-i.x-i.x-i .i-cases > .k1.d-phone { grid-column: 1 / 4; grid-row: 1; width: calc(100% + 72px); aspect-ratio: auto; align-self: start; height: calc((100cqw - 11 * 24px) / 12 * 3 * 1.4 + 48px * 1.4); z-index: 2; }
  .x-i.x-i .i-cases > .k2 { grid-column: 6 / 9; } .x-i.x-i .i-cases > .k3 { grid-column: 10 / 13; }
}
.x-i.x-i.x-i .i-cases > .k1.d-phone { background: none; box-shadow: none; padding: 0; transform: none; }
.x-i.x-i.x-i .i-cases > .k1.d-phone::after { display: none; }
.x-i.x-i.x-i .i-cases > .k1.d-phone.up, .x-i.x-i.x-i .i-cases > .k1.d-phone:focus-within { transform: none; translate: none; scale: none; box-shadow: none; }
.x-i.x-i.x-i .i-cases > .k1.d-phone h3 { left: 14%; right: 14%; }
/* Japan study: the real workshop table, photographed from above, printed edge to edge. */
.x-i.x-i.x-i .i-cases > .case.d-photo { padding: 0; }
.x-i.x-i.x-i .i-cases > .case.d-photo .c-art.c-deck { inset: 0; border-radius: inherit; overflow: hidden; }
.x-i.x-i.x-i .i-cases > .case.d-photo::after { background-image: linear-gradient(125deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 70%, rgba(255,255,255,.06) 100%); }
.x-i .c-tokens li { width: 80px; height: 80px; font-size: 12px; }
.x-i .c-tokens { left: 2%; gap: 4px; } .x-i .c-tokens li:nth-child(3) { rotate: -3deg; translate: 0 8px; }
@media (min-width: 1001px) { .x-i.x-i.x-i .i-cases > .k2 { margin-left: -40px; margin-right: 40px; } }
.x-i.x-i.x-i .i-cases > .case.d-fig .c-art.c-deck { inset: 6% 5% auto; }
.x-i.x-i.x-i .i-cases > .case.d-fig .c-art.c-deck img { filter: contrast(1.35) saturate(1.25); }
/* Each case object keeps its real shape (Ian 18:27): phone, a landscape letter sheet, a printed figure.
   Bottoms line up on the line a 3-column 5:7 card would end at, so the title plates and tokens share one baseline. */
.x-i.x-i.x-i .i-cases > .case.d-sheet, .x-i.x-i.x-i .i-cases > .case.d-fig { padding: 0; border-radius: 2px; background-color: #fbfaf6;
  background-image: linear-gradient(rgba(251,250,246,.86), rgba(251,250,246,.86)), url("tex/paper001_tile-1024.webp"); background-size: auto, 420px; }
.x-i.x-i.x-i .i-cases > .case.d-sheet { aspect-ratio: 939 / 726; }
.x-i.x-i.x-i .i-cases > .case.d-sheet .c-art.c-deck { inset: 0; border-radius: inherit; overflow: hidden; }
.x-i.x-i.x-i .i-cases > .case.d-sheet .c-art.c-deck img { mix-blend-mode: multiply; }
.x-i.x-i.x-i .i-cases > .case.d-fig { aspect-ratio: 1 / 1.16; }
.x-i.x-i.x-i .i-cases > .case.d-fig .c-art.c-deck { inset: 6% 6% auto; }
.x-i.x-i.x-i .i-cases > .case.d-sheet::after, .x-i.x-i.x-i .i-cases > .case.d-fig::after { border-radius: inherit; background-image: none; box-shadow: none; }
.x-i.x-i.x-i .i-cases > .case h3 { bottom: 30px; }
.x-i.x-i.x-i .i-cases > .case.d-sheet h3 { bottom: 22px; left: 18%; right: 18%; }
@media (min-width: 1001px) {
  .x-i.x-i .i-cases { --col: calc((100cqw - 11 * 24px) / 12); --H: calc((var(--col) * 3 + 48px) * 1.4); }
  .x-i.x-i.x-i .i-cases > .k2 { grid-column: 5 / 9; margin: calc(var(--H) - (var(--col) * 4 + 72px) * 726 / 939) 0 0; }
  .x-i.x-i.x-i .i-cases > .k3 { grid-column: 10 / 13; margin: calc(var(--H) - (var(--col) * 3 + 48px) * 1.16) 0 0; }
}
/* Phone at the row's scale (Ian: "way too big"): its bottom is the row's baseline, a little taller than a 3-column card. */
@media (min-width: 1001px) {
  .x-i.x-i .i-cases { --B: calc(var(--H) * 1.12); }
  .x-i.x-i.x-i.x-i .i-cases > .floor-phone { --mm: calc(var(--B) / 147.6); width: calc(var(--mm) * 71.6); grid-column: 1 / 4; justify-self: center; margin: 0; }
  .x-i.x-i.x-i.x-i .i-cases > .k1.d-phone { grid-column: 1 / 4; justify-self: center; width: calc(var(--B) / 147.6 * 71.6); height: var(--B); }
  .x-i.x-i.x-i.x-i .i-cases > .k1.d-phone h3 { left: 6%; right: 6%; }
  .x-i.x-i.x-i.x-i .i-cases > .k2 { margin-top: calc(var(--B) - (var(--col) * 4 + 72px) * 726 / 939); }
  .x-i.x-i.x-i.x-i .i-cases > .k3 { margin-top: calc(var(--B) - (var(--col) * 3 + 48px) * 1.16); }
}
/* Tokens: an even, centred row under each object, alternating small tilts. */
.x-i.x-i .c-tokens { left: -40px; right: -40px; justify-content: center; gap: 10px; bottom: -50px; }
.x-i.x-i .c-tokens li:nth-child(1) { rotate: -6deg; translate: 0 0; } .x-i.x-i .c-tokens li:nth-child(2) { rotate: 4deg; translate: 0 0; } .x-i.x-i .c-tokens li:nth-child(3) { rotate: -2deg; translate: 0 0; }
/* Embedded in the scene: the sheet is the photo itself (no added margin), paper tone matched to the other stock, soft curl shading at the edges, lit by the same canopy light. */
.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet { aspect-ratio: 939 / 574; background: #f1efe8; }
@media (min-width: 1001px) { .x-i.x-i.x-i.x-i .i-cases > .k2 { margin-top: calc(var(--B) - (var(--col) * 4 + 72px) * 574 / 939); } }
.x-i.x-i.x-i .i-cases > .case.d-sheet .c-art.c-deck img { filter: sepia(.08) brightness(.97); }
.x-i.x-i.x-i .i-cases > .case.d-fig .c-art.c-deck img { filter: none; }
.x-i.x-i.x-i .i-cases > .case.d-sheet::after, .x-i.x-i.x-i .i-cases > .case.d-fig::after { z-index: 3; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05), inset 0 -10px 16px -10px rgba(40,44,20,.22), inset 10px 0 16px -12px rgba(40,44,20,.16); background-image: linear-gradient(125deg, rgba(255,255,255,.12), rgba(255,255,255,0) 40%), url("tex/stock-grain.webp?v=2"); background-size: auto, 340px; mix-blend-mode: overlay; }
/* Title plates sit across each object's bottom edge (half on the object, half on the moss) so they never cover the artifact; tokens lie below. */
.x-i.x-i.x-i.x-i .i-cases > .case h3 { top: auto; bottom: -24px; translate: none; }
.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet h3 { left: 14%; right: 14%; }
.x-i.x-i .c-tokens { bottom: -118px; }
@media (min-width: 1001px) { .x-i.x-i.x-i .i-row.i-cases { margin-bottom: 200px; } }
/* BIRDS: the figure is the whole printed page, no inset. */
.x-i.x-i.x-i.x-i .i-cases > .case.d-fig { aspect-ratio: 558 / 519; }
.x-i.x-i.x-i.x-i .i-cases > .case.d-fig .c-art.c-deck { inset: 0; border-radius: inherit; overflow: hidden; }
.x-i.x-i.x-i .i-cases > .case.d-fig .c-art.c-deck img { mix-blend-mode: multiply; filter: sepia(.06) brightness(.98); }
@media (min-width: 1001px) { .x-i.x-i.x-i.x-i .i-cases > .k3 { margin-top: calc(var(--B) - (var(--col) * 3 + 48px) * 519 / 558); } }
/* Case row system: three equal 4-column slots. Each object fits the same slot box (4 columns wide, --B tall), centred, all on one baseline; plates and tokens centre on the slot. */
@media (min-width: 1001px) {
  .x-i.x-i .i-cases { --w4: calc(var(--col) * 4 + 72px); }
  .x-i.x-i.x-i.x-i .i-cases > .floor-phone, .x-i.x-i.x-i.x-i .i-cases > .k1.d-phone { grid-column: 1 / 5; justify-self: center; transform: none; rotate: -2deg; }
  .x-i.x-i.x-i.x-i .i-cases > .k2 { grid-column: 5 / 9; width: 100%; justify-self: center; margin: calc(var(--B) - var(--w4) * 574 / 939) 0 0; }
  .x-i.x-i.x-i.x-i .i-cases > .k3 { grid-column: 9 / 13; width: 100%; justify-self: center; margin: calc(var(--B) - var(--w4) * 519 / 558) 0 0; }
  .x-i.x-i.x-i.x-i .i-cases > .k2 { transform: rotate(1deg); } .x-i.x-i.x-i.x-i .i-cases > .k3 { transform: rotate(-1deg); }
}
.x-i.x-i.x-i.x-i .i-cases > .case h3 { left: 50%; right: auto; width: max-content; max-width: 84%; translate: -50% 0; }
.x-i.x-i .c-tokens { left: 50%; right: auto; translate: -50% 0; width: max-content; }
.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3 { left: 50%; right: auto; width: max-content; max-width: 84%; translate: -50% 0; }
/* Tokens take the same baked canopy light as every other piece (offset per token, set by blades.js relight()). */
.x-i.x-i .c-tokens li { width: 88px; height: 88px; gap: 2px;
  background-color: #a8381f; background-image: var(--L-img), radial-gradient(circle at 35% 28%, rgba(255,255,255,.14), rgba(255,255,255,0) 55%), url("tex/paper001_tile-1024.webp");
  background-size: var(--L-size), auto, 220px; background-position: var(--L-pos), 0 0, 0 0; background-blend-mode: var(--L-blend), normal, multiply; background-repeat: repeat; }
.x-i.x-i .c-tokens li svg { width: 19px; height: 19px; }
.x-i.x-i .c-tokens li span { max-width: 62px; }
.x-i.x-i .c-tokens li { width: 100px; height: 100px; line-height: 1.05; } .x-i.x-i .c-tokens li svg { width: 18px; height: 18px; } .x-i.x-i .c-tokens li span { max-width: 70px; }
.x-i.x-i .c-tokens { gap: 8px; bottom: -128px; }
/* Case studies, Ian's layout (18:37): phone tall on the left (columns 1-4, two rows), the Dialect sheet over the figure (columns 5-8), columns 9-12 left open for more work.
   Each title plate sits across its object's top edge; its tokens sit across the bottom edge. */
@media (min-width: 1001px) {
  .x-i.x-i .i-cases { --w4: calc(var(--col) * 4 + 72px); --gapR: 96px; --hS: calc(var(--w4) * 574 / 939); --hG: calc(var(--w4) * 519 / 558); --P: calc(var(--hS) + var(--gapR) + var(--hG)); row-gap: var(--gapR); align-items: start; padding-top: 28px; }
  .x-i.x-i.x-i.x-i.x-i .i-cases > .floor-phone { grid-column: 1 / 5; grid-row: 1 / 3; justify-self: start; --mm: calc(var(--P) / 147.6); width: calc(var(--mm) * 71.6); margin: 0; rotate: -1.5deg; }
  .x-i.x-i.x-i.x-i.x-i .i-cases > .k1.d-phone { grid-column: 1 / 5; grid-row: 1 / 3; justify-self: start; width: calc(var(--P) / 147.6 * 71.6); height: var(--P); margin: 0; rotate: -1.5deg; }
  .x-i.x-i.x-i.x-i.x-i .i-cases > .k2 { grid-column: 5 / 9; grid-row: 1; margin: 0; width: 100%; }
  .x-i.x-i.x-i.x-i.x-i .i-cases > .k3 { grid-column: 5 / 9; grid-row: 2; margin: 0; width: 100%; }
  .x-i.x-i.x-i .i-row.i-cases { margin-bottom: 160px; }
}
.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3 { top: -26px; bottom: auto; }
.x-i.x-i.x-i .c-tokens { bottom: -50px; }
.x-i.x-i .c-tokens li { width: 96px; height: 96px; }
@media (min-width: 1001px) { .x-i.x-i .i-cases { --gapR: 128px; } .x-i.x-i.x-i .i-row.i-cases { margin-bottom: 176px; } }
.x-i.x-i .c-tokens li { width: 90px; height: 90px; }
.x-i.x-i.x-i .c-tokens { bottom: -80px; }
.x-i.x-i .c-tokens li { letter-spacing: 0; }
/* Tokens v3 placement: a vertical stack straddling each object's right edge, centred on its height. */
.x-i.x-i.x-i.x-i .c-tokens { flex-direction: column; flex-wrap: nowrap; gap: 6px; left: auto; right: -45px; top: 50%; bottom: auto; width: auto; translate: 0 -50%; justify-content: center; }
.x-i.x-i.x-i.x-i .c-tokens li:nth-child(1) { rotate: -6deg; translate: -2px 0; } .x-i.x-i.x-i.x-i .c-tokens li:nth-child(2) { rotate: 5deg; translate: 3px 0; } .x-i.x-i.x-i.x-i .c-tokens li:nth-child(3) { rotate: -3deg; translate: -1px 0; }
@media (min-width: 1001px) { .x-i.x-i .i-cases { --gapR: 80px; } .x-i.x-i.x-i .i-row.i-cases { margin-bottom: 96px; } }
/* Tape (Ian 18:43): titles on a strip of the section-label tape across each object's top edge; methods on a shorter strip across a lower corner. */
.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3 { top: -18px; padding: 8px 22px 7px; border: 0; border-radius: 0; box-shadow: none; rotate: -1.5deg;
  color: #2b2720; background: rgba(226,214,180,.9) url("tex/paper001_tile-1024.webp") center / 300px; background-blend-mode: multiply;
  clip-path: polygon(0 8%, 3% 0, 5% 12%, 8% 2%, 10% 0, 90% 0, 92% 6%, 95% 0, 97% 10%, 100% 4%, 98% 30%, 100% 55%, 97% 78%, 100% 100%, 94% 92%, 91% 100%, 88% 95%, 10% 100%, 7% 92%, 4% 100%, 2% 90%, 0 100%, 2% 70%, 0 45%, 3% 24%);
  filter: drop-shadow(1px 2px 1.5px rgba(10,14,4,.35)) brightness(.95); }
.x-i.x-i.x-i.x-i.x-i .i-cases > .k2 h3 { rotate: 1.2deg; } .x-i.x-i.x-i.x-i.x-i .i-cases > .k3 h3 { rotate: -.8deg; }
.x-i.x-i.x-i.x-i.x-i .c-tokens { flex-direction: column; gap: 2px; left: auto; right: -22px; top: auto; bottom: -14px; width: auto; translate: none; rotate: -4deg; align-items: flex-start;
  padding: 9px 20px 8px; color: #2b2720; background: rgba(226,214,180,.9) url("tex/paper001_tile-1024.webp") center / 300px; background-blend-mode: multiply;
  clip-path: polygon(0 6%, 4% 0, 8% 5%, 12% 0, 88% 0, 92% 4%, 96% 0, 100% 5%, 97% 30%, 100% 60%, 97% 85%, 100% 100%, 93% 95%, 88% 100%, 12% 100%, 7% 95%, 3% 100%, 0 94%, 3% 65%, 0 35%, 3% 15%);
  filter: drop-shadow(1px 2px 1.5px rgba(10,14,4,.35)) brightness(.95); }
.x-i.x-i.x-i.x-i.x-i .c-tokens li { width: auto; height: auto; padding: 0; display: block; border-radius: 0; background: none; box-shadow: none; rotate: none; translate: none; color: #2b2720; font-family: var(--f-ui); font-weight: 600; font-size: 14px; line-height: 1.45; letter-spacing: 0; text-align: left; white-space: nowrap; }
.x-i.x-i.x-i.x-i.x-i .c-tokens li svg { display: none; } .x-i.x-i.x-i.x-i.x-i .c-tokens li span { max-width: none; }
.x-i.x-i.x-i.x-i.x-i .i-cases > .k2 .c-tokens { rotate: 3deg; }
/* Masking tape v2 (Ian: "doesn't really look like tape"): straight long edges, torn short ends, translucent so what's under shows through, fine crepe across the width, flat on the surface. */
.x-i { --tape-clip: polygon(3px 0, calc(100% - 4px) 0, 100% 14%, calc(100% - 3px) 27%, 100% 41%, calc(100% - 5px) 56%, calc(100% - 1px) 70%, calc(100% - 4px) 85%, calc(100% - 2px) 100%, 4px 100%, 0 87%, 4px 73%, 1px 58%, 5px 44%, 0 30%, 3px 15%);
  --tape-bg: repeating-linear-gradient(91deg, rgba(90,70,30,.06) 0 1px, rgba(255,255,255,0) 1px 3px), linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 45%, rgba(0,0,0,.04)), linear-gradient(rgba(236,224,190,.78), rgba(236,224,190,.78)); }
.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3, .x-i.x-i.x-i.x-i.x-i.x-i .c-tokens li, .x-i.x-i.x-i .i-label {
  clip-path: var(--tape-clip); background: var(--tape-bg); mix-blend-mode: multiply; filter: none; opacity: 1; color: #2b2720; border: 0; border-radius: 0; box-shadow: none; }
.x-i.x-i.x-i .i-label::after { display: none; }
.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3 { padding: 7px 20px 7px; }
.x-i.x-i.x-i.x-i.x-i.x-i .c-tokens { background: none; clip-path: none; filter: none; padding: 0; gap: 5px; align-items: flex-end; rotate: none; right: -26px; bottom: -10px; }
.x-i.x-i.x-i.x-i.x-i.x-i .c-tokens li { padding: 5px 14px 5px; line-height: 1.2; }
.x-i.x-i.x-i.x-i.x-i.x-i .c-tokens li:nth-child(1) { rotate: -3deg; translate: -10px 0; } .x-i.x-i.x-i.x-i.x-i.x-i .c-tokens li:nth-child(2) { rotate: 2deg; translate: 4px 0; } .x-i.x-i.x-i.x-i.x-i.x-i .c-tokens li:nth-child(3) { rotate: -1.5deg; translate: -4px 0; }
/* Real tape (ambientCG Tape005 scans, CC0): each label is drawn with a real torn piece as a border-image, the torn ends kept and the middle stretched to the label's length. */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3, .x-i.x-i.x-i.x-i.x-i.x-i.x-i .c-tokens li, .x-i.x-i.x-i.x-i .i-label {
  clip-path: none; background: none; mix-blend-mode: multiply; filter: none; opacity: .96;
  border-style: solid; border-width: 0 13px; border-image-source: url("tex/tape/t02.webp"); border-image-slice: 0 34 fill; border-image-width: 0 13px; border-image-repeat: stretch; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k1 h3 { border-image-source: url("tex/tape/t01.webp"); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k3 h3 { border-image-source: url("tex/tape/t04.webp"); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i .c-tokens li:nth-child(1) { border-image-source: url("tex/tape/t05.webp"); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i .c-tokens li:nth-child(2) { border-image-source: url("tex/tape/t06.webp"); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i .c-tokens li:nth-child(3) { border-image-source: url("tex/tape/t07.webp"); }
.x-i.x-i.x-i.x-i .i-label { border-image-source: url("tex/tape/t04.webp"); padding: 8px 12px 7px; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3 { padding: 7px 10px; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i .c-tokens li { padding: 5px 6px; }
/* Titles and method tape stay legible: opaque enough to cover grass tips at an edge. */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3, .x-i.x-i.x-i.x-i.x-i.x-i.x-i .c-tokens li { mix-blend-mode: normal; opacity: 1; filter: drop-shadow(0 1px .6px rgba(10,14,4,.22)); }
/* Capstone figure (Ian 18:50): the right-hand slot, columns 9-12, spanning both rows and centred between them. Placeholder title and methods until Ian gives the wording. */
.x-i.x-i.x-i.x-i.x-i .i-cases > .k4 { transform: rotate(.8deg); }
.x-i.x-i.x-i.x-i.x-i .i-cases > .d-cap { aspect-ratio: 656 / 468; }
@media (min-width: 1001px) { .x-i.x-i.x-i.x-i.x-i .i-cases > .k4 { grid-column: 9 / 13; grid-row: 1 / 3; align-self: center; margin: 0; width: 100%; } }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k4 h3 { border-image-source: url("tex/tape/t02.webp"); rotate: .6deg; }
.x-i.x-i.x-i.x-i.x-i .i-cases > .d-cap .c-art.c-deck { aspect-ratio: 656 / 468; }
/* Tape hierarchy (Ian 18:56): section labels > case titles > methods.
   Section labels: kraft tape, 22px (section-head size). Titles: cream tape, 20px. Methods: small cream pieces, 14px, lighter weight, muted ink. */
.x-i.x-i.x-i.x-i.x-i .i-label { border-image-source: url("tex/tape/k04.webp"); font-size: 22px; font-weight: 700; line-height: 1.1; padding: 10px 14px 9px; color: #2b2720; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3 { font-size: 20px; line-height: 1.15; padding: 8px 12px; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .c-tokens li { font-size: 14px; font-weight: 500; color: var(--muted); padding: 3px 4px; line-height: 1.2; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .c-tokens { gap: 3px; }
.x-i.x-i.x-i.x-i.x-i .i-label { mix-blend-mode: normal; opacity: 1; position: relative; z-index: 6; filter: drop-shadow(0 1px .6px rgba(10,14,4,.22)); }
/* Bias plugin affinity diagram (Ian 19:33): a printout of the Figma board, under the capstone in columns 9-12; the capstone moves to the top slot. */
.x-i.x-i.x-i.x-i.x-i .i-cases > .d-aff { aspect-ratio: 605 / 540; }
.x-i.x-i.x-i.x-i.x-i .i-cases > .d-aff .c-art.c-deck { aspect-ratio: 605 / 540; }
.x-i.x-i.x-i.x-i.x-i .i-cases > .k5 { transform: rotate(-.7deg); }
@media (min-width: 1001px) {
  .x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k4 { grid-row: 1; align-self: start; }
  .x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k5 { grid-column: 9 / 13; grid-row: 2; margin: 0; width: 100%; }
}
/* Method strips sit inside their own object's edge, so a neighbour's grass can't grow over them (Ian 19:37). */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .c-tokens { right: 10px; bottom: 10px; }
.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k4 h3 { max-width: 98%; }
/* Label mix (Ian 19:05-20:51): each level is its own material. Section labels: wooden signs (ambientCG Wood095, CC0). Case titles: manila specimen tags (Paper006, CC0) tied on with twine. Methods: real tape (above). */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-label, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3 { border: 0; border-image: none; background: none; clip-path: none; filter: none; mix-blend-mode: normal; opacity: 1; isolation: isolate; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-label { position: relative; display: inline-block; padding: 10px 18px 9px; color: #3a2412; text-shadow: 0 1px 0 rgba(255,240,210,.45); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-label::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 3px;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(0,0,0,0) 40%, rgba(0,0,0,.18)), url("tex/wood095_tile-1024.webp") 0 30% / 520px;
  box-shadow: inset 0 0 0 1px rgba(70,45,20,.35), 1px 3px 3px rgba(10,14,4,.45); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-label::after { display: none; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3 { padding: 8px 14px 8px 30px; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 15px 50%, #34402a 0 3.5px, #c9b98e 3.5px 6.5px, rgba(0,0,0,0) 7px), linear-gradient(rgba(236,222,180,.55), rgba(236,222,180,.55)), url("tex/paper006_tile-1024.webp") center / 260px;
  background-blend-mode: normal, multiply, normal;
  clip-path: polygon(11px 0, 100% 0, 100% 100%, 11px 100%, 0 calc(100% - 11px), 0 11px); filter: drop-shadow(1px 2px 1.5px rgba(10,14,4,.4)); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3::after { content: ""; display: block; position: absolute; left: -38px; top: 50%; width: 54px; height: 2px; z-index: -2;
  background: repeating-linear-gradient(60deg, #b9a27a 0 2px, #8c7752 2px 3px); border-radius: 2px; rotate: -14deg; transform-origin: right center; box-shadow: 0 1px 1px rgba(0,0,0,.3); }
/* One face for every label (Ian 20:54): titles were mixing Bricolage 20px (no link) and Plus Jakarta 17px (linked). All labels: Plus Jakarta Sans 700, one ink; sizes 22 / 20 / 14. */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-label, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3 a { font-family: var(--f-ui); font-weight: 700; letter-spacing: 0; color: #2b2720; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3 a { font-size: inherit; line-height: inherit; }
/* Printed sheets read as paper, not pasted images (Ian 20:54): the canopy light and shade fall on them like every other piece, real paper grain shows through the ink, ink sits slightly soft in the fibres, and one corner lifts with its own shadow and curl. */
.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet, .x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig {
  background-color: #f3f0e6;
  background-image: var(--L-img), linear-gradient(rgba(246,243,233,.62), rgba(246,243,233,.62)), url("tex/paper001_tile-1024.webp");
  background-size: var(--L-size), auto, 360px; background-position: var(--L-pos), 0 0, 0 0; background-blend-mode: var(--L-blend), normal, normal; background-repeat: repeat;
  box-shadow: 0 0 0 .5px rgba(60,55,40,.25), 0 1px 1px rgba(10,14,4,.3), 3px 7px 9px -3px rgba(10,14,4,.38), 18px 22px 22px -16px rgba(10,14,4,.5); }
.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet .c-art.c-deck img, .x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig .c-art.c-deck img { mix-blend-mode: multiply; opacity: .93; filter: none; }
/* (Ian 2026-11-14: the print look, contrast .94 and sepia .05, is baked into the *-print.webp files instead of a CSS filter, and the .25px blur
   is gone: Safari on iPhone rasterised the filtered pictures far too soft) */
.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet::after, .x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig::after { z-index: 3; mix-blend-mode: overlay; opacity: 1;
  background-image: linear-gradient(318deg, rgba(10,14,4,.16) 0, rgba(255,255,255,.34) 2.2%, rgba(255,255,255,.08) 7%, rgba(255,255,255,0) 14%), linear-gradient(112deg, rgba(0,0,0,.05), rgba(0,0,0,0) 12%), url("tex/stock-grain.webp?v=2");
  background-size: auto, auto, 340px; background-blend-mode: normal, normal, normal;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04), inset 0 -8px 14px -10px rgba(40,44,20,.25); }
/* The art box must not form its own layer, or the multiply print blends with nothing and skips the canopy light and paper beneath (Ian 20:56: "not sensitive to the shadows"). */
.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet .c-art.c-deck, .x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig .c-art.c-deck { z-index: auto; }
/* Labels take the canopy light too (offsets set per label by blades.js relight()). */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-label::before { background-image: var(--L-img), linear-gradient(180deg, rgba(255,255,255,.18), rgba(0,0,0,0) 40%, rgba(0,0,0,.18)), url("tex/wood095_tile-1024.webp");
  background-size: var(--L-size), auto, 520px; background-position: var(--L-pos), 0 0, 0 30%; background-blend-mode: var(--L-blend), normal, normal; background-repeat: repeat; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3::before { background-image: var(--L-img), radial-gradient(circle at 15px 50%, #34402a 0 3.5px, #c9b98e 3.5px 6.5px, rgba(0,0,0,0) 7px), linear-gradient(rgba(236,222,180,.55), rgba(236,222,180,.55)), url("tex/paper006_tile-1024.webp");
  background-size: var(--L-size), auto, auto, 260px; background-position: var(--L-pos), 0 0, 0 0, center; background-blend-mode: var(--L-blend), normal, multiply, normal; background-repeat: repeat; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .c-tokens li { position: relative; isolation: isolate; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .c-tokens li::after { content: ""; position: absolute; inset: 1px 9px; z-index: -1; pointer-events: none; mix-blend-mode: multiply;
  background-image: var(--L-img); background-size: var(--L-size); background-position: var(--L-pos); background-blend-mode: var(--L-blend); background-repeat: repeat; opacity: .9; }
/* Hover (Ian 20:56): the sheets no longer lift, so the grass around them never vanishes; the sheet only straightens a touch and its shadow deepens. */

.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k2.up, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k2:focus-within { transform: rotate(1deg) scale(1.05); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k3.up, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k3:focus-within { transform: rotate(-1deg) scale(1.05); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k4.up, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k4:focus-within { transform: rotate(.8deg) scale(1.05); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k5.up, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k5:focus-within { transform: rotate(-.7deg) scale(1.05); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.up > .blade-strip, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:focus-within > .blade-strip { opacity: 1; }

/* Picking a sheet up, as it would really go (Ian 20:59): the paper lifts and grows a touch; the grass is rooted, so it stays exactly where it was
   (each strip is moved back by the inverse of the lift), and the part of it now under the raised paper is hidden by the paper's footprint. */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone) > .blade-strip { transform-origin: calc(var(--cx) + var(--cw) / 2) calc(var(--cy) + var(--ch) / 2); transition: transform .35s cubic-bezier(.2,.7,.3,1), clip-path .35s cubic-bezier(.2,.7,.3,1);
  clip-path: polygon(evenodd, calc(var(--cx) - 300px) calc(var(--cy) - 300px), calc(var(--cx) + var(--cw) + 300px) calc(var(--cy) - 300px), calc(var(--cx) + var(--cw) + 300px) calc(var(--cy) + var(--ch) + 300px), calc(var(--cx) - 300px) calc(var(--cy) + var(--ch) + 300px), calc(var(--cx) - 300px) calc(var(--cy) - 300px), var(--cx) var(--cy), var(--cx) var(--cy), var(--cx) var(--cy), var(--cx) var(--cy)); }
@media (hover: hover) {
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone).up > .blade-strip, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone):focus-within > .blade-strip { opacity: 1; transform: scale(calc(1 / 1.05)) translate(0, 10px);
    clip-path: polygon(evenodd, calc(var(--cx) - 300px) calc(var(--cy) - 300px), calc(var(--cx) + var(--cw) + 300px) calc(var(--cy) - 300px), calc(var(--cx) + var(--cw) + 300px) calc(var(--cy) + var(--ch) + 300px), calc(var(--cx) - 300px) calc(var(--cy) + var(--ch) + 300px), calc(var(--cx) - 300px) calc(var(--cy) - 300px),
      calc(var(--cx) - var(--cw) * .025) calc(var(--cy) - var(--ch) * .025 - 10px), calc(var(--cx) + var(--cw) * 1.025) calc(var(--cy) - var(--ch) * .025 - 10px),
      calc(var(--cx) + var(--cw) * 1.025) calc(var(--cy) + var(--ch) * 1.025 - 10px), calc(var(--cx) - var(--cw) * .025) calc(var(--cy) + var(--ch) * 1.025 - 10px)); }
}
/* Rows match (Ian 21:00): the two top sheets share one shape (the prompt sheet's), the two lower sheets share one, and the phone spans both rows exactly.
   A chart printed on a page of another shape keeps its proportions, centred with a paper margin. */
@media (min-width: 1001px) {
  .x-i.x-i .i-cases { --hS: calc(var(--w4) * 574 / 939); --hG: calc(var(--w4) / 1.1); }
}
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k4.d-cap, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k4.d-cap .c-art.c-deck { aspect-ratio: 939 / 574; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k3.d-fig, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k5.d-aff, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k3.d-fig .c-art.c-deck, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k5.d-aff .c-art.c-deck { aspect-ratio: 1.1; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k4 .c-art.c-deck img, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k3 .c-art.c-deck img, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k5 .c-art.c-deck img { object-fit: contain; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k4 .c-art.c-deck { inset: 9% 0 3%; height: auto; aspect-ratio: auto; }
/* Tags tied on behind (Ian 21:01): each tag sits under the object's top edge, so the object hides its lower part. */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3 { top: auto; bottom: calc(100% - 9px); clip-path: inset(-30px -30px 9px -70px); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3 { padding-bottom: 17px; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k4 .c-art.c-deck { top: 9%; bottom: auto; left: 0; right: 0; height: 88%; aspect-ratio: auto; }
@media (min-width: 1001px) { .x-i.x-i.x-i.x-i.x-i.x-i .i-cases { padding-top: 64px; } }
/* Tags, take 2 (Ian 21:21): the tag lies in front, on the object; its string runs from the punched hole up to the top edge and wraps over it, tied on behind. */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3 { top: 16px; bottom: auto; clip-path: none; padding: 8px 14px 8px 30px; rotate: -1.5deg; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k2 h3 { rotate: 1.2deg; } .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k3 h3 { rotate: -.8deg; } .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k4 h3 { rotate: .6deg; } .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k5 h3 { rotate: -1deg; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3::after { left: 9px; top: -19px; bottom: calc(50% - 4px); width: 12px; height: auto; rotate: -6deg; transform-origin: 50% 100%;
  background: none; border: 2px solid #a48c62; border-top: 0; border-radius: 0 0 7px 7px; box-shadow: 1px 1px 1px rgba(10,14,4,.25); z-index: -2; }
/* where the string bends over the edge it catches a little light */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3 > :first-child { position: relative; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3 { z-index: 7; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3::after { z-index: 1; border-color: #9c845a; }
/* Tags, take 3 (Ian 21:24): the string loops out to the LEFT, round the object's left edge. Tags sit near the left edge so the string is short. */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3 { left: 30px; right: auto; translate: none; max-width: calc(100% - 52px); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3::after { left: -36px; right: auto; top: calc(50% - 6px); bottom: auto; width: 53px; height: 12px; rotate: 0deg; transform-origin: 100% 50%;
  border: 2px solid #9c845a; border-left: 0; border-radius: 0 7px 7px 0; background: none; }

/* Hover, take 4 (Ian 21:25: keep the lift, fix the grass). Lifting a sheet, as grass really behaves: the blades lying over its edge ride up with it
   for a moment, then slip off the rising edge (they are rooted, so they end where they grew), spring outward a few px and sway to rest beside it.
   The part now under the raised paper is hidden by its footprint. Putting it down reverses the slide, and the blades fall back over the edge. */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone) > .blade-strip { --sx: 0px; --sy: 0px; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone) > .blade-strip[data-edge="top"] { --sy: -1px; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone) > .blade-strip[data-edge="bottom"] { --sy: 1px; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone) > .blade-strip[data-edge="left"] { --sx: -1px; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone) > .blade-strip[data-edge="right"] { --sx: 1px; }
@keyframes blade-slip { 0%, 18% { translate: 0 0; } 38% { translate: calc(var(--sx) * 7) calc(var(--sy) * 7); } 58% { translate: calc(var(--sx) * -2.5) calc(var(--sy) * -2.5); }
  76% { translate: calc(var(--sx) * 1.2) calc(var(--sy) * 1.2); } 100% { translate: 0 0; } }
@media (hover: hover) {
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone) > .blade-strip { transition: transform .3s cubic-bezier(.3,.6,.3,1) 0s, clip-path .3s cubic-bezier(.3,.6,.3,1) 0s; }
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone).up > .blade-strip, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone):focus-within > .blade-strip { opacity: 1;
    transition: transform .22s cubic-bezier(.4,0,.2,1) .07s, clip-path .14s linear .1s; animation: blade-slip .9s cubic-bezier(.3,.5,.4,1) both; }
}
@media (prefers-reduced-motion: reduce) { .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case > .blade-strip { animation: none !important; } }
/* No spring (Ian 21:29): the blades just slide off the rising edge and settle, with no outward bounce or sway. */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case > .blade-strip { animation: none; }
/* Still bounced (Ian 21:33): the sway rule lost on specificity, and the brief ride-up then drop also read as a bounce. Now the grass never moves:
   its counter-move runs on exactly the sheet's timing, so the two cancel, and the paper simply rises over it. */
@media (hover: hover) {
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone) > .blade-strip, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone).up > .blade-strip, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone):focus-within > .blade-strip {
    animation: none; translate: none; transition: transform .35s cubic-bezier(.2,.7,.3,1) 0s, clip-path .35s cubic-bezier(.2,.7,.3,1) 0s; }
}
/* Critique pass (Ian 21:39). 1) Each tag lies on the grass just above its object's top-left corner, its string running down from the hole and over the edge to tie on behind,
   so the artifact itself stays uncovered. 2) Method tape hangs off the lower corner, clear of chart labels and the app's button; earlier objects sit above
   later neighbours so no neighbour's grass grows over that tape. 3) The space above the row only makes room for the tags. */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3 { top: auto; bottom: calc(100% + 6px); left: 4px; max-width: calc(100% - 8px); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3::after { left: 10px; right: auto; top: 50%; bottom: -20px; width: 10px; height: auto; rotate: 4deg; transform-origin: 50% 0;
  border: 2px solid #9c845a; border-bottom: 0; border-radius: 6px 6px 0 0; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case .c-tokens { right: -14px; bottom: -20px; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k1 { z-index: 5; } .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k2, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k3 { z-index: 4; } .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k4, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k5 { z-index: 3; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.up, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:focus-within { z-index: 8; }
@media (min-width: 1001px) { .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases { padding-top: 76px; --gapR: 96px; } }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k1 .c-tokens { right: -64px; bottom: 6px; }
/* The paper covers its grass all at once (Ian 21:41: blades were vanishing one by one as the hidden area swept across). The footprint now appears
   the instant the sheet rises and goes the instant it lands; only the strips' counter-move is animated. */
@media (hover: hover) {
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone) > .blade-strip { transition: transform .35s cubic-bezier(.2,.7,.3,1) 0s, clip-path .35s step-end 0s; }
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone).up > .blade-strip, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone):focus-within > .blade-strip { transition: transform .35s cubic-bezier(.2,.7,.3,1) 0s, clip-path 0s; }
}
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:has(h3 a[href]) { cursor: pointer; }
/* The tag overlaps its object's top edge a little (Ian 21:47); the string runs from the hole to that edge and over it. */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3 { bottom: calc(100% - 14px); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3::after { bottom: 6px; }
/* Setting a sheet down (Ian 21:48: the grass flickered back in). At rest the hidden area is a rectangle well inside the sheet, clear of every blade;
   lifting snaps it out to the sheet's footprint, and after the sheet lands it shrinks back evenly from all four edges, so the blades ease back over the edge together. */
@media (hover: hover) {
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone) > .blade-strip {
    clip-path: polygon(evenodd, calc(var(--cx) - 300px) calc(var(--cy) - 300px), calc(var(--cx) + var(--cw) + 300px) calc(var(--cy) - 300px), calc(var(--cx) + var(--cw) + 300px) calc(var(--cy) + var(--ch) + 300px), calc(var(--cx) - 300px) calc(var(--cy) + var(--ch) + 300px), calc(var(--cx) - 300px) calc(var(--cy) - 300px),
      calc(var(--cx) + 90px) calc(var(--cy) + 90px), calc(var(--cx) + var(--cw) - 90px) calc(var(--cy) + 90px),
      calc(var(--cx) + var(--cw) - 90px) calc(var(--cy) + var(--ch) - 90px), calc(var(--cx) + 90px) calc(var(--cy) + var(--ch) - 90px));
    transition: transform .35s cubic-bezier(.2,.7,.3,1) 0s, clip-path .7s cubic-bezier(.3,0,.2,1) .3s; }
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone).up > .blade-strip, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone):focus-within > .blade-strip { transition: transform .35s cubic-bezier(.2,.7,.3,1) 0s, clip-path 0s; }
}
/* A lifted sheet's shadow stays the size of the sheet (Ian 21:51): the same shadow as at rest, pulled in by the 5% the sheet grows, so on the ground it covers the same area. */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet.up, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig.up, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet:focus-within, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig:focus-within {
  box-shadow: 0 0 0 .5px rgba(60,55,40,.25), 0 1px 1px -1px rgba(10,14,4,.3), 3px 7px 9px -12px rgba(10,14,4,.38), 18px 22px 22px -25px rgba(10,14,4,.5); }
/* (fix) the lifted footprint rule was outranked by the resting one, so the grass was never hidden or let back out; restated here at full strength. */
@media (hover: hover) {
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone).up > .blade-strip, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone):focus-within > .blade-strip {
    clip-path: polygon(evenodd, calc(var(--cx) - 300px) calc(var(--cy) - 300px), calc(var(--cx) + var(--cw) + 300px) calc(var(--cy) - 300px), calc(var(--cx) + var(--cw) + 300px) calc(var(--cy) + var(--ch) + 300px), calc(var(--cx) - 300px) calc(var(--cy) + var(--ch) + 300px), calc(var(--cx) - 300px) calc(var(--cy) - 300px),
      calc(var(--cx) - var(--cw) * .025) calc(var(--cy) - var(--ch) * .025 - 10px), calc(var(--cx) + var(--cw) * 1.025) calc(var(--cy) - var(--ch) * .025 - 10px),
      calc(var(--cx) + var(--cw) * 1.025) calc(var(--cy) + var(--ch) * 1.025 - 10px), calc(var(--cx) - var(--cw) * .025) calc(var(--cy) + var(--ch) * 1.025 - 10px)); }
}
/* The canopy shade falling on a lifted sheet stays the size and place it is on the ground (Ian 21:58): the light is fixed in the world, so while the sheet
   grows 5% and rises 10px its light layers are drawn 5% smaller and shifted back by the same amount. */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig {
  --L-size-h: calc(1600px / 1.05), calc(1600px / 1.05), calc(var(--pw, 100%) / 1.05) calc(var(--ph, 100%) / 1.05), calc(var(--pw, 100%) / 1.05) calc(var(--ph, 100%) / 1.05);
  --L-pos-h: calc((-180px - var(--ox) - var(--wx, 0px) + var(--kw, 0px) * .025) / 1.05) calc((-120px - var(--oy) - var(--wy, 0px) + var(--kh, 0px) * .025 + 10px) / 1.05),
    calc((-180px - var(--ox) - var(--wx, 0px) + var(--kw, 0px) * .025) / 1.05) calc((-120px - var(--oy) - var(--wy, 0px) + var(--kh, 0px) * .025 + 10px) / 1.05),
    calc((0px - var(--ox) + var(--kw, 0px) * .025) / 1.05) calc((0px - var(--oy) + var(--kh, 0px) * .025 + 10px) / 1.05),
    calc((0px - var(--ox) + var(--kw, 0px) * .025) / 1.05) calc((0px - var(--oy) + var(--kh, 0px) * .025 + 10px) / 1.05);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s cubic-bezier(.2,.7,.3,1), translate .35s cubic-bezier(.2,.7,.3,1), background-size .35s cubic-bezier(.2,.7,.3,1), background-position .35s cubic-bezier(.2,.7,.3,1); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet.up, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig.up, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet:focus-within, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig:focus-within {
  background-size: var(--L-size-h), auto, 360px; background-position: var(--L-pos-h), 0 0, 0 0; }
/* (Ian 22:03) grass beside a lifted sheet rose with it: the side strips carry their own inline transform (the scroll gust leans them), which replaced the
   counter-move. The counter-move now uses the separate scale and translate properties, which add to any transform instead of replacing it. */
@media (hover: hover) {
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone) > .blade-strip { scale: 1; translate: 0 0; transition: scale .35s cubic-bezier(.2,.7,.3,1) 0s, translate .35s cubic-bezier(.2,.7,.3,1) 0s, clip-path .7s cubic-bezier(.3,0,.2,1) .3s; }
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone).up > .blade-strip, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone):focus-within > .blade-strip { scale: calc(1 / 1.05); translate: 0 calc(10px / 1.05);
    transition: scale .35s cubic-bezier(.2,.7,.3,1) 0s, translate .35s cubic-bezier(.2,.7,.3,1) 0s, clip-path 0s; }
}
/* String round the left edge (Ian 22:10): from the punched hole it runs left, curves down just outside the object's left edge and passes behind it a little below the corner. */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3::after { left: -7px; right: auto; top: calc(50% - 1px); bottom: -16px; width: 24px; height: auto; rotate: none;
  border: 2px solid #9c845a; border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; background: none; box-shadow: -1px 1px 1px rgba(10,14,4,.25);
  -webkit-mask: linear-gradient(180deg, #000 0, #000 calc(100% - 6px), transparent 100%); mask: linear-gradient(180deg, #000 0, #000 calc(100% - 6px), transparent 100%); }
/* Flicker (Ian 22:38, trace): the sheets' canopy light was transitioned on background-size/position, so every time the page re-measured itself (loading,
   images arriving, zoom, tab switch) the light slid across the sheets. The light now lives on its own layer above the paper and below the print, held still in
   the world by the same counter-move as the grass (a transform, which nothing else touches); background properties no longer animate. */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig { background-image: linear-gradient(rgba(246,243,233,.62), rgba(246,243,233,.62)), url("tex/paper001_tile-1024.webp");
  background-size: auto, 360px; background-position: 0 0, 0 0; background-blend-mode: normal; transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s cubic-bezier(.2,.7,.3,1), translate .35s cubic-bezier(.2,.7,.3,1); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet.up, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig.up, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet:focus-within, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig:focus-within { background-size: auto, 360px; background-position: 0 0, 0 0; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet::before, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; mix-blend-mode: multiply;
  background-image: var(--L-img); background-size: var(--L-size); background-position: var(--L-pos); background-blend-mode: var(--L-blend); background-repeat: repeat;
  transition: scale .35s cubic-bezier(.2,.7,.3,1), translate .35s cubic-bezier(.2,.7,.3,1); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet.up::before, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig.up::before, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet:focus-within::before, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig:focus-within::before { scale: calc(1 / 1.05); translate: 0 calc(10px / 1.05); inset: -3%; }
/* (the light layer reaches 14px past the sheet, clipped by it, so the shrunk layer still covers the whole sheet while lifted; its pattern is shifted to match) */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig { overflow: visible; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet::before, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig::before, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet.up::before, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig.up::before,
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet:focus-within::before, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig:focus-within::before { inset: -14px; clip-path: none;
  background-position: calc(-166px - var(--ox) - var(--wx, 0px)) calc(-106px - var(--oy) - var(--wy, 0px)), calc(-166px - var(--ox) - var(--wx, 0px)) calc(-106px - var(--oy) - var(--wy, 0px)),
    calc(14px - var(--ox)) calc(14px - var(--oy)), calc(14px - var(--ox)) calc(14px - var(--oy)); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet > .cf, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig > .cf { position: absolute; inset: 0; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet::before, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig::before { clip-path: inset(14px round 2px);
  transition: scale .35s cubic-bezier(.2,.7,.3,1), translate .35s cubic-bezier(.2,.7,.3,1), clip-path .35s cubic-bezier(.2,.7,.3,1); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet.up::before, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig.up::before, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-sheet:focus-within::before, .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.d-fig:focus-within::before {
  clip-path: inset(calc(4px - (100% - 28px) * .025) calc(14px - (100% - 28px) * .025) calc(24px - (100% - 28px) * .025) calc(14px - (100% - 28px) * .025) round 2px); }
/* Pieces vanishing while scrolling (Ian's recording 22:57): every grass strip around the sheets carried a clip-path at rest, and on a composited strip
   that costs the graphics card a second full-size picture (a mask) per strip; with hundreds of strips Chrome ran out of room and dropped whole pieces
   (the phone, a sheet) for a few frames. Strips carry no clip and no counter-move at rest; only while a sheet is lifted, or settling back (.settle,
   set for a second by site-r.js), do its own strips get them. */
@media (hover: hover) {
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone):not(.up):not(:focus-within):not(.settle) > .blade-strip { clip-path: none; scale: none; translate: none; transition: none; }
}
/* Lifting a sheet (Ian 23:09): site-r.js lays a grass-free copy of the sheet over it and lifts the copy (.up takes the old
   hover look). The real sheet and its grass never move and carry no cut-outs; the real sheet is hidden while the copy is up
   (its grass stays), and once the copy has landed it fades out over the real sheet, so the blades come back softly. */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.lift-copy { position: absolute; margin: 0; grid-area: auto; z-index: 8; pointer-events: none; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.lift-copy.up { pointer-events: auto; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.lift-copy.fade { animation: lift-fade .45s linear both; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.lift-copy.gone { visibility: hidden; animation: none; opacity: 0; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.lifted { visibility: hidden; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.lifted > .blade-strip { visibility: visible; }
@keyframes lift-fade { from { opacity: 1; } to { opacity: 0; } }
/* Drawn-once pieces (blades.js bakePieces, Ian 23:05): once a piece's picture is ready (.bk, --bk) it replaces the live light stack,
   cut-out and drop shadow. Until then (and right after a pan) the live CSS above draws the same thing. (A tape's picture spans its
   border box, so its layer reaches past the 13px ends of the padding box.) */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case.bk::before { background: var(--bk) 0 0 / 100% 100% no-repeat; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-label.bk::before { background: var(--bk) 0 0 / 100% 100% no-repeat; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case h3.bk::before { inset: -6px; background: var(--bk) 0 0 / 100% 100% no-repeat; clip-path: none; filter: none; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .c-tokens li.bk { border-image: none; border-color: transparent; filter: none; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .c-tokens li.bk::after { content: ""; display: block; position: absolute; inset: -4px -17px; z-index: -1; mix-blend-mode: normal; opacity: 1;
  background: var(--bk) 0 0 / 100% 100% no-repeat; }
/* Case row below desktop width (2026-11-07). Tablet: the phone stands in the left column across two rows, the language and
   allyship sheets beside it, the capstone and bias sheets side by side under it. Phone width: one column, phone first.
   The phone (.floor-phone) and its invisible frame (.k1, which holds its tag and tape) always share one box. */
@media (max-width: 1000px) {
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases { container-type: inline-size; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 72px;
    align-items: start; padding-top: 56px; margin-bottom: 96px; translate: none; --phw: calc((100cqw - 24px) / 2 * .8); }
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .floor-phone,
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k1.d-phone { grid-column: 1; grid-row: 1 / 3; justify-self: center; align-self: start; position: relative; left: auto; top: auto;
    width: var(--phw); height: calc(var(--phw) * 147.6 / 71.6); aspect-ratio: auto; margin: 0; transform: none; rotate: -1.5deg; --mm: calc(var(--phw) / 71.6); }
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case:not(.d-phone) { width: 100%; justify-self: stretch; margin: 0; }
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k2 { grid-column: 2; grid-row: 1; }
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k3 { grid-column: 2; grid-row: 2; }
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k4 { grid-column: 1; grid-row: 3; }
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k5 { grid-column: 2; grid-row: 3; }
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .case .c-tokens { right: -6px; }
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k1 .c-tokens { right: -14px; bottom: 8%; }
}
@media (max-width: 700px) {
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases { grid-template-columns: minmax(0, 1fr); row-gap: 96px; --phw: min(62cqw, 240px); }
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .floor-phone,
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k1.d-phone { grid-row: 1; }
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k2 { grid-column: 1; grid-row: 2; }
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k3 { grid-column: 1; grid-row: 3; }
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k4 { grid-column: 1; grid-row: 4; }
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k5 { grid-column: 1; grid-row: 5; }
  .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k1 .c-tokens { right: -30%; bottom: 10%; }
}
/* Experience badges as real PVC (Ian 2026-11-07: "doesn't totally look like plastic"). Once baked (blades.js, .bk-pl) the picture
   carries the white plastic, the printed band, the canopy light, a gloss with glints where the sun lands, and the lanyard slot
   punched clean through to the moss. Plastic has no paper vignette: a crisp polished rim instead, and a thin card edge under it. */
.x-i.x-i .job { --edge: 0 1px 0 #d6d3cb, 0 1.6px 0 #aaa597; box-shadow: var(--edge), var(--sh); border-radius: 10px; }
.x-i.x-i .job::after { box-shadow: inset 1px 1px 0 rgba(255,255,255,.85), inset -1px -1px 0 rgba(60,55,40,.18); }
.x-i.x-i .job.bk-pl { background-color: transparent; }
.x-i.x-i .job.bk-pl .c-org { background: none; }
.x-i.x-i .job.bk-pl .c-org::before { display: none; }
.x-i.x-i .job .c-org { border-radius: 10px 10px 0 0; }
/* Claude's best-guess draft lines on the new case pages: read as normal text, with a dotted underline so Ian can find them to check */
.ph.draft { color: inherit; font-style: inherit; text-decoration: underline dotted #b07a3c 1.5px; text-underline-offset: 4px; text-decoration-skip-ink: none; }
/* More breathing room between homepage sections (Ian 2026-11-08: "a little tight"): 144px desktop, 96px phone, still on the
   8/16/24/48/96 scale's rhythm (96 x 1.5). The hero gets the same gap: Ian no longer needs the case row on the first screen. */
.x-i .i-scene > :is(.i-hero, .i-cases, .i-about, .i-jobs, .i-skills, .i-more) { margin-bottom: 144px !important; }
@media (max-width: 700px) { .x-i .i-scene > :is(.i-hero, .i-cases, .i-about, .i-jobs, .i-skills, .i-more) { margin-bottom: 96px !important; } }
/* (the first label's own 48px top margin adds to the hero's here, so the hero's share is smaller to land on the same 144px) */
@media (min-width: 701px) { .x-i .i-scene > .i-hero { margin-bottom: 96px !important; } }
/* the case row's first tags sat ~45-65px under the "Case studies" sign while every other section's content starts ~16-20px
   under its sign (Ian 2026-11-08); the row's top padding (room for the tags) comes down to match */
@media (min-width: 1001px) { .x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases { padding-top: 52px; } }
/* The EXACT phone lifts with its tag like the other case objects (Ian 2026-11-08): its grass-free copy rises over it */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .floor-phone.lift-copy { position: absolute; margin: 0; grid-area: auto; z-index: 7; pointer-events: none; justify-self: auto;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s cubic-bezier(.2,.7,.3,1), translate .35s cubic-bezier(.2,.7,.3,1); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .floor-phone.lift-copy.up { pointer-events: auto; transform: scale(1.05); translate: 0 -10px;
  box-shadow: 0 2px 2px rgba(8,10,0,.3), 6px 14px 18px rgba(8,10,0,.28), 18px 36px 48px rgba(8,10,0,.3); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .floor-phone.lift-copy.fade { animation: lift-fade .45s linear both; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .floor-phone.lift-copy.gone { visibility: hidden; animation: none; opacity: 0; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .floor-phone.lifted { visibility: hidden; }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .floor-phone.lifted > .blade-strip { visibility: visible; }
@media (prefers-reduced-motion: reduce) { .x-i .i-cases > .floor-phone.lift-copy { transition: none; } }
/* TL;DR box: its padding was being zeroed by .s-inner, so the text ran into the box's edges (Ian 2026-11-08) */
.x-i.x-i.x-i .s-inner.s-tldr { padding: 24px 28px 26px; border-radius: 4px; box-sizing: border-box; }
@media (max-width: 700px) { .x-i.x-i.x-i .s-inner.s-tldr { padding: 18px 18px 20px; } }
/* A middle ground for the first screen (Ian 2026-11-08: missed how clean the live one is, but projects should show a bit
   earlier): the live hero's scale and calm back (big name, roomy intro card, a larger photo card, moss above), and the
   Case studies sign with the tops of the first tags peeking in at the bottom of a laptop screen as the hint to scroll. */
@media (min-width: 1001px) {
  .x-i.x-i.x-i .i-hero { margin-top: 64px; row-gap: 32px; }
  .x-i.x-i.x-i .i-hero h1 { font-size: 120px; }
  .x-i.x-i.x-i .c-intro { grid-column: 1 / 8; }
  .x-i.x-i.x-i .c-intro > .cf { padding: 32px; }
  .x-i.x-i.x-i .c-me { grid-column: 10 / 13; }
  .x-i .i-scene > .i-hero { margin-bottom: max(48px, 100vh - 770px) !important; }
}
/* ...and its tag and tape rise with it (Ian 2026-11-08: the tag stayed down). The invisible frame's copy, which carries them,
   moves exactly like the phone's copy: same box, same scale and lift, same timing; no shadow of its own. */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k1.d-phone.lift-copy {
  transition: transform .35s cubic-bezier(.2,.7,.3,1), translate .35s cubic-bezier(.2,.7,.3,1); }
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k1.d-phone.lift-copy.up { transform: scale(1.05); translate: 0 -10px; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .x-i .i-cases > .k1.d-phone.lift-copy { transition: none; } }
/* (the phone's copy fades out over the real phone after landing; the tag and tape frame must stay above that fading copy, or the
   tag dims and comes back where it overlaps the phone: Ian 2026-11-09) */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .k1.d-phone:not(.lift-copy) { z-index: 8; }
/* While a landed copy fades out over the real piece, the real piece already casts its own shadow; the copy's shadow on top doubled
   it, so the edge darkened and then lightened again (Ian 2026-11-09). The fading copy casts none. */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .lift-copy.fade { box-shadow: none !important; transition: none !important; }
/* Phones: the 58px case titles' longest words ("Reimagining", "Unorthodox") were wider than the paper, which pushed the title,
   lede and facts past its right edge (site review 2026-11-09). Titles scale with the screen there, still the largest text. */
@media (max-width: 700px) { .x-i.x-i.x-i .s-case-title { font-size: clamp(34px, 10.5vw, 58px); overflow-wrap: break-word; } }

/* Magical Athlete: the Nemesis racer card is a loose object lying on its credit sheet's top right corner, hanging over the
   top and right edges onto the moss, clear of the title and facts. It takes no room in the layout */
.x-i .g-pitch:has(.art-ma) { position: relative; } .x-i .g-pitch:has(.art-ma) .cf { position: static; }
.x-i .g-pitch .c-art.art-ma { position: absolute; right: -30px; top: -22px; width: 132px; aspect-ratio: 552 / 772; height: auto; margin: 0; background: none; overflow: visible; display: block; z-index: 6; pointer-events: none; }
.art-ma img.racer { display: block; width: 100%; height: auto; transform: rotate(6deg);
  filter: drop-shadow(.4px .6px 0 #121210) drop-shadow(.6px .9px 0 #0a0a09) drop-shadow(3px 5px 3px rgba(6,8,2,.5)) drop-shadow(12px 18px 16px rgba(6,8,2,.35)); }
@media (max-width: 700px) { .x-i .g-pitch .c-art.art-ma { width: 112px; right: -10px; top: -18px; } }
/* wide screens: the card is bigger and leans the other way, so its top corner pokes up over the sheet's top edge and its lower
   half swings off the right edge, clear of the title and the facts (Ian: bigger, different angle, no text covered) */
@media (min-width: 1000px) { .x-i .g-pitch .c-art.art-ma { width: 176px; right: -80px; top: -40px; } .art-ma img.racer { transform: rotate(-10deg); } }

/* Rainbow River: the box lies ON the sheet in place of the title, like the Daily Weather wallet: a rigid square box seen from
   above, bigger than its slot, hanging over the sheet's top and right edges, with a tall object's long shadow. Its right and bottom sides are the real side panels from the box template, drawn into the image. Its tiles lie
   scattered in the open moss beside the sheet (none on a phone), each a .lay piece so grass grows round it. */
.x-i .g-rr.g-pitch { position: relative; } .x-i .g-rr.g-pitch .cf { position: static; }
.x-i.x-i .g-rr.g-pitch h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.x-i .g-rr.g-pitch .c-art.art-rr { aspect-ratio: 3 / 2; height: auto; margin: -6px 0 26px; background: none; overflow: visible; display: block; position: relative; z-index: 6; pointer-events: none; }
.art-rr img.box { position: absolute; left: 50%; top: 50%; width: 82%; height: auto; max-width: none; transform: translate(-44%, -58%) rotate(5deg);
  filter: drop-shadow(5px 8px 5px rgba(6,8,2,.55)) drop-shadow(20px 30px 24px rgba(6,8,2,.42)); }
.rr-scatter { position: relative; pointer-events: none; }
.x-i .rr-scatter .rr-tile.lay { position: absolute; width: 84px; height: 84px; }
.rr-scatter .rr-tile img { display: block; width: 100%; height: 100%; border-radius: 5px;
  filter: drop-shadow(.5px .8px 0 #b9ab94) drop-shadow(.5px .8px 0 #a3957f) drop-shadow(2px 4px 3px rgba(6,8,2,.5)) drop-shadow(8px 12px 12px rgba(6,8,2,.32)); }
.rr-scatter .rr-tile:nth-child(1) { left: 7.8%; top: 5.0%; rotate: -17deg; }
.rr-scatter .rr-tile:nth-child(2) { left: 59.2%; top: 11.8%; rotate: 31deg; }
.rr-scatter .rr-tile:nth-child(3) { left: 30.0%; top: 29.2%; rotate: -8deg; }
.rr-scatter .rr-tile:nth-child(4) { left: 71.7%; top: 39.1%; rotate: 74deg; }
.rr-scatter .rr-tile:nth-child(5) { left: 5.0%; top: 51.2%; rotate: 12deg; }
.rr-scatter .rr-tile:nth-child(6) { left: 48.1%; top: 58.8%; rotate: -38deg; }
.rr-scatter .rr-tile:nth-child(7) { left: 18.9%; top: 78.5%; rotate: 22deg; }
.rr-scatter .rr-tile:nth-child(8) { left: 68.9%; top: 82.3%; rotate: 58deg; }
@media (max-width: 700px) { .rr-scatter { display: none; } }

/* Projects, Published: neighbouring objects lean opposite ways (Ian). Two columns: wallet right, Nemesis left, box left.
   One column (phone): wallet right, Nemesis left, box right. */
.x-i.games-i .g1.g-pitch .art-dw img.wallet { transform: rotate(6deg); }
.x-i.games-i .art-ma img.racer { transform: rotate(-6deg); }
@media (min-width: 1000px) { .x-i.games-i .art-ma img.racer { transform: rotate(-10deg); } }
@media (min-width: 701px) { .x-i.games-i .art-rr img.box { transform: translate(-44%, -58%) rotate(-5deg); } }

/* The Daily Weather's two press quotes sit inside its sheet, under the description (Ian). So the sheet stays the shared
   660px on wide screens, the wallet is not in a slot there: it hangs over the sheet's top edge, and the Published row
   starts lower to give it room. On a phone the wallet keeps its slot and the sheet just grows. */
.x-i.games-i .g1.g-pitch .s-quote { margin: 12px 0 0; }
.x-i.games-i .g1.g-pitch .c-text + .s-quote { margin-top: 16px; }
@media (max-width: 700px) { .x-i.x-i.games-i .g-grid:has(.g1) { grid-template-rows: auto; } }
@media (min-width: 701px) {
  .x-i.x-i.games-i .g-grid:has(.g1) { margin-top: 72px; }
  .x-i.x-i.games-i .g1.g-pitch .art-dw { aspect-ratio: auto; height: 130px; margin: 0 0 22px; align-items: flex-end; }
}

/* The Nemesis card lies half on the sheet and half on the moss, so grass grows along the edges that are on the moss (Ian):
   the turn is on a .lay wrapper so blades.js roots sprigs round the turned card; the left edge (on the sheet) gets none
   and the bottom edge only gets them past the sheet's right edge. */
.x-i.games-i .art-ma img.racer { transform: none; }
.x-i.games-i .art-ma .racer-lay { rotate: -6deg; }
.x-i.games-i .art-ma .racer-lay > .blade-strip[data-edge="left"] { display: none; }
.x-i.games-i .art-ma .racer-lay > .blade-strip[data-edge="bottom"] { -webkit-mask-image: linear-gradient(to right, transparent calc(var(--cx) + var(--cw) * var(--on, .72)), #000 calc(var(--cx) + var(--cw) * var(--on, .72) + 10px)); mask-image: linear-gradient(to right, transparent calc(var(--cx) + var(--cw) * var(--on, .72)), #000 calc(var(--cx) + var(--cw) * var(--on, .72) + 10px)); }
@media (min-width: 1000px) { .x-i.games-i .art-ma .racer-lay { rotate: -10deg; --on: .44; } .x-i.games-i .art-ma .racer-lay > .blade-strip { --on: .44; } }
@media (max-width: 700px) { .x-i.games-i .art-ma .racer-lay > .blade-strip[data-edge="bottom"] { display: none; } }
/* the quotes use the description's text size, so the sheet has one body size (Ian) */
.x-i.x-i.games-i .g1.g-pitch .s-quote p, .x-i.x-i.x-i.games-i .g1.g-pitch .s-quote cite a { font-size: 15px; line-height: 1.5; }

/* The wallet's top edge hangs over the moss on wide screens, so grass grows along that part (Ian): the turn is on a .lay
   wrapper so blades.js roots sprigs round the turned wallet. Only the top edge and the top of each side show them;
   on a phone the wallet lies wholly on the sheet and gets none. */
.x-i.x-i.games-i .g1.g-pitch .art-dw .wallet-lay { flex: none; width: 104%; margin: 0 -2%; rotate: 6deg; }
.x-i.x-i.games-i .g1.g-pitch .art-dw .wallet-lay img.wallet { display: block; width: 100%; margin: 0; transform: none; }
.x-i.games-i .wallet-lay > .blade-strip[data-edge="bottom"] { display: none; }
.x-i.games-i .wallet-lay > .blade-strip[data-edge="left"], .x-i.games-i .wallet-lay > .blade-strip[data-edge="right"] { -webkit-mask-image: linear-gradient(to bottom, #000 calc(var(--cy) + 44px), transparent calc(var(--cy) + 60px)); mask-image: linear-gradient(to bottom, #000 calc(var(--cy) + 44px), transparent calc(var(--cy) + 60px)); }
@media (max-width: 700px) { .x-i.games-i .wallet-lay > .blade-strip { display: none; } }

/* The Rainbow River box: the wrapper carries the box's place and turn. Grass only surrounds its base (Ian): the box stands taller
   than the moss, so it is dressed like the sitting rock (lay-rock + data-outline): sprigs root at its foot and their tips
   just reach the edge, never over the lid. Only the top edge and the top of each side lie on moss, so only those show. */
.x-i.x-i.games-i .art-rr .box-lay { position: absolute; left: 50%; top: 50%; width: 82%; translate: -44% -58%; rotate: 5deg; }
@media (min-width: 701px) { .x-i.x-i.games-i .art-rr .box-lay { rotate: -5deg; } }
.x-i.x-i.x-i.games-i .art-rr .box-lay img.box { position: static; display: block; width: 100%; transform: none; }
.x-i.games-i .box-lay > .blade-strip[data-edge="r1"] { display: none; }
.x-i.games-i .box-lay > .blade-strip[data-edge="r2"], .x-i.games-i .box-lay > .blade-strip[data-edge="r3"] { -webkit-mask-image: linear-gradient(to bottom, #000 calc(var(--cy) + 12px), transparent calc(var(--cy) + 26px)); mask-image: linear-gradient(to bottom, #000 calc(var(--cy) + 12px), transparent calc(var(--cy) + 26px)); }
/* The box at a size nearer the real thing (Ian): standing on the slot's floor and hanging a little
   over the sheet's top edge. The row gap above it grows so it never covers the sheets in the row before. */
/* box = 3 tiles wide and a little wider than the wallet (Ian): 318px against 106px tiles. Its slot is taller than the
   wallet's so most of the box rests on the sheet. */
.x-i.x-i.x-i.games-i .art-rr .box-lay { top: auto; bottom: 0; width: 318px; translate: -48% 0; }
.x-i.x-i.x-i.games-i .g-rr.g-pitch .c-art.art-rr { aspect-ratio: auto; height: 236px; }
.x-i.x-i .rr-scatter .rr-tile.lay { width: 106px; height: 106px; }
@media (min-width: 701px) { .x-i.x-i.x-i.games-i .g-grid:has(.g-rr) { row-gap: 104px; } }
@media (max-width: 700px) { .x-i.x-i.x-i.games-i .g-grid:has(.g-rr) { grid-auto-rows: auto; } .x-i.x-i.games-i .g-grid > .g-rr { margin-top: 64px; } }
/* Phone ID badges (2026-11-11): same CR80 shape, tighter insides so the full line fits on narrow screens */
@media (max-width: 460px) {
  .x-i.x-i .job > .cf { padding: 0 16px 12px; gap: 2px; }
  .x-i.x-i .job .c-org { margin: 0 -16px 6px; padding: 21px 16px 7px; }
  .x-i.x-i .job .c-org::before { top: 7px; }
  .x-i.x-i .job .c-text { margin-top: 4px; line-height: 1.4; }
}
@media (max-width: 380px) { .x-i.x-i .job .c-org { padding-top: 18px; margin-bottom: 4px; } .x-i.x-i .job .c-org::before { top: 6px; } }
/* Skills index card (2026-11-11): one font size in the list so every text line is exactly one rule tall and sits on its line */
.x-i.x-i .index dl { font-size: var(--t17, 17px); position: relative; top: calc(var(--rule) / 2 - 14px); } /* baseline sits about 4px above each rule at any card scale */
.x-i.x-i .index dt, .x-i.x-i .index dd { font-size: inherit; line-height: 0; } /* the bold face has different metrics; zero line-height keeps every line exactly one rule */

/* Warm-up copies (site-r.js, Ian 2026-11-17): drawn once at their lifted size, all but invisible, then removed. */
.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i.x-i .i-cases > .lift-copy.warm { opacity: .004 !important; transition: none !important; animation: none !important; pointer-events: none !important; box-shadow: none !important; }
