

@media (max-width: 539.98px) {
.heading-font {
    font-family: 'Bodoni Moda', serif;
}

 .section-title {
	 font-family: 'Bodoni Moda', serif;
     font-size: 26px;
     font-weight: 400;
     text-align: center;
	 letter-spacing: 2px;
 }

.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: 15px;
	 font-weight: 300;
     line-height: 1.3;
     margin: 0;
     color: #000;
	 letter-spacing: 0.5px;
 }

 * {
     border-radius: 0 !important;
 }


/*===========================
          HERO
===========================*/


 #H-1 {
     font-size: 18px;
     font-weight: 400;
     line-height: 22px;
     margin-top: 14px;
     margin-right: 5%;
     text-align: left;
 }

 /* Navbar styles */
 .navbar {
     position: fixed;
     top: 0;
     width: 100%;
     z-index: 550;
     padding: 2rem 2rem;
     display: flex;
     height: 90px;
     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);
 }



 .hero {
     position: relative;
     height: 950px;
     /* adjust as needed */
     overflow: hidden;
     display: flex;
     align-items: bottom;
     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: 300px;
     height: auto;
     bottom: 530px;
     left: 20px;
     z-index: 100;
     background-color: rgba(255, 255, 255, 0.4);
     padding: 1rem;
 }
 
/* Scope to the hero content only so we don't affect other .row uses */
.hero-content .row {
  display: flex;
  justify-content: center;  /* center the two columns as a group */
  align-items: center;      /* vertical centering of columns */
  gap: 10px;                /* small gap between columns */
  box-sizing: border-box;
}

/* Force each hero column to a fixed size (160px) and center their content */
.hero-content .left-hero,
.hero-content .right-hero {
  flex: 0 0 130px;    /* fixed basis of 160px, do not grow/shrink */
  max-width: 130px;
  box-sizing: border-box;
  display: flex;
  align-items: center;    /* vertical center of content inside column */
  justify-content: center;/* horizontal center inside column */
  text-align: center;     /* center text lines */
  padding: 4px;           /* optional breathing room */
}



/* Ensure thumbnail scales to the column width */
#thumbnail,
.hero-content .right-hero img {
  display: block;
  max-width: 100%;
  height: auto;
}
 


 #H-3 {
     margin: 0;
	 color: 000;
     /*margin-top: 10px;*/
     text-align: center;
     font-size: 17px;
     font-weight: 400;
     /*text-shadow: 0 0 0px rgba(255, 255, 255, 1);*/
     font-style: italic;
     font-variant: normal;
     line-height: 2rem;
	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: 0px;  /*adjust to match navbar height + the negative translate overlap */
}
 


/*===========================
          THERAPY
===========================*/


.analysis {
	background-color: #6283A4;
}


.portrait-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
  align-self: center;            /* centers inside a flex parent */
  margin-left: auto !important;  /* force if other rules interfere */
  margin-right: auto !important;
  padding: 5px 0 15px 0;
}

.title-stack1 {
    padding-top: 6px;
}
.title-stack2 {
    display: none;
}


.analysis p{
	text-align: center;
	padding-top: 10px;
	padding-left: 2%;
	padding-bottom: 6px;
}

.chair-image {
	opacity: 1;
}

#analysis2 {
	
	background-color: #6283A4;
	align-items: center;
}
#analysis2 p{
	
	padding: 20px 35px 20px 35px;
	max-width:  1400px;
	margin: 0 auto;
	text-align: center;
}







/*===========================
      BOOK / CAROUSEL
===========================*/


 .book {
     margin-top: 80px;
 }

.book-content {
    flex-direction: column;
    align-items: center;         /* center shrinkwrapped children */
    gap: 1.25rem;
    padding: 0 12px;
    margin: 1.5rem auto;
  }

  /* Make each column shrink to its content */
  .book-carousel {
    flex: 0 0 auto;              /* don't grow */
    box-sizing: border-box;
    width: auto;
    max-width: 95%;
    display: flex; 
    flex-direction: column;
    align-items: center;
    align-self: center;
    padding: 0;
    margin: 20px;
  }

.book-image {
    display: block;    /* shrinkwrap */
    width: auto;
    padding: 0;	/* remove internal whitespace */
	max-width: 260px;
    background: transparent;  /* remove any white bg */
    margin: 20px auto;        /* center horizontally */
    box-shadow: 0 10px 24px rgba(0,0,0,0.6);
	box-sizing: border-box;
  }


  /* Limit book image size so it doesn't expand to parent width */
  .book-image img {
    display: block;
    width: auto;                 /* let the image keep its intrinsic width */
    max-width: 100%;            /* tune this to the actual book image width you want */
    height: auto;
	margin: 0 auto;
    object-fit: contain;
  }

 .book-carousel {
    display: block;
    width: auto;
    max-width: 260px;         /* same value as book-image img max-width */
    margin: 20px auto;      /* center horizontally and add vertical spacing */
    padding: 1.25rem;         /* internal padding for the colored box */
    box-shadow: 0 10px 24px rgba(0,0,0,0.6);
    background-color: #A0B39D; /* example bg, keeps your bg classes if you use them */
    box-sizing: border-box;
	height: 380px;
	overflow: hidden;
    position: relative;
    align-items: center;
    justify-content: center;
  }

  .quote-container {
    position: relative;
    display: block;
    width: 100%;
	height: 100%;
	box-sizing: border-box;
  }

.quote {
  position: absolute;
  inset: 0;                         /* covers the carousel area */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;         /* vertically center whole block */
  gap: 0rem;
  padding-bottom: 6rem;
  box-sizing: border-box;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms ease;
}

.quote.active {
    opacity: 1;
    visibility: visible;
  }

 .carousel-font {
	 font-family: 'Bodoni Moda', serif;
     font-size: 20px;
     font-weight: 400;
     text-align: center;
	 letter-spacing: 0px;
	 line-height: 2.2rem;
	 margin: 0;
	 padding: 0;
 }

 .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: 6em;
  font-weight: 600;
  line-height: 1;
  display: block;
  margin: 0;
  opacity: 1;
}


 /* Dots pinned at bottom of carousel */
.carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
  }

 .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 10px 24px 0 rgba(0,0,0,0.6); /* 10px blur radius, 24px spread */
}

.book-carousel {
  transform: translateX(40px);
   box-shadow: 0 10px 24px 0 rgba(0,0,0,0.6); /* 10px blur radius, 24px 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;
  flex-direction: column;
  justify-content: center;
  align-items: center;   /* <-- center the link items horizontally */
  gap: 1.5rem;
  padding-top: 2rem;
  margin: 2rem auto;     /* <-- center the .book-links container on the page */
  max-width: 300px;
}

.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: 13px;
  font-weight: 300;
  text-align: center;
  padding: 15px;
  width: 60%;
  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: 0.8rem;
  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 1.5rem; 
}
.events-table table {
  display: table !important;
  table-layout: auto;   /* or 'fixed' if you prefer stable column widths */
  width: 100% !important;
}

.events-table tr {
  display: table-row !important;
}

.events-table td {
  display: table-cell !important;
  vertical-align: top;
  padding: 1rem 0 !important;
  box-sizing: border-box;
}
.events-table .date { 
  line-height: 1.4;
  width: 40% !important;
  text-align: right !important; 
  padding-right: 3rem !important; 
}
.events-table .details { 
  width: 60% !important;  
}
.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 7rem;
}
.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;
}
}

