/* LT UK, direction B: the Gift Trix room (gift-trix/index.html), laid out on the Start-ups pattern. The system and the
   room-page components are in ../site.css; this file lays out this page's beats and its planned screens. Its colour
   is --c-gifts. Every screen here is a picture of what the app will hold, built in HTML and SVG in a plain rounded
   frame: never a working screen, never a phone. */
.page-gifts { --c: var(--c-gifts); }

/* what it will be: the words, then what it will hold */
.gt-what { padding-top: clamp(24px, 4vw, 64px); }
.gt-what__grid { display: grid; gap: 28px; }
.gt-what__words { display: grid; gap: 12px; align-content: start; }
.gt-what__words p:not(.kicker) { max-width: 44ch; }
.gt-what__holds { display: grid; gap: 14px; align-content: start; }
.gt-what__h { font-size: 1.25rem; }
.gt-holds { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.gt-holds li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.gt-holds .tab { width: 24px; height: 18px; margin-top: 4px; }
@media (min-width: 1100px) {
  .gt-what__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: start; }
  .gt-what__words { grid-column: 1 / 7; }
  .gt-what__holds { grid-column: 8 / 13; padding-top: 8px; }
}

/* ---------- the planned screen: a plain rounded frame, the moment's band at its top ---------- */
.gt-plan { display: grid; gap: 8px; justify-items: start; width: 100%; max-width: 380px; }
.gt-plan__frame { width: 100%; display: grid; gap: 10px; padding: 0 0 14px; border: 1.5px solid var(--edge); border-radius: 22px; overflow: hidden;
  background: var(--paper); color: var(--ink); font-size: .875rem; line-height: 1.4; text-align: left; }
.gt-plan__head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 12px 16px; background: var(--c-gifts); color: var(--on-room); }
.gt-plan__ico { grid-row: 1 / span 2; width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gt-plan__title { font-weight: 700; font-size: 1rem; line-height: 1.25; }
.gt-plan__who { font-size: .8125rem; line-height: 1.3; }
.gt-plan__part { display: grid; gap: 4px; padding: 0 16px; }
.gt-plan__k { font: 700 .75rem/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.gt-plan__list { width: 100%; border-collapse: collapse; }
.gt-plan__list th { padding: 0 8px 3px 0; font-size: .75rem; font-weight: 700; text-align: left; color: var(--ink-2); border-bottom: 1px solid var(--rule); }
.gt-plan__list td { padding: 5px 8px 5px 0; vertical-align: top; border-bottom: 1px solid var(--rule); }
.gt-plan__list th:last-child, .gt-plan__list td:last-child { padding-right: 0; }
.gt-plan__list td:nth-child(2) { white-space: nowrap; }
.gt-plan__blank { display: inline-block; width: 44px; height: 1.1em; vertical-align: -.2em; border: 1px dashed var(--edge); border-radius: 4px; }
.gt-plan__done { display: inline-grid; place-items: center; width: 16px; height: 16px; vertical-align: -.2em; border-radius: 50%; background: var(--c-gifts); color: var(--on-room); }
.gt-plan__todo { color: var(--ink-2); font-style: italic; white-space: nowrap; }
.gt-plan__tick { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gt-plan__wish { display: flex; flex-wrap: wrap; gap: 6px; }
.gt-plan__wish li { padding: 2px 10px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper-2); }
.gt-plan__thanks { display: grid; gap: 4px; }
.gt-plan__thanks li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; align-items: center; }
.gt-plan__box { display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1.5px solid var(--edge); border-radius: 5px; color: var(--on-room); }
.gt-plan__thanks .is-done .gt-plan__box { background: var(--c-gifts); border-color: var(--c-gifts); }
.gt-plan__cap { font-size: .8125rem; line-height: 1.4; color: var(--ink-2); max-width: 40ch; }

/* ---------- the year: the room's held steps, with the planned screen as the held picture ---------- */
/* Laid out in full (no script, reduced motion, a short screen, a jump in): each step's words with its own screen.
   Held: the screen sits where the pattern's round window sits and changes with each step; the step's own copy of
   its screen is kept for a screen reader only, so it is read once. */
.gt-year .ride-stop .gt-plan { margin-top: 12px; }
@media (min-width: 768px) {
  .gt-year .ride-stop { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); grid-template-rows: auto auto 1fr; column-gap: clamp(24px, 4vw, 56px); align-items: start; align-content: start; }
  .gt-year .ride-stop > :not(.gt-plan) { grid-column: 1; }
  .gt-year .ride-stop > .gt-plan { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
}
.gt-year.ride-on .ride-stop .gt-plan { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }
.gt-year.ride-on .ride-stops { position: relative; }
.gt-year.ride-on .ride-stop { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; align-content: start; }
.gt-year.ride-on .ride-stop > :not(.gt-plan) { grid-column: 1; }
.gt-year.ride-on .gt-stage { display: grid; gap: 8px; justify-items: start; width: min(100%, 360px); }
.gt-stage__layers { display: grid; width: 100%; }
.gt-stage .win__layer { position: relative; inset: auto; grid-area: 1 / 1; display: grid; }
.gt-year.ride-on .gt-stage .win__layer.is-prev, .gt-year.ride-on .gt-stage .win__layer.is-on { clip-path: circle(80% at 50% 50%); }
.gt-stage .win__layer > .gt-plan__frame { height: 100%; align-content: start; box-shadow: 0 18px 40px -26px rgb(28 26 24 / .45); }
@media (max-width: 1099px) {
  .gt-year .ride-names { flex-wrap: wrap; row-gap: 0; }
  .gt-year .ride-names > span { padding: 4px 8px; }
  .gt-year.ride-on .ride-body { gap: 10px; }
  .gt-year.ride-on .ride-stop p { font-size: 1rem; line-height: 1.5; }
}
@media (min-width: 1100px) {
  .gt-year.ride-on .gt-stage { width: min(34vw, 500px); }
  .gt-year.ride-on .gt-stage .gt-plan__frame { font-size: 1rem; }
  .gt-year.ride-on .ride-stage { justify-content: center; }
}
@media (max-width: 1099px) and (max-height: 760px) {
  .gt-year.ride-on .gt-plan__frame { gap: 6px; padding-bottom: 10px; font-size: .8125rem; }
  .gt-year.ride-on .gt-plan__head { padding: 8px 14px; }
}

/* nothing to download, buy or sign up for */
.gt-none { background: var(--paper-2); }
.gt-none__words { display: grid; gap: 12px; max-width: 760px; }
.gt-none__words .lead { max-width: 46ch; }

/* a step today: the three rooms, about and the call */
.gt-today__grid { display: grid; gap: 28px; }
.gt-today__words { display: grid; gap: 12px; align-content: start; }
.gt-today__words p:not(.kicker) { max-width: 44ch; }
.gt-today__set { display: grid; gap: 18px; align-content: start; }
.gt-rooms { display: grid; gap: 10px; }
.gt-room { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 16px; min-height: 64px; padding: 10px 16px;
  border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); color: var(--ink); text-decoration: none; transition: background-color .2s var(--ease); }
@media (hover: hover) { .gt-room:hover { background: var(--paper-2); } }
.gt-room__name { display: block; font-weight: 700; line-height: 1.25; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.gt-room__line { display: block; font-size: .9375rem; line-height: 1.35; color: var(--ink-2); }
.gt-today__more { display: flex; flex-wrap: wrap; gap: 0 28px; }
@media (min-width: 1100px) {
  .gt-today__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: start; }
  .gt-today__words { grid-column: 1 / 6; }
  .gt-today__set { grid-column: 7 / 13; }
}
