/*
Theme Name: Business Bestie — Refined Pages
Theme URI: https://businessbestie.ca/
Author: Business Bestie
Description: Keeps the approved Business Bestie design while refining the Home, About, Services, and Packages pages.
Template: business-bestie-wordpress
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: business-bestie-refined-pages
*/

/* HOME — complete arrow that points back to the CTA, and full-height photo. */
.home-stage.home-stage-refined {
  height: auto !important;
  min-height: 0 !important;
  align-items: stretch;
}

.home-stage-refined .home-photo {
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 3 / 4;
  align-self: stretch;
  overflow: hidden;
}

.home-stage-refined .home-photo > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.home-stage-refined .home-copy {
  align-self: stretch;
}

.home-stage-refined .home-cta-row {
  align-items: center;
}

.home-stage-refined .home-arrow-fixed {
  width: 88px;
  height: auto;
  color: var(--pink);
  transform: translateY(1px);
  flex: 0 0 auto;
}

/* ABOUT — portrait unchanged, wider biography, education retained. */
.about-stage.about-stage-streamlined {
  display: grid;
  grid-template-columns: 33.5% 43.5% 23%;
  align-items: stretch;
  height: auto;
  min-height: 0;
  overflow: hidden;
  background: #f7eee8;
}

.about-stage-streamlined .about-portrait-panel {
  min-width: 0;
  overflow: hidden;
  background: #f7eee8;
}

.about-stage-streamlined .about-portrait-panel img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.about-stage-streamlined .about-copy-panel {
  position: relative;
  min-width: 0;
  padding: clamp(58px, 4.7vw, 82px) clamp(42px, 4vw, 70px) clamp(42px, 4vw, 66px);
  border-left: 1px solid rgba(17,18,20,.12);
  border-right: 1px solid rgba(17,18,20,.12);
  background:
    linear-gradient(rgba(255,255,255,.17), rgba(255,255,255,.17)),
    radial-gradient(circle at 18% 16%, rgba(225,146,146,.10) 0 1px, transparent 1.4px),
    #f7eee8;
  background-size: auto, 17px 17px, auto;
}

.about-stage-streamlined .about-copy-panel::before,
.about-stage-streamlined .about-education-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .30;
  background:
    linear-gradient(90deg, rgba(142,99,84,.025), transparent 15%, transparent 85%, rgba(142,99,84,.025)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 5px);
}

.about-stage-streamlined .about-copy-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.about-stage-streamlined .about-main-title {
  margin: 0 0 clamp(20px, 1.9vw, 30px);
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: clamp(64px, 5.1vw, 88px);
  line-height: .92;
  font-weight: 500;
  letter-spacing: -.055em;
}

.about-stage-streamlined .about-intro {
  position: relative;
  margin: 0 0 clamp(26px, 2.5vw, 40px);
  padding-right: 58px;
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: clamp(25px, 1.95vw, 35px);
  line-height: 1.05;
  font-weight: 600;
}

.about-stage-streamlined .about-intro .about-script {
  display: block;
  margin-bottom: 6px;
  color: #df6479;
  font-family: Allura, cursive;
  font-size: 1.12em;
  font-weight: 400;
  line-height: .95;
  transform: rotate(-1.5deg);
  transform-origin: left center;
}

.about-stage-streamlined .about-intro .about-heart {
  position: absolute;
  top: 18px;
  right: 0;
  color: #df6479;
  font: 400 50px/1 Arial, sans-serif;
  transform: rotate(-9deg);
}

.about-stage-streamlined .about-body {
  display: grid;
  gap: clamp(17px, 1.45vw, 24px);
  font-size: clamp(13px, .9vw, 15px);
  line-height: 1.62;
}

.about-stage-streamlined .about-body p {
  margin: 0;
}

.about-stage-streamlined .about-signoff {
  margin: clamp(24px, 2.3vw, 36px) 0 0;
  color: #db5f75;
  font-family: Allura, cursive;
  font-size: clamp(27px, 1.95vw, 34px);
  line-height: 1.17;
  transform: rotate(-1.2deg);
  transform-origin: left center;
}

.about-stage-streamlined .about-signoff::after {
  content: '';
  display: block;
  width: 84px;
  height: 3px;
  margin-top: 13px;
  background: #db5f75;
  transform: rotate(-2deg);
}

.about-stage-streamlined .about-education-panel {
  position: relative;
  min-width: 0;
  padding: clamp(44px, 3.8vw, 64px) clamp(20px, 2.15vw, 34px) 42px;
  overflow: hidden;
  background: #f7eee8;
}

.about-stage-streamlined .about-education-card,
.about-stage-streamlined .about-no-fluff {
  position: relative;
  z-index: 1;
  background: #fff7f1;
  border: 1px solid rgba(17,18,20,.08);
  box-shadow: 0 14px 28px rgba(70,42,38,.12);
}

.about-stage-streamlined .about-education-card {
  width: 100%;
  margin: 0;
  padding: clamp(34px, 2.6vw, 46px) clamp(22px, 1.8vw, 30px) 38px;
  transform: rotate(.7deg);
  background:
    linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.22)),
    repeating-linear-gradient(0deg, rgba(221,195,182,.11) 0 1px, transparent 1px 5px),
    #fff8f2;
}

.about-stage-streamlined .about-education-card::before {
  content: '';
  position: absolute;
  inset: -12px -9px 10px 10px;
  z-index: -1;
  border: 1px solid rgba(17,18,20,.05);
  background: rgba(244,229,220,.55);
  transform: rotate(-1.1deg);
}

.about-stage-streamlined .about-education-card::after {
  content: '';
  position: absolute;
  top: -13px;
  right: 27px;
  width: 56px;
  height: 18px;
  border: 0;
  border-radius: 2px;
  background: rgba(255,244,236,.96);
  box-shadow: 0 2px 5px rgba(0,0,0,.05);
  transform: rotate(-7deg);
}

.about-stage-streamlined .about-education-title {
  display: inline-block;
  margin: 0 0 28px;
  padding-bottom: 8px;
  border-bottom: 3px solid #df6479;
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: clamp(23px, 1.55vw, 31px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.035em;
}

.about-stage-streamlined .about-credential-list {
  display: grid;
  gap: 23px;
}

.about-stage-streamlined .about-credential {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.about-stage-streamlined .about-credential-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid #d95a72;
  border-radius: 50%;
  color: #d95a72;
}

.about-stage-streamlined .about-credential-icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
}

.about-stage-streamlined .about-credential h3 {
  margin: 1px 0 4px;
  font-size: clamp(10px, .7vw, 12px);
  line-height: 1.3;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.about-stage-streamlined .about-credential p {
  margin: 0;
  font-size: clamp(9.5px, .65vw, 11px);
  line-height: 1.45;
}

.about-stage-streamlined .about-no-fluff {
  width: 92%;
  margin: 34px 0 0 8%;
  padding: 25px 18px 31px;
  transform: rotate(-1.2deg);
  clip-path: polygon(0 0,100% 0,100% 89%,94% 95%,87% 91%,80% 97%,72% 92%,64% 98%,56% 93%,48% 98%,40% 92%,32% 97%,24% 92%,16% 97%,8% 92%,0 96%);
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(226,126,138,.17) 28px),
    repeating-linear-gradient(90deg, transparent 0 27px, rgba(226,126,138,.17) 28px),
    #f7d7d6;
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: clamp(19px, 1.35vw, 27px);
  line-height: 1.35;
  font-weight: 600;
  text-align: center;
}

/* SERVICES — left side now explains outcomes; the detailed list is consolidated. */
.services-stage-refined .services-lead {
  margin: 0 0 28px;
  font-size: clamp(13px, .95vw, 15px);
  line-height: 1.65;
}

.services-stage-refined .services-outcomes {
  display: grid;
  gap: 19px;
  padding-right: 8px;
}

.services-stage-refined .services-outcomes div {
  padding: 0 0 17px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.services-stage-refined .services-outcomes div:last-child {
  border-bottom: 0;
}

.services-stage-refined .services-outcomes strong,
.services-stage-refined .services-outcomes span {
  display: block;
}

.services-stage-refined .services-outcomes strong {
  margin-bottom: 4px;
  color: var(--pink-soft);
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: clamp(21px, 1.55vw, 28px);
  line-height: 1;
  font-weight: 500;
}

.services-stage-refined .services-outcomes span {
  font-size: clamp(11px, .84vw, 13px);
  line-height: 1.45;
}

.services-stage-refined .service-list-condensed {
  gap: clamp(25px, 2vw, 34px);
}

.services-stage-refined .service-list-condensed .service-item {
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 18px;
}

.services-stage-refined .service-list-condensed .service-icon {
  width: 46px;
  height: 46px;
}

.services-stage-refined .service-list-condensed h3 {
  font-size: clamp(12px, 1vw, 15px);
}

.services-stage-refined .service-list-condensed p {
  max-width: 520px;
  font-size: clamp(11px, .9vw, 14px);
  line-height: 1.5;
}

/* PACKAGES — left side is now a selection guide; descriptions are distinct. */
.packages-stage-refined .package-guide-note {
  padding-top: 48px;
}

.packages-stage-refined .package-guide-note h1 {
  margin-bottom: 20px;
}

.packages-stage-refined .package-guide-intro {
  margin: 0 0 24px;
  font-size: clamp(12px, .92vw, 14px);
  line-height: 1.62;
}

.packages-stage-refined .package-guide-list {
  display: grid;
  gap: 18px;
}

.packages-stage-refined .package-guide-list div {
  padding-left: 22px;
  position: relative;
}

.packages-stage-refined .package-guide-list div::before {
  content: '♡';
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--pink);
  font-size: 17px;
}

.packages-stage-refined .package-guide-list strong,
.packages-stage-refined .package-guide-list span {
  display: block;
}

.packages-stage-refined .package-guide-list strong {
  margin-bottom: 4px;
  font-size: clamp(11px, .9vw, 13px);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .025em;
}

.packages-stage-refined .package-guide-list span {
  font-size: clamp(10.5px, .82vw, 12.5px);
  line-height: 1.45;
}

.packages-stage-refined .packages-note-strip {
  margin-top: 24px;
  font-size: clamp(15px, 1.05vw, 19px);
}

.packages-stage-refined .packages-fit-note p {
  font-size: clamp(24px, 2.1vw, 35px);
}

@media (max-width: 1120px) {
  .about-stage.about-stage-streamlined {
    grid-template-columns: 31% 43% 26%;
  }

  .about-stage-streamlined .about-copy-panel {
    padding-inline: 34px;
  }

  .about-stage-streamlined .about-education-panel {
    padding-inline: 18px;
  }
}

@media (max-width: 900px) {
  .home-stage.home-stage-refined {
    grid-template-columns: 1fr;
  }

  .home-stage-refined .home-photo {
    aspect-ratio: 3 / 4;
    min-height: 0 !important;
  }

  .home-stage-refined .home-photo > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .home-stage-refined .home-cta-row {
    align-items: center;
    flex-wrap: wrap;
  }

  .home-stage-refined .home-arrow-fixed {
    width: 72px;
  }

  .about-stage.about-stage-streamlined {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .about-stage-streamlined .about-portrait-panel img {
    width: 100%;
    height: auto;
  }

  .about-stage-streamlined .about-copy-panel {
    padding: 58px 34px 62px;
    border: 0;
    border-top: 1px solid rgba(17,18,20,.12);
    border-bottom: 1px solid rgba(17,18,20,.12);
  }

  .about-stage-streamlined .about-main-title {
    font-size: clamp(62px, 16vw, 96px);
  }

  .about-stage-streamlined .about-intro {
    max-width: 650px;
    font-size: clamp(29px, 7vw, 44px);
  }

  .about-stage-streamlined .about-body {
    max-width: 760px;
    font-size: 15px;
  }

  .about-stage-streamlined .about-signoff {
    max-width: 680px;
    font-size: clamp(30px, 7vw, 43px);
  }

  .about-stage-streamlined .about-education-panel {
    padding: 62px 34px 76px;
  }

  .about-stage-streamlined .about-education-card {
    width: min(100%, 640px);
    margin: 0 auto;
    padding: 50px 38px;
  }

  .about-stage-streamlined .about-education-title {
    font-size: clamp(29px, 6vw, 38px);
  }

  .about-stage-streamlined .about-credential h3 {
    font-size: 13px;
  }

  .about-stage-streamlined .about-credential p {
    font-size: 12px;
  }

  .about-stage-streamlined .about-no-fluff {
    width: min(56%, 350px);
    margin: -28px auto 0 calc(50% + 58px);
    font-size: clamp(25px, 6vw, 36px);
  }

  .services-stage-refined .services-summary {
    min-height: 620px;
  }

  .services-stage-refined .services-outcomes {
    max-width: 520px;
  }

  .packages-stage-refined .packages-help {
    min-height: 650px;
  }
}

@media (max-width: 520px) {
  .home-stage-refined .home-arrow-fixed {
    width: 62px;
  }

  .about-stage-streamlined .about-copy-panel {
    padding: 48px 24px 54px;
  }

  .about-stage-streamlined .about-intro {
    padding-right: 44px;
  }

  .about-stage-streamlined .about-intro .about-heart {
    top: 22px;
    font-size: 44px;
  }

  .about-stage-streamlined .about-education-panel {
    padding: 52px 18px 64px;
  }

  .about-stage-streamlined .about-education-card {
    padding: 44px 24px;
  }

  .about-stage-streamlined .about-credential {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .about-stage-streamlined .about-no-fluff {
    width: 72%;
    margin: -16px 0 0 auto;
    padding: 26px 18px 34px;
  }

  .services-stage-refined .services-summary {
    min-height: 610px;
  }

  .packages-stage-refined .package-guide-note {
    padding: 42px 24px 34px;
  }
}
