/* CREATOR — shared homepage styling */

:root {
  color-scheme: dark;

  --bg: #17151b;
  --bg-soft: #1e1b23;
  --bg-raised: #27232d;
  --ink: #f6f0e9;
  --muted: #bcb1bf;
  --faint: #887e8c;

  --pink: #ff9acb;
  --pink-deep: #e76ab0;
  --lime: #d8fa75;
  --blue: #93d7ff;
  --purple: #c5a1ff;
  --orange: #ffb58d;
  --green: #a8e3a0;

  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", Arial, sans-serif;

  --page-width: 1240px;
  --page-gutter: clamp(20px, 6vw, 88px);

  --border: rgba(246, 240, 233, 0.14);
  --ease: cubic-bezier(.2, .75, .25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--bg);
  background: var(--lime);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 5px;
}

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  background: var(--lime);
  color: var(--bg);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  min-height: 82px;
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid var(--border);
  background: rgba(23, 21, 27, .94);
}

.wordmark,
.footer-wordmark {
  flex-shrink: 0;
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -2px;
}

.wordmark-flower {
  display: inline-block;
  margin-right: 5px;
  color: var(--pink);
  font-size: 24px;
  transition: transform .5s var(--ease);
}

.wordmark:hover .wordmark-flower {
  transform: rotate(90deg);
}

.wordmark-period,
.footer-wordmark span {
  color: var(--lime);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}

.site-nav a,
.footer-links a {
  position: relative;
  color: var(--muted);
  font-size: 12px;
  transition: color .2s ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--pink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s var(--ease);
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 17px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .94fr);
  align-items: center;
  gap: clamp(30px, 6vw, 85px);
  max-width: var(--page-width);
  min-height: 660px;
  margin: 0 auto;
  padding: 76px var(--page-gutter) 90px;
}

.hero::before {
  position: absolute;
  top: 5%;
  left: -15%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(197, 161, 255, .055);
  filter: blur(85px);
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 570px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 23px;
  color: var(--pink);
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 2.4px;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(216, 250, 117, .5);
  animation: dot-breathe 3s ease-in-out infinite;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

.hero h1 {
  margin: 0;
  font-size: clamp(62px, 8.5vw, 112px);
  font-weight: 900;
  letter-spacing: -.085em;
  line-height: .91;
}

.text-gradient {
  background: linear-gradient(100deg, var(--pink), #d8a9ff 52%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 450px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 49px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  transition:
    transform .25s var(--ease),
    background .25s ease,
    color .25s ease,
    border-color .25s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button span {
  font-size: 16px;
  transition: transform .25s var(--ease);
}

.button:hover span {
  transform: translate(3px, -2px);
}

.button-primary {
  background: var(--lime);
  color: #201f18;
}

.button-primary:hover {
  background: #e6ff9b;
}

.button-dark {
  border-color: rgba(23, 21, 27, .2);
  background: var(--bg);
  color: var(--ink);
}

.button-dark:hover {
  background: #302a37;
}

.text-link,
.underlined-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--ink);
  font-size: 12px;
  transition: color .2s ease;
}

.text-link:hover,
.underlined-link:hover {
  color: var(--lime);
}

.text-link span,
.underlined-link span {
  transition: transform .2s ease;
}

.text-link:hover span,
.underlined-link:hover span {
  transform: translate(3px, -3px);
}

.hero-aside {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  color: var(--faint);
}

.hero-aside p {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
}

.scribble {
  color: var(--pink);
  font-size: 22px;
  transform: rotate(-13deg);
}

/* Hero image and decorations */

.hero-art {
  position: relative;
  width: 100%;
  max-width: 490px;
  justify-self: end;
  padding: 22px 14px 26px;
}

.planet-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 4 / 4.65;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 48% 48% 7px 7px;
  background:
    radial-gradient(ellipse at 48% 35%, #55406c 0, #302a42 38%, #201d2b 75%);
  box-shadow: 0 28px 100px rgba(0, 0, 0, .24);
}

.planet-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.planet-frame:hover .planet-image {
  transform: scale(1.035);
}

.image-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 32px 15px 15px;
  background: linear-gradient(transparent, rgba(17, 14, 23, .82));
  color: white;
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  text-align: center;
}

.planet-orbit {
  position: absolute;
  z-index: 2;
  top: 16%;
  left: -20%;
  width: 140%;
  height: 56%;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  transform: rotate(-30deg);
}

.orbit-two {
  top: 25%;
  left: -15%;
  width: 130%;
  height: 46%;
  border-color: rgba(255, 154, 203, .4);
  transform: rotate(37deg);
}

.orbit-dot {
  position: absolute;
  z-index: 3;
  top: 14%;
  right: 15%;
  width: 12px;
  height: 12px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 25px rgba(216, 250, 117, .65);
}

.floating-note {
  position: absolute;
  z-index: 3;
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 3px;
  background: var(--lime);
  color: #27231e;
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}

.note-one {
  top: 17%;
  right: -24px;
  transform: rotate(5deg);
}

.note-two {
  bottom: 15%;
  left: -16px;
  padding: 8px 14px;
  background: var(--pink);
  font-size: 29px;
  line-height: 1;
  transform: rotate(-12deg);
}

.floating-star {
  position: absolute;
  color: var(--pink);
  font-size: 36px;
  animation: float 5s ease-in-out infinite;
}

.star-one {
  top: 1%;
  left: 2%;
}

.star-two {
  right: 0;
  bottom: 0;
  color: var(--blue);
  font-size: 29px;
  animation-delay: -2.5s;
}

.scroll-cue {
  position: absolute;
  bottom: 23px;
  left: var(--page-gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-line {
  width: 34px;
  height: 1px;
  background: var(--pink);
  transition: width .25s ease;
}

.scroll-cue:hover .scroll-line {
  width: 55px;
}

/* Moving color strip */

.color-ribbon {
  overflow: hidden;
  padding: 15px 0;
  border-top: 1px solid rgba(23, 21, 27, .1);
  border-bottom: 1px solid rgba(23, 21, 27, .1);
  background: var(--pink);
  color: #271b26;
}

.ribbon-track {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 28px;
  width: max-content;
  min-width: 200%;
  animation: ribbon-scroll 35s linear infinite;
}

.color-ribbon:hover .ribbon-track {
  animation-play-state: paused;
}

.ribbon-track span {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
}

.ribbon-track i {
  flex-shrink: 0;
  font-size: 16px;
  font-style: normal;
}

/* Shared section structure */

.section-pad {
  padding: 110px var(--page-gutter);
}

.world-section,
.places-section,
.people-section,
.connections-section,
.origin-section {
  max-width: var(--page-width);
  margin: 0 auto;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 55px;
}

.section-intro h2,
.section-heading h2,
.people-copy h2,
.connections-copy h2,
.origin-copy h2 {
  margin: 0;
  font-size: clamp(38px, 5.6vw, 67px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: 1.08;
}

.serif-accent {
  color: var(--pink);
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.045em;
}

.world-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr);
  align-items: center;
  gap: clamp(35px, 7vw, 100px);
}

.world-copy {
  max-width: 590px;
}

.world-copy p,
.people-copy > p:not(.eyebrow),
.connections-copy > p:not(.eyebrow),
.origin-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.world-copy .lead {
  margin-top: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.85;
}

.world-copy .underlined-link {
  margin-top: 18px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--pink);
}

/* Landscape image */

.world-art {
  min-width: 0;
}

.landscape-placeholder {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.04;
  border-radius: 45% 45% 4px 4px;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(20, 67, 63, .8), transparent 50%),
    linear-gradient(165deg, #40355d 0%, #8a527c 39%, #df977c 64%, #f6c18e 100%);
}

.landscape-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.landscape-sun {
  position: absolute;
  top: 13%;
  left: 35%;
  width: 31%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffdba0;
  box-shadow: 0 0 65px rgba(255, 211, 153, .36);
}

.landscape-mountain {
  position: absolute;
  bottom: 0;
  display: block;
  width: 0;
  height: 0;
  border-right: 170px solid transparent;
  border-bottom: 210px solid #3e4860;
  border-left: 170px solid transparent;
}

.mountain-back {
  right: -8%;
  bottom: 6%;
  border-right-width: 185px;
  border-bottom-width: 190px;
  border-left-width: 185px;
  border-bottom-color: #55506f;
}

.mountain-front {
  left: -14%;
  border-right-width: 225px;
  border-bottom-width: 175px;
  border-left-width: 225px;
  border-bottom-color: #283c48;
}

.landscape-plant {
  position: absolute;
  z-index: 2;
  color: #9cde9c;
  font-size: clamp(50px, 7vw, 85px);
  line-height: 1;
  text-shadow: 0 5px 30px rgba(0, 0, 0, .2);
}

.plant-left {
  bottom: 6%;
  left: 4%;
  transform: rotate(-20deg);
}

.plant-right {
  right: 7%;
  bottom: 16%;
  color: #d2e97e;
  transform: rotate(15deg);
}

.landscape-label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 5px 9px;
  border-radius: 3px;
  background: rgba(23, 21, 27, 0.72);
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
}

.little-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 11px;
}

.caption-star {
  color: var(--lime);
  font-size: 19px;
}

.world-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 75px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.fact {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.fact-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  font-size: 20px;
}

.icon-pink {
  background: rgba(255, 154, 203, .13);
  color: var(--pink);
}

.icon-lime {
  background: rgba(216, 250, 117, .11);
  color: var(--lime);
}

.icon-blue {
  background: rgba(147, 215, 255, .12);
  color: var(--blue);
}

.fact h3 {
  margin: 2px 0 4px;
  font-size: 13px;
}

.fact p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

/* Places */

.places-section {
  max-width: none;
  background: #211d27;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  max-width: calc(var(--page-width) - 2 * var(--page-gutter));
  margin: 0 auto 45px;
}

.section-heading .eyebrow {
  margin-bottom: 17px;
}

.heading-link {
  flex-shrink: 0;
  margin-bottom: 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--pink);
}

.places-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
  max-width: calc(var(--page-width) - 2 * var(--page-gutter));
  margin: 0 auto;
}

.place-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 5px;
  background: #29242f;
  transition:
    transform .35s var(--ease),
    border-color .35s ease,
    box-shadow .35s ease;
}

.place-card:hover {
  z-index: 2;
  border-color: rgba(255, 255, 255, .27);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
  transform: translateY(-6px);
}

.place-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 1.45;
  isolation: isolate;
}

.place-visual::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .08), transparent 56%);
  content: "";
  transition: transform .7s var(--ease);
}

.place-card:hover .place-visual::before {
  transform: scale(1.3) rotate(8deg);
}

.place-city .place-visual {
  background: linear-gradient(145deg, #5a326b, #ad5d8a 53%, #f0a47f);
}

.place-hollow .place-visual {
  background: linear-gradient(145deg, #263f48, #386b69 54%, #8f9d77);
}

.place-velvet .place-visual {
  background: linear-gradient(145deg, #4d234d, #a64d86 58%, #ed9a9f);
}

.place-pugad .place-visual {
  background: linear-gradient(145deg, #2b6a60, #72a978 56%, #c7d38b);
}

.place-everywhere .place-visual {
  background: linear-gradient(145deg, #363052, #55528b 55%, #8e84ba);
}

.place-number {
  position: absolute;
  top: 13px;
  left: 14px;
  color: rgba(255, 255, 255, .75);
  font-size: 10px;
  letter-spacing: 1px;
}

.place-symbol {
  position: relative;
  z-index: 3;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(54px, 7vw, 85px);
  text-shadow: 0 6px 30px rgba(0, 0, 0, .12);
  transition: transform .5s var(--ease);
}

.place-card:hover .place-symbol {
  transform: rotate(18deg) scale(1.1);
}

.place-decoration {
  position: absolute;
  display: block;
  pointer-events: none;
}

.city-shape-one {
  right: 12%;
  bottom: 0;
  width: 19%;
  height: 60%;
  background: rgba(35, 26, 48, .65);
  box-shadow:
    -46px 25px 0 rgba(35, 26, 48, .45),
    48px 40px 0 rgba(35, 26, 48, .45);
}

.city-shape-two {
  right: 16%;
  bottom: 65%;
  width: 3px;
  height: 30%;
  background: rgba(255, 255, 255, .35);
}

.city-shape-three {
  bottom: 0;
  left: 10%;
  width: 14%;
  height: 30%;
  background: rgba(35, 26, 48, .4);
}

.factory-one,
.factory-two {
  bottom: 0;
  width: 27%;
  height: 42%;
  background: rgba(36, 28, 36, .52);
}

.factory-one {
  left: 13%;
}

.factory-two {
  right: 12%;
  height: 56%;
}

.factory-smoke {
  top: 20%;
  left: 35%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 227, 197, .18);
  box-shadow:
    18px -14px 0 rgba(255, 227, 197, .12),
    30px 5px 0 rgba(255, 227, 197, .1);
}

.hollow-moon {
  top: 12%;
  right: 17%;
  width: 32%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(231, 232, 183, .7);
}

.hollow-tree {
  bottom: -4%;
  left: 12%;
  width: 12%;
  height: 76%;
  border-radius: 50% 50% 0 0;
  background: rgba(27, 51, 47, .8);
  box-shadow: 38px 22px 0 rgba(27, 51, 47, .6);
}

.hollow-vine {
  top: 0;
  left: 47%;
  width: 2px;
  height: 80%;
  background: rgba(181, 211, 148, .5);
  transform: rotate(24deg);
}

.velvet-circle {
  top: -18%;
  left: 27%;
  width: 46%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  box-shadow:
    0 0 0 15px rgba(255, 255, 255, .05),
    0 0 0 30px rgba(255, 255, 255, .04);
}

.velvet-star {
  top: 14%;
  left: 13%;
  color: rgba(255, 221, 233, .75);
  font-size: 33px;
}

.velvet-spark {
  right: 15%;
  bottom: 15%;
  color: rgba(255, 221, 233, .75);
  font-size: 26px;
}

.pugad-sun {
  top: 15%;
  right: 17%;
  width: 28%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(242, 231, 158, .7);
}

.pugad-leaf {
  bottom: 5%;
  color: rgba(31, 88, 67, .75);
  font-size: 70px;
}

.leaf-one {
  left: 10%;
  transform: rotate(-28deg);
}

.leaf-two {
  right: 8%;
  transform: rotate(24deg);
}

.everywhere-spark {
  position: absolute;
  font-size: 32px;
}

.spark-a {
  top: 15%;
  left: 21%;
  color: var(--pink);
}

.spark-b {
  right: 18%;
  bottom: 17%;
  color: var(--lime);
}

.spark-c {
  top: 20%;
  right: 23%;
  color: var(--blue);
}

.spark-d {
  bottom: 18%;
  left: 20%;
  color: #ffd7a0;
}

.place-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 112px;
  padding: 18px;
}

.place-info h3 {
  margin: 0 0 6px;
  font-size: 15px;
  letter-spacing: -.3px;
}

.place-info p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.card-arrow {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--pink);
  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

.place-card:hover .card-arrow {
  background: var(--pink);
  color: var(--bg);
  transform: rotate(45deg);
}

/* Location card images */

.place-visual {
  position: relative;
  overflow: hidden;
}

.place-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* People */

.people-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(45px, 8vw, 110px);
}

.people-art {
  min-width: 0;
}

.portrait-placeholder {
  position: relative;
  overflow: hidden;
  aspect-ratio: .88;
  border-radius: 47% 47% 4px 4px;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(255, 154, 203, .22), transparent 43%),
    linear-gradient(155deg, #363050, #4e3459 54%, #243b49);
}

.portrait-halo {
  position: absolute;
  top: 9%;
  left: 17%;
  width: 66%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  box-shadow:
    0 0 0 14px rgba(255, 255, 255, .035),
    0 0 0 29px rgba(255, 255, 255, .025);
}

.portrait-face {
  position: absolute;
  top: 29%;
  left: 29%;
  width: 42%;
  height: 45%;
  border-radius: 45% 45% 42% 42%;
  background: #c28b83;
  box-shadow: inset -12px -7px 0 rgba(77, 40, 62, .14);
}

.portrait-ear {
  position: absolute;
  top: 10%;
  width: 18%;
  height: 47%;
  border: 3px solid #b77c85;
  border-radius: 70% 70% 45% 45%;
  background: #e8a1a8;
  transform-origin: bottom center;
}

.ear-left {
  left: 27%;
  transform: rotate(-19deg);
}

.ear-right {
  right: 27%;
  transform: rotate(19deg);
}

.portrait-hair {
  position: absolute;
  top: 23%;
  left: 25%;
  width: 50%;
  height: 29%;
  border-radius: 60% 55% 25% 30%;
  background: #25202d;
  transform: rotate(-4deg);
}

.portrait-star {
  position: absolute;
  z-index: 3;
  color: var(--lime);
  font-size: 35px;
  animation: float 5s ease-in-out infinite;
}

.portrait-star-one {
  top: 20%;
  right: 12%;
}

.portrait-star-two {
  bottom: 20%;
  left: 10%;
  color: var(--pink);
  animation-delay: -2s;
}

.portrait-note {
  position: absolute;
  right: 10px;
  bottom: 14px;
  left: 10px;
  color: rgba(255, 255, 255, .78);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  text-align: center;
}

.people-copy {
  max-width: 520px;
}

.people-copy .eyebrow,
.connections-copy .eyebrow,
.origin-copy .eyebrow {
  margin-bottom: 20px;
}

.people-copy > p:not(.eyebrow),
.connections-copy > p:not(.eyebrow),
.origin-copy > p:not(.eyebrow) {
  margin-top: 20px;
}

.people-copy .button,
.connections-copy .button {
  margin-top: 19px;
}

/* Relationships */

.connections-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(35px, 7vw, 85px);
  max-width: none;
  background: #211d27;
}

.connections-copy {
  max-width: 530px;
  justify-self: end;
}

.connections-art {
  position: relative;
  width: 100%;
  max-width: 500px;
  justify-self: center;
}

.connection-drawing {
  width: 100%;
  overflow: visible;
}

.connection-line {
  stroke: rgba(246, 240, 233, .3);
  stroke-width: 1.5;
  stroke-dasharray: 5 8;
  animation: line-flow 20s linear infinite;
}

.connection-node {
  stroke: rgba(23, 21, 27, .8);
  stroke-width: 3;
  transform-box: fill-box;
  transform-origin: center;
  animation: node-breathe 5s ease-in-out infinite;
}

.node-a { fill: var(--pink); }
.node-b { fill: var(--blue); animation-delay: -1s; }
.node-c { fill: var(--lime); animation-delay: -2s; }
.node-d { fill: var(--purple); animation-delay: -3s; }
.node-e { fill: var(--orange); animation-delay: -1.5s; }
.node-f { fill: var(--pink); animation-delay: -2.5s; }
.node-g { fill: var(--blue); animation-delay: -.5s; }
.node-h { fill: var(--lime); animation-delay: -3.5s; }
.node-i { fill: var(--purple); animation-delay: -4s; }

.connections-sticker {
  position: absolute;
  right: 3%;
  bottom: 3%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 3px;
  background: var(--pink);
  color: #2b202a;
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  transform: rotate(5deg);
}

/* Origin */

.origin-section {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: clamp(35px, 7vw, 90px);
  padding-top: 90px;
  padding-bottom: 100px;
}

.origin-mark {
  display: grid;
  place-items: center;
  width: 175px;
  height: 175px;
  border: 1px solid rgba(255, 154, 203, .45);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 154, 203, .13), transparent 67%);
  color: var(--pink);
  font-size: 90px;
  animation: slow-turn 35s linear infinite;
}

.origin-copy {
  max-width: 700px;
}

.origin-copy h2 {
  font-size: clamp(38px, 5vw, 55px);
}

.origin-copy strong {
  color: var(--pink);
  font-weight: bold;
}

/* Footer */

.site-footer {
  padding: 42px var(--page-gutter) 24px;
  border-top: 1px solid var(--border);
  background: #121116;
}

.footer-wordmark {
  display: inline-block;
  font-size: 25px;
}

.site-footer > p {
  margin: 10px 0 26px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 10px;
}

/* Scroll reveal */

.js-enabled .reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .7s var(--ease),
    transform .7s var(--ease);
}

.js-enabled .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Motion */

@keyframes dot-breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-7deg); }
  50% { transform: translateY(-10px) rotate(7deg); }
}

@keyframes ribbon-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes line-flow {
  to { stroke-dashoffset: -130; }
}

@keyframes node-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes slow-turn {
  to { transform: rotate(360deg); }
}

/* Tablet */

@media (max-width: 900px) {
  :root {
    --page-gutter: 34px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr);
    gap: 30px;
    min-height: 590px;
  }

  .hero h1 {
    font-size: clamp(58px, 8vw, 80px);
  }

  .note-one {
    right: -8px;
  }

  .places-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .world-layout {
    gap: 35px;
  }

  .people-section {
    gap: 40px;
  }

  .origin-section {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 40px;
  }

  .origin-mark {
    width: 135px;
    height: 135px;
    font-size: 70px;
  }
}

/* Mobile navigation */

@media (max-width: 680px) {
  :root {
    --page-gutter: 23px;
  }

  .site-header {
    min-height: 70px;
  }

  .wordmark {
    font-size: 25px;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px var(--page-gutter) 24px;
    border-bottom: 1px solid var(--border);
    background: #17151b;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity .2s ease,
      transform .2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: auto;
    padding-top: 65px;
    padding-bottom: 78px;
  }

  .hero h1 {
    font-size: clamp(62px, 15vw, 90px);
  }

  .hero-description {
    max-width: 480px;
    font-size: 15px;
  }

  .hero-art {
    width: min(90%, 390px);
    justify-self: center;
    margin: 0 auto;
  }

  .planet-frame {
    aspect-ratio: 1 / 1.05;
  }

  .scroll-cue {
    bottom: 20px;
  }

  .section-pad {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .section-intro {
    margin-bottom: 35px;
  }

  .section-intro h2,
  .section-heading h2,
  .people-copy h2,
  .connections-copy h2 {
    font-size: clamp(37px, 9vw, 54px);
  }

  .world-layout,
  .people-section,
  .connections-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .world-art {
    width: min(100%, 430px);
    justify-self: center;
  }

  .world-facts {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 48px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }

  .heading-link {
    margin-bottom: 0;
  }

  .places-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .place-visual {
    aspect-ratio: 1.8;
  }

  .place-symbol {
    font-size: 70px;
  }

  .place-info {
    min-height: 100px;
  }

  .people-art {
    width: min(100%, 400px);
    justify-self: center;
  }

  .people-copy,
  .connections-copy {
    max-width: 100%;
  }

  .connections-copy {
    justify-self: stretch;
  }

  .connections-art {
    width: min(100%, 440px);
  }

  .origin-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .origin-mark {
    width: 100px;
    height: 100px;
    font-size: 53px;
  }

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

@media (max-width: 390px) {
  :root {
    --page-gutter: 18px;
  }

  .hero h1 {
    font-size: 57px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .floating-note {
    font-size: 8px;
  }

  .note-one {
    right: -12px;
  }

  .place-info {
    padding: 15px;
  }

  .footer-links {
    gap: 14px 20px;
  }
}

/* Respect reduced-motion preferences */

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

  .js-enabled .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
