@font-face {
  font-family: Bricolage;
  src: url("../portals/display.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --bg: #f7f3ff;
  --surface: #eee6fa;
  --paper: #fffcff;
  --ink: #251a3b;
  --muted: #645775;
  --accent: #6d28d9;
  --line: #d9cce7;
  --soft: #e2d0fc;
  --skin: #ddb19c;
  --radius: 24px;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
img {
  max-width: 100%;
  height: auto;
}
button {
  color: inherit;
}
h1,
h2,
h3,
.brand {
  font-family: Bricolage, Arial, sans-serif;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(40px, 4.7vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}
h2 {
  font-size: clamp(34px, 3.8vw, 53px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}
.wrap {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 98px;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 21px;
  font-weight: 700;
  white-space: nowrap;
}
.header nav,
.footer nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}
.header nav a {
  text-decoration: none;
  padding-block: 14px;
}
.nav-book {
  border-bottom: 1px solid var(--ink);
}
.skip {
  position: absolute;
  left: 20px;
  top: -80px;
  background: var(--paper);
  padding: 16px;
  z-index: 5;
}
.skip:focus {
  top: 12px;
}
.eyebrow {
  color: var(--accent);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.17em;
  margin-bottom: 22px;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  min-height: 620px;
  padding-block: 45px 65px;
  gap: 10px;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero h1 {
  max-width: 670px;
}
.lead {
  font-size: 19px;
  max-width: 445px;
  margin-top: 26px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 54px;
  padding: 16px 22px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.primary {
  background: #6d28d9;
  color: #fff;
}
.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}
.hero-art {
  position: relative;
  height: 500px;
  isolation: isolate;
}
.hero-art:before {
  content: "";
  position: absolute;
  inset: 8% 2%;
  border-radius: 50%;
  background: var(--soft);
  opacity: 0.55;
  z-index: -1;
}
.hero-art #hero-model,
.hero-art > .model-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-art canvas {
  width: 100%;
  height: 100%;
}
.art-caption {
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.025em;
}
.chapter-nav {
  display: flex;
  gap: 35px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 21px;
}
.chapter-nav a {
  font-size: 13px;
  text-decoration: none;
  color: var(--muted);
}
.chapter-nav a:hover {
  color: var(--accent);
}
.section {
  padding-block: 120px;
  scroll-margin-top: 16px;
}
.intention {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.portrait img {
  display: block;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 62% center;
  border-radius: var(--radius);
}
.intention-copy > p:not(.eyebrow) {
  margin-top: 24px;
}
.benefit {
  margin-top: 28px;
}
.benefit h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.source-note {
  font-size: 13px;
  line-height: 1.65;
}
.source-note a {
  color: var(--accent);
}
.before {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding-top: 15px;
}
.section-intro {
  margin: 25px 0;
  max-width: 410px;
}
.safety-content > p {
  margin-top: 20px;
}
.essential {
  margin-top: 24px;
  background: var(--surface);
  padding: 24px;
  border-radius: 12px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6;
}
.essential span {
  color: var(--muted);
}
.practice-section {
  background: var(--surface);
  padding-block: 95px;
}
.section-heading {
  max-width: 650px;
  margin-bottom: 44px;
}
.section-heading > p:last-child {
  margin-top: 20px;
}
.explorer {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 65px;
}
.model-panel {
  min-width: 0;
}
.model-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  color: var(--muted);
}
.model-heading > span:first-child {
  font-weight: 700;
  color: var(--ink);
}
.model-stage {
  height: 430px;
  position: relative;
}
.model-stage > div,
.model-stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.model-stage canvas {
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}
.model-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.model-controls button {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  min-height: 44px;
  padding: 11px 13px;
}
.model-controls button:hover {
  border-color: var(--accent);
}
.model-note {
  font-size: 12px;
  margin-top: 15px;
  max-width: 490px;
}
.step-buttons {
  display: grid;
  gap: 6px;
}
.step-button {
  display: flex;
  align-items: center;
  gap: 17px;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  padding: 15px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
}
.step-number {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  flex: none;
}
.step-button small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 5px;
}
.step-button.active {
  background: var(--paper);
  border-color: var(--line);
}
.step-button.active .step-number {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}
.stage-detail {
  margin: 24px 15px;
}
.stage-detail h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.stage-detail p {
  font-size: 15px;
}
.stage-detail .detail-note {
  font-size: 13px;
  margin-top: 15px;
  color: var(--accent);
}
.steps > .text-link {
  margin-left: 15px;
}
.boundaries {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 55px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}
.boundaries > div:first-child {
  display: flex;
  align-items: center;
  gap: 25px;
}
.distance {
  font-family: Bricolage, Arial, sans-serif;
  font-size: 48px;
  white-space: nowrap;
  letter-spacing: -0.05em;
}
.boundaries p {
  font-size: 14px;
}
.boundaries h3 {
  margin-bottom: 10px;
  font-size: 21px;
}
.checklist-section {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 110px;
}
.checklist-heading p:not(.eyebrow) {
  margin: 25px 0;
  max-width: 360px;
}
.checklist {
  list-style: none;
  counter-reset: practice;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 32px;
}
.checklist li {
  counter-increment: practice;
  position: relative;
  padding-left: 46px;
}
.checklist li:before {
  content: counter(practice, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--accent);
  font-size: 13px;
}
.checklist h3 {
  font-size: 22px;
  margin-bottom: 11px;
}
.checklist p {
  font-size: 16px;
}
.film-section {
  padding-top: 5px;
}
.film-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 100px;
  align-items: end;
  margin-bottom: 35px;
}
.film-heading .eyebrow {
  grid-column: 1/-1;
}
.film-heading p:last-child {
  max-width: 390px;
}
.film-section video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  background: #251a3b;
  border-radius: var(--radius);
}
.film-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  margin-top: 20px;
}
.questions {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 110px;
  padding-top: 0;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.faq details:first-child {
  padding-top: 0;
}
.faq summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  padding-right: 15px;
  min-height: 44px;
}
.faq details p {
  font-size: 15px;
  margin-top: 13px;
}
.sources {
  border-top: 1px solid var(--line);
  padding-block: 65px;
  max-width: 900px;
}
.sources h2 {
  font-size: 29px;
}
.sources > p:not(.eyebrow) {
  margin-top: 24px;
  font-size: 14px;
}
.sources ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 23px;
  margin: 28px 0;
}
.sources li > a {
  font-size: 15px;
  font-weight: 600;
}
.sources li > span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 7px;
}
.closing {
  text-align: center;
  background: var(--surface);
  padding: 72px 24px;
  border-radius: var(--radius);
  margin-block: 30px 75px;
  position: relative;
  overflow: hidden;
}
.closing:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    #22d3ee,
    #34d399,
    #fbbf24,
    #fb923c,
    #fb7185,
    #a78bfa
  );
}
.closing .button {
  margin-top: 28px;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 35px;
}
.footer p {
  width: 100%;
  font-size: 12px;
}
.footer .brand {
  font-size: 18px;
}
.no-script {
  margin: 20px 0;
}
[hidden] {
  display: none !important;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #20192c;
    --surface: #2c233c;
    --paper: #352943;
    --ink: #f4edf9;
    --muted: #c6b8d5;
    --accent: #c8a2ff;
    --line: #50415f;
    --soft: #644287;
  }
  .hero-art:before {
    opacity: 0.3;
  }
  .step-button.active .step-number {
    color: #251a3b;
  }
  .primary {
    background: #b78af7;
    color: #22152f;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .intention,
  .before {
    gap: 50px;
  }
  .explorer {
    gap: 28px;
  }
  .checklist-section,
  .questions {
    gap: 55px;
  }
  .hero {
    min-height: 540px;
  }
  .hero-art {
    height: 440px;
  }
  .header nav {
    gap: 22px;
  }
  .model-stage {
    height: 380px;
  }
  .actions {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .header {
    min-height: 82px;
    gap: 15px;
  }
  .brand {
    font-size: 17px;
    gap: 7px;
  }
  .brand img {
    width: 25px;
    height: 25px;
  }
  .header nav {
    gap: 18px;
    font-size: 13px;
  }
  .nav-book {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 35px 22px;
    min-height: 0;
  }
  .hero h1 {
    font-size: clamp(39px, 8.7vw, 58px);
    letter-spacing: -0.045em;
  }
  .lead {
    font-size: 17px;
    max-width: 430px;
    margin-top: 22px;
  }
  .eyebrow {
    margin-bottom: 17px;
  }
  .hero-art {
    height: 350px;
    margin-top: 16px;
  }
  .art-caption {
    bottom: 0;
  }
  .actions {
    margin-top: 25px;
  }
  .button {
    font-size: 13px;
    padding: 15px 19px;
  }
  .chapter-nav {
    overflow-x: auto;
    gap: 27px;
    justify-content: flex-start;
    white-space: nowrap;
    padding-block: 18px;
  }
  .chapter-nav a {
    min-height: 30px;
    display: flex;
    align-items: center;
  }
  .section {
    padding-block: 72px;
  }
  .intention {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .portrait img {
    aspect-ratio: 5/4;
    object-position: center 43%;
  }
  .intention-copy {
    max-width: 560px;
  }
  .before {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 0;
  }
  .explorer {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .model-stage {
    height: 330px;
  }
  .model-controls {
    gap: 6px;
  }
  .model-controls button {
    font-size: 11px;
    padding-inline: 11px;
  }
  .model-note {
    font-size: 11px;
  }
  .boundaries {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 35px;
  }
  .boundaries > div:first-child {
    gap: 23px;
  }
  .distance {
    font-size: 43px;
  }
  .checklist-section,
  .questions {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .checklist-heading p:not(.eyebrow) {
    max-width: 500px;
  }
  .checklist {
    gap: 28px;
  }
  .checklist li {
    padding-left: 37px;
  }
  .film-section {
    padding-top: 0;
  }
  .film-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 25px;
  }
  .film-heading .eyebrow {
    margin-bottom: 0;
  }
  .film-section video {
    border-radius: 12px;
  }
  .film-links {
    font-size: 12px;
    gap: 18px;
    flex-wrap: wrap;
  }
  .questions {
    padding-top: 0;
  }
  .sources {
    padding-block: 45px;
  }
  .sources h2 {
    font-size: 28px;
  }
  .closing {
    padding-block: 55px;
    margin-block: 20px 45px;
  }
  .footer {
    gap: 25px;
  }
  .footer nav {
    gap: 20px;
  }
  .footer p {
    font-size: 11px;
  }
  .step-button {
    padding: 13px;
  }
  .stage-detail {
    margin: 24px 13px;
  }
  h2 {
    font-size: 38px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
  .button:hover {
    transform: none;
  }
}
@media print {
  body {
    background: #fff;
    color: #111;
  }
  .header,
  .hero,
  .chapter-nav,
  .intention,
  .before,
  .practice-section,
  .film-section,
  .questions,
  .sources,
  .closing,
  .footer,
  .skip,
  #print-guide {
    display: none !important;
  }
  .checklist-section {
    display: block;
    padding: 0;
  }
  .checklist-heading {
    margin-bottom: 30px;
  }
  .wrap {
    width: 100%;
  }
  p {
    color: #333;
  }
  .checklist li {
    break-inside: avoid;
  }
  .checklist-heading h2 br {
    display: none;
  }
  .checklist-heading:after {
    content: "Do not use during pregnancy or with a pacemaker. Read all device contraindications with your qualified provider. Avoid eyes (at least 3 cm), lips, front/side neck, and damaged skin. holisticsurfing.com/g-pulse";
    display: block;
    font-size: 13px;
    margin-top: 18px;
  }
}

:root[data-theme="dark"] {
  --bg: #20192c;
  --surface: #2c233c;
  --paper: #352943;
  --ink: #f4edf9;
  --muted: #c6b8d5;
  --accent: #c8a2ff;
  --line: #50415f;
  --soft: #644287;
}
:root[data-theme="light"] {
  --bg: #f7f3ff;
  --surface: #eee6fa;
  --paper: #fffcff;
  --ink: #251a3b;
  --muted: #645775;
  --accent: #6d28d9;
  --line: #d9cce7;
  --soft: #e2d0fc;
  color-scheme: light;
}
:root[data-theme="dark"] {
  color-scheme: dark;
}
:root[data-theme="light"] .primary {
  background: #6d28d9;
  color: #fff;
}
:root[data-theme="dark"] .primary {
  background: #b78af7;
  color: #22152f;
}
:root[data-theme="light"] .step-button.active .step-number {
  color: #fff;
}
.theme-toggle,
.illustration-toggle {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 12px;
  min-height: 44px;
  padding: 10px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.illustration-toggle {
  display: block;
  margin-top: -10px;
  margin-bottom: 5px;
}
.header .theme-toggle {
  padding-inline: 4px;
}
.theme-toggle:hover,
.illustration-toggle:hover {
  color: var(--accent);
}
@media (max-width: 700px) {
  .header nav {
    gap: 12px;
  }
  .header nav > a[href="#watch"] {
    display: none;
  }
}
