/* Independent 3D edition. Content always exists in the normal document flow. */
:root {
  --depth-ease: cubic-bezier(.16, 1, .3, 1);
  --reading-progress: 0;
}
.reading-progress { position: absolute; inset: auto 0 -1px; height: 2px; overflow: hidden; pointer-events: none; }
.reading-progress span { display: block; height: 100%; background: var(--terracotta); transform: scaleX(var(--reading-progress)); transform-origin: left; }
.site-header { background: var(--ivory); }
/* Keep native focus and anchor scrolling immediate when scripts are unavailable. */
html:not([data-motion]), html:not([data-motion]) body { scroll-behavior: auto; }
.hero { position: relative; overflow: clip; background: radial-gradient(ellipse at 85% 45%, #ded7c960, transparent 62%); }
.hero-grid { position: relative; gap: 2.5rem; }
.hero-copy { position: relative; z-index: 2; }
.hero-description { max-width: 30rem; }

/* The portrait, backing and sculpture occupy separate planes. */
.depth-scene { position: relative; perspective: 1400px; --tilt-x: 0deg; --tilt-y: 0deg; --travel-y: 0px; --scene-turn: -14deg; }
.hero-figure { width: calc(100% - 2rem); max-width: 28rem; margin-block: 1.8rem; }
.depth-plane { position: relative; z-index: 1; transform-style: preserve-3d; transform: translate3d(0, var(--travel-y), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotateZ(-1.5deg); }
.depth-backing { position: absolute; inset: 0; border: 1px solid #eee8dc; border-radius: 3rem .8rem 3rem .8rem; background: linear-gradient(135deg, #d6c4a7, #b3b9a6); transform: translate3d(18px, 22px, -30px); box-shadow: 12px 28px 35px -24px #29282450; }
.depth-backing::before { content: ""; position: absolute; inset: -.6rem .6rem .6rem -.6rem; border: 1px solid #9a998180; border-radius: inherit; transform: translateZ(-14px); }
.depth-plane > .portrait { transform: translateZ(22px); box-shadow: 0 18px 40px -24px #29282480, 0 0 0 5px var(--paper); }
.hero-portrait { border-radius: 3rem .8rem 3rem .8rem; }
.sculpture { position: absolute; inset: -2rem -1rem; pointer-events: none; perspective: 900px; transform-style: preserve-3d; transform: rotateZ(var(--scene-turn)); }
.sculpture-ring { position: absolute; width: 116%; height: 76%; left: -8%; top: 12%; border-radius: 50%; border: 12px solid #b7baa1; box-shadow: inset 2px 2px 0 #f6f0dc, inset -3px -3px 0 #637262, 2px 5px 0 #7d8976, 12px 24px 30px #4f62561a; }
.ring-one { transform: rotateY(-28deg) rotateX(53deg) translateZ(-30px); }
.ring-two { border-color: #c9af91; transform: rotateY(35deg) rotateX(58deg) rotateZ(72deg) translateZ(-55px); opacity: .65; }
.ring-three { width: 94%; height: 88%; left: 3%; top: 5%; border-width: 2px; border-color: #9a705254; box-shadow: none; transform: rotateY(-25deg) rotateX(20deg) rotateZ(20deg) translateZ(-80px); }
.about-section { overflow: clip; }
.about-figure { width: calc(100% - 1.5rem); margin-block: 1rem; }
.about-figure .depth-plane { transform: translate3d(0, var(--travel-y), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotateZ(1deg); }
.about-figure .depth-backing { border-radius: 1rem 4rem 1rem 1rem; background: linear-gradient(150deg, #a0ae9c, #d6c4a7); transform: translate3d(-14px, 18px, -24px); }
.about-portrait { border-radius: 1rem 4rem 1rem 1rem; }

/* Quiet depth in the reading surfaces, with no flip or concealed text. */
.themes-section { background: var(--paper); }
.themes-list { gap: .85rem; perspective: 1400px; }
.themes-list li { border: 1px solid #ded7cb; border-radius: 1.15rem; padding-inline: 1.1rem; background: var(--ivory); box-shadow: 0 5px 0 -2px #e4ddd1, 0 16px 24px -24px #29282460; transition: transform 450ms var(--depth-ease), box-shadow 450ms var(--depth-ease), background-color 220ms ease; }
.themes-list summary { padding-block: 1.35rem; }
.themes-list details > p { padding-left: 0; }
.themes-list h3 { font-size: 1.25rem; }
.themes-list li:focus-within { background: var(--paper); }
.couples-note { border-left-width: 1px; padding-left: 1.5rem; }
.session-facts { display: grid; gap: .8rem; }
.session-facts > div { padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--paper); box-shadow: 6px 6px 0 #ded5c944; }
.online-section { position: relative; overflow: clip; }
.steps-list { perspective: 1000px; }
.steps-list li { position: relative; padding: 1.3rem 1.15rem; border: 1px solid #96a39480; border-radius: 1rem; margin-bottom: .8rem; background: #ffffff08; box-shadow: 0 8px 0 -5px #263d2b40; transition: transform 500ms var(--depth-ease), background-color 250ms ease; }
.step-number { display: grid; place-items: center; padding: 0; width: 2.25rem; height: 2.25rem; border: 1px solid #a5b09a; border-radius: 50%; }
.pricing-table { border-collapse: separate; border-spacing: 0; border-radius: 1rem; box-shadow: 0 8px 0 -3px #d7cfc0, 0 22px 32px -27px #29282480; }
.pricing-table thead th:first-child { border-top-left-radius: 1rem; }
.pricing-table thead th:last-child { border-top-right-radius: 1rem; }
.pricing-table tbody tr:last-child th { border-bottom-left-radius: 1rem; }
.pricing-table tbody tr:last-child td { border-bottom-right-radius: 1rem; }
.pricing-table tbody tr { transition: background-color 220ms ease; }
.pricing-table tbody tr:hover { background: #eee8dd; }
.final-section { background: radial-gradient(ellipse at 50% 100%, #d6c4a780, transparent 65%), #e8dfd2; }

@media (max-width: 39.999rem) {
  .hero-grid { gap: 1rem; }
  .hero-figure { margin-block: .8rem 1.5rem; }
}

@media (max-width: 69.999rem) {
  .site-header.menu-enhanced[data-menu-open="true"] {
    max-height: calc(100dvh - var(--dock-size));
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding-block: 1rem;
  }
}
@media (max-width: 22.499rem) {
  .header-inner { gap: .5rem; }
  .site-header .brand { gap: .5rem; }
  .brand-monogram { width: 2.25rem; height: 2.25rem; }
  .site-header .brand-name { font-size: 1.3rem; }
  .menu-toggle { padding-inline: .5rem; gap: .45rem; }
}

@media (min-width: 40rem) {
  .themes-list { gap: 1.1rem; }
}
@media (min-width: 56rem) {
  .hero-grid { gap: 5.5rem; }
  .hero-figure { width: 100%; margin-block: 2rem; }
  .about-figure { width: 100%; }
}
@media (min-width: 70rem) {
  .hero { padding-block: 3rem 5rem; }
  .hero-grid { gap: 6rem; }
  .themes-list h3 { font-size: 1.4rem; }
  .themes-list li { padding-inline: 1.5rem; }
  .themes-list summary { padding-block: 1.6rem; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html:not([data-motion="off"]) .themes-list li:hover:not(:focus-within) { transform: translate3d(0, -3px, 5px) rotateX(1.2deg); box-shadow: 0 8px 0 -4px #e4ddd1, 0 22px 30px -25px #29282450; }
  html:not([data-motion="off"]) .steps-list li:hover { transform: perspective(1000px) translateZ(10px) rotateY(-1.5deg); background: #ffffff10; }
}
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html[data-motion="off"] .depth-plane { transform: none; }
html[data-motion="off"] .sculpture { transform: rotateZ(-14deg); }
html[data-motion="off"] .action-icon, html[data-motion="off"] .footer-bottom a > span { transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .depth-plane { transform: none !important; }
  .sculpture { transform: rotateZ(-14deg) !important; }
}
.education-certificates { margin-top: 2rem; }
.education-certificates h4 { margin: 0 0 .8rem; font-size: 1rem; }
.certificate-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; margin-top: .65rem; color: #4f6256; background: #faf7f1; border: 1px solid #d7cfc1; border-radius: 14px; text-decoration: none; }
.certificate-link strong { display: block; font-size: .9rem; font-weight: 600; line-height: 1.5; }
.certificate-link small { display: block; margin-top: .35rem; font-size: .75rem; color: #626159; }
.certificate-link > span:last-child { font-size: 1.4rem; }
.certificate-link:hover { border-color: #4f6256; }
.certificate-link:focus-visible { outline: 3px solid #794b3b; outline-offset: 4px; }
.education-certificates .certificate-note { margin: .8rem 0 0; font-size: .75rem; line-height: 1.6; color: #626159; }
