/* Supporting Çənlibel: his letter by the camp, on ../stage.css. See README.md.
   The dusk painting held to the window's left and foot, its tent's lamp and pole fire lit; the letter beside the tent. */

/* the camp: the painting as large as it must be to fill the window, its left edge and its meadow pinned, so the tent, its
   lamp and the chest always stand at the left (its right, the valley and the sun, runs off a narrower window) */
.hc-camp { position: absolute; left: 0; bottom: 0; aspect-ratio: 2560 / 1432; height: max(var(--sh), 100vw * 1432 / 2560); }
.hc-camp img { display: block; width: 100%; height: 100%; }
.hs-cap .hc-camp { bottom: auto; top: calc(var(--sh) - max(var(--sh), 100vw * 1432 / 2560)); }   /* the cap's copy lies where the stage's does */
/* the lamp (the tent's own glow at 72.4 %, 51.2 %: here 26.5 % of the dusk's width) and the fire on the pole at the tent's corner */
.hc-camp .hc-lamp { left: 26.5%; top: 51.4%; width: 22%; }
.hc-camp .hc-fire { left: 4.2%; top: 6.9%; width: 14%; animation-delay: -1.1s; }
.hc-camp .hc-fire-sparks { left: 4.2%; top: 6%; }
.hc-camp .flies { left: 14%; top: 36%; width: 30%; height: 40%; }
/* the lamp's light reaches the letter: a wide warm breath over the lane, from the tent's side, flickering with the lamp */
.hc-light { position: absolute; z-index: 3; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: .5;
  background: radial-gradient(60vw 50% at 22vw 55%, rgb(255 180 100 / .16), transparent 70%); animation: flicker 2.7s steps(1, end) infinite; }
.hs-stage::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto; height: 40%;
  background: linear-gradient(rgb(19 31 40 / .55), transparent); }   /* the sky a little deeper under the stroke */

/* the lane: the letter's own measure, at the right of the tent */
.hc { --lane: 34rem; --lx: min(64vw, 100vw - var(--lane) / 2 - clamp(24px, 7vw, 160px)); }
.hc .hs-head, .hc .hs-main { padding-left: 0; padding-right: 0; }
.hc .hs-head { min-height: calc(var(--sh) * .7); align-items: stretch; }
/* the letter's column centred on --lx, and the title over it, a little wider so the name keeps to one line where it can */
.hc-letter { --w: min(var(--lane), 100vw - 2 * var(--gut)); width: var(--w); margin-left: calc(var(--lx) - var(--w) / 2); }
.hc .hs-title { --w: min(var(--lane) + 10rem, 100vw - 2 * var(--gut)); width: var(--w); margin-left: calc(var(--lx) - var(--w) / 2); }
.hc .hs-head::after, .hc .hs-main::before, .hc .hs-main::after, .hc-letter::before { left: var(--lx); width: calc(var(--lane) + 16rem); }
.hc .hs-main { --band: linear-gradient(90deg, transparent, rgb(15 24 32 / .78) 24%, rgb(15 24 32 / .78) 80%, transparent); }
.hc .hs-head { --band: linear-gradient(90deg, transparent, rgb(15 24 32 / .78) 24%, rgb(15 24 32 / .78) 80%, transparent); }
.hc .hs-title h1 { font-size: clamp(44px, 4.6vw, 68px); }
/* on a wide window the title is one line in the middle of the window, under the stroke, and the letter begins where it did,
   a little lower (the owner, 12-04: "put the title in the center in the desktop view ... just one line ... Do not move the
   content up and down ... maybe ... a little bit of space"); it scrolls away with the letter. Before it, the title stood still
   over the tent, and the letter keeps its place at the right of the tent that gave it. */
@media (min-width: 900px) {
  .hc { --lx: max(min(64vw, 100vw - var(--lane) / 2 - clamp(24px, 7vw, 160px)), 40vw + min(var(--lane), 100vw - 2 * var(--gut)) / 2); }
  /* its top just clear of the cap's melting tail where the stroke dips, in the middle (ridge-3-cap.webp is gone at 78 % of its
     height there: the cap's --cy, then 78 % of its 15.1vw) */
  .hc .hs-head { min-height: 0; justify-content: flex-start; padding-top: calc(clamp(4px, 1.2vw, 24px) + 11.8vw + 6px); padding-bottom: 28px; }
  .hc .hs-title { width: max-content; max-width: calc(100vw - 2 * var(--gut)); margin: 0 auto; }
  .hc .hs-title h1 { white-space: nowrap; }
  .hc .hs-title .ornament { margin: 16px 0 0; }
  /* no dark behind the title: the letter's band melts in where the letter begins, not under the title (the owner, 12-04:
     "remove the background darkening overlay from the title in the desktop view"); its melt is a short box of its own, as
     the stage's are (a mask on the tall band showed a seam in Safari) */
  .hc .hs-head::after { display: none; }
  /* nor the stage's pool of night under it, nor a halo round its letters: only a hair of shadow keeps their edges on the
     lit clouds (the owner, 12-04: "I still see there is some shadow this thing has") */
  .hc .hs-title::before { display: none; }
  .hc .hs-title h1 { text-shadow: 0 1px 3px rgb(10 12 20 / .55); }
  .hc .hs-main::before { top: var(--melt); }
  .hc-letter::before { content: ""; position: absolute; z-index: -1; top: 0; height: var(--melt); translate: -50% 0; pointer-events: none;
    background: var(--band); -webkit-mask-image: linear-gradient(transparent, #000); mask-image: linear-gradient(transparent, #000); }
  .hc { --melt: 96px; }
}
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  /* on a window wider than tall, the letter never over the tent's lantern: its column begins just past it (the lantern's
     right side is 28.3 % of the painting's width, the painting as wide as the window or as its height asks) and uses the room
     at the right, narrower where it must, never under 24rem (the owner, 12-04: "align the text more to the right ... the
     text kind of flows over the lantern for no
     reason ... that would like fix the gradient dissolving on the right side") */
  .hc { --pw: max(var(--sh) * 2560 / 1432, 100vw); --clear: calc(var(--pw) * .283 + clamp(28px, 3vw, 56px)); --rg: clamp(28px, 4vw, 72px);
    --lw: max(clamp(24rem, 100vw - var(--clear) - var(--rg), var(--lane)), min(50vw - var(--rg), 56rem));
    --lx: calc(100vw - var(--rg) - var(--lw) / 2); }
  /* on a big screen the letter begins in the window's middle and runs to its right margin, wider than its lane (the owner,
     12-04: "increase the minimum width of this container ... at the big screen ... left of the text should start right in
     the middle of the screen"); never wider than 56rem, so a line stays readable past a 1920 window */
  .hc-letter { --w: var(--lw); }
  /* at every such width as at a middle one: the letter at the window's right, and its band dark from just before it to the
     window's edge, never melting short of it (the owner, 12-04, of a wide window: "we have this gap on the right side. The
     gradient blur kind of like sits like it's hanging ... Can we like do the desktop version similar to this mid version?") */
  .hc .hs-head::after, .hc .hs-main::before, .hc .hs-main::after, .hc-letter::before { left: calc(var(--lx) - var(--lw) / 2 - 12rem); right: 0; width: auto; translate: none; }
  .hc .hs-main, .hc .hs-head { --band: linear-gradient(90deg, transparent, rgb(15 24 32 / .78) 12rem, rgb(15 24 32 / .78)); }
  /* (a window taller than wide, an iPad Pro held upright, has no room right of the lantern: there the rule above holds) */
}
.hc-letter .letter-body { max-width: none; }
.hc-letter .letter-body p { color: var(--ink); }
.hc-letter h2 { font-size: clamp(28px, 2.6vw, 34px); margin: 1.7em 0 .5em; }
/* his card, as he drew it (the owner, 12-04, a picture of it: "Can we actually try to do it this way? You see how nice it looks?
   ... Let's just make this"): an ivory card, its corners cut round inward, a thin gold line inside following them; his address
   at its top left and linkedin, underlined, at its top right, a gold rule with its diamond under them; his round picture in a
   gold ring at the left, a gold line, his name and his line; his button hanging from its foot, its middle on the card's edge, its
   top just under his picture (the owner, 12-04: "make my card smaller ... so that its center sits right at the bottom of my card
   ... and we have this cool hanging button there"). His sprigs in its lower corners are his to paint (art-wishes § 8). Its
   colours are the variables below; its measures follow its own width (cqw), as a printed card's do. Its paper is a layer of its
   own (.hc-paper) cut at the corners, so the button can hang past its edge uncut; its gold lines are another (::after). */
/* ivory, ink near black (the owner, 12-04: "Can we have just simple white card? ... the text should be probably closer to black";
   of six light shades, "Let's skip 6": ivory) */
.hc-author { --card: #fcf9f2; --card-2: #eee7d8; --card-ink: #1b1b1a; --card-soft: #4b4a47; --card-link: #1b1b1a; --card-gold: #b8914c;
  --card-rule: rgb(184 145 76 / .85); --card-cut: 3.2cqw; --sp-w: 8cqw; --sp-cx: 9.6cqw; --sp-cy: 7.6cqw; --card-sep: 8cqw; --tk-h: 54px;
  container-type: inline-size; max-width: 440px; margin: 2.8em 0 0; }
.hc-author:has(.hc-pay:not([hidden])) { margin-bottom: calc(var(--tk-h) / 2 + 8px); }   /* room for the button's hanging half */
.hc-face { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 0; align-items: center; justify-items: start;
  padding: 4.6cqw 5.4cqw 5cqw; text-align: left; color: var(--card-soft); }
/* the paper (.hc-paper b): its grain, the light across it, its corners cut round inward (a circle of --card-cut at each); its
   shadow is its holder's (.hc-paper), so it follows the cut corners and the button hangs past the edge uncut */
.hc-paper { position: absolute; z-index: -1; inset: 0; pointer-events: none; filter: drop-shadow(0 16px 16px rgb(0 0 0 / .5)) drop-shadow(0 2px 3px rgb(0 0 0 / .3)); }
/* his gold sprigs (12-04, his own painting, cut off its blue and scaled; the owner: "Gold laurel sprigs in the lower corners")
   in the card's two lower corners, inside its gold line, beside the hanging button, each curling up toward its corner: the
   right one as he painted it, the left one flipped (the owner, 12-04, after turning them: "The left should be on the right. The
   right should be on the left. Yeah, that's the way the curve is going ... rotate it anti-clockwise about 120-130 degrees.
   Probably they do the opposite to the other side"), each tipped 17 degrees toward the card's foot. --sp-cx and --sp-cy place
   each sprig's middle, from its side and the card's foot (its box is 200 by 184, the picture's own shape) */
.hc-paper::before, .hc-paper::after { content: ""; position: absolute; z-index: 1; width: var(--sp-w); aspect-ratio: 200 / 184;
  left: calc(var(--sp-cx) - var(--sp-w) / 2); bottom: calc(var(--sp-cy) - var(--sp-w) * .46); scale: -1 1; rotate: -17deg;
  background: url("sprig.webp") 0 0 / 100% 100% no-repeat; opacity: .85; }   /* at 85% (the owner, 12-04: "make it 70% opacity", then "No, this is not good. Make it 85") */
.hc-paper::after { left: auto; right: calc(var(--sp-cx) - var(--sp-w) / 2); scale: none; rotate: 17deg; }
/* on a narrow card the button reaches nearer its corners: the sprigs smaller and further out, and on the narrowest none,
   rather than under the button */
@container (max-width: 330px) { .hc-paper { --sp-w: 7.9cqw; --sp-cx: 8.6cqw; --sp-cy: 9cqw; } }
@container (max-width: 300px) { .hc-paper::before, .hc-paper::after { display: none; } }
.hc-paper b { position: absolute; inset: 0;
  background: linear-gradient(118deg, rgb(255 250 235 / .14), transparent 38%, transparent 62%, rgb(30 15 5 / .1)),
    url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27180%27 height=%27180%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.85%27 numOctaves=%272%27 stitchTiles=%27stitch%27/%3E%3CfeColorMatrix values=%270 0 0 0 .4 0 0 0 0 .28 0 0 0 0 .14 0 0 0 .1 0%27/%3E%3C/filter%3E%3Crect width=%27180%27 height=%27180%27 filter=%27url%28%23n%29%27/%3E%3C/svg%3E"), radial-gradient(130% 100% at 28% 18%, var(--card), var(--card-2));
  -webkit-mask: radial-gradient(circle var(--card-cut) at calc(0% - 0px) calc(0% - 0px), #0000 calc(100% - .6px), #000 100%) 0 0 / 51% 51% no-repeat, radial-gradient(circle var(--card-cut) at calc(100% + 0px) calc(0% - 0px), #0000 calc(100% - .6px), #000 100%) 100% 0 / 51% 51% no-repeat, radial-gradient(circle var(--card-cut) at calc(0% - 0px) calc(100% + 0px), #0000 calc(100% - .6px), #000 100%) 0 100% / 51% 51% no-repeat, radial-gradient(circle var(--card-cut) at calc(100% + 0px) calc(100% + 0px), #0000 calc(100% - .6px), #000 100%) 100% 100% / 51% 51% no-repeat;
          mask: radial-gradient(circle var(--card-cut) at calc(0% - 0px) calc(0% - 0px), #0000 calc(100% - .6px), #000 100%) 0 0 / 51% 51% no-repeat, radial-gradient(circle var(--card-cut) at calc(100% + 0px) calc(0% - 0px), #0000 calc(100% - .6px), #000 100%) 100% 0 / 51% 51% no-repeat, radial-gradient(circle var(--card-cut) at calc(0% - 0px) calc(100% + 0px), #0000 calc(100% - .6px), #000 100%) 0 100% / 51% 51% no-repeat, radial-gradient(circle var(--card-cut) at calc(100% + 0px) calc(100% + 0px), #0000 calc(100% - .6px), #000 100%) 100% 100% / 51% 51% no-repeat; }
/* its gold: the card's own edge, and a line 2.2cqw inside it whose corners keep the cut's centre (radius 3.2 + 2.2 = 5.4cqw; it
   meets the straight lines 4.93cqw from the corner, the square root of 3.2² + 2 × 3.2 × 2.2) */
.hc-face::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background: linear-gradient(var(--card-gold), var(--card-gold)) 4.93cqw 2.2cqw / calc(100% - 2 * 4.93cqw) 1px no-repeat, linear-gradient(var(--card-gold), var(--card-gold)) 4.93cqw calc(100% - 2.2cqw) / calc(100% - 2 * 4.93cqw) 1px no-repeat, linear-gradient(var(--card-gold), var(--card-gold)) 2.2cqw 4.93cqw / 1px calc(100% - 2 * 4.93cqw) no-repeat, linear-gradient(var(--card-gold), var(--card-gold)) calc(100% - 2.2cqw) 4.93cqw / 1px calc(100% - 2 * 4.93cqw) no-repeat,
    radial-gradient(circle at 0 0, #0000 calc(5.4cqw - .7px), var(--card-gold) calc(5.4cqw - .2px), var(--card-gold) calc(5.4cqw + .3px), #0000 calc(5.4cqw + .8px)) 0 0 / 4.93cqw 4.93cqw no-repeat, radial-gradient(circle at 100% 0, #0000 calc(5.4cqw - .7px), var(--card-gold) calc(5.4cqw - .2px), var(--card-gold) calc(5.4cqw + .3px), #0000 calc(5.4cqw + .8px)) 100% 0 / 4.93cqw 4.93cqw no-repeat, radial-gradient(circle at 0 100%, #0000 calc(5.4cqw - .7px), var(--card-gold) calc(5.4cqw - .2px), var(--card-gold) calc(5.4cqw + .3px), #0000 calc(5.4cqw + .8px)) 0 100% / 4.93cqw 4.93cqw no-repeat, radial-gradient(circle at 100% 100%, #0000 calc(5.4cqw - .7px), var(--card-gold) calc(5.4cqw - .2px), var(--card-gold) calc(5.4cqw + .3px), #0000 calc(5.4cqw + .8px)) 100% 100% / 4.93cqw 4.93cqw no-repeat; }
.hc-author p { margin: 0; }
.hc-author .hc-reach { position: relative; grid-column: 1 / -1; justify-self: stretch; display: flex; justify-content: space-between; gap: 12px; margin-bottom: var(--card-sep);
  font: 500 clamp(14.5px, 4cqw, 17.5px)/1 var(--serif); letter-spacing: .02em; }
/* between his ways to reach him and him: a short rule in the middle, gone softly at both ends, a small diamond at its heart
   (the owner, 12-04: "I don't want full width line ... some nice thing in the middle that disappears gently") */
.hc-reach::before, .hc-reach::after { content: ""; position: absolute; left: 50%; pointer-events: none; }
.hc-reach::before { top: calc(100% + var(--card-sep) / 2); width: 52%; height: 1px; translate: -50% 0;
  background: linear-gradient(90deg, transparent, var(--card-rule) 38%, transparent 47%, transparent 53%, var(--card-rule) 62%, transparent); }
.hc-reach::after { top: calc(100% + var(--card-sep) / 2 - 3.5px); width: 6px; height: 6px; translate: -50% 0; rotate: 45deg; box-shadow: inset 0 0 0 1px var(--card-rule); }
.hc-reach a { color: var(--card-link); text-decoration: none; }
.hc-reach a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.hc-reach a + a, .hc-reach a + a:hover { text-decoration: underline; text-decoration-color: #b8502f; text-decoration-thickness: 1.2px; text-underline-offset: 5px; }   /* linkedin, underlined in the button's red, as he drew it */
.hc-author img { grid-column: 1; grid-row: 2 / 4; justify-self: end; width: 19cqw; height: 19cqw; margin-right: 9cqw; border-radius: 50%; object-fit: cover; object-position: 56% 30%;
  box-shadow: 0 0 0 1px rgb(255 248 230 / .7), 0 0 0 3px var(--card-gold), 0 0 0 3.5px rgb(110 80 35 / .4), 0 8px 14px -8px rgb(0 0 0 / .45); }   /* round (the owner, 12-04: "Let's go back to the circular profile picture"), in a gold ring */
/* as he drew it, his name stands in the card's middle, under the rule's diamond and over the button; his picture and a gold line
   at its left, his line under it from its left edge (the owner, 12-04: "match the alignment of the reference ... my name sits in
   the middle, and then the rest of the things is aligned around the name"): three columns, the outer two equal, his name the middle
   one, his line reaching into the right one. His line in EB Garamond's own italic, as he drew it (the owner, 12-04: "free to change
   the [Making Çənlibel in Prague] font family too, to make it look nice"; "We shouldn't ban cursive ... very intentional use") */
.hc-face::before { content: ""; grid-column: 1; grid-row: 2 / 4; justify-self: end; align-self: center; width: 1px; height: 14cqw; margin-right: 5cqw; background: var(--card-rule); }
.hc-author .who { grid-column: 2; grid-row: 2; align-self: end; font: 600 clamp(28px, 8.6cqw, 38px)/1 var(--display); color: var(--card-ink); }
.hc-author .role { grid-column: 2 / 4; grid-row: 3; align-self: start; padding-top: 1cqw; font: italic 400 clamp(15.5px, 4.4cqw, 19.5px)/1.3 var(--serif); text-wrap: balance; }
/* the thanks after a payment: the landing's viewer (style.css § the viewer: its backdrop, its rise, its close) as one gold-edged
   card, a painting over his words on his card's night */
.hc-thx { max-width: min(560px, 92vw); padding: 3px; border-radius: 3px; background: linear-gradient(#f3dcab, #b9965a 40%, #7a5f34);
  box-shadow: 0 40px 90px -20px rgb(0 0 0 / .9), 0 0 120px -10px rgb(255 190 110 / .3); }
.hc-thx:focus { outline: none; }
.hc-thx figure { position: relative; margin: 0; overflow: hidden; }
.hc-thx img { display: block; width: 100%; height: auto; }   /* his painting for it, whole (the owner, 12-04: thanks.webp) */
.hc-thx .flies { left: 8%; top: 18%; width: 84%; height: 66%; }
.hc-thx-words { padding: 22px 26px 30px; text-align: center; background: linear-gradient(172deg, #1b2730 40%, #162129); }
.hc-thx h2 { margin: 0; font: 500 clamp(40px, 6vw, 56px)/1.05 var(--display); color: var(--ink); }
.hc-thx .ornament { margin: 12px 0 14px; }
.hc-thx-words p:last-of-type { margin: 0; font: 500 clamp(26px, 3.4vw, 32px)/1.3 var(--display); color: var(--gold-hi); text-wrap: balance; }   /* what they did, said to be read (the owner, 12-04) */
.hc-thx-close { margin-top: 26px; min-width: 200px; min-height: 54px; border: 0; background: none; font-family: inherit; font-size: 16px; }   /* the landing's plaque on a <button> */
/* the support button, as he drew it (the owner, 12-04): a plaque in the café's red, its corners cut round inward as the card's are,
   a gold rim round it, its words, a gold line, the cup after them (the owner, 12-04: "put the coffee on the right side so it comes
   like after the word coffee"). It hangs from the card's foot, its middle on the card's edge. Only it answers the finger, a little
   brighter, and nothing moves (the owner, 12-04: "My card should not move anywhere ... only like this button should get hover
   effect"); the landing's plaque is dropped here */
/* the button's top just under his picture (the owner, 12-04, a line drawn: "My card is still too thick"), 10 px from it (the owner,
   12-04: "on the smaller screen the button is kind of touching my circle ... at least like 10 pixel gap between the button and
   the profile picture"; now his picture stands nearer the middle, at every width: 14 px from his picture's edge is 10.5 from its
   gold ring) */
.hc-face:has(.hc-pay:not([hidden])) { padding-bottom: calc(var(--tk-h) / 2 + 14px); }
.hc-author .hc-pay { position: absolute; z-index: 1; left: 50%; top: 100%; translate: -50% -50%; margin: 0; }   /* over the card's gold, its middle on the card's edge (the owner, 12-04: "align the center of the button to the bottom of the card") */
/* its colours by what it buys: a coffee's red with cream words; a beer's amber with a line of foam and black words, its rim
   bronze; a joint's grass green with black words (the owner, 12-04: "buy me a beer and joint button ... different colored ...
   nice beer color, and the text would be probably black, and also a nice grass green color") */
.hc-pay { --tk: #b8502f; --tk-2: #8f3520; --tk-hi: #c65b37; --tk-hi-2: #9d3c24; --tk-lo: #a6462a; --tk-lo-2: #82301d; --tk-ink: #fbecd6; --tk-top: rgb(255 255 255 / .16);
  --tk-rim: #f1d595; --tk-rim-2: #b6873f; --tk-line: rgb(232 196 120 / .85); --tk-cut: 9px; }
.hc-pay[data-kind="beer"] { --tk: #f2b640; --tk-2: #d38f1f; --tk-hi: #f7c352; --tk-hi-2: #dc9a28; --tk-lo: #e3a634; --tk-lo-2: #c18118; --tk-ink: #1d1408; --tk-top: rgb(255 249 232 / .7);
  --tk-rim: #b98434; --tk-rim-2: #74491a; --tk-line: rgb(80 50 14 / .55); }
/* olive, to sit with the card's paper and gold (the owner, 12-04: "I think D matches the card better") */
.hc-pay[data-kind="joint"] { --tk: #8f9c40; --tk-2: #6b772a; --tk-hi: #9aa84a; --tk-hi-2: #76832f; --tk-lo: #84903a; --tk-lo-2: #606b24; --tk-ink: #191c05; --tk-top: rgb(255 255 255 / .2);
  --tk-line: rgb(40 45 10 / .45); }
/* the rim is the button's own ground, cut at its corners; the plaque inside it (::before) 2 px in, its cuts round the same centres */
.hc-pay .btn { --c: 0; isolation: isolate; gap: 0; height: var(--tk-h); min-height: 0; padding: 0; border-radius: 0; white-space: nowrap;
  color: var(--tk-ink); font: 500 20px/1 var(--serif); letter-spacing: .01em; text-transform: none; filter: none;
  background: linear-gradient(var(--tk-rim), var(--tk-rim-2)); box-shadow: none;
  -webkit-mask: radial-gradient(circle var(--tk-cut) at -0px -0px, #0000 calc(100% - .6px), #000 100%) 0 0 / 51% 51% no-repeat, radial-gradient(circle var(--tk-cut) at calc(100% + 0px) -0px, #0000 calc(100% - .6px), #000 100%) 100% 0 / 51% 51% no-repeat, radial-gradient(circle var(--tk-cut) at -0px calc(100% + 0px), #0000 calc(100% - .6px), #000 100%) 0 100% / 51% 51% no-repeat, radial-gradient(circle var(--tk-cut) at calc(100% + 0px) calc(100% + 0px), #0000 calc(100% - .6px), #000 100%) 100% 100% / 51% 51% no-repeat;
          mask: radial-gradient(circle var(--tk-cut) at -0px -0px, #0000 calc(100% - .6px), #000 100%) 0 0 / 51% 51% no-repeat, radial-gradient(circle var(--tk-cut) at calc(100% + 0px) -0px, #0000 calc(100% - .6px), #000 100%) 100% 0 / 51% 51% no-repeat, radial-gradient(circle var(--tk-cut) at -0px calc(100% + 0px), #0000 calc(100% - .6px), #000 100%) 0 100% / 51% 51% no-repeat, radial-gradient(circle var(--tk-cut) at calc(100% + 0px) calc(100% + 0px), #0000 calc(100% - .6px), #000 100%) 100% 100% / 51% 51% no-repeat; }
.hc-pay .btn::before { content: ""; display: block; position: absolute; z-index: -1; inset: 2px; clip-path: none; filter: none; transition: background .25s;
  background: linear-gradient(var(--tk), var(--tk-2)); box-shadow: inset 0 1px 0 var(--tk-top);
  -webkit-mask: radial-gradient(circle calc(var(--tk-cut) + 2px) at -2px -2px, #0000 calc(100% - .6px), #000 100%) 0 0 / 51% 51% no-repeat, radial-gradient(circle calc(var(--tk-cut) + 2px) at calc(100% + 2px) -2px, #0000 calc(100% - .6px), #000 100%) 100% 0 / 51% 51% no-repeat, radial-gradient(circle calc(var(--tk-cut) + 2px) at -2px calc(100% + 2px), #0000 calc(100% - .6px), #000 100%) 0 100% / 51% 51% no-repeat, radial-gradient(circle calc(var(--tk-cut) + 2px) at calc(100% + 2px) calc(100% + 2px), #0000 calc(100% - .6px), #000 100%) 100% 100% / 51% 51% no-repeat;
          mask: radial-gradient(circle calc(var(--tk-cut) + 2px) at -2px -2px, #0000 calc(100% - .6px), #000 100%) 0 0 / 51% 51% no-repeat, radial-gradient(circle calc(var(--tk-cut) + 2px) at calc(100% + 2px) -2px, #0000 calc(100% - .6px), #000 100%) 100% 0 / 51% 51% no-repeat, radial-gradient(circle calc(var(--tk-cut) + 2px) at -2px calc(100% + 2px), #0000 calc(100% - .6px), #000 100%) 0 100% / 51% 51% no-repeat, radial-gradient(circle calc(var(--tk-cut) + 2px) at calc(100% + 2px) calc(100% + 2px), #0000 calc(100% - .6px), #000 100%) 100% 100% / 51% 51% no-repeat; }
.hc-pay[data-kind="beer"] .btn::before { box-shadow: inset 0 3px 0 var(--tk-top); }   /* its foam */
.hc-pay .btn::after { display: none; }
.hc-pay .btn:hover, .hc-pay .btn:active { transform: none; filter: none; }
.hc-pay .btn:hover::before { background: linear-gradient(var(--tk-hi), var(--tk-hi-2)); }
.hc-pay .btn:active::before { background: linear-gradient(var(--tk-lo), var(--tk-lo-2)); }
.hc-pay .btn:focus-visible { outline: none; }
.hc-pay:has(.btn:focus-visible) { outline: 2px solid var(--card-ink); outline-offset: 4px; }   /* the cut corners would cut its own ring */
.hc-pay .btn span { padding: 0 20px 0 30px; }
/* his icons (12-04, his own: black shapes, "Black shapes: ink them" on his errand), each filled with its button's ink, so it
   matches the words and follows the button's colour; the gold line before it */
.hc-pay .icon-pay { order: 1; align-self: stretch; display: grid; place-items: center; box-sizing: content-box; width: var(--ic, 25px); padding: 0 26px 0 20px;
  background: linear-gradient(var(--tk-line), var(--tk-line)) 0 50% / 1px 56% no-repeat; }
.hc-pay .icon-pay::before { content: ""; width: 100%; height: var(--ic, 25px); background: currentColor;
  -webkit-mask: url("icon-coffee.webp") center / contain no-repeat; mask: url("icon-coffee.webp") center / contain no-repeat; }
.hc-pay[data-kind="beer"] .icon-pay::before { -webkit-mask-image: url("icon-beer.webp"); mask-image: url("icon-beer.webp"); }
.hc-pay[data-kind="joint"] .icon-pay::before { -webkit-mask-image: url("icon-joint.webp"); mask-image: url("icon-joint.webp"); }
/* its shadow on the card is a soft ellipse of its own, not a drop-shadow filter: Safari cut that filter off flat under the
   button, now and then, after a hover (the owner, 12-04: "The bottom shadow of this button cuts very abruptly") */
.hc-pay::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 30%; bottom: -22px; pointer-events: none;
  background: radial-gradient(closest-side, rgb(40 25 15 / .26) 45%, rgb(40 25 15 / .1) 72%, transparent); }   /* soft, not black (the owner, 12-04) */

/* a narrow window: the second episode (the owner, 12-04: "Imagine this page is the continuation of landing page ... We left
   the landing page at campfire. So here I want to start the page with the campfire ... basically the same proportion ... of the
   camp as it is in the landing page, and then the page continues from there"). No stage: the night alone, still under the
   stroke; the page opens on the landing's camp (.hc-prev, its own rules and its --camp, as tall as the landing's), and the
   title stands on its last grass under the same frosted veil as the landing's foot; the letter follows on the night. */
.hc-prev { display: none; }
@media (max-width: 899px) {
  /* the letter's lines fill their column: "pretty" wrapping evens the whole paragraph's rag in Safari, and on a narrow column
     that left every line a word short of the edge (the owner, 12-04: "we're not using the space here properly ... we don't
     give enough space on the right") */
  .hc-letter .letter-body p { text-wrap: wrap; }
  .hc .hs-stage > *, .hc .hs-stage::before, .hc .hs-stage::after, .hc .hs-cap .hc-camp { display: none; }
  .hc .hs-cap { background: var(--night); }   /* what scrolls goes under the stroke into the night */
  .hc { --lx: 50vw; --camp: 83.2vw; --under: 21vw; --c0: 56px; }   /* the landing's camp and foot (style.css .close); --c0: where it begins */
  .hc-prev { display: block; flex: none; margin: var(--c0) 0 0; }
  .hc .hs-head { min-height: 0; justify-content: flex-start; padding: 0 0 36px; }
  .hc .hs-title { margin-top: calc(-1 * var(--under)); padding-top: 34px; }
  .hc .hs-title::before { display: none; }
  .hc .hs-title .ornament { margin: 14px 0 0; }
  /* the landing's foot veil (style.css: the frosted veil, "E"), from just above the title to the camp's last grass, and gone
     into the night by then */
  .hc .hs-head::after { left: 0; width: 100%; translate: none; height: auto; bottom: auto;
    top: calc(var(--c0) + var(--camp) - var(--under) - 4vw); height: calc(var(--under) + 4vw);
    -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
    -webkit-mask-image: linear-gradient(transparent, #000 60%, transparent); mask-image: linear-gradient(transparent, #000 60%, transparent);
    background: rgb(12 13 16 / .4); }
  .hc .hs-main::before, .hc .hs-main::after { display: none; }   /* the letter on the night itself */
}
@media (max-width: 699px) {
  .hc { --camp: 136.3vw; --under: 34vw; --c0: 30px; }   /* the phone's camp, the tent alone, as the landing's */
  .hc .hs-title, .hc-letter { --w: calc(100vw - 2 * max(24px, 7vw)); }
  .hc .hs-title h1 { font-size: clamp(40px, 11vw, 52px); }
  .hc-author { --tk-h: 50px; }
  .hc-pay .btn { font-size: 18px; }
  .hc-pay .btn span { padding: 0 16px 0 25px; }
  .hc-pay .icon-pay { --ic: 22px; padding: 0 21px 0 16px; }
}
/* the card in the middle of the letter's column wherever the letter is not at the right of a wide window (the owner, 12-04:
   "center it on the mobile screen ... this middle screen too") */
@media not ((min-width: 900px) and (min-aspect-ratio: 1/1)) { .hc-author { margin-left: auto; margin-right: auto; } }
/* the joint's own card (the owner, 12-04: "can it have its own nice card? ... grade my artwork green, and also the border of the
   card make it like green"): its paper a breath of green, its gold lines olive, his sprigs graded green at sight (the file
   itself untouched; his word) */
.hc-author:has(.hc-pay[data-kind="joint"]) { --card: #f8f9ee; --card-2: #e7ead4; --card-gold: #8a963f; --card-rule: rgb(138 150 63 / .85); }
.hc-author:has(.hc-pay[data-kind="joint"]) .hc-paper::before, .hc-author:has(.hc-pay[data-kind="joint"]) .hc-paper::after { filter: hue-rotate(38deg) saturate(.85) brightness(.92); }
.hc-author:has(.hc-pay[data-kind="joint"]) .hc-reach a + a { text-decoration-color: #6b772a; }   /* linkedin's line in the joint's olive (the owner, 12-04) */
.hc-pay[data-kind="joint"] { --tk-rim: #c9d27e; --tk-rim-2: #6f7b2c; }   /* its rim in olive, light to deep, not gold (the owner, 12-04: "give it nice color") */
