/*
 * The landing page's sites page (decisions 501 and 502): the showroom, over the landing page's own stylesheet
 * (page.css). Its bar, buttons, screens (.med, .lay, .live), devices (.dev, .lap, .ph) and stage (.hero__stage,
 * .glow) are the landing page's hero's. What is here: the words beside the stage, every idea below it by kind of
 * business, and the way back to the request.
 */

/* The bar: this page is one of its links */
.bar__nav a[aria-current="page"] { color: var(--accent-ink); }

/* The showroom */
.show { position: relative; padding: clamp(16px, 2vw, 40px) 0 clamp(40px, 4vw, 76px); }
.show__grid { display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); gap: clamp(32px, 4vw, 84px); align-items: center; }
.show__words { display: grid; gap: clamp(14px, 1.3vw, 22px); align-content: center; min-width: 0; }
.ghead__crumb { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.97rem; color: var(--muted); }
.ghead__crumb a { color: var(--accent-ink); text-decoration: none; padding: 6px 0; }
.ghead__crumb svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .ghead__crumb a:hover { text-decoration: underline; } }
.show__now { display: grid; gap: 10px; min-width: 0; }
.show__g { color: var(--accent-ink); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: clamp(4px, 1.2vw, 20px); }
.show__h { font-size: clamp(2.4rem, 1.2rem + 2.4vw, 4rem); max-width: 11em; hyphens: manual; }
.show__k { color: var(--muted); font-size: 1.125rem; }
.show__d { font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.25rem); line-height: 1.5; max-width: 28em; min-height: 3em; text-wrap: pretty; }
.show.swap .show__now { animation: swapin 460ms var(--out) both; }
@keyframes swapin { from { opacity: 0; transform: translateY(10px); } }
.show__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; }
.show__acts .pp { margin-left: 0; width: 54px; height: 54px; }
.show__prev svg { width: 18px; height: 18px; fill: none; }
.show__next .ext { margin-right: -4px; }
.show__try { margin-top: clamp(6px, 1vw, 16px); }
.show__show { gap: 14px; }
.show__pp { display: flex; justify-content: flex-end; padding-right: 2%; }

/* Every idea, by kind of business: one chosen goes up to the showroom */
.ideas { padding: clamp(36px, 4vw, 70px) 0 clamp(90px, 9vw, 150px); }
.ideas__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px clamp(30px, 5vw, 90px); align-items: end; margin-bottom: clamp(22px, 2.4vw, 38px); }
.ideas__head .lede { color: var(--muted); }
.kind { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 14px clamp(20px, 2.6vw, 40px); padding: clamp(18px, 1.8vw, 26px) 0; border-top: 1px solid var(--line); }
.kind__h { display: grid; gap: 4px; align-content: start; }
.kind__h b { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.2; }
.kind__h span { color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.kind__items { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px 16px; }
.idea { display: grid; gap: 6px; align-content: start; min-width: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.idea img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; border-radius: 12px; background: #0b1514; box-shadow: 0 0 0 1px rgba(226, 244, 241, 0.14); transition: box-shadow 200ms ease, transform 160ms var(--out); }
.idea b { font-weight: 600; font-size: 0.97rem; line-height: 1.3; margin-top: 4px; }
.idea small { color: var(--muted); font-size: 0.86rem; line-height: 1.3; }
.idea[aria-current="true"] img { box-shadow: 0 0 0 3px var(--accent), 0 18px 34px -16px rgba(0, 0, 0, 0.9); }
.idea[aria-current="true"] b { color: var(--accent-ink); }
.idea:focus-visible { outline-offset: 5px; }
@media (hover: hover) and (pointer: fine) { .idea:hover img { transform: translateY(-2px); box-shadow: 0 0 0 1.5px rgba(226, 244, 241, 0.42); } .idea[aria-current="true"]:hover img { box-shadow: 0 0 0 3px var(--accent); } }

/* The way back: the sea-green map, the pin, the request */
.gend { position: relative; overflow: hidden; padding: clamp(84px, 8vw, 150px) 0; color: #fff; }
.gend .bg { z-index: -1; }
.gend__in { position: relative; display: grid; justify-items: center; gap: clamp(18px, 1.8vw, 28px); text-align: center; }
.gend h2 { max-width: 13em; }
.gend .lede { max-width: 30em; color: rgba(255, 255, 255, 0.9); }
.gend__pin { width: clamp(46px, 4vw, 64px); margin-bottom: 4px; filter: drop-shadow(0 12px 14px rgba(0, 40, 40, 0.35)); }
.gend__pin svg { display: block; width: 100%; }
.gend__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.gend .btn--go { background: #fff; color: var(--mar-d); box-shadow: 0 18px 36px -16px rgba(0, 30, 30, 0.6); }
.gend .btn--line { background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); color: #fff; }
@media (hover: hover) and (pointer: fine) { .gend .btn--go:hover { filter: none; background: var(--espuma); } .gend .btn--line:hover { background: rgba(255, 255, 255, 0.2); } }

@media (max-width: 900px) {
  /* What it is, then the site (a phone shows the phone, page.css), then what it does and its buttons: the first
     screen names the site it shows. The words' boxes give their pieces to the grid, each in its place. */
  .show__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .show__words, .show__now { display: contents; }
  .ghead__crumb { order: 1; margin-bottom: 14px; }
  .show__g { order: 2; margin: 0 0 6px; }
  .show__h { order: 3; margin-bottom: 4px; }
  .show__k { order: 4; margin-bottom: 18px; }
  .show__show { order: 5; margin-bottom: 22px; }
  .show__d { order: 6; margin-bottom: 18px; min-height: 0; }
  .show__acts { order: 7; margin: 0 0 18px; }
  .show__try { order: 8; margin: 0; }
  .show .hero__stage .ph { width: min(250px, 64vw); }
  .ideas__head, .kind { grid-template-columns: minmax(0, 1fr); }
  .show__pp { justify-content: center; padding: 0; }
}
@media (max-width: 600px) {
  .kind__items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .show__acts .btn--go { flex: 1 1 100%; }
  .show__acts .show__next { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .show.swap .show__now { animation: none; } }
