/* WorldGen360 theme
   Every rule here is a direct translation of an inline style in the supplied
   design. Colours, sizes and easing curves are unchanged. The only additions
   are the responsive rules and the mobile nav, which the desktop mock did not
   cover. */

/* ---------------------------------------------------------------- tokens */

:root {
  --wg-bg: #0b0d0a;
  --wg-text: #e5e7eb;
  --wg-accent: #b6f24a;
  --wg-accent-rgb: 182, 242, 74;
  --wg-accent-deep: #a3e635;
  --wg-accent-light: #cdf87d;
  --wg-accent-2: #38bdf8;
  --wg-accent-2-rgb: 56, 189, 248;
  --wg-ink: #0e1408;

  --wg-muted: #a8afb8;
  --wg-muted-2: #9ca3af;
  --wg-muted-3: #6b7280;
  --wg-dim: #4b5563;
  --wg-light: #c8cfd6;
  --wg-light-2: #d1d5db;
  --wg-light-3: #d5dbe1;

  --wg-panel: #0f120e;
  --wg-panel-2: #07090a;
  --wg-panel-3: #0a0c09;

  --wg-line: rgba(255, 255, 255, .12);
  --wg-line-soft: rgba(255, 255, 255, .09);
  --wg-line-strong: rgba(255, 255, 255, .18);

  --wg-font-body: 'Barlow', system-ui, sans-serif;
  --wg-font-head: 'Barlow Condensed', system-ui, sans-serif;
  --wg-font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --wg-max: 1320px;
  --wg-gutter: 32px;
}

/* ------------------------------------------------------------------ base */

html {
  background: var(--wg-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wg-bg);
  color: var(--wg-text);
  font-family: var(--wg-font-body);
  -webkit-font-smoothing: antialiased;
}

body.wg-scroll-lock {
  overflow: hidden;
}

a {
  color: var(--wg-accent);
  text-decoration: none;
}

a:hover {
  color: var(--wg-accent-light);
}

::selection {
  background: rgba(var(--wg-accent-rgb), .28);
}

::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: var(--wg-bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .14);
}

img {
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--wg-accent);
  outline-offset: 2px;
}

@keyframes wgDrift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

@keyframes wgPulse {
  0%, 100% { opacity: .35; }
  50% { opacity: 1; }
}

.wg-screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wg-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  padding: 12px 20px;
  background: var(--wg-accent);
  color: var(--wg-ink);
  font-family: var(--wg-font-head);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.wg-skip-link:focus {
  left: 0;
}

/* ------------------------------------------------------------------ page */

.wg-page {
  min-height: 100vh;
  background:
    radial-gradient(60vw 40vw at 8% -10%, rgba(var(--wg-accent-rgb), .10), transparent 60%),
    radial-gradient(55vw 50vw at 100% 4%, rgba(var(--wg-accent-2-rgb), .09), transparent 55%),
    var(--wg-bg);
  font-family: var(--wg-font-body);
  color: var(--wg-text);
}

.wg-main {
  max-width: var(--wg-max);
  margin: 0 auto;
  padding: 0 var(--wg-gutter) 140px;
}

/* ---------------------------------------------------------------- header */

.wg-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  background: rgba(11, 13, 10, .82);
  border-bottom: 1px solid var(--wg-line-soft);
}

.wg-header__inner {
  max-width: var(--wg-max);
  margin: 0 auto;
  padding: 14px var(--wg-gutter);
  display: flex;
  align-items: center;
  gap: 36px;
}

.wg-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.wg-logo img {
  height: 64px;
  width: auto;
  display: block;
}

.wg-logo__text {
  font-family: var(--wg-font-head);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
}

.wg-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 8px;
}

.wg-nav a {
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--wg-muted-2);
  transition: color .2s ease;
}

.wg-nav a:hover,
.wg-nav .current-menu-item > a {
  color: #fff;
}

/* wp_nav_menu emits a <ul>; the fallback emits the same shape, so one rule
   covers a real menu and the default. */
.wg-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wg-footer__nav .wg-menu {
  gap: 22px;
}

@media (max-width: 900px) {
  .wg-header.is-open .wg-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.wg-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.wg-signin {
  font-size: 14px;
  color: var(--wg-light-2);
  transition: color .2s ease;
}

.wg-signin:hover {
  color: #fff;
}

.wg-progress {
  height: 1px;
  background: linear-gradient(90deg, var(--wg-accent), var(--wg-accent-2));
  width: 0%;
  transform-origin: 0 50%;
}

/* Burger, added for mobile. No equivalent in the desktop mock. */
.wg-burger {
  display: none;
  margin-left: auto;
  padding: 9px 11px;
  border: 1px solid var(--wg-line);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  line-height: 0;
}

.wg-burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--wg-text);
}

.wg-burger span + span {
  margin-top: 5px;
}

/* --------------------------------------------------------------- buttons */

.wg-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--wg-font-head);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: filter .2s ease, background .2s ease, border-color .2s ease;
}

.wg-btn--primary {
  background: linear-gradient(180deg, var(--wg-accent), var(--wg-accent-deep));
  color: var(--wg-ink);
  padding: 10px 20px;
  font-size: 16px;
  box-shadow: 0 6px 22px rgba(var(--wg-accent-rgb), .24), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.wg-btn--primary:hover {
  filter: brightness(1.08);
  color: var(--wg-ink);
}

.wg-btn--md {
  gap: 10px;
  padding: 15px 28px;
  font-size: 19px;
  letter-spacing: .05em;
  box-shadow: 0 10px 30px rgba(var(--wg-accent-rgb), .22), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.wg-btn--md-tight {
  gap: 10px;
  margin-top: 22px;
  padding: 14px 26px;
  font-size: 19px;
  letter-spacing: .05em;
  box-shadow: 0 10px 30px rgba(var(--wg-accent-rgb), .24), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.wg-btn--lg {
  gap: 11px;
  padding: 17px 32px;
  font-size: 21px;
  letter-spacing: .05em;
  box-shadow: 0 12px 34px rgba(var(--wg-accent-rgb), .28), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.wg-btn--ghost {
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
  color: var(--wg-text);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .05em;
}

.wg-btn--ghost:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(var(--wg-accent-rgb), .45);
  color: var(--wg-text);
}

.wg-btn--outline {
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid var(--wg-line-strong);
  color: var(--wg-text);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .05em;
}

.wg-btn--outline:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(var(--wg-accent-rgb), .45);
  color: var(--wg-text);
}

/* --------------------------------------------------------------- sections */

.wg-kicker {
  margin: 0;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--wg-accent);
}

.wg-h2 {
  margin: 14px 0 0;
  font-family: var(--wg-font-head);
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 600;
  line-height: 1.02;
  color: #fff;
}

.wg-lede {
  margin: 14px 0 0;
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--wg-muted);
}

.wg-section {
  padding: 130px 0 0;
}

.wg-section--worlds {
  padding: 120px 0 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(var(--wg-reveal, 20px));
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1);
}

[data-reveal].wg-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ hero */

.wg-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 56px;
  align-items: center;
  padding: 96px 0 40px;
}

.wg-hero__title {
  font-family: var(--wg-font-head);
  font-weight: 600;
  font-size: clamp(46px, 5.6vw, 82px);
  line-height: .96;
  letter-spacing: -.015em;
  margin: 26px 0 0;
  color: #fff;
  text-wrap: balance;
}

/* Optional small line above the headline, inside the h1, so the category
   the page should rank for is part of the heading without changing the
   brand line. Set under Customize > WorldGen360 > Hero. */
.wg-hero__eyebrow {
  display: block;
  margin-bottom: 18px;
  font-family: var(--wg-font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wg-accent);
}

.wg-pricing__soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 0;
  padding: 8px 14px;
  border: 1px solid rgba(var(--wg-accent-rgb), .34);
  background: rgba(var(--wg-accent-rgb), .06);
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wg-text);
}

.wg-grad {
  background: linear-gradient(96deg, var(--wg-accent), var(--wg-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wg-hero__sub {
  margin: 22px 0 0;
  max-width: 44ch;
  font-size: 18px;
  line-height: 1.62;
  color: var(--wg-muted);
  text-wrap: pretty;
}

.wg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.wg-hero__note {
  margin: 24px 0 0;
  font-family: var(--wg-font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--wg-muted-3);
}

.wg-viewer {
  position: relative;
}

.wg-viewer__frame {
  position: relative;
  border: 1px solid var(--wg-line);
  background: var(--wg-panel-2);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(var(--wg-accent-rgb), .06);
}

.wg-viewer__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 619 / 407;
}

.wg-viewer__stage pano-viewer {
  position: absolute;
  inset: 0;
}

.wg-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  background: rgba(9, 11, 9, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .14);
  pointer-events: none;
}

.wg-chip--tl { left: 14px; top: 14px; }

.wg-chip__dot {
  width: 6px;
  height: 6px;
  background: var(--wg-accent);
  animation: wgPulse 1.6s ease-in-out infinite;
}

.wg-chip__label {
  font-family: var(--wg-font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--wg-text);
  white-space: nowrap;
}

.wg-viewer__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 18px 16px;
  background: linear-gradient(transparent, rgba(6, 8, 6, .86));
  pointer-events: none;
}

.wg-viewer__name {
  margin: 0;
  font-family: var(--wg-font-head);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .01em;
  color: #fff;
}

.wg-viewer__meta {
  margin: 3px 0 0;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wg-muted-2);
}

.wg-viewer__hint {
  margin: 0;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--wg-muted-3);
  text-align: right;
}

.wg-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.wg-thumb {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid var(--wg-line);
  background: var(--wg-panel);
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  transition: border-color .2s ease;
}

.wg-thumb:hover {
  border-color: rgba(var(--wg-accent-rgb), .5);
}

.wg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .62;
  transition: opacity .3s ease;
}

.wg-thumb:hover img,
.wg-thumb.is-active img {
  opacity: 1;
}

.wg-thumb__ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--wg-accent);
  box-shadow: inset 0 0 24px rgba(var(--wg-accent-rgb), .25);
  display: none;
}

.wg-thumb.is-active .wg-thumb__ring {
  display: block;
}

/* --------------------------------------------------------------- targets */

.wg-targets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 44px;
  padding: 34px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 56px;
}

.wg-targets__label {
  margin: 0;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wg-muted-3);
}

.wg-targets__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wg-target {
  padding: 8px 14px;
  border: 1px solid var(--wg-line);
  font-family: var(--wg-font-head);
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--wg-light);
}

/* ---------------------------------------------------------------- worlds */

.wg-worlds__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.wg-worlds__lede {
  margin: 14px 0 0;
  max-width: 56ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--wg-muted);
}

.wg-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.wg-gcard {
  position: relative;
  padding: 0;
  border: 1px solid var(--wg-line);
  background: var(--wg-panel);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  transition: border-color .2s ease, opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1);
}

.wg-gcard[data-reveal] {
  --wg-reveal: 24px;
}

.wg-gcard:hover {
  border-color: rgba(var(--wg-accent-rgb), .5);
}

.wg-gcard img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .9s cubic-bezier(.2, .8, .2, 1), filter .5s ease;
  filter: saturate(.9);
}

.wg-gcard:hover img {
  transform: scale(1.08);
  filter: saturate(1.05);
}

.wg-gcard__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 44px 16px 14px;
  background: linear-gradient(transparent, rgba(6, 8, 6, .9));
}

.wg-gcard__name {
  display: block;
  font-family: var(--wg-font-head);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

.wg-gcard__meta {
  display: block;
  margin-top: 2px;
  font-family: var(--wg-font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wg-muted-2);
}

.wg-gcard__open {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid rgba(var(--wg-accent-rgb), .4);
  background: rgba(var(--wg-accent-rgb), .1);
  font-family: var(--wg-font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--wg-accent-light);
}

/* --------------------------------------------------------------- process */

.wg-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  margin-top: 46px;
}

.wg-step {
  position: relative;
  padding: 26px 22px 28px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
}

.wg-step[data-reveal] {
  --wg-reveal: 24px;
}

.wg-step__n {
  margin: 0;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--wg-accent);
}

.wg-step__title {
  margin: 14px 0 0;
  font-family: var(--wg-font-head);
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}

.wg-step__body {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--wg-muted);
}

.wg-step__note {
  margin: 16px 0 0;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--wg-muted-3);
}

/* -------------------------------------------------------- product banner */

.wg-banner {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 0;
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, .13);
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(var(--wg-accent-rgb), .10), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  overflow: hidden;
  --wg-reveal: 24px;
}

.wg-banner__body {
  padding: 40px 38px 42px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.wg-banner__eyebrow {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.wg-banner__tag {
  padding: 5px 11px;
  background: var(--wg-accent);
  color: var(--wg-ink);
  font-family: var(--wg-font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.wg-banner__status {
  padding: 5px 11px;
  border: 1px solid rgba(var(--wg-accent-rgb), .4);
  font-family: var(--wg-font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wg-accent-light);
}

.wg-banner--soon .wg-banner__tag {
  background: transparent;
  border: 1px solid rgba(var(--wg-accent-2-rgb), .5);
  color: var(--wg-accent-2);
}

.wg-banner--soon .wg-banner__status {
  border-color: rgba(255, 255, 255, .18);
  color: var(--wg-muted-2);
}

.wg-banner__title {
  margin: 18px 0 0;
  font-family: var(--wg-font-head);
  font-size: clamp(28px, 2.9vw, 40px);
  font-weight: 600;
  line-height: 1.04;
  color: #fff;
  text-wrap: balance;
}

.wg-banner__text {
  margin: 12px 0 0;
  max-width: 46ch;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--wg-muted);
}

.wg-banner__points {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.wg-banner__points li {
  display: flex;
  gap: 10px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--wg-light-3);
}

.wg-banner__cta {
  margin-top: 26px;
}

.wg-banner__media {
  position: relative;
  min-height: 260px;
  border-left: 1px solid rgba(255, 255, 255, .1);
  overflow: hidden;
}

.wg-banner__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wg-banner__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 13, 10, .85), transparent 42%);
  pointer-events: none;
}

/* -------------------------------------------------------------- features */

.wg-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
  margin-top: 44px;
}

.wg-feature {
  padding: 24px 22px 26px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .02);
  transition: border-color .3s ease, background .3s ease, opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1);
}

.wg-feature[data-reveal] {
  --wg-reveal: 22px;
}

.wg-feature:hover {
  border-color: rgba(var(--wg-accent-rgb), .35);
  background: rgba(var(--wg-accent-rgb), .035);
}

.wg-feature__tag {
  margin: 0;
  font-family: var(--wg-font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wg-accent-2);
}

.wg-feature__title {
  margin: 12px 0 0;
  font-family: var(--wg-font-head);
  font-size: 25px;
  font-weight: 600;
  color: #fff;
}

.wg-feature__body {
  margin: 9px 0 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--wg-muted);
}

.wg-studio__lede {
  max-width: 60ch;
}

/* ----------------------------------------------------------------- specs */

.wg-specs {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .13);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
  transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1);
}

.wg-specs[data-reveal] {
  --wg-reveal: 24px;
}

.wg-specs__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.wg-specs__title {
  margin: 0;
  font-family: var(--wg-font-head);
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 600;
  color: #fff;
}

.wg-specs__sheet {
  margin: 0;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wg-muted-3);
}

.wg-specs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.wg-spec {
  display: flex;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  border-right: 1px solid rgba(255, 255, 255, .07);
}

.wg-spec__n {
  margin: 0;
  flex: 0 0 34px;
  font-family: var(--wg-font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--wg-accent);
}

.wg-spec__label {
  margin: 0;
  font-family: var(--wg-font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wg-muted-3);
}

.wg-spec__value {
  margin: 7px 0 0;
  font-family: var(--wg-font-head);
  font-size: 27px;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
}

.wg-spec__note {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--wg-muted-2);
}

/* --------------------------------------------------------------- pricing */

.wg-pricing__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.wg-pricing__lede {
  max-width: 54ch;
}

.wg-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr));
  gap: 18px;
  margin-top: 40px;
  align-items: stretch;
}

.wg-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 30px;
  border: 1px solid rgba(255, 255, 255, .11);
  background: rgba(255, 255, 255, .02);
}

.wg-plan[data-reveal] {
  --wg-reveal: 24px;
}

.wg-plan__glow {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(var(--wg-accent-rgb), .45);
  background: linear-gradient(180deg, rgba(var(--wg-accent-rgb), .08), rgba(var(--wg-accent-rgb), .01));
  box-shadow: 0 30px 70px -44px rgba(var(--wg-accent-rgb), .4);
  pointer-events: none;
}

.wg-plan__flag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px 10px;
  background: var(--wg-accent);
  color: var(--wg-ink);
  font-family: var(--wg-font-mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  white-space: nowrap;
  z-index: 2;
}

.wg-plan__top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
}

.wg-plan__name {
  margin: 0;
  font-family: var(--wg-font-head);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
}

.wg-plan__price {
  position: relative;
  margin: 16px 0 0;
  font-family: var(--wg-font-head);
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}

.wg-plan__suffix {
  font-size: 19px;
  font-weight: 400;
  color: #8f979f;
}

.wg-plan__credits {
  position: relative;
  margin: 8px 0 0;
  font-family: var(--wg-font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wg-accent-light);
}

.wg-plan__points {
  position: relative;
  flex: 1 1 auto;
  align-content: start;
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--wg-line-soft);
  display: grid;
  gap: 10px;
}

.wg-plan__points p {
  margin: 0;
  display: flex;
  gap: 10px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--wg-light-3);
}

.wg-tick {
  color: var(--wg-accent);
}

.wg-plan .wg-btn--outline {
  margin-top: 26px;
}

.wg-topups {
  margin-top: 18px;
  padding: 26px 26px 28px;
  border: 1px solid rgba(255, 255, 255, .11);
  background: rgba(255, 255, 255, .02);
}

.wg-topups[data-reveal] {
  --wg-reveal: 24px;
}

.wg-topups__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 20px;
}

.wg-topups__title {
  margin: 0;
  font-family: var(--wg-font-head);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
}

.wg-topups__note {
  margin: 0;
  font-size: 16px;
  color: var(--wg-muted);
}

.wg-topups__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 14px;
  margin-top: 22px;
}

.wg-topup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--wg-line);
  background: rgba(255, 255, 255, .02);
  transition: border-color .2s ease;
}

.wg-topup:hover {
  border-color: rgba(var(--wg-accent-rgb), .4);
}

.wg-topup__amount {
  margin: 0;
  font-family: var(--wg-font-head);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  color: var(--wg-accent);
}

.wg-topup__price {
  margin: 5px 0 0;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--wg-muted-2);
}

.wg-topups__cta {
  margin-top: 22px;
}

.wg-everyplan {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--wg-line-soft);
}

.wg-everyplan__label {
  margin: 0;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wg-muted-3);
}

.wg-everyplan__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.wg-everyplan__list p {
  margin: 0;
  display: flex;
  gap: 9px;
  font-size: 15.5px;
  color: var(--wg-light);
}

/* ------------------------------------------------------------------- faq */

.wg-faq__h2 {
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.05;
}

.wg-faq__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 48px;
  margin-top: 40px;
  align-items: start;
}

.wg-faq__figure {
  position: relative;
  border: 1px solid var(--wg-line);
  overflow: hidden;
  background: var(--wg-panel-3);
}

.wg-faq__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  max-height: 440px;
  object-fit: cover;
  filter: saturate(1.05);
}

.wg-faq__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(6, 8, 6, .9));
}

.wg-faq__cap-name {
  display: block;
  font-family: var(--wg-font-head);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

.wg-faq__cap-meta {
  display: block;
  margin-top: 2px;
  font-family: var(--wg-font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wg-muted-2);
}

.wg-faq__list {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: -22px;
}

.wg-faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.wg-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  transition: opacity .2s ease;
}

.wg-faq__q:hover {
  opacity: .82;
}

.wg-faq__q-text {
  font-family: var(--wg-font-head);
  font-size: 23px;
  font-weight: 500;
  color: #fff;
}

.wg-faq__sign {
  flex: 0 0 auto;
  font-family: var(--wg-font-mono);
  font-size: 16px;
  color: var(--wg-accent);
}

.wg-faq__a {
  margin: 0;
  padding: 0 4px 24px;
  max-width: 62ch;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--wg-muted);
}

.wg-faq__a[hidden] {
  display: none;
}

/* ------------------------------------------------------------------- cta */

.wg-cta {
  position: relative;
  margin-top: 130px;
  border: 1px solid var(--wg-line);
  overflow: hidden;
  transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1);
}

.wg-cta[data-reveal] {
  --wg-reveal: 24px;
}

.wg-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
  animation: wgDrift 18s ease-in-out infinite;
}

.wg-cta__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 64px 44px;
  background: linear-gradient(100deg, rgba(8, 10, 8, .94), rgba(8, 10, 8, .55));
}

.wg-cta__title {
  margin: 0;
  font-family: var(--wg-font-head);
  font-size: clamp(34px, 3.6vw, 54px);
  font-weight: 600;
  line-height: 1.02;
  color: #fff;
}

.wg-cta__body {
  margin: 12px 0 0;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--wg-light);
}

/* ---------------------------------------------------------------- footer */

.wg-footer {
  border-top: 1px solid var(--wg-line-soft);
  background: rgba(0, 0, 0, .35);
}

.wg-footer__inner {
  max-width: var(--wg-max);
  margin: 0 auto;
  padding: 44px var(--wg-gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.wg-footer__inner img {
  height: 72px;
  width: auto;
  display: block;
}

.wg-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-left: auto;
}

.wg-footer__nav a {
  font-size: 14px;
  color: var(--wg-muted-2);
  transition: color .2s ease;
}

.wg-footer__nav a:hover {
  color: #fff;
}

.wg-footer__legal {
  max-width: var(--wg-max);
  margin: 0 auto;
  padding: 0 var(--wg-gutter) 40px;
}

.wg-footer__legal p {
  margin: 0;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--wg-dim);
}

/* -------------------------------------------------------------- lightbox */

.wg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 6, 4, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding:
    max(26px, env(safe-area-inset-top)) 26px
    max(22px, env(safe-area-inset-bottom));
}

.wg-lightbox[hidden] {
  display: none;
}

.wg-lightbox__head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 16px;
}

.wg-lightbox__titles {
  min-width: 0;
  flex: 1 1 auto;
}

.wg-lightbox__name {
  margin: 0;
  font-family: var(--wg-font-head);
  font-size: 26px;
  font-weight: 600;
  color: #fff;
}

.wg-lightbox__meta {
  margin: 0;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wg-muted-2);
}

.wg-lightbox__close {
  margin-left: auto;
  padding: 9px 16px;
  border: 1px solid var(--wg-line-strong);
  background: rgba(255, 255, 255, .05);
  color: var(--wg-text);
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}

.wg-lightbox__close:hover {
  border-color: rgba(var(--wg-accent-rgb), .5);
  color: #fff;
}

.wg-lightbox__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  overflow: hidden;
}

.wg-lightbox__viewer {
  position: absolute;
  inset: 0;
}

.wg-lightbox__viewer pano-viewer {
  position: absolute;
  inset: 0;
}

.wg-lightbox__hint {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 12px;
  background: rgba(9, 11, 9, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  font-family: var(--wg-font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--wg-accent-light);
}

/* ------------------------------------------------- community plugin skin */
/* The worldgen360-community plugin ships layout CSS only. These rules give
   its markup the theme's colour, type and spacing. If the plugin is absent
   or its API is unreachable the shortcode returns an empty string and the
   whole section collapses, which is why nothing here sets a min-height. */

.wg360-community {
  padding: 130px 0 0;
}

.wg360-community__heading {
  margin: 0 0 44px;
  font-family: var(--wg-font-head);
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 600;
  line-height: 1.02;
  color: #fff;
}

.wg360-community__grid {
  gap: 16px;
}

.wg360-card {
  position: relative;
  border: 1px solid var(--wg-line);
  background: var(--wg-panel);
  overflow: hidden;
  transition: border-color .2s ease;
}

.wg360-card:hover {
  border-color: rgba(var(--wg-accent-rgb), .5);
}

.wg360-card__link {
  display: block;
  color: inherit;
}

.wg360-card__img {
  display: block;
  width: 100%;
  object-fit: cover;
  filter: saturate(.9);
  transform: scale(1.02);
  transition: transform .9s cubic-bezier(.2, .8, .2, 1), filter .5s ease;
}

.wg360-card:hover .wg360-card__img {
  transform: scale(1.08);
  filter: saturate(1.05);
}

.wg360-card__body {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 16px;
}

.wg360-card__title {
  margin: 0;
  font-family: var(--wg-font-head);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

.wg360-card__meta {
  margin: 2px 0 0;
  font-family: var(--wg-font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wg-muted-2);
}

.wg360-card__avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  object-fit: cover;
  border: 1px solid var(--wg-line);
}

.wg360-card__votes {
  margin-left: auto;
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(var(--wg-accent-rgb), .4);
  background: rgba(var(--wg-accent-rgb), .1);
  font-family: var(--wg-font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--wg-accent-light);
}

.wg360-community__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 14px 26px;
  background: linear-gradient(180deg, var(--wg-accent), var(--wg-accent-deep));
  color: var(--wg-ink);
  font-family: var(--wg-font-head);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(var(--wg-accent-rgb), .24), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.wg360-community__cta:hover {
  filter: brightness(1.08);
  color: var(--wg-ink);
}

/* ------------------------------------------------------- interior pages */

.wg-page-head {
  padding: 96px 0 0;
}

.wg-page-head__title {
  margin: 14px 0 0;
  font-family: var(--wg-font-head);
  font-size: clamp(40px, 4.6vw, 68px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -.01em;
  color: #fff;
  text-wrap: balance;
}

.wg-page-head__sub {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: 18px;
  line-height: 1.62;
  color: var(--wg-muted);
}

.wg-page-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.wg-page-hero {
  margin-top: 56px;
  border: 1px solid var(--wg-line);
  overflow: hidden;
  background: var(--wg-panel-3);
}

.wg-page-hero img {
  display: block;
  width: 100%;
  height: auto;
}

/* Prose, used by the legal template and by page content generally. */
/* The container is full width so shortcode sections can use the whole grid;
   running text keeps a readable 78 character measure. */
.wg-prose {
  max-width: none;
  padding: 56px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--wg-muted);
}

.wg-prose > :not(.wg-embed):not(.wg-figure):not(.alignwide):not(.alignfull) {
  max-width: 78ch;
}

.wg-prose > *:first-child {
  margin-top: 0;
}

.wg-prose h1:not(.wg-embed *),
.wg-prose h2:not(.wg-embed *),
.wg-prose h3:not(.wg-embed *),
.wg-prose h4:not(.wg-embed *) {
  font-family: var(--wg-font-head);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
}

.wg-prose h1:not(.wg-embed *) { font-size: clamp(36px, 4vw, 56px); margin: 56px 0 0; }
.wg-prose h2:not(.wg-embed *) { font-size: clamp(28px, 2.8vw, 40px); margin: 48px 0 0; }
.wg-prose h3:not(.wg-embed *) { font-size: 26px; margin: 36px 0 0; }
.wg-prose h4:not(.wg-embed *) { font-size: 21px; margin: 30px 0 0; }

.wg-prose p:not(.wg-embed *),
.wg-prose ul:not(.wg-embed *),
.wg-prose ol:not(.wg-embed *) {
  margin: 16px 0 0;
}

.wg-prose li + li:not(.wg-embed *) {
  margin-top: 8px;
}

.wg-prose li:not(.wg-embed *)::marker {
  color: var(--wg-accent);
}

.wg-prose strong:not(.wg-embed *) {
  color: var(--wg-text);
  font-weight: 600;
}

.wg-prose a:not(.wg-embed *) {
  color: var(--wg-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wg-prose blockquote:not(.wg-embed *) {
  margin: 24px 0 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid rgba(var(--wg-accent-rgb), .5);
  color: var(--wg-light);
}

.wg-prose code:not(.wg-embed *) {
  font-family: var(--wg-font-mono);
  font-size: .92em;
  padding: 2px 6px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--wg-line);
}

.wg-prose pre:not(.wg-embed *) {
  margin: 20px 0 0;
  padding: 20px;
  overflow: auto;
  background: var(--wg-panel-2);
  border: 1px solid var(--wg-line);
}

.wg-prose pre code:not(.wg-embed *) {
  padding: 0;
  background: none;
  border: 0;
}

.wg-prose img:not(.wg-embed *) {
  height: auto;
  border: 1px solid var(--wg-line);
}

/* Diagrams in page content run the full width of the column so their labels
   stay readable. On a phone they scroll sideways rather than shrink, and a tap
   opens the full-size image. */
.wg-prose > .wg-figure {
  margin: 36px 0 0;
}

.wg-prose > .wg-figure--narrow {
  max-width: 760px;
}

.wg-figure__hint {
  display: none;
  margin: 0 0 10px;
  font-family: var(--wg-font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wg-muted-3);
}

.wg-figure__hint span {
  color: var(--wg-accent);
}

.wg-figure__frame a {
  display: block;
}

/* Three views of one world side by side: the first across the top, the
   other two beneath it, stacked on a phone. */
.wg-trio__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.wg-trio__item:first-child {
  grid-column: 1 / -1;
}

.wg-trio__item img {
  display: block;
  width: 100%;
  height: auto;
}

.wg-trio__label {
  margin-top: 8px;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--wg-muted-2);
}

.wg-trio__label strong {
  margin-right: 8px;
  font-weight: 500;
  color: var(--wg-accent);
}

.wg-figure__frame img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .wg-trio__grid {
    grid-template-columns: 1fr;
  }
  .wg-figure__hint {
    display: block;
  }
  .wg-figure__frame {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .wg-figure__frame img {
    width: 720px;
    max-width: none;
  }
}

.wg-prose table:not(.wg-embed *) {
  width: 100%;
  margin: 24px 0 0;
  border-collapse: collapse;
}

.wg-prose th:not(.wg-embed *),
.wg-prose td:not(.wg-embed *) {
  padding: 12px 14px;
  border: 1px solid var(--wg-line);
  text-align: left;
}

.wg-prose th:not(.wg-embed *) {
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wg-muted-3);
}

/* Alignment classes WordPress expects a theme to provide. */
/* Sections dropped into page content with a shortcode. Each keeps its own
   styling; the first one sits closer to the text above it. */
.wg-embed {
  margin-top: 40px;
}

.wg-prose > .wg-embed:first-child {
  margin-top: 0;
}

.wg-embed > .wg-section:first-child,
.wg-embed > .wg-section--worlds:first-child {
  padding-top: 64px;
}

.wg-prose .wg-btn {
  text-decoration: none;
}

/* A viewer in page content runs the full width at 2:1. On a phone that is a
   thin strip, so it is cropped taller there. */
@media (max-width: 760px) {
  .wg-embed .wg-viewer__stage {
    aspect-ratio: 4 / 3 !important;
  }
}

.alignleft { float: left; margin: 6px 24px 16px 0; }
.alignright { float: right; margin: 6px 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; }
.wp-caption-text,
.wp-element-caption {
  margin-top: 8px;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--wg-muted-3);
}

/* 404 and search. */
.wg-notfound {
  padding: 120px 0 40px;
  text-align: center;
}

.wg-notfound__code {
  margin: 0;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--wg-accent);
}

.wg-searchform {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.wg-searchform input[type="search"] {
  flex: 1;
  padding: 13px 16px;
  border: 1px solid var(--wg-line);
  background: rgba(255, 255, 255, .04);
  color: var(--wg-text);
  font-family: var(--wg-font-body);
  font-size: 16px;
}

.wg-results {
  padding: 56px 0 0;
  display: grid;
  gap: 18px;
}

.wg-result {
  padding: 24px 22px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .02);
}

.wg-result h2 {
  margin: 0;
  font-family: var(--wg-font-head);
  font-size: 26px;
  font-weight: 600;
}

.wg-result h2 a {
  color: #fff;
}

.wg-result h2 a:hover {
  color: var(--wg-accent);
}

.wg-result p {
  margin: 8px 0 0;
  color: var(--wg-muted);
  line-height: 1.6;
}

.wg-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 40px 0 0;
}

.wg-pagination .page-numbers {
  padding: 9px 14px;
  border: 1px solid var(--wg-line);
  color: var(--wg-text);
  font-family: var(--wg-font-mono);
  font-size: 12px;
}

.wg-pagination .page-numbers.current {
  background: var(--wg-accent);
  border-color: var(--wg-accent);
  color: var(--wg-ink);
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 900px) {
  .wg-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .wg-gallery > * {
    grid-column: auto !important;
  }
  .wg-specs__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .wg-nav,
  .wg-header__actions {
    display: none;
  }
  .wg-burger {
    display: block;
  }
  .wg-header.is-open .wg-nav,
  .wg-header.is-open .wg-header__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 0;
    gap: 18px;
  }
  .wg-header.is-open .wg-header__inner {
    flex-wrap: wrap;
    gap: 22px;
    padding-bottom: 26px;
  }
  .wg-header.is-open .wg-nav a {
    font-size: 20px;
    font-family: var(--wg-font-head);
    color: #fff;
  }
  .wg-header.is-open .wg-header__actions {
    padding-top: 18px;
    border-top: 1px solid var(--wg-line-soft);
  }
  .wg-worlds__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .wg-banner {
    grid-template-columns: 1fr;
  }
  .wg-banner__media {
    order: -1;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .wg-banner__media::after {
    background: linear-gradient(180deg, transparent 45%, rgba(11, 13, 10, .8));
  }
}

@media (max-width: 760px) {
  :root {
    --wg-gutter: 20px;
  }
  .wg-main {
    padding-bottom: 96px;
  }
  .wg-hero {
    padding: 56px 0 24px;
    gap: 40px;
  }
  .wg-section,
  .wg-section--worlds {
    padding: 88px 0 0;
  }
  .wg360-community {
    padding: 88px 0 0;
  }
  .wg-cta {
    margin-top: 88px;
  }
  .wg-cta__inner {
    padding: 40px 24px;
    gap: 26px;
  }
  .wg-logo img {
    height: 44px;
  }
  .wg-footer__inner img {
    height: 52px;
  }
  .wg-footer__nav {
    margin-left: 0;
  }
  .wg-gallery {
    grid-template-columns: 1fr;
  }
  .wg-thumbs {
    gap: 8px;
  }
  .wg-viewer__caption {
    padding: 16px 14px 12px;
  }
  .wg-viewer__name {
    font-size: 21px;
  }
  .wg-viewer__hint {
    display: none;
  }
  .wg-faq__grid {
    gap: 32px;
  }
  .wg-faq__list {
    margin-top: 0;
  }
  .wg-spec {
    padding: 20px;
  }
  .wg-lightbox {
    padding:
      max(14px, env(safe-area-inset-top)) 16px
      max(14px, env(safe-area-inset-bottom));
  }
  /* A 2:1 panorama in a full-height portrait box is viewed through a narrow
     horizontal slice, so most of the source resolution never reaches the
     screen. A 4:5 box shows 993 of the 4096 columns across 1009 device
     pixels, which is about one source pixel per screen pixel. Full height
     showed 769 across the same width. */
  .wg-lightbox__stage {
    flex: 0 0 auto;
    aspect-ratio: 4 / 5;
  }
  .wg-lightbox__head {
    gap: 12px;
    padding-bottom: 12px;
  }
  .wg-lightbox__name {
    font-size: 21px;
  }
  .wg-lightbox__meta {
    font-size: 10px;
    letter-spacing: .1em;
  }
  .wg-lightbox__close {
    padding: 9px 12px;
  }
  .wg-chip {
    padding: 6px 10px;
  }
  .wg-chip__label {
    font-size: 9px;
    letter-spacing: .14em;
  }
  .wg-prose {
    padding-top: 40px;
  }
  /* Long uppercase labels like "See all community showcase" wrapped to two
     lines and turned into a slab at the desktop size. */
  .wg-btn--md,
  .wg-btn--md-tight,
  .wg-btn--ghost {
    font-size: 16px;
    padding: 13px 20px;
  }
  .wg-btn--lg {
    font-size: 18px;
    padding: 15px 24px;
  }
  .wg-btn--outline {
    font-size: 16px;
    padding: 12px 18px;
  }
  .wg-btn--md-tight {
    margin-top: 26px;
  }
  .wg-banner__body {
    padding: 26px 22px 30px;
  }
  .wg-banner__title {
    font-size: 27px;
  }
  .wg-banner__text,
  .wg-banner__points li {
    font-size: 15.5px;
  }
}

/* ------------------------------------------------------- menu drop-downs */

.wg-nav .wg-menu > li {
  position: relative;
}

.wg-nav .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0 3px 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: .6;
}

.wg-nav .sub-menu {
  position: absolute;
  z-index: 70;
  top: calc(100% + 14px);
  left: -16px;
  min-width: 230px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--wg-line);
  background: rgba(11, 13, 10, .97);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}

/* Bridges the gap between the link and the panel so it stays open. */
.wg-nav .sub-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

.wg-nav li:hover > .sub-menu,
.wg-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .18s ease, transform .18s ease;
}

.wg-nav .sub-menu a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--wg-muted);
}

.wg-nav .sub-menu a:hover,
.wg-nav .sub-menu .current-menu-item > a {
  background: rgba(255, 255, 255, .05);
  color: #fff;
}

@media (max-width: 900px) {
  .wg-header.is-open .wg-nav .menu-item-has-children > a::after {
    display: none;
  }
  .wg-header.is-open .wg-nav .sub-menu {
    position: static;
    min-width: 0;
    margin: 12px 0 0;
    padding: 0 0 0 14px;
    border: 0;
    border-left: 1px solid var(--wg-line);
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .wg-header.is-open .wg-nav .sub-menu a {
    padding: 6px 0;
    font-family: var(--wg-font-body);
    font-size: 16px;
    color: var(--wg-muted);
  }
}

/* ------------------------------------------------------------ blog nav */

.wg-subnav {
  border-top: 1px solid var(--wg-line-soft);
}

.wg-subnav__inner {
  max-width: var(--wg-max);
  margin: 0 auto;
  padding: 0 var(--wg-gutter);
  display: flex;
  align-items: center;
  gap: 26px;
  overflow-x: auto;
  scrollbar-width: none;
}

.wg-subnav__inner::-webkit-scrollbar {
  display: none;
}

.wg-subnav__label {
  flex: 0 0 auto;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wg-accent);
}

.wg-subnav__menu {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wg-subnav__menu a {
  display: block;
  padding: 13px 0 12px;
  font-size: 14px;
  white-space: nowrap;
  color: var(--wg-muted-2);
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

.wg-subnav__menu a:hover {
  color: #fff;
}

.wg-subnav__menu .current-menu-item > a {
  color: #fff;
  border-bottom-color: var(--wg-accent);
}

body.wg-has-subnav [id] {
  scroll-margin-top: 160px;
}

/* --------------------------------------------------------- breadcrumbs */

.wg-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.wg-crumbs li {
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wg-muted-3);
}

.wg-crumbs li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--wg-dim);
}

.wg-crumbs a {
  color: var(--wg-muted-2);
}

.wg-crumbs a:hover {
  color: var(--wg-accent);
}

/* ---------------------------------------------------------------- cards */

.wg-cards-section {
  padding: 96px 0 0;
}

.wg-page-head + .wg-cards-section {
  padding-top: 56px;
}

.wg-cards-section__head {
  margin-bottom: 32px;
}

/* The hub shows every use case, so three wider cards per row read better
   than four narrow ones and avoid a lone card on the last row. */
.wg-page-head + .wg-cards-section .wg-cards {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
}

.wg-cards,
.wg-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: 22px;
}

.wg-card,
.wg-post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--wg-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
  overflow: hidden;
  color: inherit;
  transition: border-color .25s ease, transform .25s ease;
}

.wg-card:hover,
.wg-post-card:hover {
  border-color: rgba(var(--wg-accent-rgb), .45);
  color: inherit;
}

.wg-card__media,
.wg-post-card__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--wg-panel-2);
}

.wg-card__media img,
.wg-post-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.2, .8, .2, 1);
}

.wg-card:hover .wg-card__media img,
.wg-post-card:hover .wg-post-card__media img {
  transform: scale(1.05);
}

.wg-card__body,
.wg-post-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 20px 22px;
}

.wg-card__kicker,
.wg-post-card__cat {
  font-family: var(--wg-font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wg-accent);
}

.wg-card__title,
.wg-post-card__title {
  margin: 0;
  font-family: var(--wg-font-head);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.08;
  color: #fff;
}

.wg-post-card__title a {
  color: inherit;
}

.wg-post-card__title a:hover {
  color: var(--wg-accent-light);
}

.wg-card__text,
.wg-post-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--wg-muted);
}

.wg-card__more {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wg-accent);
}

.wg-post-card__meta {
  margin: auto 0 0;
  padding-top: 10px;
  display: flex;
  gap: 8px;
  font-family: var(--wg-font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--wg-muted-3);
}

/* ----------------------------------------------------------------- blog */

.wg-page-head--blog,
.wg-page-head--article {
  padding-top: 64px;
}

.wg-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 22px;
  margin-top: 48px;
}

.wg-pillar-card {
  position: relative;
  display: flex;
  min-height: 380px;
  border: 1px solid var(--wg-line);
  overflow: hidden;
  color: inherit;
}

.wg-pillar-card:hover {
  border-color: rgba(var(--wg-accent-rgb), .5);
  color: inherit;
}

.wg-pillar-card__media {
  position: absolute;
  inset: 0;
}

.wg-pillar-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.2, .8, .2, 1);
}

.wg-pillar-card:hover .wg-pillar-card__media img {
  transform: scale(1.05);
}

.wg-pillar-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 6, .05) 20%, rgba(6, 8, 6, .92) 78%);
}

.wg-pillar-card__body {
  position: relative;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px;
}

.wg-pillar-card__title {
  font-family: var(--wg-font-head);
  font-size: clamp(26px, 2.2vw, 32px);
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
}

.wg-blog-list {
  padding: 72px 0 0;
}

.wg-blog-list__title {
  margin: 0 0 26px;
  font-family: var(--wg-font-head);
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 600;
  color: #fff;
}

.wg-blog-list__empty {
  max-width: 60ch;
  color: var(--wg-muted);
  line-height: 1.6;
}

.wg-guide-callout {
  display: grid;
  gap: 8px;
  margin-top: 40px;
  padding: 22px 24px;
  border: 1px solid rgba(var(--wg-accent-rgb), .35);
  background: linear-gradient(90deg, rgba(var(--wg-accent-rgb), .08), rgba(var(--wg-accent-2-rgb), .05));
  color: inherit;
}

.wg-guide-callout:hover {
  border-color: rgba(var(--wg-accent-rgb), .6);
  color: inherit;
}

.wg-guide-callout__title {
  font-family: var(--wg-font-head);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
}

.wg-article__cat {
  display: inline-block;
  margin-bottom: 4px;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wg-accent);
}

.wg-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 20px 0 0;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--wg-muted-3);
}

.wg-article__hero {
  margin: 44px 0 0;
  border: 1px solid var(--wg-line);
  overflow: hidden;
  background: var(--wg-panel-3);
}

.wg-article__hero img {
  display: block;
  width: 100%;
  height: auto;
}

.wg-article__body {
  min-width: 0;
}

.wg-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 36px !important;
}

.wg-article__tags a {
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-decoration: none !important;
}

.wg-toc {
  padding-left: 18px;
  border-left: 1px solid var(--wg-line);
}

.wg-toc__title {
  margin: 0;
  font-family: var(--wg-font-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wg-muted-3);
}

.wg-toc__list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.wg-toc__list li + li {
  margin-top: 11px;
}

.wg-toc__list a {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: var(--wg-muted-2);
  transition: color .2s ease;
}

.wg-toc__list a:hover,
.wg-toc__list a.is-active {
  color: #fff;
}

.wg-toc__list a.is-active {
  box-shadow: -19px 0 0 -17px var(--wg-accent);
}

@media (min-width: 1100px) {
  .wg-article__layout.has-toc {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
  }
  .wg-article__aside {
    position: sticky;
    top: 170px;
    max-height: calc(100vh - 190px);
    padding-top: 56px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }
}

@media (max-width: 1099px) {
  .wg-article__aside {
    margin-top: 36px;
  }
  .wg-article__aside .wg-toc {
    padding: 18px 20px;
    border: 1px solid var(--wg-line);
    background: rgba(255, 255, 255, .02);
  }
}

/* ------------------------------------------------------ split image box */

.wg-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  margin-top: 56px;
  border: 1px solid rgba(255, 255, 255, .13);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(var(--wg-accent-rgb), .09), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  overflow: hidden;
  --wg-reveal: 24px;
}

.wg-split__media {
  position: relative;
  min-height: 380px;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, .1);
  background: var(--wg-panel-2);
}

.wg-split__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: wgDrift 18s ease-in-out infinite;
}

.wg-split__caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(9, 11, 9, .72);
  font-family: var(--wg-font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wg-text);
}

.wg-split__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 44px 42px 46px;
}

.wg-split--flip .wg-split__media {
  order: 2;
  border-right: 0;
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.wg-split__title {
  margin: 14px 0 0;
  font-family: var(--wg-font-head);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 600;
  line-height: 1.04;
  color: #fff;
  text-wrap: balance;
}

.wg-split__text {
  margin: 12px 0 0;
  max-width: 46ch;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--wg-muted);
}

.wg-split__points {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.wg-split__points li {
  display: flex;
  gap: 10px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--wg-light-3);
}

/* --------------------------------------------------------- CTA banner */

.wg-ctab {
  position: relative;
  margin-top: 72px;
  border: 1px solid rgba(var(--wg-accent-rgb), .35);
  background: #0a0c09;
  overflow: hidden;
  box-shadow: 0 30px 90px -40px rgba(var(--wg-accent-rgb), .45);
  --wg-reveal: 24px;
}

.wg-ctab__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
  animation: wgDrift 18s ease-in-out infinite;
}

.wg-ctab::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 130% at 0% 100%, rgba(var(--wg-accent-rgb), .3), transparent 60%),
    linear-gradient(100deg, rgba(8, 10, 8, .9) 0%, rgba(8, 10, 8, .6) 48%, rgba(8, 10, 8, .12) 100%);
}

.wg-ctab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--wg-accent), var(--wg-accent-2));
}

.wg-ctab__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 60px 48px;
}

.wg-ctab__copy {
  text-shadow: 0 1px 14px rgba(0, 0, 0, .55);
}

.wg-ctab__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wg-accent);
}

.wg-ctab__title {
  max-width: 20ch;
  margin: 14px 0 0;
  font-family: var(--wg-font-head);
  font-size: clamp(32px, 3.6vw, 54px);
  font-weight: 600;
  line-height: 1.02;
  color: #fff;
  text-wrap: balance;
}

.wg-ctab__body {
  max-width: 50ch;
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--wg-light-2);
}

.wg-ctab__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ------------------------------------------------------------ comparison */

.wg-compare {
  margin-top: 80px;
  --wg-reveal: 24px;
}

.wg-compare__head {
  max-width: 64ch;
}

.wg-compare__title {
  margin: 14px 0 0;
  font-family: var(--wg-font-head);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
}

.wg-compare__body {
  margin: 12px 0 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--wg-muted);
}

.wg-compare__scroll {
  /* Positioned, so the table's hidden screen reader labels stay inside the
     scrolling box instead of widening the page on a phone. */
  position: relative;
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid var(--wg-line);
  background: rgba(255, 255, 255, .015);
}

.wg-compare__scroll:focus-visible {
  outline-offset: -2px;
}

.wg-compare__table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.wg-compare__table th,
.wg-compare__table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--wg-line-soft);
  text-align: left;
  vertical-align: top;
}

.wg-compare__table tbody tr:last-child th,
.wg-compare__table tbody tr:last-child td {
  border-bottom: 0;
}

.wg-compare__table thead th {
  font-family: var(--wg-font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wg-muted-2);
  background: rgba(255, 255, 255, .025);
}

.wg-compare__table tbody th {
  width: 28%;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--wg-light-2);
}

.wg-compare__table .is-us {
  background: rgba(var(--wg-accent-rgb), .07);
  box-shadow: inset 1px 0 0 rgba(var(--wg-accent-rgb), .25), inset -1px 0 0 rgba(var(--wg-accent-rgb), .25);
}

.wg-compare__table thead th.is-us {
  color: var(--wg-accent);
  background: rgba(var(--wg-accent-rgb), .12);
}

.wg-compare__icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.is-yes .wg-compare__icon {
  background: linear-gradient(180deg, var(--wg-accent), var(--wg-accent-deep));
  color: var(--wg-ink);
}

.is-no .wg-compare__icon {
  border: 1px solid var(--wg-line-strong);
  color: var(--wg-dim);
}

.is-partial .wg-compare__icon {
  border: 1px solid rgba(var(--wg-accent-2-rgb), .5);
  color: var(--wg-accent-2);
}

.wg-compare__note {
  display: block;
  margin-top: 7px;
  font-family: var(--wg-font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  line-height: 1.45;
  color: var(--wg-muted-3);
}

.wg-compare__text {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--wg-light);
}

.is-us .wg-compare__text {
  color: #fff;
  font-weight: 500;
}

.wg-compare__hint {
  display: none;
  margin: 18px 0 0;
  font-family: var(--wg-font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wg-muted-3);
}

.wg-compare__hint span {
  color: var(--wg-accent);
}

/* Tables in guides scroll sideways on small screens rather than squeezing
   every column to a few characters. */
.wg-prose .wp-block-table {
  margin: 24px 0 0;
  overflow-x: auto;
}

.wg-prose .wp-block-table table {
  margin: 0;
}

@media (max-width: 760px) {
  .wg-compare__hint {
    display: block;
  }
  .wg-compare__hint + .wg-compare__scroll {
    margin-top: 10px;
  }
  .wg-prose .wp-block-table table {
    min-width: 560px;
  }
}

.wg-compare__foot {
  margin: 12px 0 0;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  color: var(--wg-muted-3);
}

/* ---------------------------------------------------------------- stats */

.wg-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 56px;
  border: 1px solid var(--wg-line);
  background: var(--wg-line);
  --wg-reveal: 20px;
}

.wg-stat {
  padding: 26px 24px 24px;
  background: var(--wg-bg);
}

.wg-stat__value {
  margin: 0;
  font-family: var(--wg-font-head);
  font-size: clamp(34px, 3.4vw, 50px);
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(96deg, var(--wg-accent), var(--wg-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wg-stat__label {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--wg-muted);
}

/* ------------------------------------------- closing call to action, lit */
/* Brighter than the design's original: the image shows through, a lime
   glow rises from the corner and a gradient rule runs along the top. */

.wg-cta {
  border-color: rgba(var(--wg-accent-rgb), .3);
  box-shadow: 0 30px 90px -40px rgba(var(--wg-accent-rgb), .4);
}

.wg-cta::after {
  content: '';
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--wg-accent), var(--wg-accent-2));
}

.wg-cta .wg-cta__bg {
  opacity: .9;
}

.wg-cta .wg-cta__inner {
  background:
    radial-gradient(55% 140% at 0% 100%, rgba(var(--wg-accent-rgb), .26), transparent 60%),
    linear-gradient(100deg, rgba(8, 10, 8, .9) 0%, rgba(8, 10, 8, .55) 50%, rgba(8, 10, 8, .15) 100%);
}

/* ----------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .wg-split,
  .wg-split--flip {
    grid-template-columns: 1fr;
  }
  .wg-split__media,
  .wg-split--flip .wg-split__media {
    order: -1;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .wg-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .wg-page-head--blog,
  .wg-page-head--article {
    padding-top: 40px;
  }
  .wg-split__body {
    padding: 26px 22px 30px;
  }
  .wg-ctab {
    margin-top: 56px;
  }
  .wg-ctab__inner {
    padding: 40px 22px;
  }
  .wg-ctab::before {
    background:
      radial-gradient(90% 90% at 0% 100%, rgba(var(--wg-accent-rgb), .28), transparent 60%),
      linear-gradient(180deg, rgba(8, 10, 8, .55) 0%, rgba(8, 10, 8, .9) 70%);
  }
  .wg-compare {
    margin-top: 64px;
  }
  .wg-cards-section {
    padding-top: 72px;
  }
  .wg-pillar-card {
    min-height: 320px;
  }
  .wg-blog-list {
    padding-top: 56px;
  }
  .wg-stat {
    padding: 20px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wg-split__img,
  .wg-ctab__bg {
    animation: none;
  }
}

/* Use cases on the landing page: section spacing to match the others. */
.wg-home-usecases .wg-cards-section {
  padding-top: 130px;
}

.wg-home-usecases__more {
  margin: 28px 0 0;
}

@media (max-width: 760px) {
  .wg-home-usecases .wg-cards-section {
    padding-top: 88px;
  }
}

/* ------------------------------------------------------- viewer loading */
/* Built by pano-viewer.js inside every viewer: a blurred poster while the
   panorama downloads, a progress bar with real byte counts, a chip while the
   HD version streams in, and a short hint line. */

@keyframes wgPvSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(290%); }
}

.wg-pv-poster {
  position: absolute;
  inset: -24px;
  z-index: 1;
  background-size: cover;
  background-position: center;
  filter: blur(14px) saturate(1.1);
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}

.wg-pv-poster.is-on {
  opacity: .7;
}

.wg-pv-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at center, rgba(7, 9, 10, .25), rgba(7, 9, 10, .7));
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility 0s linear .45s;
  pointer-events: none;
}

.wg-pv-loader.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity .2s ease;
}

.wg-pv-loader__box {
  width: min(300px, 72%);
  padding: 16px 18px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(9, 11, 9, .74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.wg-pv-loader__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--wg-font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wg-text);
}

.wg-pv-loader__pct {
  color: var(--wg-accent);
  font-variant-numeric: tabular-nums;
}

.wg-pv-loader__bar {
  position: relative;
  height: 3px;
  margin-top: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
}

.wg-pv-loader__bar > span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, var(--wg-accent), var(--wg-accent-2));
  box-shadow: 0 0 12px rgba(var(--wg-accent-rgb), .6);
  transition: width .25s ease;
}

.wg-pv-loader.is-indeterminate .wg-pv-loader__bar > span {
  width: 35% !important;
  animation: wgPvSlide 1.2s ease-in-out infinite;
}

.wg-pv-loader__size {
  min-height: 1.5em;
  margin-top: 9px;
  font-family: var(--wg-font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--wg-muted-3);
  font-variant-numeric: tabular-nums;
}

.wg-pv-hd {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: grid;
  gap: 6px;
  min-width: 132px;
  padding: 7px 12px 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(9, 11, 9, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}

.wg-pv-hd.is-on {
  opacity: 1;
  transform: none;
}

.wg-pv-hd__label {
  font-family: var(--wg-font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wg-text);
  white-space: nowrap;
}

.wg-pv-hd.is-done .wg-pv-hd__label {
  color: var(--wg-accent);
}

.wg-pv-hd__bar {
  position: relative;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
}

.wg-pv-hd__bar > span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, var(--wg-accent), var(--wg-accent-2));
  transition: width .25s ease;
}

.wg-pv-hd.is-indeterminate .wg-pv-hd__bar > span {
  width: 35% !important;
  animation: wgPvSlide 1.2s ease-in-out infinite;
}

.wg-pv-hd.is-done .wg-pv-hd__bar {
  display: none;
}

.wg-pv-toast {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22%;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(9, 11, 9, .8);
  font-family: var(--wg-font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wg-text);
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

.wg-pv-toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: reduce) {
  .wg-pv-loader.is-indeterminate .wg-pv-loader__bar > span,
  .wg-pv-hd.is-indeterminate .wg-pv-hd__bar > span {
    animation: none;
    width: 100% !important;
    opacity: .5;
  }
}

@media (max-width: 760px) {
  .wg-pv-hd {
    top: 10px;
    right: 10px;
    min-width: 0;
  }
}

/* ------------------------------------------------------------ coming soon */
/* Coming soon mode: the hero badge, the "Studio coming soon" section, the
   waitlist form and the popup. Built from the same tokens, type and square
   edges as the rest of the design, so a palette change carries through. */

@keyframes wgSoonFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes wgSoonIn {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: none; }
}

@keyframes wgSoonOut {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(10px) scale(.99); }
}

@keyframes wgSoonGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(var(--wg-accent-rgb), 0); }
  50% { box-shadow: 0 0 16px rgba(var(--wg-accent-rgb), .55); }
}

/* Hero badge. */
.wg-soon-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  border: 1px solid rgba(var(--wg-accent-rgb), .34);
  background: rgba(var(--wg-accent-rgb), .06);
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wg-text);
  transition: border-color .2s ease, background .2s ease;
}

.wg-soon-badge:hover {
  border-color: rgba(var(--wg-accent-rgb), .6);
  background: rgba(var(--wg-accent-rgb), .1);
  color: #fff;
}

.wg-soon-badge .wg-chip__dot {
  flex: 0 0 auto;
}

.wg-soon-badge__date {
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, .16);
  color: var(--wg-accent);
}

.wg-soon-badge__arrow {
  color: var(--wg-accent);
  transition: transform .2s ease;
}

.wg-soon-badge:hover .wg-soon-badge__arrow {
  transform: translateX(3px);
}

/* Section. */
.wg-soon-section {
  padding: 48px 0 0;
}

.wg-soon-panel {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  border: 1px solid rgba(255, 255, 255, .13);
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(var(--wg-accent-rgb), .11), transparent 62%),
    radial-gradient(60% 90% at 100% 100%, rgba(var(--wg-accent-2-rgb), .08), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  overflow: hidden;
  --wg-reveal: 24px;
}

.wg-soon-panel__body {
  padding: 52px 46px 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.wg-soon-pill {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border: 1px solid rgba(var(--wg-accent-rgb), .34);
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wg-accent);
}

.wg-soon-panel__title {
  margin: 22px 0 0;
  font-family: var(--wg-font-head);
  font-size: clamp(44px, 4.8vw, 74px);
  font-weight: 600;
  line-height: .96;
  letter-spacing: -.01em;
  color: #fff;
  text-wrap: balance;
}

.wg-soon-panel__text {
  margin: 18px 0 0;
  max-width: 50ch;
  font-size: 17px;
  line-height: 1.62;
  color: var(--wg-muted);
  text-wrap: pretty;
}

.wg-soon-panel__points {
  margin-top: 22px;
}

.wg-soon-panel .wg-soon-form-wrap {
  width: 100%;
  max-width: 520px;
  margin-top: 30px;
}

.wg-soon-panel__note {
  margin: 14px 0 0;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--wg-muted-3);
}

.wg-soon-panel__media {
  position: relative;
  min-height: 460px;
  border-left: 1px solid rgba(255, 255, 255, .1);
  overflow: hidden;
  background: var(--wg-panel-2);
}

.wg-soon-panel__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: wgDrift 18s ease-in-out infinite;
}

.wg-soon-panel__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 13, 10, .8), transparent 38%),
    linear-gradient(180deg, transparent 40%, rgba(6, 8, 6, .75));
  pointer-events: none;
}

/* Release date card. */
.wg-soon-date {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 22px 24px 20px;
  background: rgba(9, 11, 9, .74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .14);
}

.wg-soon-date__label {
  margin: 0;
  font-family: var(--wg-font-mono);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--wg-muted-2);
}

.wg-soon-date__value {
  margin: 6px 0 0;
  font-family: var(--wg-font-head);
  font-size: clamp(56px, 6vw, 92px);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.01em;
  background: linear-gradient(96deg, var(--wg-accent), var(--wg-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wg-soon-date__year {
  margin: 12px 0 0;
  font-family: var(--wg-font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--wg-muted-3);
}

.wg-soon-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.wg-soon-track__q {
  display: grid;
  gap: 8px;
}

.wg-soon-track__bar {
  display: block;
  height: 4px;
  background: rgba(255, 255, 255, .12);
}

.wg-soon-track__label {
  font-family: var(--wg-font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--wg-dim);
}

.wg-soon-track__q.is-before .wg-soon-track__bar {
  background: rgba(var(--wg-accent-rgb), .4);
}

.wg-soon-track__q.is-before .wg-soon-track__label {
  color: var(--wg-muted-3);
}

.wg-soon-track__q.is-target .wg-soon-track__bar {
  background: linear-gradient(90deg, var(--wg-accent), var(--wg-accent-2));
  animation: wgSoonGlow 2.4s ease-in-out infinite;
}

.wg-soon-track__q.is-target .wg-soon-track__label {
  color: var(--wg-accent);
}

/* Form. */
.wg-soon-form-wrap {
  position: relative;
}

.wg-soon-form[hidden],
.wg-soon-done[hidden],
.wg-soon[hidden] {
  display: none !important;
}

.wg-soon-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wg-soon-form__row {
  display: flex;
  gap: 10px;
}

.wg-soon-form__input {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--wg-line-strong);
  border-radius: 0;
  background: rgba(255, 255, 255, .04);
  color: #fff;
  font-family: var(--wg-font-body);
  /* 16px or more stops iOS zooming the page on focus. */
  font-size: 16px;
  line-height: 1.3;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.wg-soon-form__input::placeholder {
  color: var(--wg-muted-3);
}

.wg-soon-form__input:hover {
  border-color: rgba(255, 255, 255, .28);
}

.wg-soon-form__input:focus {
  outline: none;
  border-color: rgba(var(--wg-accent-rgb), .7);
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 0 0 3px rgba(var(--wg-accent-rgb), .14);
}

.wg-soon-form__submit {
  flex: 0 0 auto;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 18px;
  letter-spacing: .05em;
  white-space: nowrap;
}

.wg-soon-form__submit.is-busy {
  cursor: progress;
  filter: saturate(.7) brightness(.92);
}

.wg-soon-form__submit:disabled {
  cursor: progress;
}

.wg-soon-form--stack .wg-soon-form__row {
  flex-direction: column;
}

.wg-soon-form--stack .wg-soon-form__submit {
  width: 100%;
  padding: 15px 24px;
}

.wg-soon-form__msg {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--wg-muted);
}

.wg-soon-form__msg:empty {
  display: none;
}

.wg-soon-form__msg.is-error {
  color: #fca5a5;
}

.wg-soon-form__consent {
  margin: 12px 0 0;
  font-family: var(--wg-font-mono);
  font-size: 10.5px;
  letter-spacing: .05em;
  line-height: 1.6;
  color: var(--wg-muted-3);
}

.wg-soon-done {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(var(--wg-accent-rgb), .35);
  background: rgba(var(--wg-accent-rgb), .07);
  animation: wgSoonIn .45s cubic-bezier(.2, .8, .2, 1);
}

.wg-soon-done:focus {
  outline: none;
}

.wg-soon-done__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: linear-gradient(180deg, var(--wg-accent), var(--wg-accent-deep));
  color: var(--wg-ink);
  font-weight: 700;
}

.wg-soon-done__title {
  margin: 2px 0 0;
  font-family: var(--wg-font-head);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
}

.wg-soon-done__body {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--wg-muted);
}

.wg-soon-embed {
  max-width: 560px;
  margin: 28px 0;
}

/* Popup. */
.wg-soon {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  padding:
    max(24px, env(safe-area-inset-top)) 24px
    max(24px, env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.wg-soon__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 4, .86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: default;
}

.wg-soon__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  width: min(940px, 100%);
  /* Auto margins centre the dialog and still let it scroll when taller
     than the screen, which align-items: center would clip. */
  margin: auto;
  border: 1px solid var(--wg-line);
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(var(--wg-accent-rgb), .09), transparent 60%),
    var(--wg-panel);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(var(--wg-accent-rgb), .06);
}

.wg-soon__dialog:focus {
  outline: none;
}

.wg-soon.is-open .wg-soon__backdrop {
  animation: wgSoonFade .3s ease both;
}

.wg-soon.is-open .wg-soon__dialog {
  animation: wgSoonIn .45s cubic-bezier(.2, .8, .2, 1) both;
}

.wg-soon.is-closing .wg-soon__backdrop {
  animation: wgSoonFade .22s ease reverse both;
}

.wg-soon.is-closing .wg-soon__dialog {
  animation: wgSoonOut .22s ease both;
}

.wg-soon__close {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 1px solid var(--wg-line-strong);
  background: rgba(9, 11, 9, .72);
  color: var(--wg-text);
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  transition: border-color .2s ease, color .2s ease;
}

.wg-soon__close:hover {
  border-color: rgba(var(--wg-accent-rgb), .5);
  color: #fff;
}

.wg-soon__media {
  position: relative;
  min-height: 460px;
  border-right: 1px solid rgba(255, 255, 255, .1);
  overflow: hidden;
  background: var(--wg-panel-2);
}

.wg-soon__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wg-soon__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 6, .1) 30%, rgba(6, 8, 6, .88));
  pointer-events: none;
}

.wg-soon__media .wg-chip {
  z-index: 1;
}

.wg-soon__stamp {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 20px;
}

.wg-soon__stamp-label {
  margin: 0;
  font-family: var(--wg-font-mono);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--wg-light);
}

.wg-soon__stamp-value {
  margin: 4px 0 0;
  font-family: var(--wg-font-head);
  font-size: clamp(52px, 5.6vw, 76px);
  font-weight: 600;
  line-height: .9;
  background: linear-gradient(96deg, var(--wg-accent), var(--wg-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wg-soon__body {
  padding: 64px 42px 40px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wg-soon__title {
  margin: 14px 0 0;
  font-family: var(--wg-font-head);
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 600;
  line-height: 1;
  color: #fff;
  text-wrap: balance;
}

.wg-soon__text {
  margin: 14px 0 26px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--wg-muted);
  text-wrap: pretty;
}

@media (prefers-reduced-motion: reduce) {
  .wg-soon.is-open .wg-soon__backdrop,
  .wg-soon.is-open .wg-soon__dialog,
  .wg-soon.is-closing .wg-soon__backdrop,
  .wg-soon.is-closing .wg-soon__dialog,
  .wg-soon-done,
  .wg-soon-panel__media img,
  .wg-soon-track__q.is-target .wg-soon-track__bar {
    animation: none;
  }
}

@media (max-width: 900px) {
  .wg-soon-panel {
    grid-template-columns: 1fr;
  }
  .wg-soon-panel__media {
    order: -1;
    min-height: 340px;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .wg-soon-panel__media::after {
    background: linear-gradient(180deg, transparent 30%, rgba(6, 8, 6, .8));
  }
  .wg-soon-panel .wg-soon-form-wrap {
    max-width: none;
  }
  .wg-soon__dialog {
    grid-template-columns: 1fr;
    width: min(560px, 100%);
  }
  .wg-soon__media {
    min-height: 0;
    aspect-ratio: 2 / 1;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .wg-soon__body {
    padding: 30px 32px 32px;
  }
}

@media (max-width: 760px) {
  .wg-soon-section {
    padding-top: 32px;
  }
  .wg-soon-badge {
    gap: 8px;
    padding: 7px 12px 7px 10px;
    font-size: 10px;
    letter-spacing: .14em;
  }
  .wg-soon-badge__date {
    padding-left: 8px;
  }
  .wg-soon-panel__body {
    padding: 30px 22px 32px;
  }
  .wg-soon-panel__title {
    font-size: 46px;
  }
  .wg-soon-panel__text {
    font-size: 16px;
  }
  .wg-soon-panel__media {
    min-height: 300px;
  }
  .wg-soon-date {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 16px 16px 14px;
  }
  .wg-soon-date__value {
    font-size: 60px;
  }
  .wg-soon-form__submit {
    font-size: 16px;
    padding: 13px 20px;
  }

  /* Centred on phones, with a gutter so the frame reads as a card. The auto
     margins centre it vertically and still let it scroll when taller than
     the screen. */
  .wg-soon {
    padding:
      max(16px, env(safe-area-inset-top)) 16px
      max(16px, env(safe-area-inset-bottom));
  }
  .wg-soon__dialog {
    width: 100%;
    margin: auto;
  }
  .wg-soon__media {
    aspect-ratio: 16 / 7;
  }
  .wg-soon__stamp {
    left: 16px;
    bottom: 12px;
  }
  .wg-soon__stamp-value {
    font-size: 44px;
  }
  .wg-soon__close {
    top: 10px;
    right: 10px;
    padding: 8px 12px;
  }
  .wg-soon__body {
    padding: 24px 20px;
  }
  .wg-soon__title {
    font-size: 32px;
  }
  .wg-soon__text {
    font-size: 15.5px;
    margin-bottom: 20px;
  }
}

@media (max-width: 520px) {
  .wg-soon-form--inline .wg-soon-form__row {
    flex-direction: column;
  }
  .wg-soon-form--inline .wg-soon-form__submit {
    width: 100%;
  }
  .wg-soon-panel__title {
    font-size: 40px;
  }
}

/* Short landscape phones: drop the image so the form stays on screen. */
@media (max-height: 520px) and (max-width: 900px) {
  .wg-soon__media {
    display: none;
  }
  .wg-soon__body {
    padding-top: 52px;
  }
}

/* ------------------------------------------------------ Studio UI replicas */
/* Static copies of Studio screens (inc/studio-ui.php). Colours, radii and type
   follow the Studio app's own design tokens rather than the site's, so the
   replica reads as the product. */
.wg-ui {
  margin: 0;
}

.wg-ui__window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background:
    radial-gradient(60% 50% at 8% 0%, rgba(182, 242, 74, .10), transparent 60%),
    radial-gradient(50% 50% at 100% 100%, rgba(56, 189, 248, .06), transparent 60%),
    #0d0f0c;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  color: #e5e7eb;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  letter-spacing: normal;
  text-align: left;
}

.wg-ui__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .02);
}

.wg-ui__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
}

.wg-ui__bar em {
  margin-left: 10px;
  color: #6b7280;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  font-style: normal;
}

.wg-ui__screen {
  padding: 22px;
}

.wg-ui__card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 16px;
  background: rgba(255, 255, 255, .032);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(182, 242, 74, .10);
}

.wg-ui__card > * + * {
  margin-top: 16px;
}

.wg-ui__card--narrow {
  max-width: 460px;
  margin: 0 auto;
}

.wg-ui__head,
.wg-ui__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wg-ui__title,
.wg-ui__qr-title {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.wg-ui__sub {
  margin: 2px 0 0;
  color: #9ca3af;
  font-size: 12px;
}

.wg-ui__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.wg-ui__picker {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 200px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
}

.wg-ui__picker-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  font-size: 18px;
}

.wg-ui__picker-text {
  flex: 1;
  min-width: 0;
}

.wg-ui__picker-title {
  display: block;
  color: #6b7280;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.wg-ui__picker-value {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wg-ui__caret {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #9ca3af;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.wg-ui__seg {
  display: inline-flex;
  flex-shrink: 0;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  font-size: 12px;
  font-weight: 500;
}

.wg-ui__seg span {
  padding: 6px 12px;
  border-radius: 6px;
  color: #9ca3af;
}

.wg-ui__seg .is-on,
.wg-ui__pill .is-on {
  background: #b6f24a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  color: #0d0f0c;
}

.wg-ui__textarea,
.wg-ui__input {
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  color: #f3f4f6;
  font-size: 14px;
  line-height: 1.55;
}

.wg-ui__textarea {
  position: relative;
  min-height: 128px;
  padding: 8px 12px 50px;
}

.wg-ui__input {
  min-height: 60px;
  padding: 8px 12px;
}

.wg-ui__enhance {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 12px;
  border: 1px solid rgba(182, 242, 74, .4);
  border-radius: 8px;
  background: rgba(182, 242, 74, .1);
  color: #b6f24a;
  font-size: 12px;
  font-weight: 500;
}

.wg-ui__small {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.45;
}

.wg-ui__card > .wg-ui__small {
  margin-top: 6px;
}

.wg-ui__light {
  color: #d1d5db;
}

.wg-ui__ref {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #293024;
  border-radius: 8px;
  background: rgba(255, 255, 255, .02);
}

.wg-ui__thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 6px;
}

.wg-ui__ref-text {
  flex: 1;
  min-width: 0;
}

.wg-ui__ref-name {
  margin: 0;
  overflow: hidden;
  color: #e5e7eb;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wg-ui__ref .wg-ui__small {
  margin-top: 2px;
}

.wg-ui__ref-remove {
  flex-shrink: 0;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 500;
}

.wg-ui__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.wg-ui__caps,
.wg-ui__label {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.wg-ui__label {
  display: block;
  margin-bottom: 4px;
}

.wg-ui__note {
  color: #6b7280;
  font-size: 11px;
}

.wg-ui__check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  color: #d1d5db;
  font-size: 14px;
}

.wg-ui__box {
  width: 13px;
  height: 13px;
  border: 1px solid #6b7280;
  border-radius: 3px;
  background: #fff;
}

.wg-ui__btn,
.wg-ui__btn2 {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
}

.wg-ui__btn {
  background: linear-gradient(180deg, #b6f24a, #a3e635);
  box-shadow: 0 6px 20px rgba(182, 242, 74, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
  color: #0e1408;
  font-weight: 600;
}

.wg-ui__btn--lg {
  padding: 12px 32px;
  font-size: 16px;
}

.wg-ui__btn2 {
  border: 1px solid rgba(255, 255, 255, .085);
  background: rgba(255, 255, 255, .07);
  color: #f3f4f6;
  font-weight: 500;
}

.wg-ui__remix {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(182, 242, 74, .4);
  border-radius: 8px;
  background: rgba(182, 242, 74, .1);
  font-size: 14px;
}

.wg-ui__remix-label {
  color: #b6f24a;
}

.wg-ui__remix-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: #d1d5db;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wg-ui__remix-link {
  color: #9ca3af;
  font-size: 12px;
}

.wg-ui__remix-link.is-dim {
  color: #6b7280;
}

.wg-ui__qr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wg-ui__badge {
  padding: 4px 12px;
  border-radius: 999px;
  background: #14532d;
  color: #86efac;
  font-size: 12px;
  font-weight: 700;
}

.wg-ui__card--narrow > .wg-ui__metric {
  margin-top: 0;
}

.wg-ui__qr-head + .wg-ui__metric {
  margin-top: 12px;
}

.wg-ui__metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #293024;
  color: #9ca3af;
  font-size: 14px;
}

.wg-ui__metric:last-child {
  border-bottom: 0;
}

.wg-ui__metric-value {
  color: #d1d5db;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-weight: 600;
}

.wg-ui__metric-value.is-good {
  color: #34d399;
}

.wg-ui--progress .wg-ui__screen {
  display: flex;
  justify-content: center;
  padding: 40px 22px;
}

.wg-ui__orb {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: min(100%, 400px);
  aspect-ratio: 1;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(182, 242, 74, .16) 0%, rgba(56, 189, 248, .09) 32%, rgba(6, 10, 14, .96) 64%), #060a0e;
  box-shadow: inset 0 0 110px rgba(255, 255, 255, .07), 0 0 120px rgba(182, 242, 74, .28), 0 0 60px rgba(56, 189, 248, .2), 0 0 0 12px rgba(0, 0, 0, .45);
}

.wg-ui__orb::before {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(182, 242, 74, .9) 1px, transparent 1.8px) 0 0 / 13px 13px,
    radial-gradient(circle, rgba(56, 189, 248, .75) 1px, transparent 1.8px) 6px 6px / 13px 13px;
  -webkit-mask: radial-gradient(circle, #000 48%, transparent 71%);
  mask: radial-gradient(circle, #000 48%, transparent 71%);
  opacity: .55;
}

.wg-ui__orb-card {
  position: relative;
  width: min(300px, 88%);
  padding: 16px 18px 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(10, 13, 8, .86), rgba(10, 13, 8, .7));
  box-shadow: 0 18px 45px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .08);
  text-align: center;
}

.wg-ui__orb-kicker {
  margin: 0 0 7px;
  color: rgba(182, 242, 74, .9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.wg-ui__orb-stage {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.wg-ui__orb-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.wg-ui__orb-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #b6f24a, #38bdf8, #fff);
  box-shadow: 0 0 16px rgba(182, 242, 74, .65);
}

.wg-ui__orb-meta {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
}

.wg-ui__orb-meta b {
  margin-right: 8px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.wg-ui--erase .wg-ui__screen {
  padding: 0;
}

.wg-ui__erase {
  background: rgba(0, 0, 0, .95);
}

.wg-ui__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding: 12px 20px;
  border-bottom: 1px solid #293024;
}

.wg-ui__tools-title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.wg-ui__pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 999px;
  background: rgba(255, 255, 255, .032);
  color: #d1d5db;
  font-size: 12px;
}

.wg-ui__pill span {
  padding: 5px 12px;
  border-radius: 999px;
}

.wg-ui__pill .is-on {
  font-weight: 600;
}

.wg-ui__pill--zoom span {
  padding: 1px 8px;
  font-size: 17px;
  line-height: 1.2;
}

.wg-ui__spacer {
  flex: 1;
}

.wg-ui__brush {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d1d5db;
  font-size: 12px;
}

.wg-ui__range {
  position: relative;
  width: 90px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .2);
}

.wg-ui__range span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 45%;
  border-radius: 2px;
  background: #b6f24a;
}

.wg-ui__range span::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #b6f24a;
}

.wg-ui__stage {
  position: relative;
}

.wg-ui__stage img {
  display: block;
  width: 100%;
  height: auto;
}

.wg-ui__paint {
  position: absolute;
  border-radius: 45% 55% 40% 60%;
  background: rgba(182, 242, 74, .42);
  box-shadow: 0 0 0 2px rgba(182, 242, 74, .7), 0 0 24px rgba(182, 242, 74, .45);
}

.wg-ui__hint {
  position: absolute;
  bottom: 12px;
  left: 16px;
  max-width: calc(100% - 32px);
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(12, 15, 12, .72);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
  color: #e5e7eb;
  font-size: 12px;
}

@media (max-width: 640px) {
  .wg-ui__screen {
    padding: 12px;
  }
  .wg-ui__picker {
    width: 100%;
  }
  .wg-ui__foot > * {
    flex: 1 1 100%;
  }
  .wg-ui__btn--lg {
    text-align: center;
  }
  .wg-ui__spacer {
    display: none;
  }
  .wg-ui__tools {
    padding: 10px 12px;
  }
  .wg-ui__hint {
    position: static;
    display: block;
    max-width: none;
    margin: 0;
    border-width: 1px 0 0;
    border-radius: 0;
  }
}

/* ---------------------------------------------------------- Enterprise strip */
.wg-enterprise {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: 18px;
  padding: 24px 26px;
  border: 1px solid rgba(var(--wg-accent-2-rgb), .28);
  background: linear-gradient(90deg, rgba(var(--wg-accent-2-rgb), .07), rgba(255, 255, 255, .02) 60%);
}

.wg-enterprise[data-reveal] {
  --wg-reveal: 24px;
}

.wg-enterprise__text {
  flex: 1 1 420px;
}

.wg-enterprise__name {
  margin: 0;
  font-family: var(--wg-font-head);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #fff;
}

.wg-enterprise__body {
  margin: 6px 0 0;
  font-size: 16px;
  color: var(--wg-muted);
}

/* Studio UI replica widths: close to how wide the real screens render, so a
   replica never stretches wider than the app it copies. */
.wg-ui--photo,
.wg-ui--remix,
.wg-ui--layered {
  max-width: 1040px;
  margin-right: auto;
  margin-left: auto;
}

.wg-ui--quality {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
}

.wg-ui--progress {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

/* ------------------------------------------------ Photo to world example */
/* [wg360_photo_example]: the photo beside the world built from it. A 2:3
   photo in one column and a 2:1 viewer in three columns come out the same
   height, so the pair reads as one row. */
.wg-photo-ex__head {
  max-width: 760px;
  margin-bottom: 28px;
}

.wg-photo-ex__title {
  margin: 10px 0 0;
  color: #fff;
  font-family: var(--wg-font-head);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 600;
  line-height: 1.1;
}

.wg-photo-ex__body {
  margin: 12px 0 0;
  color: var(--wg-muted);
  font-size: 17px;
  line-height: 1.7;
}

.wg-photo-ex__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 3fr);
  gap: 20px;
  align-items: center;
}

.wg-photo-ex figure {
  margin: 0;
}

.wg-photo-ex .wg-embed {
  margin-top: 0;
}

.wg-photo-ex__photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--wg-line);
}

.wg-photo-ex figcaption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
  color: var(--wg-muted-2);
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.wg-photo-ex__num {
  color: var(--wg-accent);
}

.wg-photo-ex__arrow {
  color: var(--wg-accent);
  font-size: 28px;
}

@media (max-width: 760px) {
  .wg-photo-ex__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .wg-photo-ex__photo {
    width: min(62%, 260px);
    margin: 0 auto !important;
  }
  .wg-photo-ex__photo figcaption {
    justify-content: center;
  }
  .wg-photo-ex__arrow {
    justify-self: center;
    transform: rotate(90deg);
  }
}

/* ------------------------------------------------------ Feature spotlights */
/* Landing page rows: copy beside a real showcase, alternating sides. The
   photo row runs full width, because the photo and the world sit side by
   side inside it. */
.wg-spotlights__lede {
  max-width: 60ch;
}

.wg-spot {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
  margin-top: 88px;
}

.wg-spotlights > div:first-child + .wg-spot {
  margin-top: 56px;
}

.wg-spot--flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.wg-spot--flip .wg-spot__copy {
  order: 2;
}

.wg-spot--wide {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.wg-spot--wide .wg-spot__copy {
  max-width: 780px;
}

.wg-spot .wg-embed {
  margin-top: 0;
}

.wg-spot__title {
  margin: 10px 0 0;
  color: #fff;
  font-family: var(--wg-font-head);
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 600;
  line-height: 1.1;
}

.wg-spot__body {
  margin: 14px 0 0;
  color: var(--wg-muted);
  font-size: 17px;
  line-height: 1.7;
}

.wg-spot__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--wg-accent);
  font-family: var(--wg-font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}

.wg-spot__link span {
  transition: transform .2s ease;
}

.wg-spot__link:hover span {
  transform: translateX(4px);
}

/* The Unity plugin banner closes the section. */
.wg-spotlights > .wg-embed {
  margin-top: 88px;
}

@media (max-width: 900px) {
  .wg-spot,
  .wg-spot--flip {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    margin-top: 64px;
  }
  .wg-spot--flip .wg-spot__copy {
    order: 0;
  }
  .wg-spotlights > .wg-embed {
    margin-top: 64px;
  }
}

/* Studio UI replicas: No living creatures, ticked. */
.wg-ui__check.is-on {
  border-color: #b6f24a;
  background: rgba(182, 242, 74, .1);
  color: #f3f4f6;
}

.wg-ui__check.is-on .wg-ui__box {
  position: relative;
  border-color: #b6f24a;
  background: #b6f24a;
}

.wg-ui__check.is-on .wg-ui__box::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  width: 3px;
  height: 7px;
  border: solid #0d0f0c;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Photos in articles: unlike diagrams, they shrink to fit a phone rather
   than scrolling sideways. */
@media (max-width: 760px) {
  .wg-figure--photo .wg-figure__frame {
    overflow-x: visible;
  }
  .wg-figure--photo .wg-figure__frame img {
    width: 100%;
    max-width: 100%;
  }
}

/* Long inline code, such as a dotted property name, wraps on a phone
   instead of pushing the page sideways. */
.wg-prose :not(pre) > code {
  overflow-wrap: anywhere;
}

/* The blog index intro: the Blog page's own content, under the heading. */
.wg-page-head__intro p {
  margin: 0;
}

.wg-page-head__intro p + p {
  margin-top: .8em;
}

.wg-page-head__intro a {
  color: var(--wg-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------- social icons and sharing */

/* Profile icons, in the header and footer. The icons are WordPress core's own
   brand icons, drawn in the current text colour. */
.wg-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wg-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--wg-muted-2);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.wg-social__link:hover,
.wg-social__link:focus-visible {
  color: #fff;
  border-color: var(--wg-line);
  background: rgba(255, 255, 255, .04);
}

.wg-social__link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.wg-social__link--text {
  width: auto;
  padding: 0 10px;
  border-radius: 17px;
  font-size: 12px;
}

/* The header has room for icons on wide screens and in the mobile menu, not
   in between, where the navigation needs the space. */
.wg-social--header {
  gap: 0;
}

@media (min-width: 901px) and (max-width: 1239px) {
  .wg-social--header {
    display: none;
  }
}

@media (max-width: 900px) {
  .wg-header.is-open .wg-social--header {
    gap: 6px;
  }
}

.wg-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
}

.wg-social--footer .wg-social__link {
  width: 38px;
  height: 38px;
  border-color: var(--wg-line-soft);
}

/* Byline under the headline, with the compact share buttons beside it. */
.wg-article__by {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-top: 28px;
}

.wg-article__by + .wg-article__meta {
  margin-top: 14px;
}

.wg-byline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wg-byline__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  color: var(--wg-light-2);
}

.wg-byline__name a {
  color: #fff;
  font-weight: 500;
  transition: color .2s ease;
}

.wg-byline__name a:hover {
  color: var(--wg-accent);
}

.wg-byline__role {
  font-size: 13px;
  color: var(--wg-muted-2);
}

.wg-avatar {
  display: block;
  flex: 0 0 auto;
  border: 1px solid var(--wg-line);
  border-radius: 50%;
  object-fit: cover;
  background: var(--wg-panel);
}

.wg-avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: linear-gradient(135deg, var(--wg-accent), var(--wg-accent-2));
  font-family: var(--wg-font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--wg-ink);
}

/* Share buttons. */
.wg-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.wg-share__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wg-share__label,
.wg-share__title {
  margin: 0;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wg-muted-3);
}

.wg-share__title {
  flex: 0 0 100%;
  color: var(--wg-accent);
}

.wg-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--wg-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .03);
  color: var(--wg-light-2);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.wg-share__btn:hover,
.wg-share__btn:focus-visible,
.wg-share__btn.is-done {
  border-color: var(--wg-accent);
  background: var(--wg-accent);
  color: var(--wg-ink);
}

.wg-share__btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.wg-share__text {
  padding: 0 12px;
  font-size: 12px;
}

.wg-share__btn:has(.wg-share__text) {
  width: auto;
  border-radius: 20px;
}

.wg-share__status {
  margin: 0;
  font-size: 13px;
  color: var(--wg-accent);
}

.wg-share--compact {
  gap: 8px 12px;
}

.wg-share--compact .wg-share__btn {
  width: 34px;
  height: 34px;
}

.wg-share--compact .wg-share__btn svg {
  width: 16px;
  height: 16px;
}

.wg-share--full {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--wg-line-soft);
}

/* About the author, at the end of an article. */
.wg-author-box {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-top: 32px;
  padding: 26px 28px;
  border: 1px solid var(--wg-line);
  background: var(--wg-panel);
}

.wg-author-box .wg-avatar--initials {
  font-size: 26px;
}

.wg-author-box__body {
  min-width: 0;
}

.wg-author-box .wg-card__kicker {
  margin: 0 0 6px;
}

.wg-author-box__name {
  margin: 0;
  font-family: var(--wg-font-head);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
}

.wg-author-box__name a {
  color: #fff;
}

.wg-author-box__role {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--wg-muted-2);
}

.wg-author-box__bio p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--wg-light);
}

.wg-author-box__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 14px 0 0;
}

.wg-author-box__links .wg-card__more {
  padding-top: 0;
}

@media (max-width: 600px) {
  .wg-author-box {
    flex-direction: column;
    padding: 22px 20px;
  }
}

/* An author's own page. */
.wg-author-head {
  display: flex;
  align-items: center;
  gap: 22px;
}

.wg-author-head .wg-page-head__title {
  margin: 0;
}

.wg-author-head .wg-avatar--initials {
  font-size: 32px;
}

.wg-author-head__role {
  margin: 8px 0 0;
  font-size: 16px;
  color: var(--wg-muted-2);
}

/* Studio UI replicas: the Adjust panel, floating over the world as it does in
   Studio. On a phone the panel moves below the world. */
.wg-ui--adjust .wg-ui__screen {
  padding: 0;
}

.wg-ui__adjust {
  position: relative;
  min-height: 560px;
  background: #000;
}

.wg-ui__adjust-stage {
  position: absolute;
  inset: 0;
}

.wg-ui__adjust-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
}

.wg-ui__adj {
  position: absolute;
  top: 16px;
  right: 16px;
  bottom: 16px;
  width: 268px;
  padding: 18px 18px 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(22, 26, 24, .78);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}

.wg-ui__adj-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.wg-ui__adj-title {
  color: #38bdf8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wg-ui__adj-close {
  color: #9ca3af;
  font-size: 20px;
  line-height: 1;
}

.wg-ui__adj-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 8px 10px;
  padding: 6px 0 8px;
}

.wg-ui__adj-label {
  color: #e5e7eb;
  font-size: 13.5px;
  font-weight: 600;
}

.wg-ui__adj-value {
  color: #9ca3af;
  font-family: var(--wg-font-mono);
  font-size: 12px;
}

.wg-ui__adj-value.is-set {
  color: #b6f24a;
}

.wg-ui__adj-track {
  position: relative;
  grid-column: 1 / -1;
  height: 4px;
  margin: 4px 6px 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, .14);
}

.wg-ui__adj-track span {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #b6f24a;
  box-shadow: 0 0 0 3px rgba(182, 242, 74, .16);
  transform: translate(-50%, -50%);
}

.wg-ui__adj-rule {
  height: 1px;
  margin: 6px 0 4px;
  background: rgba(255, 255, 255, .1);
}

.wg-ui__adj-foot {
  display: flex;
  justify-content: space-between;
  padding: 8px 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: #9ca3af;
  font-size: 12.5px;
}

.wg-ui__adj-note {
  margin: 10px 0 0;
  color: #9ca3af;
  font-size: 11.5px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .wg-ui__adjust {
    min-height: 0;
  }
  .wg-ui__adjust-stage {
    position: relative;
    aspect-ratio: 16 / 9;
  }
  .wg-ui__adj {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: auto;
    margin: 0;
    border-width: 1px 0 0;
    border-radius: 0;
    background: rgba(22, 26, 24, .96);
  }
}

/* A feature spotlight inside page content, such as the Studio page. */
.wg-spot--inline {
  margin-top: 64px;
}

.wg-spot--inline .wg-spot__title {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .wg-spot--inline {
    margin-top: 48px;
  }
}

/* ------------------------------------------------------------ remix chains */

/* A world and the remixes made from it: the chosen step large, the whole
   chain beneath. */
.wg-chain {
  margin: 0;
}

.wg-chain__stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--wg-line);
  border-radius: 12px;
  background: var(--wg-panel-2);
}

.wg-chain__main {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  transition: opacity .25s ease;
}

.wg-chain__main.is-changing {
  opacity: .55;
}

.wg-chain__now {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: calc(100% - 28px);
  margin: 0;
  padding: 10px 14px 11px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(11, 13, 10, .74);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.wg-chain__step {
  font-family: var(--wg-font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wg-accent);
}

.wg-chain__title {
  font-family: var(--wg-font-head);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
}

.wg-chain__change {
  font-size: 13px;
  color: var(--wg-light-2);
}

.wg-chain__steps {
  display: grid;
  grid-template-columns: repeat(var(--wg-chain-n, 5), minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.wg-chain__btn {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--wg-line);
  border-radius: 10px;
  background: var(--wg-panel);
  color: var(--wg-light-2);
  text-decoration: none;
  opacity: .72;
  transition: opacity .2s ease, border-color .2s ease;
}

.wg-chain__btn img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.wg-chain__btn:hover,
.wg-chain__btn:focus-visible {
  opacity: 1;
}

.wg-chain__btn.is-on {
  border-color: var(--wg-accent);
  box-shadow: 0 0 0 1px var(--wg-accent);
  opacity: 1;
}

.wg-chain__num {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(11, 13, 10, .8);
  color: #fff;
  font: 600 11px/22px var(--wg-font-mono);
  text-align: center;
}

.wg-chain__btn.is-on .wg-chain__num {
  background: var(--wg-accent);
  color: var(--wg-ink);
}

.wg-chain__name {
  display: block;
  padding: 7px 10px 8px;
  font-size: 12.5px;
  line-height: 1.3;
}

.wg-chain figcaption {
  margin-top: 12px;
  font-family: var(--wg-font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--wg-muted-3);
}

/* On a phone the label sits under the image, and the steps scroll sideways. */
@media (max-width: 640px) {
  .wg-chain__now {
    position: static;
    max-width: none;
    border-width: 1px 0 0;
    border-radius: 0;
    background: var(--wg-panel);
  }
  .wg-chain__title {
    font-size: 19px;
  }
  .wg-chain__steps {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 42%;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--wg-line) transparent;
  }
  .wg-chain__steps li {
    scroll-snap-align: start;
  }
}

/* Studio UI replicas: the Remix this world dialog, over the world. */
.wg-ui--remix .wg-ui__screen {
  padding: 0;
}

.wg-ui__rmx-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 26px 20px;
  background: #000;
}

.wg-ui__rmx-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px) brightness(.4);
}

.wg-ui__rmx {
  position: relative;
  width: 100%;
  max-width: 470px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  background: #1a1d19;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}

.wg-ui__rmx-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.wg-ui__rmx-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(56, 189, 248, .1);
}

.wg-ui__rmx-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #38bdf8;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wg-ui__rmx-text {
  flex: 1;
  min-width: 0;
}

.wg-ui__rmx-title {
  margin: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.wg-ui__rmx-sub {
  margin: 4px 0 0;
  color: #9ca3af;
  font-size: 12.5px;
  line-height: 1.45;
}

.wg-ui__rmx-close {
  color: #9ca3af;
  font-size: 20px;
  line-height: 1;
}

.wg-ui__rmx-body {
  padding: 4px 20px 0;
}

.wg-ui__rmx-cap {
  margin: 14px 0 7px;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wg-ui__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wg-ui__chip {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .025);
  color: #e5e7eb;
  font-size: 12.5px;
}

.wg-ui__chip.is-on {
  border-color: #b6f24a;
  background: rgba(182, 242, 74, .12);
  color: #fff;
}

.wg-ui__select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: #0f120e;
  color: #f3f4f6;
  font-size: 13px;
}

.wg-ui__select .wg-ui__caret {
  width: 14px;
  height: 14px;
}

.wg-ui__rmx-input {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: #0f120e;
  color: #f3f4f6;
  font-size: 13px;
}

.wg-ui__rmx-input.is-empty {
  color: #6b7280;
}

.wg-ui__rmx-help {
  margin: 6px 0 0;
  color: #9ca3af;
  font-size: 11.5px;
  line-height: 1.45;
}

.wg-ui__rmx-seed {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 14px;
}

.wg-ui__rmx-box {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 4px;
}

.wg-ui__rmx-box.is-on {
  border-color: #b6f24a;
  background: #b6f24a;
}

.wg-ui__rmx-box.is-on::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid #0d0f0c;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.wg-ui__rmx-seed-title {
  margin: 0;
  color: #f3f4f6;
  font-size: 13.5px;
}

.wg-ui__rmx-seed .wg-ui__rmx-help {
  margin-top: 3px;
}

.wg-ui__rmx-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 20px 0;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #9ca3af;
  font-size: 12.5px;
}

@media (max-width: 640px) {
  .wg-ui__rmx-wrap {
    padding: 14px 10px;
  }
  .wg-ui__rmx-head,
  .wg-ui__rmx-body {
    padding-right: 14px;
    padding-left: 14px;
  }
  .wg-ui__rmx-foot {
    margin-right: 14px;
    margin-left: 14px;
  }
}

/* ------------------------------------------------ preferred source on Google */

.wg-prefsrc--head {
  margin-top: 18px;
}

.wg-prefsrc__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 13px;
  border: 1px solid var(--wg-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: var(--wg-light);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.wg-prefsrc__btn[hidden] {
  display: none;
}

.wg-prefsrc__btn svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--wg-accent);
  stroke-width: 1.8;
  stroke-linejoin: round;
  transition: fill .2s ease;
}

.wg-prefsrc__btn:hover,
.wg-prefsrc__btn:focus-visible {
  border-color: var(--wg-accent);
  background: rgba(182, 242, 74, .08);
  color: #fff;
}

.wg-prefsrc__btn:hover svg,
.wg-prefsrc__btn:focus-visible svg {
  fill: var(--wg-accent);
}

/* Google's own button, and the theme's link while it waits. */
.wg-prefsrc__google {
  display: inline-block;
  max-width: 100%;
}

/* The card at the end of an article. */
.wg-prefsrc--card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin-top: 32px;
  padding: 24px 28px;
  border: 1px solid var(--wg-line);
  background: var(--wg-panel);
}

.wg-prefsrc__copy {
  flex: 1 1 320px;
  min-width: 0;
}

.wg-prefsrc__title {
  margin: 0;
  font-family: var(--wg-font-head);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
}

.wg-prefsrc__text {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--wg-light-2);
}

@media (max-width: 600px) {
  .wg-prefsrc--card {
    padding: 22px 20px;
  }
}

/* ------------------------------------------------------------ QA round 1 */

/* FAQ: the questions as dropdowns, three to a row. Each opens in place, so
   the others in its row keep their size. */
.wg-faq__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  margin-top: 40px;
  border-top: 0;
}

.wg-faq__item {
  border: 1px solid var(--wg-line);
  background: var(--wg-panel);
  transition: border-color .2s ease;
}

.wg-faq__item:has(.wg-faq__q[aria-expanded="true"]) {
  border-color: rgba(var(--wg-accent-rgb), .45);
}

.wg-faq__q {
  align-items: flex-start;
  padding: 18px 20px;
}

.wg-faq__q-text {
  font-size: 19px;
  line-height: 1.25;
}

.wg-faq__sign {
  margin-top: 2px;
}

.wg-faq__a {
  max-width: none;
  padding: 0 20px 20px;
  font-size: 15.5px;
}

@media (max-width: 1000px) {
  .wg-faq__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wg-faq__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 28px;
  }
}

/* A viewer in page content has no drop shadow: it fell across the first line
   of the text beneath it. The text gets a little more room instead. */
.wg-prose .wg-viewer__frame {
  box-shadow: 0 0 0 1px rgba(var(--wg-accent-rgb), .06);
}

.wg-prose > .wg-viewer:first-child + *,
.wg-prose > .wg-embed:first-child + * {
  margin-top: 44px;
}

/* In articles and guides, diagrams and photos keep to the width of the text
   rather than the full column. A diagram still opens full size on a click. */
.wg-article__body > .wg-figure {
  max-width: 78ch;
}

.wg-article__body > .wg-figure--photo .wg-figure__frame img {
  max-height: 440px;
  object-fit: cover;
}

/* The 360 viewer's invert button: swaps the drag direction. */
.wg-pv-invert {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(9, 11, 9, .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--wg-text);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.wg-pv-invert svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wg-pv-invert:hover,
.wg-pv-invert:focus-visible {
  border-color: var(--wg-accent);
  color: var(--wg-accent);
}

.wg-pv-invert[aria-pressed="true"] {
  border-color: var(--wg-accent);
  background: var(--wg-accent);
  color: var(--wg-ink);
}

pano-viewer[data-state="fallback"] .wg-pv-invert {
  display: none;
}

/* The HD chip sits beside the button rather than under it. */
.wg-pv-hd {
  right: 56px;
}

@media (max-width: 760px) {
  .wg-pv-invert {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
  }
  .wg-pv-hd {
    right: 50px;
  }
}

/* Remix sets: a thin bar across the top of the image while a step loads. */
.wg-chain__stage::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 3px;
  background: linear-gradient(90deg, var(--wg-accent), var(--wg-accent-2));
  opacity: 0;
  transform: translateX(-100%);
}

.wg-chain.is-loading .wg-chain__stage::after {
  opacity: 1;
  animation: wgPvSlide 1.1s ease-in-out infinite;
}

.wg-chain.is-loading .wg-chain__main {
  opacity: .55;
}

@media (prefers-reduced-motion: reduce) {
  .wg-chain.is-loading .wg-chain__stage::after {
    width: 100%;
    transform: none;
    animation: none;
    opacity: .6;
  }
}

/* An author with no page of their own: the name without a link. */
.wg-byline__name strong {
  font-weight: 600;
  color: #fff;
}

.wg-author-box__name {
  color: #fff;
}

/* The prompts behind the worlds: [wg360_world_prompts]. */
.wg-prompts__title {
  margin: 0;
  font-family: var(--wg-font-head);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
}

.wg-prompts__intro {
  max-width: 78ch;
  margin: 14px 0 0;
  color: var(--wg-muted);
}

.wg-prompts__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.wg-prompt {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--wg-line);
  background: var(--wg-panel);
}

.wg-prompt__thumb {
  flex: 0 0 132px;
  width: 132px;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border: 1px solid var(--wg-line);
}

.wg-prompt__body {
  flex: 1;
  min-width: 0;
}

.wg-prompt__name {
  margin: 0;
  font-family: var(--wg-font-head);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
}

.wg-prompt__meta {
  margin: 4px 0 0;
  font-family: var(--wg-font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wg-muted-2);
}

.wg-prompt__text {
  margin: 12px 0 0;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--wg-accent);
  font-size: 15px;
  line-height: 1.6;
  color: var(--wg-light);
  overflow-wrap: anywhere;
}

.wg-prompt__copy {
  margin-top: 12px;
  padding: 6px 12px;
  border: 1px solid var(--wg-line);
  background: rgba(255, 255, 255, .03);
  color: var(--wg-light-2);
  font-family: var(--wg-font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.wg-prompt__copy:hover,
.wg-prompt__copy:focus-visible,
.wg-prompt__copy.is-done {
  border-color: var(--wg-accent);
  background: var(--wg-accent);
  color: var(--wg-ink);
}

@media (max-width: 900px) {
  .wg-prompts__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .wg-prompt {
    flex-direction: column;
  }
  .wg-prompt__thumb {
    flex-basis: auto;
    width: 100%;
  }
}

/* The 360 viewer's info button and readout, for people who work on the site:
   which image is on screen and how far it is being enlarged or reduced. */
.wg-pv-info-btn {
  position: absolute;
  z-index: 4;
  top: 56px;
  right: 14px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(9, 11, 9, .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--wg-text);
  font: italic 600 15px/1 Georgia, "Times New Roman", serif;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.wg-pv-info-btn:hover,
.wg-pv-info-btn:focus-visible,
.wg-pv-info-btn[aria-expanded="true"] {
  border-color: var(--wg-accent);
  color: var(--wg-accent);
}

.wg-pv-info {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 56px;
  width: min(430px, calc(100% - 70px));
  max-height: calc(100% - 28px);
  overflow: auto;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(9, 11, 9, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: default;
  -webkit-user-select: text;
  user-select: text;
}

.wg-pv-info[hidden] {
  display: none;
}

.wg-pv-info dl {
  margin: 0;
}

.wg-pv-info dt {
  margin: 10px 0 2px;
  font-family: var(--wg-font-mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wg-accent);
}

.wg-pv-info dt:first-child {
  margin-top: 0;
}

.wg-pv-info dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--wg-text);
  overflow-wrap: anywhere;
}

.wg-pv-info__copy {
  margin-top: 12px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: none;
  color: var(--wg-light-2);
  font-family: var(--wg-font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}

.wg-pv-info__copy:hover,
.wg-pv-info__copy:focus-visible {
  border-color: var(--wg-accent);
  color: var(--wg-accent);
}

pano-viewer[data-state="fallback"] .wg-pv-info-btn {
  display: none;
}

@media (max-width: 760px) {
  .wg-pv-info-btn {
    top: 48px;
    right: 10px;
    width: 32px;
    height: 32px;
  }
  .wg-pv-info {
    top: 10px;
    right: 50px;
  }
}
