/* Variant B3: B2 after Uku's feedback of 23.11. Playfair Display (the lettering in the EFA post he sent), a metallic
   gold sampled from that post, a black UKU and white lightning. Loads after ../b/b.css and ../b2/b2.css.
   html[data-hero]: "gold" = black UKU on a gold-lit wall, "light" = black UKU on the light canvas of B. */
:root {
    --blue: #C9A86B;
    --blue-2: #DCC391;
    --metal: linear-gradient(180deg, #E9D5A8 0%, #CFB074 42%, #A18454 100%);
    --metal-x: linear-gradient(100deg, #A98A56, #E2CB98 52%, #BE9C5F);
    --serif: "Playfair Display", "Times New Roman", serif;
    --line: rgba(214, 186, 132, .22);
}
.gi { background: var(--metal); }
.metal, .tape div:nth-child(-n+2) dd, .card-ink h2 b, .code b, .name .n2 { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Type: the serif carries every heading, small wide caps carry the labels. */
.name, .card h2, .sub, .rows b, .code b, .tape dd, .vb-copy h1, .vb-done h2, .rounds b { font-family: var(--serif); font-weight: 500; text-transform: none; font-variant-numeric: lining-nums; letter-spacing: -.01em; }
.intro { font: 400 25px/1.32 var(--serif); letter-spacing: 0; max-width: 24ch; }
.intro em { color: var(--blue-2); }
.tape dt, .tag, .code span, .rd, .vb-form label { font-weight: 600; letter-spacing: .18em; }
.mark { font-weight: 600; letter-spacing: .16em; font-variation-settings: "wdth" 92; }
.btn.go { font-weight: 600; letter-spacing: .12em; font-size: 13px; }

/* Poster. The surname stays upright: Playfair's italic J has a crossbar and reads like an F. */
.poster { background: var(--paper); }
.poster::before { content: ""; position: absolute; z-index: -4; inset: 0; transition: opacity .4s; }
html[data-hero="gold"] .poster::before { background:
    radial-gradient(60% 46% at 56% 34%, rgba(255, 243, 214, .7), rgba(255, 243, 214, 0) 72%),
    linear-gradient(90deg, rgba(30, 20, 5, .62) 0%, rgba(30, 20, 5, 0) 32%, rgba(30, 20, 5, 0) 72%, rgba(30, 20, 5, .7) 100%),
    linear-gradient(180deg, #9C7F4E 0%, #CBAE78 26%, #A18454 50%, #3A2D17 78%, #0B0B0B 100%); }
html[data-hero="light"] .poster::before { background: radial-gradient(80% 60% at 56% 34%, #FBF9F4 0%, #EFEBE2 55%, #DCD6C9 100%); }
.poster::after { content: ""; display: block; position: absolute; z-index: 1; inset: auto 0 0; height: 52%; pointer-events: none; background: linear-gradient(180deg, rgba(11, 11, 11, 0) 0%, rgba(11, 11, 11, .1) 22%, rgba(11, 11, 11, .55) 55%, rgba(11, 11, 11, .92) 82%, var(--paper) 100%); }
.cut { -webkit-mask-image: none; mask-image: none; filter: grayscale(1) contrast(1.08) brightness(1); }
.storm { background: radial-gradient(120% 75% at 62% 8%, #4A4A4C 0%, #19191B 45%, #070708 100%); }
.name { line-height: 1; }
.name .n1 { top: 5.5%; left: 0; right: 0; text-align: center; font-size: 40.5vw; line-height: .9; letter-spacing: -.02em; text-transform: uppercase; color: #0B0B0B; }
.name .n2 { left: 0; right: 0; bottom: 78px; text-align: center; font-weight: 500; font-size: 20.6vw; line-height: 1; padding: 0 0 .22em; letter-spacing: -.015em; }
.poster.lit .name .n1 { color: #FFF; }
.poster.lit .name .n2 { color: transparent; filter: brightness(1.18); }
.name .n2 { transition: filter .6s ease-out; }

/* Hero choice, only while Uku decides. */
.hero-pick { display: inline-flex; gap: 4px; }
.hero-pick button { width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); cursor: pointer; background: none; display: grid; place-items: center; }
.hero-pick button i { width: 18px; height: 18px; }
.hero-pick [data-hero-set="gold"] i { background: var(--metal); }
.hero-pick [data-hero-set="light"] i { background: #F1EEE7; }
.hero-pick button[aria-pressed="true"] { border-color: var(--ink); }

/* Cards, buttons, rows */
.card { border-color: rgba(214, 186, 132, .34); }
.card-ink h2 { font-size: min(82px, 24cqi); line-height: 1; }
.card-ink h2 b { font-style: italic; font-weight: 400; padding-right: .06em; }
.card-blue h2 { font-size: min(50px, 14cqi); line-height: 1.06; }
.card-blue::before { background: linear-gradient(215deg, #EBD9B2 0%, #CFB074 38%, #6F5A38 100%); }
.card-play, .btn.go::before, .btn-blue, .play { background: var(--metal-x); }
.rows a:hover { background: var(--metal-x); }
.rows b { font-size: min(27px, 6.6vw); line-height: 1.15; }
.rows small { margin-top: 3px; }
.tape dd { font-size: min(27px, 6.8vw); line-height: 1.1; }
.tape div:nth-child(-n+2) dd { font-size: 54px; line-height: 1; }
.code b { font-size: 29px; letter-spacing: .06em; }
.sub { font-size: 30px; }
.uj { background: var(--metal); }

@media (max-width: 1099px) { .btn.go { letter-spacing: .05em; } }
@media (max-width: 759px) { .btn.go { font-size: min(13px, 3.2vw); } }
@media (max-width: 379px) { .btn.go { letter-spacing: .02em; } }
@media (max-width: 479px) {
    .sound [data-sound-label] { display: none; }
    .sound { width: 36px; padding: 0; justify-content: center; }
    .bar { gap: 8px; }
    .mark { font-size: 11.5px; letter-spacing: .1em; }
}
@media (max-width: 379px) { .mark { font-size: 10px; letter-spacing: .06em; } .lang button { min-width: 30px; } }
@media (min-width: 760px) {
    .name .n1 { font-size: min(27vw, 54vh, 520px); text-align: left; left: clamp(24px, 4vw, 64px); top: 7%; }
    .cut { left: 60%; }
    .name .n2 { text-align: left; left: clamp(24px, 4vw, 64px); bottom: 40px; font-size: min(11.6vw, 190px); }
    .intro { font-size: clamp(26px, 2.6vw, 38px); }
    .rows b { font-size: 31px; }
    .tape dd { font-size: 31px; }
    .tape div:nth-child(-n+2) dd { font-size: 68px; }
}
@media (min-width: 1100px) {
    .card-ink h2 { font-size: clamp(54px, 14cqi, 80px); }
    .card-blue h2 { font-size: clamp(42px, 10.4cqi, 62px); max-width: 9ch; }
}
@media (min-width: 760px) and (max-width: 959px) { .card .btn.go { font-size: 12px; letter-spacing: .01em; padding-right: 64px; } }
/* Light hero: the fade starts a little higher, so the gold surname always stands on dark. */
html[data-hero="light"] .poster::after { height: 58%; }
