/* Day surfaces: what every business page shares (the credit label, the action tab in system.css, the business ground and the light each work casts on it) and the home business half:
   the stage (events, figures), the client sites and the sign-off. Loads after sections.css. */

.day-wrap {
  padding-inline: var(--frame);
}
.sheet .tab:focus-visible::after {
  background: var(--sheet-ink);
}

/* A credit or role line: label type under the picture it names, never a box on the footage. Violet-deep on the sheet, violet on night. */
.credit {
  margin: 0;
  max-width: var(--measure);
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-wrap: pretty;
  font-variation-settings:
    'wdth' 112,
    'wght' 600;
  color: var(--credit, var(--violet-deep));
}

/* A live rule: a string that opens a caption, a head or a frame's top edge. Colour follows the ground. */
.edge {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
}
.day-wrap > .edge {
  left: var(--frame);
  right: var(--frame);
}
.sheet .edge {
  --crest: var(--violet-deep);
}
.stage .edge {
  --crest: var(--violet);
}

/* ───────── The stage: the events, in the colour of their cases ───────── */
.stage {
  position: relative;
  margin-top: 112px;
  padding: 88px 0 120px;
  color: var(--night-ink);
  --credit: var(--violet);
}
/* The ground is two negative-z layers, not the stage's own background or isolation: the stage paints no stacking context, so an open film in it rises above the dim. */
.stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--night);
}
.stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 72% 24% at 20% 8%, rgba(112, 84, 235, 0.64), transparent 72%),
    radial-gradient(ellipse 58% 20% at 96% 42%, rgba(112, 84, 235, 0.3), transparent 72%),
    radial-gradient(ellipse 66% 24% at 82% 93%, rgba(205, 48, 118, 0.6), transparent 72%),
    radial-gradient(ellipse 48% 18% at 4% 80%, rgba(205, 48, 118, 0.24), transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 200px, #000 calc(100% - 200px), transparent);
  mask-image: linear-gradient(180deg, transparent, #000 200px, #000 calc(100% - 200px), transparent);
}
.stage > .edge {
  left: 0;
  right: 0;
}
@media (min-width: 1024px) {
  .stage {
    margin-top: 160px;
    padding: 128px 0 168px;
  }
}

.ev {
  margin: 0;
}
.nowrap {
  white-space: nowrap;
}
.ev .frame {
  border: 0;
  background: var(--night);
}
.ev .frame:not(.is-open) {
  aspect-ratio: 16 / 9;
}
.ev__cap {
  position: relative;
  display: grid;
  gap: 14px 24px;
  margin-top: 20px;
  padding-top: 28px;
}
.ev__who {
  display: grid;
  gap: 10px;
}
.ev__title {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 48px);
  color: var(--night-ink);
  text-wrap: balance;
}
.ev__line {
  margin: 0;
  max-width: 36em;
  font-size: 17px;
  line-height: 1.55;
  color: var(--night-muted);
}
@media (min-width: 1024px) {
  .ev--lead .ev__cap {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    margin-top: 24px;
    padding-top: 32px;
  }
  .ev--lead .ev__who {
    grid-column: 1 / span 7;
  }
  .ev--lead .ev__line {
    grid-column: 9 / -1;
    align-self: end;
  }
}

/* Figures: the tablature on night */
.stage .staff {
  margin-top: 96px;
}
.stage .staff::before {
  display: none;
}
.stage .staff__lines i {
  background: var(--violet);
  opacity: 0.6;
}
.stage .staff__fret b {
  color: var(--night-ink);
}
.stage .staff__unit {
  color: var(--violet);
}
.ev__facts {
  margin: 32px 0 0;
  max-width: 44em;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--night-ink);
}

/* The second event: the picture right; its credit, title and line down the left, on the picture's edges */
.ev--side {
  display: grid;
  gap: 20px;
  margin-top: 112px;
}
.ev--side .frame:not(.is-open) {
  width: 100%;
}
.ev--side .ev__cap {
  margin-top: 0;
}
@media (min-width: 1024px) {
  .ev--side {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    margin-top: 144px;
  }
  .ev--side .frame:not(.is-open) {
    grid-column: 5 / -1;
    grid-row: 1;
  }
  .ev--side .ev__cap {
    grid-column: 1 / span 4;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding-top: 32px;
  }
  .ev--side .ev__title {
    font-size: clamp(40px, 4.6vw, 68px);
  }
  .ev--side:has(> .film.is-open) .ev__cap {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* ───────── Websites: each client's site at the size it is read ───────── */
#business .service {
  display: block;
  margin: 0;
  padding-top: 128px;
}
#business .service__head {
  position: relative;
  display: grid;
  gap: 20px;
  padding-top: 32px;
}
@media (min-width: 1024px) {
  #business .service {
    padding-top: 176px;
  }
  #business .service__head {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    padding-top: 36px;
  }
  #business .service__h2 {
    grid-column: 1 / span 7;
  }
  #business .service__line {
    grid-column: 9 / -1;
    align-self: end;
    padding-bottom: 0.5em;
  }
}

.site-moment {
  position: relative;
  isolation: isolate;
  padding: 80px 0 96px;
}
.site-moment::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 64% 52% at var(--wx, 72%) 40%,
      color-mix(in srgb, var(--tint) 34%, transparent),
      transparent 72%
    ),
    radial-gradient(ellipse 42% 38% at var(--wy, 6%) 94%, rgba(90, 43, 194, 0.16), transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
.site-moment--rev {
  --wx: 28%;
  --wy: 94%;
}
@media (min-width: 1024px) {
  .site-moment {
    padding: 112px 0 128px;
  }
}
/* The pair is as wide as the screen's height lets both windows stand whole, and never wider than the page. The caption sits under it and the rows alternate
   the phone's side; where the full-width pair is taller than the screen, the pair takes eight of the twelve columns and the caption four beside it, and the
   phone moves to the side away from the caption. Below 640 the desktop window goes edge to edge and the phone window stands under it, inset by the margin, at most 172 px wide and never so tall that the pair outgrows the screen. */
.site-fig {
  margin: 0;
  container-type: inline-size;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  column-gap: 24px;
}
.site-moment--rev .site-fig {
  flex-direction: row-reverse;
}
.site-moment .site {
  --B: calc(100svh - var(--hdr) - 56px);
  flex: none;
  width: min(100cqw, calc(var(--B) * 2.0616 + var(--gap)));
}
.site-moment--rev .site {
  --cols: var(--ph) var(--win);
  --wc: 2 / 3;
  --pc: 1;
}
.site-moment .site__win {
  border-top: 0;
  overflow: clip;
}
.site__edge {
  grid-column: var(--wc, 1 / 2);
  grid-row: 1;
  z-index: 3;
}
/* The caption sits under the pair; where the screen is short it docks beside it, in the four columns the pair leaves. */
.site-cap {
  position: relative;
  flex: 1 1 100%;
  container-type: inline-size;
  margin-top: 28px;
  padding-top: 28px;
}
@media (min-width: 1024px) and (max-height: 760px) and (min-aspect-ratio: 19 / 10) {
  .site-fig {
    flex-wrap: nowrap;
    align-items: flex-start;
  }
  .site-moment .site {
    width: min(calc(var(--B) * 2.0616 + var(--gap)), calc((100cqw - 264px) / 12 * 8 + 168px));
    --cols: var(--ph) var(--win);
    --wc: 2 / 3;
    --pc: 1;
  }
  .site-moment--rev .site {
    --cols: var(--win) var(--ph);
    --wc: 1 / 2;
    --pc: 2;
  }
  .site-cap {
    flex: 1 1 0;
    min-width: 0;
    margin-top: 0;
  }
}
@media (max-width: 639.98px) {
  .site-moment .site:has(.site__who) {
    --ph: min(
      calc((100% - 2 * var(--margin)) * .46),
      172px,
      max(96px, calc((100svh - var(--hdr) - 100% / 1.6 - var(--gap)) * 9 / 19.5))
    );
    --cols: var(--margin) minmax(0, 1fr) var(--ph) var(--margin);
    --wc: 1 / -1;
    --pc: 3;
    --pr: 2;
    --who: 2;
    width: calc(100cqw + 2 * var(--margin));
    margin-inline: calc(var(--margin) * -1);
    column-gap: 0;
  }
  .site-moment--rev .site:has(.site__who) {
    --cols: var(--margin) var(--ph) minmax(0, 1fr) var(--margin);
    --pc: 2;
    --who: 3;
  }
  .site-moment--rev .site__who {
    padding: 0 0 0 12px;
  }
  .site-moment .site__win {
    border-inline: 0;
  }
  .site:has(.site__who) ~ .site-cap > .edge,
  .site:has(.site__who) ~ .site-cap .site-cap__who,
  .site:has(.site__who) ~ .site-cap .site-cap__line,
  .site:has(.site__who) ~ .site-cap .site-cap__link {
    display: none;
  }
  .site:has(.site__who) ~ .site-cap {
    margin-top: 20px;
    padding-top: 0;
  }
}
.site-cap__in {
  display: grid;
  gap: 14px 24px;
}
.site-cap__who {
  display: grid;
  gap: 10px;
}
.site-cap__name {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 60px);
  color: var(--sheet-ink);
  text-wrap: balance;
}
.site-cap__body {
  display: grid;
  gap: 14px;
}
.site-cap__line {
  margin: 0;
  max-width: 34em;
  color: rgba(23, 18, 31, 0.78);
}
.site-cap__link {
  justify-self: start;
  color: var(--violet-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-variation-settings:
    'wdth' 100,
    'wght' 600;
}
@container (min-width: 760px) {
  .site-cap__in {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .site-cap__who {
    grid-column: 1 / span 6;
  }
  .site-cap__body {
    grid-column: 7 / -1;
    align-self: end;
  }
}

/* ───────── The business opening: one rule for every business page's first screen (hub, case, service) ─────────
   <section class="day-open" aria-labelledby="h1-id">
     <div class="day-wrap">
       <h1 class="t-biz-title day-open__h1" id="h1-id">…</h1>
       <div class="day-open__stage">
         <figure class="day-open__fig">
           MEDIA                    first child: a film `.frame` (article.film.frame) or `<div class="day-open__still"><img …></div>`
           <figcaption class="day-open__cap"> string.edge, .day-open__who (p.credit + .day-open__title), .day-open__more (.day-open__meta, a.frame__link) </figcaption>
         </figure>
         <div class="day-open__side">…</div>      optional: the line, an index, facts; stacks under the media on phones
       </div>
     </section>
   The media takes the height the screen leaves under the headline (16:9 to 3:2 at the frame's width); on a screen tall enough
   for it to fill the whole frame, the side runs in a row under it. Set --open-lines: 2 on the section when the headline sets on two lines at desktop.
   The caption runs in two columns when the media is wider than 700px and in one when it is narrower. */
.day-open {
  --open-h1: clamp(46px, 13.4vw, 112px);
  --open-lines: 1;
  position: relative;
  padding: calc(var(--hdr) + 28px) 0 32px;
}
.day-open__h1 {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.28em;
  font-size: var(--open-h1);
  color: var(--sheet-ink);
}
.day-open__stage {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 28px;
}
.day-open__fig {
  margin: 0;
  min-width: 0;
}
.day-open__fig > :first-child {
  width: 100%;
  aspect-ratio: 16 / 10;
}
@media (min-width: 640px) and (max-width: 1023.98px) {
  .day-open {
    --open-h1: clamp(46px, 8.5vw, 92px);
  }
}
@media (max-width: 639.98px) {
  .day-open__fig > .day-open__still {
    aspect-ratio: 4 / 5;
  }
  .day-open__fig > .film:not(.is-open) {
    aspect-ratio: 16 / 9;
  }
}
.day-open__fig > .is-open {
  aspect-ratio: 16 / 9;
  width: min(100%, calc((100svh - var(--hdr) - 40px) * 16 / 9));
}
.day-open__fig .frame:not(.is-open) {
  cursor: pointer;
}
.day-open__still {
  overflow: clip;
  background: var(--sheet-ink);
}
.day-open__still img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.day-open__cap {
  position: relative;
  display: grid;
  gap: 14px 24px;
  margin-top: 16px;
  padding-top: 24px;
}
.day-open__title {
  margin: 6px 0 0;
  font-size: clamp(24px, 2.2vw, 32px);
  color: var(--sheet-ink);
  text-wrap: balance;
}
.day-open__more {
  display: grid;
  gap: 6px;
  align-content: end;
}
.day-open__meta {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(23, 18, 31, 0.72);
}
.day-open__more .frame__link {
  justify-self: start;
  font-size: 16px;
}
.day-open__side {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}
@media (min-width: 1024px) {
  .day-open {
    --open-h1: clamp(56px, min(7.2vw, 12svh), 112px);
    --open-x: calc(var(--hdr) + 28px + var(--open-h1) * 1.15 * var(--open-lines) + 28px + 112px + 32px);
  }
  .day-open__stage {
    flex-direction: row;
    align-items: stretch;
    gap: 24px;
  }
  .day-open__fig {
    flex: 0 1 max(400px, calc((100svh - var(--open-x)) * 16 / 9));
    container-type: inline-size;
  }
  .day-open__fig > :first-child:not(.is-open) {
    aspect-ratio: auto;
    height: clamp(56.25cqw, calc(100svh - var(--open-x)), 66.7cqw);
  }
  .day-open__cap {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
  @container (max-width: 700px) {
    .day-open__cap {
      grid-template-columns: minmax(0, 1fr);
    }
    .day-open__more {
      grid-auto-flow: column;
      justify-content: start;
      align-items: baseline;
      gap: 6px 24px;
    }
  }
  .day-open__side {
    flex: 1 0 264px;
  }
}
/* tall screens, and an opened film: the media takes the whole frame and the side runs in a row under it */
@media (min-width: 1392px) and (min-height: 1236px) {
  .day-open__stage {
    flex-direction: column;
  }
  .day-open__fig {
    flex: none;
  }
  .day-open__fig > :first-child:not(.is-open) {
    height: calc(100svh - var(--open-x) - 180px);
  }
  .day-open__side {
    flex: none;
    flex-direction: row;
    gap: 24px;
  }
  .day-open__side > :first-child {
    flex: 0 0 calc((100% - 72px) / 4);
  }
  .day-open__side > :not(:first-child) {
    flex: 1;
  }
}
@media (min-width: 1024px) {
  .day-open__stage:has(.frame.is-open) {
    flex-direction: column;
  }
  .day-open__stage:has(.frame.is-open) .day-open__fig {
    flex: none;
  }
  .day-open__stage:has(.frame.is-open) .day-open__side {
    flex: none;
    flex-direction: row;
    gap: 24px;
  }
  .day-open__stage:has(.frame.is-open) .day-open__side > :first-child {
    flex: 0 0 calc((100% - 72px) / 4);
  }
  .day-open__stage:has(.frame.is-open) .day-open__side > :not(:first-child) {
    flex: 1;
  }
}

/* ───────── The business ground: art on every business page, and the work in view casts its own light on it ───────── */
/* The sheet's printed field is set in sections.css (the business sheet's ground); this file draws only what each work casts on it. Each work section
   (the opening, a figure, a band) carries a .work-light field in the case colour, falling from the side where its picture sits: the light is fixed
   to its work, so it scrolls with it and changes from one work to the next. */
/* The light fields bleed to the sheet's edges; the sheet is their boundary, so no field widens the page. */
:is(main.biz, main.website, main.sheet) {
  overflow-x: clip;
}
:is(.biz, .website, main.sheet) :is(.day-open, .work-light) {
  position: relative;
  isolation: isolate;
}
:is(.biz, .website, main.sheet) :is(.day-open, .work-light)::before {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: -96px calc(50% - 50vw);
  background: radial-gradient(
    ellipse 62% 66% at var(--lx, 74%) var(--ly, 40%),
    color-mix(in srgb, var(--case) 32%, transparent) 0%,
    transparent 74%
  );
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 140px, #000 calc(100% - 140px), transparent);
  mask-image: linear-gradient(180deg, transparent, #000 140px, #000 calc(100% - 140px), transparent);
}

/* ───────── The night field: the branch's night with its light in it ─────────
   The music pages carry the room's tint and the work's glow behind every screen; the business screens that print on the night carry the same idea in the
   branch's colours: the violet light of the work in view from the top, the crimson of a stage at the foot, and the vignette that holds the edges. Two
   negative-z layers, never the section's own background, so an open film still rises above the dim. */
.night-field {
  position: relative;
  color: var(--night-ink);
  --credit: var(--violet);
}
.night-field::before {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0;
  background: var(--night);
}
.night-field::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0;
  background:
    radial-gradient(ellipse 64% 42% at 76% 4%, color-mix(in oklab, #7054eb 54%, transparent), transparent 72%),
    radial-gradient(ellipse 46% 30% at 14% 44%, color-mix(in oklab, #7054eb 20%, transparent), transparent 76%),
    radial-gradient(ellipse 42% 28% at 8% 14%, color-mix(in oklab, #ac73ff 20%, transparent), transparent 74%),
    radial-gradient(ellipse 52% 34% at 90% 94%, color-mix(in oklab, #cd3076 36%, transparent), transparent 74%),
    radial-gradient(ellipse 62% 40% at 2% 98%, color-mix(in oklab, #483688 40%, transparent), transparent 74%),
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 50%, rgba(12, 10, 11, 0.66) 100%);
}

/* ───────── The cover: a chapter printed on its lead film ─────────
   .day-open.is-cover sets the chapter on its film: the film fills the first screen, one scrim carries the header, the copy and the card, and the title
   card (rule, credit, work, facts, play) runs at the screen's foot. On phones the film stands as a band at the top and the copy and the card follow it on
   the night, so the work stays visible at the size a phone is read. The section owns the containing block: every wrapper between it and the film stays
   static, and the figure is display: contents so the film and the card are the chapter's own layers. */
.day-open.is-cover {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  min-height: 100svh;
  padding: 0;
  background: var(--night);
  color: var(--night-ink);
}
.day-open.is-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 10, 11, 0.62) 0%, rgba(12, 10, 11, 0) 18%),
    linear-gradient(0deg, rgba(12, 10, 11, 0.9) 0%, rgba(12, 10, 11, 0.42) 12%, transparent 26%);
}
.day-open.is-cover :is(.day-wrap, .day-open__stage) {
  position: static;
}
.day-open.is-cover .day-open__h1,
.day-open.is-cover .hl {
  color: var(--night-ink);
}
.day-open.is-cover .day-open__fig {
  display: contents;
}
.day-open.is-cover .day-open__fig > .film {
  grid-column: 1 / -1;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: 46svh;
  border: 0;
}
.day-open.is-cover .day-open__cap {
  position: relative;
  z-index: 3;
  grid-column: 1 / -1;
  margin: 24px var(--frame) 40px;
  padding-top: 22px;
  --credit: rgba(244, 239, 234, 0.72);
}
/* The card carries its own ground, so the footage stays open above it and the small type never sits on a bright frame. */
.day-open.is-cover .day-open__cap::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -36px calc(-1 * var(--frame)) -40px;
  pointer-events: none;
  background: linear-gradient(
    0deg,
    var(--night) 0%,
    color-mix(in oklab, var(--night) 92%, transparent) 62%,
    color-mix(in oklab, var(--night) 58%, transparent) 84%,
    transparent 100%
  );
}
/* On phones the card follows the film on the night already, so it needs no ground of its own. */
@media (max-width: 1023.98px) {
  .day-open.is-cover .day-open__cap::after {
    content: none;
  }
}
.day-open.is-cover .day-open__title {
  color: var(--night-ink);
}
.day-open.is-cover .day-open__meta {
  color: rgba(244, 239, 234, 0.72);
}
.day-open.is-cover .day-open__more .frame__link {
  color: var(--night-ink);
  text-decoration-color: var(--violet);
}
.day-open.is-cover .frame__play {
  top: auto;
  right: 14px;
  bottom: 14px;
}
@media (min-width: 1024px) {
  .day-open.is-cover {
    align-content: stretch;
  }
  .day-open.is-cover::before {
    background:
      radial-gradient(ellipse 52% 56% at 88% 12%, color-mix(in oklab, #483688 56%, transparent), transparent 72%),
      linear-gradient(
        98deg,
        rgba(12, 10, 11, 0.95) 0%,
        rgba(12, 10, 11, 0.92) 30%,
        rgba(12, 10, 11, 0.84) 44%,
        rgba(12, 10, 11, 0.56) 60%,
        rgba(12, 10, 11, 0.16) 78%,
        transparent 92%
      ),
      linear-gradient(0deg, rgba(12, 10, 11, 0.88) 0%, rgba(12, 10, 11, 0.34) 5%, transparent 13%);
  }
  .day-open.is-cover .day-open__fig > .film {
    position: absolute;
    inset: 0;
    grid-row: auto;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    max-height: none;
  }
  .day-open.is-cover .frame__play {
    right: var(--frame);
    bottom: 40px;
  }
}

/* ───────── Sign-off: the line across the width, the one action and the string that runs on to the edge ───────── */
.signoff__h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.28em;
  font-size: max(40px, min(98px, calc(min(100vw - 2 * var(--margin), var(--page)) * 0.07)));
}
.signoff__act {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 48px;
}
.signoff__go {
  --hh: 52px;
  flex: none;
  margin: 0;
}
.signoff__act .signoff__string {
  flex: 1;
  --crest: url(#mix);
}
/* The seam at the close/footer edge: one violet string across the screen on the close's lower edge (a last child of .signoff, aria-hidden). */
.signoff__seam {
  position: absolute;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  bottom: 0;
}
.signoff__seam .string {
  --crest: url(#mix);
}
@media (max-width: 639.98px) {
  .signoff__act {
    flex-wrap: wrap;
  }
  .signoff__act .signoff__string {
    flex: 1 1 100%;
    order: 2;
    margin-top: 8px;
  }
}

/* The business close: one violet mass, the TRIO stage under a violet colour mask, the sheet's light falling from the top left. Its headline,
   action and contact sit on the mass in the sheet's colours, and the string stops at the frame's edge. Home's sign-off keeps the sections.css base. */
:is(.biz, .website, main.sheet) .signoff {
  --close-still: url(/assets/trio/trio-open.jpg);
  color: var(--sheet);
}
:is(.biz, .website, main.sheet) .signoff::before {
  -webkit-mask-image: none;
  mask-image: none;
  background:
    radial-gradient(ellipse 58% 70% at 0% 0%, rgba(243, 241, 247, 0.2), transparent 72%),
    var(--close-still) 50% 34% / cover no-repeat,
    var(--violet-deep);
  background-blend-mode: normal, multiply, normal;
}
:is(.biz, .website, main.sheet) .signoff::after {
  content: none;
}
:is(.biz, .website, main.sheet) .signoff .signoff__h2 {
  color: var(--sheet);
}
:is(.biz, .website, main.sheet) .signoff .hl--tab {
  background: var(--sheet-ink);
  color: var(--sheet);
}
:is(.biz, .website, main.sheet) .signoff .tab--act {
  --tab-bg: var(--sheet);
  --tab-fg: var(--violet-deep);
}
@media (hover: hover) {
  :is(.biz, .website, main.sheet) .signoff .tab--act:hover {
    --tab-bg: var(--sheet-ink);
    --tab-fg: var(--sheet);
  }
}
:is(.biz, .website, main.sheet) .signoff .signoff__act .signoff__string {
  margin-right: 0;
}
:is(.biz, .website, main.sheet) .signoff .signoff__contact a {
  color: var(--sheet);
  text-decoration-color: var(--sheet);
}
@media (hover: hover) {
  :is(.biz, .website, main.sheet) .signoff .signoff__contact a:hover {
    color: var(--sheet-ink);
  }
}
