@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;1,500&family=Tajawal:wght@400;500;700&display=swap');

:root {
  --ivory: #f8f5f0;
  --orchid: #5b2a86;
  --orchid-muted: #7e5a9b;
  --gold: #c8a46a;
  --gold-on-dark: #e4d0a4;
  /* Heading emphasis on ivory. Brand gold is about 2.2:1 there; #A87432 is 3.7:1 and fails smaller H3s. */
  --gold-ink: #94601c;
  /* Heading emphasis on orchid when the title is smaller than large text. Brand gold is 4.2:1 there. */
  --gold-em-on-dark: #d0ae78;
  --charcoal: #1f1a33;
  --font-sans: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --font-serif: "Noto Kufi Arabic", "Tajawal", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --container: 72rem;
  --header: 4.6rem;
  --actual-header-height: var(--header);
  --section-pad: clamp(1.75rem, 3.2vw, 3.5rem);
  --stack: 0.8rem;
  --subsection: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--ivory);
}

body {
  min-height: 100vh;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.9;
  text-align: start;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--orchid);
}

p,
li,
a,
button,
summary {
  letter-spacing: 0;
}

:focus-visible {
  outline: 2px solid var(--focus, var(--orchid));
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 80;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--orchid);
  color: var(--ivory);
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

.measure {
  max-width: 42rem;
}

.measure-wide {
  max-width: 46rem;
}

.stack > * + * {
  margin-top: var(--stack);
}

.section {
  --bg: var(--ivory);
  --heading: var(--orchid);
  --text: var(--charcoal);
  --muted: rgba(31, 26, 51, 0.74);
  --accent: var(--gold);
  --border: rgba(200, 164, 106, 0.75);
  --surface: rgba(255, 253, 250, 0.72);
  --focus: var(--orchid);
  background: var(--bg);
  color: var(--text);
  position: relative;
  padding-top: var(--section-pad);
  padding-bottom: 0;
  scroll-margin-top: var(--actual-header-height);
}

.section--orchid,
#apply {
  padding-bottom: var(--section-pad);
}

.section--orchid + .section {
  padding-top: 1.15rem;
}

.section--orchid {
  --bg: var(--orchid);
  --heading: var(--ivory);
  --text: var(--ivory);
  --muted: rgba(248, 245, 240, 0.86);
  --accent: var(--gold);
  --border: rgba(200, 164, 106, 0.8);
  --surface: rgba(248, 245, 240, 0.08);
  --focus: var(--gold-on-dark);
  background:
    radial-gradient(ellipse 42% 48% at 100% 0%, rgba(200, 164, 106, 0.16), transparent 62%),
    var(--orchid);
}

.section h2 {
  color: var(--heading);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.section h3 {
  color: var(--heading);
  font-size: 1.15rem;
  line-height: 1.6;
}

.heading-em {
  color: var(--gold-ink);
  letter-spacing: 0;
}

.section--orchid .heading-em {
  color: var(--gold);
}

.section--orchid h3 .heading-em {
  color: var(--gold-em-on-dark);
}

.section p,
.section li {
  color: var(--text);
}

.muted,
.caption,
.note {
  color: var(--muted);
}

.kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0;
  color: var(--orchid-muted);
}

.kicker[lang='en'] {
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section--orchid .kicker {
  color: var(--gold-on-dark);
}

.rule {
  width: 4.75rem;
  height: 1px;
  margin-block: 0.45rem 0.7rem;
  background: var(--gold);
}

.lead {
  font-size: 1.125rem;
  line-height: 1.95;
}

@media (min-width: 768px) {
  body,
  .section p,
  .section li {
    font-size: 1.125rem;
  }

  .lead {
    font-size: 1.25rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 0.65rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--orchid-muted);
  color: var(--ivory);
  border-color: var(--orchid-muted);
}

.btn-primary:hover {
  background: var(--orchid);
  border-color: var(--orchid);
  color: var(--ivory);
}

.btn-primary:active {
  background: #4a2270;
  border-color: #4a2270;
  color: var(--ivory);
}

.section--orchid .btn-primary {
  background: var(--ivory);
  color: var(--orchid);
  border-color: var(--ivory);
}

.section--orchid .btn-primary:hover {
  background: #fffdfb;
  border-color: #fffdfb;
  color: var(--orchid);
}

.section--orchid .btn-primary:active {
  background: #f3eee6;
  border-color: #f3eee6;
  color: var(--orchid);
}

.btn-ghost {
  border-color: rgba(91, 42, 134, 0.28);
  color: var(--orchid-muted);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--orchid);
  color: var(--orchid);
  background: transparent;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--ivory) 96%, white);
  border-bottom: 1px solid rgba(200, 164, 106, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.logo img {
  width: 3.1rem;
  height: 3.1rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.1rem;
}

.nav-links a,
.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.7rem;
  color: var(--charcoal);
  border-radius: 999px;
}

.nav-links a.is-active,
.menu a.is-active {
  color: var(--orchid);
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--orchid);
  list-style: none;
  cursor: pointer;
}

.menu-btn::-webkit-details-marker {
  display: none;
}

.nav-fold .menu {
  position: absolute;
  z-index: 30;
  inset-inline: 0;
  top: var(--header);
  padding: 0.4rem 1rem 1rem;
  background: var(--ivory);
  border-top: 1px solid rgba(200, 164, 106, 0.4);
  box-shadow: 0 18px 30px -24px rgba(31, 26, 51, 0.35);
}

.menu a {
  display: flex;
  border-radius: 0.7rem;
}

.menu .btn {
  width: 100%;
  margin-top: 0.35rem;
  border-radius: 999px;
  color: var(--ivory);
}

.header-cta {
  display: none;
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  line-height: 1.3;
  white-space: normal;
  max-width: 12.5rem;
}

@media (min-width: 1100px) {
  .nav-links {
    display: flex;
  }

  .nav-fold {
    display: none;
  }

  .header-cta {
    display: inline-flex;
  }
}

.menu-open {
  overflow: hidden;
}

.hero {
  position: relative;
  padding-top: clamp(1rem, 2vw, 1.5rem);
  padding-bottom: 0;
  overflow: visible;
}

@media (min-width: 960px) {
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - var(--actual-header-height));
    min-height: calc(100svh - var(--actual-header-height));
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .hero > .wrap {
    flex: 0 1 auto;
    width: min(var(--container), calc(100% - 2.5rem));
  }

  #journey::before {
    top: 0;
  }

  #journey::after {
    top: -0.58rem;
  }
}

.ornament {
  position: absolute;
  width: 4.5rem;
  height: 7rem;
  color: var(--gold);
  pointer-events: none;
}

.ornament--hero {
  inset-inline-end: 4%;
  top: 1rem;
  opacity: 0.8;
}

.ornament--corner {
  inset-inline-start: 2%;
  bottom: 1rem;
  opacity: 0.55;
  transform: scaleX(-1);
}

.hero-grid {
  display: grid;
  gap: 1.15rem;
  align-items: center;
}

.display {
  font-size: clamp(3rem, 8vw, 5.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--orchid);
}

#hero .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  text-align: start;
}

#hero .hero-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 13vw, 3.75rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--orchid);
}

#hero .hero-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 34rem;
  margin-top: 1rem;
}

#hero .hero-intro,
#hero .hero-promise,
#hero .hero-byline {
  margin: 0;
}

#hero .hero-intro {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 500;
  line-height: 1.7;
  color: var(--orchid-muted);
}

#hero .hero-promise {
  max-width: 17em;
  margin-top: 0.65rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.7;
  color: var(--orchid);
}

#hero .hero-em {
  color: var(--gold-ink);
  font-weight: 700;
}

#hero .hero-byline {
  margin-top: 0.85rem;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--orchid-muted);
}

#hero .hero-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

#hero .hero-facts li {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  gap: 0.5rem;
  margin: 0;
  padding: 0.35rem 0.95rem;
  border: 1px solid color-mix(in srgb, var(--orchid) 22%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--orchid) 6%, transparent);
  color: var(--orchid);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
}

#hero .hero-facts li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin: 0;
  border-radius: 50%;
  background: color-mix(in srgb, #b98fa2 75%, transparent);
  flex-shrink: 0;
}

#hero .actions {
  margin-top: 1.35rem;
}

@media (min-width: 960px) {
  #hero .hero-title {
    font-size: clamp(4rem, 5vw, 5.25rem);
    line-height: 1.35;
  }

  #hero .hero-promise {
    font-size: clamp(1.5rem, 1.7vw, 1.85rem);
  }

  #hero .hero-byline {
    font-size: 1.125rem;
  }
}

.byline {
  margin-top: 0.7rem;
  color: var(--orchid-muted);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.15rem 0.8rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--charcoal);
  background: rgba(200, 164, 106, 0.08);
  font-size: 0.98rem;
}

.section--orchid .badge {
  color: var(--ivory);
  background: rgba(248, 245, 240, 0.08);
}

.reassure {
  margin-top: 0.75rem;
  color: var(--muted);
}

.frame {
  padding: 0.45rem;
  border: 1.5px solid var(--gold);
  border-radius: 1.4rem 1.4rem 1.4rem 4rem;
  background: #fffdfb;
  box-shadow: 0 18px 36px -28px rgba(91, 42, 134, 0.45);
  overflow: hidden;
}

.frame img {
  width: 100%;
  border-radius: 1rem 1rem 1rem 3.4rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.hero .frame img {
  aspect-ratio: 3 / 4;
  object-position: center;
}

@media (min-width: 960px) {
  .hero figure {
    justify-self: end;
    width: fit-content;
    max-width: 100%;
  }

  .hero .frame {
    width: fit-content;
    max-width: 100%;
  }

  .hero .frame img {
    width: auto;
    max-width: 100%;
    height: calc(100svh - var(--actual-header-height) - 9.5rem);
    max-height: 38rem;
  }
}

.frame--portrait {
  padding: 0;
}

.frame--portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.caption {
  margin-top: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
  }
}

.quotes {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

@media (min-width: 800px) {
  .quotes {
    grid-template-columns: 1fr 1fr;
  }
}

.quote {
  margin: 0;
  padding: 0.15rem 0 0.15rem 0;
  padding-inline-start: 0.95rem;
  border-inline-start: 2px solid var(--gold);
}

.quote p {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--charcoal);
}

.emphasis {
  position: relative;
  margin-block: 1.2rem 1.4rem;
  padding: 1.2rem 1.25rem 1.15rem;
  border: 1px solid var(--gold);
  border-radius: 1.2rem;
}

.emphasis p {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.75;
  color: var(--orchid);
}

.pillars {
  display: grid;
  gap: 0;
  margin-top: 1.1rem;
}

.pillar {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 0.75rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid rgba(200, 164, 106, 0.45);
}

.index {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
  padding-top: 0.2rem;
}

.pillar h3 {
  color: var(--orchid);
}

.pillar p + p {
  margin-top: 0.45rem;
}

.practices {
  margin-top: 0.4rem;
}

.practice {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding-block: 0.75rem;
  border-bottom: 1px solid rgba(126, 90, 155, 0.16);
}

.practice-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.practice-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.practice h3 {
  color: var(--orchid);
}

.practice p {
  margin-top: 0.25rem;
  color: var(--muted);
}

.boat {
  display: grid;
  gap: 1.15rem;
  align-items: start;
}

@media (min-width: 900px) {
  .boat {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 2.4rem;
  }
}

.boat-panel {
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--gold);
  border-radius: 1.4rem 1.4rem 3.5rem 1.4rem;
}

.boat-panel p {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.75;
  color: var(--ivory);
}

.benefits {
  display: grid;
  gap: 1rem;
  margin-top: 1.1rem;
}

@media (min-width: 700px) {
  .benefits {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.4rem;
  }
}

.benefit h3 {
  color: var(--ivory);
}

.benefit p {
  margin-top: 0.3rem;
  color: var(--muted);
}

.program-intro {
  display: grid;
  gap: 1.15rem;
  align-items: start;
}

.program-intro .frame img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 28rem;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center;
}

.program-intro figure,
.program-intro .frame {
  width: fit-content;
  max-width: 100%;
  justify-self: center;
}

@media (min-width: 860px) {
  .program-intro {
    grid-template-columns: minmax(0, 1.15fr) minmax(14rem, 0.7fr);
    gap: 2rem;
  }
}

.timeline {
  margin-top: 1.15rem;
}

.timeline li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0.95rem;
  position: relative;
  padding-bottom: 1.25rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  inset-inline-start: 23px;
  top: 48px;
  bottom: 0;
  width: 1px;
  background: var(--gold);
}

.timeline li:last-child::before {
  display: none;
}

.day-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  background: var(--ivory);
  color: var(--orchid);
  font-family: var(--font-display);
  position: relative;
  z-index: 1;
}

.timeline h3 {
  color: var(--orchid);
}

.timeline p {
  margin-top: 0.3rem;
}

.after {
  margin-top: 1.3rem;
  padding-block: 1.1rem;
  border-block: 1px solid var(--gold);
}

.after h3 {
  color: var(--orchid);
}

.facilitator {
  display: grid;
  gap: 1.15rem;
  align-items: center;
}

#facilitator {
  background:
    radial-gradient(ellipse 32% 55% at 8% 40%, rgba(91, 42, 134, 0.09), transparent 70%),
    var(--ivory);
}

.portrait {
  justify-self: center;
  width: min(100%, 20rem);
}

@media (min-width: 860px) {
  .facilitator {
    grid-template-columns: minmax(15rem, 0.62fr) minmax(0, 1.38fr);
    gap: 2.4rem;
  }

  .portrait {
    justify-self: start;
  }
}

.role {
  color: var(--orchid-muted);
}

.plain-list {
  margin-top: 0.8rem;
}

.plain-list li,
.included li {
  position: relative;
  padding-inline-start: 1.05rem;
  margin-top: 0.4rem;
}

.plain-list li::before,
.included li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.82em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--gold);
}

.split {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.divider {
  height: 1px;
  margin-block: var(--subsection);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.included {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 700px) {
  .included {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.included h3 {
  color: var(--orchid);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--gold);
}

.faq {
  display: grid;
  gap: 0.55rem;
  max-width: 46rem;
}

.faq details {
  border-bottom: 1px solid rgba(200, 164, 106, 0.5);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 0.8rem 0.15rem;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--orchid);
}

.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  border-inline-end: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
}

.faq details[open] summary::after {
  transform: rotate(225deg);
}

.faq p {
  padding-bottom: 0.9rem;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  padding-top: 0.7rem;
  border-top: 1px solid var(--gold);
  color: var(--charcoal);
}

.step span {
  display: block;
  font-family: var(--font-display);
  color: var(--orchid);
}

.gap {
  margin-top: var(--subsection);
}

#apply .close-card {
  position: relative;
  margin-top: 1.35rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--charcoal);
  text-align: center;
}

#apply .close-card-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--gold);
  pointer-events: none;
}

#apply .close-card-mark svg {
  width: 1.35rem;
  height: 1.35rem;
}

#apply .close-card p {
  margin: 0;
  color: var(--charcoal);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1vw + 0.75rem, 1.15rem);
  line-height: 1.8;
  text-align: center;
}

#apply .close-card-rule {
  height: 1px;
  margin: 1rem auto 0.95rem;
  background: linear-gradient(
    to left,
    transparent,
    color-mix(in srgb, var(--gold) 75%, transparent),
    transparent
  );
}

#apply .close-card .actions {
  display: flex;
  justify-content: center;
  margin-top: 0;
  background: transparent;
}

#apply .close-card .btn-primary {
  background: transparent;
  border-color: transparent;
  color: var(--orchid);
}

#apply .close-card .btn-primary:hover {
  background: transparent;
  border-color: transparent;
  color: var(--orchid);
}

#journey .lead {
  margin-top: 1rem;
  padding: 0.8rem 0.95rem;
  border-inline-start: 2px solid var(--gold);
  color: var(--orchid);
  font-family: var(--font-serif);
}

.subsection {
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(200, 164, 106, 0.55);
}

.subsection h3 {
  margin-bottom: 0.45rem;
  color: var(--orchid);
}

.footer {
  position: relative;
  background: var(--ivory);
  color: var(--orchid);
  padding-top: 2rem;
  padding-bottom: 1.25rem;
}

.footer::before,
.footer::after {
  position: absolute;
  left: 50%;
  z-index: 2;
  pointer-events: none;
}

.footer::before {
  content: "";
  top: 0;
  width: min(72%, 40rem);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    #b08d4e 16%,
    var(--gold) 50%,
    #b08d4e 84%,
    transparent
  );
}

.footer::after {
  content: "";
  top: -0.38rem;
  width: 1.7rem;
  height: 0.78rem;
  transform: translateX(-50%);
  background-color: var(--ivory);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 14' fill='none'%3E%3Cpath d='M14 1.2c2.2 2.4 3.4 4.2.2 11.2C11.2 5.6 12.2 3.4 14 1.2z' stroke='%235B2A86' stroke-width='1.15'/%3E%3Cpath d='M14 2.2c-1.6 2-2.4 3.4 0 8.6' stroke='%23C8A46A' stroke-width='1.15'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.95rem 0.55rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.footer-mark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 44px;
  line-height: 0;
}

.footer-mark img {
  width: 6.75rem;
  height: auto;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 1.15rem;
}

.footer-phone {
  gap: 0.45rem;
  color: var(--orchid);
  font-weight: 700;
  font-size: 1.05rem;
}

.footer-phone svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.footer-phone:hover {
  color: var(--orchid);
}

#site-footer .social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
}

#site-footer .social a {
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--orchid);
  background: transparent;
}

#site-footer .social a:hover {
  background: rgba(91, 42, 134, 0.08);
  border-color: var(--orchid);
  color: var(--orchid);
}

#site-footer .social svg {
  width: 1.2rem;
  height: 1.2rem;
}

.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--orchid);
}

.legal {
  margin-top: 0.7rem;
  padding-top: 0.55rem;
  border-top: 0;
  background-image: linear-gradient(90deg, transparent, #b08d4e 18%, var(--gold) 50%, #b08d4e 82%, transparent);
  background-repeat: no-repeat;
  background-size: min(34%, 12rem) 1px;
  background-position: center top;
  color: var(--orchid-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  text-align: center;
}

@media (max-width: 767px) {
  .footer-row,
  .footer-contact {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer-row {
    gap: 0.85rem;
  }

  .footer-contact {
    gap: 0.55rem;
  }

  .footer-mark img {
    width: 5.25rem;
  }

  .legal {
    margin-top: 0.55rem;
  }
}

.section + .section::before,
.section + .section::after {
  position: absolute;
  z-index: 2;
  left: 50%;
  pointer-events: none;
}

.section + .section::before {
  content: "";
  top: calc(var(--section-pad) * 0.38);
  width: min(80%, 52rem);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    #b08d4e 14%,
    var(--gold) 50%,
    #b08d4e 86%,
    transparent
  );
}

.section + .section::after {
  content: "";
  top: calc(var(--section-pad) * 0.38 - 0.42rem);
  width: 2.4rem;
  height: 1.15rem;
  transform: translateX(-50%);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 14' fill='none'%3E%3Cpath d='M14 1.2c2.2 2.4 3.4 4.2.2 11.2C11.2 5.6 12.2 3.4 14 1.2z' stroke='%235B2A86' stroke-width='1.15'/%3E%3Cpath d='M14 2.2c-1.6 2-2.4 3.4 0 8.6' stroke='%23C8A46A' stroke-width='1.15'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.35rem 0.78rem;
}

.section + .section.section--orchid::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(228, 208, 164, 0.35) 14%,
    var(--gold) 50%,
    rgba(228, 208, 164, 0.35) 86%,
    transparent
  );
}

.section + .section.section--orchid::after {
  background-color: var(--orchid);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 14' fill='none'%3E%3Cpath d='M14 1.2c2.2 2.4 3.4 4.2.2 11.2C11.2 5.6 12.2 3.4 14 1.2z' stroke='%23E4D0A4' stroke-width='1'/%3E%3Cpath d='M14 2.2c-1.6 2-2.4 3.4 0 8.6' stroke='%23C8A46A' stroke-width='1'/%3E%3C/svg%3E");
}

.section--orchid + .section::before {
  top: 0.55rem;
}

.section--orchid + .section::after {
  top: 0.12rem;
  background-color: var(--ivory);
}

.deco-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.theme > * + * {
  margin-top: var(--stack);
}

.deco {
  position: absolute;
  color: var(--orchid);
  opacity: 0.48;
}

.deco--gold {
  color: var(--gold);
  opacity: 0.85;
}

.deco--soft {
  color: var(--orchid-muted);
  opacity: 0.28;
}

.section--orchid .deco {
  color: var(--gold);
  opacity: 0.55;
}

.deco--hero-bloom {
  width: 7.5rem;
  height: 9rem;
  inset-inline-start: -1.2rem;
  bottom: 0.5rem;
  opacity: 0.42;
}

.deco--journey {
  width: 6.5rem;
  height: 11rem;
  inset-inline-end: -0.4rem;
  top: 12%;
}

.deco--within {
  width: 5.5rem;
  height: 8rem;
  inset-inline-start: -0.4rem;
  bottom: 0.6rem;
  opacity: 0.36;
  transform: scaleX(-1);
}

.deco--why {
  width: 8rem;
  height: 5rem;
  inset-inline-start: 4%;
  bottom: 0.4rem;
  opacity: 0.34;
}

.deco--pillars {
  width: 5.5rem;
  height: 8rem;
  inset-inline-start: -0.6rem;
  top: 8%;
  transform: scaleX(-1);
}

.deco--practice {
  width: 9rem;
  height: 4.5rem;
  inset-inline-end: 2%;
  top: 0.4rem;
  opacity: 0.4;
}

.deco--nile {
  width: 8rem;
  height: 10rem;
  inset-inline-end: -0.5rem;
  top: 6%;
  opacity: 0.38;
}

.deco--days {
  width: 5rem;
  height: 12rem;
  inset-inline-end: 0;
  top: 18%;
  opacity: 0.36;
}

.deco--portrait {
  width: 7rem;
  height: 7rem;
  inset-inline-start: 6%;
  bottom: 4%;
  opacity: 0.4;
}

.deco--outcomes {
  width: 10rem;
  height: 4rem;
  inset-inline-start: -1rem;
  top: 1rem;
  opacity: 0.32;
}

.deco--included {
  width: 4.5rem;
  height: 7rem;
  inset-inline-start: 2%;
  bottom: 0.5rem;
}

.deco--faq {
  width: 6rem;
  height: 6rem;
  inset-inline-end: 1.5rem;
  bottom: 0.6rem;
  opacity: 0.28;
}

.deco--close-a {
  width: 9rem;
  height: 12rem;
  inset-inline-end: -1rem;
  top: -0.5rem;
  opacity: 0.4;
}

.deco--close-b {
  width: 11rem;
  height: 5rem;
  inset-inline-start: 0;
  bottom: 0.2rem;
  opacity: 0.4;
}

@media (max-width: 767px) {
  .deco--journey,
  .deco--within,
  .deco--days,
  .deco--portrait,
  .deco--outcomes {
    display: none;
  }

  .deco {
    opacity: 0.16;
  }

  .deco--gold,
  .section--orchid .deco {
    opacity: 0.34;
  }
}

.sticky {
  position: fixed;
  z-index: 35;
  inset-inline: 0;
  bottom: 0;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--ivory) 96%, white);
  border-top: 1px solid rgba(200, 164, 106, 0.5);
}

.sticky .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .sticky {
    display: none;
  }
}

.has-sticky {
  padding-bottom: calc(4.6rem + env(safe-area-inset-bottom));
}

@media (max-width: 767px) {
  .ornament {
    display: none;
  }
}

@keyframes section-open {
  from {
    opacity: 0;
    translate: 0 1.15rem;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes rule-draw {
  from { scale: 0 1; }
  to { scale: 1 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero :is(.kicker, .display, .hero-line, .byline),
  .section:not(.hero) :is(.kicker, h2, .lead) {
    animation: section-open 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-timeline: view();
    animation-range: entry 0% cover 22%;
  }

  .section .rule {
    transform-origin: 100% 50%;
    animation: rule-draw 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-timeline: view();
    animation-range: entry 8% cover 28%;
  }

  :is(
    .pillar,
    .practice,
    .benefit,
    .quote,
    .timeline li,
    .faq details,
    .step,
    .boat-panel,
    .emphasis,
    .after,
    .badge,
    .btn,
    .nav-links a,
    .footer-mark,
    .footer-phone,
    #site-footer .social a,
    .frame img
  ) {
    transition: translate 0.28s ease, scale 0.45s ease, box-shadow 0.28s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }

  :is(.pillar, .practice, .benefit, .quote, .boat-panel, .emphasis, .after, .faq details):hover {
    translate: 0 -0.35rem;
    box-shadow: 0 16px 30px -22px rgba(91, 42, 134, 0.4);
  }

  .timeline li:hover,
  .step:hover {
    translate: 0 -0.25rem;
  }

  .badge:hover,
  .btn:hover,
  .nav-links a:hover,
  .footer-phone:hover,
  #site-footer .social a:hover {
    translate: 0 -0.15rem;
  }

  .footer-mark:hover {
    scale: 1.05;
  }

  .frame:hover img {
    scale: 1.045;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    translate: none;
  }
}
