

@media (min-width: 1200px) {
.heading-font {
    font-family: 'Bodoni Moda', serif;
}

 .section-title {
	 font-family: 'Bodoni Moda', serif;
     font-size: 36px;
     font-weight: 400;
     text-align: center;
	 letter-spacing: 5px;
 }

.content-font {
    font-family: 'Work Sans', sans-serif;
}

.body-text {
    font-family: 'Work Sans', sans-serif;
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Bodoni Moda', serif;
	letter-spacing: 4px;
	color: #000;
    font-weight: 400;
}


p, div, span, li, td, th {
    font-family: 'Work Sans', sans-serif;
	color: #000;
    font-weight: 200;
}

/* Alternative approach using CSS custom properties 
:root {
    --heading-font: 'Bodoni Moda', serif;
    --content-font: 'Work Sans', sans-serif;
}
*/



 p {
     font-size: 16px;
	 font-weight: 300;
     line-height: 1.5;
     margin: 0;
     color: #000;
	 letter-spacing: 0.5px;
 }

 * {
     border-radius: 0 !important;
 }


/*===========================
          HERO
===========================*/


 #H-1 {
     font-size: 24px;
     font-weight: 400;
     line-height: 22px;
     margin-top: 0px;
     margin-right: 12%;
     text-align: right;
 }

 /* Navbar styles */
 .navbar {
     position: fixed;
     top: 0;
     width: 100%;
     z-index: 550;
     padding: 2rem 2rem;
     display: flex;
     height: 60px;
     justify-content: center;
     background-color: rgba(255, 255, 255, 0.27);  /*Lighter transparency */
     backdrop-filter: blur(2px);  /*Frosted glass effect */
     -webkit-backdrop-filter: blur(2px);  /*Safari support */
     /*border: 3px solid rgba(255, 255, 255, 0.05);  Soft border */
     box-shadow: 0 4px 20px rgba(250, 250, 250, 0.3);
     transition: background-color 1.5s ease, box-shadow 1.2s ease;
	 z-index: 10050 !important;
 }

 .navbar.scrolled {
     background-color: rgba(255, 255, 255, 0.95);  /* opaque when scrolled */
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
 }

 .navbar ul {
     display: flex;
     list-style: none;
     gap: 4rem;
     line-height: 22px;
     justify-content: left;  /* horizontal centering */
     align-items: center;  /* vertical centering */
 }

 .navbar a {
     text-decoration: none;
     font-size: 20px;
     color: #333;
     font-weight: 300;
     padding: 0.5rem 1rem;
     position: relative;
 }
 
 /* Center-out underline on hover */
 .navbar a::after {
     content: "";
     position: absolute;
     left: 0;
     bottom: 0;
     /* position at the bottom of text */
     width: 100%;
     height: 1px;
     /* thickness of underline */
     background-color: #3c3c3c;
     /* underline color */
     transform: scaleX(0);
     /* start hidden */
     transform-origin: center;
     transition: transform 0.7s ease;
     /* duration of animation */
 }

 /* Hover state triggers the underline animation */
 .navbar a:hover::after {
     transform: scaleX(1);
     /* expand from center to full width */
 }

 /* Optional: ensure visited links don't have underline by default */
 .navbar a:visited::after {
     transform: scaleX(0);
 }


 .hero {
     position: relative;
     height: 950px;
     /* adjust as needed */
     overflow: hidden;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .hero-bg {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     /* slightly taller for parallax movement */
     background: url('../images/landing-22.jpg') no-repeat center / cover;
     will-change: transform;
     /* hints the browser for smooth GPU transform */
     backface-visibility: hidden;
     transform: translate3d(0, 0, 0);
     /* initialize GPU acceleration */
     z-index: 0;
 }



 .hero-content {
     display: flex;
     align-items: center;
     position: absolute;
     justify-content: center;
     width: 400px;
     height: auto;
     bottom: 40px;
     left: 50px;
     z-index: 100;
     background-color: rgba(255, 255, 255, 0.4);
     padding: 1rem;
 }
 


 #H-3 {
     width: 200px;
	 height: auto;
	 color: 000;
     /*margin-top: 10px;*/
     text-align: center;
     font-size: 25px;
     font-weight: 400;
     /*text-shadow: 0 0 0px rgba(255, 255, 255, 1);*/
     font-style: italic;
     font-variant: normal;
     line-height: 2.85rem;
	letter-spacing: 0px !important;
 }
 
 
 /* Invisible anchor that pulls scroll position down to reveal the title fully */
.anchor-offset {
  position: relative;
  display: block;
  height: 0;
  top: -5px;  /*adjust to match navbar height + the negative translate overlap */
}
 


/*===========================
          THERAPY
===========================*/


.analysis {
	
	background-color: #6283A4;
}


.portrait-img {
    max-width: 260px;
    width: 100%;
    height: auto;
    display: block;
    margin-top: -100px;
    margin-left: 30px;
	padding-bottom: 20px;

}

.title-stack1 {
    display: none;
}
.title-stack2 {
    padding-top: 12px;
	margin-bottom: 10px;
}

.analysis p{
	
	margin-top: 10px;
	text-align: center;
}

.chair-image {
	opacity: 1;
}

#analysis2 {
	background-color: #6283A4;
	align-items: center;
}
#analysis2 p{
	padding: 70px 40px 70px 40px;
	max-width:  1400px;
	margin: 0 auto;
	text-align: center;
}







/*===========================
      BOOK / CAROUSEL
===========================*/


 .book {
     margin-top: 100px;
 }

 .book-content {
     display: flex;
     align-items: stretch;
     /* both sides equal height */
     gap: 8rem;
     margin: 4rem auto;
     max-width: 800px;
 }

 .book-image,
 .book-carousel {
     flex: 1;
     display: flex;
     flex-direction: column;
 }

 .book-image img {
     width: 100%;
     height: auto;
     object-fit: contain;
 }

 .book-carousel {
     padding: 2rem;
     display: flex;
     flex-direction: column;
     justify-content: space-between;  /* text + dots spacing */
 }

 /* Quote container fills available height */
 .quote-container {
     position: relative;
     flex: 1;
     /* fill vertical space equally with image */
     display: flex;
     align-items: center;
     justify-content: center;
     min-height: 300px;
 }
 .carousel-font {
	 font-family: 'Bodoni Moda', serif;
     font-size: 26px;
     font-weight: 400;
     text-align: center;
	 letter-spacing: 0px;
	 line-height: 3.5rem;
	 margin-top: -25px;
	 padding-top: 0;
 }
 .quote {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     opacity: 0;
     visibility: hidden;
     transition: opacity 0.8s ease, visibility 0.8s ease;
     text-align: center;
     line-height: 1;
     max-width: 95%;
     width: 100%;  /* stretch to fill container */
     padding: 0 2rem;
 }

 .quote .small-text {
     font-size: 0.6em;
 }

 .quote.active {
     opacity: 1;
     visibility: visible;
 }

.big-quote {
  font-family: 'Bodoni Moda', serif;
  padding-bottom: 0;
  font-size: 8em;
  font-weight: 600;
  line-height: 1;
  display: block;
  margin: 0 auto 0 auto;
  opacity: 1;
}


 /* Dots pinned at bottom of carousel */
 .carousel-dots {
     display: flex;
     justify-content: center;
     gap: 10px;
     padding-top: 1rem;
 }

 .carousel-dots .dot {
     height: 10px;
     width: 10px;
	 border-radius: 50% !important;
     background-color: #bbb;
     cursor: pointer;
     transition: background-color 0.4s ease, transform 0.3s ease;
 }

 .carousel-dots .dot.active {
     background-color: #333;
     transform: scale(1.3);
 }

 .book-carousel.bg1 {
     background-color: #FFD181;
 }

 .book-carousel.bg2 {
     background-color: #e3f2fd;
 }

 .book-carousel.bg3 {
     background-color: #A0B39D;
 }

 .book-carousel.bg4 {
     background-color: #6BA2BF;
 }

 .book-carousel.bg5 {
     background-color: #FFCEA6;
 }

 .book-carousel.bg6 {
     background-color: #AEADA1;
 }

 .book-carousel.bg7 {
     background-color: #e3f2fd;
 }

 .book-carousel.bg8 {
     background-color: #fff3e0;
 }


/* Initial off-screen states */
.book-image,
.book-carousel {
  will-change: transform, opacity;
  opacity: 0;
}

.book-image {
  transform: translateX(-40px);
  box-shadow: 0 14px 50px 0 rgba(0,0,0,0.6); /* 25px blur radius, 25px spread */
}

.book-carousel {
  transform: translateX(40px);
   box-shadow: 0 14px 50px 0 rgba(0,0,0,0.6); /* 25px blur radius, 25px spread */
}


.book.in-view .book-image,
.book.in-view .book-carousel {
  opacity: 1;
  transform: translateX(0);
}


.book.in-view .book-image {
  transition: transform 600ms ease, opacity 600ms ease;
}

.book.in-view .book-carousel {
    transition: transform 700ms ease, opacity 700ms ease 80ms, background-color 0.8s ease;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .book-image, .book-carousel {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.book-links {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding-top: 2rem;
  margin: 3rem auto;
  max-width: 800px;
}

.book-link {
  display: inline-block;
  padding: 0.75rem 1rem;
  background-color: #fff;
  border: 1px solid #cfd8e3;
  border-radius: 0;
  color: #000;
  text-decoration: none;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  transition: background-color 0.3s ease;
}

.book-link,
.book-link:link,
.book-link:visited,
.book-link:active {
  background-color: #fff;
  color: #000;
  text-decoration: none;
}

.book-link:hover {
  background-color: #f1f1f1;
  color: #000;
  /*text-decoration: underline;*/
}


/*===========================
          EVENTS
===========================*/


.events {
     margin-top: 140px;
 }

.events-table,
.events-table td,
.events-table .date,
.events-table .details,
.events-table .title,
.events-table .location {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #000;
  letter-spacing: 0.5px;
  line-height: 1.5;
}

/* Overlay the EVENTS title on the speaking.jpg image */
.events .speaking {
  position: relative;
}

.events .speaking img {
  display: block;
  width: 100%;
  height: auto;
}

.events .section-title {
  position: absolute;
  top: 5rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 4px 10px;
  color: #000;
  z-index: 2;
  pointer-events: none;
}


.events-table { 
  background-color: #6283A4; 
  padding: 3rem 0; 
}
.events-table table { 
  width: 100%; 
  border-collapse: collapse; 
}
.events-table td {
  margin-top: 0px;	
  vertical-align: top; 
  padding: 1rem 0; 
}
.events-table .date { 
  line-height: 1.4;
  width: 45%; 
  text-align: right; 
  padding-right: 3rem; 
}
.events-table .details { 
  width: 55%;  
}
.events-table .title { 
  line-height: 1.3; 
}
.events-table .location { 
  margin-top: 0;
  line-height: 1.3; 
}
.events-cta {
  text-align: center;
  padding: 1.5rem 0 0; /* small space above the button */
}

.btn.small {
  padding: 0.45rem 0.9rem;
  font-size: 14px;
}

.btn.tertiary {
  background: #f4f6f8;
  color: #111;
  border: 1px solid #cfd8e3;
}

.btn.tertiary:hover {
  background: #e9eef3;
}

/*===========================
          CONTACT
===========================*/


.contact, .subscribe {
  padding: 4rem 0;
  margin-top: 20px;
}
.contact-form, .subscribe-form {
  max-width: 720px;
  padding-top: 3rem;
  margin: 0 auto;
}
.contact-form .row {
  display: flex;
  gap: 1.25rem;
}
.contact-form .row .field { flex: 1; }
.field { display: flex; flex-direction: column; margin-bottom: 1rem; }
label { font-weight: 300; margin-bottom: 0.4rem; }
input[type="text"], input[type="email"], textarea {
  padding: 0.8rem 0.9rem;
  border: 1px solid #cfd8e3;
  background: #fff;
  font-size: 16px;
}

/*===========================
    SUBSCRIBE / FOOTER
===========================*/

.subscribe-inner h3 {
  color: #000;
  letter-spacing: 0px !important;
}
textarea { resize: vertical; }
.btn { padding: 0.7rem 1.2rem; border: 0; cursor: pointer; }
.btn.primary { background: #6283A4; color: #fff; }
.btn.secondary { background: #000; color: #fff; }
.status { margin-top: 0.75rem; font-size: 0.95rem; color: #1f2b38; }
.subscribe { background: #6283A4; }
.subscribe-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.subscribe-form { display: flex; gap: 0.75rem; justify-content: center; }
.subscribe-form input[type="email"] { min-width: 280px; }

.site-footer {
  background: transparent; /* inherit the blue from .subscribe */
  padding: 2rem 0 3rem;
  color: #000;
}

.footer-inner {
  max-width: 720px;       /* matches your .subscribe-inner width */
  margin: 0 auto;         /* centers the block */
  padding: 0 16px;        /* small side padding for mobile edges */
  text-align: center;     /* center-align text and icons */
}

.social {
  display: flex;
  gap: 3rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border: 1px solid #cfd8e3;
  background: #f4f6f8;
  color: #111;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.social a:hover {
  background: #e9eef3;
  transform: translateY(-1px);
}

.legal p {
  font-size: 14px;
  opacity: 0.9;
  margin-top: 3rem;
}

/* Screen-reader helper (if not already present) */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
}