:root {
  --paper: #f1ede5;
  --paper-light: #f8f5ef;
  --ink: #1d1d1a;
  --ink-soft: #66635d;

  --plum: #633f4b;
  --green: #788073;
  --sand: #c5b29a;

  --child-paper: #f6f0df;
  --child-blue: #68879a;
  --child-red: #a96c5c;
  --child-green: #7f9371;

  --teen-bg: #d9d7d0;
  --teen-ink: #191919;
  --teen-accent: #664f7d;

  --adult-bg: #dfddd5;
  --adult-deep: #24241f;

  --page-pad: clamp(22px, 4vw, 72px);
  --max: 1500px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  overflow-x: hidden;

  transition:
    background-color .8s ease,
    color .8s ease;
}

body[data-world="child"] {
  background: var(--child-paper);
}

body[data-world="teen"] {
  background: var(--teen-bg);
}

body[data-world="adult"] {
  background: var(--adult-bg);
}

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

::selection {
  background: var(--plum);
  color: white;
}


/* ==========================================
   TEXTURE
   ========================================== */

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: .04;

  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}


/* ==========================================
   HEADER
   ========================================== */

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;

  width: 100%;
  padding:
    28px
    var(--page-pad);

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  flex-direction: column;
  width: max-content;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.brand-role {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
}

.nav a,
.header-cta {
  transition: opacity .25s ease;
}

.nav a:hover,
.header-cta:hover {
  opacity: .5;
}

.header-cta {
  justify-self: end;

  padding: 11px 17px;

  border: 1px solid rgba(20,20,18,.2);
  border-radius: 100px;

  font-size: 13px;
}


/* ==========================================
   HERO
   ========================================== */

.hero {
  position: relative;

  min-height: 100svh;
  padding:
    clamp(170px, 18vh, 240px)
    var(--page-pad)
    80px;

  display: flex;
  align-items: center;

  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 5;

  width: min(1200px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 28px;

  color: var(--plum);

  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .17em;
}

.hero-title {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;

  font-size:
    clamp(57px, 8.5vw, 150px);

  line-height: .84;
  letter-spacing: -.065em;
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  margin-left: clamp(0px, 10vw, 165px);
  color: var(--plum);
  font-style: italic;
}

.hero-bottom {
  width: min(840px, 100%);
  margin:
    clamp(50px, 8vh, 100px)
    0
    0
    auto;

  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.hero-statement {
  margin: 0;

  max-width: 530px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 44px);
  line-height: 1.08;
}

.scroll-link {
  display: flex;
  gap: 14px;
  align-items: center;

  font-size: 13px;
}

.scroll-link .arrow {
  width: 36px;
  height: 36px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(20,20,18,.2);
  border-radius: 50%;

  animation: arrowFloat 2s ease-in-out infinite;
}

@keyframes arrowFloat {
  50% {
    transform: translateY(6px);
  }
}


.hero-orbit {
  position: absolute;

  border: 1px solid rgba(40,35,32,.09);
  border-radius: 50%;
}

.hero-orbit-a {
  width: 650px;
  height: 870px;

  right: -270px;
  top: 80px;

  transform: rotate(29deg);
}

.hero-orbit-b {
  width: 400px;
  height: 560px;

  left: -200px;
  bottom: -250px;

  transform: rotate(-30deg);
}


/* thread */

.thread {
  pointer-events: none;
}

.thread-hero {
  position: absolute;
  right: 7vw;
  top: 0;

  width: 410px;
  height: 100%;
}

.thread svg {
  width: 100%;
  height: 100%;
}

.thread-path {
  fill: none;
  stroke: var(--plum);
  stroke-width: 1.2;
  stroke-linecap: round;

  opacity: .38;

  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
}


/* ==========================================
   WORLDS
   ========================================== */

.worlds {
  padding:
    clamp(110px, 14vw, 200px)
    var(--page-pad);

  border-top: 1px solid rgba(20,20,18,.12);
}

.worlds-heading {
  width: min(var(--max), 100%);
  margin: 0 auto 80px;
}

.section-title {
  margin: 0;

  max-width: 1080px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(47px, 6.5vw, 105px);
  line-height: .92;
  letter-spacing: -.055em;
  font-weight: 400;
}

.section-intro {
  max-width: 650px;

  margin: 36px 0 0 auto;

  color: var(--ink-soft);

  font-size: 18px;
  line-height: 1.7;
}


.world-grid {
  width: min(var(--max), 100%);
  margin: auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.world-card {
  position: relative;

  min-height: 630px;
  padding: 30px;

  overflow: hidden;

  display: flex;
  flex-direction: column;

  border: 1px solid rgba(20,20,18,.11);

  transition:
    transform .5s cubic-bezier(.2,.8,.2,1),
    background-color .5s ease,
    color .5s ease,
    box-shadow .5s ease;
}

.world-card:hover {
  transform: translateY(-12px);
  box-shadow:
    0 35px 90px rgba(30,25,20,.10);
}

.world-index {
  font-size: 11px;
  letter-spacing: .18em;
}

.world-content {
  position: relative;
  z-index: 4;

  margin-top: auto;
  margin-bottom: 75px;
}

.world-kicker {
  display: block;

  margin-bottom: 14px;

  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.world-card h3 {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 5vw, 77px);
  font-weight: 400;
  letter-spacing: -.055em;
}

.world-card p {
  max-width: 290px;
  margin: 16px 0 0;

  line-height: 1.5;
  font-size: 14px;
}

.world-enter {
  position: absolute;

  left: 30px;
  bottom: 30px;

  font-size: 12px;

  transition: transform .35s ease;
}

.world-card:hover .world-enter {
  transform: translateX(8px);
}


/* CHILD */

.world-child {
  background: #f6f0df;
}

.world-child:hover {
  background: #f1e6ca;
}

.child-doodle {
  position: absolute;
  top: 70px;
  right: 15px;

  width: 80%;

  transform: rotate(-8deg);
}

.child-doodle svg {
  width: 100%;
}

.child-doodle path,
.child-doodle circle {
  fill: none;
  stroke: var(--child-blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* TEEN */

.world-teen {
  background: #d9d7d0;
}

.world-teen:hover {
  color: #f3f0e9;
  background: #27252b;
}

.teen-note {
  position: absolute;

  padding: 9px 12px;

  font-family:
    "Courier New",
    monospace;

  font-size: 15px;

  border: 1px solid currentColor;

  transform: rotate(-7deg);

  transition:
    transform .5s ease,
    opacity .5s ease;
}

.teen-note-a {
  top: 125px;
  right: 40px;
}

.teen-note-b {
  top: 205px;
  left: 30px;

  transform: rotate(6deg);
}

.world-teen:hover .teen-note-a {
  transform:
    rotate(-3deg)
    translate(-10px, 10px);
}

.world-teen:hover .teen-note-b {
  transform:
    rotate(2deg)
    translate(10px, -6px);
}


/* ADULT */

.world-adult {
  background: #e7e4dc;
}

.world-adult:hover {
  color: #f5f2ec;
  background: var(--adult-deep);
}

.adult-line {
  position: absolute;

  width: 320px;
  height: 320px;

  top: 85px;
  right: -100px;

  border:
    1px solid
    rgba(30,30,25,.18);

  border-radius: 50%;

  transition:
    transform .8s ease,
    border-color .5s ease;
}

.world-adult:hover .adult-line {
  transform: scale(1.3) rotate(40deg);
  border-color: rgba(255,255,255,.17);
}


/* ==========================================
   IDEA
   ========================================== */

.idea {
  position: relative;

  min-height: 105vh;

  padding:
    clamp(120px, 15vw, 220px)
    var(--page-pad);

  display: flex;
  align-items: center;

  background: var(--ink);
  color: var(--paper-light);

  overflow: hidden;
}

.idea-inner {
  width: min(1250px, 100%);
  margin: auto;
}

.idea-small {
  margin: 0 0 80px;

  color: rgba(255,255,255,.55);

  font-size: 15px;
  line-height: 1.8;
}

.idea-title {
  margin: 0;

  max-width: 1200px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(55px, 7.7vw, 126px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.06em;
}

.idea-title span {
  display: block;
  color: #c6aaa7;
  font-style: italic;
}

.idea-line {
  position: absolute;

  width: 1px;
  height: 55%;

  top: 0;
  right: 16%;

  background:
    linear-gradient(
      transparent,
      rgba(255,255,255,.25),
      transparent
    );
}


/* ==========================================
   MARIA
   ========================================== */

.maria {
  padding:
    clamp(110px, 15vw, 210px)
    var(--page-pad);

  background: var(--paper-light);
}

.maria-grid {
  width: min(1350px, 100%);
  margin: auto;

  display: grid;
  grid-template-columns: .85fr 1.15fr;

  gap: clamp(50px, 8vw, 130px);
  align-items: center;
}

.maria-photo {
  position: relative;

  min-height: 670px;
}

.photo-placeholder {
  position: absolute;
  inset: 0 40px 50px 0;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 34px;

  background:
    linear-gradient(
      150deg,
      #cbc3bb,
      #a9a097
    );

  border-radius:
    48% 52% 43% 57% /
    58% 44% 56% 42%;

  color:
    rgba(20,20,18,.55);
}

.photo-placeholder span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.photo-placeholder strong {
  margin-top: 8px;

  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}

.photo-caption {
  position: absolute;

  right: 0;
  bottom: 0;

  width: 240px;
  padding: 20px;

  background: var(--paper);
  border: 1px solid rgba(20,20,18,.1);

  font-family: Georgia, serif;
  font-size: 18px;
}

.photo-caption span {
  display: block;

  margin-top: 7px;

  color: var(--ink-soft);

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  font-size: 11px;
  line-height: 1.5;
}

.maria-copy .section-title em {
  display: block;

  color: var(--plum);
  font-weight: 400;
}

.maria-lead {
  max-width: 680px;

  margin: 46px 0 0;

  font-family: Georgia, serif;
  font-size: clamp(24px, 2.5vw, 37px);
  line-height: 1.35;
}

.maria-text {
  max-width: 620px;

  margin: 35px 0 0;

  color: var(--ink-soft);

  font-size: 17px;
  line-height: 1.75;
}

.text-link {
  display: inline-block;

  margin-top: 42px;

  border-bottom:
    1px solid
    rgba(20,20,18,.4);

  padding-bottom: 5px;
}


/* ==========================================
   CONTACT
   ========================================== */

.contact {
  padding:
    clamp(130px, 18vw, 260px)
    var(--page-pad);

  background: #5c3f48;
  color: #f3ece7;
}

.contact-inner {
  width: min(1200px, 100%);
  margin: auto;
}

.contact .eyebrow {
  color: #d9bfc4;
}

.contact-title {
  margin: 0;

  max-width: 1100px;

  font-family: Georgia, serif;
  font-size: clamp(55px, 7vw, 118px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.06em;
}

.contact-title span {
  display: block;
  color: #d6bbb4;
  font-style: italic;
}

.contact-copy {
  max-width: 540px;

  margin: 45px 0 0;

  color: rgba(255,255,255,.68);

  font-size: 18px;
  line-height: 1.7;
}

.contact-actions {
  margin-top: 60px;

  display: flex;
  align-items: center;
  gap: 35px;
}

.main-button {
  min-width: 180px;
  min-height: 58px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 28px;

  border-radius: 100px;

  background: #f3ece7;
  color: #4f363e;

  transition:
    transform .25s ease,
    background .25s ease;
}

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

.contact-meta {
  font-size: 13px;
  color: rgba(255,255,255,.65);
}


/* ==========================================
   FOOTER
   ========================================== */

.footer {
  padding:
    38px
    var(--page-pad);

  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  background: #171715;
  color: rgba(255,255,255,.8);
}

.footer > div:first-child {
  display: flex;
  flex-direction: column;
}

.footer strong {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 400;
}

.footer span {
  margin-top: 7px;

  font-size: 11px;
  color: rgba(255,255,255,.45);
}


/* ==========================================
   REVEAL
   ========================================== */

.reveal {
  opacity: 0;
  transform: translateY(35px);

  transition:
    opacity .9s ease,
    transform .9s
      cubic-bezier(.16,1,.3,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1000px) {

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .world-grid {
    grid-template-columns: 1fr;
  }

  .world-card {
    min-height: 430px;
  }

  .maria-grid {
    grid-template-columns: 1fr;
  }

  .maria-photo {
    min-height: 620px;
  }

}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 650px) {

  :root {
    --page-pad: 18px;
  }

  .site-header {
    padding-top: 18px;
  }

  .brand-role {
    display: none;
  }

  .header-cta {
    padding: 9px 13px;
  }

  .hero {
    min-height: 100svh;
    padding-top: 140px;
  }

  .hero-title {
    font-size: clamp(48px, 16vw, 76px);
    line-height: .9;
  }

  .hero-title .accent {
    margin-left: 0;
  }

  .hero-bottom {
    margin-top: 65px;
    align-items: flex-start;
    flex-direction: column;
  }

  .thread-hero {
    right: -160px;
    opacity: .5;
  }

  .worlds {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .worlds-heading {
    margin-bottom: 50px;
  }

  .section-title {
    font-size: clamp(44px, 13vw, 68px);
  }

  .section-intro {
    margin-left: 0;
  }

  .world-card {
    min-height: 470px;
  }

  .idea {
    min-height: 90svh;
  }

  .idea-title {
    font-size: clamp(48px, 14vw, 76px);
  }

  .maria-photo {
    min-height: 500px;
  }

  .photo-placeholder {
    inset: 0 0 55px 0;
  }

  .photo-caption {
    width: 220px;
  }

  .contact-title {
    font-size: clamp(48px, 14vw, 76px);
  }

  .contact-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer {
    gap: 30px;
    align-items: flex-start;
    flex-direction: column;
  }

}


/* ==========================================
   REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: .001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .thread-path {
    stroke-dashoffset: 0;
  }

}
