@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,500&family=Instrument+Sans:wght@400;500;600&display=swap");

:root {
  --paper: #f5f0e6;
  --paper-2: #efe7d8;
  --paper-shadow: #ddceba;
  --ink: #292021;
  --wine: #521e2a;
  --wine-soft: #7f2931;
  --clay: #b75f55;
  --rose: #d6aea5;
  --rose-pale: #e8d2c9;
  --gold: #b79052;
  --line: rgba(82, 30, 42, 0.18);
  --body-font: "Instrument Sans", "Segoe UI", Arial, sans-serif;
  --display-font: "Cormorant Garamond", Georgia, serif;
  --container: min(1200px, calc(100vw - 3rem));
  --shadow-paper: 0 18px 42px rgba(65, 33, 27, 0.09), 0 2px 6px rgba(65, 33, 27, 0.07);
  --ease: cubic-bezier(0.22, 0.75, 0.19, 1);
  --nav-height: 4.3rem;
  --scroll: 0px;
  --pointer-x: 0px;
  --pointer-y: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 0;
  min-width: 20rem;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  -webkit-font-smoothing: antialiased;
}

body[data-page="home"] {
  overflow: hidden;
}

#site {
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  position: fixed;
  inset: 0;
}

#stage-wrapper {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  perspective: 1200px;
  perspective-origin: center center;
  transform-style: preserve-3d;
}

#stage {
  position: relative;
  width: 100vw;
  height: 100dvh;
  transform-style: preserve-3d;
}

#stage > .panel {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  overflow: hidden !important;
  transform-style: preserve-3d !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  transform-origin: center center !important;
  will-change: transform, opacity !important;
}

.panel-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f0e8;
}

.panel-placeholder span {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 6vw, 5rem);
  color: #5c1a1a;
  letter-spacing: 0.05em;
  text-transform: lowercase;
}

body::after {
  position: fixed;
  z-index: 70;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.17;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(59, 34, 26, 0.18) 0 0.045rem, transparent 0.055rem),
    radial-gradient(circle at 70% 62%, rgba(59, 34, 26, 0.12) 0 0.04rem, transparent 0.05rem);
  background-size: 0.43rem 0.46rem, 0.58rem 0.5rem;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  line-height: 1.72;
}

h1,
h2,
h3,
blockquote {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

h1 {
  font-size: clamp(3.7rem, 7.4vw, 7.4rem);
}

h2 {
  color: var(--wine);
  font-size: clamp(2.55rem, 5.2vw, 4.6rem);
}

h3 {
  color: var(--wine);
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
}

button,
select,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--wine);
  color: var(--paper);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 60;
  top: 1.15rem;
  left: 50%;
  width: min(66rem, calc(100vw - 2rem));
  transform: translateX(-50%);
}

.home-header {
  display: none;
}

.screen-reader-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.motion-hero {
  position: relative;
  flex: 0 0 100vw;
  height: 100dvh;
  min-height: 43rem;
  overflow: hidden;
  background: #f1e7d8;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  pointer-events: none;
  background: #efe4d4;
}

.hero-fallback-bg {
  background:
    radial-gradient(circle at 14% 36%, rgba(183, 144, 82, 0.16) 0 6rem, transparent 6.2rem),
    radial-gradient(circle at 86% 33%, rgba(183, 144, 82, 0.14) 0 5.4rem, transparent 5.6rem),
    url("../design/motion/hero-parchment.png") center / cover no-repeat !important;
}

.hero-video-scrim {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 247, 231, 0.56), rgba(255, 247, 231, 0.24) 35%, rgba(245, 231, 209, 0.05) 62%),
    linear-gradient(to bottom, rgba(66, 31, 28, 0.02), transparent 25%, transparent 72%, rgba(82, 30, 42, 0.18));
}

.motion-hero::after {
  position: absolute;
  z-index: 12;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 248, 235, 0.26), transparent 29rem),
    linear-gradient(to bottom, rgba(72, 34, 27, 0.08), transparent 18%, transparent 82%, rgba(72, 34, 27, 0.08));
}

.motion-hero > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  user-select: none;
  pointer-events: none;
}

.motion-plate {
  z-index: 1;
  transform: scale(1.01);
}

.motion-clouds,
.motion-waves,
.motion-card-fan {
  will-change: transform;
}

.motion-clouds {
  z-index: 3;
  transform-origin: center;
  opacity: 0.96;
  transform: translate3d(
    calc(var(--pointer-x) * -0.05 + var(--drift-x, 0px) * 0.65),
    calc(var(--scroll) * -0.018 + var(--pointer-y) * -0.035 + var(--drift-y, 0px) * 0.55),
    0
  ) scale(1.012);
}

.motion-waves {
  z-index: 6;
  transform: translate3d(
    calc(var(--pointer-x) * -0.04 + var(--drift-x, 0px) * -0.35),
    calc(var(--scroll) * 0.012),
    0
  ) scale(1.025);
  transform-origin: bottom center;
}

.hero-nav {
  position: absolute;
  z-index: 20;
  top: clamp(2.1rem, 4.8vh, 3.35rem);
  left: 50%;
  display: grid;
  grid-template-columns: auto 1px auto 1px auto minmax(10.5rem, auto) auto 1px auto 1px auto 1px auto 2rem;
  align-items: center;
  gap: clamp(0.9rem, 1.45vw, 1.4rem);
  width: min(65rem, calc(100vw - 12rem));
  min-height: 5.55rem;
  padding: 0.42rem 2rem;
  border: 1px solid rgba(82, 30, 42, 0.16);
  border-radius: 999px;
  background: rgba(246, 239, 225, 0.84);
  box-shadow:
    0 1.25rem 2.25rem rgba(78, 40, 28, 0.13),
    inset 0 0 0 0.4rem rgba(255, 252, 244, 0.46);
  color: var(--wine);
  font-family: var(--display-font);
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.hero-nav span {
  width: 1px;
  height: 1.7rem;
  background: rgba(82, 30, 42, 0.14);
}

.hero-nav a {
  transition: color 220ms ease, transform 220ms var(--ease);
}

.hero-nav a:not(.hero-logo):hover {
  color: var(--clay);
  transform: translateY(-1px);
}

.hero-logo {
  position: relative;
  justify-self: center;
  padding: 0 1.2rem;
  font-size: clamp(3rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-logo::before {
  position: absolute;
  top: -0.55rem;
  left: 50%;
  width: 0.56rem;
  height: 0.56rem;
  content: "";
  background: var(--clay);
  transform: translateX(-50%) rotate(45deg);
}

.hero-bag {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid currentColor;
  border-radius: 0.12rem;
}

.hero-bag::before {
  position: absolute;
  top: -0.45rem;
  left: 50%;
  width: 0.62rem;
  height: 0.55rem;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 0.5rem 0.5rem 0 0;
  content: "";
  transform: translateX(-50%);
}

.motion-copy {
  position: absolute;
  z-index: 15;
  top: clamp(10.6rem, 19vh, 14.1rem);
  left: 50%;
  width: min(57rem, calc(100vw - 3rem));
  color: var(--wine);
  text-align: center;
  transform: translateX(-50%);
}

.motion-copy h1 {
  color: var(--wine);
  font-size: clamp(4rem, 7.8vw, 7.6rem);
  line-height: 0.91;
  letter-spacing: -0.045em;
  text-shadow: 0 0.06rem 0 rgba(255, 255, 255, 0.28);
}

.motion-copy h1 em {
  font-style: italic;
  font-weight: 500;
}

.motion-copy p {
  max-width: 34.5rem;
  margin: 2rem auto 0;
  color: rgba(41, 32, 33, 0.84);
  font-family: var(--display-font);
  font-size: clamp(1.18rem, 1.55vw, 1.42rem);
  line-height: 1.26;
}

.hero-ornament {
  position: relative;
  width: min(17rem, 42vw);
  height: 1rem;
  margin: 0 auto 1.5rem;
}

.hero-ornament.lower {
  margin-top: 1.65rem;
  margin-bottom: 0;
}

.hero-ornament::before,
.hero-ornament::after {
  position: absolute;
  top: 50%;
  width: calc(50% - 1rem);
  height: 1px;
  content: "";
  background: linear-gradient(to var(--dir, right), transparent, var(--gold));
}

.hero-ornament::before {
  left: 0;
}

.hero-ornament::after {
  --dir: left;
  right: 0;
}

.hero-ornament {
  background:
    linear-gradient(45deg, transparent 36%, var(--gold) 36% 64%, transparent 64%) center / 0.85rem 0.85rem no-repeat;
}

.motion-card-fan {
  position: absolute;
  z-index: 18;
  right: -1.7%;
  bottom: -2.4%;
  left: -1.7%;
  height: 61.5%;
  pointer-events: none;
  opacity: 1;
  transform: translate3d(calc(var(--pointer-x) * 0.018), calc(var(--scroll) * 0.007), 0);
  animation: cards-settle 700ms var(--ease) both;
}

.motion-card-fan img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  filter: drop-shadow(0 1rem 0.95rem rgba(73, 33, 28, 0.18));
}

.motion-card-links {
  position: absolute;
  z-index: 25;
  inset: 0;
}

.motion-card-hit {
  position: absolute;
  display: block;
  color: transparent;
  font-size: 0;
}

.motion-card-hit span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.motion-card-hit::after {
  position: absolute;
  inset: -0.25rem;
  border-radius: 1rem;
  content: "";
  opacity: 0;
  box-shadow: 0 1rem 2rem rgba(82, 30, 42, 0.22);
  transform: translateY(0.4rem);
  transition: opacity 250ms ease, transform 250ms var(--ease);
}

.motion-card-hit:hover::after,
.motion-card-hit:focus-visible::after {
  opacity: 1;
  transform: translateY(-0.2rem);
}

.motion-card-hit:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 0.25rem;
}

.motion-card-hit.card-find {
  left: 0.2%;
  top: 41.5%;
  width: 26.5%;
  height: 56%;
  clip-path: polygon(4% 17%, 70% 0, 100% 93%, 22% 100%);
}

.motion-card-hit.card-cosmic {
  left: 22%;
  top: 37.8%;
  width: 22.5%;
  height: 55%;
  clip-path: polygon(4% 6%, 95% 0, 100% 100%, 2% 100%);
}

.motion-card-hit.card-reading {
  left: 40.7%;
  top: 35.2%;
  width: 18.6%;
  height: 56%;
  clip-path: inset(0 0 0 0 round 0.8rem);
}

.motion-card-hit.card-course {
  left: 56.6%;
  top: 38%;
  width: 23%;
  height: 55%;
  clip-path: polygon(6% 0, 96% 8%, 83% 100%, 0 93%);
}

.motion-card-hit.card-book {
  left: 74.8%;
  top: 42.5%;
  width: 25%;
  height: 55%;
  clip-path: polygon(22% 0, 96% 18%, 80% 100%, 0 89%);
}

.hero-card-stage {
  position: absolute;
  z-index: 18;
  right: max(-4rem, -3vw);
  bottom: -5.4rem;
  left: max(-4rem, -3vw);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.35rem, 0.8vw, 0.8rem);
  height: clamp(24rem, 49vh, 34rem);
  perspective: 1400px;
  pointer-events: none;
}

.hero-card {
  --angle: 0deg;
  --rise: 0rem;
  position: relative;
  display: block;
  flex: 0 0 clamp(10.5rem, 15vw, 15rem);
  height: clamp(18.8rem, 36vh, 25.5rem);
  color: var(--wine);
  pointer-events: auto;
  transform: rotate(var(--angle)) translateY(var(--rise));
  transform-origin: bottom center;
  animation: card-rise 860ms var(--ease) both;
  animation-delay: calc(160ms + var(--i) * 120ms);
  transition: transform 340ms var(--ease), filter 340ms ease;
}

.hero-card:hover,
.hero-card:focus-visible {
  transform: rotate(calc(var(--angle) * 0.72)) translateY(calc(var(--rise) - 1.2rem)) scale(1.025);
  filter: drop-shadow(0 1.1rem 1rem rgba(82, 30, 42, 0.2));
  z-index: 2;
}

.hero-card-1 {
  --angle: -13deg;
  --rise: 3.2rem;
}

.hero-card-2 {
  --angle: -5deg;
  --rise: 1.15rem;
}

.hero-card-3 {
  --rise: 0rem;
  flex-basis: clamp(11.4rem, 15.8vw, 15.8rem);
  height: clamp(20rem, 38vh, 27rem);
  z-index: 1;
}

.hero-card-4 {
  --angle: 5deg;
  --rise: 1.15rem;
}

.hero-card-5 {
  --angle: 13deg;
  --rise: 3.2rem;
}

.hero-card-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: card-flip 980ms cubic-bezier(0.2, 0.7, 0.18, 1) both;
  animation-delay: calc(720ms + var(--i) * 155ms);
}

.hero-card-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(82, 30, 42, 0.16);
  border-radius: 0.9rem;
  backface-visibility: hidden;
  box-shadow: 0 1.1rem 2.1rem rgba(73, 33, 28, 0.16);
}

.hero-card-front {
  padding: clamp(0.8rem, 1.4vw, 1.1rem);
  background:
    radial-gradient(circle at 50% 37%, rgba(183, 144, 82, 0.16), transparent 28%),
    linear-gradient(145deg, #fff8ec, #eadbc3);
}

.hero-card-front::before {
  position: absolute;
  inset: 0.48rem;
  border: 1px solid rgba(183, 95, 85, 0.52);
  border-radius: 0.56rem;
  content: "";
  pointer-events: none;
}

.hero-card-front::after {
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(183, 95, 85, 0.28);
  border-radius: 0.3rem;
  content: "";
  pointer-events: none;
}

.hero-card-back {
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle, rgba(183, 144, 82, 0.18), transparent 28%),
    repeating-linear-gradient(45deg, rgba(82, 30, 42, 0.09) 0 1px, transparent 1px 9px),
    linear-gradient(145deg, #7f2931, #42141f);
  transform: rotateY(180deg);
}

.back-diamond {
  width: 4.3rem;
  height: 4.3rem;
  border: 1px solid rgba(245, 240, 230, 0.64);
  transform: rotate(45deg);
}

.back-diamond::before {
  display: block;
  width: 1.7rem;
  height: 1.7rem;
  margin: 1.2rem;
  content: "";
  background: #f2dfbd;
}

.hero-card-icon {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 40%;
  color: var(--wine-soft);
}

.hero-card-icon svg {
  width: min(7rem, 52%);
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-card-front strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 9rem;
  margin: 0 auto;
  color: var(--wine);
  font-family: var(--display-font);
  font-size: clamp(1.8rem, 2.65vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.93;
  text-align: center;
}

.hero-card-front em {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 0.2rem;
  color: rgba(82, 30, 42, 0.62);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: rotate(calc(var(--angle) * 0.3)) translateY(8rem) scale(0.94);
  }
  to {
    opacity: 1;
    transform: rotate(var(--angle)) translateY(var(--rise));
  }
}

@keyframes card-flip {
  0% {
    transform: rotateY(180deg);
  }
  42% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(0deg);
  }
}

.home-page {
  width: 100%;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--paper);
}

.home-horizontal {
  display: block;
  width: 100%;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--paper);
}

.horizontal-track {
  display: flex;
  width: 100%;
  height: 100dvh;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  background: var(--paper);
}

.horizontal-panel {
  flex: 0 0 100vw;
  min-height: 100dvh;
  scroll-snap-align: start;
  overflow: hidden;
}

.horizontal-track .quote-band {
  display: grid;
  place-items: center;
}

@keyframes cards-settle {
  from {
    opacity: 0;
    transform: translate3d(calc(var(--pointer-x) * 0.018), 1.2rem, 0) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translate3d(calc(var(--pointer-x) * 0.018), calc(var(--scroll) * 0.007), 0);
  }
}

.reference-hero {
  --reference-scroll: 0px;
  position: relative;
  height: 100dvh;
  min-height: 43rem;
  overflow: hidden;
  background: #f3e9dc;
  isolation: isolate;
}

.reference-scene {
  position: absolute;
  inset: -0.35rem;
  will-change: transform;
  transform: scale(1.008) translate3d(
    calc(var(--pointer-x) * -0.045),
    calc(var(--scroll) * -0.018 + var(--pointer-y) * -0.04),
    0
  );
  transform-origin: center top;
  transition: transform 150ms linear;
}

.reference-scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  user-select: none;
}

.reference-nav-links a,
.reference-card-hit {
  position: absolute;
  z-index: 3;
  display: block;
  color: transparent;
  font-size: 0;
}

.reference-nav-links a:focus-visible {
  border-radius: 999px;
  background: rgba(183, 144, 82, 0.12);
  outline-color: var(--gold);
}

.hit-rel {
  top: 6.5%;
  left: 18.5%;
  width: 7.5%;
  height: 5%;
}

.hit-lookup {
  top: 6.5%;
  left: 26.6%;
  width: 10%;
  height: 5%;
}

.hit-readings {
  top: 6.5%;
  left: 37%;
  width: 6%;
  height: 5%;
}

.hit-home {
  top: 4.4%;
  left: 43.2%;
  width: 13.6%;
  height: 8%;
}

.hit-courses {
  top: 6.5%;
  left: 57.2%;
  width: 6%;
  height: 5%;
}

.hit-book {
  top: 6.5%;
  left: 63.6%;
  width: 8.5%;
  height: 5%;
}

.hit-journal {
  top: 6.5%;
  left: 72.2%;
  width: 8%;
  height: 5%;
}

.hit-contact {
  top: 5.9%;
  left: 80.5%;
  width: 3.2%;
  height: 5%;
}

.reference-card-hit {
  inset: 0;
  z-index: 4;
}

.reference-card-hit::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  background: url("../design/homepage-reference.png") center / 100% 100% no-repeat;
  filter: drop-shadow(0 1.1rem 1rem rgba(69, 31, 32, 0.23));
  transition: opacity 220ms ease, transform 380ms var(--ease);
}

.reference-card-hit:is(:hover, :focus-visible)::before {
  opacity: 1;
  transform: translateY(-0.6rem);
}

.reference-card-hit:focus-visible {
  outline: none;
}

.reference-card-hit span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.card-find {
  clip-path: polygon(4.8% 59%, 23.7% 52%, 31% 94%, 10.4% 99%);
}

.card-cosmic {
  clip-path: polygon(24.4% 54%, 42% 50%, 44.3% 92%, 29% 95%);
}

.card-reading {
  clip-path: polygon(42.7% 50.5%, 57.7% 50.5%, 57.7% 92%, 42.7% 92%);
}

.card-course {
  clip-path: polygon(58.6% 51%, 76.3% 54%, 71% 95%, 57.7% 92%);
}

.card-book {
  clip-path: polygon(77% 53%, 96.4% 60%, 89.4% 99%, 70.4% 95%);
}

.nav-tray {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.4rem);
  min-height: var(--nav-height);
  padding: 0.45rem clamp(1.1rem, 2.5vw, 1.6rem);
  border: 1px solid rgba(82, 30, 42, 0.14);
  border-radius: 999px;
  background: rgba(245, 240, 230, 0.86);
  box-shadow: 0 6px 28px rgba(60, 26, 26, 0.06);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--wine);
  font-family: var(--display-font);
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1;
}

.brand-mark {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--clay);
  transform: rotate(45deg);
}

.nav-links {
  display: flex;
  gap: clamp(0.65rem, 1.45vw, 1.3rem);
  color: rgba(41, 32, 33, 0.78);
  font-size: clamp(0.76rem, 1vw, 0.87rem);
  white-space: nowrap;
}

.nav-left {
  justify-content: end;
}

.nav-right {
  justify-content: start;
}

.nav-links a {
  position: relative;
  padding: 0.5rem 0;
  transition: color 220ms ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 1px;
  content: "";
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 250ms var(--ease);
}

.nav-links a:is(:hover, [aria-current="page"]) {
  color: var(--wine);
}

.nav-links a:is(:hover, [aria-current="page"])::after {
  transform: scaleX(1);
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid var(--wine);
  border-radius: 999px;
  background: var(--wine);
  color: var(--paper);
  font-size: 0.92rem;
  font-weight: 500;
  transition: transform 240ms var(--ease), background 240ms ease, box-shadow 240ms ease;
}

.nav-action:hover,
.button:hover {
  background: var(--wine-soft);
  box-shadow: 0 12px 24px rgba(82, 30, 42, 0.16);
  transform: translateY(-2px);
}

.nav-action:active,
.button:active {
  transform: translateY(1px) scale(0.985);
}

.button.secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--wine);
}

.button.secondary:hover {
  border-color: var(--wine);
  background: rgba(82, 30, 42, 0.045);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.mobile-menu {
  display: none;
}

.nav-toggle span,
.nav-toggle span::before {
  display: block;
  width: 1rem;
  height: 1px;
  margin: auto;
  content: "";
  background: var(--wine);
  transition: transform 200ms ease;
}

.nav-toggle span::before {
  transform: translateY(-0.35rem);
}

.notice {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.72rem 1rem;
  border-bottom: 1px solid rgba(82, 30, 42, 0.08);
  background: var(--paper-2);
  color: rgba(41, 32, 33, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.notice strong {
  color: var(--wine);
  font-weight: 500;
}

.hero {
  position: relative;
  display: grid;
  align-items: start;
  min-height: max(52rem, 100dvh);
  overflow: hidden;
  padding: clamp(8.7rem, 14vh, 10.5rem) 1.5rem 0;
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 6;
  width: min(51rem, 100%);
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.55rem;
  color: var(--wine-soft);
  font-size: 0.73rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  width: 2.2rem;
  height: 1px;
  content: "";
  background: var(--gold);
}

.hero h1 {
  color: var(--wine);
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 37rem;
  margin: 1.6rem auto 0;
  color: rgba(41, 32, 33, 0.72);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.celestial {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(183, 144, 82, 0.38);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  top: 20%;
  left: 8%;
  width: clamp(5rem, 9vw, 7.5rem);
  aspect-ratio: 1;
}

.orbit-one::before {
  position: absolute;
  inset: 1.2rem;
  border: 1px solid rgba(183, 144, 82, 0.32);
  border-radius: inherit;
  content: "";
}

.orbit-two {
  top: 17%;
  right: 9%;
  width: clamp(3.8rem, 8vw, 5.8rem);
  aspect-ratio: 1;
  border-color: transparent;
}

.orbit-two::after {
  display: block;
  width: 1rem;
  height: 1rem;
  margin: 1.4rem;
  content: "";
  background: rgba(183, 95, 85, 0.52);
  transform: rotate(45deg);
}

.paper-cloud {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  will-change: transform;
}

.cloud-left {
  top: 35%;
  left: -4rem;
  width: clamp(17rem, 29vw, 28rem);
  height: clamp(5.5rem, 10vw, 8.5rem);
  border-radius: 0 9rem 9rem 0;
  background: var(--rose-pale);
  box-shadow: var(--shadow-paper);
  transform: translate3d(calc(var(--pointer-x) * -0.16), calc(var(--scroll) * -0.07), 0);
}

.cloud-left::before {
  position: absolute;
  right: 26%;
  bottom: 45%;
  width: 37%;
  height: 82%;
  border-radius: 50% 50% 0 0;
  content: "";
  background: inherit;
}

.cloud-right {
  top: 30%;
  right: -4.5rem;
  width: clamp(16rem, 28vw, 25rem);
  height: clamp(5rem, 9vw, 8rem);
  border-radius: 9rem 0 0 9rem;
  background: #ead6c8;
  box-shadow: var(--shadow-paper);
  transform: translate3d(calc(var(--pointer-x) * 0.12), calc(var(--scroll) * -0.11), 0);
}

.cloud-right::before,
.cloud-right::after {
  position: absolute;
  bottom: 42%;
  border-radius: 50% 50% 0 0;
  content: "";
  background: inherit;
}

.cloud-right::before {
  left: 18%;
  width: 36%;
  height: 83%;
}

.cloud-right::after {
  left: 50%;
  width: 24%;
  height: 61%;
}

.landscape {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: clamp(18rem, 37vh, 27rem);
  pointer-events: none;
}

.ridge {
  position: absolute;
  right: -10%;
  bottom: -2rem;
  left: -10%;
  border-radius: 50% 50% 0 0 / 45% 45% 0 0;
  will-change: transform;
}

.ridge-back {
  height: 78%;
  background: var(--rose-pale);
  transform: translate3d(0, calc(var(--scroll) * 0.035), 0);
}

.ridge-middle {
  height: 61%;
  background: var(--rose);
  transform: translate3d(calc(var(--pointer-x) * 0.08), calc(var(--scroll) * 0.022), 0);
}

.ridge-front {
  height: 40%;
  background: var(--clay);
  transform: translate3d(calc(var(--pointer-x) * -0.06), calc(var(--scroll) * 0.012), 0);
}

.card-fan {
  position: absolute;
  z-index: 8;
  bottom: clamp(-5.5rem, -7vh, -3.5rem);
  left: 50%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.25rem, 1.1vw, 0.75rem);
  width: min(64rem, calc(100vw - 2rem));
  transform: translateX(-50%);
}

.offer-card {
  --lift: 0rem;
  position: relative;
  display: flex;
  flex: 0 1 11.3rem;
  flex-direction: column;
  justify-content: space-between;
  height: clamp(16.5rem, 31vh, 20rem);
  padding: 1rem 0.95rem 1.45rem;
  overflow: hidden;
  border: 1px solid rgba(82, 30, 42, 0.16);
  border-radius: 0.65rem;
  background: var(--paper);
  box-shadow: 0 13px 34px rgba(60, 27, 29, 0.13);
  color: var(--wine);
  transform: translateY(var(--lift));
  transition: transform 430ms var(--ease), box-shadow 430ms ease;
}

.offer-card::before {
  position: absolute;
  inset: 0.45rem;
  border: 1px solid rgba(82, 30, 42, 0.13);
  border-radius: 0.35rem;
  content: "";
}

.offer-card:is(:hover, :focus-visible) {
  --lift: -1.35rem;
  box-shadow: 0 26px 50px rgba(60, 27, 29, 0.19);
}

.offer-card:nth-child(1) {
  transform: rotate(-13deg) translateY(calc(2.8rem + var(--lift)));
  transform-origin: bottom right;
}

.offer-card:nth-child(2) {
  transform: rotate(-5deg) translateY(calc(0.85rem + var(--lift)));
  transform-origin: bottom right;
}

.offer-card:nth-child(3) {
  flex-basis: 12rem;
  height: clamp(18rem, 34vh, 21.5rem);
}

.offer-card:nth-child(4) {
  transform: rotate(5deg) translateY(calc(0.85rem + var(--lift)));
  transform-origin: bottom left;
}

.offer-card:nth-child(5) {
  transform: rotate(13deg) translateY(calc(2.8rem + var(--lift)));
  transform-origin: bottom left;
}

.card-corner {
  display: grid;
  gap: 0.05rem;
  font-family: var(--display-font);
  font-size: 1.55rem;
  line-height: 0.85;
}

.card-corner small {
  color: var(--clay);
  font-size: 0.9rem;
}

.offer-card h3 {
  max-width: 8rem;
  padding-left: 0.2rem;
  font-size: clamp(1.45rem, 2.1vw, 1.78rem);
  line-height: 0.98;
}

.card-note {
  position: relative;
  padding-left: 0.2rem;
  color: rgba(41, 32, 33, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.scroll-cue {
  position: absolute;
  z-index: 9;
  bottom: 1.2rem;
  left: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(41, 32, 33, 0.56);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-cue::before {
  width: 2.2rem;
  height: 1px;
  content: "";
  background: var(--gold);
}

.section {
  position: relative;
  padding: clamp(5rem, 9vw, 8.5rem) 1.5rem;
}

.section-inner {
  width: var(--container);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.82fr) minmax(19rem, 1fr);
  align-items: start;
  gap: clamp(2.5rem, 8vw, 7.5rem);
}

.intro-grid p {
  max-width: 34rem;
  color: rgba(41, 32, 33, 0.73);
  font-size: 1.02rem;
}

.rule {
  width: 3.8rem;
  height: 1px;
  margin: 1.5rem 0 1.55rem;
  background: var(--gold);
}

.story {
  background: var(--paper-2);
}

.story::before {
  position: absolute;
  top: -2.8rem;
  right: 0;
  left: 0;
  height: 3rem;
  clip-path: ellipse(57% 75% at 48% 100%);
  content: "";
  background: var(--paper-2);
}

.pathways {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.path-list {
  display: grid;
  margin-top: 2.8rem;
}

.path-link {
  display: grid;
  grid-template-columns: 3.6rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  transition: padding 250ms var(--ease);
}

.path-link:last-child {
  border-bottom: 1px solid var(--line);
}

.path-link:hover {
  padding-left: 0.6rem;
}

.path-symbol {
  color: var(--clay);
  font-family: var(--display-font);
  font-size: 2rem;
}

.path-link strong {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--wine);
  font-family: var(--display-font);
  font-size: 1.85rem;
  font-weight: 500;
}

.path-link span:not(.path-symbol) {
  color: rgba(41, 32, 33, 0.64);
  font-size: 0.88rem;
}

.arrow {
  color: var(--clay);
  font-size: 1.3rem;
}

.portrait-paper {
  position: sticky;
  top: 7rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 37rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  overflow: hidden;
  border-radius: 9rem 9rem 0.8rem 0.8rem;
  background:
    radial-gradient(circle at 53% 30%, var(--paper) 0 15%, transparent 15.2%),
    radial-gradient(ellipse at 52% 62%, var(--wine-soft) 0 29%, transparent 29.4%),
    linear-gradient(160deg, var(--rose-pale), var(--rose));
  box-shadow: var(--shadow-paper);
}

.portrait-paper::after {
  position: absolute;
  top: 17%;
  left: 48%;
  width: 25%;
  height: 28%;
  border-radius: 50% 50% 35% 35%;
  content: "";
  background: var(--clay);
  transform: translateX(-50%);
}

.portrait-caption {
  position: relative;
  z-index: 2;
  padding: 1.1rem;
  background: rgba(245, 240, 230, 0.92);
}

.portrait-caption strong {
  display: block;
  color: var(--wine);
  font-family: var(--display-font);
  font-size: 1.65rem;
  font-weight: 500;
}

.portrait-caption span {
  color: rgba(41, 32, 33, 0.65);
  font-size: 0.86rem;
}

.quote-band {
  padding: clamp(4.5rem, 8vw, 7.3rem) 1.5rem;
  background: var(--wine);
  color: var(--paper);
}

.quote-band blockquote {
  max-width: 61rem;
  margin: 0 auto;
  color: var(--paper);
  font-size: clamp(2.65rem, 5.8vw, 5.2rem);
  text-align: center;
  text-wrap: balance;
}

.quote-band p {
  margin-top: 1.7rem;
  color: var(--rose-pale);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
}

.offer-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3.2rem;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 18rem;
  padding: clamp(1.45rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.3);
}

.tile p {
  color: rgba(41, 32, 33, 0.68);
  font-size: 0.94rem;
}

.tile a {
  align-self: flex-start;
  margin-top: auto;
  color: var(--wine);
  font-weight: 500;
}

.tile a::after {
  padding-left: 0.45rem;
  content: "\2192";
  color: var(--clay);
}

.reveal {
  opacity: 0;
  transform: translateY(1.7rem);
  transition: opacity 700ms ease, transform 700ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.site-footer {
  padding: clamp(3.3rem, 6vw, 4.6rem) 1.5rem 2rem;
  background: #ede3d4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  width: var(--container);
  margin: 0 auto;
}

.footer-brand p {
  max-width: 22rem;
  margin-top: 1rem;
  color: rgba(41, 32, 33, 0.67);
  font-size: 0.9rem;
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  color: rgba(41, 32, 33, 0.73);
  font-size: 0.92rem;
}

.footer-label {
  margin-bottom: 0.35rem;
  color: var(--wine-soft);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: var(--container);
  margin: 3.2rem auto 0;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  color: rgba(41, 32, 33, 0.54);
  font-size: 0.77rem;
}

/* Inner pages */
.page-main {
  padding-top: calc(var(--nav-height) + 4.3rem);
}

.page-hero {
  position: relative;
  padding: clamp(4.3rem, 8vw, 7rem) 1.5rem clamp(4.6rem, 9vw, 7.5rem);
  overflow: hidden;
}

.page-hero::after {
  position: absolute;
  z-index: 0;
  right: -9rem;
  bottom: 0;
  width: clamp(18rem, 38vw, 31rem);
  height: clamp(9rem, 17vw, 14rem);
  border-radius: 55% 50% 0 0;
  content: "";
  background: var(--rose-pale);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 56rem;
  color: var(--wine);
  font-size: clamp(3.5rem, 7vw, 6.9rem);
  text-wrap: balance;
}

.page-lead {
  max-width: 38rem;
  margin-top: 1.45rem;
  color: rgba(41, 32, 33, 0.7);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(20rem, 1fr);
  gap: clamp(2.5rem, 8vw, 7rem);
}

.sticky-heading {
  position: sticky;
  top: 7.4rem;
  align-self: start;
}

.prose {
  display: grid;
  gap: 1.45rem;
  color: rgba(41, 32, 33, 0.75);
}

.prose h3 {
  margin-top: 1.6rem;
}

.pricing-list {
  display: grid;
  gap: 0.85rem;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.price-row:first-child {
  border-top: 1px solid var(--line);
}

.price-row strong {
  display: block;
  color: var(--wine);
  font-family: var(--display-font);
  font-size: 1.7rem;
  font-weight: 500;
}

.price-row p {
  max-width: 27rem;
  color: rgba(41, 32, 33, 0.64);
  font-size: 0.89rem;
}

.amount {
  color: var(--wine);
  font-size: 0.98rem;
  font-weight: 600;
  white-space: nowrap;
}

.archive-note {
  margin-top: 2.1rem;
  padding: 1rem 1.15rem;
  border-left: 2px solid var(--gold);
  color: rgba(41, 32, 33, 0.65);
  font-size: 0.84rem;
}

.course-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  padding: clamp(1.4rem, 3vw, 2rem) 0;
  border-bottom: 1px solid var(--line);
}

.course-card:first-child {
  border-top: 1px solid var(--line);
}

.playing-index {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 5rem;
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  color: var(--clay);
  font-family: var(--display-font);
  font-size: 2rem;
}

.course-card p {
  margin-top: 0.55rem;
  color: rgba(41, 32, 33, 0.67);
  font-size: 0.92rem;
}

.meta {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--wine-soft);
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lookup-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 5vw, 3.7rem);
  background: var(--paper-2);
}

.birth-form {
  display: grid;
  align-content: start;
  gap: 1.2rem;
}

.field label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--wine-soft);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field select,
.field input,
.field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.lookup-result {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 22rem;
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--paper);
}

.lookup-result h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.lookup-result p {
  color: rgba(41, 32, 33, 0.68);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.post {
  min-height: 16rem;
  padding: clamp(1.3rem, 2.8vw, 1.9rem);
  border-top: 1px solid var(--line);
}

.post h3 {
  margin: 1rem 0 0.8rem;
}

.post p {
  color: rgba(41, 32, 33, 0.67);
  font-size: 0.9rem;
}

.post time {
  color: var(--wine-soft);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-links {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.contact-links a {
  display: block;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
  color: var(--wine);
  font-family: var(--display-font);
  font-size: clamp(1.55rem, 2.7vw, 2rem);
}

.legal-copy {
  max-width: 48rem;
}

.legal-copy h3 {
  margin-top: 3rem;
  margin-bottom: 0.8rem;
}

@media (max-width: 920px) {
  .home-header {
    display: block;
  }

  .motion-hero {
    height: min(100dvh, 48rem);
    min-height: 37rem;
  }

  .motion-hero > img {
    object-fit: cover;
    object-position: center top;
  }

  .hero-nav {
    display: none;
  }

  .motion-copy {
    top: 8.6rem;
    width: min(42rem, calc(100vw - 2rem));
  }

  .motion-copy h1 {
    font-size: clamp(3.6rem, 9.4vw, 5.8rem);
  }

  .motion-card-fan {
    right: -20%;
    bottom: -1.5%;
    left: -20%;
    height: 48%;
  }

  .reference-hero {
    height: min(100dvh, 48rem);
    min-height: 36rem;
    margin-top: 0;
  }

  .reference-scene img {
    object-fit: cover;
    object-position: center top;
  }

  .reference-nav-links {
    display: none;
  }

  .nav-tray {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-left: 1.1rem;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-header.menu-open .nav-tray {
    border-radius: 1.2rem;
  }

  .site-header.menu-open .mobile-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 0.65rem 1.3rem 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--paper);
    box-shadow: var(--shadow-paper);
  }

  .site-header.menu-open .mobile-menu a {
    position: relative;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--wine);
  }

  .site-header.menu-open .mobile-menu a:last-child {
    border-bottom: 0;
  }

  .site-header.menu-open .nav-toggle span {
    transform: rotate(45deg);
  }

  .site-header.menu-open .nav-toggle span::before {
    transform: rotate(-90deg);
  }

  .hero {
    min-height: 53rem;
  }

  .card-fan {
    bottom: -3.8rem;
  }

  .offer-card {
    flex-basis: 9.5rem;
    height: 15.5rem;
    padding: 0.8rem 0.7rem 1.2rem;
  }

  .offer-card:nth-child(3) {
    height: 17rem;
  }

  .intro-grid,
  .pathways,
  .two-column,
  .lookup-panel {
    grid-template-columns: 1fr;
  }

  .portrait-paper,
  .sticky-heading {
    position: relative;
    top: auto;
  }

  .portrait-paper {
    min-height: 29rem;
  }

  .offer-strip,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --container: calc(100vw - 2rem);
  }

  .site-header {
    top: 0.65rem;
    width: calc(100vw - 1rem);
  }

  .notice {
    display: block;
    padding: 0.65rem 1rem;
    text-align: center;
  }

  .motion-hero,
  .reference-hero {
    height: 42rem;
    min-height: 42rem;
  }

  .motion-copy {
    top: 7.2rem;
  }

  .motion-copy h1 {
    font-size: clamp(3.1rem, 14.5vw, 4.55rem);
  }

  .motion-copy p {
    max-width: 20rem;
    margin-top: 1.1rem;
    font-size: 1rem;
  }

  .hero-ornament {
    width: 11rem;
    margin-bottom: 0.95rem;
  }

  .hero-ornament.lower {
    display: none;
  }

  .motion-clouds {
    width: 140%;
    max-width: none;
    transform-origin: center top;
  }

  .motion-waves {
    width: 150%;
    max-width: none;
    object-position: center bottom;
  }

  .motion-card-fan {
    right: -46%;
    bottom: 0;
    left: -46%;
    height: 35%;
  }

  .motion-card-links {
    display: none;
  }

  .reference-scene img {
    object-fit: cover;
    object-position: 50% top;
  }

  .reference-card-links {
    display: none;
  }

  .cloud-left,
  .cloud-right,
  .orbit-one {
    opacity: 0.62;
  }

  .card-fan {
    bottom: -1.7rem;
    gap: 0.3rem;
    width: calc(100vw + 6rem);
  }

  .offer-card {
    flex-basis: 6.6rem;
    height: 11.8rem;
    padding: 0.55rem 0.48rem 0.8rem;
  }

  .offer-card:nth-child(3) {
    flex-basis: 7.2rem;
    height: 12.7rem;
  }

  .offer-card:nth-child(1),
  .offer-card:nth-child(5) {
    transform: rotate(var(--mobile-angle, -11deg)) translateY(calc(1.5rem + var(--lift)));
  }

  .offer-card:nth-child(5) {
    --mobile-angle: 11deg;
  }

  .card-corner {
    font-size: 1.05rem;
  }

  .offer-card h3 {
    font-size: 0.98rem;
  }

  .card-note {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .footer-grid,
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

  .paper-cloud,
  .ridge {
    transform: none !important;
  }
}

/* Stable v2 hero/card overrides */
.reference-hero,
.reference-scene,
.reference-card-links,
.motion-card-fan,
.motion-card-links,
.motion-clouds,
.motion-waves {
  display: none !important;
}

.motion-hero {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 100dvh !important;
  min-height: 47rem !important;
  overflow: hidden !important;
  background: #f1e5d3 !important;
}

.hero-video {
  position: absolute !important;
  z-index: 1 !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.hero-video-scrim {
  position: absolute !important;
  z-index: 2 !important;
  inset: 0 !important;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 247, 231, 0.58), rgba(255, 247, 231, 0.22) 37%, rgba(245, 231, 209, 0.03) 64%),
    linear-gradient(to bottom, rgba(82, 30, 42, 0.03), transparent 70%, rgba(82, 30, 42, 0.15)) !important;
  pointer-events: none !important;
}

.hero-card-stage {
  position: absolute !important;
  z-index: 18 !important;
  right: max(-3.5rem, -3vw) !important;
  bottom: 1.2rem !important;
  left: max(-3.5rem, -3vw) !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: clamp(0rem, 0.08vw, 0.1rem) !important;
  height: clamp(24rem, 48vh, 33rem) !important;
  perspective: 1400px !important;
}

.hero-card {
  --angle: 0deg;
  --rise: 0rem;
  position: relative !important;
  display: block !important;
  flex: 0 0 clamp(10.8rem, 14.8vw, 15.1rem) !important;
  height: clamp(19.4rem, 35vh, 25.7rem) !important;
  color: var(--wine) !important;
  transform: rotate(var(--angle)) translateY(var(--rise)) !important;
  transform-origin: bottom center !important;
  animation: card-rise-clean 780ms var(--ease) both !important;
  animation-delay: calc(180ms + var(--i) * 115ms) !important;
  transition: transform 340ms var(--ease), filter 340ms ease !important;
}

.hero-card:hover,
.hero-card:focus-visible {
  transform: rotate(calc(var(--angle) * 0.65)) translateY(calc(var(--rise) - 1.25rem)) scale(1.025) !important;
  filter: drop-shadow(0 1.1rem 1rem rgba(82, 30, 42, 0.24)) !important;
  z-index: 5 !important;
}

.hero-card-1 { --angle: -14deg; --rise: 2.35rem; margin-right: -2.3rem !important; }
.hero-card-2 { --angle: -5.5deg; --rise: 0.75rem; margin-right: -2.15rem !important; }
.hero-card-3 {
  --rise: 0rem;
  flex-basis: clamp(11.4rem, 15.5vw, 15.8rem) !important;
  height: clamp(20.3rem, 36.5vh, 26.4rem) !important;
  z-index: 2 !important;
  margin-right: -2.15rem !important;
}
.hero-card-4 { --angle: 5.5deg; --rise: 0.75rem; margin-right: -2.3rem !important; }
.hero-card-5 { --angle: 14deg; --rise: 2.35rem; }

.hero-card-inner {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  transform-style: preserve-3d !important;
  animation: card-flip-clean 1080ms cubic-bezier(0.17, 0.84, 0.22, 1) both !important;
  animation-delay: calc(620ms + var(--i) * 135ms) !important;
  will-change: transform !important;
}

.hero-card-face {
  position: absolute !important;
  inset: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(82, 30, 42, 0.15) !important;
  border-radius: 0.92rem !important;
  backface-visibility: hidden !important;
  box-shadow: 0 1.1rem 2.1rem rgba(73, 33, 28, 0.16) !important;
}

.hero-card-front {
  display: grid !important;
  grid-template-rows: auto 1fr auto auto !important;
  gap: 0.55rem !important;
  padding: clamp(0.82rem, 1.4vw, 1.15rem) !important;
  background:
    radial-gradient(circle at 50% 43%, rgba(183, 144, 82, 0.2), transparent 27%),
    repeating-linear-gradient(135deg, rgba(82, 30, 42, 0.024) 0 1px, transparent 1px 8px),
    linear-gradient(145deg, #fffaf0, #eadbc3) !important;
}

.hero-card-front::before,
.hero-card-front::after {
  position: absolute !important;
  content: "" !important;
  pointer-events: none !important;
}

.hero-card-front::before {
  inset: 0.44rem !important;
  border: 2px solid rgba(183, 95, 85, 0.62) !important;
  border-radius: 0.58rem !important;
}

.hero-card-front::after {
  inset: 0.88rem !important;
  border: 1px solid rgba(183, 95, 85, 0.34) !important;
  border-radius: 0.32rem !important;
  background:
    radial-gradient(circle at 0.7rem 0.7rem, rgba(183, 95, 85, 0.58) 0 0.08rem, transparent 0.09rem),
    radial-gradient(circle at calc(100% - 0.7rem) 0.7rem, rgba(183, 95, 85, 0.58) 0 0.08rem, transparent 0.09rem),
    radial-gradient(circle at 0.7rem calc(100% - 0.7rem), rgba(183, 95, 85, 0.58) 0 0.08rem, transparent 0.09rem),
    radial-gradient(circle at calc(100% - 0.7rem) calc(100% - 0.7rem), rgba(183, 95, 85, 0.58) 0 0.08rem, transparent 0.09rem);
}

.hero-card-back {
  display: grid !important;
  place-items: center !important;
  background:
    radial-gradient(circle at 50% 50%, rgba(245, 240, 230, 0.18), transparent 24%),
    repeating-linear-gradient(45deg, rgba(245, 240, 230, 0.08) 0 1px, transparent 1px 9px),
    linear-gradient(145deg, #8b2f35, #42141f) !important;
  transform: rotateY(180deg) !important;
}

.hero-card-icon {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  place-items: center !important;
  color: var(--wine-soft) !important;
}

.hero-card-icon::before {
  position: absolute;
  width: 8.6rem;
  height: 8.6rem;
  content: "";
  opacity: 0.68;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 1px 100% no-repeat,
    linear-gradient(90deg, var(--gold), var(--gold)) center / 100% 1px no-repeat;
  -webkit-mask: radial-gradient(circle, transparent 0 35%, black 36% 100%);
  mask: radial-gradient(circle, transparent 0 35%, black 36% 100%);
}

.hero-card-icon svg {
  position: relative !important;
  z-index: 1 !important;
  width: min(7.6rem, 61%) !important;
  height: auto !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 3.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.hero-card-front strong {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  max-width: 9.4rem !important;
  margin: 0 auto !important;
  color: var(--wine) !important;
  font-family: var(--display-font) !important;
  font-size: clamp(2rem, 2.8vw, 2.8rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.052em !important;
  line-height: 0.91 !important;
  text-align: center !important;
}

.hero-card-front em {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  color: rgba(82, 30, 42, 0.62) !important;
  font-size: 0.68rem !important;
  font-style: normal !important;
  letter-spacing: 0.14em !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

.hero-card-front .card-corner::after {
  content: "";
  width: 0.52rem;
  height: 0.52rem;
  margin-top: 0.25rem;
  background: currentColor;
  transform: rotate(45deg);
}

.hero-card .card-corner {
  position: relative !important;
  z-index: 1 !important;
  color: inherit !important;
}

@keyframes card-rise-clean {
  from {
    opacity: 0;
    transform: rotate(calc(var(--angle) * 0.18)) translateY(10rem) scale(0.9);
  }
  70% {
    opacity: 1;
    transform: rotate(calc(var(--angle) * 1.06)) translateY(calc(var(--rise) - 0.55rem)) scale(1.012);
  }
  to {
    opacity: 1;
    transform: rotate(var(--angle)) translateY(var(--rise));
  }
}

@keyframes card-flip-clean {
  0%, 42% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(0deg);
  }
}

/* Horizontal site flow + reference artwork cards */
html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none !important;
}

body[data-page="home"] {
  overflow: hidden !important;
}

body {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
}

.site-footer {
  display: none;
}

.site-strip {
  position: fixed !important;
  inset: 0 !important;
  display: flex !important;
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 0 !important;
  padding-top: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  overscroll-behavior: none !important;
  scroll-behavior: smooth !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
  touch-action: pan-x !important;
  background: var(--paper) !important;
}

.site-strip::-webkit-scrollbar {
  display: none;
}

.site-strip > .motion-hero,
.site-strip > .page-hero,
.site-strip > .section,
.site-strip > .quote-band,
.site-strip .horizontal-panel {
  flex: 0 0 100vw !important;
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 0 !important;
  overflow: hidden !important;
  scroll-snap-align: start !important;
}

.site-strip .horizontal-track {
  display: contents !important;
}

.page-hero {
  display: grid !important;
  align-items: center !important;
  padding: calc(var(--nav-height) + 2.2rem) clamp(1.5rem, 5vw, 5rem) clamp(3rem, 7vw, 6rem) !important;
}

.page-hero-inner,
.site-strip .section-inner {
  width: min(1180px, calc(100vw - 6rem)) !important;
  max-height: calc(100dvh - var(--nav-height) - 4rem) !important;
  overflow: hidden !important;
}

.site-strip > .section {
  display: grid !important;
  align-items: center !important;
  padding: calc(var(--nav-height) + 2rem) clamp(1.5rem, 5vw, 5rem) clamp(2rem, 5vw, 4rem) !important;
}

.site-strip .two-column,
.site-strip .pathways {
  align-items: center !important;
  gap: clamp(2rem, 5vw, 5rem) !important;
}

.site-strip .sticky-heading {
  position: relative !important;
  top: auto !important;
}

.site-strip .prose {
  gap: 1rem !important;
}

.site-strip .prose p,
.site-strip .archive-note,
.site-strip .price-row p,
.site-strip .course-card p,
.site-strip .post p {
  font-size: clamp(0.8rem, 0.92vw, 0.95rem) !important;
  line-height: 1.42 !important;
}

.site-strip .course-card,
.site-strip .price-row {
  padding: clamp(0.82rem, 1.15vw, 1.1rem) !important;
}

.site-strip .course-card h3,
.site-strip .post h3,
.site-strip .tile h3 {
  font-size: clamp(1.35rem, 2vw, 1.85rem) !important;
}

.site-strip .button {
  min-height: 0 !important;
  padding: 0.82rem 1.05rem !important;
}

.site-strip .course-card,
.site-strip .price-row,
.site-strip .post,
.site-strip .tile {
  box-shadow: 0 1rem 2rem rgba(73, 33, 28, 0.08) !important;
}

.site-strip .post-grid,
.site-strip .offer-strip {
  gap: clamp(0.9rem, 1.4vw, 1.3rem) !important;
}

.site-strip .post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.site-strip .lookup-panel {
  min-height: auto !important;
}

.hero-card-stage {
  right: max(-4.5rem, -3.6vw) !important;
  bottom: -5.15rem !important;
  left: max(-4.5rem, -3.6vw) !important;
  align-items: flex-end !important;
  gap: 0 !important;
  height: clamp(27rem, 56vh, 38rem) !important;
}

.hero-card {
  width: auto !important;
  height: clamp(21.4rem, 46vh, 31rem) !important;
  color: transparent !important;
  transform: rotate(var(--angle)) translateY(var(--rise)) !important;
  transform-origin: bottom center !important;
  filter: drop-shadow(0 1rem 0.85rem rgba(73, 33, 28, 0.18)) !important;
  will-change: transform, filter !important;
  backface-visibility: hidden !important;
  animation-duration: 920ms !important;
  animation-timing-function: cubic-bezier(0.2, 0.86, 0.22, 1) !important;
}

.hero-card:hover,
.hero-card:focus-visible {
  transform: rotate(calc(var(--angle) * 0.58)) translateY(calc(var(--rise) - 2rem)) scale(1.055) !important;
  filter: drop-shadow(0 1.65rem 1.25rem rgba(82, 30, 42, 0.28)) !important;
  z-index: 30 !important;
}

.hero-card-1 {
  --angle: -13.5deg;
  --rise: 2.95rem;
  z-index: 2 !important;
  flex: 0 0 clamp(13.4rem, 16.4vw, 19.6rem) !important;
  margin-right: clamp(-4.75rem, -4.9vw, -3.15rem) !important;
}

.hero-card-2 {
  --angle: -5.75deg;
  --rise: 1.25rem;
  z-index: 4 !important;
  flex: 0 0 clamp(13.4rem, 16.4vw, 19.6rem) !important;
  margin-right: clamp(-4.1rem, -4.2vw, -2.75rem) !important;
}

.hero-card-3 {
  --angle: 0deg;
  --rise: 0rem;
  z-index: 6 !important;
  flex: 0 0 clamp(13.6rem, 16.6vw, 19.8rem) !important;
  height: clamp(21.4rem, 46vh, 31rem) !important;
  margin-right: clamp(-4.1rem, -4.2vw, -2.75rem) !important;
}

.hero-card-4 {
  --angle: 5.75deg;
  --rise: 1.25rem;
  z-index: 4 !important;
  flex: 0 0 clamp(13.4rem, 16.4vw, 19.6rem) !important;
  margin-right: clamp(-4.75rem, -4.9vw, -3.15rem) !important;
}

.hero-card-5 {
  --angle: 13.5deg;
  --rise: 2.95rem;
  z-index: 2 !important;
  flex: 0 0 clamp(13.4rem, 16.4vw, 19.6rem) !important;
}

.hero-card-face {
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
  background: transparent !important;
}

.hero-card-front {
  display: block !important;
  padding: 0 !important;
  background: transparent !important;
}

.hero-card-front::before,
.hero-card-front::after {
  display: none !important;
}

.hero-card-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
  transform: translateZ(0);
}

.hero-card-back {
  inset: 7% 10% !important;
  border-radius: 1rem !important;
  box-shadow: 0 1rem 2rem rgba(73, 33, 28, 0.16) !important;
}

@media (max-width: 820px) {
  .site-strip {
    min-height: 100dvh !important;
  }

  .site-strip > .motion-hero,
  .site-strip > .page-hero,
  .site-strip > .section,
  .site-strip > .quote-band,
  .site-strip .horizontal-panel {
    min-height: 100dvh !important;
  }

  .page-hero-inner,
  .site-strip .section-inner {
    width: min(100% - 2rem, 42rem) !important;
  }

  .site-strip .two-column,
  .site-strip .pathways,
  .site-strip .intro-grid {
    grid-template-columns: 1fr !important;
    gap: 1.3rem !important;
  }

  .site-strip .post-grid,
  .site-strip .offer-strip {
    grid-template-columns: 1fr !important;
  }

  .hero-card-stage {
    left: -7rem !important;
    right: -7rem !important;
    bottom: -4.4rem !important;
    transform: scale(0.76);
    transform-origin: bottom center;
  }
}

/* One-page horizontal rebuild */
.onepage-header {
  display: block !important;
  z-index: 80 !important;
}

.onepage-nav {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  width: min(68rem, calc(100vw - 2rem)) !important;
  min-height: 4.85rem !important;
  padding: 0.45rem clamp(1rem, 2vw, 1.35rem) !important;
}

.onepage-nav .brand {
  justify-self: start !important;
  padding-right: clamp(1rem, 2vw, 1.6rem) !important;
  font-size: clamp(2.35rem, 3.2vw, 3.3rem) !important;
}

.onepage-nav .nav-main {
  justify-content: end !important;
  gap: clamp(0.75rem, 1.15vw, 1.2rem) !important;
  min-width: 0 !important;
}

.onepage-nav .nav-main a {
  font-family: var(--display-font) !important;
  font-size: clamp(0.9rem, 1vw, 1.03rem) !important;
}

.onepage-strip {
  scroll-padding-left: 0 !important;
}

.site-strip > .kismet-panel {
  flex: 0 0 100vw !important;
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 0 !important;
  overflow: hidden !important;
  scroll-snap-align: start !important;
}

.kismet-panel {
  display: grid !important;
  align-items: center !important;
  padding: calc(var(--nav-height) + 4.8rem) clamp(2rem, 5vw, 5rem) clamp(2rem, 4vw, 3.5rem) !important;
}

.kismet-panel.story::before {
  display: none !important;
}

.panel-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100vw - 7rem)) !important;
  max-height: calc(100dvh - var(--nav-height) - 7rem) !important;
  margin: 0 auto !important;
  overflow: hidden !important;
}

.panel-content h2 {
  max-width: 11ch;
  font-size: clamp(3.1rem, 5.4vw, 6rem) !important;
  line-height: 0.9 !important;
  text-wrap: balance;
}

.panel-lead {
  max-width: 34rem;
  margin-top: 1.25rem;
  color: rgba(41, 32, 33, 0.74);
  font-family: var(--display-font);
  font-size: clamp(1.12rem, 1.45vw, 1.38rem);
  line-height: 1.18;
}

.panel-stack {
  display: grid;
  gap: 1rem;
  color: rgba(41, 32, 33, 0.76);
}

.compact-prices {
  display: grid;
  gap: 0.72rem;
}

.compact-prices article,
.video-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 1rem;
  padding: 0.9rem 1rem;
  border-radius: 1.1rem;
  background: rgba(255, 249, 238, 0.68);
  box-shadow: 0 0.75rem 1.4rem rgba(73, 33, 28, 0.07);
}

.compact-prices strong,
.video-note strong {
  color: var(--wine);
  font-family: var(--display-font);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
}

.compact-prices span {
  color: var(--wine);
  font-weight: 600;
  white-space: nowrap;
}

.compact-prices p,
.video-note p {
  grid-column: 1 / -1;
  font-size: 0.88rem !important;
  line-height: 1.36 !important;
}

.course-list {
  display: grid;
  gap: 0.72rem;
}

.course-list .course-card {
  grid-template-columns: 3rem 1fr !important;
  gap: 0.9rem !important;
  padding: 0.9rem 1rem !important;
}

.course-list .course-card h3 {
  font-size: clamp(1.24rem, 1.55vw, 1.58rem) !important;
  line-height: 1 !important;
}

.course-list .course-card p,
.course-list .meta {
  font-size: 0.82rem !important;
  line-height: 1.32 !important;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 0.85rem;
}

.lookup-panel {
  display: grid !important;
  grid-template-columns: minmax(20rem, 0.9fr) minmax(18rem, 0.72fr) !important;
  align-items: stretch !important;
  gap: clamp(1.3rem, 3.5vw, 3rem) !important;
}

.lookup-panel .birth-form,
.lookup-panel .lookup-result,
.kismet-panel .birth-form {
  min-height: 0 !important;
  padding: clamp(1.2rem, 2.4vw, 2.1rem) !important;
}

.lookup-panel .birth-form h2 {
  max-width: 12ch;
}

.compact-posts {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  margin-top: 1.5rem !important;
  gap: 0.85rem !important;
}

.compact-posts .post {
  min-height: 0 !important;
  padding: 1rem !important;
}

.compact-posts .post h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.55rem) !important;
}

.compact-posts .post p {
  font-size: 0.82rem !important;
  line-height: 1.35 !important;
}

.video-note {
  grid-template-columns: 1fr;
  align-self: center;
  padding: clamp(1.4rem, 3vw, 2.4rem) !important;
}

.contact-links {
  margin-top: 1.5rem !important;
}

.onepage-strip .reveal,
.onepage-strip .panel-content,
.onepage-strip .post,
.onepage-strip .course-card {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 980px) {
  .onepage-nav .nav-main {
    display: none !important;
  }

  .onepage-nav {
    grid-template-columns: auto 1fr auto !important;
  }

  .kismet-panel {
    padding: calc(var(--nav-height) + 3.3rem) 1.2rem 1.2rem !important;
  }

  .panel-content,
  .lookup-panel {
    width: min(100% - 1rem, 44rem) !important;
    max-height: calc(100dvh - var(--nav-height) - 4.5rem) !important;
  }

  .panel-content.two-column,
  .panel-content.pathways,
  .lookup-panel {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .panel-content h2 {
    font-size: clamp(2.45rem, 12vw, 4rem) !important;
  }

  .compact-posts {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   Kismet Panel Design System (kp-*)
   Used by every non-hero panel. Scoped to avoid legacy collisions.
   ============================================================ */

.kp {
  --kp-parchment: #f5f0e8;
  --kp-parchment-warm: #efe7d6;
  --kp-ink: #2c1810;
  --kp-ink-soft: rgba(44, 24, 16, 0.78);
  --kp-burgundy: #5c1a1a;
  --kp-burgundy-deep: #3d0c0c;
  --kp-gold: #c9a84c;
  --kp-gold-soft: rgba(201, 168, 76, 0.42);
  --kp-rule: rgba(92, 26, 26, 0.16);
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: clamp(5.4rem, 9vh, 7rem) clamp(1.5rem, 4vw, 4rem) clamp(1.5rem, 4vh, 3rem);
  background: var(--kp-parchment);
  color: var(--kp-ink);
  font-family: "EB Garamond", Georgia, serif;
  overflow: hidden;
  isolation: isolate;
}

.kp::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(92, 26, 26, 0.28) 0 0.05rem, transparent 0.06rem),
    radial-gradient(circle at 73% 65%, rgba(92, 26, 26, 0.22) 0 0.045rem, transparent 0.055rem);
  background-size: 0.55rem 0.6rem, 0.7rem 0.6rem;
  z-index: 0;
  mix-blend-mode: multiply;
}

.kp-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-height: 100%;
  display: grid;
  gap: clamp(1rem, 2vh, 1.6rem);
}

.kp-two {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.kp-two-narrow-left {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.kp-stack {
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
}

.kp-center-stack {
  justify-items: center;
  text-align: center;
}

.kp-col {
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 1.5vh, 1.25rem);
  min-width: 0;
  min-height: 0;
}

.kp-center-stack .kp-col {
  align-items: center;
}

.kp-eyebrow {
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  color: var(--kp-burgundy);
  font-size: clamp(0.82rem, 0.95vw, 0.95rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.kp-h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: var(--kp-burgundy);
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
  margin: 0;
}

.kp-h1 em {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.kp-h1-large {
  font-size: clamp(2.8rem, 5.4vw, 5rem);
}

.kp-h1-small {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
}

.kp-lead {
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(0.98rem, 1.2vw, 1.2rem);
  line-height: 1.55;
  color: var(--kp-ink-soft);
  max-width: 44ch;
  margin: 0;
}

.kp-body {
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(0.9rem, 1.05vw, 1.05rem);
  line-height: 1.6;
  color: var(--kp-ink-soft);
  max-width: 48ch;
  margin: 0;
}

.kp-note,
.kp-footnote {
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(0.78rem, 0.9vw, 0.92rem);
  color: rgba(44, 24, 16, 0.62);
  margin: 0;
}

.kp-rule {
  width: 4.2rem;
  height: 1px;
  background: linear-gradient(to right, var(--kp-gold), transparent);
}

.kp-center-stack .kp-rule {
  margin: 0 auto;
}

.kp-suits {
  display: inline-flex;
  gap: 0.65em;
  color: var(--kp-burgundy);
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  letter-spacing: 0.18em;
}

.kp-suits .spade,
.kp-suits .club {
  color: var(--kp-ink);
}

/* Offer label card */
.kp-cards {
  display: flex;
  flex-direction: column;
  gap: clamp(0.55rem, 1vh, 0.9rem);
}

.kp-card-label {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.2rem 0.95rem;
  padding: clamp(0.75rem, 1.4vh, 1.05rem) clamp(0.95rem, 1.8vw, 1.4rem);
  border: 1px solid var(--kp-gold-soft);
  background:
    linear-gradient(135deg, rgba(255, 252, 245, 0.7), rgba(245, 235, 218, 0.55));
  box-shadow:
    inset 0 0 0 3px var(--kp-parchment),
    inset 0 0 0 4px rgba(201, 168, 76, 0.22),
    0 0.45rem 1rem rgba(60, 26, 22, 0.05);
}

.kp-card-label .pip {
  grid-row: 1 / -1;
  align-self: center;
  color: var(--kp-burgundy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.4rem, 1.9vw, 1.8rem);
  line-height: 1;
}

.kp-card-label .title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: var(--kp-burgundy);
  font-size: clamp(1.02rem, 1.2vw, 1.25rem);
  line-height: 1.15;
  margin: 0;
}

.kp-card-label .price {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: var(--kp-burgundy);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  align-self: start;
  white-space: nowrap;
}

.kp-card-label .desc {
  grid-column: 2 / 4;
  font-size: clamp(0.82rem, 0.92vw, 0.94rem);
  line-height: 1.4;
  color: rgba(44, 24, 16, 0.72);
  margin: 0;
}

/* CTAs — wax seal style */
.kp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  align-self: start;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--kp-burgundy-deep);
  border-radius: 999px;
  background: var(--kp-burgundy);
  color: var(--kp-parchment);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow:
    inset 0 0 0 3px var(--kp-burgundy),
    inset 0 0 0 4px rgba(245, 240, 232, 0.18),
    0 0.4rem 1rem rgba(61, 12, 12, 0.28);
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.kp-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 3px var(--kp-burgundy),
    inset 0 0 0 4px rgba(245, 240, 232, 0.22),
    0 0.6rem 1.3rem rgba(61, 12, 12, 0.34);
}

.kp-cta-large {
  padding: 1.05rem 2rem;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
}

.kp-cta-small {
  padding: 0.55rem 1.05rem;
  font-size: clamp(0.78rem, 0.85vw, 0.85rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kp-cta-row {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.8vw, 1.5rem);
  flex-wrap: wrap;
}

.kp-phone {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--kp-burgundy);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  letter-spacing: 0.05em;
}

/* lookup */
.kp-lookup-frame {
  position: relative;
  width: min(34rem, 100%);
  padding: clamp(2rem, 5vh, 3.5rem) clamp(1.6rem, 4vw, 3rem);
  border: 1px solid var(--kp-gold-soft);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 252, 245, 0.9), rgba(245, 235, 218, 0.55) 70%);
  box-shadow:
    inset 0 0 0 4px var(--kp-parchment),
    inset 0 0 0 5px rgba(201, 168, 76, 0.32),
    0 1.5rem 3rem rgba(60, 26, 22, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.55rem, 1.4vh, 1rem);
  text-align: center;
}

.kp-lookup-frame .kp-corner-pip {
  position: absolute;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--kp-burgundy);
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  opacity: 0.78;
}

.kp-lookup-frame .tl { top: 0.75rem; left: 1rem; }
.kp-lookup-frame .tr { top: 0.75rem; right: 1rem; transform: rotate(0deg); }
.kp-lookup-frame .bl { bottom: 0.75rem; left: 1rem; transform: rotate(180deg); }
.kp-lookup-frame .br { bottom: 0.75rem; right: 1rem; transform: rotate(180deg); }

.kp-lookup-frame::after {
  content: "♦";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(12rem, 22vw, 18rem);
  color: rgba(92, 26, 26, 0.045);
  font-family: "Playfair Display", Georgia, serif;
  pointer-events: none;
  z-index: 0;
}

.kp-lookup-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.75rem, 1.6vh, 1.15rem);
  width: 100%;
}

.kp-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  width: 100%;
}

.kp-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.kp-field label {
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  color: var(--kp-burgundy);
  font-size: clamp(0.78rem, 0.85vw, 0.88rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kp-field select {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--kp-gold-soft);
  background: rgba(255, 252, 245, 0.7);
  color: var(--kp-ink);
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(0.92rem, 1vw, 1.02rem);
  border-radius: 0;
  cursor: pointer;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 45%, var(--kp-burgundy) 45% 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, var(--kp-burgundy) 45% 55%, transparent 55%);
  background-position: calc(100% - 1rem) center, calc(100% - 0.6rem) center;
  background-size: 0.4rem 0.4rem;
  background-repeat: no-repeat;
}

.kp-field select option {
  background-color: #fffcf5;
  color: var(--kp-ink);
}

/* readings — portrait playing card */
.kp-portrait-card {
  position: relative;
  width: min(20rem, 100%);
  aspect-ratio: 2 / 2.8;
  margin: 0 auto;
  border: 1px solid var(--kp-gold-soft);
  border-radius: 0.8rem;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 252, 245, 0.92), rgba(245, 235, 218, 0.6) 70%);
  box-shadow:
    inset 0 0 0 4px var(--kp-parchment),
    inset 0 0 0 5px rgba(201, 168, 76, 0.32),
    0 1.5rem 3rem rgba(60, 26, 22, 0.16);
  display: grid;
  place-items: center;
  font-family: "Playfair Display", Georgia, serif;
  color: var(--kp-burgundy);
}

.kp-portrait-rank {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1;
}

.kp-portrait-rank .num {
  font-size: clamp(1.4rem, 1.8vw, 1.7rem);
  font-weight: 700;
}

.kp-portrait-rank .mini-pip {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  margin-top: 0.1rem;
}

.kp-portrait-rank.tl { top: 0.9rem; left: 0.9rem; }
.kp-portrait-rank.br { bottom: 0.9rem; right: 0.9rem; transform: rotate(180deg); }

.kp-portrait-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}

.kp-portrait-pip {
  font-size: clamp(5rem, 9vw, 7.5rem);
  line-height: 1;
}

.kp-portrait-label {
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(0.88rem, 1vw, 1rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kp-burgundy);
  max-width: 12ch;
}

/* courses */
.kp-course-card {
  position: relative;
  display: grid;
  gap: 0.5rem;
  padding: clamp(0.9rem, 1.8vh, 1.2rem) clamp(1rem, 1.8vw, 1.4rem);
  border: 1px solid var(--kp-gold-soft);
  background:
    linear-gradient(135deg, rgba(255, 252, 245, 0.7), rgba(245, 235, 218, 0.55));
  box-shadow:
    inset 0 0 0 3px var(--kp-parchment),
    inset 0 0 0 4px rgba(201, 168, 76, 0.22),
    0 0.45rem 1rem rgba(60, 26, 22, 0.05);
}

.kp-course-card > header {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.kp-course-card > header .suit {
  color: var(--kp-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
}

.kp-course-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: var(--kp-burgundy);
  font-size: clamp(1.02rem, 1.25vw, 1.3rem);
  line-height: 1.15;
  margin: 0;
}

.kp-course-card p {
  font-size: clamp(0.85rem, 0.95vw, 0.97rem);
  line-height: 1.4;
  color: rgba(44, 24, 16, 0.72);
  margin: 0;
}

.kp-course-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.25rem;
}

.kp-course-card .price {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: var(--kp-burgundy);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
}

/* book cover */
.kp-book-cover {
  position: relative;
  width: min(18rem, 100%);
  aspect-ratio: 2 / 2.9;
  margin: 0 auto;
  display: flex;
}

.kp-book-spine {
  width: 0.55rem;
  background: linear-gradient(to right, var(--kp-burgundy-deep), var(--kp-burgundy));
  border-radius: 0.1rem 0 0 0.1rem;
  box-shadow: inset -2px 0 4px rgba(0, 0, 0, 0.18);
}

.kp-book-front {
  flex: 1;
  position: relative;
  padding: clamp(1.1rem, 2.5vh, 1.7rem) clamp(0.9rem, 1.8vw, 1.3rem);
  border: 1px solid rgba(201, 168, 76, 0.5);
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 252, 245, 0.95), rgba(238, 222, 192, 0.85) 80%);
  box-shadow:
    inset 0 0 0 3px rgba(245, 240, 232, 0.6),
    inset 0 0 0 4px rgba(201, 168, 76, 0.3),
    0 1.5rem 3rem rgba(60, 26, 22, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.kp-book-pip {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--kp-burgundy);
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
}

.kp-book-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: var(--kp-burgundy);
  font-size: clamp(0.98rem, 1.45vw, 1.35rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.kp-book-title em {
  font-style: italic;
  font-weight: 400;
}

.kp-book-byline {
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  color: var(--kp-burgundy);
  font-size: clamp(0.78rem, 0.9vw, 0.92rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* about — initial letter mark */
.kp-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: min(20rem, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
}

.kp-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--kp-gold-soft);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 4px var(--kp-parchment),
    inset 0 0 0 5px rgba(201, 168, 76, 0.28);
}

.kp-mark-letter {
  position: relative;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-style: italic;
  color: var(--kp-burgundy);
  font-size: clamp(8rem, 14vw, 13rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.kp-mark-pip {
  position: absolute;
  bottom: 18%;
  right: 22%;
  color: var(--kp-ink);
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  font-family: "Playfair Display", Georgia, serif;
}

/* journal — card-back grid that flips */
.kp-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.4vw, 1.2rem);
  width: 100%;
}

.kp-journal-card {
  position: relative;
  height: clamp(8.5rem, 22vh, 13.5rem);
  perspective: 900px;
  cursor: pointer;
}

.kp-journal-card .face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: 0.55rem;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0.6rem 1.4rem rgba(60, 26, 22, 0.16);
}

.kp-journal-card .face.back {
  background:
    repeating-linear-gradient(45deg, rgba(245, 240, 232, 0.12) 0 1px, transparent 1px 9px),
    radial-gradient(circle at 50% 50%, rgba(245, 240, 232, 0.18), transparent 50%),
    linear-gradient(145deg, var(--kp-burgundy), var(--kp-burgundy-deep));
  display: grid;
  place-items: center;
  color: var(--kp-parchment);
}

.kp-journal-card .face.back::after {
  content: "";
  width: 38%;
  aspect-ratio: 1;
  border: 1px solid rgba(245, 240, 232, 0.45);
  transform: rotate(45deg);
}

.kp-journal-card .face.front {
  background: var(--kp-parchment);
  border: 1px solid var(--kp-gold-soft);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  gap: 0.4rem;
}

.kp-journal-card .face.front .cat {
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  color: var(--kp-burgundy);
  font-size: clamp(0.7rem, 0.78vw, 0.78rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kp-journal-card .face.front .title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: var(--kp-burgundy);
  font-size: clamp(0.92rem, 1.1vw, 1.12rem);
  line-height: 1.18;
  margin: 0;
}

.kp-journal-card:hover .face.back,
.kp-journal-card:focus-within .face.back {
  transform: rotateY(180deg);
}

.kp-journal-card:hover .face.front,
.kp-journal-card:focus-within .face.front {
  transform: rotateY(0deg);
}

/* videos */
.kp-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.6vw, 1.5rem);
  width: min(56rem, 100%);
}

.kp-video-tile {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  border: 1px solid var(--kp-gold-soft);
  background:
    radial-gradient(circle at 50% 50%, rgba(92, 26, 26, 0.05), transparent 65%),
    linear-gradient(145deg, rgba(255, 252, 245, 0.75), rgba(238, 222, 192, 0.7));
  box-shadow:
    inset 0 0 0 3px var(--kp-parchment),
    inset 0 0 0 4px rgba(201, 168, 76, 0.22),
    0 0.6rem 1.4rem rgba(60, 26, 22, 0.08);
}

.kp-video-tile .play {
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  color: var(--kp-burgundy);
}

.kp-video-tile .label {
  position: absolute;
  left: 0.85rem;
  bottom: 0.7rem;
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  color: var(--kp-burgundy);
  font-size: clamp(0.78rem, 0.88vw, 0.92rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* contact */
.kp-contact-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.kp-contact-line {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--kp-burgundy);
  font-size: clamp(1.25rem, 1.85vw, 1.75rem);
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--kp-rule);
  padding-bottom: 0.25rem;
}

.kp-contact-line:hover {
  color: var(--kp-burgundy-deep);
  border-bottom-color: var(--kp-gold);
}

/* legal */
.kp-legal-body {
  display: flex;
  flex-direction: column;
  gap: clamp(0.6rem, 1vh, 0.85rem);
  max-width: 56ch;
}

.kp-legal-body p {
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(0.92rem, 1vw, 1rem);
  line-height: 1.55;
  color: var(--kp-ink-soft);
  margin: 0;
}

.kp-legal-body p::before {
  content: "♠";
  display: inline-block;
  margin-right: 0.5em;
  color: var(--kp-gold);
  font-size: 0.85em;
}

.kp-footer {
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(0.78rem, 0.88vw, 0.88rem);
  color: rgba(44, 24, 16, 0.5);
  margin-top: clamp(1rem, 2vh, 1.6rem);
}

.kp-footer a {
  color: var(--kp-burgundy);
  text-decoration: none;
  border-bottom: 1px solid var(--kp-gold-soft);
}

@media (max-width: 900px) {
  .kp-two,
  .kp-two-narrow-left {
    grid-template-columns: 1fr;
    gap: clamp(1rem, 2.5vh, 1.6rem);
  }

  .kp-journal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kp-video-grid {
    grid-template-columns: 1fr;
  }

  .kp-h1 {
    font-size: clamp(2rem, 8vw, 3.4rem);
  }
}

/* ============================================================
   Suit cascade transition
   ============================================================ */

#suit-cascade {
  position: fixed;
  inset: 0;
  z-index: 9500;
  pointer-events: none;
  overflow: hidden;
}

.cascade-suit {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 105vh;
  font-family: Georgia, serif;
  line-height: 1;
  color: #4a0e0e;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
  white-space: nowrap;
}

/* ============================================================
   Per-panel atmosphere (corner clouds, bg texture, suit watermark)
   ============================================================ */

.panel:not(#home)::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(92, 26, 26, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(201, 168, 76, 0.03) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: cover, cover, 180px 180px;
  pointer-events: none;
  z-index: 0;
}

.panel:not(#home)::after {
  content: attr(data-suit);
  position: absolute;
  bottom: -5%;
  right: 3%;
  font-size: clamp(12rem, 30vw, 22rem);
  color: rgba(92, 26, 26, 0.04);
  font-family: Georgia, serif;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
  user-select: none;
}

.panel:not(#home) > *:not(.panel-illustration):not(.suit-particles):not(.vid-atmosphere) {
  position: relative;
  z-index: 1;
}

/* Panel decorative illustrations */
.panel-illustration {
  position: absolute;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  z-index: 0;
  opacity: 0;
}

.panel-illustration img {
  width: 100%;
  height: auto;
  display: block;
}

/* Centered-vertical illustrations use the CSS `translate` property so GSAP
   can animate `transform` (x/y) without overwriting the centering. */

#book .panel-illustration {
  position: absolute;
  left: -2%;
  top: 50%;
  translate: 0 -50%;
  width: clamp(320px, 40vw, 580px);
  z-index: 1;
}

#about .panel-illustration {
  position: absolute;
  right: -4%;
  top: 50%;
  translate: 0 -50%;
  width: clamp(340px, 42vw, 620px);
  z-index: 0;
}

#lookup .panel-illustration {
  position: absolute;
  left: -5%;
  bottom: -5%;
  width: clamp(300px, 38vw, 560px);
  z-index: 1;
}

#courses .panel-illustration {
  position: absolute;
  left: -4%;
  bottom: -3%;
  width: clamp(340px, 44vw, 640px);
  z-index: 0;
}

#videos .panel-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#videos .panel-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#journal .panel-illustration {
  position: absolute;
  right: -2%;
  top: 45%;
  translate: 0 -50%;
  width: clamp(320px, 38vw, 560px);
}

/* Contact: two flanking envelopes, rotated, at panel level */

#contact .contact-left {
  position: absolute;
  left: -4%;
  top: 50%;
  translate: 0 -50%;
  rotate: -8deg;
  width: clamp(280px, 32vw, 480px);
  z-index: 0;
}

#contact .contact-right {
  position: absolute;
  right: -3%;
  top: 50%;
  translate: 0 -50%;
  rotate: 6deg;
  width: clamp(320px, 36vw, 520px);
  z-index: 0;
}

/* ============================================================
   Panel-specific redesigns (about / book / relationships / lookup / readings / courses / videos)
   ============================================================ */

/* ABOUT — larger heading and body, illustration on right */
.about-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr) !important;
  gap: clamp(2rem, 4vw, 4.5rem) !important;
  align-items: center !important;
}

#about .kp-h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
}

#about .kp-body {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.7;
}

/* BOOK — illustration owns the left, content sits in the right gutter,
   title overlays the illustration */
.book-inner {
  display: block !important;
  padding-left: 44% !important;
}

.book-inner > .kp-col {
  width: 100%;
}

.book-overlay {
  position: absolute;
  top: 50%;
  left: 8%;
  z-index: 2;
  width: 30%;
  translate: 0 -45%;
  text-align: center;
  pointer-events: none;
}

.book-overlay-title {
  margin: 0 0 0.5rem;
  color: #2c1810;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(0.95rem, 1.35vw, 1.2rem);
  font-weight: 700;
  line-height: 1.4;
}

.book-overlay-title em {
  font-style: italic;
  font-weight: 500;
}

.book-overlay-author {
  margin: 0;
  color: #5a4a3a;
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(0.72rem, 1vw, 0.9rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#book .kp-offer-card {
  width: clamp(200px, 22vw, 280px);
  min-height: clamp(260px, 32vh, 380px);
}

.rel-card {
  position: relative;
  display: flex;
  flex: 1;
  width: 0;
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: 1.4rem 1.2rem 1.2rem;
  border: 1.5px solid #5c1a1a;
  border-radius: 0.75rem;
  background: #f5f0e8;
  flex-direction: column;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 3px rgba(245, 240, 232, 0.9),
    inset 0 0 0 4.5px rgba(92, 26, 26, 0.15),
    0 1px 3px rgba(44, 24, 16, 0.08),
    0 4px 14px rgba(44, 24, 16, 0.13);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.rel-card:hover {
  transform: translateY(-6px) rotate(0.3deg);
  box-shadow:
    inset 0 0 0 3px rgba(245, 240, 232, 0.9),
    inset 0 0 0 4.5px rgba(92, 26, 26, 0.15),
    0 3px 8px rgba(44, 24, 16, 0.1),
    0 14px 32px rgba(44, 24, 16, 0.2);
}

.rel-card-corner {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  font-family: Georgia, serif;
}

.rel-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0 0.5rem;
  text-align: center;
}

.rel-card-name {
  margin-bottom: 0.4rem;
  color: #2c1810;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  line-height: 1.2;
}

.rel-card-desc {
  flex: 1;
  color: #5a4a3a;
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(0.82rem, 1.1vw, 0.96rem);
  line-height: 1.5;
}

.rel-card-price {
  margin: 0.4rem 0;
  color: #c9a84c;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.rel-card-cta {
  padding: 0.45rem 1.4rem;
  border: none;
  border-radius: 2rem;
  background: #5c1a1a;
  color: #f5f0e8;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 200ms ease, transform 120ms ease;
}

.rel-card-cta:hover {
  background: #3d0c0c;
}

.rel-card-cta:active {
  transform: scale(0.97);
}

/* LOOKUP — larger form, 3D tilt on hover */
#lookup .kp-lookup-frame {
  width: clamp(340px, 48vw, 620px);
  padding: clamp(2rem, 4vh, 3rem) clamp(1.6rem, 3vw, 2.6rem);
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  transform-origin: center center;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 300ms ease;
}

@media (hover: hover) and (pointer: fine) {
  #lookup .kp-lookup-frame:hover {
    transform: perspective(800px) rotateY(4deg) rotateX(-2deg) translateY(-4px);
    box-shadow:
      inset 0 0 0 4px var(--kp-parchment),
      inset 0 0 0 5px rgba(201, 168, 76, 0.32),
      8px 12px 30px rgba(44, 24, 16, 0.18),
      0 4px 10px rgba(44, 24, 16, 0.1);
  }
}

/* READINGS — Paula's auto-flipping card */
.paula-card-wrapper {
  perspective: 1000px;
  width: clamp(180px, 22vw, 300px);
  height: clamp(260px, 34vw, 440px);
  flex-shrink: 0;
  margin: 0 auto;
}

.paula-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.paula-card-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 1rem;
  border: 1.5px solid #5c1a1a;
  border-radius: 0.85rem;
  background: #f5f0e8;
  box-shadow:
    inset 0 0 0 4px var(--kp-parchment, #f5f0e8),
    inset 0 0 0 5px rgba(92, 26, 26, 0.18),
    0 4px 16px rgba(44, 24, 16, 0.15);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.paula-card-back {
  background:
    repeating-linear-gradient(45deg, rgba(245, 240, 232, 0.05) 0 1px, transparent 1px 10px),
    radial-gradient(circle at 50% 50%, rgba(245, 240, 232, 0.2), transparent 60%),
    linear-gradient(145deg, #5c1a1a, #3d0c0c);
  border-color: #3d0c0c;
  transform: rotateY(180deg);
}

.paula-card-back-design {
  color: rgba(245, 240, 232, 0.18);
  font-family: Georgia, serif;
  font-size: clamp(5rem, 9vw, 7.5rem);
  line-height: 1;
}

.paula-card-alt {
  transform: rotateY(360deg);
}

.paula-card-alt .kp-portrait-pip {
  color: var(--kp-burgundy);
}

#readings .kp-offer-card {
  width: clamp(200px, 24vw, 300px);
  min-height: clamp(240px, 30vh, 360px);
}

/* COURSES — larger cards, illustration grounded lower-left */
#courses .kp-cards-row {
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: stretch;
}

#courses .kp-offer-card {
  width: clamp(220px, 26vw, 340px);
  min-height: clamp(260px, 34vh, 400px);
}

/* VIDEOS — full-bleed illustration as background, dark overlay, light text */
.panel#videos > .kp {
  background: transparent !important;
  z-index: 2;
}

#videos .kp::before {
  display: none;
}

.videos-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(20, 8, 8, 0.55) 0%,
    rgba(20, 8, 8, 0.45) 50%,
    rgba(20, 8, 8, 0.60) 100%
  );
}

#videos .kp-eyebrow {
  color: rgba(245, 240, 232, 0.78);
}

#videos .kp-h1 {
  color: #f5f0e8;
}

#videos .kp-lead {
  color: rgba(245, 240, 232, 0.88);
}

#videos .kp-rule {
  background: linear-gradient(to right, rgba(201, 168, 76, 0.8), transparent);
}

#videos .kp-video-tile {
  background: rgba(245, 240, 232, 0.12);
  border: 1px solid rgba(245, 240, 232, 0.25);
  color: #f5f0e8;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#videos .kp-video-tile .play {
  color: rgba(245, 240, 232, 0.92);
}

#videos .kp-video-tile .label {
  color: rgba(245, 240, 232, 0.82);
}



#panel-dots {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8000;
  display: flex;
  gap: 6px;
  align-items: center;
  background: rgba(245, 240, 232, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.4rem 0.8rem;
  border-radius: 2rem;
  border: 1px solid rgba(92, 26, 26, 0.15);
}

.panel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.25);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  padding: 0;
}

.panel-dot:hover {
  background: rgba(201, 168, 76, 0.5);
}

.panel-dot.active {
  width: 20px;
  height: 6px;
  border-radius: 3px;
  background: #c9a84c;
}

/* ============================================================
   Polished top nav (pill, two groups, divider)
   ============================================================ */

#kismet-nav {
  position: fixed;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8500;
  width: auto;
  max-width: 95vw;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.55rem 1.4rem;
  border: 1px solid rgba(92, 26, 26, 0.12);
  border-radius: 3rem;
  background: rgba(245, 240, 232, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 18px rgba(44, 24, 16, 0.06);
  white-space: nowrap;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.4rem;
  margin-right: 0.5rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  color: #2c1810;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.nav-diamond {
  color: #5c1a1a;
  font-size: 0.55rem;
  transform: translateY(-0.1rem);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-group button {
  padding: 0.32rem 0.7rem;
  border: none;
  border-radius: 2rem;
  background: none;
  color: #5c1a1a;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 200ms ease, color 200ms ease, transform 120ms ease;
}

.nav-group button:hover {
  background: rgba(92, 26, 26, 0.08);
  color: #3d0c0c;
}

.nav-group button:active {
  transform: scale(0.97);
}

.nav-divider {
  flex-shrink: 0;
  width: 1px;
  height: 1.2rem;
  margin: 0 0.4rem;
  background: rgba(92, 26, 26, 0.2);
}

.nav-secondary button {
  color: #7a6a5a;
  font-size: 0.86rem;
}

.nav-secondary button:hover {
  color: #5c1a1a;
}

@media (max-width: 1180px) {
  .nav-group button {
    padding: 0.28rem 0.55rem;
    font-size: 0.86rem;
  }
  .nav-secondary button {
    font-size: 0.82rem;
  }
}

/* ============================================================
   Playing-card offer cards
   ============================================================ */

.kp-cards-row {
  display: flex;
  gap: clamp(0.8rem, 2vw, 1.8rem);
  align-items: flex-end;
  justify-content: center;
  flex-wrap: nowrap;
  width: 100%;
}

.kp-cards-row-tight {
  margin-top: clamp(0.7rem, 1.5vh, 1.1rem);
}

.kp-offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  width: clamp(160px, 18vw, 240px);
  min-height: clamp(220px, 28vh, 340px);
  padding: 1.6rem 1.15rem 1.15rem;
  border: 1.5px solid #5c1a1a;
  border-radius: 0.75rem;
  background: #f5f0e8;
  text-align: center;
  box-shadow:
    inset 0 0 0 3px rgba(245, 240, 232, 0.85),
    inset 0 0 0 4px rgba(92, 26, 26, 0.14),
    0 1px 3px rgba(44, 24, 16, 0.08),
    0 4px 12px rgba(44, 24, 16, 0.12);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.kp-offer-card:hover {
  transform: translateY(-6px) rotate(0.5deg);
  box-shadow:
    inset 0 0 0 3px rgba(245, 240, 232, 0.85),
    inset 0 0 0 4px rgba(92, 26, 26, 0.14),
    0 3px 8px rgba(44, 24, 16, 0.12),
    0 12px 28px rgba(44, 24, 16, 0.18);
}

.kp-card-corner {
  position: absolute;
  font-family: Georgia, serif;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.05;
  text-align: center;
  color: #5c1a1a;
  letter-spacing: 0.02em;
}

.kp-card-corner.tl {
  top: 0.5rem;
  left: 0.6rem;
}

.kp-card-corner.br {
  right: 0.6rem;
  bottom: 0.5rem;
  transform: rotate(180deg);
}

.kp-card-suit-center {
  margin-bottom: 0.55rem;
  color: #5c1a1a;
  font-family: Georgia, serif;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1;
}

.kp-card-name {
  margin: 0 0 0.45rem;
  color: #2c1810;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(0.88rem, 1.18vw, 1.05rem);
  line-height: 1.18;
  letter-spacing: -0.005em;
}

.kp-card-desc {
  margin: 0 0 0.65rem;
  flex: 1;
  color: #5a4a3a;
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(0.78rem, 0.98vw, 0.92rem);
  line-height: 1.42;
}

.kp-card-price {
  margin-bottom: 0.7rem;
  color: #c9a84c;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1rem, 1.55vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.kp-card-cta {
  padding: 0.4rem 1.15rem;
  border: none;
  border-radius: 2rem;
  background: #5c1a1a;
  color: #f5f0e8;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 0.86rem;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: background 200ms ease, transform 120ms ease;
}

.kp-card-cta:hover {
  background: #3d0c0c;
}

.kp-card-cta:active {
  transform: scale(0.97);
}

/* ============================================================
   Ornamental text: pullquote, credential, footnote, launch card
   ============================================================ */

.kp-pullquote {
  margin: 0 0 clamp(0.4rem, 1vh, 0.8rem);
  color: #7a5a4a;
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(0.95rem, 1.35vw, 1.18rem);
  text-align: left;
  letter-spacing: 0.005em;
}

.kp-credential {
  margin: clamp(0.55rem, 1.2vh, 0.95rem) 0 0;
  color: #7a6a5a;
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(0.8rem, 1vw, 0.94rem);
  letter-spacing: 0.04em;
}

.kp-credential a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(122, 106, 90, 0.35);
  transition: color 200ms ease, border-color 200ms ease;
}

.kp-credential a:hover {
  color: #5c1a1a;
  border-bottom-color: #c9a84c;
}

.kp-footnote {
  margin: clamp(0.6rem, 1.4vh, 1.05rem) 0 0;
  color: #8a7a6a;
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(0.78rem, 0.95vw, 0.9rem);
  line-height: 1.5;
  text-align: center;
}

.kp-footnote a {
  color: #5c1a1a;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.55);
}

.kp-launch-card {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: clamp(0.85rem, 1.6vh, 1.25rem);
  padding: 0.42rem 0.85rem;
  border: 1px solid rgba(92, 26, 26, 0.15);
  border-radius: 0.3rem;
  background: rgba(255, 252, 245, 0.5);
  color: #7a6a5a;
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  font-size: 0.9rem;
}

.kp-launch-card .kp-suit {
  color: #5c1a1a;
  font-style: normal;
  font-family: Georgia, serif;
}

/* ============================================================
   Final energy pass: denser panels, larger feature cards, fuller story
   ============================================================ */

.kp-reading-points,
.kp-about-cards,
.kp-insight-ribbon {
  display: grid;
  gap: clamp(0.45rem, 0.8vh, 0.7rem);
}

.kp-reading-points span,
.kp-insight-ribbon span,
.kp-about-cards article {
  position: relative;
  border: 1px solid rgba(92, 26, 26, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 252, 245, 0.66), rgba(239, 226, 204, 0.46));
  box-shadow:
    inset 0 0 0 3px rgba(245, 240, 232, 0.64),
    0 0.55rem 1.15rem rgba(44, 24, 16, 0.055);
}

.kp-about-cards b {
  color: #5c1a1a;
  font-family: "Playfair Display", Georgia, serif;
}

#lookup .kp-center-stack {
  gap: clamp(0.8rem, 1.45vh, 1.25rem);
}

#lookup .kp-h1 {
  font-size: clamp(3rem, 5.8vw, 5.25rem);
}

#lookup .kp-lead {
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.32vw, 1.26rem);
}

.kp-insight-ribbon {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(48rem, 100%);
}

.kp-insight-ribbon span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.2rem;
  padding: 0.58rem 0.75rem;
  color: rgba(44, 24, 16, 0.74);
  font-size: clamp(0.8rem, 0.95vw, 0.92rem);
  line-height: 1.1;
}

.kp-insight-ribbon b {
  color: #d8b350;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  line-height: 1;
}

#lookup .kp-lookup-frame {
  width: clamp(420px, 54vw, 720px);
  padding: clamp(2.4rem, 4.6vh, 3.5rem) clamp(2rem, 3.6vw, 3.2rem);
}

#lookup .kp-lookup-frame::before {
  content: "birth card request";
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: #d8b350;
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(0.72rem, 0.85vw, 0.86rem);
  font-style: italic;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ── Lookup panel — centered request form ────────────────────────────────── */
#lookup .kp-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

#lookup .lookup-form-wrap {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px 40px;
}

#lookup .lookup-form-wrap .kp-lookup-frame {
  width: 100%;
}

#lookup .lookup-form-intro {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 16px;
  color: #7a6a5a;
  text-align: center;
  margin-bottom: 24px;
}

#lookup .lookup-form-wrap .kp-request-form,
#lookup .lookup-form-wrap form {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

#lookup .kp-cta-birth-card {
  width: 100%;
  background: #5c1a1a;
  color: #fff;
  padding: 16px;
  border-radius: 999px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
}

/* ── Lookup panel — falling suits background ────────────────────────────── */
.lookup-falling-cards {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.lookup-falling-card {
  position: absolute;
  top: -80px;
  font-size: 24px;
  opacity: 0;
  color: #5c1a1a;
  animation: fallCard linear infinite;
  user-select: none;
}

@keyframes fallCard {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  5% {
    opacity: 0.07;
  }
  90% {
    opacity: 0.07;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

.readings-inner {
  width: min(1320px, calc(100vw - 72px));
  grid-template-columns: minmax(260px, 0.84fr) minmax(430px, 1.12fr) minmax(260px, 0.84fr);
  align-items: center;
  justify-items: center;
  gap: clamp(1.6rem, 3vw, 4rem);
}

#readings .kp-col {
  align-items: center;
  text-align: center;
}

#readings .kp-rule,
#readings .kp-cta {
  align-self: center;
}

#readings .kp-lead,
#readings .kp-body {
  max-width: 52ch;
}

#readings .readings-buy-card {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

.kp-reading-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

.kp-reading-points span {
  display: grid;
  place-items: center;
  min-height: 4rem;
  padding: 0.8rem 0.75rem;
  color: rgba(44, 24, 16, 0.75);
  font-size: clamp(0.76rem, 0.88vw, 0.88rem);
  line-height: 1.2;
  text-align: center;
}

/* ===== READINGS — editorial polish (asymmetry, easing, material detail) ===== */
@media (min-width: 1181px) {
  #readings .kp-reading-points {
    grid-template-columns: 1.15fr 1fr 0.95fr;
  }

  #readings .kp-reading-points span:nth-child(2) {
    transform: translateY(0.4rem);
  }

  #readings .kp-reading-points span:nth-child(3) {
    transform: translateY(-0.25rem);
  }
}

#readings .paula-card-wrapper {
  width: clamp(260px, 22vw, 340px);
  height: clamp(390px, 36vw, 500px);
  transform: rotate(-1.1deg);
  transform-style: preserve-3d;
  filter: drop-shadow(0 1.4rem 2.1rem rgba(60, 26, 22, 0.16));
}

#readings .kp-offer-card,
#readings .kp-card-cta {
  transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
}

#readings .kp-offer-card {
  width: clamp(260px, 22vw, 340px) !important;
  min-height: clamp(390px, 36vw, 500px) !important;
  flex: 0 0 clamp(260px, 22vw, 340px) !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0.9rem;
  transform-style: preserve-3d;
  will-change: transform;
}

#readings .panel-cards-row .rel-card {
  flex: 0 0 clamp(260px, 22vw, 340px) !important;
  width: clamp(260px, 22vw, 340px) !important;
  min-width: clamp(260px, 22vw, 340px) !important;
  min-height: clamp(390px, 36vw, 500px) !important;
  height: clamp(390px, 36vw, 500px) !important;
  padding: clamp(1.8rem, 3vh, 2.4rem) clamp(1.15rem, 1.7vw, 1.5rem) clamp(1.25rem, 2vh, 1.65rem);
  box-sizing: border-box;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 252, 245, 0.96), rgba(245, 235, 218, 0.72) 72%),
    #fffdf7;
  border-color: rgba(92, 26, 26, 0.34);
  border-radius: 0.9rem;
  transform-style: preserve-3d;
  will-change: transform;
}

#readings .panel-cards-row .rel-card .rel-card-body {
  justify-content: center;
}

#readings .panel-cards-row .rel-card .rel-card-name {
  font-size: clamp(1.25rem, 1.6vw, 1.65rem);
}

#readings .panel-cards-row .rel-card .rel-card-desc {
  font-size: clamp(0.9rem, 1vw, 1.04rem);
  line-height: 1.48;
}

#readings .kp-card-price {
  position: relative;
  display: inline-block;
}

#readings .kp-card-price::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.18rem;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--kp-gold, #c9a84c), transparent);
  opacity: 0.6;
}

.kp-feature-card {
  width: clamp(230px, 24vw, 340px) !important;
  min-height: clamp(330px, 52vh, 520px) !important;
  padding: clamp(1.8rem, 3vh, 2.4rem) clamp(1.15rem, 1.7vw, 1.5rem) clamp(1.25rem, 2vh, 1.65rem);
  align-self: center;
}

.kp-feature-card .kp-card-suit-center {
  font-size: clamp(2.6rem, 4.4vw, 4.25rem);
}

.kp-feature-card .kp-card-name {
  font-size: clamp(1.15rem, 1.55vw, 1.5rem);
}

.kp-feature-card .kp-card-desc {
  font-size: clamp(0.86rem, 1.06vw, 1.02rem);
  line-height: 1.46;
}

.kp-feature-card .kp-card-price {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.paula-card-wrapper {
  width: clamp(220px, 23vw, 330px);
  height: clamp(315px, 36vw, 500px);
}

#courses .kp-stack {
  justify-items: center;
  text-align: center;
}

#courses .kp-body {
  max-width: 72ch;
  font-size: clamp(0.98rem, 1.14vw, 1.12rem);
}

#courses .kp-cards-row {
  width: min(1040px, 100%);
}

#courses .kp-offer-card {
  width: clamp(210px, 23vw, 315px);
  min-height: clamp(315px, 45vh, 455px);
}

.book-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 0.95fr) minmax(250px, 0.74fr) !important;
  gap: clamp(2rem, 5vw, 5rem) !important;
  align-items: center !important;
  padding-left: 0 !important;
}

.book-inner > .kp-col {
  width: auto;
  max-width: 40rem;
}

.book-card-large {
  justify-self: center;
}

#book .kp-body,
#book .kp-lead {
  max-width: 58ch;
}

.book-overlay {
  left: clamp(4rem, 8vw, 7rem);
  width: min(19rem, 23vw);
  opacity: 0.72;
}

.book-overlay-title {
  font-size: clamp(0.82rem, 1vw, 1.05rem);
}

.kp-about-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(40rem, 100%);
}

.kp-about-cards article {
  padding: 0.95rem 1rem;
}

.kp-about-cards b {
  display: block;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1;
}

.kp-about-cards span {
  display: block;
  margin-top: 0.34rem;
  color: rgba(44, 24, 16, 0.68);
  font-size: clamp(0.8rem, 0.95vw, 0.92rem);
  line-height: 1.3;
}

#journal .kp-lead {
  max-width: 64ch;
  text-align: center;
}

#journal .kp-stack,
#contact .kp-center-stack {
  gap: clamp(0.9rem, 1.5vh, 1.3rem);
}

#contact .kp-body {
  max-width: 48ch;
  text-align: center;
}

@media (max-width: 1180px) {
  .readings-inner,
  .book-inner {
    grid-template-columns: 1fr !important;
  }

  .readings-inner .kp-col {
    grid-column: auto;
    order: -1;
  }

  #readings .paula-card-wrapper,
  #readings .kp-offer-card,
  #readings .panel-cards-row .rel-card {
    width: min(320px, 82vw) !important;
    flex-basis: min(320px, 82vw) !important;
    min-width: min(320px, 82vw) !important;
    height: 430px !important;
    min-height: 430px !important;
  }

  .kp-reading-points,
  .kp-insight-ribbon {
    grid-template-columns: 1fr;
  }

  #courses .kp-cards-row {
    gap: 0.75rem;
  }

  #courses .kp-offer-card {
    width: clamp(180px, 27vw, 280px);
  }
}

/* ============================================================
   Book/video collision fixes + checkout flow polish
   ============================================================ */

.book-overlay {
  display: none !important;
}

#book .panel-illustration {
  left: clamp(-4rem, -4vw, -2rem) !important;
  top: 57% !important;
  width: clamp(360px, 35vw, 560px) !important;
  opacity: 0.9 !important;
  z-index: 0 !important;
}

#book .kp {
  padding-left: clamp(2rem, 4vw, 4.5rem);
  padding-right: clamp(2rem, 5vw, 6rem);
}

#book .book-inner {
  width: min(1120px, 100%) !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr) !important;
  gap: clamp(3rem, 7vw, 7rem) !important;
  align-items: center !important;
  margin-left: clamp(10rem, 15vw, 17rem);
}

#book .book-inner > .kp-col {
  justify-self: center;
  align-items: center;
  max-width: 35rem;
  text-align: center;
}

#book .kp-rule,
#book .kp-cta {
  align-self: center;
}

#book .book-card-large {
  justify-self: end;
  width: clamp(280px, 28vw, 430px) !important;
  min-height: clamp(430px, 58vh, 620px) !important;
}

#book .book-card-large .kp-card-suit-center {
  font-size: clamp(3.2rem, 5vw, 5.4rem);
}

#book .book-card-large .kp-card-name {
  font-size: clamp(1.25rem, 1.65vw, 1.7rem);
}

#videos .panel-illustration {
  inset: -10% -8% -12% -8% !important;
  width: 116% !important;
  height: 122% !important;
}

#videos .panel-illustration img {
  object-fit: cover !important;
  object-position: center 42% !important;
  transform: scale(1.18);
  transform-origin: center center;
}

#videos .videos-overlay {
  background:
    radial-gradient(circle at 50% 48%, rgba(250, 241, 221, 0.84), rgba(250, 241, 221, 0.45) 34%, rgba(250, 241, 221, 0.1) 66%),
    linear-gradient(to bottom, rgba(245, 240, 232, 0.5), rgba(245, 240, 232, 0.26)) !important;
}

#videos .kp-inner {
  border: 1px solid rgba(92, 26, 26, 0.12);
  border-radius: 2rem;
  padding: clamp(1.4rem, 3vh, 2.2rem);
  background: rgba(245, 240, 232, 0.56);
  box-shadow: 0 1.2rem 3rem rgba(44, 24, 16, 0.12);
}

#videos .kp-eyebrow,
#videos .kp-h1,
#videos .kp-lead,
#videos .kp-note {
  color: #5c1a1a !important;
}

#videos .kp-lead {
  color: rgba(44, 24, 16, 0.8) !important;
}

#videos .kp-video-tile {
  background: rgba(255, 252, 245, 0.48) !important;
  border-color: rgba(92, 26, 26, 0.2) !important;
  color: #5c1a1a !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#videos .kp-video-tile .play,
#videos .kp-video-tile .label {
  color: #5c1a1a !important;
}

/* ============================================================
   Store panel + admin foundation
   ============================================================ */

.nav-store {
  position: relative;
  flex-shrink: 0;
  padding: 0.46rem 1.05rem 0.5rem;
  border: 1px solid rgba(92, 26, 26, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.2), transparent 70%),
    rgba(255, 252, 245, 0.82);
  color: #5c1a1a;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow:
    inset 0 0 0 3px rgba(245, 240, 232, 0.72),
    0 0.5rem 1.1rem rgba(92, 26, 26, 0.11);
  transform: translateY(-0.04rem);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms ease;
}

.nav-store::before {
  position: absolute;
  top: -0.3rem;
  left: 50%;
  width: 0.42rem;
  height: 0.42rem;
  content: "";
  background: #b75f55;
  transform: translateX(-50%) rotate(45deg);
}

.nav-store:hover {
  background: rgba(255, 252, 245, 0.98);
  box-shadow:
    inset 0 0 0 3px rgba(245, 240, 232, 0.86),
    0 0.9rem 1.7rem rgba(92, 26, 26, 0.16);
  transform: translateY(-0.18rem);
}

/* ── Store panel: tab + grid layout ── */
#store .store-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.55rem, 1.1vh, 0.85rem);
  width: min(1100px, calc(100vw - 7rem));
}

#store .store-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0.4rem;
  margin-bottom: 32px;
}

#store .store-tab {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid #5c1a1a;
  background: transparent;
  color: #5c1a1a;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

#store .store-tab:hover {
  background: rgba(92, 26, 26, 0.07);
}

#store .store-tab.active {
  background: #5c1a1a;
  color: #fff;
}

#store .store-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.9rem, 1.5vw, 1.25rem);
  width: 100%;
}

#store .store-item-card {
  background: #fffdf7;
  border: 1px solid #e0d8c8;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

#store .store-item-card:hover {
  box-shadow: 0 1.2rem 2.4rem rgba(44, 24, 16, 0.12);
  transform: translateY(-3px);
}

#store .store-item-badge {
  display: inline-block;
  width: max-content;
  padding: 3px 10px;
  border-radius: 999px;
  background: #c9a84c;
  color: #2c1810;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

#store .store-item-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  color: #5c1a1a;
  line-height: 1.25;
}

#store .store-item-desc {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 15px;
  color: #7a6a5a;
  line-height: 1.5;
  flex: 1;
}

#store .store-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

#store .store-item-price {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #c9a84c;
}

#store .store-item-buy {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  background: #5c1a1a;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 150ms ease;
}

#store .store-item-buy:hover {
  background: #7a2020;
}

.store-admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: clamp(1.5rem, 4vw, 4rem);
  bottom: clamp(1.5rem, 4vh, 3rem);
  min-height: 2.25rem;
  padding: 0.55rem 1rem;
  border: 1px solid #3d0c0c;
  border-radius: 999px;
  background: rgba(92, 26, 26, 0.9);
  color: #f5f0e8;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.store-admin-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 1.4rem rgba(61, 12, 12, 0.2);
}

#lookup .kp-fields {
  grid-template-columns: 1fr 1fr;
  align-items: end;
}

#lookup .kp-field-name {
  grid-column: 1 / -1;
}

#lookup .kp-lookup-form {
  align-items: center;
}

#lookup .kp-field input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--kp-gold-soft);
  border-radius: 0;
  background: rgba(255, 252, 245, 0.7);
  color: var(--kp-ink);
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(0.92rem, 1vw, 1.02rem);
  outline: none;
}

#lookup .kp-lookup-form .kp-cta {
  align-self: center;
  margin-top: 0.2rem;
}

.checkout-body {
  overflow: hidden;
}

.checkout-page {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 18% 22%, rgba(201, 168, 76, 0.16), transparent 20rem),
    radial-gradient(circle at 84% 68%, rgba(92, 26, 26, 0.12), transparent 26rem),
    var(--paper);
}

.checkout-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  width: min(1040px, 100%);
  align-items: stretch;
}

.checkout-shell-form {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  width: min(1180px, 100%);
  align-items: start;
}

.checkout-copy,
.checkout-card {
  border: 1px solid rgba(92, 26, 26, 0.16);
  background: rgba(245, 240, 232, 0.82);
  box-shadow:
    inset 0 0 0 4px rgba(245, 240, 232, 0.85),
    inset 0 0 0 5px rgba(201, 168, 76, 0.22),
    0 1.4rem 3.2rem rgba(44, 24, 16, 0.12);
}

.checkout-copy {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.checkout-form-panel {
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
}

.checkout-copy .eyebrow {
  color: var(--wine);
  font-family: var(--display-font);
  font-style: italic;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.checkout-copy h1 {
  margin-top: 0.8rem;
  color: var(--wine);
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.92;
}

.checkout-copy p {
  max-width: 45rem;
  margin-top: 1.1rem;
  color: rgba(44, 24, 16, 0.76);
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
}

.checkout-form {
  display: grid;
  gap: clamp(0.8rem, 1.5vh, 1.1rem);
  margin-top: clamp(1.1rem, 2vh, 1.6rem);
}

.checkout-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.checkout-field-grid.compact {
  gap: 0.72rem;
}

.checkout-field {
  display: grid;
  gap: 0.32rem;
  color: var(--wine);
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  letter-spacing: 0.08em;
}

.checkout-field span,
.checkout-fieldset legend {
  font-size: 0.84rem;
}

.checkout-field input,
.checkout-field select,
.checkout-field textarea {
  width: 100%;
  min-height: 2.65rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(92, 26, 26, 0.18);
  background: rgba(255, 252, 245, 0.72);
  color: var(--ink);
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-style: normal;
  letter-spacing: 0;
  outline: none;
}

.checkout-field textarea {
  min-height: 5.2rem;
  resize: vertical;
}

.checkout-field input:focus,
.checkout-field select:focus,
.checkout-field textarea:focus {
  border-color: rgba(92, 26, 26, 0.46);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
}

.checkout-fieldset {
  margin: 0;
  padding: 0.95rem;
  border: 1px solid rgba(92, 26, 26, 0.12);
  background: rgba(255, 252, 245, 0.34);
}

.checkout-fieldset[hidden] {
  display: none;
}

.checkout-card {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: clamp(1.5rem, 3vw, 2.3rem);
}

.checkout-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.checkout-card-suit {
  color: var(--wine);
  font-family: Georgia, serif;
  font-size: 1.6rem;
  line-height: 1;
}

.checkout-card-brand {
  color: var(--wine);
  font-family: var(--display-font);
  font-style: italic;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.checkout-summary-rows {
  display: grid;
  gap: 0.7rem;
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(44, 24, 16, 0.72);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 0.95rem;
}

.checkout-summary-row span:first-child {
  color: rgba(44, 24, 16, 0.55);
}

.checkout-summary-divider {
  height: 1px;
  margin: 0.3rem 0;
  background: rgba(92, 26, 26, 0.16);
}

.checkout-summary-total {
  font-weight: 600;
  color: var(--wine);
}

.checkout-summary-total span:last-child {
  color: var(--gold);
  font-family: var(--display-font);
  font-size: 1.2rem;
}

.checkout-secure-note {
  margin-top: 0.7rem;
  color: rgba(44, 24, 16, 0.55);
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  font-size: 0.85rem;
  text-align: center;
}

.checkout-service-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #e0d8c8;
  margin-bottom: 20px;
}

.checkout-service-label {
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #7a6a5a;
  text-transform: uppercase;
}

.checkout-service-name {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 16px;
  color: #5c1a1a;
  font-style: italic;
}

.checkout-button {
  justify-self: center;
  margin-top: auto;
  padding: 0.85rem 1.6rem;
  border: 1px solid #3d0c0c;
  border-radius: 999px;
  background: var(--wine);
  color: var(--paper);
  font-family: var(--display-font);
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.checkout-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.checkout-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.8rem 1.6rem rgba(61, 12, 12, 0.24);
}

.checkout-confirm-btn {
  width: 100%;
  padding: 16px;
  margin-top: 24px;
  border: none;
  border-radius: 8px;
  background: #5c1a1a;
  color: #fff;
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 180ms ease;
}

.checkout-confirm-btn:hover {
  opacity: 0.88;
}

.checkout-confirm-btn:disabled {
  cursor: wait;
  opacity: 0.55;
}

.checkout-confirm-note {
  color: rgba(44, 24, 16, 0.52);
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  font-size: 0.88rem;
  text-align: center;
  margin-top: 0.4rem;
}

@media (max-width: 900px) {
  #book .book-inner,
  .checkout-shell {
    grid-template-columns: 1fr !important;
    margin-left: 0;
  }

  #book .panel-illustration {
    opacity: 0.24 !important;
  }

  #book .book-card-large {
    justify-self: center;
  }

  .checkout-page {
    position: static;
    min-height: 100dvh;
    overflow: auto;
  }

  .checkout-body {
    position: static;
    overflow: auto;
  }

  .checkout-form-panel {
    max-height: none;
    overflow-y: visible;
  }

  .checkout-card {
    position: static;
  }

  .checkout-confirm-btn {
    margin-top: 16px;
  }

  .checkout-field-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Stripe Card Element ─────────────────────────────────────────────────── */
.stripe-card-field {
  margin-top: 0.4rem;
}

.stripe-card-element {
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(92, 26, 26, 0.18);
  background: rgba(255, 252, 245, 0.72);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.stripe-card-element.StripeElement--focus {
  border-color: rgba(92, 26, 26, 0.46);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
  outline: none;
}

.stripe-card-element.StripeElement--invalid {
  border-color: rgba(192, 57, 43, 0.55);
}

.stripe-card-error {
  margin-top: 0.3rem;
  color: #c0392b;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 0.88rem;
  font-style: italic;
  min-height: 1.2em;
}


.admin-body {
  position: static;
  min-height: 100dvh;
  overflow: auto;
  background:
    radial-gradient(circle at 12% 18%, rgba(201, 168, 76, 0.16), transparent 22rem),
    radial-gradient(circle at 90% 10%, rgba(183, 95, 85, 0.12), transparent 28rem),
    var(--paper);
}

.admin-page {
  width: min(1240px, calc(100vw - 3rem));
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.admin-hero {
  position: relative;
  display: grid;
  gap: 0.85rem;
  width: min(48rem, 100%);
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.admin-back {
  width: max-content;
  color: rgba(92, 26, 26, 0.78);
  font-family: "EB Garamond", Georgia, serif;
  border-bottom: 1px solid rgba(92, 26, 26, 0.22);
}

.admin-hero .eyebrow {
  color: var(--wine);
  font-family: var(--display-font);
  font-style: italic;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.admin-hero h1 {
  color: var(--wine);
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  line-height: 0.9;
}

.admin-hero p {
  max-width: 45rem;
  color: rgba(44, 24, 16, 0.74);
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(1.06rem, 1.3vw, 1.25rem);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.75fr);
  gap: clamp(1rem, 2.4vw, 1.8rem);
  align-items: start;
}

.admin-panel {
  position: relative;
  border: 1px solid rgba(92, 26, 26, 0.16);
  border-radius: 1.5rem;
  background: rgba(245, 240, 232, 0.78);
  box-shadow:
    inset 0 0 0 4px rgba(245, 240, 232, 0.78),
    inset 0 0 0 5px rgba(201, 168, 76, 0.16),
    0 1.2rem 2.8rem rgba(44, 24, 16, 0.1);
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
}

.admin-panel-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.admin-suit {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  flex: 0 0 auto;
  border: 1px solid rgba(92, 26, 26, 0.14);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.64);
  color: var(--wine);
  font-family: Georgia, serif;
  font-size: 1.65rem;
}

.admin-panel h2 {
  color: var(--wine);
  font-size: clamp(1.8rem, 2.6vw, 2.45rem);
}

.admin-panel-head p {
  margin-top: 0.2rem;
  color: rgba(44, 24, 16, 0.62);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 0.98rem;
  line-height: 1.35;
}

.admin-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.82rem;
}

.admin-wide {
  grid-column: 1 / -1;
}

.admin-orders {
  min-height: 100%;
}

.admin-products {
  grid-column: 1 / -1;
}

.admin-order-list,
.admin-product-list {
  display: grid;
  gap: 0.75rem;
}

.admin-order-list article,
.admin-product-row {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(92, 26, 26, 0.12);
  border-radius: 0.9rem;
  background: rgba(255, 252, 245, 0.44);
  box-shadow: inset 0 0 0 3px rgba(245, 240, 232, 0.5);
}

.admin-order-list span,
.admin-product-row span {
  color: rgba(92, 26, 26, 0.68);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 0.78rem;
  font-style: italic;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.admin-order-list strong,
.admin-product-row strong {
  color: #5c1a1a;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.08rem;
}

.admin-order-list p,
.admin-product-row p {
  color: rgba(44, 24, 16, 0.66);
  font-family: "EB Garamond", Georgia, serif;
  line-height: 1.38;
}

.admin-product-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.admin-product-row aside {
  display: grid;
  justify-items: end;
  gap: 0.25rem;
  color: rgba(44, 24, 16, 0.62);
}

.admin-product-row b {
  color: #b79052;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
}

.admin-product-row em {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .admin-grid {
    grid-template-columns: 1fr !important;
  }

  #store .store-inner {
    width: min(680px, calc(100vw - 2rem));
  }

  #store .store-grid {
    grid-template-columns: 1fr;
  }

  .admin-fields {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Admin full-page dashboard + Supabase product management
   ============================================================ */

.admin-root,
.admin-root body {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

.admin-body {
  isolation: isolate;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 8% 8%, rgba(201, 168, 76, 0.18), transparent 22rem),
    radial-gradient(circle at 92% 12%, rgba(183, 95, 85, 0.15), transparent 28rem),
    linear-gradient(180deg, rgba(255, 252, 245, 0.92), rgba(239, 226, 204, 0.72)),
    var(--paper) !important;
}

.admin-page {
  width: min(1480px, calc(100vw - clamp(2rem, 5vw, 5.5rem))) !important;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.admin-login {
  width: min(620px, 100%);
  margin: clamp(4rem, 10vh, 8rem) auto;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(92, 26, 26, 0.16);
  border-radius: 1.8rem;
  background: rgba(245, 240, 232, 0.84);
  box-shadow:
    inset 0 0 0 4px rgba(245, 240, 232, 0.74),
    inset 0 0 0 5px rgba(201, 168, 76, 0.18),
    0 1.5rem 3.4rem rgba(44, 24, 16, 0.12);
}

.admin-login h1 {
  margin-top: 0.9rem;
  color: var(--wine);
  font-size: clamp(3.1rem, 7vw, 6rem);
  line-height: 0.9;
}

.admin-login p {
  max-width: 32rem;
  margin-top: 1rem;
  color: rgba(44, 24, 16, 0.72);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.45;
}

.admin-login-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.admin-topline,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  justify-content: space-between;
}

.admin-signout,
.admin-secondary-button,
.admin-product-row button,
.admin-date-list button {
  min-height: 2.35rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(92, 26, 26, 0.2);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.72);
  color: var(--wine);
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms ease;
}

.admin-signout:hover,
.admin-secondary-button:hover,
.admin-product-row button:hover,
.admin-date-list button:hover {
  background: rgba(255, 252, 245, 0.96);
  box-shadow: 0 0.65rem 1.2rem rgba(44, 24, 16, 0.12);
  transform: translateY(-1px);
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.4vw, 1.15rem);
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
}

.admin-metrics article,
.admin-flow-grid article {
  padding: 1rem;
  border: 1px solid rgba(92, 26, 26, 0.12);
  border-radius: 1.1rem;
  background: rgba(255, 252, 245, 0.48);
  box-shadow: inset 0 0 0 3px rgba(245, 240, 232, 0.42);
}

.admin-metrics span,
.admin-flow-grid span {
  color: rgba(92, 26, 26, 0.66);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 0.78rem;
  font-style: italic;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.admin-metrics strong,
.admin-flow-grid strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--wine);
  font-family: var(--display-font);
  font-size: 1.08rem;
}

.admin-metrics p {
  margin-top: 0.3rem;
  color: rgba(44, 24, 16, 0.62);
  font-family: "EB Garamond", Georgia, serif;
  line-height: 1.35;
}

.admin-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.78fr);
  gap: clamp(1rem, 2.2vw, 1.7rem);
  align-items: start;
}

.admin-dashboard .admin-products {
  grid-column: 1 / -1;
}

.admin-calendar,
.admin-site-flow {
  min-height: 100%;
}

.admin-mini-form {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 0.8rem;
  align-items: end;
}

.admin-mini-form .checkout-button {
  grid-column: 1 / -1;
  justify-self: start;
}

.admin-date-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.admin-date-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(92, 26, 26, 0.12);
  border-radius: 0.9rem;
  background: rgba(255, 252, 245, 0.44);
}

.admin-date-list strong {
  color: var(--wine);
  font-family: var(--display-font);
}

.admin-date-list span,
.admin-empty {
  color: rgba(44, 24, 16, 0.62);
  font-family: "EB Garamond", Georgia, serif;
}

.admin-flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.admin-product-list {
  margin-top: 1rem;
}

.admin-product-row {
  grid-template-columns: 5.5rem minmax(0, 1fr) auto !important;
  gap: 1rem !important;
}

.admin-product-thumb {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 6.8rem;
  overflow: hidden;
  border: 1px solid rgba(92, 26, 26, 0.12);
  border-radius: 0.75rem;
  background:
    radial-gradient(circle at 50% 30%, rgba(201, 168, 76, 0.2), transparent 65%),
    rgba(255, 252, 245, 0.72);
}

.admin-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-product-placeholder {
  color: rgba(92, 26, 26, 0.72);
  font-family: Georgia, serif;
  font-size: 2.8rem;
}

.admin-product-copy {
  display: grid;
  gap: 0.26rem;
}

.admin-product-row aside {
  min-width: 8rem;
}

#store .store-item-card[hidden] {
  display: none !important;
}

/* ============================================================
   Kismet final coherence pass: burgundy/gold panel system
   ============================================================ */

#lookup .kp,
#readings .kp,
#courses .kp,
#book .kp,
#store .kp,
#about .kp,
#journal .kp,
#videos .kp,
#contact .kp,
#legal .kp {
  background:
    radial-gradient(circle at 50% 24%, rgba(116, 30, 32, 0.35), transparent 34%),
    radial-gradient(circle at 14% 78%, rgba(201, 168, 76, 0.12), transparent 31%),
    linear-gradient(135deg, #270609 0%, #180306 52%, #2b070a 100%) !important;
  color: #f7efe2;
}

#lookup .kp::before,
#readings .kp::before,
#courses .kp::before,
#book .kp::before,
#store .kp::before,
#about .kp::before,
#journal .kp::before,
#videos .kp::before,
#contact .kp::before,
#legal .kp::before {
  opacity: 0.11;
  mix-blend-mode: screen;
}

#lookup .kp-eyebrow,
#readings .kp-eyebrow,
#courses .kp-eyebrow,
#book .kp-eyebrow,
#store .kp-eyebrow,
#about .kp-eyebrow,
#journal .kp-eyebrow,
#videos .kp-eyebrow,
#contact .kp-eyebrow,
#legal .kp-eyebrow {
  color: #d8b350 !important;
}

#lookup .kp-h1,
#readings .kp-h1,
#courses .kp-h1,
#book .kp-h1,
#store .kp-h1,
#about .kp-h1,
#journal .kp-h1,
#videos .kp-h1,
#contact .kp-h1,
#legal .kp-h1 {
  color: #fff8ed !important;
  text-wrap: balance;
  text-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.28);
}

#lookup .kp-h1 em,
#readings .kp-h1 em,
#courses .kp-h1 em,
#book .kp-h1 em,
#store .kp-h1 em,
#about .kp-h1 em,
#journal .kp-h1 em,
#videos .kp-h1 em,
#contact .kp-h1 em,
#legal .kp-h1 em {
  color: #d8b350 !important;
}

#lookup .kp-rule,
#readings .kp-rule,
#courses .kp-rule,
#book .kp-rule,
#store .kp-rule,
#about .kp-rule,
#journal .kp-rule,
#videos .kp-rule,
#contact .kp-rule,
#legal .kp-rule {
  background: linear-gradient(to right, transparent, #d8b350, transparent) !important;
}

#lookup .kp-lead,
#lookup .kp-body,
#lookup .kp-note,
#readings .kp-lead,
#readings .kp-body,
#readings .kp-credential,
#courses .kp-body,
#courses .kp-footnote,
#book .kp-body,
#book .kp-lead,
#store .kp-lead,
#about .kp-lead,
#about .kp-body,
#journal .kp-lead,
#journal .kp-note,
#videos .kp-lead,
#contact .kp-lead,
#contact .kp-body,
#legal .kp-legal-body p {
  color: rgba(255, 248, 237, 0.75) !important;
}

.panel-floaters {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.panel-float {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 1.35rem;
  min-height: 1.35rem;
  color: rgba(216, 179, 80, 0.78);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.02rem, 1.55vw, 1.62rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  text-shadow:
    0 0 9px rgba(216, 179, 80, 0.5),
    0 0 24px rgba(216, 179, 80, 0.22);
  filter: drop-shadow(0 0 7px rgba(216, 179, 80, 0.22));
  will-change: transform, opacity;
}

.panel-float-1 { left: 10%; top: 18%; }
.panel-float-2 { left: 27%; top: 12%; }
.panel-float-3 { left: 48%; top: 18%; }
.panel-float-4 { left: 72%; top: 13%; }
.panel-float-5 { left: 89%; top: 26%; }
.panel-float-6 { left: 14%; top: 63%; }
.panel-float-7 { left: 34%; top: 78%; }
.panel-float-8 { left: 58%; top: 68%; }
.panel-float-9 { left: 78%; top: 76%; }
.panel-float-10 { left: 92%; top: 58%; }
.panel-float-11 { left: 20%; top: 35%; }
.panel-float-12 { left: 66%; top: 38%; }

#lookup .lookup-falling-cards {
  display: none;
}

#lookup .kp-inner {
  width: min(980px, calc(100vw - 7rem));
  gap: clamp(0.8rem, 1.5vh, 1.15rem);
}

#lookup .lookup-lead-tight {
  max-width: 78ch;
  line-height: 1.34;
}

#lookup .kp-insight-ribbon span,
#readings .kp-reading-points span {
  color: rgba(255, 248, 237, 0.74);
  border-color: rgba(216, 179, 80, 0.34);
  background: rgba(255, 248, 237, 0.055);
  backdrop-filter: blur(8px);
}

#lookup .lookup-form-wrap {
  margin-top: 0.15rem;
}

#lookup .lookup-form-intro {
  color: rgba(255, 248, 237, 0.72);
  font-size: clamp(1.02rem, 1.14vw, 1.18rem);
}

#lookup .kp-lookup-frame {
  width: min(46rem, 100%);
  min-height: clamp(310px, 43vh, 430px);
  padding: clamp(2rem, 4vh, 3rem) clamp(2rem, 4vw, 3.4rem);
  border-color: rgba(216, 179, 80, 0.44);
  border-radius: 22px;
  background:
    linear-gradient(150deg, rgba(255, 248, 225, 0.18), rgba(126, 44, 42, 0.28) 35%, rgba(26, 6, 9, 0.96) 78%),
    radial-gradient(circle at 28% 18%, rgba(255, 230, 165, 0.17), transparent 34%),
    rgba(30, 7, 10, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 210, 0.18),
    inset 0 0 0 8px rgba(255, 244, 210, 0.025),
    0 28px 80px rgba(0, 0, 0, 0.48);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#lookup .kp-lookup-frame:hover {
  transform: translateY(-8px) scale(1.025);
  border-color: rgba(216, 179, 80, 0.85);
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 210, 0.3),
    inset 0 0 0 8px rgba(216, 179, 80, 0.08),
    0 25px 60px rgba(216, 179, 80, 0.18),
    0 40px 90px rgba(0, 0, 0, 0.65);
}

#lookup .kp-lookup-frame::after {
  color: rgba(216, 179, 80, 0.05);
}

#lookup .kp-corner-pip,
#lookup .kp-field label {
  color: #d8b350 !important;
}

#lookup .kp-field input,
#lookup .kp-field select {
  border-color: rgba(216, 179, 80, 0.36);
  background: rgba(255, 248, 237, 0.12);
  color: #fff8ed;
}

#lookup .kp-field select option {
  background-color: #220408;
  color: #fff8ed;
}

#lookup .kp-field input::placeholder {
  color: rgba(255, 248, 237, 0.48);
}

#lookup .kp-cta-birth-card {
  align-self: center;
}

#lookup .kp-note,
#courses .kp-footnote {
  display: none !important;
}

#readings .paula-card-face,
#readings .kp-offer-card,
#readings .panel-cards-row .rel-card,
#courses .kp-offer-card,
#courses .kp-cards-row .rel-card,
#book .book-card-large,
#book .panel-card-single .rel-card,
#store .store-item-card {
  border-color: rgba(216, 179, 80, 0.42) !important;
  background:
    linear-gradient(150deg, rgba(255, 248, 225, 0.2), rgba(126, 44, 42, 0.3) 36%, rgba(26, 6, 9, 0.96) 78%),
    radial-gradient(circle at 28% 18%, rgba(255, 230, 165, 0.18), transparent 34%),
    rgba(30, 7, 10, 0.96) !important;
  color: #fff8ed !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 210, 0.17),
    inset 0 0 0 8px rgba(255, 244, 210, 0.028),
    0 26px 78px rgba(0, 0, 0, 0.48) !important;
}

#readings .kp-card-name,
#readings .rel-card-name,
#courses .kp-card-name,
#courses .rel-card-name,
#book .kp-card-name,
#book .rel-card-name,
#store .store-item-name {
  color: #fff8ed !important;
}

#readings .kp-card-desc,
#readings .rel-card-desc,
#courses .kp-card-desc,
#courses .rel-card-desc,
#book .kp-card-desc,
#book .rel-card-desc,
#store .store-item-desc {
  color: rgba(255, 248, 237, 0.72) !important;
}

#readings .kp-card-price,
#readings .rel-card-price,
#courses .kp-card-price,
#courses .rel-card-price,
#book .kp-card-price,
#book .rel-card-price,
#store .store-item-price {
  color: #d8b350 !important;
}

#readings .kp-card-cta,
#courses .kp-card-cta,
#book .kp-card-cta,
#store .store-item-buy,
#courses a.rel-card-cta,
#book a.rel-card-cta {
  border: 1px solid rgba(216, 179, 80, 0.48);
  background: rgba(93, 54, 13, 0.72);
  color: #f8e9bc !important;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 244, 210, 0.08);
}

#readings .kp-card-cta:hover,
#courses .kp-card-cta:hover,
#book .kp-card-cta:hover,
#store .store-item-buy:hover,
#courses a.rel-card-cta:hover,
#book a.rel-card-cta:hover {
  background: rgba(216, 179, 80, 0.22) !important;
  color: #fff8ed !important;
  border-color: #d8b350 !important;
  box-shadow: 0 0 8px rgba(216, 179, 80, 0.2) !important;
}

#readings .kp-card-corner,
#readings .kp-card-suit-center,
#readings .rel-corner-suit,
#readings .rel-corner-price,
#readings .rel-suit-symbol,
#courses .kp-card-corner,
#courses .kp-card-suit-center,
#courses .rel-corner-suit,
#courses .rel-corner-price,
#courses .rel-suit-symbol,
#book .kp-card-corner,
#book .kp-card-suit-center,
#book .rel-corner-suit,
#book .rel-corner-price,
#book .rel-suit-symbol,
#store .kp-card-corner,
#store .kp-card-suit-center,
#store .rel-corner-suit,
#store .rel-corner-price,
#store .rel-suit-symbol {
  color: #d8b350 !important;
}

#courses .kp-stack {
  gap: clamp(0.75rem, 1.15vh, 1rem);
}

#courses .courses-lead-wide {
  max-width: min(980px, 82vw);
  text-align: center;
  line-height: 1.38;
}

#courses .kp-cards-row {
  width: min(1180px, 100%);
  gap: clamp(1rem, 1.7vw, 1.45rem);
}

#courses .kp-offer-card,
#courses .kp-cards-row .rel-card {
  width: clamp(280px, 25vw, 360px) !important;
  flex-basis: clamp(280px, 25vw, 360px) !important;
  min-height: clamp(390px, 48vh, 520px) !important;
}

#book .book-inner {
  width: min(1180px, calc(100vw - 7rem)) !important;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr) !important;
}

#book .book-inner > .kp-col {
  align-items: center;
  text-align: center;
}

#book .kp-body,
#book .kp-lead {
  font-size: clamp(1.05rem, 1.18vw, 1.2rem);
  line-height: 1.48;
  margin-inline: auto;
  text-align: center;
  text-wrap: pretty;
}

#book .book-card-large,
#book .panel-card-single .rel-card {
  width: clamp(330px, 29vw, 430px) !important;
  flex-basis: clamp(330px, 29vw, 430px) !important;
  min-height: clamp(470px, 61vh, 630px) !important;
}

#store .store-inner {
  align-items: center;
  text-align: center;
  width: min(1280px, calc(100vw - 7rem));
  gap: clamp(0.55rem, 1vh, 0.85rem);
}

#store .kp-h1 {
  font-size: clamp(4.4rem, 7.2vw, 7.6rem);
  line-height: 0.9;
  color: #d8b350 !important;
}

#store .store-lead-line {
  max-width: none !important;
  white-space: normal !important;
}

#store .store-tab-bar {
  justify-content: center;
  margin: 0.25rem 0 0.55rem;
}

#store .store-tab {
  border-color: rgba(216, 179, 80, 0.35);
  color: #f8e9bc;
  background: rgba(255, 248, 237, 0.06);
}

#store .store-tab.active,
#store .store-tab:hover {
  background: rgba(216, 179, 80, 0.22);
  color: #fff8ed;
}

#store .store-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: clamp(1rem, 1.6vw, 1.4rem) !important;
  width: 100% !important;
  max-width: 1180px !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  padding: 0.4rem 0.3rem 1rem !important;
}

#store .store-item-card {
  flex: none !important;
  width: auto !important;
  scroll-snap-align: none !important;
  text-align: left !important;
}

@media (max-width: 1200px) {
  #store .store-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 900px) {
  #store .store-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  #store .store-grid {
    grid-template-columns: 1fr !important;
  }
}

#store .store-item-cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(216, 179, 80, 0.28);
  margin-bottom: 1rem;
  box-shadow: inset 0 0 0 1px rgba(255, 248, 237, 0.12);
}

#store .store-empty-state {
  width: min(620px, 100%);
  margin: 0 auto;
  padding: clamp(2.2rem, 5vw, 4rem);
  border: 1px solid rgba(216, 179, 80, 0.34);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 179, 80, 0.13), transparent 36%),
    rgba(255, 248, 237, 0.055);
  color: rgba(255, 248, 237, 0.76);
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  line-height: 1.45;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 244, 210, 0.06);
}

#store .store-empty-state b {
  display: block;
  margin-bottom: 0.45rem;
  color: #d8b350;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.55rem, 2.6vw, 2.4rem);
  line-height: 1;
}

#about .about-inner,
#contact .kp-inner,
#legal .kp-inner {
  justify-items: center;
  text-align: center;
  width: min(980px, calc(100vw - 7rem));
}

#about .kp-col {
  align-items: center;
  text-align: center;
}

#about .kp-h1,
#contact .kp-h1,
#legal .kp-h1 {
  font-size: clamp(4.4rem, 7vw, 7.4rem);
}

#about .kp-lead,
#about .kp-body,
#contact .kp-lead,
#contact .kp-body,
#legal .kp-legal-body {
  max-width: 70ch;
  font-size: clamp(1.08rem, 1.25vw, 1.25rem);
}

#about .kp-about-cards {
  width: min(760px, 100%);
}

#about .kp-about-cards article,
#about .kp-launch-card,
#contact .kp-contact-block,
#legal .kp-legal-body {
  border: 1px solid rgba(216, 179, 80, 0.34);
  background: rgba(255, 248, 237, 0.055);
  box-shadow: inset 0 0 0 1px rgba(255, 244, 210, 0.06);
  backdrop-filter: blur(8px);
}

#about .kp-about-cards b,
#contact .kp-contact-line {
  color: #d8b350 !important;
}

#journal .kp-stack {
  justify-items: center;
  text-align: center;
  width: min(1160px, calc(100vw - 7rem));
}

/* ── Horizontal scroll journal track ───────────────── */
.kp-journal-scroll {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.kp-journal-track {
  display: flex;
  gap: clamp(1rem, 1.6vw, 1.4rem);
  padding: 0.4rem 0.2rem 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(216, 179, 80, 0.35) transparent;
}

.kp-journal-track::-webkit-scrollbar {
  height: 4px;
}
.kp-journal-track::-webkit-scrollbar-thumb {
  background: rgba(216, 179, 80, 0.4);
  border-radius: 2px;
}

/* ── Journal card (horizontal) ─────────────────────── */
.kp-jcard {
  flex: 0 0 clamp(220px, 28vw, 300px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(11rem, 28vh, 17rem);
  padding: 1.4rem 1.25rem 1.1rem;
  border-radius: 0.7rem;
  background:
    linear-gradient(165deg, rgba(255, 248, 225, 0.18), rgba(126, 44, 42, 0.3) 36%, rgba(18, 3, 7, 0.97) 78%);
  border: 1px solid rgba(216, 179, 80, 0.38);
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 210, 0.1),
    0 0.6rem 1.6rem rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform 240ms cubic-bezier(0.22, 0.75, 0.19, 1),
              box-shadow 240ms ease;
  text-align: left;
}

.kp-jcard:hover,
.kp-jcard:focus-visible {
  transform: translateY(-5px) scale(1.015);
  box-shadow:
    inset 0 0 0 1px rgba(216, 179, 80, 0.38),
    0 1.2rem 2.8rem rgba(0, 0, 0, 0.38);
  outline: none;
}

.kp-jcard .jcard-cat {
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  color: #d8b350;
  font-size: clamp(0.68rem, 0.76vw, 0.76rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.kp-jcard .jcard-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: #fff8ed;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.18;
  margin: 0 0 0.55rem;
}

.kp-jcard .jcard-excerpt {
  color: rgba(255, 248, 237, 0.6);
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(0.85rem, 0.95vw, 0.95rem);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kp-journal-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8rem;
  color: rgba(255, 248, 237, 0.45);
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  width: 100%;
}

/* ── Blog modal ────────────────────────────────────── */
.blog-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: rgba(14, 2, 4, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow-y: auto;
}

.blog-modal-container {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  width: min(1100px, 98vw);
  max-height: 92dvh;
  align-items: stretch;
  justify-content: center;
}

.blog-modal-box {
  position: relative;
  flex: 1.8;
  border-radius: 1.2rem;
  border: 1px solid rgba(216, 179, 80, 0.38);
  background:
    linear-gradient(155deg, rgba(255, 248, 225, 0.12), rgba(126, 44, 42, 0.22) 32%, rgba(20, 4, 8, 0.98) 70%),
    rgba(22, 4, 8, 0.98);
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 210, 0.12),
    0 40px 100px rgba(0, 0, 0, 0.6);
  color: #fff8ed;
  max-height: 92dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-comments-box {
  position: relative;
  flex: 1;
  border-radius: 1.2rem;
  border: 1px solid rgba(216, 179, 80, 0.38);
  background:
    linear-gradient(155deg, rgba(255, 248, 225, 0.08), rgba(126, 44, 42, 0.15) 32%, rgba(20, 4, 8, 0.98) 70%),
    rgba(18, 3, 6, 0.98);
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 210, 0.08),
    0 40px 100px rgba(0, 0, 0, 0.6);
  color: #fff8ed;
  max-height: 92dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .blog-modal-container {
    flex-direction: column;
    max-height: none;
    height: auto;
    width: 100%;
    gap: 1.2rem;
  }
  .blog-modal-box,
  .blog-comments-box {
    width: 100%;
    flex: none;
    max-height: none;
    overflow: visible;
  }
  .blog-modal-inner,
  .blog-comments-inner {
    overflow-y: visible;
    max-height: none;
    padding: 1.5rem 1.2rem;
  }
}

.blog-modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(216, 179, 80, 0.38);
  border-radius: 50%;
  background: rgba(22, 4, 8, 0.85);
  color: #f8e9bc;
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 160ms ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.blog-modal-close:hover {
  background: rgba(255, 248, 237, 0.18);
  transform: scale(1.05);
}

.blog-modal-inner {
  padding: clamp(1.5rem, 4vw, 2.8rem) clamp(1.5rem, 4vw, 2.8rem) 2.4rem;
  clear: both;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(216, 179, 80, 0.28) transparent;
}

.blog-modal-cat {
  display: block;
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  color: #d8b350;
  font-size: clamp(0.7rem, 0.78vw, 0.8rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.blog-modal-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: #fff8ed;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.blog-modal-rule {
  width: 3rem;
  height: 1px;
  background: rgba(216, 179, 80, 0.5);
  margin: 0 0 1.6rem;
}

.blog-modal-body {
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  line-height: 1.72;
  color: rgba(255, 248, 237, 0.85);
}

.blog-modal-body,
.blog-modal-body * {
  color: #fff8ed !important;
}

.blog-modal-body a,
.blog-modal-body a * {
  color: #d8b350 !important;
  text-decoration: underline;
}

.blog-modal-body p {
  margin-bottom: 1.1em;
}
.blog-modal-body p:last-child {
  margin-bottom: 0;
}

/* Comments inside modal */
.blog-comments-inner {
  padding: clamp(1.5rem, 4vw, 2.4rem);
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(216, 179, 80, 0.28) transparent;
}

.blog-comments-heading {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  color: #fff8ed;
  margin-bottom: 1.2rem;
  letter-spacing: 0.02em;
}

.blog-comment-item {
  margin-bottom: 1.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(216, 179, 80, 0.12);
}
.blog-comment-item:last-of-type {
  border-bottom: none;
}

.blog-comment-author {
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  color: #d8b350;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.blog-comment-text {
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.6;
  color: rgba(255, 248, 237, 0.75);
}

.blog-no-comments {
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  color: rgba(255, 248, 237, 0.38);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

/* Comment form */
.blog-comment-form {
  margin-top: 1.4rem;
}

.blog-comment-fields {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
}

.blog-comment-fields input,
.blog-comment-fields textarea {
  width: 100%;
  background: rgba(255, 248, 237, 0.07);
  border: 1px solid rgba(216, 179, 80, 0.28);
  border-radius: 0.45rem;
  padding: 0.7rem 0.9rem;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1rem;
  color: #fff8ed;
  outline: none;
  resize: vertical;
  transition: border-color 160ms ease;
}
.blog-comment-fields input::placeholder,
.blog-comment-fields textarea::placeholder {
  color: rgba(255, 248, 237, 0.35);
}
.blog-comment-fields input:focus,
.blog-comment-fields textarea:focus {
  border-color: rgba(216, 179, 80, 0.6);
}

.blog-comment-submit {
  padding: 0.65rem 1.6rem;
  border: 1px solid rgba(216, 179, 80, 0.5);
  border-radius: 0.45rem;
  background: rgba(216, 179, 80, 0.15);
  color: #d8b350;
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.blog-comment-submit:hover {
  background: rgba(216, 179, 80, 0.3);
  color: #f8e9bc;
}

.blog-comment-msg {
  margin-top: 0.7rem;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 0.95rem;
  color: rgba(255, 248, 237, 0.6);
  min-height: 1.2em;
}

#videos .kp-inner {
  text-align: center;
}

#videos .kp-video-tile {
  border-color: rgba(216, 179, 80, 0.36);
  background: rgba(255, 248, 237, 0.09);
  backdrop-filter: blur(8px);
}

#videos .kp-video-tile .play,
#videos .kp-video-tile .label {
  color: #f8e9bc !important;
}

@media (max-width: 1180px) {
  #store .store-lead-line {
    white-space: normal;
  }
}

@media (max-width: 1120px) {
  .admin-metrics,
  .admin-dashboard {
    grid-template-columns: 1fr 1fr;
  }

  .admin-product-form,
  .admin-products {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .admin-page {
    width: min(100% - 1.2rem, 680px) !important;
  }

  .admin-metrics,
  .admin-dashboard,
  .admin-fields,
  .admin-mini-form,
  .admin-flow-grid {
    grid-template-columns: 1fr !important;
  }

  .admin-product-row {
    grid-template-columns: 1fr !important;
  }

  .admin-product-thumb,
  .admin-product-row aside {
    width: 100%;
    min-width: 0;
    justify-items: start;
  }
}

/* ── Service panel card system ──────────────────────────────────────────── */

/* BEM corner position aliases used by makeSvcRelCard */
.rel-card-corner--tl { top: 0.4rem; left: 0.5rem; }
.rel-card-corner--br { right: 0.5rem; bottom: 0.4rem; transform: rotate(180deg); }

/* Corner pip children */
.rel-corner-suit {
  display: block;
  color: #5c1a1a;
  font-family: Georgia, serif;
  font-size: 0.72rem;
  line-height: 1.25;
}

.rel-corner-price {
  display: block;
  color: #5c1a1a;
  font-family: Georgia, serif;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

/* Centre suit glyph */
.rel-suit-symbol {
  color: #5c1a1a;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1;
  margin-bottom: 0.3rem;
}

/* Anchor-as-button CTA (mailto links) */
a.rel-card-cta {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

/* Multi-card flex row (readings, courses) */
.panel-cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  max-width: 960px;
  margin: 2rem auto 0;
  padding: 0 1rem;
}

/* Single-card centred column (book, lookup) */
.panel-card-single {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin-top: 1.5rem;
}

/* Card sizing within panel containers — overrides the flex:1/height:100% from .rel-cards-row context */
.panel-cards-row .rel-card,
.panel-card-single .rel-card {
  flex: 0 0 260px;
  width: 260px;
  min-width: 260px;
  height: auto;
  min-height: 380px;
  background: #fffdf7;
  border: 1px solid #e0d8c8;
}

.panel-card-single .rel-card {
  flex-basis: 320px;
  width: 320px;
  max-width: 320px;
}

/* Courses: allow rel-cards to wrap nicely */
#courses .kp-cards-row {
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

#courses .kp-cards-row .rel-card {
  flex: 0 0 260px;
  width: 260px;
  min-width: 260px;
  height: auto;
  min-height: 380px;
  background: #fffdf7;
  border: 1px solid #e0d8c8;
}

/* Panel header (decorative watermark + divider) */
.panel-header {
  position: relative;
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 0.5rem 0;
}

.panel-suit-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 80px;
  color: #c9a84c;
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.panel-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem auto 1.5rem;
  max-width: 320px;
}

.panel-divider::before,
.panel-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #c9a84c;
}

.panel-divider-pip {
  color: #c9a84c;
  font-size: 0.7rem;
}

/* ===== RELATIONSHIPS PANEL — CLEAN BUILD ===== */

#relationships {
  position: relative;
  background: #1a0608;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#relationships::after {
  left: clamp(26px, 5vw, 88px);
  right: auto;
  bottom: clamp(18px, 4vh, 52px);
  font-size: clamp(8rem, 18vw, 13rem);
  color: rgba(92, 26, 26, 0.12);
  opacity: 0.7;
  transform: rotate(-9deg);
}

#relationships .rel-bg-glow {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%,
      #3d0f1a 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 90%,
      #2a0a10 0%, transparent 55%);
  opacity: 0.5;
}

#relationships .rel-bg-art {
  position: absolute !important;
  left: clamp(-150px, -6vw, -58px);
  bottom: clamp(8px, 3vh, 38px);
  z-index: 0 !important;
  width: clamp(190px, 24vw, 380px);
  aspect-ratio: 1.12;
  pointer-events: none;
  opacity: 0.24;
  transform: rotate(-8deg);
  filter: blur(0.2px) drop-shadow(0 24px 54px rgba(0, 0, 0, 0.34));
}

#relationships .rel-bg-art::before {
  content: "♥";
  position: absolute;
  inset: 8% 10% 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 42% 42% 48% 48%;
  background:
    radial-gradient(circle at 50% 42%, rgba(144, 45, 45, 0.8), rgba(92, 16, 21, 0.28) 48%, transparent 70%),
    repeating-radial-gradient(circle at 50% 47%, rgba(201, 168, 76, 0.16) 0 1px, transparent 1px 13px);
  color: rgba(201, 168, 76, 0.24);
  font-family: Georgia, serif;
  font-size: clamp(92px, 13vw, 210px);
  line-height: 1;
}

#relationships .rel-bg-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 50%, transparent 48%, rgba(201, 168, 76, 0.32) 49%, transparent 53%),
    radial-gradient(ellipse at 72% 44%, transparent 45%, rgba(201, 168, 76, 0.24) 46%, transparent 51%);
  mix-blend-mode: screen;
}

#relationships .panel-illustration {
  left: clamp(-190px, -7vw, -82px) !important;
  right: auto !important;
  top: auto !important;
  bottom: clamp(18px, 4vh, 46px) !important;
  width: clamp(280px, 33vw, 520px) !important;
  height: auto !important;
  opacity: 0.3 !important;
  transform: none !important;
  translate: none !important;
  filter: saturate(0.86) brightness(0.72) drop-shadow(0 26px 58px rgba(0, 0, 0, 0.35));
}

#relationships .panel-illustration img {
  width: 100%;
  height: auto;
}

#relationships .rel-gold-rain {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none;
  overflow: hidden;
}

.rel-gold-drop {
  position: absolute;
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
  color: rgba(216, 179, 80, 0.82);
  font: 700 clamp(14px, 1.35vw, 18px)/1 Georgia, serif;
  opacity: 0;
  pointer-events: none;
  box-shadow: none;
  text-shadow:
    0 0 9px rgba(216, 179, 80, 0.52),
    0 0 20px rgba(216, 179, 80, 0.22);
  will-change: transform, opacity;
}

#relationships .rel-stack {
  position: relative;
  z-index: 3 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  max-width: 100vw;
  height: 100%;
  padding: 96px 48px 30px;
  gap: 22px;
  box-sizing: border-box;
  overflow: hidden;
}

#relationships .rel-stack-header {
  text-align: center;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

#relationships .rel-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c9a84c;
  margin: 0;
}

#relationships .rel-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4.2vw, 52px);
  color: #f5f0e8;
  line-height: 1.15;
  margin: 0;
}

#relationships .rel-headline em {
  color: #c9a84c;
  font-style: italic;
}

#relationships .rel-rule {
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, transparent, #c9a84c, transparent);
  margin: 2px 0;
}

#relationships .rel-body {
  font-family: 'EB Garamond', serif;
  font-size: clamp(17px, 1.08vw, 19px);
  color: rgba(245,240,232,0.65);
  line-height: 1.64;
  max-width: 680px;
  margin: 0;
}

#relationships .rel-pills-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2px;
}

#relationships .rel-pill-inline {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'EB Garamond', serif;
  font-size: 13px;
  color: rgba(245,240,232,0.55);
  white-space: nowrap;
}

#relationships .rel-pill-inline strong {
  color: #c9a84c;
  font-weight: 600;
}

#relationships .rel-pill-icon {
  color: #c9a84c;
  font-size: 10px;
}

#relationships .rel-cards-row {
  display: flex;
  gap: clamp(18px, 2vw, 30px);
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  max-height: 480px;
  perspective: 1200px;
}

#relationships .rel-cards-row.single-card {
  justify-content: center !important;
}

#relationships .rel-cards-row.single-card .rel-card {
  margin: 0 auto !important;
}

#relationships .rel-card {
  flex: 0 0 clamp(310px, 18vw, 350px) !important;
  width: clamp(310px, 18vw, 350px) !important;
  height: 100% !important;
  max-height: 460px !important;
  min-height: 350px !important;
  padding: 32px 30px 24px !important;
  box-sizing: border-box !important;
  border-radius: 22px !important;
  background:
    linear-gradient(150deg, rgba(255, 248, 225, 0.2), rgba(126, 44, 42, 0.32) 34%, rgba(26, 6, 9, 0.96) 76%),
    radial-gradient(circle at 28% 18%, rgba(255, 230, 165, 0.2), transparent 33%),
    rgba(30, 7, 10, 0.96) !important;
  border: 1px solid rgba(231, 196, 121, 0.38) !important;
  color: #f5f0e8 !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 210, 0.18),
    inset 0 0 0 8px rgba(255, 244, 210, 0.025),
    inset 0 22px 44px rgba(255, 246, 220, 0.08),
    0 2px 5px rgba(0,0,0,0.38),
    0 24px 70px rgba(0,0,0,0.46) !important;
  backdrop-filter: blur(7px) saturate(1.05);
  -webkit-backdrop-filter: blur(7px) saturate(1.05);
  transform-style: preserve-3d;
  transition:
    transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 360ms ease,
    border-color 360ms ease,
    background 360ms ease;
}

#relationships .rel-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 0;
  border: 1px solid rgba(232, 196, 100, 0.2);
  border-radius: 16px;
  pointer-events: none;
}

#relationships .rel-card::after {
  content: none;
}

#relationships .rel-card.is-hovered {
  border-color: rgba(232,196,100,0.7) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 210, 0.26),
    inset 0 0 0 8px rgba(255, 244, 210, 0.035),
    0 5px 14px rgba(0,0,0,0.42),
    0 34px 88px rgba(0,0,0,0.55),
    0 0 34px rgba(201,168,76,0.13) !important;
}

#relationships .rel-card-corner.tl,
#relationships .rel-card-corner.br {
  z-index: 2;
  width: 34px;
  min-height: 48px;
  gap: 0;
  color: rgba(255, 241, 207, 0.96);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

#relationships .rel-card-corner.tl {
  top: 24px;
  left: 24px;
  align-items: flex-start;
}

#relationships .rel-card-corner.br {
  right: 24px;
  bottom: 20px;
  align-items: flex-end;
  transform: rotate(180deg);
}

#relationships .rel-suit,
#relationships .rel-abbr {
  display: block;
  font-family: Georgia, serif;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

#relationships .rel-suit {
  font-size: 16px;
}

#relationships .rel-abbr {
  font-size: 15px;
  text-transform: uppercase;
}

#relationships .rel-card-body {
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
  justify-content: flex-start;
  gap: 14px;
  padding: 0 12px;
}

#relationships .rel-card-suit {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 246, 224, 0.9);
  font-size: 14px;
  line-height: 1;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.42);
}

#relationships .rel-card-name {
  font-family: 'Playfair Display', serif !important;
  min-height: 50px;
  margin: 50px 0 0 !important;
  font-size: clamp(20px, 1.4vw, 25px) !important;
  color: #f5f0e8 !important;
  line-height: 1.05 !important;
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
}

#relationships .rel-card-desc {
  font-family: 'EB Garamond', serif !important;
  flex: 0 1 auto;
  max-width: 26ch;
  margin: 0 auto !important;
  font-size: clamp(13px, 0.86vw, 15px) !important;
  color: rgba(255,246,224,0.74) !important;
  line-height: 1.42 !important;
  text-wrap: pretty;
}

#relationships .rel-suit-symbol {
  display: none !important;
}

#relationships .rel-suit,
#relationships .rel-abbr,
#relationships .rel-corner-suit,
#relationships .rel-corner-price {
  color: #c9a84c !important;
  text-shadow: 0 0 8px rgba(201,168,76,0.6) !important;
}

#relationships .rel-card-price {
  margin-top: auto !important;
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(27px, 2vw, 34px) !important;
  color: #d8b350 !important;
  text-shadow: 0 2px 18px rgba(201,168,76,0.32) !important;
}

#relationships .rel-card-cta,
#relationships a.rel-card-cta {
  background: rgba(201,168,76,0.15) !important;
  color: #c9a84c !important;
  border: 1px solid rgba(201,168,76,0.3) !important;
  border-radius: 999px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  padding: 12px 18px !important;
  min-width: 76px;
  text-align: center !important;
  text-decoration: none !important;
  display: inline-block !important;
  align-self: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 10px 24px rgba(0,0,0,0.22);
  transition: all 200ms ease !important;
}

#relationships .rel-card-cta:hover,
#relationships a.rel-card-cta:hover {
  background: rgba(201, 168, 76, 0.3) !important;
  color: #fff8ed !important;
  border-color: #d8b350 !important;
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.25) !important;
}

@media (max-width: 1100px) {
  #relationships .rel-card {
    flex: 0 0 220px !important;
    width: 220px !important;
  }
  #relationships .rel-cards-row {
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .panel-floaters,
  #relationships .rel-gold-rain {
    opacity: 0.72;
  }

  .panel-float {
    font-size: clamp(0.78rem, 3.2vw, 1.08rem);
    text-shadow:
      0 0 6px rgba(216, 179, 80, 0.4),
      0 0 14px rgba(216, 179, 80, 0.16);
  }

  .panel-float-3,
  .panel-float-5,
  .panel-float-9,
  .panel-float-12,
  #relationships .rel-gold-drop:nth-child(n + 9) {
    display: none;
  }

  #relationships .rel-stack {
    padding-inline: clamp(1rem, 5vw, 2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .panel-float,
  .rel-gold-drop,
  .rel-card,
  .kp-offer-card,
  .store-item-card,
  .kp-lookup-frame {
    animation: none !important;
    transition-duration: 120ms !important;
    transform: none !important;
    will-change: auto !important;
  }
}

/* ── Videos Panel ─────────────────────────────────────────── */
#videos {
  position: relative;
  background: #06080a;
  overflow: hidden;
}

#videos .vid-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 50% at 50% 0%, #1a0a14 0%, transparent 55%),
    radial-gradient(ellipse 80% 40% at 0% 100%, #0a0a1a 0%, transparent 50%),
    radial-gradient(ellipse 60% 30% at 100% 50%, #1a0a0a 0%, transparent 45%);
}

#videos .vid-atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

#videos .vid-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 88px 64px 32px;
  box-sizing: border-box;
  gap: 24px;
}

#videos .vid-header {
  flex: 0 0 auto;
  text-align: center;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 20px 40px;
  margin-bottom: 4px;
}

#videos .vid-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 8px;
}

#videos .vid-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  color: #f5f0e8;
  line-height: 1.15;
  margin: 0 0 10px;
}

#videos .vid-headline em {
  color: #c9a84c;
  font-style: italic;
}

#videos .vid-subtitle {
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  color: rgba(245,240,232,0.5);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
}

#videos .vid-grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,0.2) transparent;
  align-content: start;
}

#videos .vid-grid::-webkit-scrollbar {
  width: 3px;
}
#videos .vid-grid::-webkit-scrollbar-thumb {
  background: rgba(201,168,76,0.2);
  border-radius: 2px;
}

#videos .vid-card {
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#videos .vid-card:hover {
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-3px);
  background: rgba(255,255,255,0.08);
}

#videos .vid-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #1a0a0a;
}

#videos .vid-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

#videos .vid-card:hover .vid-thumb {
  transform: scale(1.04);
}

#videos .vid-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.2s;
}

#videos .vid-card:hover .vid-play-overlay {
  opacity: 1;
}

#videos .vid-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(201,168,76,0.9);
  color: #1a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  padding-left: 4px;
}

#videos .vid-card-body {
  padding: 10px 12px 12px;
  background: linear-gradient(to bottom, rgba(10,4,4,0.7), rgba(10,4,4,0.92));
}

#videos .vid-card-title {
  font-family: 'EB Garamond', serif;
  font-size: 13px;
  color: rgba(245,240,232,0.9);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

#videos .vid-empty {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  color: rgba(245,240,232,0.4);
  text-align: center;
  width: 100%;
}

/* ── Video Modal Player ───────────────────────────────────── */
.vid-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: vidModalFadeIn 0.25s ease;
}

@keyframes vidModalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.vid-modal-box {
  position: relative;
  width: min(860px, 90vw);
  background: #0d0a0a;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.7);
  animation: vidModalSlideUp 0.3s ease;
}

@keyframes vidModalSlideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.vid-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 10;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  color: #f5f0e8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.vid-modal-close:hover {
  background: rgba(92,26,26,0.8);
}

.vid-modal-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.vid-modal-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vid-modal-title {
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  color: rgba(245,240,232,0.75);
  text-align: center;
  padding: 14px 24px;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Redesigned Journal Grid ── */
.kp-journal-grid-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  margin-top: 1.5rem;
}

.kp-journal-new-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 1.6vw, 1.4rem);
  width: 100%;
}

.kp-journal-new-grid .kp-jcard {
  flex: none;
  scroll-snap-align: none;
  width: 100%;
}

@media (max-width: 1100px) {
  .kp-journal-new-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .kp-journal-new-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .kp-journal-new-grid {
    grid-template-columns: 1fr;
  }
}

/* See More Button */
.blog-see-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2.2rem;
  border: 1px solid rgba(216, 179, 80, 0.45);
  border-radius: 2rem;
  background: rgba(255, 248, 237, 0.05);
  color: #d8b350;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 200ms ease;
  z-index: 5;
}

.blog-see-more-btn:hover {
  background: rgba(216, 179, 80, 0.15);
  color: #fff8ed;
  border-color: #d8b350;
  box-shadow: 0 0 12px rgba(216, 179, 80, 0.25);
}

body.modal-open {
  overflow: hidden !important;
}

.archive-modal-box {
  width: min(1000px, 96vw) !important;
}

/* ===== CHECKOUT STORE PRODUCT VIEW ===== */
.store-product-details-left {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.5rem 0;
  text-align: left;
}

.checkout-product-cover {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(216, 179, 80, 0.28);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  margin-bottom: 0.5rem;
}

.checkout-product-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3.2vw, 3.8rem);
  line-height: 1.1;
  color: #d8b350;
  margin: 0;
}

.checkout-product-desc {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.5;
  color: #f5f0e8;
  opacity: 0.88;
  margin: 0;
}

.checkout-product-price {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
  color: #fff8ed;
  font-weight: 700;
}

.store-right-form-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

/* ===== GLOWING SUIT PARTICLES (site-wide) ===== */
.suit-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.suit-particle {
  position: absolute;
  line-height: 1;
  color: #c9a84c;
  opacity: 0;
  will-change: opacity, transform;
  user-select: none;
  filter: drop-shadow(0 0 6px rgba(201,168,76,0.55))
          drop-shadow(0 0 16px rgba(201,168,76,0.25));
  transition: none;
}

/* Light-background panels get a softer burgundy glow 
   so gold doesn't wash out on parchment */
.suit-particles--light .suit-particle {
  color: #5c1a1a;
  filter: drop-shadow(0 0 6px rgba(201,168,76,0.5))
          drop-shadow(0 0 14px rgba(92,26,26,0.2));
}
