/* ==========================================================================
   Nelson Dario — Guided Hypnotherapy & Inner Work
   ========================================================================== */

:root {
  --cream: #f6f1e8;
  --cream-soft: #fffaf2;
  --cream-warm: #efe4d2;
  --sand: #e6d8c3;
  --taupe: #b7a38d;
  --charcoal: #2b2622;
  --charcoal-soft: #4b433d;
  --night: #090f1c;
  --muted: #796d61;
  --gold: #b08a4a;
  --gold-soft: #c7a86f;
  --gold-deep: #8a6834;
  --river: #246f80;
  --river-soft: #d8edf0;
  --sage: #8b9883;
  --clay: #b88468;
  --brown-soft: #6d594a;
  --line: rgba(43, 38, 34, 0.1);
  --line-strong: rgba(43, 38, 34, 0.18);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container: 1120px;
  --container-narrow: 760px;
  --radius: 6px;
  --radius-lg: 8px;
  --shadow-soft: 0 18px 46px rgba(43, 38, 34, 0.08);
  --shadow-card: 0 8px 30px rgba(43, 38, 34, 0.055);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background:
    linear-gradient(180deg, var(--cream-soft) 0%, var(--cream) 30%, var(--sand) 100%);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--gold-deep);
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

a:hover {
  color: var(--charcoal);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.65em;
  color: var(--charcoal);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.9rem, 6.4vw, 5.6rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

p {
  margin: 0 0 1.1em;
  color: var(--charcoal-soft);
}

ul {
  margin: 0 0 1.4em;
  padding-left: 1.2em;
}

li {
  margin-bottom: 0.5em;
  color: var(--charcoal-soft);
}

::selection {
  background: var(--gold-soft);
  color: var(--charcoal);
}

.container,
.container-narrow {
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

.container {
  max-width: var(--container);
}

.container-narrow {
  max-width: var(--container-narrow);
}

section {
  padding: clamp(4.75rem, 9vw, 7.6rem) 0;
}

.section-tight {
  padding: clamp(3.2rem, 6vw, 4.6rem) 0;
}

.section-compact {
  padding-top: 2rem;
}

.page-hero {
  padding: clamp(4.4rem, 7vw, 6rem) 0 2rem;
}

.text-center {
  text-align: center;
}

.center-copy {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
}

.large-copy {
  font-size: 1.08rem;
}

.muted-note {
  max-width: 560px;
  margin: 2.4rem auto 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.no-margin {
  margin: 0;
}

.mt-lg {
  margin-top: 1.8rem;
}

.mb-0 {
  margin-bottom: 0;
}

.aligned-grid {
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.form-section {
  padding-top: 1rem;
  padding-bottom: 5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
  color: var(--gold-deep);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--cream-soft);
  content: "";
}

.lead {
  margin-bottom: 1.6rem;
  color: var(--charcoal-soft);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  font-style: italic;
  line-height: 1.45;
  text-wrap: pretty;
}

.divider,
.divider-left {
  height: 1px;
  border: 0;
  background: var(--gold);
}

.divider {
  width: 64px;
  margin: 2rem auto;
}

.divider-left {
  width: 52px;
  margin: 1.5rem 0;
}

/* Header / Navigation
   ----------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 241, 232, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  transition: background-color 360ms ease, box-shadow 360ms ease, border-color 360ms ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line-strong);
  background: rgba(246, 241, 232, 0.94);
  box-shadow: 0 10px 30px rgba(43, 38, 34, 0.06);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  min-height: 78px;
  margin: 0 auto;
  padding: 0.8rem 2rem;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.75rem;
  color: var(--charcoal);
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 54px;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
}

.brand-name,
.footer-brand-name {
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1;
}

.brand small,
.footer-brand small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  position: relative;
  color: var(--charcoal-soft);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--charcoal);
}

.nav-links a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 1rem;
  border: 1px solid var(--charcoal);
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--cream-soft) !important;
  font-size: 0.82rem;
}

.nav-cta:hover {
  border-color: var(--gold-deep);
  background: var(--gold-deep);
  color: var(--cream-soft) !important;
}

.language-menu {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav-links .language-menu {
  margin-left: -0.2rem;
}

.language-option {
  color: var(--muted) !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
}

.language-option.active,
.language-option:hover {
  color: var(--gold-deep) !important;
}

.language-menu .language-option::after {
  display: none;
}

.footer-language {
  margin-top: 1rem;
}

.footer-language span:first-child {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(246, 241, 232, 0.5);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-language .language-menu {
  color: rgba(246, 241, 232, 0.48);
}

.footer-language .language-option {
  color: rgba(246, 241, 232, 0.76) !important;
}

.footer-language .language-option.active,
.footer-language .language-option:hover {
  color: var(--gold-soft) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.72);
  color: var(--charcoal);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  border-color: rgba(36, 111, 128, 0.26);
  background: var(--cream-soft);
  box-shadow: 0 10px 24px rgba(43, 38, 34, 0.08);
}

.nav-toggle:active,
.nav-toggle.touch-active {
  transform: scale(0.96);
}

.nav-toggle svg line {
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.nav-toggle[aria-expanded="true"] svg line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] svg line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] svg line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero
   ----------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.4rem, 6vw, 5.6rem) 0 clamp(3.6rem, 7vw, 5.4rem);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.72fr);
  gap: clamp(2.5rem, 7vw, 5.5rem);
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.hero-copy h1 {
  max-width: 12ch;
  margin-bottom: 1.3rem;
}

.hero-copy h1 em {
  color: var(--gold-deep);
  font-style: italic;
}

.hero-copy .lead {
  max-width: 680px;
}

.hero-meta {
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-intro {
  max-width: 620px;
  margin-top: 1.35rem;
}

.hero-visual {
  display: grid;
  min-height: 440px;
  place-items: center;
}

.portal-scene {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 337 / 440;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--cream-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
  -webkit-tap-highlight-color: transparent;
}

.portal-scene::before {
  display: none;
}

.portal-scene::after {
  display: none;
}

.portal-mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 520ms ease;
}

.portal-path {
  display: none;
}

.portal-note {
  display: none;
}

/* Buttons
   ----------------------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.2;
  overflow: hidden;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--cream-soft) !important;
  box-shadow: 0 12px 28px rgba(138, 104, 52, 0.18);
}

.btn-primary:hover {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: var(--cream-soft) !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(43, 38, 34, 0.16);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 250, 242, 0.42);
  color: var(--charcoal) !important;
}

.btn-secondary:hover {
  border-color: var(--gold);
  background: var(--cream-warm);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px);
}

.btn-full {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.btn-group.left {
  justify-content: flex-start;
}

/* Cards & feature blocks
   ----------------------------------------------------------------------- */

.section-heading {
  margin-bottom: 3rem;
  text-align: center;
}

.section-heading.left {
  text-align: left;
}

.section-heading p {
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
}

.section-heading.left p {
  margin-left: 0;
}

.grid-2,
.grid-3,
.fit-grid {
  display: grid;
  gap: 1.4rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
}

.session-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 980px;
  margin: 2rem auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 242, 0.66);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.session-fact {
  position: relative;
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 1.25rem 1.2rem;
  border-right: 1px solid var(--line);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
  -webkit-tap-highlight-color: transparent;
}

.session-fact:last-child {
  border-right: 0;
}

.session-fact span {
  color: var(--river);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.session-fact strong {
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.25;
}

.pricing-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  max-width: 980px;
  margin: 2.4rem auto 0;
}

.pricing-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.85rem;
  min-height: 260px;
  padding: clamp(1.55rem, 3vw, 2.15rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 242, 0.7);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.pricing-card.featured {
  border-color: rgba(176, 138, 74, 0.36);
  background: rgba(255, 250, 242, 0.86);
}

.pricing-card.featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--river), var(--gold));
}

.pricing-label {
  color: var(--river);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.pricing-amount {
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.pricing-amount-text {
  font-size: clamp(1.3rem, 1.55vw, 1.5rem);
  line-height: 1.06;
}

.pricing-card p {
  margin: 0;
  color: var(--charcoal-soft);
  font-size: 0.98rem;
}

.pricing-note {
  max-width: 760px;
  margin: 1.6rem auto 0;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(36, 111, 128, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 242, 0.62);
  text-align: center;
}

.pricing-note p {
  margin: 0;
  color: var(--charcoal-soft);
  font-size: 0.98rem;
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 242, 0.66);
  box-shadow: var(--shadow-card);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  -webkit-tap-highlight-color: transparent;
}

.card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 10px 26px rgba(43, 38, 34, 0.07);
  transform: translateY(-1px);
}

.card h3 {
  margin-top: 0;
}

.card .number {
  display: block;
  margin-bottom: 1rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2.25rem;
  line-height: 1;
}

.icon-card {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.line-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(176, 138, 74, 0.45);
  border-radius: 999px;
  color: var(--gold-deep);
}

.line-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.session-note {
  position: relative;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.8) 0%, rgba(239, 228, 210, 0.78) 100%);
}

.session-note .line-icon {
  margin: 0 auto 1rem;
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(246, 241, 232, 0.62) 0%, rgba(239, 228, 210, 0.74) 52%, rgba(246, 241, 232, 0.7) 100%);
}

.band-soft {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.72) 0%, rgba(216, 237, 240, 0.22) 100%);
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 242, 0.58);
  box-shadow: var(--shadow-card);
  list-style: none;
  overflow: hidden;
}

.signal-list li {
  position: relative;
  display: grid;
  gap: 0.28rem;
  margin: 0;
  padding: 1.2rem 1.3rem;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
  -webkit-tap-highlight-color: transparent;
}

.signal-list li:last-child {
  border-right: 0;
}

.signal-list strong {
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.2;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin: 2rem auto 0;
  gap: 1rem;
}

.support-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 242, 0.72);
  box-shadow: var(--shadow-card);
  padding: clamp(1.35rem, 2.6vw, 1.8rem);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
  -webkit-tap-highlight-color: transparent;
}

.support-card h3 {
  margin: 0;
  color: var(--charcoal);
}

.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.support-card::before {
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--river);
  content: "";
}

.support-card:nth-child(2)::before {
  background: var(--gold);
}

.support-card:nth-child(3)::before {
  background: var(--sage);
}

.support-card:nth-child(4)::before {
  background: var(--clay);
}

.cta-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(139, 152, 131, 0.18) 0%, rgba(255, 250, 242, 0.76) 44%, rgba(176, 138, 74, 0.14) 100%);
  padding: clamp(4rem, 7vw, 5.8rem) 0;
  text-align: center;
}

.cta-strip h2 {
  margin-bottom: 0.7rem;
}

.cta-strip p {
  max-width: 560px;
  margin-right: auto;
  margin-bottom: 2rem;
  margin-left: auto;
}

/* Prose pages
   ----------------------------------------------------------------------- */

.prose {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 2rem;
}

.prose h2 {
  margin-top: 3.4rem;
  margin-bottom: 1rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 2.4rem;
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.prose .prose-spaced {
  margin-top: 3.5rem;
}

.prose p,
.prose li {
  font-size: 1.02rem;
}

.prose ul li::marker {
  color: var(--gold);
}

.callout {
  margin: 2rem 0;
  padding: 1.5rem 1.7rem;
  border: 1px solid rgba(176, 138, 74, 0.28);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: rgba(239, 228, 210, 0.68);
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout em {
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-style: italic;
}

.callout-spaced {
  margin-top: 3rem;
}

.question-library {
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
}

.question-group {
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0;
}

.question-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--gold-deep);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  list-style: none;
  text-transform: uppercase;
}

.question-group summary::-webkit-details-marker {
  display: none;
}

.question-group summary::after {
  color: var(--muted);
  content: "+";
  font-size: 1rem;
  line-height: 1;
}

.question-group[open] summary::after {
  content: "-";
}

.question-group ul {
  margin-top: 1rem;
  margin-bottom: 0.2rem;
}

.question-group li {
  margin-bottom: 0.65rem;
}

.fit-grid .card h3 {
  margin-bottom: 1rem;
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.fit-grid .card.no {
  background: rgba(246, 241, 232, 0.46);
}

.fit-grid .card.no h3 {
  color: var(--brown-soft);
}

/* Forms
   ----------------------------------------------------------------------- */

.form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 242, 0.72);
  box-shadow: var(--shadow-card);
  padding: clamp(1.8rem, 4vw, 3rem);
}

.booking-card {
  display: grid;
  gap: 1.15rem;
  text-align: center;
}

.booking-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.booking-card p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--charcoal-soft);
}

.booking-card .btn {
  max-width: 420px;
  margin: 0 auto;
}

.booking-card .form-price-note {
  margin: 0;
  text-align: left;
}

.booking-card .form-help {
  margin-top: 0;
}

.booking-contact {
  display: grid;
  gap: 0.75rem;
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid rgba(36, 111, 128, 0.16);
  border-radius: var(--radius);
  background: rgba(244, 248, 246, 0.7);
}

.booking-contact strong {
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.booking-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.booking-contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.76);
  color: var(--teal-deep);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-row {
  margin-bottom: 1.4rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--cream-soft);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.88rem 1rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fffdf8;
  box-shadow: 0 0 0 3px rgba(176, 138, 74, 0.14);
}

.form-row textarea {
  min-height: 122px;
  resize: vertical;
  line-height: 1.6;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}

.radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  margin: 0;
  color: var(--charcoal-soft);
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 1.6rem 0 2rem;
  padding: 1.15rem;
  border: 1px solid rgba(176, 138, 74, 0.26);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(239, 228, 210, 0.66);
}

.checkbox-row input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 5px;
}

.checkbox-row label {
  margin: 0;
  color: var(--charcoal-soft);
  font-size: 0.94rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
}

.form-help {
  margin-top: 1.4rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.form-price-note {
  display: grid;
  gap: 0.45rem;
  margin: 0.4rem 0 1.3rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid rgba(176, 138, 74, 0.24);
  border-radius: var(--radius);
  background: rgba(239, 228, 210, 0.45);
}

.form-price-note strong {
  color: var(--gold-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.form-price-note span {
  color: var(--charcoal-soft);
  font-size: 0.93rem;
  line-height: 1.55;
}

.form-thanks {
  display: none;
  padding: 2rem 0;
  text-align: center;
}

.form-thanks img {
  width: 72px;
  margin: 0 auto 0.8rem;
}

.form-thanks h3 {
  font-size: 1.8rem;
}

.form-thanks p {
  max-width: 440px;
  margin: 0 auto;
}

/* Resources list
   ----------------------------------------------------------------------- */

.resource-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.resource-list li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--line);
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
  -webkit-tap-highlight-color: transparent;
}

.resource-list li:last-child {
  border-bottom: none;
}

.resource-list h3 {
  margin: 0 0 0.3rem;
  font-size: 1.35rem;
}

.resource-meta {
  display: block;
  margin-bottom: 0.38rem;
  color: var(--river);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.resource-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.resource-list .tag {
  color: var(--gold-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 180ms ease, transform 180ms ease;
}

/* Footer
   ----------------------------------------------------------------------- */

.site-footer {
  margin-top: 2rem;
  padding: 4rem 0 2rem;
  background: var(--night);
  color: rgba(246, 241, 232, 0.72);
}

.site-footer a {
  color: rgba(246, 241, 232, 0.85);
}

.site-footer a:hover {
  color: var(--gold-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: grid;
  gap: 0.75rem;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand .brand-mark {
  width: 37px;
  height: 48px;
}

.footer-brand-name {
  color: var(--cream-soft);
}

.footer-brand small {
  color: rgba(246, 241, 232, 0.52);
}

.footer-grid h4 {
  margin-bottom: 1rem;
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li {
  margin-bottom: 0.5rem;
  color: rgba(246, 241, 232, 0.72);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(246, 241, 232, 0.1);
  padding-top: 2rem;
  color: rgba(246, 241, 232, 0.5);
  font-size: 0.82rem;
}

.disclaimer {
  max-width: 540px;
  color: rgba(246, 241, 232, 0.56);
  font-size: 0.84rem;
  line-height: 1.62;
}

/* Motion
   ----------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 780ms ease, transform 780ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.card.reveal {
  transform: translateY(24px);
}

.card.reveal.is-visible {
  transform: none;
}

.divider,
.divider-left {
  transform-origin: left center;
  transition: transform 780ms cubic-bezier(0.2, 0.7, 0.2, 1) 120ms;
}

.divider {
  transform-origin: center;
}

.divider.reveal,
.divider-left.reveal {
  transform: scaleX(0);
}

.divider.reveal.is-visible,
.divider-left.reveal.is-visible {
  transform: scaleX(1);
}

/* Pointer and touch feedback
   ----------------------------------------------------------------------- */

.btn:focus-visible,
.nav-toggle:focus-visible,
.nav-links a:focus-visible,
.language-option:focus-visible,
.resource-list .tag:focus-visible {
  outline: 2px solid rgba(36, 111, 128, 0.42);
  outline-offset: 5px;
}

:is(.card, .support-card, .signal-list li, .session-fact, .resource-list li, .portal-scene) {
  isolation: isolate;
}

:is(.card, .support-card, .signal-list li, .session-fact, .resource-list li, .portal-scene)::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  background:
    linear-gradient(135deg, rgba(36, 111, 128, 0.035) 0%, rgba(176, 138, 74, 0.055) 100%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-10px, 0, 0);
  transition: opacity 220ms ease, transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

:is(.card, .support-card, .signal-list li, .session-fact, .resource-list li) > * {
  position: relative;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-1px);
  }

  :is(.card, .support-card, .signal-list li, .session-fact, .resource-list li, .portal-scene):hover,
  :is(.card, .support-card, .signal-list li, .session-fact, .resource-list li).reveal.is-visible:hover {
    border-color: rgba(36, 111, 128, 0.18);
    box-shadow: 0 12px 30px rgba(43, 38, 34, 0.075);
    transform: translateY(-1.5px);
  }

  :is(.card, .support-card, .signal-list li, .session-fact, .resource-list li, .portal-scene):hover::after,
  :is(.card, .support-card, .signal-list li, .session-fact, .resource-list li).reveal.is-visible:hover::after {
    opacity: 0.72;
    transform: translate3d(0, 0, 0);
  }

  .resource-list li:hover .tag {
    color: var(--charcoal);
    transform: translateX(0.12rem);
  }

  .portal-scene:hover .portal-mark {
    filter: saturate(1.03);
    transform: scale(1.012);
  }
}

@media (hover: none), (pointer: coarse) {
  .btn.touch-active,
  .btn:active {
    transform: scale(0.992);
  }

  :is(.card, .support-card, .signal-list li, .session-fact, .resource-list li, .portal-scene).touch-active,
  :is(.card, .support-card, .signal-list li, .session-fact, .resource-list li).reveal.is-visible.touch-active {
    border-color: rgba(36, 111, 128, 0.24);
    box-shadow: 0 10px 24px rgba(43, 38, 34, 0.07);
    transform: scale(0.992);
  }

  :is(.card, .support-card, .signal-list li, .session-fact, .resource-list li, .portal-scene).touch-active::after,
  :is(.card, .support-card, .signal-list li, .session-fact, .resource-list li).reveal.is-visible.touch-active::after {
    opacity: 0.66;
    transform: translate3d(0, 0, 0);
  }

  .resource-list li.touch-active .tag {
    color: var(--charcoal);
    transform: translateX(0.08rem);
  }

  .portal-scene.touch-active .portal-mark {
    filter: saturate(1.02);
    transform: scale(1.008);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .touch-active,
  .portal-scene:hover .portal-mark,
  .portal-scene.touch-active .portal-mark {
    transform: none !important;
  }
}

/* Responsive
   ----------------------------------------------------------------------- */

@media (max-width: 1020px) {
  .brand small {
    max-width: 210px;
  }

  .session-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .session-fact {
    border-bottom: 1px solid var(--line);
  }

  .session-fact:nth-child(2n) {
    border-right: 0;
  }

  .session-fact:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-cta {
    padding: 0 0.9rem;
  }
}

@media (max-width: 880px) {
  section {
    padding: 4.2rem 0;
  }

  .hero {
    padding: 4.1rem 0 4.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
    text-align: center;
  }

  .hero-copy h1,
  .hero-copy .lead,
  .hero-intro {
    margin-right: auto;
    margin-left: auto;
  }

  .btn-group.left {
    justify-content: center;
  }

  .hero-visual {
    min-height: auto;
  }

  .portal-scene {
    width: min(100%, 320px);
  }

  .grid-2,
  .grid-3,
  .fit-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .signal-list,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .signal-list li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-list li:last-child {
    border-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .resource-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .nav {
    min-height: 72px;
    padding: 0.75rem 1.4rem;
  }

  .brand-mark {
    width: 34px;
    height: 46px;
  }

  .brand-name {
    font-size: 1.28rem;
  }

  .brand small {
    max-width: none;
    font-size: 0.62rem;
  }

  .site-header.menu-open {
    border-bottom-color: transparent;
    background: rgba(246, 241, 232, 0.96);
    box-shadow: 0 14px 38px rgba(43, 38, 34, 0.09);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 1.25rem;
    left: 1.25rem;
    display: flex;
    visibility: hidden;
    align-items: stretch;
    flex-direction: column;
    gap: 0.18rem;
    max-height: min(72vh, 520px);
    padding: 0.75rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: rgba(255, 250, 242, 0.97);
    box-shadow: 0 22px 54px rgba(43, 38, 34, 0.14);
    opacity: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: none;
    transform: translateY(-0.45rem) scale(0.985);
    transform-origin: top center;
    transition: opacity 180ms ease, transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1), visibility 180ms ease;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    padding: 0 0.9rem;
    border-radius: var(--radius);
    font-size: 1rem;
    white-space: normal;
  }

  .nav-links a:not(.nav-cta)::after {
    display: none;
  }

  .nav-links > li > a:not(.nav-cta):hover,
  .nav-links > li > a:not(.nav-cta).touch-active,
  .nav-links > li > a.active:not(.nav-cta) {
    background: rgba(216, 237, 240, 0.42);
    color: var(--charcoal);
  }

  .nav-links > li > a.active:not(.nav-cta)::before {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--gold);
    content: "";
  }

  .nav-links .language-menu {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin: 0.35rem 0;
    padding: 0.78rem 0.9rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .nav-links .language-menu::before {
    margin-right: auto;
    color: var(--muted);
    content: attr(aria-label);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }

  .nav-links .language-menu .language-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 42px;
    min-height: 36px;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
  }

  .nav-links .language-menu .language-option.active {
    background: rgba(176, 138, 74, 0.1);
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
    min-height: 50px;
    margin-top: 0.35rem;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .container,
  .container-narrow,
  .prose {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .btn {
    width: 100%;
    min-height: 48px;
    padding: 0 1.2rem;
  }

  .btn-group {
    width: 100%;
  }

  .session-overview {
    grid-template-columns: 1fr;
  }

  .session-fact,
  .session-fact:nth-child(2n),
  .session-fact:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .session-fact:last-child {
    border-bottom: 0;
  }

  .brand-copy {
    gap: 0;
  }

  .brand small {
    display: none;
  }

  .portal-note {
    font-size: 0.62rem;
  }

  .form {
    padding: 1.55rem;
  }

  .footer-bottom {
    display: grid;
  }
}
