:root {
  --purple: #482b76;
  --purple-dark: #281649;
  --purple-soft: #806da0;
  --cream: #fbf8ee;
  --blush: #fbf7f5;
  --text: #242536;
  --green: #7d8d4d;
  --footer: #292b2d;
  --shell: 1380px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); font-family: "Inter", Arial, sans-serif; background: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Gentium Book Plus", Georgia, serif; }
.shell { width: min(var(--shell), calc(100% - 72px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* HERO */
.hero { position: relative; overflow: hidden; background: #f7f2dd; }
.hero-texture { position: absolute; inset: 0 0 106px; background: url("assets/beige-textured-bkgd.jpg") center/cover no-repeat; }
.site-header { position: relative; z-index: 8; display: flex; align-items: flex-start; justify-content: space-between; min-height: 104px; padding-top: 25px; }
.brand { width: 240px; flex: 0 0 240px; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(17px, 2vw, 34px); padding-top: 10px; font-size: 14px; font-weight: 600; color: #111; }
.site-nav a { white-space: nowrap; }
.site-nav a:hover { color: var(--purple); }
.caret { font-size: 14px; margin-left: 2px; }
.menu-toggle { display: none; }

.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(440px,.96fr) minmax(540px,1.04fr); min-height: 500px; align-items: end; }
.hero-image-wrap { position: relative; height: 100%; min-height: 500px; }
.hero-image { position: absolute; left: 2.5%; bottom: 0; width: min(680px,98%); max-height: 510px; object-fit: contain; object-position: left bottom; }
.hero-copy { align-self: center; justify-self: end; width: min(650px,100%); text-align: right; padding: 10px 0 62px 30px; }
.eyebrow { margin: 0 0 10px; font-family: "Gentium Book Plus", Georgia, serif; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(17px,1.25vw,22px); color: #55546a; }
.eyebrow span { color: var(--purple); }
.hero-copy h1 { margin-bottom: 0; font-size: clamp(58px,5vw,84px); line-height: .88; letter-spacing: -.035em; color: #050505; font-weight: 700; }
.hero-copy h1 em { color: var(--purple); font-weight: 600; }
.hero-summary { width: min(570px,100%); margin: 24px 0 27px auto; font-size: clamp(17px,1.18vw,20px); line-height: 1.45; color: #171719; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 4px; padding: 14px 28px; font-size: 14px; font-weight: 700; line-height: 1; cursor: pointer; transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.button-green { background: var(--green); color: #fff; }
.play-small { font-size: 11px; }

/* CREDIBILITY BAND
   Avada-style implementation: the wave is an actual inline SVG with
   preserveAspectRatio="none", so it can stretch to the viewport width
   without preserving its original aspect ratio. A solid fill overlaps below. */
.credibility-band {
  position: relative;
  z-index: 4;
  color: white;
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  margin-top: -58px;
  overflow: hidden;
}
.credibility-wave {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  display: block;
  pointer-events: none;
}
.credibility-fill {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 112px;
  bottom: 0;
  background: var(--purple);
  pointer-events: none;
}
.credibility-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(7,1fr); align-items: center; gap: clamp(26px,2.8vw,48px); padding: 82px 0 26px; }
.credibility-grid img { width: auto; height: auto; object-fit: contain; margin: auto; }
.credibility-grid .logo-ibt { max-width: 88px; max-height: 54px; }
.credibility-grid .logo-readers { max-width: 118px; max-height: 56px; }
.credibility-grid .logo-tampa { max-width: 112px; max-height: 48px; }
.credibility-grid .logo-influential { max-width: 102px; max-height: 54px; }
.credibility-grid .logo-next { max-width: 142px; max-height: 52px; }
.credibility-grid .logo-nsa { max-width: 102px; max-height: 58px; }
.credibility-grid .logo-marquis { max-width: 118px; max-height: 56px; }

/* INTRO + SERVICES */
.services-section { padding: 62px 0 44px; }
.intro { margin: 0 auto 42px; max-width: 1390px; text-align: center; text-wrap: balance; font-size: clamp(21px,1.65vw,28px); line-height: 1.45; font-weight: 500; color: #3c4056; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card { min-height: 292px; border: 1px solid #eee4e1; background: linear-gradient(180deg,#fffdfa 0%,#fbf7f5 100%); border-radius: 7px; text-align: center; padding: 30px 42px 34px; }
.icon-badge { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 10px; display: grid; place-items: center; background: #eee7f5; }
.icon-badge svg { width: 36px; height: 36px; fill: #5d3193; }
.service-card h2 { color: var(--purple); font-size: 32px; font-weight: 600; line-height: 1; margin-bottom: 12px; }
.service-card p { margin: 0; font-size: 17px; line-height: 1.45; }

/* TEAM / MORNING BLEND */
.team-section { position: relative; overflow: hidden; display: grid; grid-template-columns: .88fr 1.32fr; min-height: 430px; margin-bottom: 48px; border-radius: 8px; background: #fcf8f4; }
.video-backdrop {
  position: absolute;
  z-index: 0;
  /* The artwork is intentionally bled past the clipped edge.  Increasing the
     width by the same amount keeps its left-hand position essentially stable. */
  right: -150px;
  bottom: -1px;
  width: calc(57% + 150px);
  height: calc(100% + 2px);
  object-fit: fill;
  object-position: right bottom;
  pointer-events: none;
}
.team-copy { padding: 52px 30px 44px 72px; align-self: center; position: relative; z-index: 2; }
.team-copy h2 { color: var(--purple); font-size: 44px; line-height: .95; font-weight: 600; margin-bottom: 28px; }
.team-copy p { max-width: 470px; margin: 0 0 26px; font-size: 17px; line-height: 1.55; }
.button-purple { color: #fff; background: var(--purple); }
.video-zone { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 44px 86px 42px 28px; }
.video-card { position: relative; width: min(100%,620px); aspect-ratio: 800 / 586; border-radius: 14px; overflow: hidden; background: transparent; border: 0; outline: 0; }
.video-card img,
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; outline: 0; display: block; }
.video-card img { object-fit: cover; }
.video-card iframe { background: #000; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 92px; height: 92px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); color: #5b2f90; font-size: 32px; padding-left: 8px; cursor: pointer; box-shadow: 0 3px 18px rgba(0,0,0,.12); }

/* TESTIMONIALS */
.testimonials { padding: 0 0 104px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.testimonial-grid blockquote { position: relative; min-height: 176px; margin: 0; padding: 56px 28px 26px; border: 1px solid #eee4e1; border-radius: 7px; background: linear-gradient(180deg,#fffdfa 0%,#fbf7f5 100%); text-align: center; }
.quote-mark { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); font-family: Georgia,serif; font-weight: 700; font-size: 62px; line-height: 1; color: #a482cc; }
.testimonial-grid p { margin: 0 0 10px; font: italic 23px/1.2 "Gentium Book Plus",Georgia,serif; color: #343038; }
.testimonial-grid cite { font-style: normal; font-size: 14px; font-weight: 700; color: #57258c; }

/* BOOK
   Same Avada-style inline-SVG separator approach as the credibility band. */
.book-section {
  position: relative;
  color: #fff;
  min-height: 500px;
  overflow: visible;
}
.book-wave {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 158px;
  display: block;
  pointer-events: none;
}
.book-fill {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 98px;
  bottom: 0;
  background: var(--purple);
  pointer-events: none;
}
.book-inner { position: relative; z-index: 2; display: grid; grid-template-columns: .39fr 1fr; gap: 62px; align-items: center; min-height: 500px; padding: 80px 0 50px; }
.book-image-wrap { position: relative; z-index: 4; align-self: end; display: flex; justify-content: center; transform: translateY(-138px); margin-bottom: -145px; }
.book-image-wrap img { width: min(420px,100%); filter: drop-shadow(0 18px 12px rgba(0,0,0,.16)); }
.book-copy { padding: 30px 0 32px; max-width: 850px; }
.book-copy h2 { font-size: 40px; line-height: 1.05; font-weight: 400; margin-bottom: 16px; }
.book-copy h2 strong { font-weight: 700; }
.book-copy h3 { font-size: 28px; font-weight: 400; margin-bottom: 14px; }
.book-copy p { margin: 0 0 26px; font-size: 16px; line-height: 1.55; }
.button-light { color: var(--purple); background: #fff; min-width: 180px; }

/* FOOTER LOGOS */
.footer-logos { background: #eee7f2; padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,.1); }
.footer-logo-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 30px; align-items: center; }
.footer-logo-grid img { width: 100%; max-width: 128px; max-height: 52px; object-fit: contain; margin: auto; filter: brightness(.52) sepia(.18) saturate(4.2) hue-rotate(233deg); }

/* FOOTER */
.site-footer { background: var(--footer); color: #fff; padding: 54px 0 18px; }
.footer-main { display: grid; grid-template-columns: 1.1fr .65fr .75fr 1.25fr; gap: 38px; align-items: start; }
.footer-brand { padding-right: 36px; border-right: 1px solid rgba(255,255,255,.38); }
.footer-brand img { width: 250px; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { margin: 14px 0 0; font-size: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer-links a:hover, .footer-contact a:hover { text-decoration: underline; }
.footer-contact { padding-left: 34px; border-left: 1px solid rgba(255,255,255,.38); }
.footer-contact h2 { font-family: "Inter",Arial,sans-serif; font-size: 18px; margin-bottom: 10px; }
.footer-contact p { margin: 6px 0; font-size: 14px; }
.footer-contact p span { display: inline-block; width: 24px; }
.social-row { display: flex; gap: 11px; margin-top: 14px; }
.social-row a { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--footer); font-weight: 700; font-size: 14px; line-height: 1; }
.social-row a:hover { text-decoration: none; transform: translateY(-1px); }
.copyright { display: flex; align-items: center; justify-content: center; gap: 14px; border-top: 1px solid rgba(255,255,255,.48); margin-top: 30px; padding-top: 18px; font-size: 11px; color: rgba(255,255,255,.82); }
.copyright a:hover { text-decoration: underline; }

.local-video-notice { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 28px; text-align: center; background: #161616; color: #fff; }
.local-video-notice strong { font: 700 22px/1.15 "Inter",Arial,sans-serif; }
.local-video-notice p { max-width: 520px; margin: 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.82); }
.local-video-notice a { display: inline-flex; padding: 11px 18px; border-radius: 4px; background: #fff; color: #281649; font-size: 13px; font-weight: 700; }

/* VIDEO MODAL */
.video-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 28px; }
.video-modal.is-open { display: flex; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.78); }
.video-modal-dialog { position: relative; z-index: 2; width: min(1040px,94vw); background: #000; border-radius: 8px; box-shadow: 0 24px 70px rgba(0,0,0,.45); }
.modal-video-slot { width: 100%; aspect-ratio: 16/9; }
.modal-video-slot iframe { width: 100%; height: 100%; border: 0; display: block; border-radius: 8px; }
.video-modal-close { position: absolute; z-index: 3; right: -14px; top: -14px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fff; color: #222; font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 4px 18px rgba(0,0,0,.25); }
body.modal-open { overflow: hidden; }

@media (max-width: 1150px) {
  .shell { width: min(var(--shell),calc(100% - 40px)); }
  .site-header { min-height: 84px; padding-top: 18px; }
  .brand { width: 205px; flex-basis: 205px; }
  .site-nav { gap: 17px; font-size: 13px; }
  .hero-content { grid-template-columns: .95fr 1.05fr; min-height: 430px; }
  .hero-image-wrap { min-height: 430px; }
  .hero-image { max-height: 440px; }
  .hero-copy { padding-bottom: 48px; }
  .credibility-grid { gap: 22px; }
  .credibility-grid .logo-ibt { max-width: 72px; }
  .credibility-grid .logo-readers { max-width: 102px; }
  .credibility-grid .logo-tampa { max-width: 95px; }
  .credibility-grid .logo-influential { max-width: 88px; }
  .credibility-grid .logo-next { max-width: 118px; }
  .credibility-grid .logo-nsa { max-width: 84px; }
  .credibility-grid .logo-marquis { max-width: 100px; }
  .service-card { padding-inline: 28px; }
  .team-copy { padding-left: 42px; }
  .video-backdrop { right: -105px; width: calc(57% + 105px); }
  .video-zone { padding-right: 70px; }
  .book-inner { grid-template-columns: .42fr 1fr; gap: 38px; padding-top: 72px; }
  .footer-main { grid-template-columns: 1.15fr .6fr .7fr 1.2fr; gap: 24px; }
}

@media (max-width: 900px) {
  .shell { width: min(100% - 34px,760px); }
  .site-header { align-items: center; min-height: 82px; padding-top: 10px; }
  .brand { width: 190px; flex-basis: 190px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; justify-content: center; width: 42px; height: 42px; padding: 8px; border: 0; background: rgba(255,255,255,.65); border-radius: 5px; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { height: 2px; width: 100%; background: var(--purple); }
  .site-nav { display: none; position: absolute; left: 17px; right: 17px; top: 75px; background: rgba(255,255,255,.98); border: 1px solid rgba(76,45,127,.14); box-shadow: 0 16px 34px rgba(0,0,0,.12); padding: 15px; border-radius: 8px; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 8px; border-bottom: 1px solid rgba(0,0,0,.06); }
  .site-nav a:last-child { border-bottom: 0; }

  .hero-texture { inset-bottom: 82px; }
  .hero-content { grid-template-columns: 1fr; min-height: 0; padding-top: 10px; }
  .hero-copy { order: 1; justify-self: stretch; width: 100%; text-align: center; padding: 20px 0 30px; }
  .hero-summary { margin-inline: auto; }
  .hero-image-wrap { order: 2; min-height: 380px; height: 380px; }
  .hero-image { left: 50%; transform: translateX(-50%); width: min(540px,100%); max-height: 390px; object-position: center bottom; }
  .credibility-band { min-height: 238px; margin-top: -52px; }
  .credibility-wave { height: 170px; }
  .credibility-fill { top: 108px; }
  .credibility-grid { grid-template-columns: repeat(4,1fr); gap: 22px 28px; padding: 90px 0 28px; }
  .credibility-grid img { max-width: 105px !important; max-height: 46px !important; }

  .services-section { padding: 46px 0 32px; }
  .intro { margin-bottom: 30px; font-size: 21px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 28px 30px 30px; }

  .team-section { grid-template-columns: 1fr; margin-bottom: 36px; padding-bottom: 8px; }
  .video-backdrop { width: calc(92% + 28px); height: 60%; right: -28px; top: auto; bottom: -1px; object-fit: fill; }
  .team-copy { padding: 40px 32px 28px; text-align: center; }
  .team-copy p { margin-inline: auto; }
  .video-zone { padding: 20px 54px 34px; }
  .video-card { width: min(92%,620px); }
  .video-play { width: 78px; height: 78px; font-size: 27px; }

  .testimonials { padding-bottom: 82px; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-grid blockquote { min-height: 0; }

  .book-section { min-height: 0; }
  .book-wave { height: 145px; }
  .book-fill { top: 96px; }
  .book-inner { grid-template-columns: 1fr; gap: 0; padding: 104px 0 48px; text-align: center; min-height: 0; }
  .book-image-wrap { align-self: center; transform: translateY(-92px); margin-bottom: -78px; }
  .book-image-wrap img { width: min(250px,68vw); }
  .book-copy { padding-top: 12px; margin-inline: auto; }
  .book-copy h2 { font-size: 34px; }
  .book-copy h3 { font-size: 25px; }

  .footer-logo-grid { grid-template-columns: repeat(4,1fr); gap: 18px 26px; }
  .footer-logo-grid img { max-width: 110px; max-height: 44px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { border-right: 0; padding-right: 0; }
  .footer-contact { border-left: 0; padding-left: 0; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); }
  .site-header { min-height: 74px; }
  .brand { width: 165px; flex-basis: 165px; }
  .hero-copy { padding-top: 16px; }
  .eyebrow { font-size: 14px; letter-spacing: .12em; }
  .hero-copy h1 { font-size: clamp(50px,14.8vw,66px); line-height: .93; }
  .hero-summary { font-size: 16px; margin-top: 18px; }
  .button { padding: 13px 20px; font-size: 13px; }
  .hero-image-wrap { min-height: 310px; height: 310px; }
  .hero-image { max-height: 320px; width: 100%; }
  .credibility-band { min-height: 278px; margin-top: -62px; }
  .credibility-wave { height: 160px; }
  .credibility-fill { top: 100px; }
  .credibility-grid { grid-template-columns: repeat(3,1fr); gap: 22px 16px; padding-top: 96px; }
  .credibility-grid img { max-width: 92px !important; max-height: 40px !important; }
  .credibility-grid .logo-marquis { grid-column: 2; }

  .intro { font-size: 19px; line-height: 1.42; }
  .service-card h2 { font-size: 29px; }
  .service-card p { font-size: 16px; }
  .icon-badge { width: 64px; height: 64px; }
  .icon-badge svg { width: 33px; height: 33px; }

  .team-copy { padding-inline: 24px; }
  .team-copy h2 { font-size: 38px; }
  .team-copy p { font-size: 16px; }
  .video-backdrop { width: calc(100% + 18px); height: 50%; right: -18px; bottom: -1px; }
  .video-zone { padding: 18px 28px 30px; }
  .video-card { width: 92%; }
  .video-play { width: 64px; height: 64px; font-size: 23px; }

  .testimonial-grid p { font-size: 20px; }
  .book-copy h2 { font-size: 30px; }
  .book-copy h3 { font-size: 23px; }
  .book-copy p { font-size: 15px; }

  .footer-logo-grid { grid-template-columns: repeat(3,1fr); gap: 18px 14px; }
  .footer-logo-grid img { max-width: 92px; max-height: 40px; }
  .footer-logo-grid img:last-child { grid-column: 2; }
  .site-footer { padding-top: 42px; }
  .footer-main { grid-template-columns: 1fr; text-align: center; gap: 26px; }
  .footer-brand img { margin-inline: auto; width: 230px; }
  .footer-links { align-items: center; }
  .footer-contact { text-align: center; }
  .social-row { justify-content: center; }
  .copyright { flex-wrap: wrap; gap: 8px 12px; text-align: center; }
  .video-modal { padding: 14px; }
  .video-modal-close { right: 4px; top: -48px; }
}


@media (max-width: 420px) {
  .credibility-grid { gap: 20px 10px; }
  .credibility-grid img { max-width: 84px !important; max-height: 38px !important; }
  .footer-logo-grid img { max-width: 84px; max-height: 38px; }
}
