/* (the night of 2026-11-28, "up-d") the drafted pages brought up to the home page's language: about, the join pages.
   night.css is not edited; everything here overrides it, scoped to these pages. Colors only through the settings. */

/* ==========================================================================
   ABOUT
   ========================================================================== */
/* the photo opening: no curved lower edge and no ground of its own. The photo and its shade dissolve downward into the
   one sky (the same way the dates page's opening does); the shade is Base 1, darkest where the words sit */
.ab-hero{clip-path:none}
.ab-hero__pic{position:absolute;inset:0;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 36%,rgb(0 0 0 / .62) 56%,rgb(0 0 0 / .2) 72%,transparent 84%);mask-image:linear-gradient(to bottom,#000 0%,#000 36%,rgb(0 0 0 / .62) 56%,rgb(0 0 0 / .2) 72%,transparent 84%)}
.ab-hero__shade{background:linear-gradient(to top,rgb(var(--sky-ink) / .92) 0%,rgb(var(--sky-ink) / .6) 34%,rgb(var(--sky-ink) / 0) 66%),linear-gradient(to bottom,rgb(var(--sky-ink) / .5),transparent 25%)}
.ab-hero__txt{bottom:44px}
/* "about" is written in by the pen: the copy the pen writes sits exactly over the word */
.ab-hero__k span{display:inline-block;position:relative}

/* the story: paragraphs in pairs, each pair with its photograph. On a phone a pair is simply the photo, then its
   paragraphs, exactly as drafted */
.bio__txt p{font-size:18px;line-height:1.7;color:var(--soft)}
/* the shapes: an oval, a tall soft rectangle, a circle, a wide soft rectangle. No arch and no dome (round at one end,
   square at the other) anywhere */
.bio .shape--tall{width:72%;aspect-ratio:3 / 4.2;border-radius:28px;margin-right:0}
.bio .shape--wide{border-radius:32px}
.bio .shape--wide img{object-position:50% 40%}
.bio .pull{text-wrap:balance}
.pull__ln{position:relative}

@media (min-width:900px){
  .ab-hero__txt{bottom:56px}
  /* A LAYOUT FOR WIDE SCREENS: the story no longer runs down one narrow column. The opening paragraph is set wide and
     large; then each pair of paragraphs keeps a comfortable reading width (about seventy letters a line) on one side
     while its photograph stands on the other, the sides taking turns, the photos set a little high or low so nothing
     lines up like boxes; the pulled-out line and the last photograph run wide between them */
  .bio{max-width:var(--wrap);padding-top:64px;padding-bottom:120px}
  .bio .bio__first{font-size:clamp(36px,3.5vw,54px);line-height:1.16;max-width:21em;margin:0 0 120px}
  .bio__row{display:grid;grid-template-columns:minmax(0,1.24fr) minmax(0,1fr);column-gap:clamp(48px,7vw,112px);align-items:center;margin:0 0 130px}
  .bio__row--flip{grid-template-columns:minmax(0,1fr) minmax(0,1.24fr)}
  .bio__txt{grid-row:1;grid-column:1;max-width:590px}
  .bio__row--flip .bio__txt{grid-column:2;justify-self:end}
  .bio__row--bare .bio__txt{grid-column:1 / -1;justify-self:center}
  .bio__txt p{font-size:20px;line-height:1.66}
  .bio__txt p:last-child{margin-bottom:0}
  .bio__row .shape{grid-row:1;grid-column:2;margin:0}
  .bio__row--flip .shape{grid-column:1}
  .bio__row .shape--oval{width:min(400px,100%);justify-self:end;margin:90px 3% -70px 0}
  .bio__row .shape--tall{width:min(390px,100%);justify-self:start;margin:-80px 0 0 2%}
  .bio__row .shape--circle{width:min(430px,100%);justify-self:center;margin:40px 0 -40px}
  .bio .pull{font-size:clamp(44px,4.9vw,76px);line-height:1.04;letter-spacing:-.03em;max-width:13em;margin:0 0 150px 7%}
  .bio__end{margin-top:10px}
  .bio__end .shape--wide{width:86%;margin:0 0 0 auto;aspect-ratio:2 / 1}
  .bio__end .more-wrap{margin-top:36px}
}

/* ==========================================================================
   JOIN, STEP 1 (and the same form shown with a mistake in it)
   ========================================================================== */
/* the pass says "Your name here", faintly, until a name is typed */
.ic__pass--join .pass.is-blank .pass__name{opacity:.5}
.ic__pass--join .pass{will-change:transform}

/* A FIELD YOU ARE IN SHOWS IT: an accent line draws in under it from the left and its label takes the accent. (The
   browser's own ring is switched off on these fields in night.css; this is what stands in its place, for the keyboard,
   the mouse and a finger alike. The tick box and the button keep the house's accent ring.) */
.ic-ch--join .jf__f{position:relative}
.ic-ch--join .jf__f::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2.5px;border-radius:2px;background:var(--rose);
  transform:scaleX(0);transform-origin:0 50%;transition:transform .35s cubic-bezier(.2,.7,.2,1);pointer-events:none}
.ic-ch--join .jf__f:focus-within::after{transform:scaleX(1)}
.ic-ch--join .jf__l{transition:color .25s}
.ic-ch--join .jf__f:focus-within .jf__l{color:var(--rose)}
.ic-ch--join .jf__f.is-bad::after{background:var(--err);transform:scaleX(1)}
.ic-ch--join .agree.is-bad .agree__box{border-color:var(--err)}
/* the country list wears a visible arrow (a small drawn chevron; it takes the accent while the list has the focus) */
.ic-ch--join .jf select{padding-right:26px;text-overflow:ellipsis}
.ic-ch--join .jf__f--pick::before{content:"";position:absolute;right:5px;bottom:17px;width:9px;height:9px;border-right:1.5px solid var(--soft);border-bottom:1.5px solid var(--soft);
  transform:rotate(45deg);pointer-events:none;transition:border-color .25s}
.ic-ch--join .jf__f--pick:focus-within::before{border-color:var(--rose)}
/* fine print no smaller than the house's fine print */
.ic-ch--join .jf__l i{font-size:13px}
.ic-ch--join .jf .agree{font-size:13px;line-height:1.4}

/* PHONES: THE PASS AND THE BUTTON FIT A SHORT PHONE. As drafted the pass sat under the button, a screen further down,
   so nobody typing a name could see it fill in. It now stands at the top right, beside the title and the line, where
   it stays in view above the phone's keyboard; the form follows; the button ends the first screen. (The join steps
   have no bottom bar, so nothing is kept clear for one.) */
@media (max-width:899px){
  .ic-ch--join{--pw:clamp(104px,30vw,132px);--tf:clamp(38px,12.4vw,56px);min-height:var(--vh);padding:calc(var(--top) + 12px) 0 26px}
  .ic-ch--join .ic__title{font-size:var(--tf);line-height:1;margin:0 0 10px -3px;max-width:calc(100% - var(--pw) - 12px)}
  /* the line is never shorter than the pass beside it, so the form always starts below the pass */
  .ic-ch--join .jn__sum{max-width:calc(100% - var(--pw) - 16px);min-height:calc(var(--pw) / .64 - var(--tf) * 1.62 + 4px);margin:0 0 14px}
  .ic-ch--join .ic__pass{position:absolute;z-index:3;right:var(--g);top:calc(var(--top) + 16px);width:var(--pw);margin:0}
  .ic-ch--join .jf{gap:13px 22px;margin-top:0}
  /* a mistake's message stands beside the button, not above it, so the button never leaves the first screen */
  .ic-ch--join .jf > .hint{grid-column:2;grid-row:6;align-self:center;max-width:none;font-size:16px;line-height:1.35}
  .ic-ch--join .jf > .hint + div{grid-column:1;grid-row:6;align-self:start}
  /* the form sits over the photograph: the shade is Base 1, deepest where the fields are */
  .ic-ch--join .ic__shade{background:linear-gradient(to bottom,rgb(var(--sky-ink) / .5) 0%,rgb(var(--sky-ink) / .62) 30%,rgb(var(--sky-ink) / .84) 62%,rgb(var(--sky-ink) / .94) 100%)}
}

/* a tablet held upright: the pass stands beside the form, as it does on a computer */
@media (min-width:720px) and (max-width:899px){
  .ic-ch--join{--pw:clamp(160px,24vw,200px);--tf:64px}
  .ic-ch--join .ic__title{max-width:none}
  .ic-ch--join .jn__sum{max-width:470px;min-height:0}
  .ic-ch--join .ic__pass{right:auto;left:calc(var(--g) + 470px + 34px);top:calc(var(--top) + 204px)}
}

/* ==========================================================================
   "YOU'RE IN" (join, step 3)
   ========================================================================== */
/* the backdrop photo dissolves into the one sky instead of ending on a ground of its own; its shade is Base 1 */
.done__bg img{-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 30%,rgb(0 0 0 / .5) 62%,transparent 90%);mask-image:linear-gradient(to bottom,#000 0%,#000 30%,rgb(0 0 0 / .5) 62%,transparent 90%)}
.done__shade{background:linear-gradient(to bottom,rgb(var(--sky-ink) / .55) 0%,rgb(var(--sky-ink) / .78) 45%,rgb(var(--sky-ink) / 0) 92%)}
/* the drawn phone and the printer's slot take their colors from the settings (they were typed, with a violet cast) */
.done .phone{background:linear-gradient(170deg,rgb(var(--sky-ink)),rgb(var(--sky-plum)));
  box-shadow:0 0 0 7px rgb(var(--glow-purple) / .3),0 0 0 7px rgb(var(--sky-ink)),0 50px 90px -30px rgb(0 0 0 / .7)}
.done .printer__slot{background:rgb(var(--sky-ink));box-shadow:0 0 0 1px rgb(255 253 252 / .12),0 8px 20px rgb(0 0 0 / .5)}
/* "You're in" is written in by the pen */
.done h1 span{display:inline-block;position:relative}
/* what happens after a wallet button is tapped is said in a plain sentence, not in a bordered box */
.done .ii__watch{border:0;border-radius:0;padding:0;margin-top:14px}
.done .ii__watch p{font-size:16px;line-height:1.45}
.done .ii__watch.is-ok p{color:var(--rose)}
/* phones: a little less air above and between, so the wallet button is on the first screen of a short phone */
@media (max-width:899px){
  .done{padding-top:var(--top)}
  .donestage{margin-top:4px}
  .done .lede{margin-bottom:14px}
}
/* A WAY ONWARD when you are done: two quiet arrow links at the foot */
.done__on{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 30px;margin:22px 0 0}
@media (min-width:900px){ .done__on{justify-content:flex-start;margin-top:26px} }

/* ======================================================================
   ABOUT, THE BANNER (his word, 2026-12-04: "I don't mind the big banner hero image on this page, but clearly this is not
   working. His face is cut off"). The photograph is square; stretched to the full width of a computer screen it was
   half as tall again as the banner, so his face filled it and everything below his eyes sank into the fade at the foot.
   NOW, on a screen wider than it is tall: the photograph is set to the banner's HEIGHT, so his whole head and shoulders
   show, standing right of the middle with the two words at the lower left; its own backdrop, blurred, carries on to
   both sides (js/views.js hands the picture's address to --ab-pic), and the photograph's edges melt into it.
   At every size the fade at the foot starts lower (below his chin), and the night under the words is drawn to suit.
   ====================================================================== */
.ab-hero__pic{-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 68%,rgb(0 0 0 / .7) 78%,rgb(0 0 0 / .25) 88%,transparent 97%);mask-image:linear-gradient(to bottom,#000 0%,#000 68%,rgb(0 0 0 / .7) 78%,rgb(0 0 0 / .25) 88%,transparent 97%)}
.ab-hero__shade{background:linear-gradient(to top,rgb(var(--sky-ink) / .94) 0%,rgb(var(--sky-ink) / .55) 16%,rgb(var(--sky-ink) / .12) 30%,rgb(var(--sky-ink) / 0) 40%),linear-gradient(to bottom,rgb(var(--sky-ink) / .5),transparent 25%)}
@media (min-width:900px) and (min-aspect-ratio:1/1){
  .ab-hero__img::before{content:"";position:absolute;inset:-60px;background:var(--ab-pic) 50% 30% / cover no-repeat;filter:blur(44px) saturate(.9) brightness(.86)}
  /* (centred on a line 62% across by its own margins: the animation library clears any `translate` set here) */
  .ab-hero__img img{position:absolute;left:24%;right:0;margin-inline:auto;top:9%;width:auto;height:104%;max-width:none;object-fit:contain;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16%,#000 84%,transparent 100%),linear-gradient(180deg,transparent 0,#000 12%);-webkit-mask-composite:source-in;
    mask-image:linear-gradient(90deg,transparent 0,#000 16%,#000 84%,transparent 100%),linear-gradient(180deg,transparent 0,#000 12%);mask-composite:intersect}
  /* a pool of night under the two words at the lower left, clear of his face */
  .ab-hero__shade{background:radial-gradient(ellipse 46% 62% at 14% 100%,rgb(var(--sky-ink) / .9) 0%,rgb(var(--sky-ink) / .62) 46%,rgb(var(--sky-ink) / 0) 100%),linear-gradient(to top,rgb(var(--sky-ink) / .94) 0%,rgb(var(--sky-ink) / .55) 16%,rgb(var(--sky-ink) / .12) 30%,rgb(var(--sky-ink) / 0) 40%),linear-gradient(to bottom,rgb(var(--sky-ink) / .5),transparent 25%)}
}

