/*
  The Talk design review (examples-talk.php): ten ways the Talk page might look. Builds on examples-about.css
  and examples-invite.css. Each design's rules are prefixed .tkN.
*/

.tk-hide { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* the invitation above the message is a sentence, not a question: set as reading text, not a heading */
.tk-form .iv-field--ask label { font-size: clamp(1.12rem, 1rem + .4vw, 1.32rem); line-height: 1.5; text-wrap: pretty; margin-bottom: .2rem; }
.tk-sub { margin-top: 1.1rem !important; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.55rem); line-height: 1.45; text-wrap: pretty; }

/* where a design ends on the beach, the footer rises into its sand (as on the About page) */
.iv-page .site-footer { --rise: min(20vw, 26vh); position: relative; z-index: 1; margin-top: calc(var(--rise) * -1); -webkit-mask-image: none; mask-image: none; padding-top: calc(var(--rise) * .55);
  background: linear-gradient(180deg, rgb(117 97 76 / 0) 0, rgb(117 97 76 / .6) calc(var(--rise) * .55), #75614c var(--rise), #8f7b61 100%); color: #f6efe4; }
@media (max-width: 700px) { .iv-page .site-footer { --rise: min(30vw, 20vh); } }
.iv-page .site-footer::before { display: none; }
/* the beach close needs room above it */
.ivd .ab-shore { margin-top: clamp(4rem, 12vh, 8rem); }

/* ---- the shared layout (from the earlier "Side by side"): the words on the left, the note staying beside them ---- */
.tk-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.tk-words .iv-lede { font-size: clamp(2.4rem, 1.4rem + 3vw, 4rem); }
.tk-words .tk-sub { margin-bottom: 2.2rem !important; }
.tk-side { align-self: stretch; padding-top: clamp(8rem, 22vh, 13rem); }
.tk-hold { position: sticky; top: clamp(5rem, 14vh, 8rem); }
.tk-line { padding-left: clamp(1.5rem, 3vw, 3rem); border-left: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
@media (max-width: 860px) {
  .tk-two { grid-template-columns: 1fr; }
  .tk-side { padding-top: 0; }
  .tk-hold { position: static; }
  .tk-line { padding-left: 0; border-left: 0; }
}

/* ---- 2 Words in the woods: the question rests on the woods to the left, which stay ---- */
/* the page behind it takes the photograph's colours: the slate-blue sky, the peach of the horizon, the sand */
:is(.ivd--1, .ivd--3), .ivd--2 { --tk4-h: linear-gradient(90deg, #000 0%, #000 34%, rgb(0 0 0 / .92) 44%, rgb(0 0 0 / .78) 53%, rgb(0 0 0 / .6) 62%, rgb(0 0 0 / .4) 71%, rgb(0 0 0 / .22) 80%, rgb(0 0 0 / .09) 89%, rgb(0 0 0 / .02) 95%, transparent 100%);
  /* a long, eased dissolve at the foot, beginning two-thirds down so the path stays in view */
  --tk4-v: linear-gradient(180deg, #000 0%, #000 64%, rgb(0 0 0 / .93) 69%, rgb(0 0 0 / .8) 74%, rgb(0 0 0 / .63) 79%, rgb(0 0 0 / .45) 84%, rgb(0 0 0 / .28) 89%, rgb(0 0 0 / .14) 93.5%, rgb(0 0 0 / .05) 97%, transparent 100%);
  /* one long flowing wash from the shore above to the evening sky below: grey-blue, a breath of sand, then deepening blue */
  background:
    radial-gradient(50% 30% at 86% 6%, rgb(214 222 234 / .8), rgb(214 222 234 / 0) 100%),
    radial-gradient(60% 26% at 30% 34%, rgb(236 224 204 / .55), rgb(236 224 204 / 0) 100%),
    radial-gradient(70% 30% at 78% 58%, rgb(200 216 236 / .5), rgb(200 216 236 / 0) 100%),
    radial-gradient(80% 26% at 24% 78%, rgb(176 198 228 / .45), rgb(176 198 228 / 0) 100%),
    linear-gradient(180deg, #e2e6eb 0%, #e8e7e3 22%, #e9e4da 38%, #dfe3e6 54%, #ccd8e6 70%, #b4c8e0 86%, #9fb9da 100%); }
.tk4 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tk4-side { position: relative; z-index: 0; }
.tk4-words { position: relative; z-index: 1; }
.tk4-stay { position: sticky; top: 0; height: 100svh; min-height: 34rem; display: flex; align-items: flex-end; padding-bottom: 22vh; }
/* the photograph reaches past its half and fades away slowly, and its foot dissolves rather than ending in a line */
.tk4-photo, .tk4-stay::before { position: absolute; inset: 0 -30% 0 0;
  -webkit-mask-image: var(--tk4-h), var(--tk4-v); -webkit-mask-composite: source-in; mask-image: var(--tk4-h), var(--tk4-v); mask-composite: intersect; }
.tk4-photo { background-position: 30% center; }
/* the photograph reaches further across, under the note, and lets go slowly; the shade behind the words stays where it was */
.tk4-photo { right: -60%; --tk4-h: linear-gradient(90deg, #000 0%, #000 38%, rgb(0 0 0 / .94) 44%, rgb(0 0 0 / .85) 50%, rgb(0 0 0 / .73) 56%, rgb(0 0 0 / .6) 62%, rgb(0 0 0 / .47) 68%, rgb(0 0 0 / .34) 74%, rgb(0 0 0 / .23) 80%, rgb(0 0 0 / .13) 86%, rgb(0 0 0 / .06) 92%, rgb(0 0 0 / .02) 96%, transparent 100%); }
.tk4-stay::before { content: ""; z-index: 1; pointer-events: none;   /* a soft shade gathered behind the words, leaving the canopy bright */
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 50%, rgb(0 0 0 / .6) 64%, rgb(0 0 0 / .22) 76%, transparent 86%), var(--tk4-v); mask-image: linear-gradient(90deg, #000 0%, #000 50%, rgb(0 0 0 / .6) 64%, rgb(0 0 0 / .22) 76%, transparent 86%), var(--tk4-v);
  background: radial-gradient(60% 40% at 32% 50%, rgb(18 24 36 / .72), rgb(18 24 36 / .5) 45%, rgb(20 26 38 / 0) 100%), linear-gradient(180deg, rgb(20 26 38 / 0) 15%, rgb(20 26 38 / .22) 45%, rgb(20 26 38 / .3) 100%); }
.tk4-open { position: relative; z-index: 2; padding: 0 clamp(2rem, 6vw, 6rem) clamp(3rem, 10vh, 6rem) clamp(var(--gutter), 6vw, 6rem); text-shadow: 0 1px 2px rgb(14 20 30 / .35), 0 2px 26px rgb(14 20 30 / .55); }
.tk4-open .iv-lede { font-size: clamp(2.4rem, 1.4rem + 3vw, 4rem); }
.tk4-open .ab-crumb { color: var(--paper); }
.js .tk4-open > * { animation: iv-soft-in 1600ms var(--ease-soft) both; }
.js .tk4-open > :nth-child(2) { animation-delay: 700ms; }
.js .tk4-open > :nth-child(3) { animation-delay: 1500ms; }
.tk4-words { padding: clamp(6rem, 14vh, 9rem) clamp(var(--gutter), 6vw, 6rem) 2rem clamp(1.5rem, 4vw, 4rem); max-width: 40rem; }
.tk4-words { align-self: center; }
.tk4-note { padding-top: 0; }
/* the photograph is never cropped top or bottom in its half, so its horizon is always 43.6% of the way down: Home / Talk rests
   just above it, and on the right the lines under Your name and Email lie on it */
.tk4 { --stay-h: max(100svh, 34rem); }
.tk4-stay { align-items: flex-start; padding-bottom: 0; padding-top: calc(var(--stay-h) * .436 - 2.3rem); }
.tk4-words { align-self: start; padding-top: calc(var(--stay-h) * .436 - 2.3rem); }

/* the close is the sunset over the hills: it rises out of the blue of the page in a long, slow fade, the words rest on the long
   dark cloud, and the footer takes the colour of the dark land */
.tk4-coast { background: linear-gradient(180deg, transparent 0%, transparent 88%, rgb(16 20 34 / .5) 95%, #10141f 100%); }
.tk4-coast { max-height: none; }   /* always the photograph's own shape on wide screens, so the sun never moves */
.tk4-coast .ab-shore__img { object-position: center 60%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgb(0 0 0 / .04) 5%, rgb(0 0 0 / .12) 10%, rgb(0 0 0 / .25) 15%, rgb(0 0 0 / .42) 20%, rgb(0 0 0 / .6) 25%, rgb(0 0 0 / .76) 30%, rgb(0 0 0 / .88) 35%, rgb(0 0 0 / .96) 40%, #000 45%, #000 89%, rgb(0 0 0 / .74) 93%, rgb(0 0 0 / .4) 96.5%, rgb(0 0 0 / .12) 99%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgb(0 0 0 / .04) 5%, rgb(0 0 0 / .12) 10%, rgb(0 0 0 / .25) 15%, rgb(0 0 0 / .42) 20%, rgb(0 0 0 / .6) 25%, rgb(0 0 0 / .76) 30%, rgb(0 0 0 / .88) 35%, rgb(0 0 0 / .96) 40%, #000 45%, #000 89%, rgb(0 0 0 / .74) 93%, rgb(0 0 0 / .4) 96.5%, rgb(0 0 0 / .12) 99%, transparent 100%); }
/* the closing words belong to the footer in every design, just above the signature */
html[data-iv] .iv-page .site-footer__closing { --shore-h: 75vw; --first: 1; order: 1; max-width: none; width: min(100%, 60rem); margin: calc(var(--shore-h) * -.133 - var(--text-closing) * 1.22 * var(--first) + var(--rise) * .45) auto clamp(2.6rem, 7vh, 4rem);   /* the first sentence rests on the hills (86.7% down the sunset), the second hangs just below them */ text-shadow: 0 1px 3px rgb(16 20 34 / .45), 0 2px 26px rgb(16 20 34 / .6); font-size: var(--text-closing); font-weight: var(--weight-display); line-height: 1.22; text-wrap: balance; text-align: center; }
@media (max-width: 700px) { html[data-iv] .iv-page .site-footer__closing { --shore-h: 177.8vw; --first: 2; --text-closing: min(1.8rem, 6vw); font-size: var(--text-closing); } }
html[data-iv] .iv-page .site-footer { background: linear-gradient(180deg, rgb(16 20 34 / 0) 0, rgb(16 20 34 / .6) calc(var(--rise) * .55), #10141f var(--rise), #1a1f2c 100%); color: #f1ece4; }
.tk4-coast .ab-shore__q { --fs: var(--text-closing); max-width: 24ch; margin: 0 auto !important; font-weight: var(--weight-display); line-height: 1.22; text-wrap: balance; text-shadow: 0 1px 3px rgb(16 24 30 / .4), 0 2px 26px rgb(16 24 30 / .55); }
.tk4-coast .ab-shore__l1, .tk4-coast .ab-shore__l2 { display: inline; }
.tk4-coast .ab-shore__l1::after { content: " "; }
/* on a phone the two lines take more room: the coast grows taller so they and the link stay clear of the footer */
@media (max-width: 700px) {
  .tk4-coast { aspect-ratio: 9 / 16; max-height: none; }
}
@media (max-width: 860px) {
  .tk4 { grid-template-columns: 1fr; }
  .tk4-stay { position: relative; height: 100svh; min-height: 32rem; padding-bottom: 0; }
  .tk4-photo, .tk4-stay::before { inset: 0; -webkit-mask-image: var(--tk4-v); mask-image: var(--tk4-v); }
  .tk4-stay::before { background: radial-gradient(90% 34% at 40% 52%, rgb(18 24 36 / .72), rgb(18 24 36 / .5) 45%, rgb(20 26 38 / 0) 100%), linear-gradient(180deg, rgb(20 26 38 / 0) 15%, rgb(20 26 38 / .22) 45%, rgb(20 26 38 / .3) 100%); }
  .tk4-open { padding-bottom: 34vh; }
  .tk4-words { max-width: none; padding: 2rem var(--gutter); }
}

/* Design 4's page: the sand carries on beneath the photograph, then lightens and flows into the evening blue of the close */
:is(.ivd--1, .ivd--3), .ivd--2 { background:
    radial-gradient(70% 22% at 30% 62%, rgb(214 196 166 / .5), rgb(214 196 166 / 0) 100%),
    linear-gradient(180deg, #d8dde4 0, #4a5a62 calc(max(100svh, 56.25vw, 34rem) * .66), #857759 calc(max(100svh, 56.25vw, 34rem) * .78), #9e8862 calc(max(100svh, 56.25vw, 34rem) * .88), #b39e78 max(100svh, 56.25vw, 34rem), #c4b18c calc(max(100svh, 56.25vw, 34rem) + 6rem), #cfbf9d calc(max(100svh, 56.25vw, 34rem) + 14rem), #d6caad calc(max(100svh, 56.25vw, 34rem) + 26rem), #d6cbb2 calc(max(100svh, 56.25vw, 34rem) + 40rem), #d9cfb9 100%); }   /* sand to the end; the band above the sunset turns it to sky */   /* the sand cools through soft grey into the blue of the evening sky */
/* ---- 3 Across the shore: Design 2 opened up. The woods across the full width, the question on them, the note beneath ---- */
/* the hero is never shorter than the photograph's own shape (16:9), so the photograph is never cropped top or bottom and
   its horizon always sits 43.6% of the way down. The two lines of the heading meet there: "Ready to start" just above the
   horizon, "a conversation?" just below it. */
.ivd--2 { --coast-h: 75vw; --hz: 43.6%; --sand: #b99b6a; --hero-h: max(100svh, 56.25vw, 34rem); --sfs: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);   /* the size of the About page's section titles (My story) */ --sand-top: 85%; --sl: 2; }
.tk11-hero { position: relative; height: max(100svh, 56.25vw); min-height: 34rem; }
.tk11-photo { position: absolute; inset: 0; background-position: center top;
  /* the photograph stays whole down through the sand, then dissolves slowly into the page's own sand colour */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 74%, rgb(0 0 0 / .92) 78%, rgb(0 0 0 / .78) 82%, rgb(0 0 0 / .6) 86%, rgb(0 0 0 / .4) 90%, rgb(0 0 0 / .22) 94%, rgb(0 0 0 / .08) 97.5%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 74%, rgb(0 0 0 / .92) 78%, rgb(0 0 0 / .78) 82%, rgb(0 0 0 / .6) 86%, rgb(0 0 0 / .4) 90%, rgb(0 0 0 / .22) 94%, rgb(0 0 0 / .08) 97.5%, transparent 100%); }
/* a soft shade gathered behind the words only; the sand keeps its own colour */
.tk11-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(56% 26% at 50% var(--hz), rgb(14 20 30 / .42), rgb(14 20 30 / .22) 55%, rgb(14 20 30 / 0) 100%),
    radial-gradient(44% 16% at 50% calc(var(--hz) + 24%), rgb(14 20 30 / .5), rgb(14 20 30 / .3) 50%, rgb(14 20 30 / 0) 100%); }
.tk11-open { --fs: clamp(2.6rem, 1.4rem + 4vw, 4.8rem); position: absolute; z-index: 1; left: 0; right: 0; top: calc(var(--hz) + var(--fs) * .25);   /* the heading hangs below the horizon as far as Home / Talk sits above it */
  width: min(100% - 2 * var(--gutter), 44rem); margin: 0 auto; text-align: center; text-shadow: 0 1px 2px rgb(10 16 26 / .35), 0 2px 26px rgb(10 16 26 / .5); }
.tk11-open .ab-crumb { position: absolute; left: 0; right: 0; bottom: calc(100% + var(--fs) * .65); margin: 0; justify-content: center; color: var(--paper); }
.tk11-h { font-size: var(--fs) !important; line-height: 1.08 !important; }
.tk11-l { display: block; white-space: nowrap; }
/* the line under the heading, as in Designs 1 and 2: on the water, centred */
.tk11-sub { width: min(100%, 34rem); margin: clamp(1.1rem, 2.6vh, 1.6rem) auto 0 !important; text-shadow: 0 1px 2px rgb(10 16 26 / .55), 0 2px 18px rgb(10 16 26 / .7); }
.js .tk11-open > :nth-child(3) { animation-delay: 1500ms; }
.js .tk11-open > * { animation: iv-soft-in 1600ms var(--ease-soft) both; }
.js .tk11-open > :nth-child(2) { animation-delay: 700ms; }
/* the note begins on the sand, just below the water's edge (the surf ends about 80% of the way down) */
.tk11-note { position: relative; z-index: 1; margin-top: calc(var(--hero-h) * -.07); }   /* the note begins on the dry sand, just below the wet */
@media (max-width: 700px) {
  .ivd--2 { --coast-h: 177.8vw; --hero-h: max(92svh, 56.25vw, 34rem); --sfs: 1.5rem; --sand-top: 81%; --sl: 4; }
  .tk11-hero { height: max(92svh, 56.25vw); }
  .tk11-open { --fs: clamp(2.1rem, 1.2rem + 4.6vw, 2.8rem); }

}

/* each sentence of the closing on its own line */
.iv-page .site-footer__closing .tk-cl { display: block; text-wrap: balance; }
.iv-page .site-footer__closing .tk-cl { white-space: nowrap; }
@media (max-width: 700px) { .iv-page .site-footer__closing .tk-br { display: block; } }   /* on a phone the first sentence takes two lines, always */   /* "I'd love to help you welcome it." always whole */

/* once the note is sent, its place keeps its height, so the sand still has room to turn to sky */
.tk11-note .iv-form.is-sent { min-height: 30rem; }
/* every line of the note centred under the heading: the labels, what is typed, the question, the choices and Send */
.tk11-note .iv-form { text-align: center; }
.tk11-note .iv-field input, .tk11-note .iv-field textarea { text-align: center; }
.tk11-note .iv-field--ask label { margin-inline: -1.5rem; text-wrap: balance; }   /* the question runs the full width of the lines above and below it */
.tk11-note .iv-how legend { margin-inline: auto; }
.tk11-note .iv-how label { margin: 0 .7rem .4rem; }

/* between the note and the sunset: the sand cools through grey into the blue of the evening sky, always ending exactly
   where the photograph begins, at any width */
.tk4-dusk { height: clamp(16rem, 34vh, 26rem); margin-top: clamp(2rem, 6vh, 4rem);
  background: linear-gradient(180deg, rgb(203 196 180 / 0) 0%, rgb(200 196 184 / .45) 28%, rgb(188 191 192 / .8) 52%, rgb(173 186 203 / .95) 76%, #a5b8d0 100%); }
:is(.ivd--1, .ivd--3) .tk4-dusk + .ab-shore, .ivd--2 .tk4-dusk + .ab-shore, .tkx .tk4-dusk + .ab-shore { margin-top: 0; background: linear-gradient(180deg, #a5b8d0 0%, #a5b8d0 40%, rgb(165 184 208 / 0) 60%, transparent 88%, rgb(16 20 34 / .5) 95%, #10141f 100%); }

/* Design 1: the shore across the full width, as in Design 2, never cropped; the question stays on the left, the note on the
   right is written in white on the water and the sand, and below it the sand turns to sky just as in Design 2 */
:is(.ivd--1, .ivd--3) .tk4 { --stay-h: max(100svh, 56.25vw, 34rem); }
:is(.ivd--1, .ivd--3) .tk4-stay { position: relative; height: var(--stay-h); }
@media (min-width: 861px) {
  :is(.ivd--1, .ivd--3) .tk4-photo { right: -100%; background-position: center top;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 74%, rgb(0 0 0 / .92) 78%, rgb(0 0 0 / .78) 82%, rgb(0 0 0 / .6) 86%, rgb(0 0 0 / .4) 90%, rgb(0 0 0 / .22) 94%, rgb(0 0 0 / .08) 97.5%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 74%, rgb(0 0 0 / .92) 78%, rgb(0 0 0 / .78) 82%, rgb(0 0 0 / .6) 86%, rgb(0 0 0 / .4) 90%, rgb(0 0 0 / .22) 94%, rgb(0 0 0 / .08) 97.5%, transparent 100%); }
  :is(.ivd--1, .ivd--3) .tk4-words { color: var(--paper); color-scheme: dark; }
  /* no veil: each word carries its own soft shadow, close and dark at the letters and wide and faint around them, so the
     words lift off the surf and the bright horizon while the shore stays whole */
  :is(.ivd--1, .ivd--3) .tk4-note { --halo: 0 0 1px rgb(12 20 30 / .45), 0 1px 3px rgb(12 20 30 / .55), 0 0 14px rgb(12 20 30 / .5), 0 0 34px rgb(12 20 30 / .35); text-shadow: var(--halo); }
  :is(.ivd--1, .ivd--3) .tk4-note .iv-field label, :is(.ivd--1, .ivd--3) .tk4-note .iv-how legend { opacity: 1; font-weight: 500; }
  :is(.ivd--1, .ivd--3) .tk4-note .iv-field input, :is(.ivd--1, .ivd--3) .tk4-note .iv-field textarea { box-shadow: 0 1px 2px -1px rgb(12 20 30 / .5); }
  /* the three choices sit on the wet sand at the water's edge: a little heavier, with a deeper shadow of their own */
  :is(.ivd--1, .ivd--3) .tk4-note .iv-how label > span { font-weight: 500; text-shadow: 0 0 1px rgb(12 20 30 / .6), 0 1px 3px rgb(12 20 30 / .75), 0 0 10px rgb(12 20 30 / .6), 0 0 24px rgb(12 20 30 / .45); }
  /* and behind them a soft pool of shade, round-edged and fading to nothing, so the white foam calms under the words */
  :is(.ivd--1, .ivd--3) .tk4-note .iv-how { position: relative; }
  :is(.ivd--1, .ivd--3) .tk4-note .iv-how::before { content: ""; position: absolute; z-index: -1; inset: -2.8rem -5rem -2.4rem -4rem; pointer-events: none;
    background: radial-gradient(closest-side, rgb(14 22 32 / .72), rgb(14 22 32 / .68) 50%, rgb(14 22 32 / .48) 70%, rgb(14 22 32 / .2) 86%, rgb(14 22 32 / .05) 95%, rgb(14 22 32 / 0)); }
  :is(.ivd--1, .ivd--3) .tk4-note .iv-form__go { margin-top: 2.6rem !important; }
  /* Send, on the sand, gets the same soft pool of shade, smaller to fit the one word */
  :is(.ivd--1, .ivd--3) .tk4-note .iv-form__go { position: relative; width: fit-content; }
  :is(.ivd--1, .ivd--3) .tk4-note .iv-form__go::before { content: ""; position: absolute; z-index: -1; inset: -2.2rem -5rem -2rem -4.4rem; pointer-events: none;
    background: radial-gradient(closest-side, rgb(14 22 32 / .32), rgb(14 22 32 / .27) 40%, rgb(14 22 32 / .16) 66%, rgb(14 22 32 / .05) 86%, rgb(14 22 32 / 0)); }
  /* Your name and Email, on the bright horizon: no shade in the sky, only a deeper shadow at the letters themselves */
  :is(.ivd--1, .ivd--3) .tk4-note .iv-form__row label { text-shadow: 0 0 1px rgb(12 20 30 / .6), 0 1px 3px rgb(12 20 30 / .75), 0 0 10px rgb(12 20 30 / .55), 0 0 22px rgb(12 20 30 / .35); }
  /* no shade gathered behind the opening words either: the photograph stays clear, the words carry their own shadow */
  /* a soft pool of shade gathered behind the opening words, round and fading to nothing well before any edge, so no line
     shows in the sky or the water */
  :is(.ivd--1, .ivd--3) .tk4-stay::before { -webkit-mask-image: none; mask-image: none;
    background: radial-gradient(58% 40% at 34% 54%, rgb(16 22 34 / .7), rgb(16 22 34 / .56) 35%, rgb(16 22 34 / .32) 62%, rgb(16 22 34 / .12) 84%, rgb(16 22 34 / 0) 100%); }
  :is(.ivd--1, .ivd--3) .tk4-open { text-shadow: 0 0 1px rgb(12 20 30 / .4), 0 1px 3px rgb(12 20 30 / .5), 0 0 14px rgb(12 20 30 / .45), 0 0 34px rgb(12 20 30 / .35); }
  :is(.ivd--1, .ivd--3) .tk4-open .ab-crumb svg { filter: drop-shadow(0 1px 2px rgb(12 20 30 / .7)) drop-shadow(0 0 8px rgb(12 20 30 / .5)); }
  :is(.ivd--1, .ivd--3) .tk4-open .ab-crumb a { opacity: .92; }
  :is(.ivd--1, .ivd--3) .tk4-open .tk-sub { text-shadow: 0 0 1px rgb(12 20 30 / .55), 0 1px 3px rgb(12 20 30 / .7), 0 0 12px rgb(12 20 30 / .55), 0 0 30px rgb(12 20 30 / .4); }
  :is(.ivd--1, .ivd--3) .tk4-open .ab-crumb, :is(.ivd--1, .ivd--3) .tk4-open .ab-crumb * { text-shadow: 0 0 1px rgb(12 20 30 / .6), 0 1px 3px rgb(12 20 30 / .75), 0 0 10px rgb(12 20 30 / .55), 0 0 22px rgb(12 20 30 / .35); }
  :is(.ivd--1, .ivd--3) .tk4-note .iv-send { text-decoration-color: rgb(255 255 255 / .6); }   /* Send a little lower, onto the sand */
  :is(.ivd--1, .ivd--3) .tk4-note .iv-how input { opacity: 1; box-shadow: 0 0 2px rgb(12 20 30 / .7), 0 0 10px rgb(12 20 30 / .5), inset 0 0 2px rgb(12 20 30 / .4); }
  :is(.ivd--1, .ivd--3) .tk4-words .iv-field input, :is(.ivd--1, .ivd--3) .tk4-words .iv-field textarea { border-bottom-color: rgb(255 255 255 / .6); }
  :is(.ivd--1, .ivd--3) .tk4-words .iv-field input:focus, :is(.ivd--1, .ivd--3) .tk4-words .iv-field textarea:focus { border-bottom-color: rgb(255 255 255 / .9); }
}

/* ---- 3 Side by side, turned in: the opening words set to the right, in a column that ends just left of the note ---- */
@media (min-width: 861px) {
  .ivd--3 .tk4-open { text-align: right; padding-right: clamp(1.5rem, 3vw, 3rem); padding-left: clamp(var(--gutter), 4vw, 4rem); }
  .ivd--3 .tk4-open .ab-crumb { justify-content: flex-end; }
  .ivd--3 .tk4-open .tk-sub { margin-left: auto; }
  .ivd--3 .tk4-stay { justify-content: flex-end; }
  .ivd--3 .tk4-stay::before { background: radial-gradient(42% 40% at 47% 54%, rgb(16 22 34 / .7), rgb(16 22 34 / .56) 35%, rgb(16 22 34 / .32) 62%, rgb(16 22 34 / .12) 84%, rgb(16 22 34 / 0) 100%); }
}

/* ---- the poem, below the note and above the sunset. As each stanza comes into view its lines come up one at a time, each
   out of a blur, as the Mary Oliver lines do on the homepage. Behind it the sand warms to peach and rose, drifts through
   lilac mist and settles into the blue of the evening sky, where the sunset begins ---- */
.tk-poem { position: relative; z-index: 1; margin: 0; padding: clamp(6rem, 18vh, 10rem) var(--gutter) clamp(9rem, 26vh, 15rem); text-align: center; color: #2b2724;
  background:
    radial-gradient(46% 16% at 22% 30%, rgb(244 214 178 / .55), rgb(244 214 178 / 0) 100%),
    radial-gradient(42% 14% at 80% 44%, rgb(236 196 188 / .5), rgb(236 196 188 / 0) 100%),
    radial-gradient(50% 15% at 26% 62%, rgb(214 198 220 / .55), rgb(214 198 220 / 0) 100%),
    radial-gradient(46% 14% at 76% 78%, rgb(190 206 222 / .55), rgb(190 206 222 / 0) 100%),
    linear-gradient(180deg, rgb(214 202 173 / 0) 0%, rgb(226 208 180 / .85) 12%, #e6cfb4 26%, #e4c8b8 40%, #d9c6c8 54%, #c9c3d2 66%, #b8bfd4 calc(100% - 26vw), #a5b8d0 calc(100% - 12vw), rgb(165 184 208 / 0) 100%); }   /* clear at the end, where the sunset rises beneath it */
.tk-poem__st { margin: 0 auto 2.1em !important; font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.95rem); line-height: 1.42; }
.tk-poem__l { display: block; }
/* the stanza itself does not blur in; its lines do, one after another */
.js .tk-poem__st[data-rv] { opacity: 1; filter: none; transform: none; transition: none; }
.js .tk-poem__l { opacity: 0; filter: blur(10px); transition: opacity 2200ms var(--ease-soft), filter 2600ms var(--ease-soft); transition-delay: calc(var(--i) * 420ms); }
.js .tk-poem__st.is-in .tk-poem__l { opacity: 1; filter: blur(0); }
.tk-poem__by { margin: 1em auto 0; font-family: var(--font-display); font-size: clamp(1.1rem, .95rem + .6vw, 1.5rem); opacity: .85; }   /* attributed as the other quotes are: dash, name, comma, title in italics */
.tk-poem__by cite { font-style: italic; }
@media (prefers-reduced-motion: reduce) { .js .tk-poem__l { opacity: 1; filter: none; transition: none; } }
/* the poem ends in the evening blue itself, so the band that turned the sand to sky is not needed after it */
.tk-poem + .tk4-dusk { display: none; }
/* the poem ends just above the clouds: the sunset rises into the last of its blue, under the attribution */
.tk-poem { padding-bottom: clamp(1.5rem, 4vh, 2.5rem); }
.tk-poem__by { text-wrap: balance; }
.tk-poem + .tk4-dusk + .ab-shore { position: relative; z-index: 0; margin-top: -12vw; }
@media (max-width: 700px) { .tk-poem + .tk4-dusk + .ab-shore { margin-top: -30vw; } .tk-poem { background-size: 100% 100%; } }
.tk-poem__st { line-height: 1.3; }   /* the lines a little closer */
/* the poem runs on down into the sunset's blue sky, ending just above the darker cloud */
.tk-poem + .tk4-dusk + .ab-shore { margin-top: -26vw; }
.tk-poem { background-image: radial-gradient(46% 16% at 22% 30%, rgb(244 214 178 / .55), rgb(244 214 178 / 0) 100%), radial-gradient(42% 14% at 80% 44%, rgb(236 196 188 / .5), rgb(236 196 188 / 0) 100%), radial-gradient(50% 15% at 26% 62%, rgb(214 198 220 / .55), rgb(214 198 220 / 0) 100%), linear-gradient(180deg, rgb(214 202 173 / 0) 0%, rgb(226 208 180 / .85) 12%, #e6cfb4 26%, #e4c8b8 40%, #d9c6c8 54%, #c9c3d2 66%, #b8bfd4 calc(100% - 40vw), #a5b8d0 calc(100% - 28vw), rgb(165 184 208 / 0) calc(100% - 6vw)); }
@media (max-width: 700px) { .tk-poem + .tk4-dusk + .ab-shore { margin-top: -60vw; } }

/* the poem builds one stanza at a time: within a stanza, line by line; the next stanza waits until the one before is
   whole (examples-invite.js marks each stanza .is-on in turn as it comes into view) */
.js .tk-poem__l { transition: opacity 1300ms var(--ease-soft), filter 1500ms var(--ease-soft); transition-delay: calc(var(--i) * 230ms); }
.js .tk-poem__st.is-on .tk-poem__l { opacity: 1; filter: blur(0); }
.js .tk-poem__by { opacity: 0; filter: blur(8px); transition: opacity 1400ms var(--ease-soft), filter 1600ms var(--ease-soft); }
.js .tk-poem__by.is-on { opacity: .85; filter: none; }
@media (prefers-reduced-motion: reduce) { .js .tk-poem__by { opacity: .85; filter: none; transition: none; } }
/* the poem's blue holds until the sunset has begun beneath it, then lets go, so no paler band of page shows between them */
.tk-poem { background-image: radial-gradient(46% 16% at 22% 30%, rgb(244 214 178 / .55), rgb(244 214 178 / 0) 100%), radial-gradient(42% 14% at 80% 44%, rgb(236 196 188 / .5), rgb(236 196 188 / 0) 100%), radial-gradient(50% 15% at 26% 62%, rgb(214 198 220 / .55), rgb(214 198 220 / 0) 100%), linear-gradient(180deg, rgb(214 202 173 / 0) 0%, rgb(226 208 180 / .85) 12%, #e6cfb4 26%, #e4c8b8 40%, #d9c6c8 54%, #c9c3d2 66%, #b8bfd4 calc(100% - 40vw), #a5b8d0 calc(100% - 30vw), #a5b8d0 calc(100% - 22vw), rgb(165 184 208 / 0) calc(100% - 4vw)); }
@media (max-width: 700px) { .tk-poem { background-image: linear-gradient(180deg, rgb(214 202 173 / 0) 0%, rgb(226 208 180 / .85) 10%, #e6cfb4 22%, #e4c8b8 36%, #d9c6c8 50%, #c9c3d2 60%, #b8bfd4 calc(100% - 90vw), #a5b8d0 calc(100% - 70vw), #a5b8d0 calc(100% - 52vw), rgb(165 184 208 / 0) calc(100% - 8vw)); } }
/* the poem ends a little higher, clear of the footer screen: the sunset rises less far beneath it */
.tk-poem + .tk4-dusk + .ab-shore { margin-top: -18vw; }
@media (max-width: 700px) { .tk-poem + .tk4-dusk + .ab-shore { margin-top: -44vw; } }
.tk-poem { background-image: radial-gradient(46% 16% at 22% 30%, rgb(244 214 178 / .55), rgb(244 214 178 / 0) 100%), radial-gradient(42% 14% at 80% 44%, rgb(236 196 188 / .5), rgb(236 196 188 / 0) 100%), radial-gradient(50% 15% at 26% 62%, rgb(214 198 220 / .55), rgb(214 198 220 / 0) 100%), linear-gradient(180deg, rgb(214 202 173 / 0) 0%, rgb(226 208 180 / .85) 12%, #e6cfb4 26%, #e4c8b8 40%, #d9c6c8 54%, #c9c3d2 66%, #b8bfd4 calc(100% - 32vw), #a5b8d0 calc(100% - 22vw), #a5b8d0 calc(100% - 15vw), rgb(165 184 208 / 0) calc(100% - 2vw)); }
@media (max-width: 700px) { .tk-poem { background-image: linear-gradient(180deg, rgb(214 202 173 / 0) 0%, rgb(226 208 180 / .85) 10%, #e6cfb4 22%, #e4c8b8 36%, #d9c6c8 50%, #c9c3d2 60%, #b8bfd4 calc(100% - 74vw), #a5b8d0 calc(100% - 54vw), #a5b8d0 calc(100% - 38vw), rgb(165 184 208 / 0) calc(100% - 4vw)); } }
/* the poem's lilac turns to the sky's blue over one long eased stretch (no stop where the change shows as a line) */
.tk-poem { background-image: radial-gradient(46% 16% at 22% 30%, rgb(244 214 178 / .55), rgb(244 214 178 / 0) 100%), radial-gradient(42% 14% at 80% 44%, rgb(236 196 188 / .5), rgb(236 196 188 / 0) 100%), radial-gradient(50% 15% at 26% 62%, rgb(214 198 220 / .55), rgb(214 198 220 / 0) 100%), linear-gradient(180deg, rgb(214 202 173 / 0) 0%, rgb(226 208 180 / .85) 12%, #e6cfb4 26%, #e4c8b8 40%, #d9c6c8 54%, #c9c3d2 calc(66.00% - 0.00vw), #c8c3d2 calc(69.40% - 1.50vw), #c5c2d2 calc(72.80% - 3.00vw), #c1c1d2 calc(76.20% - 4.50vw), #bcbfd1 calc(79.60% - 6.00vw), #b7bed1 calc(83.00% - 7.50vw), #b2bcd1 calc(86.40% - 9.00vw), #adbad0 calc(89.80% - 10.50vw), #a9b9d0 calc(93.20% - 12.00vw), #a6b8d0 calc(96.60% - 13.50vw), #a5b8d0 calc(100.00% - 15.00vw), rgb(165 184 208 / 0) calc(100% - 2vw)); }
@media (max-width: 700px) { .tk-poem { background-image: linear-gradient(180deg, rgb(214 202 173 / 0) 0%, rgb(226 208 180 / .85) 10%, #e6cfb4 22%, #e4c8b8 36%, #d9c6c8 50%, #c9c3d2 calc(60.00% - 0.00vw), #c8c3d2 calc(64.00% - 3.80vw), #c5c2d2 calc(68.00% - 7.60vw), #c1c1d2 calc(72.00% - 11.40vw), #bcbfd1 calc(76.00% - 15.20vw), #b7bed1 calc(80.00% - 19.00vw), #b2bcd1 calc(84.00% - 22.80vw), #adbad0 calc(88.00% - 26.60vw), #a9b9d0 calc(92.00% - 30.40vw), #a6b8d0 calc(96.00% - 34.20vw), #a5b8d0 calc(100.00% - 38.00vw), rgb(165 184 208 / 0) calc(100% - 4vw)); } }
/* the poem a little higher above the footer, and its stanzas a little closer */
.tk-poem__st { margin-bottom: 1.6em !important; }
.tk-poem { padding-bottom: clamp(3.5rem, 9vh, 5.5rem); }
/* the poem begins closer under Send, and finishes higher still above the footer */
.tk-poem { padding-top: clamp(2.5rem, 7vh, 4.5rem); padding-bottom: clamp(6rem, 15vh, 9rem); }

/* the poem's colours fade in from the sand above and ease into the sunset's blue before the photograph begins, whatever
   the poem's length: the upper stops are measured down from its top, the lower ones up from its foot (where the
   photograph rises beneath it, 18vw up; 44vw on phones), and never before the upper ones */
.tk-poem { background-image: radial-gradient(46% 16% at 22% 30%, rgb(244 214 178 / .55), rgb(244 214 178 / 0) 100%), radial-gradient(42% 14% at 80% 44%, rgb(236 196 188 / .5), rgb(236 196 188 / 0) 100%), radial-gradient(50% 15% at 26% 62%, rgb(214 198 220 / .55), rgb(214 198 220 / 0) 100%),
  linear-gradient(180deg, rgb(214 202 173 / 0) 0, rgb(226 208 180 / .5) 3rem, rgb(226 208 180 / .85) 7rem, #e6cfb4 12rem, #e4c8b8 max(17rem, calc(100% - 58vw)), #d9c6c8 max(21rem, calc(100% - 50vw)), #cfc4cf max(24rem, calc(100% - 44vw)), #c6c2d2 max(27rem, calc(100% - 38vw)), #bcbfd1 max(30rem, calc(100% - 32vw)), #b0bbd0 max(33rem, calc(100% - 26vw)), #a8b9d0 max(36rem, calc(100% - 21vw)), #a5b8d0 max(39rem, calc(100% - 16vw)), rgb(165 184 208 / 0) 100%); background-size: 100% 100%; }
@media (max-width: 700px) {
  .tk-poem { background-image: linear-gradient(180deg, rgb(214 202 173 / 0) 0, rgb(226 208 180 / .5) 2.5rem, rgb(226 208 180 / .85) 6rem, #e6cfb4 10rem, #e4c8b8 max(14rem, calc(100% - 90vw)), #d9c6c8 max(18rem, calc(100% - 80vw)), #cfc4cf max(21rem, calc(100% - 72vw)), #c3c1d2 max(24rem, calc(100% - 64vw)), #b6bdd1 max(27rem, calc(100% - 56vw)), #a8b9d0 max(30rem, calc(100% - 49vw)), #a5b8d0 max(33rem, calc(100% - 44vw)), rgb(165 184 208 / 0) 100%); }
}

/* ==== 4 to 9: the note brought up onto the first screen, beside or just beneath "Ready to start a conversation?" ==== */
/* the page beneath: the shore's sand, carried on and lightening toward the poem */
.tkx { background: linear-gradient(180deg, #b8a27c 0, #c6b48f 18rem, #d1c3a3 36rem, #d6caad 52rem, #d9cfb9 100%); }
.tkx-hero { position: relative; }
.tkx-photo { position: absolute; inset: 0; background-position: center 50%; }
.tkx-in { position: relative; z-index: 1; }
.tkx-open .ab-crumb { color: var(--paper); }
.tkx-h { text-wrap: balance; }
.tkx-sub { margin-bottom: 0 !important; }
.js .tkx-open > * { animation: iv-soft-in 1600ms var(--ease-soft) both; }
.js .tkx-open > :nth-child(2) { animation-delay: 500ms; }
.js .tkx-open > :nth-child(3) { animation-delay: 1000ms; }
.js .tkx-note { animation: iv-soft-in 1600ms var(--ease-soft) 1400ms both; }
/* a note set more closely, so it fits on the first screen */
.tkx-compact .iv-field { margin-bottom: 1.05rem !important; }
.tkx-compact .iv-field--ask label { font-size: clamp(1.12rem, 1rem + .45vw, 1.4rem); line-height: 1.35; text-wrap: balance; }
.tkx-compact .iv-field textarea { min-height: 4.4rem; }
.tkx-compact .iv-how { margin-bottom: .6rem; }
.tkx-compact .iv-how legend { margin-bottom: .4rem; }
.tkx-compact .iv-form__go { margin: 0 !important; }
.tkx-note .iv-form.is-sent { min-height: 14rem; display: grid; place-items: center; text-align: center; }
/* a note written in white on the photograph, each line held by a soft shadow (as in Design 1) */
.tkx-light { color: var(--paper); color-scheme: dark; text-shadow: 0 0 1px rgb(12 20 30 / .45), 0 1px 3px rgb(12 20 30 / .55), 0 0 14px rgb(12 20 30 / .5), 0 0 34px rgb(12 20 30 / .35); }
.tkx-light .iv-field label, .tkx-light .iv-how legend { opacity: 1; font-weight: 500; }
.tkx-light .iv-field input, .tkx-light .iv-field textarea { border-bottom-color: rgb(255 255 255 / .62); box-shadow: 0 1px 2px -1px rgb(12 20 30 / .5); }
.tkx-light .iv-field input:focus, .tkx-light .iv-field textarea:focus { border-bottom-color: rgb(255 255 255 / .95); }
.tkx-light .iv-how input { opacity: 1; box-shadow: 0 0 2px rgb(12 20 30 / .7), 0 0 10px rgb(12 20 30 / .5), inset 0 0 2px rgb(12 20 30 / .4); }
.tkx-light .iv-send { text-decoration-color: rgb(255 255 255 / .6); }
/* every photograph here dissolves at its foot into the page's sand */
.tkx-photo { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 82%, rgb(0 0 0 / .8) 88%, rgb(0 0 0 / .45) 94%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 82%, rgb(0 0 0 / .8) 88%, rgb(0 0 0 / .45) 94%, transparent 100%); }

/* ---- 4 All on the shore: the question up in the sky, the whole note on the water and sand below it ---- */
.tk-d4 { min-height: max(100svh, 46rem); display: flex; }
.tk-d4 .tkx-in { width: min(100% - 2 * var(--gutter), 42rem); margin: 0 auto; padding: clamp(7.5rem, 16vh, 10rem) 0 clamp(2rem, 6vh, 4rem); text-align: center; }
.tk-d4 .tkx-open { text-shadow: 0 1px 2px rgb(10 16 26 / .4), 0 2px 26px rgb(10 16 26 / .55); }
.tk-d4 .ab-crumb { justify-content: center; }
.tk-d4 .tkx-h { font-size: clamp(2.2rem, 1.3rem + 2.8vw, 3.7rem); }
.tk-d4 .tkx-sub { max-width: 34rem; margin: .8rem auto 0 !important; }
.tk-d4 .tkx-note { margin-top: clamp(1.8rem, 5vh, 3rem); }
.tk-d4 .iv-form, .tk-d4 .iv-field input, .tk-d4 .iv-field textarea { text-align: center; }
.tk-d4 .iv-how legend { margin-inline: auto; }
.tk-d4 .iv-how label { margin: 0 .7rem .3rem; }
.tk-d4::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(46% 20% at 50% 22%, rgb(14 20 30 / .38), rgb(14 20 30 / 0) 100%), radial-gradient(40% 34% at 50% 68%, rgb(14 20 30 / .42), rgb(14 20 30 / .2) 55%, rgb(14 20 30 / 0) 100%); }

/* ---- 5 Side by side across the shore: the question on the left, the note on the right ---- */
.tk-d5 { min-height: max(100svh, 42rem); display: flex; align-items: center; }
.tk-d5 .tkx-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; width: min(100% - 2 * var(--gutter), 76rem); margin: 0 auto; padding: clamp(7rem, 14vh, 9rem) 0 clamp(3rem, 8vh, 5rem); }
.tk-d5 .tkx-open { text-shadow: 0 1px 2px rgb(10 16 26 / .4), 0 2px 26px rgb(10 16 26 / .55); }
.tk-d5 .tkx-h { font-size: clamp(2.4rem, 1.3rem + 3.2vw, 4.4rem); }
.tk-d5 .tkx-sub { max-width: 28rem; margin-top: 1.1rem !important; }
.tk-d5::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(38% 36% at 26% 52%, rgb(14 20 30 / .42), rgb(14 20 30 / 0) 100%), radial-gradient(32% 46% at 72% 56%, rgb(14 20 30 / .45), rgb(14 20 30 / .22) 55%, rgb(14 20 30 / 0) 100%); }
@media (max-width: 860px) {
  .tk-d5 .tkx-in { grid-template-columns: 1fr; }
  .tk-d5::after { background: linear-gradient(180deg, rgb(14 20 30 / .15), rgb(14 20 30 / .38) 50%, rgb(14 20 30 / .25)); }
}

/* ---- 6 A band of shore: the photograph a shorter band, the question on its horizon; the note wide on the sand ---- */
.tk-d6 { height: clamp(22rem, 54vh, 34rem); display: flex; align-items: center; }
.tk-d6 .tkx-photo { background-position: center 52%; }
.tk-d6 .tkx-in { width: min(100% - 2 * var(--gutter), 48rem); margin: 0 auto; padding-top: clamp(3rem, 8vh, 5rem); text-align: center; text-shadow: 0 1px 2px rgb(10 16 26 / .4), 0 2px 26px rgb(10 16 26 / .55); }
.tk-d6 .ab-crumb { justify-content: center; }
.tk-d6 .tkx-h { font-size: clamp(2.2rem, 1.3rem + 2.8vw, 3.8rem); }
.tk-d6 .tkx-sub { max-width: 34rem; margin: .8rem auto 0 !important; }
.tk-d6::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 44% at 50% 56%, rgb(14 20 30 / .38), rgb(14 20 30 / 0) 100%); }
.tk-d6-note { width: min(100% - 2 * var(--gutter), 64rem); margin: clamp(1rem, 3vh, 2rem) auto 0; }
.tk-d6-note .iv-form:not(.is-sent) { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: "ask row" "ask how" "ask go"; gap: 0 clamp(2rem, 5vw, 4.5rem); align-items: start; }
.tk-d6-note .iv-form__row { grid-area: row; }
.tk-d6-note .iv-field--ask { grid-area: ask; }
.tk-d6-note .iv-field--ask textarea { min-height: 8.6rem; }
.tk-d6-note .iv-how { grid-area: how; }
.tk-d6-note .iv-form__go { grid-area: go; }
@media (max-width: 760px) { .tk-d6-note .iv-form:not(.is-sent) { display: block; } }

/* ---- 7 Half and half: the shore on the left with the question; the note on pale sand on the right ---- */
.tk-d7 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: max(100svh, 40rem); }
.tk-d7-shore { display: flex; align-items: flex-end; }
.tk-d7-shore .tkx-photo { background-position: 42% 50%; -webkit-mask-image: none; mask-image: none; }
.tk-d7-shore::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgb(14 20 30 / 0) 35%, rgb(14 20 30 / .28) 60%, rgb(14 20 30 / .5) 100%); }
.tk-d7-shore .tkx-in { padding: 0 clamp(1.6rem, 4vw, 4rem) clamp(3rem, 12vh, 7rem) clamp(var(--gutter), 5vw, 5rem); text-shadow: 0 1px 2px rgb(10 16 26 / .4), 0 2px 26px rgb(10 16 26 / .55); }
.tk-d7-shore .tkx-h { font-size: clamp(2.3rem, 1.2rem + 3vw, 4.2rem); }
.tk-d7-shore .tkx-sub { max-width: 28rem; margin-top: 1rem !important; }
.tk-d7-sand { display: flex; align-items: center; padding: clamp(6rem, 12vh, 8rem) clamp(var(--gutter), 5vw, 5rem) clamp(2rem, 6vh, 4rem); background: linear-gradient(180deg, #efe8dc 0%, #e9dfcd 100%); }
.tk-d7-sand .tkx-note { width: 100%; max-width: 32rem; }
.ivd--7 { background: linear-gradient(180deg, #e9dfcd 0, #ddd1b8 24rem, #d6caad 48rem, #d9cfb9 100%); }
@media (max-width: 860px) {
  .tk-d7 { grid-template-columns: 1fr; }
  .tk-d7-shore { min-height: 70svh; }
  .tk-d7-sand { padding-top: clamp(2.4rem, 6vh, 3.5rem); }
}

/* ---- 8 Begin with a few words: under the question, only the question to write to; the rest unfolds once you begin ---- */
.tk-d8 { min-height: max(100svh, 40rem); }
.tk-d8 .tkx-photo { bottom: auto; height: max(100svh, 40rem); }
.tk-d8::after { content: ""; position: absolute; inset: 0 0 auto; height: max(100svh, 40rem); pointer-events: none;
  background: radial-gradient(48% 22% at 50% 40%, rgb(14 20 30 / .4), rgb(14 20 30 / 0) 100%), radial-gradient(40% 22% at 50% 72%, rgb(14 20 30 / .42), rgb(14 20 30 / 0) 100%); }
.tk-d8 .tkx-in { width: min(100% - 2 * var(--gutter), 40rem); margin: 0 auto; padding: calc(max(100svh, 40rem) * .436 - 6.5rem) 0 clamp(3rem, 8vh, 5rem); text-align: center; }
.tk-d8 .tkx-open { text-shadow: 0 1px 2px rgb(10 16 26 / .4), 0 2px 26px rgb(10 16 26 / .55); }
.tk-d8 .ab-crumb { justify-content: center; }
.tk-d8 .tkx-h { font-size: clamp(2.2rem, 1.3rem + 2.8vw, 3.7rem); }
.tk-d8 .tkx-sub { max-width: 34rem; margin: .8rem auto 0 !important; }
.tk-d8 .tkx-note { margin-top: clamp(1.6rem, 4vh, 2.4rem); }
.tk-d8 .iv-form, .tk-d8 .iv-field input, .tk-d8 .iv-field textarea { text-align: center; }
.tk-d8 .iv-how legend { margin-inline: auto; }
.tk-d8 .iv-how label { margin: 0 .7rem .3rem; }
.tk-d8-note .iv-form:not(.is-sent) { display: flex; flex-direction: column; }
.tk-d8-note .iv-field--ask { order: -1; }
.tk-d8-note .iv-form:not(.is-sent) > :is(.iv-form__row, .iv-how, .iv-form__go) { max-height: 0; overflow: hidden; opacity: 0; filter: blur(8px); transition: max-height 900ms var(--ease-soft), opacity 900ms var(--ease-soft) 150ms, filter 1000ms var(--ease-soft) 150ms; }
.tk-d8-note .iv-form.is-begun > :is(.iv-form__row, .iv-how, .iv-form__go) { max-height: 14rem; opacity: 1; filter: none; }
.no-js .tk-d8-note .iv-form > * { max-height: none !important; opacity: 1 !important; filter: none !important; }

/* ---- 9 A line in the sand: the question in the sky; the note one line across the sand at the shore's foot ---- */
.tk-d9 { min-height: max(100svh, 40rem); display: flex; }
.tk-d9 .tkx-photo { background-position: center 70%; }
.tk-d9 .tkx-in { display: flex; flex-direction: column; justify-content: space-between; width: min(100% - 2 * var(--gutter), 72rem); margin: 0 auto; padding: clamp(8rem, 18vh, 11rem) 0 clamp(1.6rem, 4vh, 2.6rem); }
.tk-d9 .tkx-open { text-align: center; text-shadow: 0 1px 2px rgb(10 16 26 / .4), 0 2px 26px rgb(10 16 26 / .55); }
.tk-d9 .ab-crumb { justify-content: center; }
.tk-d9 .tkx-h { font-size: clamp(2.2rem, 1.3rem + 2.8vw, 3.7rem); }
.tk-d9 .tkx-sub { max-width: 34rem; margin: .8rem auto 0 !important; }
.tk-d9::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(44% 20% at 50% 26%, rgb(14 20 30 / .36), rgb(14 20 30 / 0) 100%), linear-gradient(180deg, rgb(240 232 214 / 0) 74%, rgb(240 232 214 / .32) 86%, rgb(240 232 214 / .45) 100%); }
.tk-d9-note { color: var(--ink); text-shadow: 0 0 10px rgb(240 232 214 / .7), 0 0 2px rgb(240 232 214 / .6); }
.tk-d9-note .iv-form:not(.is-sent) { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) auto; grid-template-areas: "ask ask ask ask" "msg name email go" "how how how how"; gap: 0 clamp(1.2rem, 2.4vw, 2.2rem); align-items: end; }
.tk-d9-note .iv-form__row { display: contents; }
.tk-d9-note .iv-form__row .iv-field:first-child { grid-area: name; }
.tk-d9-note .iv-form__row .iv-field:last-child { grid-area: email; }
.tk-d9-note .iv-field--ask { display: contents; }
.tk-d9-note .iv-field--ask label { grid-area: ask; margin-bottom: .5rem; text-align: center; }
.tk-d9-note .iv-field--ask textarea { grid-area: msg; min-height: 0; height: 2.6rem; margin-bottom: 1.05rem; resize: none; }
.tk-d9-note .iv-field--ask textarea:focus { height: 5.2rem; }
.tk-d9-note .iv-field { margin-bottom: 1.05rem !important; }
.tk-d9-note .iv-form__go { grid-area: go; margin-bottom: .55rem !important; }
.tk-d9-note .iv-how { grid-area: how; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 1.2rem; margin: 0; }
.tk-d9-note .iv-how legend { float: left; margin: 0 .4rem 0 0; }
.tk-d9-note .iv-how label { margin: 0; }
.tk-d9-note .iv-field input, .tk-d9-note .iv-field textarea { border-bottom-color: rgb(31 36 42 / .45); }
@media (max-width: 860px) {
  .tk-d9-note .iv-form:not(.is-sent) { grid-template-columns: 1fr 1fr; grid-template-areas: "ask ask" "msg msg" "name email" "how how" "go go"; }
  .tk-d9-note .iv-field--ask textarea { height: 4.4rem; }
}
@media (max-width: 560px) { .tk-d9-note .iv-form:not(.is-sent) { grid-template-columns: 1fr; grid-template-areas: "ask" "msg" "name" "email" "how" "go"; } }
/* the message box a set height in these notes (its four rows would otherwise make it tall) */
.tkx-compact .iv-field textarea { height: 4.8rem; min-height: 0; }
.tk-d6-note .iv-field--ask textarea { height: 8.6rem; }
/* 9: the question to write to sits on the water, in white; the line itself on the sand; the choices centred beneath */
.tk-d9-note .iv-field--ask label { color: var(--paper); text-shadow: 0 0 1px rgb(12 20 30 / .45), 0 1px 3px rgb(12 20 30 / .55), 0 0 14px rgb(12 20 30 / .5), 0 0 34px rgb(12 20 30 / .35); margin-bottom: 1.2rem; }
.tk-d9-note .iv-how { display: block; text-align: center; }
.tk-d9-note .iv-how legend { float: none; margin: 0 auto .35rem; }
.tk-d9-note .iv-how label { margin: 0 .7rem; }
.tk-d9 .tkx-in { padding-bottom: clamp(1rem, 2.6vh, 1.8rem); }
/* 9 on narrower screens: the shore as a band with the question on it, and the note beneath it on the sand */
@media (max-width: 860px) {
  .tk-d9 .tkx-photo { bottom: auto; height: 74svh; background-position: center 45%; }
  .tk-d9::after { inset: 0 0 auto; height: 74svh; background: linear-gradient(180deg, rgb(14 20 30 / .1), rgb(14 20 30 / .32) 60%, rgb(14 20 30 / .1)); }
  .tk-d9 .tkx-in { justify-content: flex-start; padding-top: 0; }
  .tk-d9 .tkx-open { min-height: 74svh; display: flex; flex-direction: column; justify-content: center; padding-top: 4rem; box-sizing: border-box; }
  .tk-d9-note { margin-top: 1.6rem; }
  .tk-d9-note .iv-field--ask label { color: inherit; text-shadow: none; text-align: left; }
  .tk-d9-note { text-shadow: none; }
}
/* 8: the question rides higher, in the sky, so the note keeps to the water and the wet sand even once it has unfolded */
.tk-d8 .tkx-in { padding-top: clamp(8rem, 20vh, 11rem); }
.tk-d8::after { background: radial-gradient(48% 20% at 50% 26%, rgb(14 20 30 / .38), rgb(14 20 30 / 0) 100%), radial-gradient(42% 30% at 50% 66%, rgb(14 20 30 / .42), rgb(14 20 30 / 0) 100%); }

/* ---- 4 and 5, easier to read: the photograph a little quieter (the bright clouds and surf softened), a broad, feathered
   dusk gathered behind the words and the note, and every line held by a fuller shadow ---- */
:is(.tk-d4, .tk-d5) .tkx-photo { filter: brightness(.86) saturate(.95); }
.tk-d4::after { background:
    linear-gradient(180deg, rgb(14 20 30 / .22) 0%, rgb(14 20 30 / .08) 40%, rgb(14 20 30 / .12) 70%, rgb(14 20 30 / 0) 92%),
    radial-gradient(58% 26% at 50% 25%, rgb(14 20 30 / .5), rgb(14 20 30 / .3) 50%, rgb(14 20 30 / 0) 100%),
    radial-gradient(54% 32% at 50% 63%, rgb(14 20 30 / .55), rgb(14 20 30 / .34) 50%, rgb(14 20 30 / .12) 78%, rgb(14 20 30 / 0) 100%); }
.tk-d5::after { background:
    linear-gradient(180deg, rgb(14 20 30 / .22) 0%, rgb(14 20 30 / .08) 40%, rgb(14 20 30 / .12) 70%, rgb(14 20 30 / 0) 92%),
    radial-gradient(44% 42% at 24% 52%, rgb(14 20 30 / .55), rgb(14 20 30 / .32) 52%, rgb(14 20 30 / .1) 80%, rgb(14 20 30 / 0) 100%),
    radial-gradient(38% 43% at 73% 52%, rgb(14 20 30 / .58), rgb(14 20 30 / .36) 52%, rgb(14 20 30 / .12) 80%, rgb(14 20 30 / 0) 100%); }
:is(.tk-d4, .tk-d5) .tkx-open { text-shadow: 0 0 1px rgb(10 16 26 / .5), 0 1px 3px rgb(10 16 26 / .6), 0 0 18px rgb(10 16 26 / .55), 0 2px 40px rgb(10 16 26 / .45); }
:is(.tk-d4, .tk-d5) .tkx-sub { opacity: 1; }
:is(.tk-d4, .tk-d5) .tkx-light { text-shadow: 0 0 1px rgb(10 16 26 / .6), 0 1px 3px rgb(10 16 26 / .7), 0 0 16px rgb(10 16 26 / .6), 0 0 38px rgb(10 16 26 / .45); }
:is(.tk-d4, .tk-d5) .tkx-light .iv-field input, :is(.tk-d4, .tk-d5) .tkx-light .iv-field textarea { border-bottom-color: rgb(255 255 255 / .78); }
:is(.tk-d4, .tk-d5) .tkx-light .iv-how label > span { font-weight: 500; }

/* ---- 4, 5, 8 and 9: the sand at the foot of the photograph runs on down the page and lightens slowly, over a long stretch,
   into the paler sand of the poem; the photograph itself lets go gently into it ---- */
:is(.ivd--4, .ivd--5, .ivd--8) { --H: max(100svh, 46rem);
  background: linear-gradient(180deg, #8c7651 0, #8c7651 calc(var(--H) * .9), #957f5a var(--H), #a08b66 calc(var(--H) + 6rem), #ac9873 calc(var(--H) + 13rem), #b8a581 calc(var(--H) + 21rem), #c3b28f calc(var(--H) + 30rem), #ccbd9c calc(var(--H) + 40rem), #d3c7a9 calc(var(--H) + 51rem), #d9cfb9 100%); }
:is(.ivd--4, .ivd--5, .ivd--8, .ivd--9) .tkx-photo {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, rgb(0 0 0 / .98) 71%, rgb(0 0 0 / .94) 74%, rgb(0 0 0 / .88) 77%, rgb(0 0 0 / .8) 80%, rgb(0 0 0 / .7) 83%, rgb(0 0 0 / .59) 86%, rgb(0 0 0 / .47) 89%, rgb(0 0 0 / .35) 92%, rgb(0 0 0 / .23) 94.5%, rgb(0 0 0 / .12) 97%, rgb(0 0 0 / .04) 99%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 68%, rgb(0 0 0 / .98) 71%, rgb(0 0 0 / .94) 74%, rgb(0 0 0 / .88) 77%, rgb(0 0 0 / .8) 80%, rgb(0 0 0 / .7) 83%, rgb(0 0 0 / .59) 86%, rgb(0 0 0 / .47) 89%, rgb(0 0 0 / .35) 92%, rgb(0 0 0 / .23) 94.5%, rgb(0 0 0 / .12) 97%, rgb(0 0 0 / .04) 99%, transparent 100%); }
/* and the poem's own warm colours come in slowly over that lightening sand, rather than all at once at its top */
:is(.ivd--4, .ivd--5, .ivd--8) .tk-poem { background-image: radial-gradient(46% 16% at 22% 30%, rgb(244 214 178 / .55), rgb(244 214 178 / 0) 100%), radial-gradient(42% 14% at 80% 44%, rgb(236 196 188 / .5), rgb(236 196 188 / 0) 100%), radial-gradient(50% 15% at 26% 62%, rgb(214 198 220 / .55), rgb(214 198 220 / 0) 100%),
  linear-gradient(180deg, rgb(214 202 173 / 0) 0, rgb(222 205 177 / .2) 3rem, rgb(226 208 180 / .45) 6.5rem, rgb(228 208 181 / .7) 10rem, rgb(230 207 182 / .9) 13.5rem, #e6cfb4 17rem, #e4c8b8 max(21rem, calc(100% - 58vw)), #d9c6c8 max(24rem, calc(100% - 50vw)), #cfc4cf max(27rem, calc(100% - 44vw)), #c6c2d2 max(30rem, calc(100% - 38vw)), #bcbfd1 max(33rem, calc(100% - 32vw)), #b0bbd0 max(36rem, calc(100% - 26vw)), #a8b9d0 max(39rem, calc(100% - 21vw)), #a5b8d0 max(42rem, calc(100% - 16vw)), rgb(165 184 208 / 0) 100%); }
@media (max-width: 700px) {
  :is(.ivd--4, .ivd--5, .ivd--8) .tk-poem { background-image: linear-gradient(180deg, rgb(214 202 173 / 0) 0, rgb(222 205 177 / .2) 2.5rem, rgb(226 208 180 / .5) 5.5rem, rgb(229 208 181 / .8) 9rem, #e6cfb4 13rem, #e4c8b8 max(17rem, calc(100% - 90vw)), #d9c6c8 max(21rem, calc(100% - 80vw)), #cfc4cf max(24rem, calc(100% - 72vw)), #c3c1d2 max(27rem, calc(100% - 64vw)), #b6bdd1 max(30rem, calc(100% - 56vw)), #a8b9d0 max(33rem, calc(100% - 49vw)), #a5b8d0 max(36rem, calc(100% - 44vw)), rgb(165 184 208 / 0) 100%); }
}

/* ---- 4 on a phone: the note runs down over the bright surf to the sand, below the reach of the two pools of shade; so in
   place of the pools, an even dusk across the whole width (no shape to it), deepening a little where the surf is, and
   the two "let me know" choices set a touch firmer ---- */
@media (max-width: 700px) {
  .tk-d4::after { background: linear-gradient(180deg, rgb(14 20 30 / .36) 0%, rgb(14 20 30 / .3) 30%, rgb(14 20 30 / .34) 55%, rgb(14 20 30 / .46) 72%, rgb(14 20 30 / .44) 86%, rgb(14 20 30 / .2) 95%, rgb(14 20 30 / 0) 100%); }
  .tk-d4 .iv-keep label { opacity: 1; font-weight: 500; }
}
/* "walking together", under the heading: on to Walk */
.tk-sub__a { color: inherit; text-decoration: underline 1px; text-underline-offset: .2em; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: text-decoration-color 400ms var(--ease-soft); }
.tk-sub__a:hover, .tk-sub__a:focus-visible { text-decoration-color: currentColor; }

/* ---- the Talk page itself (talk.php, .tkx--sky): a soft sky above the photograph, in the clouds' own slate blues, that the
   photograph's clouds rise out of; the question and the note sit in that sky and the clouds, and Send on the top of
   the water, rather than all of it over the bright surf. The photograph keeps its own shape, at the foot of the opening,
   its sand running on into the page's sand as before ---- */
.tkx--sky { --sky-foot: 25vw;   /* how much of the photograph shows below the note: the lower water and the sand */
  --H: calc(78rem + 1.2 * var(--sky-foot)); }   /* about the opening's height, so the sand below it starts at the photograph's own sand */
.tkx--sky .tk-d4 { display: block; min-height: 0; padding-bottom: var(--sky-foot);
  background: linear-gradient(180deg, #3c556e 0%, #44607a 22%, #506d88 44%, #5d7a95 64%, #6a86a0 80%, #7d95ab calc(100% - 53vw), #8c9fb1 calc(100% - 48vw), #8c7651 calc(100% - 30vw), #8c7651 100%); }   /* the steel blues of the photograph's upper sky (its clouds' own colours, sampled, deepened toward the top) */
.tkx--sky .tkx-photo { top: auto; bottom: 0; height: calc(100vw * 1012 / 1800); background-size: cover; background-position: center top;
  filter: brightness(.8) saturate(.95);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgb(0 0 0 / .06) 6%, rgb(0 0 0 / .18) 12%, rgb(0 0 0 / .36) 18%, rgb(0 0 0 / .58) 24%, rgb(0 0 0 / .8) 30%, #000 36%, #000 70%, rgb(0 0 0 / .88) 78%, rgb(0 0 0 / .6) 86%, rgb(0 0 0 / .28) 93%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgb(0 0 0 / .06) 6%, rgb(0 0 0 / .18) 12%, rgb(0 0 0 / .36) 18%, rgb(0 0 0 / .58) 24%, rgb(0 0 0 / .8) 30%, #000 36%, #000 70%, rgb(0 0 0 / .88) 78%, rgb(0 0 0 / .6) 86%, rgb(0 0 0 / .28) 93%, transparent 100%); }
/* one broad, feathered dusk behind the note where it crosses the clouds, in place of the two pools over the surf */
.tkx--sky .tk-d4::after { background: radial-gradient(62% 30% at 50% calc(100% - var(--sky-foot) - 10rem), rgb(14 20 30 / .4), rgb(14 20 30 / .22) 55%, rgb(14 20 30 / 0) 100%); }
@media (max-width: 700px) {
  .tkx--sky { --sky-foot: 34vw; --H: calc(92rem + var(--sky-foot)); }
  .tkx--sky .tkx-photo { height: calc(100vw * 1012 / 1800 + 22vw); background-position: center 20%; }
  .tkx--sky .tk-d4::after { background: linear-gradient(180deg, rgb(14 20 30 / 0) 0%, rgb(14 20 30 / 0) 50%, rgb(14 20 30 / .3) 80%, rgb(14 20 30 / 0) 100%); }
}
/* the poem is its opening lines now: it keeps the room its colours need to deepen all the way into the sunset's sky */
.tkx--sky .tk-poem { min-height: 47rem; box-sizing: border-box; }
@media (max-width: 700px) { .tkx--sky .tk-poem { min-height: 40rem; } }
/* a longer sky before the photograph: more of it above the question */
.tkx--sky .tk-d4 .tkx-in { padding-top: clamp(7.5rem, 16vh, 10.5rem); }   /* the words start a little up the sky, clear of the JW */
/* the four choices, easier to read: larger, fully white, a firmer shadow, and a soft feathered dusk gathered behind them */
.tkx--sky .tkx-note .iv-keep { position: relative; gap: .85rem; margin-top: 1.4rem !important; }   /* a little room below the note's line */
.tkx--sky .tkx-note .iv-keep::before { content: ""; position: absolute; z-index: -1; inset: -2.2rem -4.5rem -2rem; pointer-events: none;
  background: radial-gradient(closest-side, rgb(14 20 30 / .38), rgb(14 20 30 / .24) 55%, rgb(14 20 30 / 0)); }
.tkx--sky .tkx-note .iv-keep label { font-size: clamp(.98rem, .92rem + .2vw, 1.06rem); line-height: 1.5; opacity: .8; font-weight: 500; transition: opacity 400ms var(--ease-soft);
  text-shadow: 0 0 1px rgb(10 16 26 / .7), 0 1px 3px rgb(10 16 26 / .8), 0 0 12px rgb(10 16 26 / .6), 0 0 28px rgb(10 16 26 / .45); }
.tkx--sky .tkx-note .iv-keep label:hover, .tkx--sky .tkx-note .iv-keep label:has(input:focus-visible), .tkx--sky .tkx-note .iv-keep label:has(input:checked) { opacity: 1; }   /* the one under the pointer (or chosen) comes forward */
.tkx--sky .tkx-note .iv-keep input { width: 18px; height: 18px; margin-top: .16em; }
/* the line under the question: italic, and a touch smaller, so it reads as an aside to it */
.tkx--sky .tkx-sub { font-style: italic; font-size: .92em; }

/* ---- the Talk page at sunset (talk.php, .tkx--sunset): the sun going down over the lake. The sky above the photograph
   deepens upward from the photograph's own pale blue, as an evening sky does, so the sun and its glow show whole beneath
   the note. Below, the sand warms back up through the colours of that same sunset, rose, then gold, then pale, into the
   blue of the closing sky, as if reading the evening upward from the horizon ---- */
.tkx--sunset { --ph: calc(100vw * 1116 / 2000);   /* the photograph's own height, at full width */
  --sky-foot: calc(var(--ph) * .74);              /* the note's foot rests in the photograph's upper sky, above the sun */
  background: #3a3438; }
.tkx--sunset .tk-d4 { --sky: calc(100% - var(--ph));   /* where the photograph begins, measured from the top */
  /* the sky brightens toward the photograph on one smooth curve, each colour on its own gentle arc, so its pace never changes
     all at once: straight ramps joined end to end left a faint line wherever one met the next */
  background: linear-gradient(180deg, #1f2b3c 0, #1f2b3d calc((var(--sky) + 3rem) * 0.042), #1f2c3e calc((var(--sky) + 3rem) * 0.083), #202d40 calc((var(--sky) + 3rem) * 0.125), #212f42 calc((var(--sky) + 3rem) * 0.167), #223144 calc((var(--sky) + 3rem) * 0.208), #243447 calc((var(--sky) + 3rem) * 0.25), #26364a calc((var(--sky) + 3rem) * 0.292), #293a4e calc((var(--sky) + 3rem) * 0.333), #2c3d52 calc((var(--sky) + 3rem) * 0.375), #2f4156 calc((var(--sky) + 3rem) * 0.417), #33465a calc((var(--sky) + 3rem) * 0.458), #374a5f calc((var(--sky) + 3rem) * 0.5), #3c5063 calc((var(--sky) + 3rem) * 0.542), #415568 calc((var(--sky) + 3rem) * 0.583), #465b6e calc((var(--sky) + 3rem) * 0.625), #4c6173 calc((var(--sky) + 3rem) * 0.667), #536779 calc((var(--sky) + 3rem) * 0.708), #596e7f calc((var(--sky) + 3rem) * 0.75), #617585 calc((var(--sky) + 3rem) * 0.792), #697d8b calc((var(--sky) + 3rem) * 0.833), #718592 calc((var(--sky) + 3rem) * 0.875), #7a8d99 calc((var(--sky) + 3rem) * 0.917), #8395a0 calc((var(--sky) + 3rem) * 0.958), #8d9ea7 calc(var(--sky) + 3rem), #8d9ea7 calc(100% - var(--ph) * .9), #3a3438 calc(100% - var(--ph) * .3), #4a3c3e 100%); }
.tkx--sunset .tkx-photo { height: var(--ph); filter: brightness(.9);
  background-size: 112.6% auto; background-position: 0% 31.8%;   /* the sun sits 44% across the photograph: a touch wider, so it rests in the middle, the horizon where it was */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgb(0 0 0 / .08) 3%, rgb(0 0 0 / .25) 6%, rgb(0 0 0 / .5) 10%, rgb(0 0 0 / .75) 14%, rgb(0 0 0 / .92) 18%, #000 22%, #000 72%, rgb(0 0 0 / .86) 79%, rgb(0 0 0 / .6) 86%, rgb(0 0 0 / .3) 93%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgb(0 0 0 / .08) 3%, rgb(0 0 0 / .25) 6%, rgb(0 0 0 / .5) 10%, rgb(0 0 0 / .75) 14%, rgb(0 0 0 / .92) 18%, #000 22%, #000 72%, rgb(0 0 0 / .86) 79%, rgb(0 0 0 / .6) 86%, rgb(0 0 0 / .3) 93%, transparent 100%); }
/* a little dusk where the note's last lines cross the pale top of the photograph; it is gone well before the sun */
.tkx--sunset .tk-d4::after { background: linear-gradient(180deg, rgb(14 20 30 / 0) 0%, rgb(14 20 30 / 0) calc(100% - var(--ph) - 18rem), rgb(14 20 30 / .22) calc(100% - var(--ph) - 2rem), rgb(14 20 30 / .2) calc(100% - var(--ph) * .86), rgb(14 20 30 / 0) calc(100% - var(--ph) * .72)); }

/* the note: three plain lines, Name, Email and Note, with no rule beneath them; what you write follows straight after the
   name. The faint hint after Name and Note goes as soon as you're in the line. Send on its own beneath, the word and its
   arrow, with no line under it until the pointer comes */
.tk-plain { width: min(100%, 34rem); margin: clamp(1.8rem, 5vh, 3rem) auto 0; }
.tk-plain .tk-on { display: flex; align-items: baseline; gap: .7rem; margin: 0 0 .5rem !important; text-align: left; }
.tk-plain .tk-on label { flex: none; width: 5.4rem; font-family: var(--font-body); font-size: .86rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.tk-plain .tk-on input, .tk-plain .tk-on textarea { flex: 1; min-width: 0; padding: .45rem 0; border: 0; background: transparent; color: inherit; font-family: var(--font-body); font-size: 1rem; line-height: 1.5; text-align: left; caret-color: currentColor; }
.tk-plain .tk-on textarea { resize: none; field-sizing: content; min-height: 4.6rem; max-height: 10rem; }   /* room for the whole hint: two lines, three on a phone */
.tk-plain .tk-on input:focus, .tk-plain .tk-on textarea:focus { outline: none; }
.tk-plain .tk-on input::placeholder, .tk-plain .tk-on textarea::placeholder { color: rgb(255 255 255 / .74); font-family: var(--font-display); font-style: italic; font-size: 1.16rem; transition: opacity 400ms var(--ease-soft); }
.tk-plain .tk-on input:focus::placeholder, .tk-plain .tk-on textarea:focus::placeholder { opacity: 0; }
.tk-plain .iv-form__go { margin: 1.1rem 0 0 !important; text-align: center; }
.tk-plain .iv-send { font-size: 1.5em; text-decoration-color: transparent; }   /* a little larger than the other notes' Send */
.tk-plain .iv-send .ab-arrow { width: 30px; height: 15px; }
.tk-plain .iv-send:hover, .tk-plain .iv-send:focus-visible { text-decoration-color: rgb(255 255 255 / .6); }
.tk-plain .iv-form__thanks { text-align: center; }
@media (max-width: 700px) { .tk-plain .tk-on textarea { min-height: 6.2rem; } .tk-plain .tk-on label { width: 4.9rem; } }
/* plainer still: no glow or shadow behind the words, and no dusk laid over the sky behind the note; the sky itself is
   deep enough where they sit */
.tkx--sunset .tk-d4 .tkx-open, .tkx--sunset .tk-plain, .tkx--sunset .tk-plain * { text-shadow: none; }
.tkx--sunset .tk-d4::after { display: none; }

/* below the photograph: one long passage of the sunset's own colours, measured down from the poem's top (where the sand
   ends) and up from its foot (where the closing photograph rises beneath it) */
.tkx--sunset .tk-poem { padding-top: clamp(15.5rem, 30vh, 19rem); min-height: calc(46rem + 18vw);   /* the poem midway between the sand above and the first clouds below */
  background-image: linear-gradient(180deg, #4a3c3e 0, #5c4646 3rem, #7a5752 7rem, #9e6d62 11rem, #bd8670 15rem, #d0a07c 19rem, #dab48a 23rem, #ddc19b 26.5rem,
    #d6c3a6 30rem, #cbc1ad 33rem, #bebcaf 35.5rem, #b3bab5 38rem, #a7b4b8 40.5rem, #9cadb6 43rem, #8ea5b1 max(45.5rem, calc(100% - 18vw)), rgb(142 165 177 / 0) 100%); }
.tkx--sunset .tk4-dusk + .ab-shore { background: linear-gradient(180deg, #8ea5b1 0%, #8ea5b1 40%, rgb(142 165 177 / 0) 60%, transparent 88%, rgb(16 20 34 / .5) 95%, #10141f 100%); }

@media (max-width: 700px) {
  .tkx--sunset { --ph: calc(100vw * 1116 / 2000 + 34vw); --sky-foot: calc(var(--ph) * .74); }
  .tkx--sunset .tkx-photo { background-size: cover; background-position: 35.3% 30%; }   /* the sun in the middle here too */
  .tkx--sunset .tk-poem { padding-top: 13.5rem; min-height: calc(36rem + 44vw);
    background-image: linear-gradient(180deg, #4a3c3e 0, #5c4646 2.6rem, #7a5752 5.6rem, #9e6d62 8.6rem, #bd8670 11.6rem, #d0a07c 14.6rem, #dab48a 17.6rem, #ddc19b 20.6rem,
      #d6c3a6 23.5rem, #cbc1ad 26rem, #bebcaf 28.5rem, #b3bab5 31rem, #a7b4b8 33.5rem, #9cadb6 36rem, #8ea5b1 max(38.5rem, calc(100% - 44vw)), rgb(142 165 177 / 0) 100%); }
}
/* the opening's words come in out of a blur and then are simply themselves: holding the blur's end (a filter of nothing)
   kept the small words of the breadcrumb a little soft, so the fade lets go once it is done. Home a touch clearer too */
.tkx--sunset .tkx-open, .tkx--sunset .tkx-open * { animation-fill-mode: backwards !important; }
.tkx--sunset .ab-crumb__home { opacity: .9; }
.tkx--sunset .ab-crumb__sep { opacity: .5; }
/* sent from the page itself: Send rests while it goes; then the thank-you sits in the middle of the note's own room */
.tk-plain .is-sending .iv-send { opacity: .5; cursor: default; }
.tk-plain .iv-form.is-sent { display: flex; align-items: center; justify-content: center; }
.tk-plain .iv-form__thanks { max-width: 30rem; margin: 0 auto !important; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.45; }
.tk-plain__oops { margin: .8rem 0 0 !important; text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1rem; }
