/* ============================================================
   Jen Hilman — Body Map
   Palette and type lifted from jenhilman.com (sampled 2026-09-12):
     teal   #015761   deep teal #1A5663
     cream  #FFF1DB   sand      #F9D195
     gold   #EBC653   amber     #C78725
     sage   #A9BF9A   olive     #707F6A
     ink    #242323
   Type: Avenir Light (body, wide tracking on labels),
         Roboto Bold (display), Cookie (script accent).
   ============================================================ */

:root {
  --teal: #015761;
  --teal-deep: #013f47;
  --teal-soft: #1A5663;
  --cream: #FFF1DB;
  --cream-dim: #F6E4C9;
  --sand: #F9D195;
  --gold: #EBC653;
  --amber: #C78725;
  --sage: #A9BF9A;
  --olive: #707F6A;
  --ink: #242323;

  --paper: var(--cream);
  --text: var(--ink);
  --muted: #6b6560;
  --line: rgba(1, 87, 97, .16);
  --card: #fffaf1;
  --shadow: 0 2px 10px rgba(1, 63, 71, .06), 0 12px 40px rgba(1, 63, 71, .07);
  --shadow-lift: 0 4px 16px rgba(1, 63, 71, .10), 0 22px 60px rgba(1, 63, 71, .13);

  --serif: "Cookie", "Snell Roundhand", cursive;
  --display: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --serif-d: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --body: "Avenir Next", "Avenir", "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  --ease: cubic-bezier(.22, .68, .36, 1);
  --ease-soft: cubic-bezier(.38, .01, .18, 1);
  --r: 16px;
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -.015em; }

.script {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: .01em;
  line-height: .9;
}

.eyebrow {
  font-size: 14.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 500;
}

a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------------- top bar ---------------- */

.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(1, 87, 97, .96);
  backdrop-filter: blur(14px);
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 241, 219, .12);
}
.topbar .wrap { display: flex; align-items: center; gap: 26px; height: 62px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 20.5px; letter-spacing: .01em; }
.brand span { color: var(--gold); font-family: var(--serif); font-size: 26px; font-weight: 400; margin-left: 4px; }
.topnav { margin-left: auto; display: flex; gap: 24px; }
.topnav a {
  text-decoration: none; font-size: 15px; letter-spacing: .16em; text-transform: uppercase;
  opacity: .82; transition: opacity .25s var(--ease), color .25s var(--ease);
}
.topnav a:hover { opacity: 1; color: var(--gold); }

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  background: linear-gradient(168deg, #015761 0%, #014a53 55%, #013f47 100%);
  color: var(--cream);
  padding: 86px 0 130px;
  overflow: hidden;
}
.hero::after {
  /* the soft organic wave that divides every section on her site */
  content: ''; position: absolute; left: -2%; right: -2%; bottom: -2px; height: 120px;
  background: var(--paper);
  border-radius: 60% 42% 0 0 / 100% 78% 0 0;
}
.hero-in { position: relative; z-index: 2; max-width: 760px; }
.hero .script { font-size: 62px; display: block; margin-bottom: -6px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); margin-bottom: 22px; }
.hero p { font-size: 21px; max-width: 720px; color: rgba(255, 241, 219, .84); font-weight: 300; }
.hero .cue {
  margin-top: 30px; display: inline-flex; align-items: center; gap: 11px;
  font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
}
.cue-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 2.6s var(--ease-soft) infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1 } 50% { transform: scale(1.7); opacity: .35 } }

.hero-orbs { position: absolute; inset: 0; z-index: 1; opacity: .5; }
.hero-orbs i {
  position: absolute; border-radius: 50%; display: block;
  background: radial-gradient(circle at 34% 30%, rgba(249, 209, 149, .5), rgba(235, 198, 83, 0) 68%);
  animation: drift 26s var(--ease-soft) infinite;
}
.hero-orbs i:nth-child(1) { width: 420px; height: 420px; right: -60px;  top: -120px; }
.hero-orbs i:nth-child(2) { width: 300px; height: 300px; right: 240px;  top: 140px; animation-delay: -9s; }
.hero-orbs i:nth-child(3) { width: 220px; height: 220px; right: -30px;  top: 260px; animation-delay: -17s; }
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1) }
  33%      { transform: translate3d(-26px, 30px, 0) scale(1.09) }
  66%      { transform: translate3d(22px, -18px, 0) scale(.95) }
}

/* ---------------- studio ---------------- */

.studio { padding: 40px 0 70px; }

.studio-head { position: relative; text-align: center; padding: 6px 0 26px; }
.studio-head h2 {
  font-family: var(--serif-d); font-weight: 600; letter-spacing: -.005em;
  font-size: clamp(30px, 4.4vw, 50px); color: var(--teal-soft);
}
.studio-head p { margin: 8px 0 0; color: var(--muted); font-size: 19px; }


.stage {
  background: linear-gradient(180deg, #fffdf8, #fdf6ea);
  border-radius: 28px;
  box-shadow: 0 2px 14px rgba(1, 63, 71, .05), 0 24px 70px rgba(1, 63, 71, .08);
  padding: 26px 22px 22px;
}

.stage-inner {
  position: relative;
  perspective: 1500px;
  min-height: 520px;
}

.view-toggle {
  /* deliberately outside .stage-inner: the reveal panel fills that box, and
     sitting inside it the toggle ended up underneath the card */
  position: relative; z-index: 4; margin: 0 auto 14px; width: max-content;
  display: flex; gap: 2px; padding: 3px; border-radius: 999px;
  background: rgba(1, 87, 97, .08);
}
.view-toggle button {
  border: 0; cursor: pointer; padding: 9px 30px; border-radius: 999px; background: transparent;
  font-family: var(--body); font-size: 14.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal); transition: background .3s var(--ease), color .3s var(--ease);
}
.view-toggle button[aria-selected="true"] { background: var(--teal); color: var(--cream); }

.figure-slot {
  position: relative; height: clamp(500px, 74vh, 820px);
  transform: translateX(var(--shift, 0px)) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
  will-change: transform;
}
.figure {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transition: opacity .5s var(--ease), transform .75s var(--ease);
  transform-origin: 50% 50%;
}
.figure.is-out { opacity: 0; transform: rotateY(58deg) scale(.9); pointer-events: none; }
.figure.is-in  { opacity: 1; transform: none; }

/* "1 area selected", between two rules */
.stage-foot { display: flex; align-items: center; gap: 20px; margin-top: 10px; }
.rule { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(1,87,97,.22), transparent); }
.foot-text { text-align: center; }
.foot-text strong {
  display: block; font-family: var(--body); font-weight: 500; font-size: 18px; color: var(--teal);
}
.foot-text span { font-size: 15.5px; color: var(--muted); }

.feelings { margin-top: 34px; text-align: center; }
.feelings .eyebrow { display: block; margin-bottom: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.chip {
  border: 1px solid var(--line); background: var(--card); color: var(--teal);
  padding: 9px 19px; border-radius: 999px; cursor: pointer; font-family: var(--body);
  font-size: 17px; transition: all .28s var(--ease);
}
.chip:hover { border-color: var(--teal); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(1, 63, 71, .1); }
.chip.on { background: var(--teal); color: var(--cream); border-color: var(--teal); }
.chip .n { opacity: .5; font-size: 14.5px; margin-left: 5px; }

/* ---------------- the reveal panel ---------------- */

.reveal { position: absolute; inset: 0; z-index: 9; pointer-events: none; }

.reveal-card {
  position: absolute;
  max-height: calc(100% - 16px); display: flex; flex-direction: column;
  background: linear-gradient(180deg, #fffdf8, #fdf5e7);
  border: 1px solid rgba(199, 135, 37, .42);
  border-radius: 18px; padding: 13px 13px 8px;
  box-shadow: 0 6px 22px rgba(1, 63, 71, .10), 0 26px 60px rgba(1, 63, 71, .14);
  pointer-events: auto;
  transform-origin: var(--ox, 0%) var(--oy, 50%);
  animation: revealIn .58s var(--ease) both;
}
@keyframes revealIn {
  from { opacity: 0; transform: scale(.62) translateX(var(--dx, -16px)); }
  60%  { opacity: 1; }
  to   { opacity: 1; transform: scale(1) translateX(0); }
}
.reveal-card.closing { animation: revealOut .28s var(--ease) both; }
@keyframes revealOut { to { opacity: 0; transform: scale(.88); } }

.reveal-tab {
  position: absolute; z-index: 2;
  background: #fffdf8; border: 1px solid rgba(199, 135, 37, .5);
  border-radius: 999px; padding: 6px 15px;
  font-family: var(--serif-d); font-size: 19px; font-weight: 600; color: var(--teal-soft);
  white-space: nowrap; pointer-events: none;
  animation: tabIn .5s var(--ease) .1s both;
}
@keyframes tabIn { from { opacity: 0; transform: translate(var(--tdx, 0), 6px) } to { opacity: 1 } }

.reveal-head { margin-bottom: 10px; flex: none; }
.reveal-head h3 {
  font-family: var(--serif-d); font-weight: 600; font-size: 22px; color: var(--teal-soft);
  letter-spacing: -.005em;
}
.reveal-head p { margin: 1px 0 0; font-size: 15px; color: var(--muted); }

.reveal-list { display: grid; gap: 10px; overflow-y: auto; min-height: 0; scrollbar-width: thin; }
.reveal-list::-webkit-scrollbar { width: 6px; }
.reveal-list::-webkit-scrollbar-thumb { background: rgba(1,87,97,.18); border-radius: 6px; }
.rv {
  display: block; width: 100%; border: 0; padding: 0; background: none; cursor: pointer;
  font: inherit; color: inherit; text-align: left;
  animation: rvIn .45s var(--ease) both;
}
@keyframes rvIn { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
.rv-thumb { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: var(--cream-dim); }
.rv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.rv:hover .rv-thumb img { transform: scale(1.06); }
.rv-play {
  position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .93); display: grid; place-items: center;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .25);
  transition: transform .3s var(--ease);
}
.rv:hover .rv-play { transform: scale(1.12); }
.rv-play svg { width: 12px; height: 12px; fill: var(--teal); margin-left: 2px; }
.rv-dur {
  position: absolute; right: 6px; bottom: 6px; background: rgba(20, 24, 26, .85); color: #fff;
  font-size: 13px; padding: 2px 7px; border-radius: 5px; letter-spacing: .02em;
}
.rv h4 {
  font-family: var(--body); font-weight: 500; font-size: 15px; line-height: 1.32;
  margin: 6px 0 0; color: var(--teal-soft);
}

.reveal-more {
  flex: none;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 10px; padding: 10px 0 6px; border: 0;
  border-top: 1px solid rgba(199, 135, 37, .28); background: none; cursor: pointer;
  font-family: var(--body); font-size: 15.5px; color: var(--teal); transition: gap .3s var(--ease);
}
.reveal-more:hover { gap: 14px; }

.reveal-close {
  position: absolute; top: 10px; right: 12px; width: 26px; height: 26px; border-radius: 50%;
  border: 0; background: rgba(1, 87, 97, .07); color: var(--teal); cursor: pointer;
  font-size: 18px; line-height: 1; transition: background .25s var(--ease);
}
.reveal-close:hover { background: rgba(1, 87, 97, .16); }

.reveal-line { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
.reveal-line path { fill: none; stroke: var(--amber); stroke-width: 1.3; opacity: .6;
  stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw .6s var(--ease) .06s forwards; }
@keyframes draw { to { stroke-dashoffset: 0 } }

/* ---------------- practice ---------------- */

.practice { padding: 10px 0 80px; }
.practice .wrap { max-width: 940px; }
.session-card {
  background: var(--card); border-radius: 24px; box-shadow: var(--shadow);
  overflow: hidden; border: 1px solid rgba(1, 87, 97, .07);
}
.session-top {
  background: linear-gradient(150deg, var(--teal), var(--teal-deep));
  color: var(--cream); padding: 26px 30px 24px;
}
.session-top .script { font-size: 46px; display: block; margin-bottom: -12px; }
.session-top h2 { font-family: var(--serif-d); font-weight: 600; font-size: 34px; }
.session-top > p { margin: 8px 0 0; max-width: 520px; font-size: 17.5px; color: rgba(255,241,219,.76); font-weight: 300; }
.session-meta { display: flex; gap: 26px; margin-top: 18px; flex-wrap: wrap; align-items: center; }
.stat .k { font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--gold); }
.stat .l { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }

.controls { padding: 16px 30px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.control { display: flex; align-items: center; gap: 9px; }
.control label { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); }
select {
  font-family: var(--body); font-size: 16px; padding: 7px 11px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; color: var(--teal); cursor: pointer;
}
select:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }

.picked { display: flex; flex-wrap: wrap; gap: 7px; margin-left: auto; }
.pill {
  background: rgba(235, 198, 83, .22); border: 1px solid rgba(199, 135, 37, .32);
  color: var(--amber); border-radius: 999px; padding: 4px 9px 4px 12px; font-size: 15px;
  display: inline-flex; align-items: center; gap: 7px;
  animation: pop .34s var(--ease) both;
}
@keyframes pop { from { opacity: 0; transform: scale(.86) translateY(4px) } to { opacity: 1; transform: none } }
.pill button { border: 0; background: none; cursor: pointer; color: inherit; font-size: 18px; line-height: 1; opacity: .6; padding: 0 2px; }
.pill button:hover { opacity: 1; }
.pill.clear { background: none; border-color: var(--line); color: var(--muted); cursor: pointer; padding: 4px 12px; }

.list { padding: 14px 18px 20px; }
.item {
  display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 10px 12px;
  border-radius: 14px; cursor: pointer; text-align: left; width: 100%; border: 0;
  background: transparent; font: inherit; color: inherit;
  transition: background .26s var(--ease), transform .26s var(--ease);
  animation: rise .42s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(9px) } to { opacity: 1; transform: none } }
.item:hover { background: rgba(169, 191, 154, .17); transform: translateX(3px); }
.item-thumb { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: var(--cream-dim); }
.item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.item:hover .item-thumb img { transform: scale(1.07); }
.item-thumb .dur {
  position: absolute; right: 5px; bottom: 5px; background: rgba(1, 63, 71, .88); color: var(--cream);
  font-size: 12.5px; padding: 1px 5px; border-radius: 4px; letter-spacing: .03em;
}
.item-thumb .idx {
  position: absolute; left: 5px; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); color: var(--teal-deep); font-family: var(--display); font-weight: 700;
  font-size: 13px; display: grid; place-items: center;
}
.item h4 { font-family: var(--body); font-weight: 600; font-size: 18px; line-height: 1.35; margin: 3px 0 6px; }
.item .tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); background: rgba(169,191,154,.28); padding: 2px 7px; border-radius: 5px; }

.empty { padding: 48px 28px; text-align: center; color: var(--muted); }
.empty .script { font-size: 42px; color: var(--sage); display: block; margin-bottom: 2px; }

/* --- the figure's layers --- */

.art { }
.aura-art { }
.aura {
  opacity: .3; transform-origin: 50% 52%;
  animation: breathe 7.5s var(--ease-soft) infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1);     opacity: .16 }
  50%      { transform: scale(1.022); opacity: .3 }
}

/* --- regions --- */

.glow-blob {
  fill: url(#glow-front); opacity: 0;
  transform-box: fill-box; transform-origin: center; transform: scale(.72);
  transition: opacity .45s var(--ease), transform .55s var(--ease);
}
.figure[aria-label*="back"] .glow-blob { fill: url(#glow-back); }

.r-glow.is-hot .glow-blob { opacity: .42; transform: scale(.84); }
.r-glow.is-on  .glow-blob { opacity: .88; transform: scale(.9); }
.r-glow.is-on.is-hot .glow-blob { opacity: 1; transform: scale(.96); }

/* a hairline round the lit area, and the bright core at its centre */
.edge-blob {
  fill: none; stroke: #F6E3B2; stroke-width: 1.4; opacity: 0;
  transform-box: fill-box; transform-origin: center; transform: scale(.8);
  transition: opacity .45s var(--ease), transform .55s var(--ease);
}
.core-dot {
  fill: #FFFDF6; opacity: 0;
  transition: opacity .45s var(--ease);
}
.r-edge.is-on .edge-blob { opacity: .45; transform: scale(.94); }
.r-edge.is-on .core-dot  { opacity: 1; animation: core 3.4s var(--ease-soft) infinite; }
@keyframes core { 0%, 100% { opacity: .85 } 50% { opacity: 1 } }
.r-edge.is-hot .edge-blob { opacity: .3; transform: scale(.86); }

.region { cursor: pointer; }
.hit-blob { fill: transparent; }
.region:focus-visible { outline: none; }

.tip {
  /* Beside the figure, never over it: centred on the region's own height and
     pushed clear of the silhouette, so hovering never hides what you're reading. */
  position: absolute; z-index: 8; pointer-events: none;
  background: var(--teal); color: var(--cream);
  padding: 9px 14px; border-radius: 11px; font-size: 15.5px; line-height: 1.35;
  box-shadow: 0 8px 26px rgba(1, 63, 71, .28);
  opacity: 0; max-width: 190px;
  transition: opacity .22s var(--ease), transform .28s var(--ease);
}
.tip[data-side="right"] { transform: translate(6px, -50%) scale(.96); }
.tip[data-side="left"]  { transform: translate(calc(-100% - 6px), -50%) scale(.96); }
.tip.on[data-side="right"] { opacity: 1; transform: translate(0, -50%) scale(1); }
.tip.on[data-side="left"]  { opacity: 1; transform: translate(-100%, -50%) scale(1); }
/* a small caret pointing back at the body */
.tip::after {
  content: ''; position: absolute; top: 50%; margin-top: -6px;
  border: 6px solid transparent;
}
.tip[data-side="right"]::after { right: 100%; border-right-color: var(--teal); }
.tip[data-side="left"]::after  { left: 100%;  border-left-color: var(--teal); }
.tip b { display: block; font-family: var(--display); font-size: 16px; margin-bottom: 1px; }
.tip i { font-style: normal; color: var(--gold); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------------- courses ---------------- */

.courses { padding: 60px 0 24px; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 22px; }

.course {
  position: relative; display: flex; flex-direction: column; text-align: left;
  background: var(--card); border: 1px solid rgba(1, 87, 97, .08); border-radius: 18px;
  overflow: hidden; cursor: pointer; padding: 0; font: inherit; color: inherit;
  box-shadow: var(--shadow); transition: transform .38s var(--ease), box-shadow .38s var(--ease);
  animation: rise .5s var(--ease) both;
}
.course:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

.course-cover { position: relative; aspect-ratio: 16/9; background: var(--cream-dim); overflow: hidden; }
.course-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.course:hover .course-cover img { transform: scale(1.06); }
.course-cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(1,63,71,0) 38%, rgba(1,63,71,.78));
}
.course-badge {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(255, 250, 241, .92); color: var(--teal); padding: 3px 9px; border-radius: 999px;
}
.course-stats {
  position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2;
  display: flex; gap: 12px; color: var(--cream); font-size: 14.5px; letter-spacing: .04em;
}
.course-body { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.course-body h4 {
  font-family: var(--serif-d); font-weight: 600; font-size: 21px; line-height: 1.18;
  margin: 0 0 6px; color: var(--teal-soft);
}
.course-body p { margin: 0; font-size: 16px; color: var(--muted); line-height: 1.5; }

/* --- course detail --- */

.course-view {
  position: fixed; inset: 0; z-index: 95; display: grid; place-items: center;
  background: rgba(1, 39, 44, .82); backdrop-filter: blur(7px);
  opacity: 0; pointer-events: none; transition: opacity .32s var(--ease);
}
.course-view.on { opacity: 1; pointer-events: auto; }
.cv-box {
  width: min(760px, 92vw); max-height: 86vh; display: flex; flex-direction: column;
  background: var(--card); border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .4);
  transform: scale(.96) translateY(10px); transition: transform .38s var(--ease);
}
.course-view.on .cv-box { transform: none; }
.cv-top {
  background: linear-gradient(150deg, var(--teal), var(--teal-deep));
  color: var(--cream); padding: 24px 28px 22px; position: relative; flex: none;
}
.cv-top .eyebrow { color: var(--gold); opacity: .9; }
.cv-top h3 { font-family: var(--serif-d); font-weight: 600; font-size: 30px; margin: 6px 0 4px; }
.cv-top p { margin: 0; font-size: 17px; color: rgba(255, 241, 219, .78); font-weight: 300; max-width: 48ch; }
.cv-meta { display: flex; align-items: center; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
.cv-meta span { font-size: 14.5px; letter-spacing: .16em; text-transform: uppercase; opacity: .72; }
.cv-close {
  position: absolute; top: 16px; right: 18px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255, 241, 219, .3); background: none; color: var(--cream);
  cursor: pointer; font-size: 20.5px; line-height: 1; transition: all .28s var(--ease);
}
.cv-close:hover { background: var(--gold); border-color: var(--gold); color: var(--teal-deep); }
.cv-list { padding: 10px 14px 18px; overflow-y: auto; min-height: 0; }

/* ---------------- guided course slideshow ---------------- */

.deck {
  position: fixed; inset: 0; z-index: 97; display: flex; flex-direction: column;
  background: var(--paper);
  opacity: 0; pointer-events: none; transition: opacity .34s var(--ease);
}
.deck.on { opacity: 1; pointer-events: auto; }

.deck-bar {
  flex: none; display: flex; align-items: center; gap: 18px;
  padding: 14px 26px; background: var(--teal); color: var(--cream);
}
.deck-id { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.deck-kicker { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.deck-id strong {
  font-family: var(--serif-d); font-weight: 600; font-size: 20px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.deck-progress { margin-left: auto; display: flex; gap: 5px; }
.deck-progress i {
  display: block; width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255, 241, 219, .28); cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.deck-progress i:hover { transform: scale(1.4); }
.deck-progress i.done { background: rgba(255, 241, 219, .55); }
.deck-progress i.now { background: var(--gold); transform: scale(1.5); }
.deck-count { font-size: 14.5px; letter-spacing: .12em; opacity: .7; white-space: nowrap; }
.deck-close {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  border: 1px solid rgba(255, 241, 219, .28); background: none; color: var(--cream);
  cursor: pointer; font-size: 21.5px; line-height: 1; transition: all .28s var(--ease);
}
.deck-close:hover { background: var(--gold); border-color: var(--gold); color: var(--teal-deep); }

.deck-stage { flex: 1; overflow-y: auto; min-height: 0; }
.slide { max-width: 720px; margin: 0 auto; padding: 48px 26px 40px; animation: slideIn .45s var(--ease) both; }
@keyframes slideIn { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
.slide .eyebrow { display: block; margin-bottom: 10px; }
.slide h3 {
  font-family: var(--serif-d); font-weight: 600; font-size: clamp(30px, 4.6vw, 44px);
  line-height: 1.1; color: var(--teal-soft); margin-bottom: 20px;
}
.slide p { font-size: 20.5px; line-height: 1.72; color: #3d3b38; margin: 0 0 18px; }
.slide p strong { color: var(--teal-soft); font-weight: 600; }
.slide p em { font-style: italic; }

.slide-points { list-style: none; padding: 0; margin: 4px 0 22px; }
.slide-points li {
  position: relative; padding: 8px 0 8px 28px; font-size: 18.5px; line-height: 1.6;
  border-bottom: 1px solid rgba(1, 87, 97, .09); color: #3d3b38;
}
.slide-points li::before {
  content: ''; position: absolute; left: 4px; top: 17px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}

.slide-note {
  border-left: 3px solid var(--sage); background: rgba(169, 191, 154, .14);
  padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 22px 0 0;
  font-size: 17.5px; line-height: 1.6; color: #4a4844;
}
.slide.is-safety .slide-note { border-left-color: var(--amber); background: rgba(235, 198, 83, .16); }
.slide.is-safety h3 { color: var(--amber); }

.slide-links { margin-top: 26px; display: grid; gap: 10px; }
.slide-links a {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  border: 1px solid rgba(1, 87, 97, .16); border-radius: 13px; padding: 13px 16px;
  background: var(--card); transition: all .28s var(--ease);
}
.slide-links a:hover { border-color: var(--teal); transform: translateX(3px); box-shadow: 0 4px 16px rgba(1, 63, 71, .08); }
.slide-links .ll { flex: 1; min-width: 0; }
.slide-links .ll b { display: block; font-family: var(--body); font-weight: 600; font-size: 17.5px; color: var(--teal-soft); }
.slide-links .ll span { font-size: 14.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); }
.slide-links .lg { color: var(--amber); font-size: 20.5px; }

/* video slides */
.slide-video { max-width: 900px; }
.slide-video h3 { font-size: clamp(23px, 3.2vw, 31px); margin-bottom: 14px; }
.slide-frame {
  aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #10201f;
  box-shadow: 0 8px 30px rgba(1, 63, 71, .16); position: relative;
}
.slide-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.slide-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: none; }
.slide-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-poster::after {
  content: ''; position: absolute; inset: 0; background: rgba(1, 44, 50, .3);
  transition: background .3s var(--ease);
}
.slide-poster:hover::after { background: rgba(1, 44, 50, .12); }
.slide-poster .pp {
  position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255, 250, 241, .95); display: grid; place-items: center; z-index: 2;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .3); transition: transform .3s var(--ease);
}
.slide-poster:hover .pp { transform: scale(1.08); }
.slide-poster .pp svg { width: 24px; height: 24px; fill: var(--teal); margin-left: 4px; }
.slide-meta { display: flex; gap: 16px; margin-top: 14px; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); }
.slide-why { margin-top: 16px; font-size: 19px; line-height: 1.7; color: #3d3b38; }
.slide-cue {
  margin-top: 16px; border-left: 3px solid var(--gold); padding: 12px 18px;
  background: rgba(249, 209, 149, .17); border-radius: 0 12px 12px 0;
  font-size: 18px; line-height: 1.6; color: #4a4844;
}
.slide-cue b { display: block; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin-bottom: 4px; }

/* finish slide */
.slide-next { display: grid; gap: 10px; margin-top: 24px; }
.slide-next button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid rgba(1, 87, 97, .16); border-radius: 13px; padding: 15px 18px;
  background: var(--card); cursor: pointer; font: inherit;
  font-size: 18px; color: var(--teal-soft); transition: all .28s var(--ease);
}
.slide-next button:hover { border-color: var(--teal); transform: translateX(3px); }
.slide-next button span { color: var(--amber); }

.deck-nav {
  flex: none; display: flex; align-items: center; gap: 20px;
  padding: 14px 26px; border-top: 1px solid var(--line); background: var(--card);
}
.deck-rail { flex: 1; height: 3px; border-radius: 3px; background: rgba(1, 87, 97, .12); overflow: hidden; }
.deck-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--amber)); width: 0; transition: width .4s var(--ease); }
.btn.ghost { border-color: var(--line); color: var(--muted); }
.btn.ghost:hover { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn[disabled] { opacity: .35; pointer-events: none; }

.course.is-guided { border-color: rgba(199, 135, 37, .4); }
.course.is-guided .course-badge { background: var(--gold); color: var(--teal-deep); }

@media (max-width: 640px) {
  .deck-bar { padding: 12px 16px; gap: 12px; }
  .deck-id strong { font-size: 19px; }
  .deck-progress { display: none; }
  .slide { padding: 32px 18px 28px; }
  .deck-nav { padding: 12px 16px; gap: 12px; }
  .deck-nav .btn { padding: 12px 18px; letter-spacing: .12em; }
}

/* ---------------- library ---------------- */

.library { background: linear-gradient(180deg, #fffaf1, var(--paper)); padding: 74px 0 90px; position: relative; overflow: hidden; }
.library::before {
  /* the sage-and-sand wave she uses between sections */
  content: ''; position: absolute; left: -5%; right: -5%; top: -78px; height: 150px;
  background: linear-gradient(112deg, rgba(169, 191, 154, .62), rgba(249, 209, 149, .5) 72%, rgba(235, 198, 83, .35));
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  z-index: 0;
}
.library > .wrap { position: relative; z-index: 1; }
.lib-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.lib-head h2 { font-size: 34px; }
#libCount.clickable { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.search {
  font-family: var(--body); font-size: 17.5px; padding: 11px 17px; width: 300px; max-width: 100%;
  border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.search:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(1, 87, 97, .09); }

.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(246px, 1fr)); gap: 22px; }
.card {
  background: var(--card); border-radius: 15px; overflow: hidden; cursor: pointer; border: 0;
  padding: 0; text-align: left; font: inherit; color: inherit;
  box-shadow: var(--shadow); transition: transform .38s var(--ease), box-shadow .38s var(--ease);
  animation: rise .5s var(--ease) both;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.card-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--cream-dim); }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.card:hover .card-thumb img { transform: scale(1.06); }
.card-thumb .dur { position: absolute; right: 7px; bottom: 7px; background: rgba(1,63,71,.88); color: var(--cream); font-size: 13px; padding: 2px 6px; border-radius: 4px; }
.card-body { padding: 14px 16px 17px; }
.card-body h4 { font-family: var(--body); font-weight: 600; font-size: 17.5px; line-height: 1.38; margin: 0 0 8px; }
.card-body .tags { display: flex; flex-wrap: wrap; gap: 5px; }
.more { text-align: center; margin-top: 34px; }
.btn {
  font-family: var(--body); font-size: 15px; letter-spacing: .2em; text-transform: uppercase;
  padding: 13px 32px; border-radius: 999px; border: 1px solid var(--teal); background: transparent;
  color: var(--teal); cursor: pointer; transition: all .3s var(--ease);
}
.btn:hover { background: var(--teal); color: var(--cream); }
.btn.solid { background: var(--gold); border-color: var(--gold); color: var(--teal-deep); }
.btn.solid:hover { background: var(--amber); border-color: var(--amber); color: var(--cream); }

/* ---------------- about ---------------- */

.about { background: var(--teal); color: var(--cream); padding: 80px 0; position: relative; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; position: relative; z-index: 2; }
.about .script { font-size: 52px; display: block; margin-bottom: -8px; }
.about h2 { font-size: 40px; margin-bottom: 20px; }
.about p { color: rgba(255, 241, 219, .8); font-weight: 300; font-size: 18.5px; }
.about-facts { display: grid; gap: 2px; background: rgba(255,241,219,.14); border-radius: 14px; overflow: hidden; }
.fact { background: var(--teal); padding: 16px 20px; }
.fact .k { font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--gold); }
.fact .l { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; opacity: .68; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.links a {
  text-decoration: none; font-size: 14.5px; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid rgba(255,241,219,.3); border-radius: 999px; padding: 9px 18px;
  transition: all .3s var(--ease);
}
.links a:hover { background: var(--gold); border-color: var(--gold); color: var(--teal-deep); }

footer { background: var(--teal-deep); color: rgba(255,241,219,.5); padding: 26px 0; font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------------- player ---------------- */

.player {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(1, 39, 44, .93); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
.player.on { opacity: 1; pointer-events: auto; }
/* On jenhilman.com/body-map the map frame (800px) now starts right under the Wix header
   (layout fixed and published 2026-11-06), so the player only leaves room for its close button. */
.player { --top: 76px; overflow-y: auto; padding: var(--top) 0 24px; align-items: start; }
@media (max-width: 760px) { .player { --top: 68px; } }
/* fit the whole video plus its bar inside the visible frame, whatever its height (Jen 2026-11-02: the top was cut off) */
.player-box { width: min(1060px, 92vw, calc((100vh - var(--top) - 150px) * 16 / 9)); min-width: min(320px, 92vw); transform: scale(.97); transition: transform .4s var(--ease); }
.player.on .player-box { transform: none; }
.player-frame { aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-bar { display: flex; align-items: center; gap: 16px; margin-top: 16px; color: var(--cream); flex-wrap: wrap; }
.player-bar h3 { font-family: var(--body); font-weight: 500; font-size: 18.5px; flex: 1 1 280px; }
.player-bar .btn { border-color: rgba(255,241,219,.4); color: var(--cream); }
.player-bar #backToMap { background: var(--gold); border-color: var(--gold); color: var(--teal-deep); font-weight: 600; }
.player-bar .btn:hover { background: var(--gold); border-color: var(--gold); color: var(--teal-deep); }
.player-close {
  position: absolute; top: calc(var(--top) - 52px); right: 26px; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,241,219,.3); background: none; color: var(--cream); cursor: pointer;
  font-size: 20px; line-height: 1; transition: all .3s var(--ease);
}
.player-close:hover { background: var(--gold); color: var(--teal-deep); border-color: var(--gold); }

/* ---------------- responsive ---------------- */

@media (max-width: 1020px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .hero { padding: 58px 0 100px; }
  .hero .script { font-size: 46px; }
  .topnav { display: none; }
  .item { grid-template-columns: 112px 1fr; }
  .stage { padding: 16px 10px 14px; }
  .stage-foot .rule { display: none; }
  .figure-slot { height: 64vh; min-height: 420px; }
  .reveal-card { width: 88% !important; left: 6% !important; }
  .reveal-tab { display: none; }
  .reveal-line { display: none; }
  .lib-head h2 { font-size: 27px; }
  #libCount.clickable { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.search { width: 100%; }
}

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

/* ---------- guided programs (paid, sold on jenhilman.com) ---------- */
.hero-offer { display: inline-block; margin-top: 22px; padding: 10px 18px; border-radius: 999px; background: rgba(235,198,83,.14); border: 1px solid rgba(235,198,83,.5); color: var(--cream); font-size: 17.5px; text-decoration: none; transition: background .3s var(--ease); }
.hero-offer:hover { background: rgba(235,198,83,.26); }
.hero-offer b { color: var(--gold); font-weight: 700; }
.program { padding: 40px 0 30px; }
.program-head { max-width: 760px; margin: 0 auto 26px; text-align: center; }
.program-head h2 { font-family: var(--serif-d); color: var(--teal-soft); font-size: clamp(28px, 3.4vw, 40px); margin: 4px 0 12px; line-height: 1.1; }
.program-head p { color: var(--muted); line-height: 1.65; }
.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 900px; margin: 0 auto; }
.program-card { display: flex; flex-direction: column; background: var(--card); border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 10px 34px rgba(1, 63, 71, .1); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.program-card:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(1, 63, 71, .16); }
.program-img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.program-txt { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.program-txt h3 { font-family: var(--serif-d); color: var(--teal-soft); font-size: 24px; margin: 6px 0 8px; line-height: 1.15; }
.program-txt p { color: var(--muted); line-height: 1.6; margin: 0 0 10px; font-size: 18px; }
.program-txt ul { margin: 0 0 18px; padding-left: 18px; color: var(--teal-soft); line-height: 1.7; font-size: 17.5px; flex: 1; }
.program-txt .btn { align-self: flex-start; }
.program-bundle { text-align: center; margin-top: 22px; }
.program-bundle a { display: inline-block; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--teal); text-decoration: none; }
.program-bundle a:hover { border-color: var(--teal); }
.program-bundle span { color: var(--muted); }
@media (max-width: 900px) {
  .program-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}
.offer { display: grid; gap: 6px; margin-top: 18px; padding: 20px 22px; border-radius: 18px; text-decoration: none; background: linear-gradient(120deg, var(--teal), var(--teal-deep)); color: var(--cream); box-shadow: 0 8px 26px rgba(1, 63, 71, .18); transition: transform .3s var(--ease); }
.offer:hover { transform: translateY(-2px); }
.offer-kicker { font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.offer strong { font-size: 20px; }
.offer .offer-hook { font-size: clamp(24px, 4vw, 32px); line-height: 1.15; letter-spacing: -.01em; margin-bottom: 2px; }
.offer span { opacity: .9; line-height: 1.5; }
.offer-cta { color: var(--gold); font-weight: 700; opacity: 1 !important; }

/* ---------------- results list (2026-11-05): plain words, bigger targets ---------------- */
.session-top h2 { font-size: clamp(28px, 4.2vw, 38px); line-height: 1.12; }
.session-top > p { max-width: 640px; color: rgba(255,241,219,.88); font-weight: 400; }
.controls-lead { font-size: 16px; color: var(--teal); font-weight: 500; }
.control label { font-size: 14px; }
.controls select { font-size: 17px; padding: 10px 12px; min-height: 46px; max-width: 100%; }
.item.is-top { background: rgba(235, 198, 83, .1); }
.item.is-top:hover { background: rgba(235, 198, 83, .2); }
.top-pick {
  display: inline-block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-deep); background: var(--gold); padding: 2px 9px; border-radius: 999px; margin-bottom: 2px;
}
.tag-time { color: var(--teal); background: rgba(1, 87, 97, .08); }
.tag-made { color: var(--teal-deep); background: rgba(235, 198, 83, .38); }
.tag-gentle { color: #3f6b3a; background: rgba(169, 191, 154, .4); }
.tag-moderate { color: #7a5a12; background: rgba(249, 209, 149, .5); }
.tag-strong { color: #8a3b22; background: rgba(230, 150, 120, .3); }
.more-rows {
  display: block; width: 100%; margin-top: 12px; padding: 16px; border-radius: 14px; cursor: pointer;
  border: 1px dashed rgba(1, 87, 97, .3); background: #fff; color: var(--teal);
  font-family: var(--body); font-size: 17px; font-weight: 500; transition: background .25s var(--ease);
}
.more-rows span { color: var(--muted); font-weight: 400; }
.more-rows:hover { background: rgba(169, 191, 154, .17); }
.empty .btn { margin-top: 14px; }
.reveal-none { font-size: 15px; color: var(--muted); margin: 4px 0 8px; }
@media (max-width: 640px) {
  .controls { padding: 14px 16px; gap: 12px; }
  .control { width: 100%; flex-direction: column; align-items: stretch; gap: 4px; }
  .controls select { width: 100%; }
  .picked { margin-left: 0; }
  .item { grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 6px; }
  .item h4 { font-size: 16.5px; }
  .session-top { padding: 22px 18px 20px; }
}
.controls select { width: 290px; }
.controls .picked { flex-basis: 100%; margin-left: 0; }
@media (max-width: 640px) { .controls select { width: 100%; } }
.studio-head p.studio-tip { margin-top: 4px; font-size: 17px; color: var(--teal); font-weight: 500; }
