/* Mundus storytelling and studio sections, top to bottom as they come in the page. Each section's
   tablet (1050px) and phone (650px) rules follow its own. */

.note-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 9px;
}

.hero,
.worlds-section,
.build-section,
.puzzle-section {
  /* clip makes no scroll container (focus cannot scroll it); hidden where clip is unknown. */
  overflow: hidden;
  overflow: clip;
}

/* Hero */

.tiny-spark {
  color: var(--gold);
  font-size: var(--label-size);
  margin-right: 12px;
}

.eyebrow-divider {
  display: inline-block;
  margin: 0 12px;
  color: #7b7184;
}

/* The copy spans the row; the Shaman's column lies under its right end, reaching out into the
   gutter, and everything drawn around the Shaman is placed in that column. The hero is as tall
   as its tallest part, so no height is set. */
.hero {
  --visual: min(49vw, 700px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--visual);
  align-items: start;
  padding: 230px var(--gutter) 90px;
  isolation: isolate;
}

.hero-copy {
  grid-area: 1 / 1 / 2 / -1;
  position: relative;
  z-index: 3;
}

.hero-copy .eyebrow {
  margin-bottom: 38px;
}

.hero h1 {
  font-size: clamp(58px, 5.6vw, 88px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: 0 3px 0 #08071155;
}

.hero-description {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

.hero-description > p {
  color: var(--copy);
  max-width: 440px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 25px;
}

.hero-halo {
  position: absolute;
  width: 900px;
  height: 900px;
  top: -40px;
  right: calc(var(--gutter) - 200px);
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    #5d43672b,
    #30243719 45%,
    transparent 70%
  );
  z-index: -1;
}

.hero-visual {
  grid-area: 1 / 2;
  justify-self: end;
  position: relative;
  z-index: 2;
  width: 100%;
  margin: -40px -80px 0 0;
  pointer-events: none;
}

/* A square: the orbit, the aura and the scene are placed in percent of it. */
.shaman-stage {
  position: relative;
}

.shaman-scene {
  position: relative;
}

.hero-shaman {
  filter: drop-shadow(0 40px 55px #00000055);
}

.shaman-aura {
  position: absolute;
  left: 6.7%;
  top: 4.3%;
  width: 90.5%;
  aspect-ratio: 1;
  background: radial-gradient(ellipse, #9f655c17, transparent 67%);
}

.hero-chip {
  position: absolute;
  width: clamp(64px, 14%, 90px);
  /* Center on the flame spiral at (826, 220) in the loading artwork. */
  left: 72.5%;
  top: 9%;
  translate: -50% -50%;
  rotate: -10deg;
  filter: drop-shadow(0 0 22px #b67bff66);
}

.hero-orbit {
  position: absolute;
  left: -1.9%;
  top: -6.4%;
  width: 109%;
  aspect-ratio: 1;
  border: 1px solid #c9ad7d26;
  border-radius: 50%;
  transform: rotate(-32deg);
  z-index: 0;
}

.hero-orbit::before {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px solid #c9ad7d0e;
  border-radius: 50%;
}

.hero-orbit::after {
  content: "";
  position: absolute;
  top: 18%;
  left: 11%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #bea77d;
  box-shadow: 0 0 20px #bea77d60;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.3;
  background-image:
    radial-gradient(1px 1px at 30% 20%, #ffffff90 50%, transparent),
    radial-gradient(1px 1px at 70% 75%, #ba9bfa 50%, transparent);
  background-size:
    197px 217px,
    327px 363px;
  mask-image: linear-gradient(90deg, transparent, black);
}

.character-note {
  width: fit-content;
  margin: 10px 37% 0 auto;
  font-size: var(--label-size);
  letter-spacing: 1.8px;
  line-height: 2;
  color: #8f869b;
}

.character-note strong {
  display: block;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--paper);
  margin-left: 15px;
}

.hero-bottom {
  position: absolute;
  bottom: 25px;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid #cbb1f224;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--label-size);
  letter-spacing: 1.5px;
  color: #9c8fad;
}

.hero-bottom a {
  letter-spacing: 0;
  color: #ddd5ea;
}

.hero-bottom a .scroll-arrow {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #cbb1f22b;
  border-radius: 50%;
  margin-right: 12px;
  font-size: 14px;
}

@media (max-width: 1050px) {
  .hero {
    --visual: min(60vw, 560px);
    padding-top: 210px;
  }

  .hero h1 {
    font-size: clamp(54px, 6.6vw, 72px);
  }

  /* Lower than the headline, and 7vw past the edge: the page gutter is 7vw. */
  .hero-visual {
    margin: 120px -14vw 0 0;
  }

  .hero-orbit {
    left: -12%;
    top: -5%;
    width: 115%;
  }

  .hero-description {
    max-width: 42%;
    gap: 20px;
  }

  .hero-bottom > span:not(.hero-bottom-right) {
    display: none;
  }
}

@media (max-width: 650px) {
  .eyebrow-divider {
    margin: 0 7px;
  }

  .tiny-spark {
    margin-right: 5px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 145px;
    padding-bottom: 120px;
  }

  .hero-copy {
    display: contents;
  }

  .hero h1 {
    grid-row: 2;
    position: relative;
    z-index: 3;
    font-size: clamp(40px, 10vw, 56px);
    line-height: 1.18;
    overflow-wrap: break-word;
  }

  .hero-copy .eyebrow {
    grid-row: 1;
    position: relative;
    z-index: 3;
    margin-bottom: 28px;
    letter-spacing: 1.1px;
  }

  .hero-description {
    grid-row: 4;
    max-width: none;
    position: relative;
    z-index: 3;
    margin-top: 10px;
    gap: 25px;
  }

  .hero-description > p {
    line-height: 1.75;
  }

  .hero-visual {
    grid-area: auto;
    grid-row: 3;
    justify-self: stretch;
    width: auto;
    margin: 5px -24px 20px;
  }

  .shaman-stage {
    max-width: 580px;
    margin-left: auto;
  }

  .hero-halo {
    top: 200px;
    right: -250px;
    width: 750px;
    height: 750px;
  }

  .hero-orbit {
    left: 0;
    top: -3%;
    width: 100%;
  }

  .hero-orbit::before {
    inset: 18px;
  }

  .character-note {
    letter-spacing: 1px;
  }

  .character-note strong {
    font-size: 16px;
  }

  .hero-bottom {
    padding-top: 18px;
  }

  .hero-bottom a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-bottom a .scroll-arrow {
    flex-shrink: 0;
  }

  .hero-bottom-right {
    display: none;
  }
}

@media print {
  .hero-visual,
  .hero-halo,
  .hero-orbit,
  .hero-grain,
  .hero-bottom {
    display: none;
  }

  .hero-description {
    margin-top: 30px;
  }
}

/* 01 Worlds */

.worlds-section {
  padding: 140px var(--gutter) 70px;
  background: linear-gradient(var(--night), #18131f 70%, var(--dusk));
}

.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 45px;
}

.section-aside {
  font-size: var(--label-size);
  letter-spacing: 2px;
  color: #74668c;
}

.worlds-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.worlds-intro h2 {
  font-size: clamp(38px, 4.2vw, 70px);
}

.worlds-intro > p {
  color: var(--copy-soft);
  padding-bottom: 3px;
  max-width: 350px;
}

/* Two worlds in a row of two columns, the second lower: the map is as tall as its worlds and
   their captions, so no height is set; the path is drawn behind them over the whole box. */
.planet-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  perspective: 1400px;
}

.map-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.map-path path {
  stroke: #c2a77e3b;
  stroke-width: 0.7;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--path-progress, 1));
}

.planet {
  position: relative;
  transform-origin: center;
}

/* Percentages of a margin are of the column's width, so the stagger scales with the worlds. */
.planet-pawdyke {
  width: 80%;
  margin: 10px 0 0 8%;
  z-index: 2;
}

.planet-animaussies {
  width: 72%;
  margin: 23% 0 0 3%;
}

.planet img {
  filter: drop-shadow(0 35px 35px #0005);
}

.planet-label {
  text-align: left;
  padding: 22px 0 0 18%;
  border-left: 1px solid #b7a17c20;
  margin: 0 15%;
}

.planet-label > span {
  display: block;
  color: #93859f;
  font-size: var(--label-size);
  letter-spacing: 1.8px;
  margin-bottom: 7px;
}

.planet-label strong {
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 1050px) {
  .worlds-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }

  .planet-pawdyke {
    width: 96%;
    margin-left: 0;
  }

  .planet-animaussies {
    width: 80%;
    margin: 36% 0 0 4%;
  }
}

@media (max-width: 650px) {
  .worlds-section {
    padding-top: 90px;
    padding-bottom: 55px;
  }

  .section-top {
    margin-bottom: 30px;
  }

  .section-aside {
    display: none;
  }

  .worlds-intro h2 {
    font-size: 42px;
  }

  .worlds-intro > p {
    line-height: 1.75;
    max-width: none;
  }

  .planet-map {
    grid-template-columns: minmax(0, 1fr);
    gap: 45px;
    padding: 20px 0 45px;
    margin-top: 5px;
  }

  .map-path {
    width: 150%;
    left: -25%;
    opacity: 0.5;
  }

  .planet {
    max-width: 480px;
  }

  .planet-pawdyke {
    width: 86%;
    margin: 0 0 0 -4%;
  }

  .planet-animaussies {
    width: 76%;
    justify-self: end;
    margin: 0 -4% 0 0;
  }

  .planet-label {
    padding-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-path path {
    stroke-dashoffset: 0;
  }
}

/* 02 Journey */

.build-section {
  min-height: 940px;
  padding: 160px var(--gutter) 110px;
  background: var(--dusk);
  display: flex;
  align-items: center;
  isolation: isolate;
}

.build-copy {
  width: 49%;
  position: relative;
  z-index: 4;
}

.build-copy > .eyebrow {
  max-width: 310px;
  margin-bottom: 30px;
}

.build-copy h2 {
  font-size: clamp(38px, 4.1vw, 68px);
}

.build-copy .body-copy {
  max-width: 380px;
  margin-top: 30px;
}

.build-steps {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 35px;
}

.build-steps > span {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #83738e;
  font-size: var(--label-size);
  transition: color 0.5s;
}

.build-steps b {
  width: 32px;
  padding-bottom: 9px;
  border-bottom: 1px solid #ffffff20;
  font-size: var(--label-size);
  font-weight: 500;
  transition:
    color 0.5s,
    border-color 0.5s;
}

.build-steps > span.active {
  color: #e4dacb;
}

.build-steps > span.active b {
  color: var(--gold);
  border-color: var(--gold);
}

/* The scene is as tall as the island in it: the stage's margins, in percent of the scene's
   width, are the air around it, so no height is set. */
.island-scene {
  position: absolute;
  width: min(61vw, 760px);
  right: calc(var(--gutter) - 80px);
  top: 70px;
  display: flow-root;
  perspective: 1200px;
}

.island-glow {
  position: absolute;
  inset: 5% -15% -5%;
  z-index: -1;
  background: radial-gradient(ellipse, #69a86b19, transparent 60%);
}

/* The island's layers are one picture cut in five, all the same size: stacked in one box they
   are the island, each coming in on its own, in the order they come in the page. */
.island-stage {
  position: relative;
  width: 82%;
  margin: 6% auto 5%;
  aspect-ratio: 1304 / 1492;
}

.island-piece {
  position: absolute;
  inset: 0;
  transform-origin: 50% 80%;
}

.island-piece img {
  display: block;
  width: 100%;
  height: auto;
}

/* On the island itself, in the glow under its frame. */
.island-caption {
  position: absolute;
  top: 87%;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: var(--label-size);
  letter-spacing: 0.5px;
  color: #cfc4da;
  text-shadow: 0 1px 8px var(--dusk), 0 0 2px var(--dusk);
}

@media (max-width: 1050px) {
  .build-section {
    min-height: 850px;
    padding-top: 100px;
  }

  .build-copy h2 {
    font-size: 42px;
  }

  .island-scene {
    width: 58%;
    right: 2%;
    top: 150px;
  }

  .island-stage {
    width: 86%;
  }
}

@media (max-width: 650px) {
  .build-section {
    display: block;
    padding-top: 70px;
    padding-bottom: 55px;
    min-height: 0;
  }

  .build-copy {
    width: 100%;
  }

  .build-copy > .eyebrow {
    max-width: none;
    margin-bottom: 25px;
  }

  .build-copy h2 {
    font-size: 40px;
  }

  .build-copy .body-copy {
    margin-top: 28px;
    max-width: none;
  }

  .build-steps {
    margin-top: 25px;
    gap: 25px;
  }

  .build-steps > span {
    font-size: 14px;
  }

  .build-steps b {
    width: 28px;
  }

  .island-scene {
    position: relative;
    width: calc(100% + 70px);
    right: auto;
    margin-left: -35px;
    top: 0;
    margin-top: 10px;
  }

  .island-stage {
    width: 74%;
    margin-block: 4% 12%;
  }
}

/* 03 Puzzles */

.puzzle-section {
  padding: 120px var(--gutter) 110px;
  background: linear-gradient(var(--dusk), #211925 65%, var(--dusk-deep));
}

.puzzle-heading {
  text-align: center;
}

.puzzle-heading .eyebrow {
  margin-bottom: 25px;
}

.puzzle-heading h2 {
  font-size: clamp(42px, 5.8vw, 96px);
}

.puzzle-heading .body-copy {
  margin-top: 30px;
  max-width: 650px;
  margin-inline: auto;
}

.puzzle-composition {
  position: relative;
  padding-block: 75px 65px;
  perspective: 1500px;
}

.puzzle-display {
  display: block;
  text-align: left;
  width: 79%;
  margin: auto;
  padding: 13px;
  background: #26202c;
  border: 1px solid #c6b5ce26;
  border-radius: 15px;
  box-shadow: 0 40px 90px #08041480;
  rotate: -1.5deg;
}

.puzzle-display:hover {
  border-color: #c8b28c80;
}

.display-top {
  display: flex;
  align-items: center;
  padding: 3px 12px 13px;
  font-size: var(--label-size);
  letter-spacing: 2px;
  color: #bdaacf;
}

.screenshot-window {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.9;
  border-radius: 10px;
  background: #19112d;
}

.screenshot-window img {
  position: absolute;
  width: 100%;
  max-width: none;
  height: 124%;
  top: -9%;
  object-fit: cover;
}

.display-bottom {
  display: flex;
  justify-content: space-between;
  padding: 18px 10px 5px;
  font-size: var(--label-size);
  color: #ad99c2;
}

.display-bottom strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e4d7ee;
  font-weight: 600;
}

.puzzle-token {
  position: absolute;
  z-index: 4;
  filter: drop-shadow(0 15px 20px #0005);
}

.token-water {
  width: 135px;
  left: 0;
  top: 25px;
  rotate: -18deg;
}

.token-sun {
  width: 145px;
  right: 0;
  top: 165px;
  rotate: 15deg;
}

.token-spiral {
  width: 105px;
  left: 14%;
  bottom: 45px;
  rotate: 12deg;
}

.puzzle-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;
  border-top: 1px solid #ffffff13;
  padding-top: 35px;
}

.puzzle-notes h3 {
  font-size: 25px;
  margin-bottom: 14px;
  line-height: 1.25;
}

.puzzle-notes p {
  color: #b2a0c3;
}

@media (max-width: 1050px) {
  .puzzle-display {
    width: 88%;
  }

  .token-water {
    width: 130px;
  }

  .token-sun {
    right: -5%;
  }

  .token-spiral {
    width: 110px;
    bottom: 35px;
  }

  .puzzle-notes {
    gap: 22px;
  }
}

@media (max-width: 650px) {
  .puzzle-section {
    padding-top: 55px;
    padding-bottom: 65px;
  }

  .puzzle-heading {
    text-align: left;
  }

  .puzzle-heading h2 {
    font-size: 44px;
  }

  .puzzle-heading .body-copy br {
    display: none;
  }

  .puzzle-composition {
    width: calc(100% + 10px);
    margin-left: -5px;
  }

  .puzzle-display {
    width: 100%;
    border-radius: 13px;
    padding: 8px;
  }

  .display-top {
    letter-spacing: 1px;
    padding: 2px 5px 7px;
  }

  .screenshot-window {
    border-radius: 7px;
    aspect-ratio: 1.65;
  }

  .display-bottom {
    padding: 12px 5px 5px;
    font-size: 14px;
    flex-direction: column;
    gap: 4px;
  }

  .token-water {
    width: 88px;
    left: -15px;
    top: 18px;
  }

  .token-sun {
    width: 95px;
    right: -18px;
    top: 105px;
  }

  .token-spiral {
    width: 82px;
    left: 3%;
    bottom: 6px;
  }

  .puzzle-notes {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 30px;
  }

  .puzzle-notes h3 {
    font-size: 27px;
    margin-bottom: 12px;
  }
}

/* Screenshots and trailer */

.media-section {
  padding: 140px var(--gutter) 110px;
  background: var(--dusk-deep);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: 35px 65px;
  align-items: center;
}

.media-heading .eyebrow {
  margin-bottom: 24px;
}

.media-heading h2 {
  font-size: clamp(46px, 5.5vw, 85px);
}

.media-heading .body-copy {
  margin-top: 25px;
}

.trailer {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1.6;
  border-radius: 12px;
  text-align: left;
  background: #291c3d;
}

.trailer > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition:
    transform 0.8s,
    filter 0.8s;
  filter: brightness(0.8);
}

.trailer:hover > img {
  transform: scale(1.04);
  filter: brightness(1);
}

.trailer-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, #130e26e0);
}

.play-circle {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  padding-left: 4px;
  transform: translate(-50%, -50%);
  border: 1px solid #ffffff80;
  background: #ffffff0a;
  backdrop-filter: blur(8px);
  border-radius: 50%;
  font-size: 18px;
  transition: background 0.3s;
}

.trailer:hover .play-circle {
  background: #ffffff30;
}

.trailer-caption {
  position: absolute;
  left: 30px;
  bottom: 25px;
  right: 30px;
  font-size: var(--label-size);
  letter-spacing: 1.5px;
  color: #c6b4dc;
}

.trailer-caption strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  color: var(--paper);
  letter-spacing: -0.4px;
  margin-top: 7px;
  font-weight: 600;
}

.gallery-heading {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 65px;
}

.gallery-heading > span {
  font-size: var(--label-size);
  color: #91809f;
}

.gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gallery button {
  padding: 0;
  background: none;
  text-align: left;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1.77;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.5s;
}

.gallery button:hover img {
  transform: translateY(-6px);
}

.gallery button > span {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  color: #b6a7c8;
  font-size: var(--label-size);
  margin-top: 15px;
}

@media (max-width: 1050px) {
  .media-section {
    gap: 25px;
  }

  .media-heading h2 {
    font-size: clamp(42px, 7.5vw, 55px);
  }

  .trailer {
    aspect-ratio: 1.3;
  }
}

@media (max-width: 650px) {
  .media-section {
    display: block;
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .media-heading h2 {
    font-size: 52px;
  }

  .media-heading .eyebrow {
    margin-bottom: 20px;
  }

  .trailer {
    aspect-ratio: 1.24;
    margin-top: 35px;
    border-radius: 14px;
  }

  .play-circle {
    width: 56px;
    height: 56px;
    font-size: 15px;
  }

  .trailer-caption {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .trailer-caption strong {
    font-size: 20px;
  }

  .gallery-heading {
    margin-top: 45px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .gallery-heading > span {
    font-size: 14px;
  }

  .gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .gallery button {
    width: 100%;
  }

  .gallery button > span {
    font-size: 16px;
    margin-top: 14px;
  }
}

/* Download */

.download-section {
  padding: 150px var(--gutter) 170px;
  text-align: center;
  background:
    radial-gradient(ellipse at bottom, #3021354d, transparent 65%),
    var(--dusk-deep);
  overflow: hidden;
}

.download-copy {
  position: relative;
  z-index: 2;
}

.download-copy .eyebrow {
  margin-bottom: 25px;
}

.download-copy h2 {
  font-size: clamp(40px, 5.3vw, 84px);
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.store-links a {
  display: block;
  width: 210px;
  padding: 14px 16px;
  border: 1px solid #b7a58750;
  text-align: left;
  border-radius: 6px;
  transition:
    background 0.3s,
    transform 0.3s;
}

.store-links a:hover {
  background: #ffffff0b;
  transform: translateY(-3px);
}

.store-links small {
  display: block;
  font-size: var(--label-size);
  letter-spacing: 1px;
  color: #a18eaf;
}

.store-links strong {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 650;
}

.store-links .link-arrow {
  color: #a18eaf;
}

.download-subtitle {
  font-size: var(--label-size);
  color: #867295;
  margin-top: 20px;
}

.download-sun {
  position: absolute;
  width: 130px;
  left: calc(var(--gutter) + 60px);
  top: 80px;
  rotate: -20deg;
  opacity: 0.8;
}

@media (max-width: 1050px) {
  .download-sun {
    width: 100px;
    left: 0;
  }
}

@media (max-width: 650px) {
  .download-section {
    padding-top: 95px;
    padding-bottom: 115px;
  }

  .download-copy h2 {
    font-size: 42px;
  }

  .store-links {
    flex-direction: column;
    align-items: stretch;
    max-width: 360px;
    margin-inline: auto;
    gap: 10px;
    margin-top: 30px;
  }

  .store-links a {
    width: auto;
    flex: none;
    min-width: 0;
    min-height: 74px;
    padding: 12px 13px;
    border-radius: 10px;
    background: #18131ebf;
  }

  .download-sun {
    width: 65px;
    left: -24px;
    top: 25px;
  }
}

/* Studio */

.studio-section {
  position: relative;
  padding: 145px var(--gutter) 100px;
  background: var(--light-surface);
  color: var(--light-ink);
  color-scheme: light;
}

.studio-section .eyebrow {
  color: var(--light-muted);
}

.studio-intro > .eyebrow {
  margin-bottom: 30px;
}

.studio-intro h2 {
  font-size: clamp(45px, 5.2vw, 86px);
  line-height: 1.15;
}

.studio-intro h2 em {
  color: #8d7d9a;
}

.studio-description {
  margin-top: 45px;
  margin-left: 45%;
  max-width: 600px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}

.studio-description p {
  color: var(--light-copy);
}

.studio-contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px;
  margin: 55px 0 0;
  padding-top: 30px;
  border-top: 1px solid #2a233324;
}

.studio-contacts a {
  display: block;
  min-height: 70px;
}

.studio-contacts a > span {
  display: block;
  font-size: var(--label-size);
  letter-spacing: 1px;
  color: var(--light-muted);
  margin-bottom: 9px;
}

.studio-contacts strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 22px;
  font-weight: 700;
}

.studio-contacts .link-arrow {
  color: #8a7b94;
}

.studio-contacts a:hover strong {
  color: #806695;
}

.projects-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  margin-top: 70px;
  padding-top: 40px;
  border-top: 1px solid #2a233324;
}

.projects-callout h3 {
  font-size: 34px;
  margin: 14px 0;
}

.projects-callout p:not(.eyebrow) {
  max-width: 550px;
  font-size: 17px;
  color: var(--light-copy);
  line-height: 1.8;
}

.projects-callout .button {
  justify-self: start;
}

@media (max-width: 1050px) {
  .studio-description {
    margin-left: 30%;
  }
}

@media (max-width: 650px) {
  .studio-section {
    padding-top: 95px;
    padding-bottom: 65px;
  }

  .studio-intro > .eyebrow {
    margin-bottom: 25px;
  }

  .studio-intro h2 {
    font-size: 40px;
  }

  .studio-description {
    margin: 30px 0 0;
    display: block;
  }

  .studio-description p {
    margin-bottom: 22px;
  }

  .studio-contacts {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 35px;
  }

  .studio-contacts strong {
    font-size: 20px;
  }

  .projects-callout {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
    margin-top: 45px;
    padding-top: 30px;
  }

  .projects-callout h3 {
    font-size: 30px;
  }
}
