/* §3.0 Stats */
.stats .chrome { background: var(--cream); border-bottom: 1px solid rgba(31,31,26,.15); }

/* 3.1 the age clock */
.age { padding: 12vh 0 9vh; }
.age__k { font-family: var(--f-mono); font-size: 13px; letter-spacing: .04em; margin-bottom: 3vh; }
.age__clock {
  font-family: var(--f-mono); font-weight: 500;
  font-size: clamp(46px, 10.6vw, 200px); line-height: .9; letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  margin-left: -.05em;
}
.age__clock i {
  font-style: normal; font-family: var(--f-sans); font-weight: 400;
  font-size: .32em; letter-spacing: 0; color: var(--red);
  margin: 0 .5em 0 .08em; vertical-align: .9em;
}
.age__clock [data-hms] { color: var(--red); }
.age__foot {
  display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  margin-top: 3.4vh; padding-top: 10px; border-top: 2px solid var(--char);
  font-family: var(--f-mono); font-size: 13px;
}
.age__foot [data-secs] { font-variant-numeric: tabular-nums; }

/* 3.2 the 6 × 6 grid */
.grid36 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(190px, auto);
  grid-auto-flow: row dense;
  border-top: 1px solid var(--char); border-left: 1px solid var(--char);
  counter-reset: cell;
}
.cell {
  position: relative;
  counter-increment: cell;
  border-right: 1px solid var(--char); border-bottom: 1px solid var(--char);
  padding: 34px 18px 16px;
  display: flex; flex-direction: column;
  background: var(--cream);
}
.cell::before { /* unit index, top right */
  content: counter(cell, decimal-leading-zero);
  position: absolute; top: 10px; right: 12px;
  font-family: var(--f-mono); font-size: 11px; opacity: .45;
}
.w2 { grid-column: span 2; } .w4 { grid-column: span 4; } .h2 { grid-row: span 2; }

.k { position: absolute; top: 10px; left: 18px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.v {
  font-weight: 500; letter-spacing: -.05em; line-height: .85;
  font-size: clamp(40px, 4.4vw, 76px);
  margin-top: auto;
}
.v small { font-size: .32em; letter-spacing: 0; font-weight: 400; margin-left: .2em; }
.v--sm { font-size: clamp(30px, 3vw, 50px); }
.n { font-family: var(--f-mono); font-size: 11.5px; line-height: 1.4; margin-top: 10px; opacity: .8; }

/* height: a seven-foot rule */
.c-height { padding-right: 64px; }
.ruler {
  position: absolute; right: 18px; top: 34px; bottom: 16px; width: 26px;
  border-left: 1px solid var(--char);
  background: repeating-linear-gradient(to top, var(--char) 0 1px, transparent 1px calc(100% / 7)) left / 9px 100% no-repeat;
}
.ruler span { position: absolute; left: -1px; bottom: 0; width: 6px; height: var(--h); background: var(--red); }
.ruler span::after { content: ""; position: absolute; top: 0; left: 0; width: 26px; height: 2px; background: var(--red); }

/* projects: 100 started */
.squares { display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; margin: 22px 0 6px; }
.squares span { aspect-ratio: 1; border: 1px solid rgba(31,31,26,.45); }
.squares .done { background: var(--red); border-color: var(--red); }
.squares .half { background: linear-gradient(90deg, var(--red) 50%, transparent 50%); border-color: var(--red); }
.c-projects .v { margin-top: 0; }

.swatch { width: 100%; flex: 1; min-height: 50px; background: #5C3A21; margin-bottom: 12px; }
.c-hair .v { margin-top: 0; }

.bars { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 14px; }
.bars span { width: 9px; background: var(--char); height: 55%; }
.bars span:nth-child(3) { height: 45%; } .bars span:nth-child(4) { height: 38%; }
.bars .me { height: 100%; background: var(--red); }
.c-sibs .v { margin-top: 0; }

/* the Lancer gets the loud cell */
.c-lancer { background: var(--red); color: var(--cream); }
.c-lancer .v { font-size: clamp(52px, 6vw, 104px); }

/* sleep: a 24-hour bar */
.day { position: relative; height: 12px; margin: 22px 0 18px; border: 1px solid var(--char); }
.day span { position: absolute; top: 0; bottom: 0; left: calc(var(--a) / 24 * 100%); width: calc((var(--b) - var(--a)) / 24 * 100%);
  background: repeating-linear-gradient(90deg, var(--navy) 0 calc(100% / 9 * 5), rgba(36,54,75,.35) calc(100% / 9 * 5) 100%); }
.day i { position: absolute; top: 16px; left: calc(var(--t) / 24 * 100%); translate: -50% 0; font-style: normal; font-family: var(--f-mono); font-size: 10px; opacity: .6; }
.c-sleep .v { margin-top: 0; }

/* countries: the route, drawn with the mark's own arcs */
.c-route .v { margin-top: 0; }
.route { width: 100%; height: auto; margin-top: auto; overflow: visible; }
.route__line { fill: none; stroke: var(--char); stroke-width: 1.5; stroke-dasharray: 5 6; }
.route__dots circle { fill: var(--cream); stroke: var(--char); stroke-width: 2; }
.route__dots circle:first-child { fill: var(--red); stroke: var(--red); }
.route__names { list-style: none; position: relative; height: 18px; margin-top: 6px; }
.route__names li {
  position: absolute; left: calc(var(--x) / 640 * 100%); translate: -50% 0;
  font-family: var(--f-mono); font-size: 11px; white-space: nowrap;
}
.route__names li:nth-child(6) { translate: -20% 14px; }

/* Dr Pepper: a live tally, in its own colour */
.c-dp { background: #5B1A22; color: var(--cream); }
.c-dp .v { margin-top: 0; }
.dp__live {
  margin-top: auto;
  font-family: var(--f-mono); font-weight: 500; font-variant-numeric: tabular-nums;
  font-size: clamp(44px, 5vw, 92px); letter-spacing: -.05em; line-height: 1;
}

.c-fav { background: var(--char); color: var(--cream); }

.grid36__cap { font-family: var(--f-mono); font-size: 12px; margin: 16px 0 14vh; }

@media (max-width: 900px) {
  .grid36 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(160px, auto); }
  .w4 { grid-column: span 3; }
  .age__clock { font-size: clamp(36px, 11vw, 120px); }
}
@media (max-width: 520px) {
  .grid36 { grid-template-columns: repeat(2, 1fr); }
  .w4, .w2 { grid-column: span 2; }
}

.c-faith .v { font-size: clamp(24px, 2.1vw, 34px); line-height: .95; letter-spacing: -.035em; }

/* raised objects sit above the drawer */
.c-lancer, .c-dp, .c-fav { z-index: 2; }
@media (max-width: 600px) {
  .age__clock { font-size: 15vw; white-space: normal; line-height: .95; }
  .age__clock [data-hms] { display: block; margin-top: .1em; }
}

/* ═════ §3.0 in 3D: the stats as a model on a table ═════ */
.table3d { perspective: 2400px; perspective-origin: 50% 0%; padding: 40px 0 140px; }
.grid36 { transform-style: preserve-3d; transform-origin: 50% 35%; will-change: transform; }
.cell {
  transform-style: preserve-3d;
  transform: translateZ(calc((var(--h, 0) * var(--rise, 0) + var(--pop)) * 1px));
}
.face { position: absolute; pointer-events: none; border: 1px solid rgba(31,31,26,.45); box-sizing: border-box; }
.face--s { left: -1px; right: -1px; top: 100%; height: calc((var(--h) * var(--rise, 0) + var(--pop)) * 1px); background: var(--side-b); transform-origin: top; transform: rotateX(-90deg); }
.face--n { left: -1px; right: -1px; top: 0; height: calc((var(--h) * var(--rise, 0) + var(--pop)) * 1px); background: var(--side-b); transform-origin: top; transform: rotateX(-90deg); }
.face--e { top: -1px; bottom: -1px; left: 100%; width: calc((var(--h) * var(--rise, 0) + var(--pop)) * 1px); background: var(--side-a); transform-origin: left; transform: rotateY(90deg); }
.face--w { top: -1px; bottom: -1px; left: 0; width: calc((var(--h) * var(--rise, 0) + var(--pop)) * 1px); background: var(--side-a); transform-origin: left; transform: rotateY(90deg); }
.cast {
  position: absolute; inset: 0; pointer-events: none;
  background: rgba(59,40,23,.32);
  filter: blur(calc((var(--h) * var(--rise, 0) + var(--pop)) * .22px + 2px));
  transform: translate3d(calc(var(--lx, .4) * (var(--h) * var(--rise, 0) + var(--pop)) * 1px), calc(var(--ly, .9) * (var(--h) * var(--rise, 0) + var(--pop)) * 1px), calc((var(--h) * var(--rise, 0) + var(--pop)) * -1px + 1px));
}
.c-lancer, .c-dp, .c-fav { z-index: auto; }

/* 3.1: the clock, extruded like cast type */
.age__clock { transform-origin: 50% 100%; will-change: transform; }
.age__clock span:not([data-hms]) { text-shadow: 0.6px 1px 0 #4a463c, 1.2px 2px 0 #4a463c, 1.8px 3px 0 #4a463c, 2.4px 4px 0 #4a463c, 3.0px 5px 0 #4a463c, 3.6px 6px 0 #4a463c, 4.2px 7px 0 #4a463c, 4.8px 8px 0 #4a463c, 5.4px 9px 0 #4a463c, 6.0px 10px 0 #4a463c, 6.6px 11px 0 #4a463c, 7.2px 12px 0 #4a463c; }
.age__clock [data-hms] { text-shadow: 0.6px 1px 0 #8E1919, 1.2px 2px 0 #8E1919, 1.8px 3px 0 #8E1919, 2.4px 4px 0 #8E1919, 3.0px 5px 0 #8E1919, 3.6px 6px 0 #8E1919, 4.2px 7px 0 #8E1919, 4.8px 8px 0 #8E1919, 5.4px 9px 0 #8E1919, 6.0px 10px 0 #8E1919, 6.6px 11px 0 #8E1919, 7.2px 12px 0 #8E1919; }
@media (max-width: 600px) { .table3d { padding-bottom: 80px; } }

/* hover: a block pops up off the table */
@property --pop { syntax: '<number>'; inherits: true; initial-value: 0; }
.cell { --pop: 0; transition: --pop .45s cubic-bezier(.2, 1.4, .4, 1); cursor: default; }
@media (hover: hover) { .cell:hover { --pop: 34; z-index: 5; } }

/* 3.2 · Countries: list on the left, the globe filling the right */
.c-route { padding-right: 0; }
.c-route .v { margin-top: 0; }
.trip { list-style: none; margin-top: 18px; position: relative; z-index: 2; width: 38%; }
.trip button {
  display: flex; gap: 12px; width: 100%; text-align: left;
  font-family: var(--f-sans); font-size: clamp(18px, 1.5vw, 24px); font-weight: 500; letter-spacing: -.02em;
  padding: 6px 0 5px; border-top: 1px solid rgba(31,31,26,.25); cursor: pointer;
  transition: color .2s, transform .3s cubic-bezier(.2,.8,.1,1);
}
.trip li:last-child button { border-bottom: 1px solid rgba(31,31,26,.25); }
.trip b { font-family: var(--f-mono); font-weight: 400; font-size: 11px; opacity: .55; padding-top: 6px; }
.trip button.is-hot { color: var(--red); transform: translateX(8px); }
.globe { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; height: 100%; cursor: grab; display: block; }
.globe:active { cursor: grabbing; }
.trip__n { margin-top: auto; position: relative; z-index: 2; width: 38%; }
@media (max-width: 900px) {
  .c-route { min-height: 560px; }
  .trip { width: 100%; }
  .globe { top: auto; height: 300px; width: 100%; bottom: 40px; }
  .trip__n { width: 100%; }
}
.trip button { background: none; border: 0; border-top: 1px solid rgba(31,31,26,.25); color: inherit; border-radius: 0; }
.trip li:last-child button { border-bottom: 1px solid rgba(31,31,26,.25); }
.trip__sub button { font-size: clamp(14px, 1.05vw, 17px); padding-left: 22px; opacity: .8; }

/* objects left on the table: they spill past their block */
.obj { position: absolute; pointer-events: none; display: block; z-index: 3; }
.obj--guitar { width: 230%; height: 170%; left: -55%; top: -40%; }
.obj--skis   { width: 220%; height: 170%; left: -60%; top: -35%; }
.c-guitar .v, .c-ski .v { position: relative; z-index: 1; }

/* objects left on the table: they spill past their block */
.obj { position: absolute; pointer-events: none; display: block; z-index: 3; }
.obj--guitar { width: 230%; height: 170%; left: -55%; top: -40%; }
.obj--skis   { width: 220%; height: 170%; left: -60%; top: -35%; }
.c-guitar .v, .c-ski .v { position: relative; z-index: 1; }
.obj--guitar { left: -72%; top: -22%; }
.obj--skis { left: -82%; }

/* Status: Single — an application slip */
.apply {
  position: relative; z-index: 4;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-top: 12px; padding: 7px 9px 7px 10px;
  background: var(--red); color: var(--cream);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .02em;
  transition: transform .25s cubic-bezier(.2,1.4,.4,1), background .2s;
}
.apply b { font-weight: 500; white-space: nowrap; }
.apply:hover { transform: translateY(-3px) rotate(-1.5deg); background: var(--char); }
.apply:focus-visible { outline: 2px solid var(--char); outline-offset: 2px; }
/* the canvas is centred on its block, so at rest the object sits inside it */
.obj--guitar, .obj--skis { width: 250%; height: 220%; left: -75%; top: -60%; }
.c-guitar:hover, .c-ski:hover { z-index: 6; }

/* 3.1a Currently listening: the deck front on, the song small beside it */
.listen { display: grid; grid-template-columns: 7fr 4fr; align-items: center; gap: 3vw; margin: 4vh 0 14vh; }
.listen__deck { position: relative; height: 62vh; min-height: 380px; margin: 0 0 0 -4.5vw; }
.listen__text { align-self: center; max-width: 34ch; }
.listen__k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; border-top: 1px solid var(--char); padding-top: 8px; margin-bottom: 22px; }
.listen__song { font-weight: 500; font-size: clamp(34px, 3.6vw, 64px); letter-spacing: -.04em; line-height: .95; margin-bottom: 10px; }
.listen__artist { font-size: clamp(17px, 1.4vw, 22px); color: var(--red); margin-bottom: 18px; }
.listen__meta { font-family: var(--f-mono); font-size: 12px; opacity: .75; }
.listen__credit { font-family: var(--f-mono); font-size: 11px; opacity: .55; margin-top: 30px; }
@media (max-width: 900px) {
  .listen { grid-template-columns: 1fr; }
  .listen__deck { height: 46vh; margin: 0 -4.5vw; }
}
.listen__album { font-family: var(--f-mono); font-size: 12px; opacity: .7; margin: -8px 0 22px; }
.listen__bar { height: 2px; background: rgba(31,31,26,.2); overflow: hidden; }
.listen__bar i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }
.listen__time { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; margin: 6px 0 18px; font-variant-numeric: tabular-nums; }
.listen__row { display: flex; justify-content: space-between; align-items: center; }
.listen__skip { background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0; font-family: var(--f-mono); font-size: 12px; color: var(--char); cursor: pointer; transition: color .2s, transform .2s; }
.listen__skip:hover { color: var(--red); transform: translateX(3px); }
.listen__song.is-new { animation: tapein .6s cubic-bezier(.2,.8,.1,1); }
@keyframes tapein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .listen__song.is-new { animation: none; } }

/* ═════ Hover: each block acts out its number ═════ */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  /* Projects: all 100 fill in a wave, then drain, leaving the 1½ finished */
  .act-projects:hover .squares span:not(.done):not(.half) { animation: sqfill 1.5s cubic-bezier(.3,.7,.2,1) both; animation-delay: calc(var(--i) * 7ms); }
  @keyframes sqfill { 0% { background: transparent; } 30% { background: var(--char); border-color: var(--char); } 65% { background: var(--char); border-color: var(--char); } 100% { background: transparent; } }
  .act-projects:hover .squares .done, .act-projects:hover .squares .half { animation: sqkeep 1.5s ease both; }
  @keyframes sqkeep { 0%, 60% { transform: scale(1); } 75% { transform: scale(1.35); } 100% { transform: scale(1); } }

  /* Height: the ruler grows from the floor to 6′1″ */
  .act-height:hover .ruler span { animation: rulergrow 1.1s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes rulergrow { from { height: 0; } to { height: var(--h); } }

  /* Siblings: the bars rise, oldest first */
  .act-siblings:hover .bars span { animation: barrise .55s cubic-bezier(.2,1.4,.4,1) both; transform-origin: bottom; }
  .act-siblings:hover .bars span:nth-child(2) { animation-delay: .12s; }
  .act-siblings:hover .bars span:nth-child(3) { animation-delay: .22s; }
  .act-siblings:hover .bars span:nth-child(4) { animation-delay: .32s; }
  @keyframes barrise { from { transform: scaleY(0); } to { transform: scaleY(1); } }

  /* Sleep: the night fills hour by hour */
  .act-sleep:hover .day span { animation: night 1.3s steps(9, end) both; transform-origin: left; }
  @keyframes night { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  /* Hair: a sheen, and the colour code */
  .swatch { position: relative; overflow: hidden; }
  .swatch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,240,220,.35) 50%, transparent 65%); transform: translateX(-110%); }
  .act-hair:hover .swatch::after { animation: sheen .9s ease both; }
  @keyframes sheen { to { transform: translateX(110%); } }
  .act-hair:hover .swatch__hex { opacity: 1; transform: none; }

  /* Hand: it points */
  .act-hand:hover .hand__arrow { opacity: 1; transform: translateX(0); }

  /* Dr Pepper: fizz */
  .act-dr-pepper:hover .fizz i { animation: fizz 1.6s ease-in var(--d) both; }
  @keyframes fizz { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .8; } 100% { transform: translateY(-380px); opacity: 0; } }

  /* Status: the application slip gives a nudge */
  .act-status:hover .apply { animation: nudge .6s cubic-bezier(.3,1.6,.5,1) .15s both; }
  @keyframes nudge { 0% { transform: none; } 40% { transform: translateY(-5px) rotate(-2deg); } 100% { transform: none; } }

  /* Favourite number: 36 gets a red underline drawn under it */
  .act-favourite-number .v { position: relative; display: inline-block; }
  .act-favourite-number .v::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.12em; height: .07em; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2,.8,.1,1) .2s; }
  .act-favourite-number:hover .v::after { transform: scaleX(1); }
}
.swatch__hex { position: absolute; right: 8px; bottom: 6px; font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--cream); opacity: 0; transform: translateY(4px); transition: opacity .3s .2s, transform .3s .2s; }
.hand__arrow { display: inline-block; font-style: normal; margin-left: .15em; color: var(--red); opacity: 0; transform: translateX(-.4em); transition: opacity .25s, transform .45s cubic-bezier(.2,1.4,.4,1); }
.fizz { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.fizz i { position: absolute; left: var(--x); bottom: -14px; width: var(--s); height: var(--s); border-radius: 50%; border: 1.5px solid rgba(245,234,217,.55); opacity: 0; }

/* ═════ 3.1 the odometer: drums in slots, in a black machined plate ═════ */
.odo { --u: min(7.4vw, 136px); perspective: 1800px; perspective-origin: 50% 20%; margin: 2vh 0 1vh; cursor: pointer; user-select: none; }
.odo__plate {
  display: flex; align-items: flex-start; justify-content: space-between; gap: calc(var(--u) * .34);
  background: linear-gradient(180deg, #2a2a24, #1F1F1A 40%, #171713);
  border-radius: calc(var(--u) * .12);
  padding: calc(var(--u) * .32) calc(var(--u) * .4) calc(var(--u) * .22);
  transform-origin: 50% 100%; will-change: transform, box-shadow;
}
.odo__grp { display: flex; flex-direction: column; align-items: flex-start; gap: calc(var(--u) * .12); }
.odo__drums { display: flex; gap: calc(var(--u) * .05); padding: calc(var(--u) * .06); border-radius: calc(var(--u) * .08); background: #0b0b09; box-shadow: inset 0 3px 8px rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.08); }
/* one window per drum: shows the front digit and a sliver of the ones above and below, curving away */
.odo__slot {
  --h: var(--u); --r: calc(var(--h) * 1.539);
  position: relative; display: block; overflow: hidden;
  width: calc(var(--u) * .66); height: calc(var(--h) * 1.18);
  perspective: calc(var(--u) * 5);
  border-radius: calc(var(--u) * .04);
  background: #0b0b09;
}
.odo__slot::after { /* curvature shading + a glass highlight */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 70%, rgba(0,0,0,.78) 100%),
    linear-gradient(180deg, rgba(255,255,255,.16) 0 8%, transparent 8%);
}
.odo__wheel { position: absolute; left: 0; right: 0; top: 50%; height: var(--h); margin-top: calc(var(--h) / -2); transform-style: preserve-3d; }
.odo__face {
  position: absolute; inset: 0; display: grid; place-items: center;
  backface-visibility: hidden;
  background: #F5EAD9; color: #1F1F1A;
  font-family: var(--f-mono); font-weight: 500; font-size: calc(var(--u) * .86); line-height: 1;
  border-top: 1px solid rgba(31,31,26,.25); border-bottom: 1px solid rgba(31,31,26,.25);
}
.odo__grp--hot .odo__face { background: var(--red); color: #F5EAD9; border-color: rgba(0,0,0,.25); }
.odo__lab { font-family: var(--f-mono); font-size: max(10px, calc(var(--u) * .11)); letter-spacing: .14em; text-transform: uppercase; color: rgba(245,234,217,.6); padding-left: calc(var(--u) * .06); }
.odo__grp--hot .odo__lab { color: #ff6b5e; }
.odo__sep { position: relative; align-self: flex-start; width: calc(var(--u) * .16); height: calc(var(--u) * 1.3); margin: 0 calc(var(--u) * -.14); }
.odo__sep::before, .odo__sep::after { content: ""; position: absolute; left: 0; width: calc(var(--u) * .16); aspect-ratio: 1; border-radius: 50%; background: var(--red); box-shadow: 0 2px 0 #8E1919, inset 0 1px 0 rgba(255,255,255,.3); }
.odo__sep::before { top: 32%; } .odo__sep::after { top: 62%; }
.odo__hint { font-family: var(--f-mono); font-size: 12px; margin-top: 18px; opacity: .55; text-align: right; }
@media (max-width: 760px) {
  .odo { --u: 13vw; }
  .odo__plate { flex-wrap: wrap; row-gap: calc(var(--u) * .3); justify-content: flex-start; }
  .odo__sep { display: none; }
}

/* Instruments: the four, years played; the ones he's put down are struck through lightly */
.inst { list-style: none; position: relative; z-index: 1; margin-top: 8px; font-family: var(--f-mono); font-size: 11px; line-height: 1.25; }
.inst li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-top: 1px solid rgba(31,31,26,.25); }
.inst li span:last-child { text-align: right; white-space: nowrap; }
.inst li.is-off { opacity: .5; }
.inst li.is-off span:first-child { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; }

/* the plate sits flat on the page; each section (years, days, hrs, min, sec) is its own box and lifts on hover */
.odo { perspective: none; }
.odo__plate { transform: none; box-shadow: 0 12px 0 #0d0d0b, 0 40px 60px rgba(59,40,23,.42), inset 0 1px 0 rgba(255,255,255,.12); }
.odo__drums {
  box-shadow: inset 0 3px 8px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06), 0 3px 0 #000, 0 6px 10px rgba(0,0,0,.5);
  transition: transform .4s cubic-bezier(.3,1.6,.5,1), box-shadow .4s ease;
}
.odo__lab { transition: transform .4s cubic-bezier(.3,1.6,.5,1), color .2s; }
@media (hover: hover) {
  .odo__grp:hover .odo__drums {
    transform: translateY(calc(var(--u) * -.16)) scale(1.03);
    box-shadow: inset 0 3px 8px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.1), 0 3px 0 #000, 0 calc(var(--u) * .3) calc(var(--u) * .3) rgba(0,0,0,.7);
  }
  .odo__grp:hover .odo__lab { transform: translateY(calc(var(--u) * -.06)); color: #F5EAD9; }
  .odo__grp { position: relative; z-index: 1; }
  .odo__grp:hover { z-index: 2; }
}
.obj { transition: opacity .25s ease; }

/* ═════ Instruments spread: pulls up out of the block, all four laid out, scroll sideways ═════ */
.c-guitar { cursor: pointer; }
.c-guitar.is-spread .obj--guitar { opacity: 0; }
.spread {
  position: fixed; z-index: 40; width: min(1440px, calc(100vw - 24px));
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(40px) scale(.9); transform-origin: 50% 100%;
  transition: opacity .25s ease, transform .5s cubic-bezier(.2,1.25,.4,1), visibility 0s .5s;
}
.spread.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .2s ease, transform .55s cubic-bezier(.2,1.25,.4,1), visibility 0s; }
.spread__head span:last-child { color: var(--red); }
.spread__row {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 0;
  scrollbar-width: thin; scrollbar-color: var(--red) rgba(31,31,26,.12);
}
.spread__row::-webkit-scrollbar { height: 8px; }
.spread__row::-webkit-scrollbar-track { background: rgba(31,31,26,.1); }
.spread__row::-webkit-scrollbar-thumb { background: var(--red); }
.spread__item { flex: 1 0 220px; scroll-snap-align: start; margin: 0; transition: transform .3s cubic-bezier(.2,1.4,.4,1); }
.spread__item:hover { transform: translateY(-8px); }
.spread.is-open .spread__item { animation: rise .6s cubic-bezier(.2,1.3,.4,1) both; }
.spread.is-open .spread__item:nth-child(2) { animation-delay: .05s; } .spread.is-open .spread__item:nth-child(3) { animation-delay: .1s; } .spread.is-open .spread__item:nth-child(4) { animation-delay: .15s; }
@keyframes rise { from { transform: translateY(50px); opacity: 0; } }
.spread__gl { display: block; width: 165%; margin: 0 -32.5%; aspect-ratio: 1 / 1; pointer-events: none; position: relative; z-index: 0; }
.spread__item { position: relative; }
.spread__item figcaption { position: relative; z-index: 1; }
.spread__row { overflow: visible; }
.spread__item figcaption { display: grid; grid-template-columns: auto 1fr auto; column-gap: 10px; align-items: baseline; width: max-content; margin: -10px auto 0; padding: 6px 12px 7px; background: var(--char); color: var(--cream); font-family: var(--f-mono); font-size: 12px; box-shadow: 0 8px 16px rgba(59,40,23,.3); }
.spread__item figcaption b { font-family: var(--f-sans); font-weight: 500; font-size: 22px; letter-spacing: -.03em; }
.spread__item figcaption em { grid-column: 2 / -1; font-style: normal; color: #ff6b5e; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.spread__no { opacity: .5; }
.spread__item.is-off figcaption b { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
/* the one under the cursor comes forward and grows; the others give it room */
.spread__gl { transition: transform .5s cubic-bezier(.2,1.3,.4,1), opacity .3s ease; transform-origin: 50% 55%; }
.spread__item:hover { z-index: 2; }
.spread__item:hover .spread__gl { transform: scale(1.3); }
.spread__row:has(.spread__item:hover) .spread__item:not(:hover) .spread__gl { transform: scale(.9); opacity: .75; }
/* while the spread is up, the rest of the sheet steps back so the instruments read on their own */
.cell, .grid36__cap { transition: opacity .35s ease, filter .35s ease; }
body.spread-up .cell:not(.c-guitar), body.spread-up .grid36__cap { opacity: .22; filter: saturate(.4); }
body.spread-up .c-guitar > * { opacity: .35; transition: opacity .35s ease; }

/* phones: the table lies flat. The blocks keep their cast shadows for depth, but nothing is foreshortened,
   so the long single column stays the width of the screen and the globe stays round */
@media (max-width: 700px) {
  .table3d { perspective: none; }
  .face { display: none; }
}
/* phones: the country list is long, so the globe sits under it instead of behind it */
@media (max-width: 900px) {
  .c-route { min-height: 0; }
  .c-route .globe { position: relative; top: auto; right: auto; bottom: auto; width: 100%; height: 320px; margin: 8px 0 4px; }
}
/* phones: the four instruments come up two by two, so all of them fit on the screen */
@media (max-width: 700px) {
  .spread__row { display: grid; grid-template-columns: 1fr 1fr; row-gap: 6px; }
  .spread__gl { width: 125%; margin: 0 -12.5%; }
  .spread__item figcaption { font-size: 10px; padding: 4px 8px 5px; column-gap: 6px; }
  .spread__item figcaption b { font-size: 17px; }
}
