.journey-main {
  --journey-ink: #382052;
  --journey-muted: #756681;
  --journey-gold: #987446;
  --journey-paper: #f0eaf5;
  color: var(--journey-ink);
  background: var(--journey-paper);
  overflow: clip;
}
.journey-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 20px;
  background: #382052;
  color: #fff;
  transform: translateY(-200%);
}
.journey-skip:focus {
  transform: translateY(0);
}
.journey-main h1,
.journey-main h2,
.journey-main h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.journey-main h1 em,
.journey-main h2 em {
  font-weight: 400;
  color: var(--journey-gold);
}
.journey-main h2 {
  margin: 0;
  font-size: clamp(2.6rem, 4.6vw, 5rem);
  line-height: 1.07;
  letter-spacing: -0.045em;
}
.journey-main p {
  line-height: 1.8;
}
.journey-main .section-label {
  display: block;
  margin: 0 0 28px;
}
.journey-main section[id] {
  scroll-margin-top: 110px;
}
.journey-hero {
  --journey-muted: #d6c6e1;
  position: relative;
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  align-items: center;
  gap: 40px;
  min-height: min(880px, calc(100svh - 96px));
  max-width: 1600px;
  margin: 0 auto;
  padding: 66px 7vw 104px;
  color: #fbf5ea;
  background: #29113f;
  box-shadow: 0 0 0 100vmax #29113f;
  clip-path: inset(0 -100vmax);
}
.journey-main .journey-hero h1 em {
  color: #e3bd84;
}
.journey-hero .button {
  color: #29113f;
  background: #e3bd84;
  border-color: #e3bd84;
}
.journey-hero .button:hover {
  background: #f2d7ae;
  border-color: #f2d7ae;
}
.journey-hero :focus-visible {
  outline-color: #e3bd84;
}
.journey-hero-copy {
  position: relative;
  z-index: 2;
}
.journey-hero-copy .eyebrow {
  margin: 0 0 36px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
}
.journey-hero-copy .eyebrow span {
  margin-right: 10px;
  color: #e3bd84;
}
.journey-main .journey-hero h1 {
  font-size: clamp(3.4rem, 5.9vw, 6.6rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
  margin: 0 0 28px;
}
.journey-lead {
  max-width: 350px;
  margin: 0 0 30px;
  font-size: 0.91rem;
  color: var(--journey-muted);
}
.journey-hero-note {
  display: block;
  margin: 22px 0 0;
  color: var(--journey-muted);
  font:
    italic 0.86rem Georgia,
    serif;
}
.journey-art {
  position: relative;
  width: 100%;
  max-width: 530px;
  aspect-ratio: 0.89;
  justify-self: center;
}
.journey-art-window {
  position: absolute;
  inset: 4% 7% 1%;
  overflow: hidden;
  border-radius: 48% 48% 3px 3px;
  box-shadow: 0 25px 80px #11051d66;
  background: #5b317b;
}
.journey-art-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.journey-art-orbit {
  position: absolute;
  inset: -1% 1% -4%;
  border: 1px solid #e3bd845c;
  border-radius: 49% 49% 3px 3px;
}
.journey-art-star {
  position: absolute;
  z-index: 2;
  color: #e3bd84;
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
}
.journey-art-star--one {
  top: 8%;
  right: -3%;
  animation: journey-star-drift 7s ease-in-out infinite alternate;
}
.journey-art-star--two {
  bottom: 9%;
  left: -2%;
  font-size: 2.7rem;
  animation: journey-star-drift 7s ease-in-out 2s infinite alternate;
}
.journey-art-caption {
  position: absolute;
  bottom: -11%;
  left: 0;
  width: 100%;
  text-align: center;
  color: #d6c6e1;
  font-size: 0.54rem;
  letter-spacing: 0.24em;
}
.journey-scroll {
  position: absolute;
  left: 7vw;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--journey-muted);
  font-size: 0.54rem;
  letter-spacing: 0.2em;
  text-decoration: none;
}
.journey-scroll span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #e3bd8466;
  border-radius: 50%;
  font-size: 1rem;
}
.journey-intro {
  padding: 130px 24px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.journey-intro > p:last-child {
  max-width: 640px;
  margin: 28px auto 0;
  color: var(--journey-muted);
  font-size: 0.94rem;
}
.tarot-experience {
  position: relative;
  padding: 100px 6vw 65px;
  text-align: center;
  color: #fbf5ea;
  background: radial-gradient(
    ellipse at 50% 55%,
    #5b317b 0%,
    #34174b 60%,
    #29113f 100%
  );
}
.tarot-experience .section-label {
  color: #e3bd84;
}
.tarot-experience h2 em {
  color: #e3bd84;
}
.tarot-experience-heading > p:last-child {
  margin: 24px auto 0;
  color: #ddd0e7;
  font-size: 0.88rem;
}
.tarot-deck {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 4.5vw, 66px);
  padding: 54px 0 38px;
}
.tarot-card {
  position: relative;
  display: block;
  width: clamp(148px, 17vw, 224px);
  padding: 0;
  color: #e3bd84;
  background: none;
  border: 0;
  cursor: pointer;
  perspective: 1000px;
  -webkit-tap-highlight-color: transparent;
  transition:
    opacity 0.4s,
    transform 0.5s;
}
.tarot-card:nth-child(1) {
  transform: rotate(-7deg) translateY(16px);
}
.tarot-card:nth-child(3) {
  transform: rotate(7deg) translateY(16px);
}
.tarot-card:not(:disabled):hover {
  transform: translateY(-13px);
}
.tarot-card:focus-visible {
  outline: 2px solid #f8ddb4;
  outline-offset: 12px;
  border-radius: 8px;
}
.tarot-card:disabled {
  cursor: default;
}
.tarot-card.is-muted {
  opacity: 0.3;
}
.tarot-card.is-selected {
  transform: translateY(-8px);
}
.tarot-card-inner {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(0.2, 0.65, 0.2, 1);
}
.tarot-card.is-selected .tarot-card-inner {
  transform: rotateY(180deg);
}
.tarot-card-back,
.tarot-card-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  border: 1px solid #d0ae78;
  border-radius: 7px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
.tarot-card-back {
  background:
    repeating-linear-gradient(45deg, transparent 0 9px, #e3bd8408 9px 10px),
    #45205f;
  box-shadow: 0 20px 35px #180b2b66;
}
.tarot-card-border {
  position: absolute;
  inset: 10px;
  border: 1px solid #d0ae7880;
  border-radius: 3px;
}
.tarot-card-border::before,
.tarot-card-border::after {
  content: "✦";
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
}
.tarot-card-border::after {
  top: auto;
  bottom: 9px;
}
.tarot-card-moon {
  width: 46%;
  aspect-ratio: 1;
  border: 1px solid #e3bd84;
  border-radius: 50%;
  position: relative;
  margin-top: 7%;
}
.tarot-card-moon::before {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid #e3bd8488;
  border-radius: 50%;
}
.tarot-card-moon::after {
  content: "✧";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font:
    3.7rem Georgia,
    serif;
}
.tarot-card-spark {
  position: absolute;
  top: 21%;
  font-size: 1.6rem;
}
.tarot-card-brand {
  margin-top: 25%;
  font-size: 0.58rem;
  letter-spacing: 0.32em;
}
.tarot-card-front {
  transform: rotateY(180deg);
  background: #e8d6b6;
}
.tarot-card-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tarot-card-choice {
  display: block;
  margin-top: 17px;
  min-height: 2.8em;
  font-size: 0.59rem;
  line-height: 1.4;
  letter-spacing: 0.17em;
  opacity: 0.6;
}
.tarot-card.is-selected .tarot-card-choice {
  opacity: 1;
}
.tarot-result {
  max-width: 540px;
  min-height: 184px;
  margin: 24px auto 0;
}
.tarot-result-invitation {
  padding-top: 33px;
  font:
    italic 1.13rem Georgia,
    serif;
  color: #e1cfe8;
}
.tarot-result .tarot-result-label {
  margin: 0 0 10px;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: #e3bd84;
}
.tarot-result h3 {
  margin: 0 0 14px;
  font-size: 2rem;
}
.tarot-result > p:not(.tarot-result-label):not(.tarot-result-invitation) {
  font-size: 0.88rem;
  color: #ddd0e7;
  margin: 0;
}
.tarot-result .tarot-result-question {
  display: block;
  margin: 16px 0 0;
  color: #fbf5ea;
  font:
    italic 1.06rem/1.5 Georgia,
    serif;
}
.tarot-reset {
  border: 0;
  border-bottom: 1px solid #e3bd8466;
  background: transparent;
  color: #e3bd84;
  padding: 9px 1px;
  font-size: 0.73rem;
  cursor: pointer;
}
.tarot-reset span {
  margin-left: 12px;
}
.tarot-footnote {
  margin: 30px 0 0;
  font-size: 0.67rem;
  color: #c4afd3;
}
.tarot-noscript {
  max-width: 480px;
  margin: 0 auto;
}
.journey-path {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 10%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 130px 7vw;
}
.journey-steps article {
  display: flex;
  align-items: baseline;
  gap: 24px;
  border-top: 1px solid #98744640;
  padding: 27px 0;
}
.journey-steps article:last-child {
  padding-bottom: 0;
}
.journey-steps article > span {
  font-size: 0.65rem;
  color: var(--journey-gold);
}
.journey-steps h3 {
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
.journey-steps p {
  font-size: 0.88rem;
  color: var(--journey-muted);
  margin: 0;
}
.journey-next {
  padding: 85px 24px 100px;
  text-align: center;
  background: #e4d8ed;
}
.journey-next > span {
  display: block;
  font-size: 2.4rem;
  color: var(--journey-gold);
  margin-bottom: 26px;
}
.journey-next .section-label {
  margin-bottom: 22px;
}
.journey-next .button {
  margin-top: 36px;
}
.apometria-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 6vw 120px;
}
.apometria-principles article {
  padding: 0 32px;
  border-right: 1px solid #98744640;
}
.apometria-principles article:first-child {
  padding-left: 0;
}
.apometria-principles article:last-child {
  border: 0;
  padding-right: 0;
}
.apometria-principle-symbol {
  display: block;
  font:
    3.5rem/1 Georgia,
    serif;
  color: var(--journey-gold);
  margin-bottom: 29px;
}
.apometria-principles .section-label {
  display: block;
  margin-bottom: 16px;
  font-size: 0.55rem;
}
.apometria-principles h3 {
  margin: 0 0 18px;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}
.apometria-principles p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--journey-muted);
}
.apometria-path-note {
  max-width: 300px;
  font-size: 0.85rem;
  color: var(--journey-muted);
  margin-top: 28px;
}
.breathing-experience {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 50px;
  padding: 100px 8vw;
  background: #e4d8ed;
}
.breathing-copy {
  max-width: 500px;
  justify-self: end;
}
.breathing-copy h2 {
  margin-bottom: 26px;
}
.breathing-copy > p:not(.section-label) {
  max-width: 400px;
  font-size: 0.89rem;
  color: #695777;
}
.breathing-copy > p.breathing-small {
  font-size: 0.72rem;
  max-width: 345px;
  color: #695777;
  margin-top: 20px;
}
.breathing-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}
.breathing-controls .button {
  min-width: 190px;
  justify-content: center;
}
.breathing-reset {
  background: none;
  border: 0;
  border-bottom: 1px solid #8d729299;
  color: #5b317b;
  padding: 8px 0;
  font-size: 0.72rem;
  cursor: pointer;
}
.breathing-visual {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
}
.breathing-orbit {
  position: absolute;
  border: 1px solid #8d72924f;
  border-radius: 50%;
  pointer-events: none;
}
.breathing-orbit--outer {
  inset: 0;
}
.breathing-orbit--outer::after {
  content: "✧";
  position: absolute;
  top: 48%;
  right: -13px;
  color: #987446;
  font:
    2rem Georgia,
    serif;
  background: #e4d8ed;
}
.breathing-orbit--inner {
  inset: 9%;
  border-style: dashed;
  opacity: 0.7;
}
.breathing-orb {
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 36% 28%,
    #fbf5ea 0%,
    #e9dcc3 24%,
    #c5afd9 62%,
    #775890 100%
  );
  box-shadow:
    0 0 70px #b69bcc66,
    inset -14px -17px 30px #5b317b33;
  transform: scale(0.82);
}
.breathing-visual.is-running .breathing-orb {
  animation: breathing-cycle 8s ease-in-out infinite;
}
.breathing-visual.is-paused .breathing-orb {
  animation-play-state: paused;
}
.breathing-message {
  position: relative;
  text-align: center;
  pointer-events: none;
  color: #382052;
}
.breathing-phase {
  display: block;
  font:
    italic clamp(1.5rem, 2.5vw, 2.3rem) Georgia,
    serif;
}
.breathing-timing {
  display: block;
  margin-top: 12px;
  font-size: 0.54rem;
  letter-spacing: 0.18em;
}
.breathing-caption {
  position: absolute;
  bottom: -40px;
  font:
    italic 0.89rem Georgia,
    serif;
  color: #695777;
  text-align: center;
}
[hidden] {
  display: none !important;
}
@keyframes journey-star-drift {
  to {
    transform: translateY(-12px) rotate(12deg);
  }
}
@keyframes breathing-cycle {
  0%,
  100% {
    transform: scale(0.82);
  }
  50% {
    transform: scale(1.08);
  }
}
@media (min-width: 1700px) {
  .journey-hero {
    padding-left: 90px;
    padding-right: 90px;
  }
}
@media (max-width: 1050px) {
  .journey-hero {
    gap: 12px;
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .journey-main .journey-hero h1 {
    font-size: clamp(3.2rem, 6vw, 5rem);
  }
  .journey-art-caption {
    font-size: 0.44rem;
    letter-spacing: 0.16em;
  }
  .journey-path {
    gap: 7%;
    padding: 100px 6vw;
  }
  .breathing-experience {
    padding: 85px 6vw 100px;
    gap: 30px;
  }
  .apometria-principles article {
    padding: 0 22px;
  }
}
@media (max-width: 760px) {
  .journey-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 42px;
    padding: 45px 7vw 100px;
  }
  .journey-hero-copy {
    text-align: center;
  }
  .journey-hero-copy .eyebrow {
    font-size: 0.55rem;
    letter-spacing: 0.14em;
    margin-bottom: 25px;
  }
  .journey-main .journey-hero h1 {
    font-size: clamp(3rem, 9vw, 4.7rem);
    margin-bottom: 24px;
  }
  .journey-lead {
    margin: 0 auto 26px;
    max-width: 340px;
    font-size: 0.85rem;
  }
  .journey-hero-note {
    font-size: 0.76rem;
  }
  .journey-art {
    max-width: 340px;
  }
  .journey-art-caption {
    bottom: -10%;
    font-size: 0.45rem;
  }
  .journey-scroll {
    position: relative;
    grid-column: 1;
    bottom: auto;
    left: auto;
    justify-content: center;
    margin-top: 15px;
    font-size: 0.49rem;
  }
  .journey-intro {
    padding: 65px 7vw 75px;
  }
  .journey-main h2 {
    font-size: clamp(2.15rem, 6.7vw, 3.6rem);
  }
  .journey-intro > p:last-child {
    font-size: 0.85rem;
  }
  .journey-main .section-label {
    font-size: 0.55rem;
    margin-bottom: 23px;
  }
  .tarot-experience {
    padding: 70px 5vw 45px;
  }
  .tarot-experience-heading > p:last-child {
    font-size: 0.8rem;
    max-width: 310px;
  }
  .tarot-deck {
    gap: 14px;
    padding: 45px 0 28px;
  }
  .tarot-card {
    width: clamp(85px, 25vw, 148px);
  }
  .tarot-card-border {
    inset: 6px;
  }
  .tarot-card-border::before {
    top: 5px;
    font-size: 0.4rem;
  }
  .tarot-card-border::after {
    bottom: 5px;
    font-size: 0.4rem;
  }
  .tarot-card-brand {
    font-size: 0.38rem;
  }
  .tarot-card-spark {
    font-size: 1rem;
  }
  .tarot-card-moon::after {
    font-size: 2rem;
  }
  .tarot-result {
    min-height: 210px;
    margin-top: 16px;
    max-width: 360px;
  }
  .tarot-result h3 {
    font-size: 1.7rem;
  }
  .tarot-result > p:not(.tarot-result-label):not(.tarot-result-invitation) {
    font-size: 0.8rem;
  }
  .tarot-result .tarot-result-question {
    font-size: 1rem;
  }
  .tarot-result-invitation {
    padding-top: 42px;
    font-size: 1rem;
  }
  .journey-path {
    grid-template-columns: 1fr;
    padding: 75px 7vw;
    gap: 38px;
  }
  .journey-steps h3 {
    font-size: 1.35rem;
  }
  .journey-steps p {
    font-size: 0.82rem;
  }
  .journey-next {
    padding: 65px 6vw 75px;
  }
  .apometria-principles {
    grid-template-columns: 1fr;
    padding: 0 7vw 65px;
  }
  .apometria-principles article,
  .apometria-principles article:first-child,
  .apometria-principles article:last-child {
    position: relative;
    padding: 26px 0 26px 65px;
    border: 0;
    border-top: 1px solid #98744640;
  }
  .apometria-principle-symbol {
    position: absolute;
    left: 0;
    top: 31px;
    font-size: 2.6rem;
  }
  .apometria-principles .section-label {
    margin-bottom: 12px;
  }
  .apometria-principles h3 {
    margin-bottom: 12px;
    font-size: 1.55rem;
  }
  .apometria-principles p {
    font-size: 0.81rem;
  }
  .breathing-experience {
    grid-template-columns: 1fr;
    padding: 70px 7vw 85px;
    gap: 48px;
  }
  .breathing-copy {
    justify-self: center;
    text-align: center;
  }
  .breathing-copy > p:not(.section-label) {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.83rem;
  }
  .breathing-copy > p.breathing-small {
    font-size: 0.69rem;
  }
  .breathing-controls {
    justify-content: center;
  }
  .breathing-visual {
    width: min(100%, 340px);
  }
  .breathing-phase {
    font-size: 1.8rem;
  }
  .breathing-caption {
    bottom: -30px;
    font-size: 0.78rem;
  }
  .apometria-path-note {
    max-width: 340px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .journey-art-star,
  .breathing-visual.is-running .breathing-orb {
    animation: none;
  }
  .tarot-card,
  .tarot-card-inner {
    transition: none;
  }
}
html.motion-paused .journey-art-star,
html.motion-paused .breathing-orb,
body.motion-paused .journey-art-star,
body.motion-paused .breathing-orb,
html[data-motion="off"] .journey-art-star,
html[data-motion="off"] .breathing-orb {
  animation-play-state: paused !important;
}
