/* callaloop.com: one stylesheet for every page. */

@font-face {
  font-family: "Calistoga";
  src: url("/assets/fonts/calistoga-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/assets/fonts/atkinson-next-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url("/assets/fonts/bigshoulders-800-latin.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* dasheen greens and lagoon teal, warmed by the sunrise in Venture Out's icon */
  --pine-950: #0d2b24;
  --pine-900: #133a31;
  --pine-800: #1a493e;
  --pine-700: #24594c;
  --pine-600: #2b5a4e;
  --leaf: #2f7d5f;
  --leaf-lit: #57ad84;
  --teal-300: #7fd1c2;
  --foam: #eaf4ec;
  --lichen: #d4ead9;
  --mist: #a9c7bc;
  --apricot: #ffb067;
  --cream: #f7efe2;

  --font-display: "Calistoga", Georgia, serif;
  --font-body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-game: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;

  /* type scale after Bringhurst: 14 · 17/18 · 21 · 24/30 · 36/48 · 48/84 */
  --step--1: 0.875rem;
  --step-0: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.1875rem, 1.05rem + 0.5vw, 1.3125rem);
  --step-2: clamp(1.5rem, 1.25rem + 0.9vw, 1.875rem);
  --step-3: clamp(2.125rem, 1.45rem + 2.6vw, 3rem);
  --step-4: clamp(2.875rem, 1.6rem + 5.2vw, 5.25rem);

  --gutter: clamp(1rem, 4.5vw, 2.5rem);
  --wrap: 72rem;
  --header-h: 4rem;
  --radius-media: 1.375rem;
  --radius-panel: 1.5rem;
  --radius-chip: 0.875rem;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--pine-900);
  color: var(--foam);
  font: 400 var(--step-0) / 1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  text-decoration-style: wavy;
}

::selection {
  background: var(--apricot);
  color: var(--pine-950);
}

:focus-visible {
  outline: 3px solid var(--apricot);
  outline-offset: 3px;
  border-radius: 6px;
}

h1:focus,
h2:focus {
  outline: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 200;
  padding: 0.625rem 1rem;
  border-radius: 999px;
  background: var(--apricot);
  color: var(--pine-950);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.icon {
  width: 1.375rem;
  height: 1.375rem;
  flex: none;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

/* ------------------------------------------------------------ the mark */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  border-radius: 10px;
}

.brand-mark {
  width: 3.1rem;
  height: auto;
  overflow: visible;
}

.mark-leaf {
  fill: var(--leaf);
}

.mark-line {
  fill: none;
  stroke: var(--apricot);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}

.brand:hover .mark-line {
  animation: draw 1.3s var(--ease-out) both;
}

@keyframes draw {
  from {
    stroke-dashoffset: 100;
  }
}

.brand-word {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.01em;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.375rem;
  border: 0;
  border-radius: 999px;
  font: 700 1rem / 1.15 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out), background-color 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  color: var(--pine-950);
  background: linear-gradient(#ffc489, #ffa75a);
  box-shadow:
    inset 0 -3px 0 rgb(150 62 14 / 0.32),
    0 8px 18px -10px rgb(190 90 25 / 0.75);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 -1px 0 rgb(150 62 14 / 0.32),
    0 3px 8px -5px rgb(190 90 25 / 0.6);
}

.btn-quiet {
  color: var(--foam);
  background: transparent;
  box-shadow: inset 0 0 0 2px currentColor;
}

.btn-quiet:hover {
  background: color-mix(in srgb, currentColor 10%, transparent);
}

.btn-quiet:active {
  transform: translateY(1px);
}

.btn-quiet:disabled {
  opacity: 0.55;
  cursor: default;
}

.btn-small {
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--foam);
  background: var(--pine-800);
  box-shadow: inset 0 0 0 1px var(--pine-700);
  cursor: pointer;
  transition: transform 0.15s var(--ease-out), background-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.icon-btn:hover {
  background: var(--pine-700);
}

.icon-btn:active {
  transform: scale(0.94);
}

.icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* ------------------------------------------------------------ the home pane */

/* The home page is a single pane: no document scroll. Sections swap in place. */
html:has(body.page-pane),
body.page-pane {
  height: 100%;
  overflow: hidden;
}

.pane {
  position: relative;
  isolation: isolate;
  height: 100svh;
  min-height: 32rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "brand tabs"
    "panes panes"
    "foot foot";
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 10% 6%, rgb(70 150 115 / 0.2), transparent 60%),
    radial-gradient(70% 60% at 100% 100%, rgb(6 24 20 / 0.5), transparent 70%),
    var(--pine-900);
}

.bush {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pane > .brand {
  grid-area: brand;
  z-index: 2;
  align-self: center;
  margin: calc(env(safe-area-inset-top) + 1.1rem) 0 0 var(--gutter);
  color: var(--foam);
}

.tabs {
  grid-area: tabs;
  z-index: 2;
  justify-self: end;
  align-self: center;
  display: flex;
  gap: 0.25rem;
  margin: calc(env(safe-area-inset-top) + 1rem) var(--gutter) 0 0;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgb(13 43 36 / 0.6);
  box-shadow: inset 0 0 0 1px rgb(127 209 194 / 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.tabs a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  color: var(--lichen);
  font-weight: 700;
  font-size: 0.9375rem;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
  -webkit-tap-highlight-color: transparent;
}

.tabs a:hover {
  color: var(--foam);
  background: rgb(234 244 236 / 0.07);
}

.tabs a[aria-current="page"] {
  color: var(--pine-950);
  background: var(--apricot);
}

.tab-icon {
  display: none;
}

.panes {
  grid-area: panes;
  z-index: 1;
  position: relative;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.panel {
  display: none;
  min-height: 100%;
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
  padding-block: clamp(1rem, 4vh, 3rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

/* without JavaScript the URL fragment picks the panel, Home when there isn't one */
.panel:target {
  display: grid;
}

.panes:not(:has(.panel:target)) > .panel-home {
  display: grid;
}

/* with JavaScript, the active class decides (these come later to win ties) */
.panes.is-ready > .panel:not(.is-active) {
  display: none;
}

.panes.is-ready > .panel.is-active {
  display: grid;
  animation: panel-in 0.55s var(--ease-out) both;
}

.panes.is-ready > .panel.is-active > .panel-visual {
  animation: panel-in 0.7s 0.08s var(--ease-out) both;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(0.875rem);
  }
}

.panel-copy {
  max-width: 34rem;
}

.panel-visual {
  margin: 0;
  justify-self: center;
  min-width: 0;
}

.panel h1 {
  font-size: var(--step-4);
  line-height: 0.95;
  letter-spacing: -0.015em;
}

.panel h2 {
  font-size: var(--step-3);
}

.lede {
  margin-top: 1.1rem;
  max-width: 32rem;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--lichen);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.pane-foot {
  grid-area: foot;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--gutter) calc(env(safe-area-inset-bottom) + 1rem);
  font-size: 0.875rem;
  color: var(--mist);
}

.pane-foot-links {
  display: flex;
  gap: 1.25rem;
}

.pane-foot a {
  text-decoration: none;
}

.pane-foot a:hover {
  color: var(--foam);
  text-decoration: underline wavy;
}

/* ------------------------------------------------------------ the sign: loop into taro leaf */

.sign {
  display: grid;
  justify-items: center;
  gap: clamp(1rem, 3vh, 2rem);
}

.sign-mark {
  width: min(100%, 36rem);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 1.25rem 1.75rem rgb(0 0 0 / 0.35));
}

.sign-line,
.sign-stem,
.sign-rib {
  fill: none;
  stroke: var(--apricot);
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.35s;
}

.sign-line,
.sign-stem {
  stroke-width: 2.3;
  stroke-dasharray: 100;
}

.sign-line {
  animation: sign-draw 1.4s 0.2s var(--ease-out) backwards;
}

.sign-stem {
  animation: sign-draw 1.1s 1.15s var(--ease-out) backwards;
}

.sign-rib {
  stroke-width: 1.7;
  animation: fade-in 0.6s 1.9s backwards;
}

@keyframes sign-draw {
  from {
    stroke-dashoffset: 100;
    opacity: 0;
  }
  2% {
    opacity: 1;
  }
}

.sign-leaf {
  fill: var(--leaf);
  transition: fill 0.4s, opacity 0.35s;
  animation:
    fade-in 0.8s 1.5s backwards,
    leaf-glow 3.8s 2.6s infinite;
}

/* the leaf hangs from the end of the loop and sways on its stem */
.sign-sway {
  animation: sway 6.5s ease-in-out infinite;
}

/* a light runs the loop, climbs the stem and lights up the leaf */
.sign-run {
  fill: none;
  stroke: #fff4da;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-dasharray: 4 300;
  stroke-dashoffset: 104;
  opacity: 0.95;
  filter: drop-shadow(0 0 2px rgb(255 214 150 / 0.9));
  animation: run 3.8s 2.6s linear infinite backwards;
  transition: opacity 0.35s;
}

@keyframes run {
  from {
    stroke-dashoffset: 104;
  }
  to {
    stroke-dashoffset: -4;
  }
}

@keyframes leaf-glow {
  0%,
  52% {
    fill: var(--leaf);
  }
  72% {
    fill: var(--leaf-lit);
  }
  100% {
    fill: var(--leaf);
  }
}

@keyframes sway {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(4deg);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

.sign-key {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  max-width: 36rem;
}

.key {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 21rem;
  padding: 0.55rem 1rem 0.55rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: rgb(13 43 36 / 0.62);
  box-shadow: inset 0 0 0 1px rgb(127 209 194 / 0.16);
  color: var(--lichen);
  font: 600 0.875rem / 1.3 var(--font-body);
  text-align: left;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: box-shadow 0.2s, color 0.2s;
}

.key b {
  margin-right: 0.2rem;
  color: var(--foam);
}

.key:hover,
.key[aria-pressed="true"] {
  color: var(--foam);
  box-shadow: inset 0 0 0 1.5px var(--apricot);
}

.swatch {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
}

.swatch-leaf {
  background: var(--leaf);
  border: 2px solid var(--apricot);
  border-radius: 0 70% 0 70%;
}

.swatch-loop {
  border: 2.5px solid var(--apricot);
  border-radius: 50%;
}

.sign.is-leaf .sign-leaf {
  fill: var(--leaf-lit);
  animation: none;
}

.sign.is-leaf .sign-line,
.sign.is-leaf .sign-run {
  opacity: 0.3;
}

.sign.is-loop .sign-run {
  animation-duration: 1.5s;
}

.sign.is-loop .sign-leaf,
.sign.is-loop .sign-stem,
.sign.is-loop .sign-rib {
  opacity: 0.3;
}

/* ------------------------------------------------------------ Venture Out */

.game-lockup {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  font: inherit;
}

.game-lockup img {
  width: clamp(4.25rem, 3.8rem + 2vw, 5.25rem);
  height: auto;
  aspect-ratio: 1;
  border-radius: 22%;
  box-shadow: 0 14px 30px -14px rgb(0 0 0 / 0.7);
}

.lockup-name {
  display: block;
  font-family: var(--font-game);
  font-weight: 800;
  font-size: clamp(2.75rem, 2rem + 3vw, 4.5rem);
  line-height: 0.82;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--cream);
}

.lockup-sub {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--apricot);
}

.tagline {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.2;
  color: var(--foam);
  max-width: 24ch;
}

.blurb {
  margin-top: 0.9rem;
  max-width: 31rem;
  color: var(--lichen);
}

.chips {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chips li {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgb(127 209 194 / 0.1);
  box-shadow: inset 0 0 0 1px rgb(127 209 194 / 0.16);
  font-size: 0.875rem;
  font-weight: 700;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding: 0.5rem 1.125rem 0.5rem 0.875rem;
  border-radius: var(--radius-chip);
  background: var(--pine-800);
  box-shadow: inset 0 0 0 1px var(--pine-700);
  color: var(--foam);
  text-decoration: none;
  line-height: 1.15;
  transition: transform 0.15s var(--ease-out), background-color 0.2s;
}

.store small {
  display: block;
  font-size: 0.8125rem;
  color: var(--mist);
}

.store b {
  display: block;
  font-size: 1.0625rem;
}

.store[href]:hover {
  background: var(--pine-700);
  transform: translateY(-1px);
}

.store.is-soon {
  cursor: default;
}

.store.is-soon .icon {
  color: var(--mist);
}

.more-link {
  display: inline-block;
  margin-top: 1.1rem;
  color: var(--apricot);
  font-weight: 700;
}

/* a phone-shaped viewer that flips through the nine waters */

.viewer {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
}

.viewer-screen {
  position: relative;
  height: min(62vh, 38rem);
  aspect-ratio: 9 / 19.5;
  padding: 0.55rem;
  border-radius: 2.4rem;
  background: linear-gradient(160deg, var(--pine-700), var(--pine-950));
  box-shadow:
    0 30px 60px -30px rgb(0 0 0 / 0.85),
    inset 0 0 0 1px rgb(127 209 194 / 0.2);
  touch-action: pan-y;
  user-select: none;
}

.viewer-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.9rem;
  background: var(--pine-800);
  transition: opacity 0.3s;
  -webkit-user-drag: none;
}

.viewer-screen img.is-fading {
  opacity: 0;
}

.viewer-caption {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  text-align: center;
}

.viewer-caption b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.2;
}

[data-shot-line] {
  font-size: 0.9375rem;
  color: var(--mist);
}

.viewer-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dots {
  display: flex;
}

.dot {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 2rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.dot::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgb(234 244 236 / 0.3);
  transition: width 0.25s var(--ease-out), background-color 0.25s;
}

.dot[aria-current="true"]::before {
  width: 1.05rem;
  background: var(--apricot);
}

/* ------------------------------------------------------------ studio */

.rules {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  max-width: 32rem;
}

.rules li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--lichen);
}

.rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 0.95rem;
  height: 0.95rem;
  background: var(--leaf);
  border: 2px solid var(--apricot);
  border-radius: 0 70% 0 70%;
}

.rules b {
  color: var(--foam);
}

.sprout {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  width: 100%;
  max-width: 25rem;
  padding: 1.5rem 1.5rem 1.6rem;
  border-radius: var(--radius-panel);
  background: rgb(13 43 36 / 0.62);
  box-shadow: inset 0 0 0 1px rgb(127 209 194 / 0.14);
  text-align: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.sprout-art {
  width: min(100%, 14rem);
  height: auto;
  overflow: visible;
}

.soil {
  fill: none;
  stroke: #8a6a45;
  stroke-width: 4;
  stroke-linecap: round;
}

.sprout-stem {
  fill: none;
  stroke: #4a9a6a;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 48;
  transition: stroke-dashoffset 1s var(--ease-out);
}

.sprout:not([data-stage="0"]) .sprout-stem {
  stroke-dashoffset: 0;
}

.sprout-leaf path {
  fill: var(--leaf);
  stroke: var(--apricot);
  stroke-width: 2.5;
  stroke-linejoin: round;
}

.sprout-leaf .vein {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.l3 {
  transform-origin: 104px 84px;
  transform: scale(0);
  transition: transform 0.9s 0.25s var(--ease-spring);
}

.sprout[data-stage="1"] .l3 {
  transform: scale(0.45);
}

.sprout[data-stage="2"] .l3 {
  transform: scale(0.75);
}

.sprout[data-stage="3"] .l3 {
  transform: scale(1);
}

.drops circle {
  fill: #bfe8f0;
  opacity: 0;
}

.sprout.is-watering .drops circle {
  animation: drip 0.9s ease-in both;
}

.sprout.is-watering .drops circle:nth-child(2) {
  animation-delay: 0.12s;
}

.sprout.is-watering .drops circle:nth-child(3) {
  animation-delay: 0.24s;
}

@keyframes drip {
  0% {
    opacity: 0;
    transform: translateY(-0.9rem);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(2.2rem);
  }
}

.sprout-title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.15;
}

.sprout-note {
  min-height: 1.6em;
  color: var(--apricot);
  font-weight: 700;
}

.sprout-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.35rem;
}

/* ------------------------------------------------------------ contact */

.email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
}

.email-link {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.75rem);
  line-height: 1.1;
  color: var(--apricot);
  text-decoration-thickness: 0.06em;
  overflow-wrap: anywhere;
}

.reach {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  max-width: 30rem;
}

.socials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.625rem;
}

@media (min-width: 30rem) {
  .socials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.socials a {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 3.75rem;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-chip);
  background: var(--pine-800);
  box-shadow: inset 0 0 0 1px var(--pine-700);
  text-decoration: none;
  transition: background-color 0.2s, transform 0.15s var(--ease-out);
}

.socials a:hover {
  background: var(--pine-700);
  transform: translateY(-2px);
}

.socials .icon {
  color: var(--teal-300);
}

.socials b {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.socials small {
  display: block;
  font-size: 0.8125rem;
  color: var(--mist);
  overflow-wrap: anywhere;
}

.reach-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.reach-links a {
  color: var(--apricot);
  font-weight: 700;
}

/* ------------------------------------------------------------ phones: an app-style pane */

@media (max-width: 52rem) {
  .pane {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "panes"
      "tabs";
  }

  .pane > .brand {
    margin: calc(env(safe-area-inset-top) + 0.75rem) var(--gutter) 0.25rem;
  }

  .brand-mark {
    width: 2.75rem;
  }

  .pane-foot {
    display: none;
  }

  .tabs {
    justify-self: stretch;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.15rem;
    margin: 0;
    padding: 0.4rem 0.5rem calc(env(safe-area-inset-bottom) + 0.4rem);
    border-radius: 0;
    background: rgb(12 38 32 / 0.9);
    box-shadow: inset 0 1px 0 rgb(127 209 194 / 0.14);
  }

  .tabs a {
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.4rem 0.15rem 0.35rem;
    border-radius: 0.875rem;
    font-size: 0.75rem;
  }

  .tabs a[aria-current="page"] {
    color: var(--apricot);
    background: rgb(255 176 103 / 0.13);
  }

  .tab-icon {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
  }

  .tab-mark {
    width: 2.5rem;
  }

  .tab-game {
    border-radius: 0.4rem;
  }

  .panes {
    -webkit-mask-image: linear-gradient(transparent, #000 1.1rem, #000 calc(100% - 1.1rem), transparent);
    mask-image: linear-gradient(transparent, #000 1.1rem, #000 calc(100% - 1.1rem), transparent);
  }

  .panel {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 1.5rem;
    padding-block: 1rem 1.75rem;
  }

  .panel-game .blurb {
    display: none;
  }

  .panel-game .tagline {
    font-size: var(--step-1);
  }

  .panel-home > .panel-visual,
  .panel-game > .panel-visual {
    order: -1;
  }

  .panel-copy,
  .lede {
    max-width: none;
  }

  .sign-mark {
    width: min(100%, 22rem);
  }

  .viewer-screen {
    height: min(38svh, 24rem);
  }

  .tagline {
    margin-top: 1.1rem;
  }

  .panel-visual.sprout,
  .panel-visual.reach {
    justify-self: stretch;
    max-width: none;
  }
}

@media (max-width: 52rem) and (max-height: 44rem) {
  .sign-key {
    display: none;
  }
}

/* ------------------------------------------------------------ inner pages */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  box-sizing: content-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--foam);
  background: color-mix(in srgb, var(--pine-900) 90%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-nav {
  display: flex;
  gap: clamp(0.875rem, 3vw, 2rem);
  font-weight: 700;
  font-size: 0.9375rem;
}

.site-nav a {
  text-decoration: none;
  white-space: nowrap;
  padding: 0.5rem 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline wavy;
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.35em;
}

@media (max-width: 30rem) {
  .site-nav .nav-optional {
    display: none;
  }
}

.page-head {
  padding: calc(var(--header-h) + env(safe-area-inset-top) + clamp(2.5rem, 7vw, 5rem)) 0 clamp(2rem, 5vw, 3rem);
}

.page-head h1 {
  font-size: var(--step-4);
  line-height: 0.98;
}

.page-head p {
  margin-top: 1.125rem;
  max-width: 36rem;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--lichen);
}

.page-head .tagline {
  margin-top: 1.5rem;
  font-size: var(--step-2);
  line-height: 1.2;
  color: var(--foam);
}

.page-body {
  padding-bottom: clamp(4rem, 9vw, 7rem);
}

.get {
  margin-top: 2rem;
}

.get .stores {
  margin-top: 0;
}

.get-card {
  max-width: 34rem;
  margin-top: 0.5rem;
}

.inner-section + .inner-section {
  margin-top: clamp(3rem, 7vw, 4.5rem);
}

.inner-section > h2 {
  font-size: var(--step-3);
  margin-bottom: 1rem;
}

.inner-section > p {
  max-width: 40rem;
  color: var(--lichen);
}

.prose {
  max-width: 40rem;
}

.prose h2 {
  margin: 2.75rem 0 0.75rem;
  font-size: var(--step-2);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--lichen);
}

.prose p + p {
  margin-top: 0.875rem;
}

.prose a {
  color: var(--apricot);
}

.prose b {
  color: var(--foam);
}

.prose .meta {
  font-size: 0.9375rem;
  color: var(--mist);
}

.faq {
  max-width: 44rem;
  display: grid;
  gap: 0.75rem;
}

.faq details {
  border-radius: var(--radius-chip);
  background: var(--pine-800);
  box-shadow: inset 0 0 0 1px var(--pine-700);
}

.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  font-weight: 700;
  font-size: 1.0625rem;
  cursor: pointer;
  border-radius: var(--radius-chip);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 0.75rem;
  height: 0.75rem;
  border-right: 2.5px solid var(--teal-300);
  border-bottom: 2.5px solid var(--teal-300);
  transform: translateY(-25%) rotate(45deg);
  transition: transform 0.25s var(--ease-out);
}

.faq details[open] summary::after {
  transform: translateY(25%) rotate(225deg);
}

.faq details > div {
  padding: 0 1.25rem 1.25rem;
  color: var(--lichen);
}

.faq details > div p + p {
  margin-top: 0.625rem;
}

.faq a {
  color: var(--apricot);
}

.facts-table {
  width: 100%;
  max-width: 44rem;
  border-collapse: collapse;
}

.facts-table th,
.facts-table td {
  padding: 0.875rem 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--pine-700);
}

.facts-table th {
  width: 36%;
  padding-right: 1rem;
  font-weight: 700;
  color: var(--mist);
}

.inner-section td a {
  color: var(--foam);
}

.press-grid {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 1rem;
}

.press-grid a {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-chip);
}

.press-grid img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius-chip);
  background: var(--pine-800);
}

.press-grid span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--mist);
}

.downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.feature-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.75rem clamp(2rem, 5vw, 4rem);
}

@media (min-width: 48rem) {
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.feature-list h3 {
  font-size: var(--step-1);
}

.feature-list p {
  margin-top: 0.4rem;
  max-width: 34rem;
  color: var(--lichen);
}

.know-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  max-width: 42rem;
}

.know-list li {
  position: relative;
  padding-left: 1.875rem;
  color: var(--lichen);
}

.know-list li::before {
  content: "";
  position: absolute;
  left: 0.125rem;
  top: 0.5em;
  width: 0.8rem;
  height: 0.42rem;
  border-left: 2.5px solid var(--teal-300);
  border-bottom: 2.5px solid var(--teal-300);
  transform: rotate(-45deg);
}

.know-list b {
  color: var(--foam);
}

.more-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.75rem;
}

.more-links a,
.inline-link {
  color: var(--apricot);
  font-weight: 700;
}

/* how it's built, on the Venture Out page */

.build-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: 1.5rem;
}

@media (min-width: 56rem) {
  .build-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

.build-shot {
  margin: 0;
}

.build-shot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-media);
  box-shadow: 0 30px 60px -32px rgb(0 0 0 / 0.8);
}

.build-shot figcaption {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--mist);
}

.build-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem 2.25rem;
}

@media (min-width: 36rem) {
  .build-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.build-list h3 {
  font-size: var(--step-1);
}

.build-list p {
  margin-top: 0.4rem;
  color: var(--lichen);
}

/* the screenshot strip on the Venture Out page */

.venture-page {
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.waters-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.waters-bar h3 {
  font-size: var(--step-2);
}

.waters-bar p {
  margin-top: 0.375rem;
  color: var(--mist);
}

.waters-nav {
  display: flex;
  gap: 0.5rem;
}

.waters-track {
  --edge: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  list-style: none;
  margin: 0;
  display: flex;
  gap: clamp(0.75rem, 1.8vw, 1.25rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  padding: 0.25rem var(--edge) 1rem;
  scrollbar-width: none;
}

.waters-track::-webkit-scrollbar {
  display: none;
}

.waters-track.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

@media (hover: hover) and (pointer: fine) {
  .waters-track {
    cursor: grab;
  }
}

.water {
  flex: 0 0 clamp(13.5rem, 64vw, 17.5rem);
  scroll-snap-align: start;
}

.water figure {
  margin: 0;
}

.water img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: 50% 60%;
  border-radius: var(--radius-media);
  background: var(--pine-800);
  box-shadow: 0 22px 40px -26px rgb(0 0 0 / 0.75);
  -webkit-user-drag: none;
  user-select: none;
}

.water figcaption {
  padding: 0.875rem 0.25rem 0;
}

.water figcaption b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1.1;
}

.water figcaption span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--mist);
}

/* ------------------------------------------------------------ footer (inner pages) */

.site-footer {
  background: var(--pine-950);
  color: var(--mist);
  padding: 2.75rem 0 calc(2.25rem + env(safe-area-inset-bottom));
  font-size: 0.9375rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.site-footer .brand {
  color: var(--foam);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-nav a {
  text-decoration: none;
  padding: 0.375rem 0;
}

.footer-nav a:hover {
  color: var(--foam);
  text-decoration: underline wavy;
}

.fine {
  width: 100%;
  font-size: 0.875rem;
}

/* ------------------------------------------------------------ motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .sign-run {
    display: none;
  }
}
