/* Brazil, "Pulso": album paper, Copacabana black and white, Burle Marx greens, Athos Bulcão blue. */
:root {
  --bg: #FAF6EA; --ink: #111111; --ink2: #555046; --line: rgba(17, 17, 17, .14); --panel: #FFFFFF; --panel2: #EDE5CF;
  --accent: #0E5E46; --accent-ink: #fff; --pulse: #EB5E4A;
  --hero-bg: #081812; --hero-ink: #FAF6EA; --hero-ink2: rgba(250, 246, 234, .66);
  --display: 'Bricolage Grotesque', 'Inter', sans-serif; --body: Inter, system-ui, sans-serif;
  --r: 14px; --r-sm: 8px; --shadow: 0 10px 26px rgba(17, 17, 17, .14);
  --green: #0E5E46; --sun: #F6C343; --blue: #1B5FAA; --coral: #EB5E4A;
}
.big { font-weight: 800; letter-spacing: -.035em; line-height: .95; }
.big em { font-style: normal; color: var(--coral); }
.big.h-sm { font-weight: 700; }
#pulse { background: radial-gradient(ellipse at 70% 60%, rgba(14, 94, 70, .35), transparent 60%), var(--hero-bg); }
#pulse h1 { font-weight: 800; letter-spacing: -.035em; }
#pulse h1 .n { color: var(--sun); }
.hero-txt .kicker span, .ed-btn span, .ed-menu a span, .oe a b { font-style: normal; font-weight: 700; }
.ns b, .p-num, .pn b, .mname, .l-size .cnt, .stat b, .mt-name, .step h3, .take h3, .dis h3, .mom h3, .move h3, .insight, .l-id h2, .local { font-weight: 700; letter-spacing: -.02em; }
.insight { font-weight: 600; }
.local { font-style: normal; color: var(--green); }

/* Copacabana's wave pavement between sections */
.trim { height: 34px; background-color: #FAF6EA; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='34' viewBox='0 0 80 34'%3E%3Cpath d='M0 10 C20 10 20 2 40 2 S60 10 80 10 V18 C60 18 60 10 40 10 S20 18 0 18 Z' fill='%23111'/%3E%3Cpath d='M0 26 C20 26 20 18 40 18 S60 26 80 26 V34 C60 34 60 26 40 26 S20 34 0 34 Z' fill='%23111'/%3E%3C/svg%3E"); background-size: 80px 34px; background-repeat: repeat-x; }

/* The lives: an album page with empty slots */
#lives { --bg: #EDE5CF; background-color: var(--bg);
  background-image: linear-gradient(90deg, rgba(17, 17, 17, .05) 1px, transparent 1px), linear-gradient(rgba(17, 17, 17, .05) 1px, transparent 1px); background-size: 24px 24px; }
#lives .big em { color: var(--green); }

.card { width: 260px; opacity: 1; }
.fig { position: relative; display: block; color: var(--ink); }
.fig-slot { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 5 / 6.6; border: 2px dashed rgba(17, 17, 17, .3); border-radius: 10px; background: rgba(17, 17, 17, .04); display: grid; place-items: end center; padding-bottom: 12px; }
.fig-slot-n { font: 600 13px var(--mono); color: rgba(17, 17, 17, .45); }
.fig-sticker { position: relative; display: block; aspect-ratio: 5 / 6.6; border-radius: 10px; background: #fff; padding: 9px; box-shadow: 0 2px 0 rgba(0, 0, 0, .06), 0 8px 18px rgba(0, 0, 0, .14); transform: rotate(var(--tilt)); transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), box-shadow .45s; overflow: hidden; }
.card.active .fig-sticker, .card:hover .fig-sticker { transform: rotate(0) translate(-6px, -10px); box-shadow: 0 4px 0 rgba(0, 0, 0, .05), 18px 26px 30px rgba(0, 0, 0, .22); }
.card:not(.active) .fig-sticker { filter: saturate(.85); }
.fig-top { position: absolute; top: 9px; left: 9px; right: 9px; height: 36px; display: flex; justify-content: space-between; align-items: center; padding: 0 10px; background: color-mix(in srgb, var(--lc) 62%, #000); color: #fff; border-radius: 6px 6px 0 0; z-index: 2; }
.fig-code { font: 800 14px/1 var(--display); letter-spacing: .08em; }
.fig-n { font: 800 22px/1 var(--display); }
.fig-art { position: absolute; left: 9px; right: 9px; top: 45px; bottom: 58px; display: grid; place-items: center; background: color-mix(in srgb, var(--lc) 14%, #fff);
  background-image: repeating-linear-gradient(135deg, color-mix(in srgb, var(--lc) 10%, transparent) 0 8px, transparent 8px 16px); }
.fig-emb { width: 64%; height: auto; margin-top: -10%; filter: drop-shadow(3px 4px 0 rgba(17, 17, 17, .25)); }
.fig-seal { position: absolute; right: 4px; bottom: 4px; width: 44%; }
.fig-seal .med { width: 100%; height: auto; }
.fig-name { position: absolute; left: 9px; right: 9px; bottom: 9px; height: 49px; display: grid; place-items: center; background: #111; color: #FAF6EA; font: 800 19px/1 var(--display); letter-spacing: -.01em; border-radius: 0 0 6px 6px; white-space: nowrap; text-transform: uppercase; }
.fig-name.long { font-size: 15px; }
.fig-sheen { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .75) 46%, rgba(255, 240, 200, .4) 50%, transparent 60%); background-size: 260% 100%; background-position: 120% 0; transition: background-position .9s; pointer-events: none; z-index: 3; }
.card.active .fig-sheen, .card:hover .fig-sheen { background-position: -40% 0; }
.fig-cap { display: block; padding: 16px 4px 0; }
.fig-size { display: block; font: 500 12px var(--mono); color: var(--green); margin-bottom: 4px; }
.fig-cap > b { display: block; font: 700 22px/1.1 var(--display); letter-spacing: -.02em; }
.fig-cap .tag { display: block; font-size: 14px; color: var(--ink2); margin: 6px 0 10px; min-height: 3.9em; }
.dchips { display: flex; flex-wrap: wrap; gap: 5px; }
.dchip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: #fff; border: 1px solid rgba(17, 17, 17, .18); font-size: 12px; }
@media (max-width: 819px) { .card { width: min(70vw, 260px); } }

.med .petal { transform-origin: 0 0; transition: transform .7s cubic-bezier(.3, 1.4, .5, 1); }
.med.bloom .petal { animation: leafIn 1s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes leafIn { from { transform: scale(.15) rotate(25deg); opacity: 0; } to { transform: none; opacity: 1; } }
.med .petal.hi path:first-child { stroke-width: 3; stroke: var(--coral); }
.med .plabel { cursor: pointer; }
.med .plabel.hi circle { stroke: var(--coral); stroke-width: 3; }
.life-in { --lc-ink: color-mix(in srgb, var(--lc) 70%, #111); }
.life-top { border-bottom: 3px solid #111; }

.mt { border: 2px solid #111; border-radius: 12px; box-shadow: 0 3px 0 #111; }
.mt-ico { background: var(--mc); color: #fff; }
.mt-name { letter-spacing: -.02em; }
.take article { border: 2px solid #111; }
.take article:nth-child(1) { background: #E1F0E8; } .take article:nth-child(2) { background: #FDF0CC; } .take article:nth-child(3) { background: #DDE8F7; }
.tip { background: #111; color: #FAF6EA; }
.album-count { margin-left: auto; font-size: 12px; padding: 6px 10px; border-radius: 999px; background: #fff; border: 1px dashed rgba(17, 17, 17, .35); white-space: nowrap; }
.album-count.done { background: #F6C343; border-style: solid; }
@media (max-width: 819px) { .album-count { order: 2; margin-left: 4px; } }
