/* Page CSS for the front page of Skip the Edit (index.html). The kit in assets/ does the grid, the type scale and the section heights.
   Look set by Carl on 3 Dec: no lines of light and no glow, keep it minimal. Colours from his new brand picture the same night: black and white only, greys between.
   So there is one rule: white means "on" or "press here", a brushed silver edge means "the pointer is here".
   The motion is in home.js (GSAP). */

html { color-scheme: dark; }
:root {
  --sk-line: rgb(255 255 255 / .12);
  --sk-silver: linear-gradient(112deg, #f2f2f2 0%, #9d9d9d 24%, #ffffff 46%, #868686 70%, #e0e0e0 100%);
  --sk-ease: cubic-bezier(.2, .7, .2, 1);
}

/* the logo Carl picked on 29 Nov: the "skip" button of a video player, with the name inside */
.nav__logo.sk-logo { display: inline-flex; align-items: center; gap: .28em; padding: .34em .58em .34em .68em; border-radius: .36em; box-shadow: inset 0 0 0 .085em currentColor; font-weight: 800; font-stretch: 110%; letter-spacing: -0.01em; line-height: 1; white-space: nowrap; }
.nav__logo.sk-logo svg { width: .95em; height: .95em; flex: none; }
.nav__logo.sk-logo rect { fill: var(--sk-on); }

/* the brand's type rule: narrow for what you do, wide for what you get */
.sk-narrow { font-stretch: 68%; font-weight: 600; }
.sk-wide { font-stretch: 125%; }
@media (max-width: 639px) { .sk-wide { font-stretch: 112%; } }

/* ---------------------------------------------------------------- silver: what the pointer is on gets an edge of brushed metal, and one band of light crosses it */
.sk-metal { position: relative; isolation: isolate; }
.sk-metal::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none; background: var(--sk-silver);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .25s; }
.sk-metal::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; background: linear-gradient(105deg, transparent 42%, rgb(255 255 255 / .2) 50%, transparent 58%) no-repeat 160% 0 / 250% 100%; }
@media (hover: hover) {
  .sk-metal:hover::before, .sk-tile:hover > .sk-metal::before { opacity: 1; }
  .sk-metal:hover::after, .sk-tile:hover > .sk-metal::after { background-position: -60% 0; transition: background-position .8s var(--sk-ease); }
}

/* the main button: white. Under the pointer it turns to brushed silver and one band of light crosses it. */
.btn.btn--primary { position: relative; isolation: isolate; overflow: hidden; background: var(--sk-on); border-color: transparent; color: #000; }
.btn.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sk-silver); opacity: 0; transition: opacity .25s; }
.btn.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; width: auto; height: auto; background: linear-gradient(105deg, transparent 40%, rgb(255 255 255 / .95) 50%, transparent 60%) no-repeat 160% 0 / 250% 100%; }
@media (hover: hover) {
  .btn.btn--primary:hover::before { opacity: 1; }
  .btn.btn--primary:hover::after { background-position: -60% 0; transition: background-position .75s var(--sk-ease); }
}

/* ---------------------------------------------------------------- hero: the words on the left, a wall of shorts on the right */
main > .sk-hero { --sk-foot: 64px; height: auto; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; background: #000; padding-bottom: calc(var(--sk-foot) + var(--bar)); }
main > .sk-hero > .wrap { flex: 1 0 auto; height: auto; justify-content: center; }
.sk-hero__copy { position: relative; z-index: 2; display: grid; gap: var(--s-5); justify-items: start; width: calc(50% - var(--gutter) / 2); min-width: 0; }
.sk-hero h1 { margin: 0; font-size: clamp(2.75rem, min(7vw, 11.2vh), 7.6rem); line-height: .98; text-wrap: nowrap; }
.sk-l { display: block; padding-block: .07em .12em; margin-block: -.07em -.12em; white-space: nowrap; }
.sk-l > span { display: inline-block; }
.sk-hero .hero__lead { margin: 0; max-width: 46ch; color: #d2d2d2; }

.sk-start { display: grid; gap: 12px; min-width: 0; width: 100%; max-width: 600px; }
/* the link box: one hairline round it. Silver under the pointer, white while you type in it. */
.sk-find { position: relative; display: flex; gap: 8px; padding: 7px; border-radius: 14px; background: #0a0a0a; box-shadow: 0 0 0 1px rgb(255 255 255 / .2); transition: box-shadow .2s; }
.sk-find::before { content: ""; position: absolute; inset: -1px; padding: 1px; border-radius: 15px; pointer-events: none; background: var(--sk-silver);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .25s; }
@media (hover: hover) { .sk-find:hover::before { opacity: 1; } }
.sk-find:focus-within { box-shadow: 0 0 0 1px var(--sk-on); }
.sk-find:focus-within::before { opacity: 0; }
.sk-find input { flex: 1 1 auto; min-width: 0; height: 52px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); font: 500 18px/1 var(--font-text); }
.sk-find input::placeholder { color: #8f8f8f; opacity: 1; }
.sk-find input:focus-visible { outline: 2px solid var(--sk-on); outline-offset: -2px; }
.sk-find .btn { flex: none; height: 52px; }
.sk-find__err { margin: 0; color: #ffb4c0; font-size: 15px; }
.sk-start__alt { margin: 0; font-size: 15px; color: var(--muted); }
.sk-start__alt a { color: var(--ink); text-decoration: underline; text-decoration-color: rgb(255 255 255 / .45); text-underline-offset: 3px; }
.sk-start__alt a:hover { color: #fff; text-decoration-color: #fff; }
/* a phone: the page says where it works best and offers to send its own address to a computer */
.sk-pc { display: none; }
@media (pointer: coarse) and (max-width: 719px), (pointer: coarse) and (max-height: 519px) {
  .sk-pc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 14px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
  .sk-pc p { flex: 1 1 auto; margin: 0; font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--ink); }
  .sk-pc .sk-pc__say { font-weight: 400; color: var(--muted); }
  .sk-pc .btn { flex: none; height: 44px; }
  .sk-pc .sk-pc__say { flex-basis: 100%; }
  .sk-pc .sk-pc__say:empty { display: none; }
}

/* the wall: three columns of shorts the app made, leaning back, drifting up and down */
.sk-wall { position: absolute; z-index: 1; top: calc(-1 * var(--padt)); bottom: calc(-1 * (var(--sk-foot) + var(--bar))); left: 46%; right: calc(50% - 50vw); container-type: size; }
.sk-wall__view { position: absolute; inset: 0; perspective: 1500px; perspective-origin: 30% 50%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 11%, #000 87%, transparent), linear-gradient(to right, transparent, #000 15%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent, #000 11%, #000 87%, transparent), linear-gradient(to right, transparent, #000 15%); mask-composite: intersect; }
.sk-wall__in, .sk-wall__tilt, .sk-wall__plane, .sk-col { transform-style: preserve-3d; }
/* the planes that carry the wall lie in front of the shorts in 3D, so they let the pointer through to them */
.sk-wall__in, .sk-wall__tilt { position: absolute; inset: 0; pointer-events: none; }
.sk-wall__tilt { transform: rotateX(9deg) rotateY(-17deg) rotateZ(3.5deg) scale(1.1); }
.sk-wall__plane { position: absolute; inset: 0 -12% 0 15%; display: flex; gap: 3cqw; }
.sk-col { flex: 1 1 0; min-width: 0; height: max-content; display: grid; gap: 3cqw; will-change: transform; }
.sk-col--a { animation: sk-up 34s ease-in-out infinite alternate; }
.sk-col--b { animation: sk-up 41s ease-in-out infinite alternate-reverse; }
.sk-col--c { animation: sk-up 37s ease-in-out -12s infinite alternate; }
@keyframes sk-up { from { transform: translateY(0); } to { transform: translateY(calc(100cqh - 100%)); } }
@keyframes sk-row { from { transform: translateX(0); } to { transform: translateX(calc(100cqw - 100%)); } }

.sk-hero.is-off :is(.sk-col, .sk-wall__plane) { animation-play-state: paused; }

/* one short. Under the pointer it stops, turns to face you and comes forward, the others step back. A click plays it with sound. */
/* the button keeps its place in the wall, so the pointer has something steady to rest on. The picture inside it is what moves (--fx and --fy bring it whole into view, home.js). */
.sk-tile { pointer-events: auto; display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 9 / 16; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transform-style: preserve-3d; -webkit-tap-highlight-color: transparent; }
.sk-tile:focus-visible { outline: none; }
.sk-tile__in { display: block; width: 100%; height: 100%; border-radius: 1.8cqw; overflow: hidden; background: #0d0d0d; box-shadow: 0 0 0 1px rgb(255 255 255 / .14); pointer-events: none; transition: transform .55s cubic-bezier(.2, .85, .25, 1.1), opacity .35s; }
.sk-tile__in::before { padding: 2px; }
.sk-tile video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sk-tile:focus-visible .sk-tile__in { outline: 2px solid var(--sk-on); outline-offset: 3px; }
.sk-wall.has-focus :is(.sk-col, .sk-wall__plane) { animation-play-state: paused; }
.sk-wall.has-focus .sk-tile:not(.is-focus) .sk-tile__in { opacity: .28; }
.sk-tile.is-focus .sk-tile__in { transform: translate3d(var(--fx, 0px), var(--fy, 0px), 120px) rotateY(13deg) rotateX(-6deg) rotateZ(-3deg) scale(1.08); }
.sk-tile.is-focus .sk-tile__in::before { opacity: 1; }
.sk-tile__ui { position: absolute; inset: auto 0 0 0; z-index: 2; display: block; opacity: 0; transition: opacity .25s; pointer-events: none; }
.sk-tile.is-focus .sk-tile__ui { opacity: 1; }
.sk-tile__say { display: inline-block; margin: 0 0 13px 11px; padding: 7px 10px; border-radius: 6px; background: rgb(0 0 0 / .86); color: #fff; font: 600 13px/1 var(--font-text); white-space: nowrap; }
.sk-tile.is-loud .sk-tile__say { background: var(--sk-on); color: #000; }
.sk-tile__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sk-on); transform: scaleX(var(--t, 0)); transform-origin: 0 50%; transition: transform .26s linear; }

/* before the entrance runs, the parts it brings in wait unseen (home.js; the class goes after 3 s whatever happens) */
.sk-go .sk-hero :is(.hero__lead, .sk-start, .sk-wall__in) { opacity: 0; }
.sk-go .sk-hero .sk-l > span { transform: translateY(112%); }
:is(.sk-go, .sk-run) .sk-hero .sk-l { overflow: hidden; }

@media (max-width: 1099px) {
  .sk-find { flex-direction: column; }
  .sk-find .btn { width: 100%; }
}
@media (max-width: 799px) {
  main > .sk-hero > .wrap { justify-content: flex-start; }
  .sk-hero__copy { width: 100%; }
  .sk-hero h1 { font-size: clamp(3rem, 12.5vw, 5.4rem); }
  .sk-wall { position: relative; inset: auto; height: 340px; flex: none; margin: var(--s-6) calc(-1 * var(--gut)) 0; }
  .sk-wall__view { perspective: none; -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); -webkit-mask-composite: source-over; mask-composite: add; }
  .sk-wall__tilt { transform: none; }
  .sk-wall__plane { inset: 0 auto 0 0; width: max-content; gap: 12px; padding-inline: var(--gut); animation: sk-row 32s ease-in-out infinite alternate; will-change: transform; }
  .sk-col { display: contents; animation: none; }
  .sk-col--c { display: none; }
  .sk-tile { width: auto; height: 100%; }
  .sk-tile__in { border-radius: 12px; }
  .sk-tile.is-focus .sk-tile__in { transform: scale(1.04); }
}
@media (max-width: 639px) {
  .sk-find input { font-size: 16px; }
  .sk-wall { height: 300px; }
}

/* ---------------------------------------------------------------- examples: kinds, the player, the facts */
.sk-show__grid { display: grid; grid-template-columns: minmax(0, 4fr) auto minmax(0, 4fr); gap: var(--gutter); align-items: stretch; min-height: 0; }
.sk-kinds { display: grid; align-content: start; gap: 6px; min-width: 0; }
.sk-kind { display: grid; gap: 2px; width: 100%; padding: 12px 16px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; transition: background-color .18s; }
.sk-kind:hover { background-color: rgb(255 255 255 / .05); }
.sk-kind:active { transform: scale(.99); }
/* the chosen kind sits on a lighter plate in full white, the others wait in grey */
.sk-kind.is-on { background: rgb(255 255 255 / .1); }
.sk-kind:is(.is-on, :hover) b { color: var(--sk-on); }
.sk-kind:focus-visible { outline: 2px solid var(--sk-on); outline-offset: 2px; }
.sk-kind b { font: 800 19px/1.2 var(--font-display); font-stretch: 112%; color: #b4b4b4; transition: color .18s; }
.sk-kind span { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sk-kind.is-on span { color: #d2d2d2; }

.sk-player { position: relative; height: 100%; min-height: 0; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #0d0d0d; box-shadow: 0 0 0 1px rgb(255 255 255 / .16); justify-self: center; }
/* the video lies on top of the player's box, so the pixel size of the file never decides the width of the column */
.sk-player video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
/* a click on the short pauses it: the play sign stays until it runs again */
.sk-player__tap { position: absolute; inset: 0; z-index: 1; padding: 0; border: 0; border-radius: inherit; background: none; cursor: pointer; }
.sk-player__tap::before { content: ""; position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: rgb(0 0 0 / .62); opacity: 0; transition: opacity .18s; }
.sk-player__tap::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -13px 0 0 -8px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; opacity: 0; transition: opacity .18s; }
.sk-player.is-paused .sk-player__tap::before, .sk-player.is-paused .sk-player__tap::after { opacity: 1; }
.sk-player__tap:focus-visible { outline: 2px solid var(--sk-on); outline-offset: -4px; }
/* how far the short has played */
.sk-player__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 2px; background: var(--sk-on); transform: scaleX(var(--t, 0)); transform-origin: 0 50%; transition: transform .26s linear; pointer-events: none; }
.sk-sound { position: absolute; left: 50%; bottom: 16px; z-index: 2; transform: translateX(-50%); height: 44px; padding: 0 18px; border: 0; border-radius: var(--r-btn); background: #fff; color: #000; font: 600 15px/1 var(--font-text); white-space: nowrap; cursor: pointer; transition: transform .15s, background-color .15s; }
.sk-sound:hover { transform: translateX(-50%) translateY(-2px); background: #fff; }
.sk-sound:active { transform: translateX(-50%) scale(.97); }
.sk-sound[aria-pressed="true"] { background: #000; color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .55); }
.sk-sound:focus-visible { outline: 2px solid var(--sk-on); outline-offset: 2px; }

.sk-facts { display: grid; align-content: start; gap: var(--s-5); min-width: 0; }
.sk-facts h3 { margin: 0 0 8px; font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.sk-src__title { margin: 0; font: 800 clamp(1.15rem, 1.6vw, 1.5rem)/1.2 var(--font-display); font-stretch: 112%; text-wrap: balance; }
.sk-src__by { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
/* the long video as one bar, the moments the app found as grey marks on it, the one shown in white */
.sk-bar { position: relative; height: 22px; margin-top: 14px; border-radius: 4px; background: rgb(255 255 255 / .1); overflow: hidden; }
.sk-bar i { position: absolute; top: 0; bottom: 0; min-width: 4px; background: var(--sk-mid); transform-origin: 50% 100%; }
.sk-bar i.is-this { background: var(--sk-on); }
.sk-bar__ends { display: flex; justify-content: space-between; margin-top: 6px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sk-did { list-style: none; margin: 0; padding: 0; display: grid; }
.sk-did li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--sk-line); font-size: 16px; line-height: 1.4; }
.sk-did li > span:first-child { color: var(--muted); font-size: 14px; padding-top: 2px; }
.sk-did q { quotes: none; font-weight: 600; }

@media (max-width: 1023px) {
  .sk-show__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .sk-kinds { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; margin-inline: calc(-1 * var(--gut)); padding: 4px var(--gut); scrollbar-width: none; }
  .sk-kinds::-webkit-scrollbar { display: none; }
  .sk-kind span { display: none; }
  .sk-kind { padding: 0 16px; height: 44px; align-content: center; }
  .sk-kind b { font-size: 16px; }
  .sk-player { height: auto; width: min(100%, 320px); }
}

/* ---------------------------------------------------------------- three steps */
.sk-shot { border-radius: 10px; overflow: hidden; background: #0d0d0d; box-shadow: 0 0 0 1px var(--sk-line); }
.sk-shot img { display: block; width: 100%; height: auto; }
.sk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); align-content: start; }
.sk-steps li { display: grid; gap: 14px; align-content: start; min-width: 0; }
.sk-steps h3 { margin: 6px 0 0; display: flex; align-items: baseline; gap: 12px; font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.2; }
.sk-steps p { margin: 0; max-width: 44ch; }
.sk-num { flex: none; color: var(--muted); font: 800 1em/1 var(--font-display); font-variant-numeric: tabular-nums; }
.sk-steps .sk-shot { transition: transform .3s var(--sk-ease); }
.sk-steps li:hover .sk-shot { transform: translateY(-3px); }
@media (max-width: 1023px) { .sk-steps { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); } }

/* ---------------------------------------------------------------- the edit: caption styles and the list of options */
.sk-edit__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: calc(var(--gutter) * 2); align-items: stretch; min-height: 0; }
.sk-caps { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; min-height: 0; justify-items: start; }
.sk-caps__view { height: 100%; min-height: 0; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #0d0d0d; box-shadow: 0 0 0 1px rgb(255 255 255 / .14); }
.sk-caps__view img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sk-caps__pick { display: flex; flex-wrap: wrap; gap: 6px; max-width: 330px; }
.sk-caps__pick button { height: 44px; padding: 0 14px; border: 0; border-radius: var(--r-btn); background: rgb(255 255 255 / .07); color: var(--ink); font: 600 15px/1 var(--font-text); cursor: pointer; transition: transform .15s, background-color .15s; }
.sk-caps__pick button:hover { transform: translateY(-2px); background-color: rgb(255 255 255 / .12); }
.sk-caps__pick button:active { transform: scale(.97); }
.sk-caps__pick button.is-on { background: var(--sk-on); color: #000; }
.sk-caps__pick button:focus-visible { outline: 2px solid var(--sk-on); outline-offset: 2px; }
.sk-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column; column-gap: var(--gutter); align-self: start; align-content: start; }
.sk-opts li:first-child, .sk-opts li:nth-child(6) { padding-top: 0; border-top: 0; }
.sk-opts .rows__name { color: var(--ink); }
@media (max-width: 1023px) {
  .sk-edit__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .sk-caps { grid-template-rows: auto auto; }
  .sk-caps__view { height: auto; width: min(100%, 300px); }
  .sk-opts { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
}
/* the picture's column has a set width, so it does not follow the pixel size of the picture file */
@media (min-width: 640px) and (max-width: 1023px) { .sk-caps { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); align-items: end; } .sk-caps__pick { max-width: none; } }

/* ---------------------------------------------------------------- the three plans */
.sk-plan { display: grid; align-content: start; gap: 16px; padding: clamp(20px, 2.4vw, 32px); border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--sk-line); min-width: 0; overflow: hidden; transition: transform .3s var(--sk-ease); }
.sk-plan:hover { transform: translateY(-4px); }
.sk-plan h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; font-stretch: 112%; }
.sk-plan > p { margin: 0; }
.sk-plan__price { font: 800 clamp(1.6rem, 2.6vw, 2.3rem)/1 var(--font-display); font-stretch: 112%; }
.sk-plan__price span { font: 400 16px/1.3 var(--font-text); font-stretch: 100%; }
.sk-plan__list { list-style: none; margin: 0; padding: 0; display: grid; }
.sk-plan__list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--sk-line); font-size: 16px; }
.sk-plan .btn { justify-self: start; }
.sk-plan__note { font-size: 14px; color: var(--muted); }
.sk-tick { flex: none; width: 16px; height: 16px; color: var(--sk-on); }
.sk-tick svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sk-soon { margin-top: var(--s-5); font-size: 15px; }
@media (max-width: 1023px) { .sk-plan { grid-column: 1 / -1; } }
@media (max-width: 639px) { .sk-plan__list li { font-size: 15px; padding: 8px 0; } }

#questions { --hm: 2; }
@media (min-width: 640px) and (max-width: 1023px) { #questions .grid > .faq { grid-column: auto / span 6; } }
@media (max-width: 1023px) { #questions .faq > .faq__item:first-child { padding-top: 0; } }
@media (max-width: 639px) { #questions .faq > .faq__item { padding-block: var(--s-5); } }

/* ---------------------------------------------------------------- the close: the link box once more, the name across the wrap (it comes up from the left as the page ends, home.js) */
.sk-close { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s-5) var(--gutter); align-items: end; }
.sk-close h2 { margin: 0; }
.sk-close .sk-find__err { grid-column: 2; }
@property --sk-lit { syntax: '<percentage>'; inherits: false; initial-value: 110%; }
.close__word { font-size: min(calc((100vw - 2 * var(--gut)) / 5.55), 230px); white-space: nowrap; overflow: visible; color: #fff;
  -webkit-mask-image: linear-gradient(90deg, #000 var(--sk-lit), rgb(0 0 0 / .14) calc(var(--sk-lit) + 9%)); mask-image: linear-gradient(90deg, #000 var(--sk-lit), rgb(0 0 0 / .14) calc(var(--sk-lit) + 9%)); }
.sk-credit { color: var(--muted); font-size: 13px; }
@media (max-width: 1023px) { .sk-close { grid-template-columns: minmax(0, 1fr); } .sk-close .sk-find__err { grid-column: 1; } }

.sk-fact { display: grid; gap: var(--s-6); }
.sk-fact[hidden] { display: none; }

/* under 1280 the kit lets a section grow with what it holds, so these blocks take their own height instead of the screen's rest */
@media (max-width: 1279px) {
  main > .section > .wrap > .sk-show__grid.fill, main > .section > .wrap > .sk-steps.fill, main > .section > .wrap > .sk-edit__grid.fill { flex: 0 0 auto; }
  .sk-player { height: min(560px, 100svh - 132px); }   /* never taller than the screen under the header, so the whole short is in view at once */
  .sk-caps__view { height: min(480px, 100svh - 132px); }
}
/* a low screen, like a laptop with the browser's bars showing: from 1280 wide the kit holds every section to exactly one screen, and the
   sections here hold up to 905px (835 from 1440 wide). On a lower screen their last rows lay over the next section. So there a section is
   at least one screen and grows with what it holds, the same as under 1280 */
@media (min-width: 1280px) and (max-width: 1439px) and (max-height: 909px), (min-width: 1440px) and (max-height: 839px) {
  main > :is(section, .section):not(.hero, .section--hero), footer.closing { height: auto; min-height: calc(var(--h, 1) * 100vh); min-height: calc(var(--h, 1) * 100svh); display: flex; flex-direction: column; }
  main > :is(section, .section):not(.hero, .section--hero) > :is(.wrap, .container), footer.closing > .wrap { flex: 1 0 auto; height: auto; min-height: 0; }
  main > .section > .wrap > .sk-show__grid.fill, main > .section > .wrap > .sk-steps.fill, main > .section > .wrap > .sk-edit__grid.fill { flex: 0 0 auto; }
  .sk-player { height: min(560px, 100svh - 132px); }
  .sk-caps__view { height: min(480px, 100svh - 132px); }
}
@media (max-width: 1023px) {
  .sk-player { height: auto; width: min(100%, 320px); justify-self: start; }
  .sk-caps__view { height: auto; width: min(100%, 300px); }
  .sk-kinds { align-items: center; }
  .sk-opts li:nth-child(6) { padding-top: var(--s-4); }
  .sk-show__grid { gap: var(--s-6); }
}

@media (prefers-reduced-motion: reduce) {
  .sk-col, .sk-wall__plane { animation: none; }
  .sk-metal::after, .btn.btn--primary::after { display: none; }
  .sk-tile__in, .sk-kind, .sk-sound, .sk-caps__pick button, .sk-steps .sk-shot, .sk-plan, .sk-tile__bar, .sk-player__bar, .sk-player__tap::before, .sk-player__tap::after, .sk-find, .sk-find::before { transition: none; }
  .sk-tile.is-focus .sk-tile__in, .sk-kind:active, .sk-steps li:hover .sk-shot, .sk-plan:hover { transform: none; }
}
